Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ContractStateProofImpl

Fully qualified path: alexandria_merkle_tree::storage_proof::ContractStateProofImpl

pub impl ContractStateProofImpl of ContractStateProofTrait;

Impl functions

new

Creates a new ContractStateProof instance with the specified parameters

Arguments

  • class_commitment - The class commitment hash
  • contract_proof - Array of TrieNode representing the contract proof
  • contract_data - ContractData containing contract-specific information

Returns

  • ContractStateProof - A new ContractStateProof instance

Fully qualified path: alexandria_merkle_tree::storage_proof::ContractStateProofImpl::new

fn new(
    class_commitment: felt252, contract_proof: Array<TrieNode>, contract_data: ContractData,
) -> ContractStateProof