Barretenberg
The ZK-SNARK library at the core of Aztec
|
Go to the source code of this file.
#define AVM_ACCUMULATED_DATA_LENGTH 400 |
Definition at line 29 of file aztec_constants.hpp.
#define AVM_ADD_BASE_L2_GAS 9 |
Definition at line 201 of file aztec_constants.hpp.
#define AVM_ADDRESSING_BASE_RESOLUTION_L2_GAS 3 |
Definition at line 198 of file aztec_constants.hpp.
#define AVM_ADDRESSING_INDIRECT_L2_GAS 3 |
Definition at line 199 of file aztec_constants.hpp.
#define AVM_ADDRESSING_RELATIVE_L2_GAS 3 |
Definition at line 200 of file aztec_constants.hpp.
#define AVM_AND_BASE_L2_GAS 9 |
Definition at line 209 of file aztec_constants.hpp.
#define AVM_BITWISE_AND_OP_ID 0 |
Definition at line 42 of file aztec_constants.hpp.
#define AVM_BITWISE_DYN_L2_GAS 3 |
Definition at line 251 of file aztec_constants.hpp.
#define AVM_BITWISE_OR_OP_ID 1 |
Definition at line 43 of file aztec_constants.hpp.
#define AVM_BITWISE_XOR_OP_ID 2 |
Definition at line 44 of file aztec_constants.hpp.
#define AVM_CALL_BASE_L2_GAS 1593 |
Definition at line 238 of file aztec_constants.hpp.
#define AVM_CALL_BUFFER 66 |
Definition at line 237 of file aztec_constants.hpp.
#define AVM_CALLDATACOPY_BASE_L2_GAS 6 |
Definition at line 217 of file aztec_constants.hpp.
#define AVM_CALLDATACOPY_DYN_L2_GAS 3 |
Definition at line 248 of file aztec_constants.hpp.
#define AVM_CAST_BASE_L2_GAS 9 |
Definition at line 215 of file aztec_constants.hpp.
#define AVM_CIRCUIT_PUBLIC_INPUTS_LENGTH 1020 |
Definition at line 30 of file aztec_constants.hpp.
#define AVM_DEBUGLOG_BASE_L2_GAS 6 |
Definition at line 242 of file aztec_constants.hpp.
#define AVM_DIV_BASE_L2_GAS 12 |
Definition at line 204 of file aztec_constants.hpp.
#define AVM_DYN_GAS_ID_BITWISE 8 |
Definition at line 64 of file aztec_constants.hpp.
#define AVM_DYN_GAS_ID_CALLDATACOPY 1 |
Definition at line 61 of file aztec_constants.hpp.
#define AVM_DYN_GAS_ID_EMITUNENCRYPTEDLOG 16 |
Definition at line 65 of file aztec_constants.hpp.
#define AVM_DYN_GAS_ID_RETURNDATACOPY 2 |
Definition at line 62 of file aztec_constants.hpp.
#define AVM_DYN_GAS_ID_SSTORE 32 |
Definition at line 66 of file aztec_constants.hpp.
#define AVM_DYN_GAS_ID_TORADIX 4 |
Definition at line 63 of file aztec_constants.hpp.
#define AVM_ECADD_BASE_L2_GAS 27 |
Definition at line 246 of file aztec_constants.hpp.
#define AVM_EMITNOTEHASH_BASE_DA_GAS 512 |
Definition at line 252 of file aztec_constants.hpp.
#define AVM_EMITNOTEHASH_BASE_L2_GAS 1282 |
Definition at line 230 of file aztec_constants.hpp.
#define AVM_EMITNULLIFIER_BASE_DA_GAS 512 |
Definition at line 253 of file aztec_constants.hpp.
#define AVM_EMITNULLIFIER_BASE_L2_GAS 1510 |
Definition at line 232 of file aztec_constants.hpp.
#define AVM_EMITUNENCRYPTEDLOG_BASE_L2_GAS 42 |
Definition at line 235 of file aztec_constants.hpp.
#define AVM_EMITUNENCRYPTEDLOG_DYN_DA_GAS 512 |
Definition at line 255 of file aztec_constants.hpp.
#define AVM_EQ_BASE_L2_GAS 9 |
Definition at line 206 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_ADD 1 |
Definition at line 88 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_DIV 8 |
Definition at line 91 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_EQ 32 |
Definition at line 93 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_FDIV 16 |
Definition at line 92 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_LT 64 |
Definition at line 94 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_LTE 128 |
Definition at line 95 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_MUL 4 |
Definition at line 90 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_NOT 256 |
Definition at line 96 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_SHL 512 |
Definition at line 97 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_SHR 1024 |
Definition at line 98 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_SUB 2 |
Definition at line 89 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_ALU_TRUNCATE 2048 |
Definition at line 99 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_CALL 16 |
Definition at line 71 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_DEBUGLOG 4096 |
Definition at line 79 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_EMIT_NOTEHASH 65536 |
Definition at line 83 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_EMIT_NULLIFIER 524288 |
Definition at line 86 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_GETENVVAR 1 |
Definition at line 67 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_INTERNALCALL 64 |
Definition at line 73 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_INTERNALRETURN 128 |
Definition at line 74 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_JUMP 4 |
Definition at line 69 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_JUMPI 8 |
Definition at line 70 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_L1_TO_L2_MESSAGE_EXISTS 131072 |
Definition at line 84 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_MOV 2 |
Definition at line 68 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_NOTEHASH_EXISTS 32768 |
Definition at line 82 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_NULLIFIER_EXISTS 262144 |
Definition at line 85 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_RETURN 256 |
Definition at line 75 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_RETURNDATASIZE 2048 |
Definition at line 78 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_REVERT 512 |
Definition at line 76 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_SENDL2TOL1MSG 1048576 |
Definition at line 87 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_SLOAD 8192 |
Definition at line 80 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_SSTORE 16384 |
Definition at line 81 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_STATICCALL 32 |
Definition at line 72 of file aztec_constants.hpp.
#define AVM_EXEC_OP_ID_SUCCESSCOPY 1024 |
Definition at line 77 of file aztec_constants.hpp.
#define AVM_FDIV_BASE_L2_GAS 9 |
Definition at line 205 of file aztec_constants.hpp.
#define AVM_GAS_PER_ROW 3 |
Definition at line 174 of file aztec_constants.hpp.
#define AVM_GETCONTRACTINSTANCE_BASE_L2_GAS 1527 |
Definition at line 234 of file aztec_constants.hpp.
#define AVM_GETENVVAR_BASE_L2_GAS 6 |
Definition at line 216 of file aztec_constants.hpp.
#define AVM_HIGHEST_MEM_ADDRESS 0xffffffff |
Definition at line 40 of file aztec_constants.hpp.
#define AVM_INTERNALCALL_BASE_L2_GAS 6 |
Definition at line 223 of file aztec_constants.hpp.
#define AVM_INTERNALRETURN_BASE_L2_GAS 6 |
Definition at line 224 of file aztec_constants.hpp.
#define AVM_JUMP_BASE_L2_GAS 6 |
Definition at line 221 of file aztec_constants.hpp.
#define AVM_JUMPI_BASE_L2_GAS 6 |
Definition at line 222 of file aztec_constants.hpp.
#define AVM_KECCAKF1600_BASE_L2_GAS 150 |
Definition at line 245 of file aztec_constants.hpp.
#define AVM_KECCAKF1600_NUM_ROUNDS 24 |
Definition at line 45 of file aztec_constants.hpp.
#define AVM_KECCAKF1600_STATE_SIZE 25 |
Definition at line 46 of file aztec_constants.hpp.
#define AVM_L1TOL2MSGEXISTS_BASE_L2_GAS 234 |
Definition at line 233 of file aztec_constants.hpp.
#define AVM_L2_GAS_PER_L1_TO_L2_MSG_READ 234 |
Definition at line 194 of file aztec_constants.hpp.
#define AVM_L2_GAS_PER_NOTE_HASH_READ 240 |
Definition at line 193 of file aztec_constants.hpp.
#define AVM_L2_GAS_PER_NOTE_HASH_WRITE 1282 |
Definition at line 192 of file aztec_constants.hpp.
#define AVM_L2_GAS_PER_NULLIFIER_READ 246 |
Definition at line 191 of file aztec_constants.hpp.
#define AVM_L2_GAS_PER_NULLIFIER_WRITE 1510 |
Definition at line 190 of file aztec_constants.hpp.
#define AVM_L2_GAS_PER_PUBLIC_READ 246 |
Definition at line 189 of file aztec_constants.hpp.
#define AVM_L2_GAS_PER_PUBLIC_WRITE 1510 |
Definition at line 188 of file aztec_constants.hpp.
#define AVM_LT_BASE_L2_GAS 36 |
Definition at line 207 of file aztec_constants.hpp.
#define AVM_LTE_BASE_L2_GAS 36 |
Definition at line 208 of file aztec_constants.hpp.
#define AVM_MAX_OPERANDS 7 |
Definition at line 196 of file aztec_constants.hpp.
#define AVM_MAX_PROCESSABLE_L2_GAS 6000000 |
Definition at line 173 of file aztec_constants.hpp.
#define AVM_MAX_REGISTERS 7 |
Definition at line 197 of file aztec_constants.hpp.
#define AVM_MEMORY_NUM_BITS 32 |
Definition at line 41 of file aztec_constants.hpp.
#define AVM_MERKLE_CHECK_ROWS_L1_TO_L2_MSG_OPERATION 39 |
Definition at line 186 of file aztec_constants.hpp.
#define AVM_MERKLE_CHECK_ROWS_NOTE_HASH_OPERATION 40 |
Definition at line 183 of file aztec_constants.hpp.
#define AVM_MERKLE_CHECK_ROWS_NULLIFIER_READ 40 |
Definition at line 180 of file aztec_constants.hpp.
#define AVM_MERKLE_CHECK_ROWS_NULLIFIER_WRITE 80 |
Definition at line 179 of file aztec_constants.hpp.
#define AVM_MERKLE_CHECK_ROWS_PUBLIC_READ 40 |
Definition at line 176 of file aztec_constants.hpp.
#define AVM_MERKLE_CHECK_ROWS_PUBLIC_WRITE 80 |
Definition at line 175 of file aztec_constants.hpp.
#define AVM_MOV_BASE_L2_GAS 6 |
Definition at line 226 of file aztec_constants.hpp.
#define AVM_MUL_BASE_L2_GAS 27 |
Definition at line 203 of file aztec_constants.hpp.
#define AVM_NOT_BASE_L2_GAS 6 |
Definition at line 212 of file aztec_constants.hpp.
#define AVM_NOTEHASHEXISTS_BASE_L2_GAS 240 |
Definition at line 229 of file aztec_constants.hpp.
#define AVM_NULLIFIEREXISTS_BASE_L2_GAS 246 |
Definition at line 231 of file aztec_constants.hpp.
#define AVM_NUM_PUBLIC_INPUT_COLUMNS 4 |
Definition at line 166 of file aztec_constants.hpp.
#define AVM_OR_BASE_L2_GAS 9 |
Definition at line 210 of file aztec_constants.hpp.
#define AVM_PC_SIZE_IN_BITS 32 |
Definition at line 195 of file aztec_constants.hpp.
#define AVM_POSEIDON2_BASE_L2_GAS 24 |
Definition at line 243 of file aztec_constants.hpp.
#define AVM_POSEIDON2_ROWS_PER_L1_TO_L2_MSG_READ 78 |
Definition at line 187 of file aztec_constants.hpp.
#define AVM_POSEIDON2_ROWS_PER_NOTE_HASH_READ 80 |
Definition at line 184 of file aztec_constants.hpp.
#define AVM_POSEIDON2_ROWS_PER_NOTE_HASH_WRITE 86 |
Definition at line 185 of file aztec_constants.hpp.
#define AVM_POSEIDON2_ROWS_PER_NULLIFIER_READ 82 |
Definition at line 182 of file aztec_constants.hpp.
#define AVM_POSEIDON2_ROWS_PER_NULLIFIER_WRITE 162 |
Definition at line 181 of file aztec_constants.hpp.
#define AVM_POSEIDON2_ROWS_PER_PUBLIC_READ 82 |
Definition at line 178 of file aztec_constants.hpp.
#define AVM_POSEIDON2_ROWS_PER_PUBLIC_WRITE 162 |
Definition at line 177 of file aztec_constants.hpp.
#define AVM_PROOF_LENGTH_IN_FIELDS 4154 |
Definition at line 168 of file aztec_constants.hpp.
#define AVM_PUBLIC_COLUMN_MAX_SIZE 1024 |
Definition at line 169 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_ARRAY_LENGTHS_L2_TO_L1_MSGS_ROW_IDX 372 |
Definition at line 154 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_ARRAY_LENGTHS_NOTE_HASHES_ROW_IDX 370 |
Definition at line 152 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_ARRAY_LENGTHS_NULLIFIERS_ROW_IDX 371 |
Definition at line 153 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_ARRAY_LENGTHS_PUBLIC_DATA_WRITES_ROW_IDX 374 |
Definition at line 156 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_ARRAY_LENGTHS_PUBLIC_LOGS_ROW_IDX 373 |
Definition at line 155 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_ARRAY_LENGTHS_ROW_IDX 370 |
Definition at line 151 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_L2_TO_L1_MSGS_ROW_IDX 503 |
Definition at line 160 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_NOTE_HASHES_ROW_IDX 375 |
Definition at line 158 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_NULLIFIERS_ROW_IDX 439 |
Definition at line 159 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_PUBLIC_DATA_WRITES_ROW_IDX 615 |
Definition at line 162 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_PUBLIC_LOGS_ROW_IDX 511 |
Definition at line 161 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_ROW_IDX 375 |
Definition at line 157 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_COLUMNS_COMBINED_LENGTH 2724 |
Definition at line 167 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH 681 |
Definition at line 165 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_EFFECTIVE_GAS_FEES_ROW_IDX 17 |
Definition at line 120 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_END_GAS_USED_ROW_IDX 369 |
Definition at line 150 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_END_TREE_SNAPSHOTS_L1_TO_L2_MESSAGE_TREE_ROW_IDX 365 |
Definition at line 146 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_END_TREE_SNAPSHOTS_NOTE_HASH_TREE_ROW_IDX 366 |
Definition at line 147 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_END_TREE_SNAPSHOTS_NULLIFIER_TREE_ROW_IDX 367 |
Definition at line 148 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_END_TREE_SNAPSHOTS_PUBLIC_DATA_TREE_ROW_IDX 368 |
Definition at line 149 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_END_TREE_SNAPSHOTS_ROW_IDX 365 |
Definition at line 145 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_FEE_PAYER_ROW_IDX 18 |
Definition at line 121 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GAS_SETTINGS_GAS_LIMITS_ROW_IDX 13 |
Definition at line 116 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GAS_SETTINGS_MAX_FEES_PER_GAS_ROW_IDX 15 |
Definition at line 118 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GAS_SETTINGS_MAX_PRIORITY_FEES_PER_GAS_ROW_IDX 16 |
Definition at line 119 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GAS_SETTINGS_ROW_IDX 13 |
Definition at line 115 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GAS_SETTINGS_TEARDOWN_GAS_LIMITS_ROW_IDX 14 |
Definition at line 117 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_BLOCK_NUMBER_ROW_IDX 2 |
Definition at line 103 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_CHAIN_ID_ROW_IDX 0 |
Definition at line 101 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_COINBASE_ROW_IDX 5 |
Definition at line 106 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_FEE_RECIPIENT_ROW_IDX 6 |
Definition at line 107 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_GAS_FEES_ROW_IDX 7 |
Definition at line 108 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_ROW_IDX 0 |
Definition at line 100 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_SLOT_NUMBER_ROW_IDX 3 |
Definition at line 104 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_TIMESTAMP_ROW_IDX 4 |
Definition at line 105 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_GLOBAL_VARIABLES_VERSION_ROW_IDX 1 |
Definition at line 102 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_L2_TO_L1_MSGS_ROW_IDX 89 |
Definition at line 132 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_NOTE_HASHES_ROW_IDX 87 |
Definition at line 130 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_NULLIFIERS_ROW_IDX 88 |
Definition at line 131 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_ROW_IDX 87 |
Definition at line 129 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_L2_TO_L1_MSGS_ROW_IDX 221 |
Definition at line 140 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_NOTE_HASHES_ROW_IDX 93 |
Definition at line 138 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_NULLIFIERS_ROW_IDX 157 |
Definition at line 139 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_ROW_IDX 93 |
Definition at line 137 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_L2_TO_L1_MSGS_ROW_IDX 92 |
Definition at line 136 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_NOTE_HASHES_ROW_IDX 90 |
Definition at line 134 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_NULLIFIERS_ROW_IDX 91 |
Definition at line 135 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_ARRAY_LENGTHS_ROW_IDX 90 |
Definition at line 133 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_L2_TO_L1_MSGS_ROW_IDX 357 |
Definition at line 144 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_NOTE_HASHES_ROW_IDX 229 |
Definition at line 142 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_NULLIFIERS_ROW_IDX 293 |
Definition at line 143 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PREVIOUS_REVERTIBLE_ACCUMULATED_DATA_ROW_IDX 229 |
Definition at line 141 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PUBLIC_APP_LOGIC_CALL_REQUESTS_ROW_IDX 54 |
Definition at line 127 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PUBLIC_CALL_REQUEST_ARRAY_LENGTHS_APP_LOGIC_CALLS_ROW_IDX 20 |
Definition at line 124 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PUBLIC_CALL_REQUEST_ARRAY_LENGTHS_ROW_IDX 19 |
Definition at line 122 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PUBLIC_CALL_REQUEST_ARRAY_LENGTHS_SETUP_CALLS_ROW_IDX 19 |
Definition at line 123 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PUBLIC_CALL_REQUEST_ARRAY_LENGTHS_TEARDOWN_CALL_ROW_IDX 21 |
Definition at line 125 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PUBLIC_SETUP_CALL_REQUESTS_ROW_IDX 22 |
Definition at line 126 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_PUBLIC_TEARDOWN_CALL_REQUEST_ROW_IDX 86 |
Definition at line 128 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_REVERTED_ROW_IDX 680 |
Definition at line 164 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_START_GAS_USED_ROW_IDX 12 |
Definition at line 114 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_START_TREE_SNAPSHOTS_L1_TO_L2_MESSAGE_TREE_ROW_IDX 8 |
Definition at line 110 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_START_TREE_SNAPSHOTS_NOTE_HASH_TREE_ROW_IDX 9 |
Definition at line 111 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_START_TREE_SNAPSHOTS_NULLIFIER_TREE_ROW_IDX 10 |
Definition at line 112 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_START_TREE_SNAPSHOTS_PUBLIC_DATA_TREE_ROW_IDX 11 |
Definition at line 113 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_START_TREE_SNAPSHOTS_ROW_IDX 8 |
Definition at line 109 of file aztec_constants.hpp.
#define AVM_PUBLIC_INPUTS_TRANSACTION_FEE_ROW_IDX 679 |
Definition at line 163 of file aztec_constants.hpp.
#define AVM_RETURN_BASE_L2_GAS 6 |
Definition at line 240 of file aztec_constants.hpp.
#define AVM_RETURNDATACOPY_BASE_L2_GAS 6 |
Definition at line 220 of file aztec_constants.hpp.
#define AVM_RETURNDATACOPY_DYN_L2_GAS 3 |
Definition at line 249 of file aztec_constants.hpp.
#define AVM_RETURNDATASIZE_BASE_L2_GAS 6 |
Definition at line 219 of file aztec_constants.hpp.
#define AVM_REVERT_BASE_L2_GAS 6 |
Definition at line 241 of file aztec_constants.hpp.
#define AVM_SENDL2TOL1MSG_BASE_DA_GAS 512 |
Definition at line 254 of file aztec_constants.hpp.
#define AVM_SENDL2TOL1MSG_BASE_L2_GAS 206 |
Definition at line 236 of file aztec_constants.hpp.
#define AVM_SET_BASE_L2_GAS 6 |
Definition at line 225 of file aztec_constants.hpp.
#define AVM_SHA256COMPRESSION_BASE_L2_GAS 96 |
Definition at line 244 of file aztec_constants.hpp.
#define AVM_SHL_BASE_L2_GAS 12 |
Definition at line 213 of file aztec_constants.hpp.
#define AVM_SHR_BASE_L2_GAS 12 |
Definition at line 214 of file aztec_constants.hpp.
#define AVM_SLOAD_BASE_L2_GAS 246 |
Definition at line 227 of file aztec_constants.hpp.
#define AVM_SSTORE_BASE_L2_GAS 1510 |
Definition at line 228 of file aztec_constants.hpp.
#define AVM_SSTORE_DYN_DA_GAS 1024 |
Definition at line 256 of file aztec_constants.hpp.
#define AVM_STATICCALL_BASE_L2_GAS 1593 |
Definition at line 239 of file aztec_constants.hpp.
#define AVM_SUB_BASE_L2_GAS 9 |
Definition at line 202 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_ALU 2 |
Definition at line 48 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_BITWISE 16 |
Definition at line 51 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_CALLDATA_COPY 512 |
Definition at line 56 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_CAST 4 |
Definition at line 49 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_ECC 128 |
Definition at line 54 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_EMITUNENCRYPTEDLOG 2048 |
Definition at line 58 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_EXECUTION 1 |
Definition at line 47 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_GETCONTRACTINSTANCE 1024 |
Definition at line 57 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_KECCAKF1600 256 |
Definition at line 55 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_POSEIDON_PERM 32 |
Definition at line 52 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_RETURNDATA_COPY 8192 |
Definition at line 60 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_SET 8 |
Definition at line 50 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_SHA256_COMPRESSION 4096 |
Definition at line 59 of file aztec_constants.hpp.
#define AVM_SUBTRACE_ID_TO_RADIX 64 |
Definition at line 53 of file aztec_constants.hpp.
#define AVM_SUCCESSCOPY_BASE_L2_GAS 6 |
Definition at line 218 of file aztec_constants.hpp.
#define AVM_TORADIXBE_BASE_L2_GAS 12 |
Definition at line 247 of file aztec_constants.hpp.
#define AVM_TORADIXBE_DYN_L2_GAS 3 |
Definition at line 250 of file aztec_constants.hpp.
#define AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED 20000 |
Definition at line 171 of file aztec_constants.hpp.
#define AVM_V2_PUBLIC_INPUTS_FLATTENED_SIZE 1 |
Definition at line 170 of file aztec_constants.hpp.
#define AVM_V2_VERIFICATION_KEY_LENGTH_IN_FIELDS_PADDED 1000 |
Definition at line 172 of file aztec_constants.hpp.
#define AVM_VERIFICATION_KEY_LENGTH_IN_FIELDS 86 |
Definition at line 31 of file aztec_constants.hpp.
#define AVM_WRITTEN_PUBLIC_DATA_SLOTS_TREE_HEIGHT 6 |
Definition at line 257 of file aztec_constants.hpp.
#define AVM_WRITTEN_PUBLIC_DATA_SLOTS_TREE_INITIAL_ROOT "0x2870b93163d4fd6ada360fe48ee1e8e8e69308af34cdfaeffacbbe5929e2466d" |
Definition at line 258 of file aztec_constants.hpp.
#define AVM_WRITTEN_PUBLIC_DATA_SLOTS_TREE_INITIAL_SIZE 1 |
Definition at line 260 of file aztec_constants.hpp.
#define AVM_XOR_BASE_L2_GAS 9 |
Definition at line 211 of file aztec_constants.hpp.
#define CANONICAL_AUTH_REGISTRY_ADDRESS 1 |
Definition at line 20 of file aztec_constants.hpp.
#define CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS 3 |
Definition at line 22 of file aztec_constants.hpp.
#define CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS 2 |
Definition at line 21 of file aztec_constants.hpp.
#define FEE_JUICE_ADDRESS 5 |
Definition at line 24 of file aztec_constants.hpp.
#define FEE_JUICE_BALANCES_SLOT 1 |
Definition at line 26 of file aztec_constants.hpp.
#define GENERATOR_INDEX__CONTRACT_ADDRESS_V1 15 |
Definition at line 268 of file aztec_constants.hpp.
#define GENERATOR_INDEX__CONTRACT_LEAF 16 |
Definition at line 269 of file aztec_constants.hpp.
#define GENERATOR_INDEX__NOTE_HASH_NONCE 2 |
Definition at line 264 of file aztec_constants.hpp.
#define GENERATOR_INDEX__OUTER_NULLIFIER 7 |
Definition at line 267 of file aztec_constants.hpp.
#define GENERATOR_INDEX__PARTIAL_ADDRESS 27 |
Definition at line 271 of file aztec_constants.hpp.
#define GENERATOR_INDEX__PUBLIC_BYTECODE 60 |
Definition at line 274 of file aztec_constants.hpp.
#define GENERATOR_INDEX__PUBLIC_CALLDATA 43 |
Definition at line 272 of file aztec_constants.hpp.
#define GENERATOR_INDEX__PUBLIC_KEYS_HASH 52 |
Definition at line 273 of file aztec_constants.hpp.
#define GENERATOR_INDEX__PUBLIC_LEAF_INDEX 23 |
Definition at line 270 of file aztec_constants.hpp.
#define GENERATOR_INDEX__SILOED_NOTE_HASH 4 |
Definition at line 266 of file aztec_constants.hpp.
#define GENERATOR_INDEX__UNIQUE_NOTE_HASH 3 |
Definition at line 265 of file aztec_constants.hpp.
#define GENESIS_ARCHIVE_ROOT "0x1f9c798be7975bb34c3e605a4c92c75796eae7b9a08644bc9a6a55354ed470be" |
Definition at line 18 of file aztec_constants.hpp.
#define GENESIS_BLOCK_HEADER_HASH "0x0e40440ea6abb9b58877d3aea6628cc6b14b6bc2148ce2be6f46db23360a6aba" |
Definition at line 17 of file aztec_constants.hpp.
#define L1_TO_L2_MSG_TREE_HEIGHT 39 |
Definition at line 7 of file aztec_constants.hpp.
#define L1_TO_L2_MSG_TREE_LEAF_COUNT 0x8000000000 |
Definition at line 9 of file aztec_constants.hpp.
#define MAX_ENQUEUED_CALLS_PER_TX 32 |
Definition at line 12 of file aztec_constants.hpp.
#define MAX_L2_TO_L1_MSGS_PER_TX 8 |
Definition at line 15 of file aztec_constants.hpp.
#define MAX_NOTE_HASHES_PER_TX 64 |
Definition at line 10 of file aztec_constants.hpp.
#define MAX_NULLIFIERS_PER_TX 64 |
Definition at line 11 of file aztec_constants.hpp.
#define MAX_PACKED_PUBLIC_BYTECODE_SIZE_IN_FIELDS 3000 |
Definition at line 19 of file aztec_constants.hpp.
#define MAX_PUBLIC_CALLS_TO_UNIQUE_CONTRACT_CLASS_IDS 21 |
Definition at line 32 of file aztec_constants.hpp.
#define MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_TX 63 |
Definition at line 14 of file aztec_constants.hpp.
#define MAX_PUBLIC_LOGS_PER_TX 8 |
Definition at line 16 of file aztec_constants.hpp.
#define MAX_TOTAL_PUBLIC_DATA_UPDATE_REQUESTS_PER_TX 64 |
Definition at line 13 of file aztec_constants.hpp.
#define MEM_TAG_FF 0 |
Definition at line 33 of file aztec_constants.hpp.
#define MEM_TAG_U1 1 |
Definition at line 34 of file aztec_constants.hpp.
#define MEM_TAG_U128 6 |
Definition at line 39 of file aztec_constants.hpp.
#define MEM_TAG_U16 3 |
Definition at line 36 of file aztec_constants.hpp.
#define MEM_TAG_U32 4 |
Definition at line 37 of file aztec_constants.hpp.
#define MEM_TAG_U64 5 |
Definition at line 38 of file aztec_constants.hpp.
#define MEM_TAG_U8 2 |
Definition at line 35 of file aztec_constants.hpp.
#define MULTI_CALL_ENTRYPOINT_ADDRESS 4 |
Definition at line 23 of file aztec_constants.hpp.
#define NOTE_HASH_TREE_HEIGHT 40 |
Definition at line 4 of file aztec_constants.hpp.
#define NOTE_HASH_TREE_LEAF_COUNT 0x10000000000 |
Definition at line 8 of file aztec_constants.hpp.
#define NULLIFIER_TREE_HEIGHT 40 |
Definition at line 6 of file aztec_constants.hpp.
#define PUBLIC_DATA_TREE_HEIGHT 40 |
Definition at line 5 of file aztec_constants.hpp.
#define PUBLIC_LOG_SIZE_IN_FIELDS 13 |
Definition at line 28 of file aztec_constants.hpp.
#define ROUTER_ADDRESS 6 |
Definition at line 25 of file aztec_constants.hpp.
#define TIMESTAMP_OF_CHANGE_BIT_SIZE 32 |
Definition at line 261 of file aztec_constants.hpp.
#define UPDATED_CLASS_IDS_SLOT 1 |
Definition at line 27 of file aztec_constants.hpp.
#define UPDATES_DELAYED_PUBLIC_MUTABLE_METADATA_BIT_SIZE 144 |
Definition at line 263 of file aztec_constants.hpp.
#define UPDATES_DELAYED_PUBLIC_MUTABLE_VALUES_LEN 3 |
Definition at line 262 of file aztec_constants.hpp.