Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ContractStateProofTrait

Fully qualified path: alexandria_merkle_tree::storage_proof::ContractStateProofTrait

pub trait ContractStateProofTrait

Trait 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::ContractStateProofTrait::new

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