ContractDataTrait
Fully qualified path: alexandria_merkle_tree::storage_proof::ContractDataTrait
pub trait ContractDataTrait
Trait functions
new
Creates a new ContractData instance with the specified parameters
Arguments
class_hash- The class hash of the contractnonce- The nonce of the contractcontract_state_hash_version- The version of the contract state hashstorage_proof- Array of TrieNode representing the storage proof
Returns
ContractData- A new ContractData instance
Fully qualified path: alexandria_merkle_tree::storage_proof::ContractDataTrait::new
fn new(
class_hash: felt252,
nonce: felt252,
contract_state_hash_version: felt252,
storage_proof: Array<TrieNode>,
) -> ContractData