Expand description
Well-known protocol contract addresses and domain separators.
These addresses and constants are deterministic and identical across all Aztec networks.
Modules§
- domain_
separator - Domain separators used in Poseidon2 hashing throughout the protocol.
- protocol_
contract_ address - Well-known protocol contract addresses.
Constants§
- ARCHIVE_
HEIGHT - Archive tree height.
- ARTIFACT_
FUNCTION_ TREE_ MAX_ HEIGHT - Maximum height of the artifact function tree.
- CHONK_
PROOF_ LENGTH - ChonkProof field count.
- CONTRACT_
CLASS_ LOG_ SIZE_ IN_ FIELDS - Size of a contract class log in field elements.
- DA_
BYTES_ PER_ FIELD - Bytes per field element for DA cost.
- DA_
GAS_ PER_ BYTE - DA gas per byte.
- DA_
GAS_ PER_ FIELD - DA gas per field element.
- DEFAULT_
DA_ GAS_ LIMIT - Default DA gas limit.
- DEFAULT_
L2_ GAS_ LIMIT - Default L2 gas limit.
- DEFAULT_
TEARDOWN_ DA_ GAS_ LIMIT - Default teardown DA gas limit.
- DEFAULT_
TEARDOWN_ L2_ GAS_ LIMIT - Default teardown L2 gas limit.
- FIXED_
AVM_ STARTUP_ L2_ GAS - Fixed AVM startup L2 gas.
- FUNCTION_
TREE_ HEIGHT - Height of the private functions Merkle tree.
- L1_
TO_ L2_ MSG_ SUBTREE_ HEIGHT - L1-to-L2 message subtree height (for subtree insertion proofs).
- L1_
TO_ L2_ MSG_ TREE_ HEIGHT - L1-to-L2 message tree height.
- L2_
GAS_ PER_ CONTRACT_ CLASS_ LOG - L2 gas per contract class log.
- L2_
GAS_ PER_ L2_ TO_ L1_ MSG - L2 gas per L2-to-L1 message.
- L2_
GAS_ PER_ NOTE_ HASH - L2 gas per note hash.
- L2_
GAS_ PER_ NULLIFIER - L2 gas per nullifier.
- L2_
GAS_ PER_ PRIVATE_ LOG - L2 gas per private log.
- MAX_
CONTRACT_ CLASS_ LOGS_ PER_ CALL - Maximum contract class logs per call.
- MAX_
CONTRACT_ CLASS_ LOGS_ PER_ TX - Maximum contract class logs per transaction.
- MAX_
ENQUEUED_ CALLS_ PER_ CALL - Maximum enqueued calls per call.
- MAX_
ENQUEUED_ CALLS_ PER_ TX - Maximum enqueued public calls per transaction.
- MAX_
FR_ CALLDATA_ TO_ ALL_ ENQUEUED_ CALLS - Maximum calldata fields across all enqueued public calls.
- MAX_
KEY_ VALIDATION_ REQUESTS_ PER_ CALL - Maximum key validation requests per call.
- MAX_
KEY_ VALIDATION_ REQUESTS_ PER_ TX - Maximum key validation requests per transaction.
- MAX_
L2_ TO_ L1_ MSGS_ PER_ CALL - Maximum L2-to-L1 messages per call.
- MAX_
L2_ TO_ L1_ MSGS_ PER_ TX - Maximum L2-to-L1 messages per transaction.
- MAX_
NOTE_ HASHES_ PER_ CALL - Maximum note hashes per call.
- MAX_
NOTE_ HASHES_ PER_ TX - Maximum note hashes per transaction.
- MAX_
NOTE_ HASH_ READ_ REQUESTS_ PER_ CALL - Maximum note hash read requests per call.
- MAX_
NOTE_ HASH_ READ_ REQUESTS_ PER_ TX - Maximum note hash read requests per transaction.
- MAX_
NULLIFIERS_ PER_ CALL - Maximum nullifiers per call.
- MAX_
NULLIFIERS_ PER_ TX - Maximum nullifiers per transaction.
- MAX_
NULLIFIER_ READ_ REQUESTS_ PER_ CALL - Maximum nullifier read requests per call.
- MAX_
NULLIFIER_ READ_ REQUESTS_ PER_ TX - Maximum nullifier read requests per transaction.
- MAX_
PACKED_ PUBLIC_ BYTECODE_ SIZE_ IN_ FIELDS - Maximum number of field elements in packed public bytecode.
- MAX_
PRIVATE_ CALL_ STACK_ LENGTH_ PER_ CALL - Maximum private call stack length per call.
- MAX_
PRIVATE_ LOGS_ PER_ CALL - Maximum private logs per call.
- MAX_
PRIVATE_ LOGS_ PER_ TX - Maximum private logs per transaction.
- MAX_
PROCESSABLE_ DA_ GAS_ PER_ CHECKPOINT - Maximum processable DA gas per checkpoint.
- MAX_
PROCESSABLE_ L2_ GAS - Maximum processable L2 gas.
- MAX_
PROTOCOL_ CONTRACTS - Canonical protocol contract tuple length.
- MAX_
TX_ LIFETIME - Maximum transaction lifetime in seconds.
- NOTE_
HASH_ TREE_ HEIGHT - Note hash tree height.
- NULLIFIER_
TREE_ HEIGHT - Nullifier tree height.
- NUMBER_
OF_ L1_ L2_ MESSAGES_ PER_ ROLLUP - Maximum L1-to-L2 messages per rollup checkpoint.
- PRIVATE_
LOG_ SIZE_ IN_ FIELDS - Size of a private log in field elements.
- PRIVATE_
TX_ L2_ GAS_ OVERHEAD - L2 gas overhead for private-only transactions.
- PUBLIC_
DATA_ TREE_ HEIGHT - Public data tree height.
- PUBLIC_
TX_ L2_ GAS_ OVERHEAD - L2 gas overhead for transactions with public calls.
- RECURSIVE_
PROOF_ LENGTH - Recursive proof field count.
- TX_
DA_ GAS_ OVERHEAD - DA gas overhead per transaction.
- VK_
TREE_ HEIGHT - VK tree height.
Functions§
- contract_
class_ published_ magic_ value - Magic prefix for
ContractClassRegistryemitted class-publication logs. - contract_
class_ registry_ bytecode_ capsule_ slot - Bytecode capsule slot used by the Contract Class Registry.
- contract_
instance_ published_ magic_ value - Magic prefix for
ContractInstanceRegistryemitted instance-publication logs. - current_
vk_ tree_ root - Canonical VK tree root for the pinned Aztec 4.1.3 protocol artifacts.