Skip to main content

UnconstrainedContext

Fields

FieldType
block_numberu32
contract_addressAztecAddress
versionField
chain_idField

Methods

new

UnconstrainedContext::new();

Takes no parameters.

at

UnconstrainedContext::at(contract_address);

Parameters

NameType
contract_addressAztecAddress

at_historical

UnconstrainedContext::at_historical(contract_address, block_number);

Parameters

NameType
contract_addressAztecAddress
block_numberu32

block_number

UnconstrainedContext::block_number(self);

Parameters

NameType
self

this_address

UnconstrainedContext::this_address(self);

Parameters

NameType
self

version

UnconstrainedContext::version(self);

Parameters

NameType
self

chain_id

UnconstrainedContext::chain_id(self);

Parameters

NameType
self

raw_storage_read

UnconstrainedContext::raw_storage_read(self, storage_slot, );

Parameters

NameType
selfSelf
storage_slotField

storage_read

UnconstrainedContext::storage_read(self, storage_slot);

Parameters

NameType
self
storage_slotField