Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ContractDataImpl

Fully qualified path: alexandria_merkle_tree::storage_proof::ContractDataImpl

pub impl ContractDataImpl of ContractDataTrait;

Impl functions

new

Creates a new ContractData instance with the specified parameters

Arguments

  • class_hash - The class hash of the contract
  • nonce - The nonce of the contract
  • contract_state_hash_version - The version of the contract state hash
  • storage_proof - Array of TrieNode representing the storage proof

Returns

  • ContractData - A new ContractData instance

Fully qualified path: alexandria_merkle_tree::storage_proof::ContractDataImpl::new

fn new(
    class_hash: felt252,
    nonce: felt252,
    contract_state_hash_version: felt252,
    storage_proof: Array<TrieNode>,
) -> ContractData