Module memory

Module memory 

Source

Constants§

ACCOUNT_DATA_LENGTH
The length of the memory interval that the account data occupies.
ACCOUNT_STACK_TOP_PTR
The memory address at which the pointer to the stack element containing the pointer to the active account data is stored.
ACCT_ACTIVE_STORAGE_SLOTS_SECTION_OFFSET
The offset at which the account’s active storage slots section begins relative to the start of the account data segment.
ACCT_CODE_COMMITMENT_OFFSET
The offset at which the account code commitment is stored relative to the start of the account data segment.
ACCT_DATA_MEM_SIZE
The size of the memory segment allocated to core account data (excluding new code commitment).
ACCT_DB_ROOT_PTR
The memory address at which the state root is stored.
ACCT_ID_AND_NONCE_OFFSET
The offset at which the account ID and nonce are stored relative to the start of the account data segment.
ACCT_ID_PREFIX_IDX
ACCT_ID_SUFFIX_IDX
The index of the account ID within the account ID and nonce data.
ACCT_NONCE_IDX
The index of the account nonce within the account ID and nonce data.
ACCT_NUM_PROCEDURES_OFFSET
The offset at which the number of procedures contained in the account code is stored relative to the start of the account data segment.
ACCT_NUM_STORAGE_SLOTS_OFFSET
The offset at which the number of storage slots contained in the account storage is stored relative to the start of the account data segment.
ACCT_PROCEDURES_CALL_TRACKING_OFFSET
The offset at which the account procedures call tracking section begins relative to the start of the account data segment.
ACCT_PROCEDURES_SECTION_OFFSET
The offset at which the account procedures section begins relative to the start of the account data segment.
ACCT_STORAGE_COMMITMENT_OFFSET
The offset at which the account storage commitment is stored relative to the start of the account data segment.
ACCT_STORAGE_SLOT_ID_PREFIX_OFFSET
The offset of the slot’s ID prefix in the storage slot.
ACCT_STORAGE_SLOT_ID_SUFFIX_OFFSET
The offset of the slot’s ID suffix in the storage slot.
ACCT_STORAGE_SLOT_NUM_ELEMENTS
The number of elements that each storage slot takes up in memory.
ACCT_STORAGE_SLOT_TYPE_OFFSET
The offset of the slot type in the storage slot.
ACCT_STORAGE_SLOT_VALUE_OFFSET
The offset of the slot value in the storage slot.
ACCT_VAULT_ROOT_OFFSET
The offset at which the account vault root is stored relative to the start of the account data segment.
ACTIVE_INPUT_NOTE_PTR
The memory address at which a pointer to the currently active input note is stored.
AUTH_ARGS_PTR
The memory address at which the key of the auth procedure arguments is stored.
BLOCK_COMMITMENT_PTR
The memory address at which the commitment of the transaction’s reference block is stored.
BLOCK_DATA_SECTION_OFFSET
The memory address at which the block data section begins.
BLOCK_METADATA_PTR
The memory address at which the block number is stored.
BLOCK_NUMBER_IDX
The index of the block number within the block metadata.
CHAIN_COMMITMENT_PTR
The memory address at which the chain commitment is stored.
FEE_PARAMETERS_PTR
The memory address at which the fee parameters are stored. These occupy a double word.
GLOBAL_INPUTS_SECTION_OFFSET
The memory address at which the global inputs section begins.
INIT_ACCT_COMMITMENT_PTR
The memory address at which the initial account commitment is stored.
INIT_NATIVE_ACCT_STORAGE_COMMITMENT_PTR
The memory address at which the initial storage commitment of the native account is stored.
INIT_NATIVE_ACCT_VAULT_ROOT_PTR
The memory address at which the initial vault root of the native account is stored.
INIT_NONCE_PTR
The memory address at which the initial nonce is stored.
INPUT_NOTES_COMMITMENT_PTR
The memory address at which the input notes commitment is stored.
INPUT_NOTE_ARGS_OFFSET
INPUT_NOTE_ASSETS_COMMITMENT_OFFSET
INPUT_NOTE_ASSETS_OFFSET
INPUT_NOTE_ATTACHMENT_OFFSET
INPUT_NOTE_DATA_SECTION_OFFSET
The memory address at which the input note data section begins.
INPUT_NOTE_ID_OFFSET
The offsets at which data of an input note is stored relative to the start of its data segment.
INPUT_NOTE_INPUTS_COMMITMENT_OFFSET
INPUT_NOTE_METADATA_HEADER_OFFSET
INPUT_NOTE_NULLIFIER_SECTION_PTR
The memory address at which the nullifier section of the input notes begins.
INPUT_NOTE_NUM_ASSETS_OFFSET
INPUT_NOTE_NUM_INPUTS_OFFSET
INPUT_NOTE_RECIPIENT_OFFSET
INPUT_NOTE_SCRIPT_ROOT_OFFSET
INPUT_NOTE_SECTION_PTR
The memory address at which the input note section begins.
INPUT_NOTE_SERIAL_NUM_OFFSET
INPUT_VAULT_ROOT_PTR
The memory address at which the input vault root is stored.
KERNEL_PROCEDURES_PTR
The memory address at which the section, where the hashes of the kernel procedures are stored, begins.
LINK_MAP_ENTRY_SIZE
The size of each map entry, i.e. four words.
LINK_MAP_REGION_END_PTR
The non-inclusive end of the link map dynamic memory region.
LINK_MAP_REGION_START_PTR
The inclusive start of the link map dynamic memory region.
LINK_MAP_USED_MEMORY_SIZE
LINK_MAP_REGION_START_PTR + the currently used size stored at this pointer defines the next entry pointer that will be allocated.
NATIVE_ACCOUNT_DATA_PTR
The memory address at which the native account is stored.
NATIVE_ACCT_CODE_COMMITMENT_PTR
The memory address at which the account code commitment is stored in the native account.
NATIVE_ACCT_ID_AND_NONCE_PTR
The memory address at which the account ID and nonce are stored in the native account.
NATIVE_ACCT_ID_PTR
The memory address at which the native account ID is stored.
NATIVE_ACCT_PROCEDURES_CALL_TRACKING_PTR
The memory address at which the account procedures call tracking section begins in the native account.
NATIVE_ACCT_PROCEDURES_SECTION_PTR
The memory address at which the account procedures section begins in the native account.
NATIVE_ACCT_STORAGE_COMMITMENT_DIRTY_FLAG_PTR
The memory address at which the dirty flag of the storage commitment of the native account is stored.
NATIVE_ACCT_STORAGE_COMMITMENT_PTR
The memory address at which the account storage commitment is stored in the native account.
NATIVE_ACCT_STORAGE_SLOTS_SECTION_PTR
The memory address at which the account’s active storage slots section begins in the native account.
NATIVE_ACCT_VAULT_ROOT_PTR
The memory address at which the account vault root is stored in the native account.
NATIVE_ASSET_ID_PREFIX_IDX
The index of the native asset ID prefix within the block fee parameters.
NATIVE_ASSET_ID_SUFFIX_IDX
The index of the native asset ID suffix within the block fee parameters.
NATIVE_NUM_ACCT_PROCEDURES_PTR
The memory address at which the number of procedures contained in the account code is stored in the native account.
NATIVE_NUM_ACCT_STORAGE_SLOTS_PTR
The memory address at which number of storage slots contained in the account storage is stored in the native account.
NOTE_MEM_SIZE
The size of the memory segment allocated to each note.
NOTE_ROOT_PTR
The memory address at which the note root is stored.
NULLIFIER_DB_ROOT_PTR
The memory address at which the nullifier db root is store.
NUM_INPUT_NOTES_PTR
The memory address at which the number of input notes is stored.
NUM_KERNEL_PROCEDURES_PTR
The memory address at which the number of the kernel procedures is stored.
NUM_OUTPUT_NOTES_PTR
The memory address at which the number of output notes is stored.
OUTPUT_NOTE_ASSETS_OFFSET
OUTPUT_NOTE_ASSET_COMMITMENT_OFFSET
OUTPUT_NOTE_ATTACHMENT_OFFSET
OUTPUT_NOTE_DIRTY_FLAG_OFFSET
OUTPUT_NOTE_ID_OFFSET
The offsets at which data of an output note is stored relative to the start of its data segment.
OUTPUT_NOTE_METADATA_HEADER_OFFSET
OUTPUT_NOTE_NUM_ASSETS_OFFSET
OUTPUT_NOTE_RECIPIENT_OFFSET
OUTPUT_NOTE_SECTION_OFFSET
The memory address at which the output notes section begins.
OUTPUT_VAULT_ROOT_PTR
The memory address at which the output vault root is stored.
PARTIAL_BLOCKCHAIN_NUM_LEAVES_PTR
The memory address at which the total number of leaves in the partial blockchain is stored.
PARTIAL_BLOCKCHAIN_PEAKS_PTR
The memory address at which the partial blockchain peaks are stored.
PARTIAL_BLOCKCHAIN_PTR
The memory address at which the chain data section begins.
PREV_BLOCK_COMMITMENT_PTR
The memory address at which the previous block commitment is stored.
PROTOCOL_VERSION_IDX
The index of the protocol version within the block metadata.
TIMESTAMP_IDX
The index of the timestamp within the block metadata.
TX_COMMITMENT_PTR
The memory address at which the TX commitment is stored.
TX_EXPIRATION_BLOCK_NUM_PTR
The memory address at which the transaction expiration block number is stored.
TX_KERNEL_COMMITMENT_PTR
The memory address at which the transaction kernel commitment is stored.
TX_SCRIPT_ARGS
The memory address at which the transaction script arguments are stored.
TX_SCRIPT_ROOT_PTR
The memory address at which the transaction script mast root is store
VALIDATOR_KEY_COMMITMENT_PTR
The memory address at which the public key is stored.
VERIFICATION_BASE_FEE_IDX
The index of the verification base fee within the block fee parameters.

Type Aliases§

DataIndex
MemSize
MemoryAddress
MemoryOffset
StorageSlot