Skip to main content

initializer

Standalone Functions

mark_as_initialized_public

mark_as_initialized_public(context);

Parameters

NameType
context&mut PublicContext

mark_as_initialized_private

mark_as_initialized_private(context);

Parameters

NameType
context&mut PrivateContext

assert_is_initialized_public

assert_is_initialized_public(context);

Parameters

NameType
context&mut PublicContext

assert_is_initialized_private

assert_is_initialized_private(context);

Parameters

NameType
context&mut PrivateContext

compute_contract_initialization_nullifier

compute_contract_initialization_nullifier(address);

Parameters

NameType
addressAztecAddress

compute_unsiloed_contract_initialization_nullifier

compute_unsiloed_contract_initialization_nullifier(address);

Parameters

NameType
addressAztecAddress

assert_initialization_matches_address_preimage_public

assert_initialization_matches_address_preimage_public(context);

Parameters

NameType
contextPublicContext

assert_initialization_matches_address_preimage_private

assert_initialization_matches_address_preimage_private(context);

Parameters

NameType
contextPrivateContext

compute_initialization_hash

compute_initialization_hash(init_selector, init_args_hash);

Parameters

NameType
init_selectorFunctionSelector
init_args_hashField