UtilityContext
Fields
Field | Type |
---|---|
block_number | u32 |
contract_address | AztecAddress |
version | Field |
chain_id | Field |
Methods
new
UtilityContext::new();
Takes no parameters.
at
UtilityContext::at(contract_address);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
at_historical
UtilityContext::at_historical(contract_address, block_number);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
block_number | u32 |
block_number
UtilityContext::block_number(self);
Parameters
Name | Type |
---|---|
self |
this_address
UtilityContext::this_address(self);
Parameters
Name | Type |
---|---|
self |
version
UtilityContext::version(self);
Parameters
Name | Type |
---|---|
self |
chain_id
UtilityContext::chain_id(self);
Parameters
Name | Type |
---|---|
self |
raw_storage_read
UtilityContext::raw_storage_read(self, storage_slot, );
Parameters
Name | Type |
---|---|
self | Self |
storage_slot | Field |
storage_read
UtilityContext::storage_read(self, storage_slot);
Parameters
Name | Type |
---|---|
self | |
storage_slot | Field |