MCPcopy Create free account

hub / github.com/AztecProtocol/aztec-packages / functions

Functions24,401 in github.com/AztecProtocol/aztec-packages

↓ 64 callersMethodgetValue
* Returns the wrapped value
yarn-project/foundation/src/config/secret_value.ts:21
↓ 64 callersMethodlen
Returns the number of elements in the array at the given slot.
yarn-project/pxe/src/contract_function_simulator/ephemeral_array_service.ts:21
↓ 64 callersFunctionrandom
* Returns a random field element.
yarn-project/foundation/src/curves/bls12/field.ts:132
↓ 64 callersFunctiontxHashes
(...txs: Tx[])
yarn-project/p2p/src/mem_pools/tx_pool/eviction/fee_payer_balance_eviction_rule.test.ts:58
↓ 63 callersFunctionassertJobStatus
(id: ProvingJobId, status: ProvingJobStatus['status'])
yarn-project/prover-client/src/proving_broker/proving_broker.test.ts:1348
↓ 63 callersMethodon_curve
barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp:538
↓ 62 callersMethodaddCheckpoint
* Creates and adds a checkpoint with its L1-to-L2 messages. * Returns both the checkpoint and the message leaves. * Auto-chains from lastArchive
yarn-project/archiver/src/test/fake_l1_state.ts:198
↓ 62 callersMethodadd_accumulate
* @brief Write point addition op to queue and natively perform addition * * @param to_add */
barretenberg/cpp/src/barretenberg/op_queue/ecc_op_queue.hpp:198
↓ 62 callersFunctionencodeArguments
(abi: FunctionAbi, args: any[])
yarn-project/stdlib/src/abi/encoder.ts:314
↓ 62 callersFunctiongetNullifier
(tx: MockTx, index: number)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:178
↓ 62 callersFunctionnullifierSet
(notes: (NoteDao | Fr)[])
yarn-project/pxe/src/storage/note_store/note_store.test.ts:76
↓ 62 callersMethodreadTuple
* Read a fixed-size tuple from the field array using dense allocation (Array.from). * Only use with compile-time constant sizes — the size paramete
yarn-project/foundation/src/serialize/field_reader.ts:193
↓ 62 callersFunctionsetNullifier
(tx: MockTx, index: number, value: Fr)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:172
↓ 62 callersMethodset_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp:690
↓ 62 callersFunctiontimesAsync
(n: number, fn: (i: number) => Promise<T>)
yarn-project/foundation/src/collection/array.ts:84
↓ 62 callersMethodtoBigInt
()
yarn-project/simulator/src/public/avm/avm_memory_types.ts:218
↓ 62 callersMethodwrite
barretenberg/cpp/src/barretenberg/stdlib/primitives/memory/ram_table.cpp:218
↓ 61 callersMethodgetL2Tips
* Returns the tips of the L2 chain.
yarn-project/stdlib/src/interfaces/aztec-node.ts:88
↓ 61 callersFunctionmake_tuple
barretenberg/cpp/src/barretenberg/common/tuplet.hpp:1062
↓ 61 callersMethodreadAll
()
yarn-project/simulator/src/public/avm/calldata.ts:10
↓ 60 callersMethodcreateSchnorrAccount
(secret: Fr, salt: Fr, signingKey?: Fq, alias?: string)
yarn-project/wallets/src/testing.ts:10
↓ 60 callersMethodf
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.fuzzer.hpp:699
↓ 60 callersFunctiongetAvmTestContractBytecode
(functionName: string)
yarn-project/simulator/src/public/avm/avm_simulator.test.ts:1586
↓ 60 callersMethodgetSynchedCheckpointNumber
* Gets the number of the latest published checkpoint processed. * @returns The number of the latest published checkpoint processed
yarn-project/archiver/src/store/kv_archiver_store.ts:633
↓ 60 callersMethoditems
()
yarn-project/foundation/src/queue/fifo_memory_queue.ts:16
↓ 60 callersFunctionmapTuple
(tuple: T, fn: F)
yarn-project/foundation/src/serialize/types.ts:38
↓ 60 callersFunctionstring_to_fr
* @brief Converts a string of an arbitrary base to fr. * Note: there should be no prefix * * @param number string to be converted * @param base ba
barretenberg/cpp/src/barretenberg/smt_verification/util/smt_util.cpp:13
↓ 60 callersFunctiontoBufferBE
(num: bigint, width: number)
yarn-project/foundation/src/bigint-buffer/index.ts:51
↓ 59 callersMethodeq_and_reset
* @brief Write equality op using internal accumulator point * * @return current internal accumulator point (prior to reset to 0) */
barretenberg/cpp/src/barretenberg/op_queue/ecc_op_queue.hpp:277
↓ 59 callersMethodneedsReset
()
yarn-project/pxe/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.ts:106
↓ 58 callersMethodappend
* @brief Add an element to the data defining this bus column * * @param idx Index of the element in the variables vector of a builder *
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/databus.hpp:36
↓ 58 callersMethodgetTime
* Get the total time spent on the most recent execution of the wrapped function. * This method provides the duration from the start to the end of t
yarn-project/foundation/src/timer/timeout.ts:66
↓ 58 callersMethodisZero
(value: Fr)
yarn-project/foundation/src/curves/bn254/field.ts:227
↓ 58 callersFunctionmakeResetBuilder
()
yarn-project/pxe/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.test.ts:62
↓ 58 callersMethodpop_back
barretenberg/cpp/src/barretenberg/vm2/common/ankerl_dense.hpp:752
↓ 58 callersMethodpow
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:430
↓ 58 callersFunctionproveInteraction
( wallet: TestWallet, interaction: ContractFunctionInteraction | DeployMethod, options: SendInteractionO
yarn-project/end-to-end/src/test-wallet/utils.ts:63
↓ 58 callersMethodrandom_op_ultra_only
* @brief Writes randomness to the ultra ops table but adds no eccvm operations. * * @details This method is used to add randomness to the ul
barretenberg/cpp/src/barretenberg/op_queue/ecc_op_queue.hpp:256
↓ 58 callersFunctionrol
barretenberg/cpp/src/barretenberg/crypto/keccak/keccakf1600.cpp:15
↓ 58 callersFunctionrol
(x: bigint, s: bigint)
yarn-project/foundation/src/crypto/keccak/index.ts:254
↓ 58 callersFunctionwaitForTx
(node: AztecNode, txHash: TxHash, opts?: WaitOpts)
yarn-project/aztec.js/src/utils/node.ts:36
↓ 57 callersMethodconsume_gas
* @brief Consumes gas for the current instruction. * * @param dynamic_gas_factor The dynamic gas factor. Defaults to { 0, 0 } if not provided. * @t
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/gas_tracker.cpp:65
↓ 57 callersFunctioncreateAztecNodeClient
( url: string, versions: Partial<ComponentsVersions> = {}, fetch = makeFetch([1, 2, 3], false), batchW
yarn-project/stdlib/src/interfaces/aztec-node.ts:666
↓ 57 callersFunctionfield_to_hex
barretenberg/cpp/src/barretenberg/dsl/acir_proofs/honk_optimized_contract.hpp:3570
↓ 57 callersFunctionfileURLToPath
(uri: string)
yarn-project/foundation/src/url/index.ts:28
↓ 57 callersFunctionmakeTip
(number: number)
yarn-project/stdlib/src/block/test/l2_tips_store_test_suite.ts:45
↓ 57 callersFunctionrandomInt
* Generate a random integer between value and toValue (inclusive). * If toValue is not provided, the random integer is between 0 and value (inclusive
yarn-project/pxe/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.test.ts:38
↓ 56 callersMethodgetSender
* Lazily evaluate the sender of the signed txs; result is cached * @returns The sender address, or undefined if signature recovery fails
yarn-project/stdlib/src/p2p/signed_txs.ts:41
↓ 56 callersFunctionget_lookup_accumulators
* @brief Given a table ID and the key(s) for a key-value lookup, return the lookup accumulators * @details In general the number of bits in original
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/plookup_tables/plookup_tables.cpp:152
↓ 56 callersMethodget_origin_tag
* @brief Get the origin tag of cycle_group (a merege of origin tags of x, y and _is_infinity members) * * @return OriginTag */
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_group.hpp:156
↓ 56 callersMethodprepareForSlot
* Prepares the pool for a new slot. * Unprotects transactions from earlier slots and validates them before * returning to pending state. * @p
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:165
↓ 56 callersMethodset_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:154
↓ 56 callersMethodtoFr
()
yarn-project/stdlib/src/block/block_hash.ts:22
↓ 56 callersMethodupdateConfig
(config: Partial<P2PReqRespConfig>)
yarn-project/p2p/src/services/service.ts:152
↓ 55 callersFunctionat
(index: number)
yarn-project/kv-store/src/interfaces/array_test_suite.ts:31
↓ 55 callersMethodfrom_montgomery_form
barretenberg/cpp/src/barretenberg/ecc/fields/field2.hpp:90
↓ 55 callersFunctionget_random_witness
Gets a random bigfield element that is a circuit-witness
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.test.cpp:124
↓ 55 callersFunctionhasher
(left: Buffer, right: Buffer)
yarn-project/stdlib/src/messaging/l2_to_l1_membership.test.ts:23
↓ 55 callersMethodsub
(rhs: Field)
yarn-project/simulator/src/public/avm/avm_memory_types.ts:192
↓ 55 callersFunctiontoSingle
( value: AztecAddress | EthAddress | Fr | Buffer | boolean | number | bigint, )
yarn-project/txe/src/util/encoding.ts:65
↓ 55 callersFunctionvisit
(node: ts.Node)
yarn-project/pxe/src/bin/check_oracle_version.ts:64
↓ 54 callersMethodget_context
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:152
↓ 54 callersMethodpenalizePeer
(peerId: PeerId, penalty: PeerErrorSeverity)
yarn-project/p2p/src/services/peer-manager/interface.ts:19
↓ 54 callersFunctionprint_header_centered
(text: str)
barretenberg/sol/src/honk/optimised/generate_offsets.py:131
↓ 54 callersMethodsendTransaction
* Sends a transaction with gas estimation and pricing * @param request - The transaction request (to, data, value) * @param gasConfig - Optional
yarn-project/ethereum/src/l1_tx_utils/l1_tx_utils.ts:219
↓ 53 callersMethodaddNoteHash
Adds a note hash. Defaults are generated randomly.
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:205
↓ 53 callersFunctionadd_values
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:230
↓ 53 callersMethodcheckpoint
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.hpp:132
↓ 53 callersMethodhandlePrunedBlocks
* Handles pruned blocks during a reorg. * Un-mines all transactions mined in blocks beyond the given latest block * and validates them before re
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:173
↓ 53 callersMethodunderlying
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_cursor.cpp:22
↓ 52 callersMethodcg
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_group.fuzzer.hpp:805
↓ 52 callersMethodfix_witness
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:159
↓ 52 callersFunctionget_tag_max_value
barretenberg/cpp/src/barretenberg/vm2/common/tagged_value.cpp:204
↓ 52 callersMethodsetConfig
* Updates the configuration of this node. * @param config - Updated configuration to be merged with the current one.
yarn-project/stdlib/src/interfaces/aztec-node-admin.ts:27
↓ 52 callersMethodtmp
( rollupAddress = EthAddress.ZERO, cleanupTmpDir = true, prefilledPublicData: PublicDataTreeLeaf[]
yarn-project/world-state/src/native/native_world_state.ts:94
↓ 51 callersMethodaddProtectedTxs
* Adds transactions as immediately protected for a given slot. * Used when receiving transactions from a block proposal we're validating. * @par
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:129
↓ 51 callersMethodgetBindings
()
yarn-project/bb-prover/src/avm_proving_tests/avm_proving_tester.ts:48
↓ 51 callersMethodgt
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/gt.cpp:11
↓ 51 callersMethodinitSingleton
* Initialize the singleton instance of Barretenberg. * @param options Backend configuration options
barretenberg/ts/src/barretenberg/index.ts:120
↓ 51 callersMethodlength
()
yarn-project/simulator/src/public/avm/calldata.ts:13
↓ 51 callersFunctionparallel_for
barretenberg/cpp/src/barretenberg/common/thread.hpp:176
↓ 51 callersFunctionsort
( source: Iterable<T> | AsyncIterable<T>, sorter: CompareFunction<T>, )
yarn-project/foundation/src/iterable/sort.ts:20
↓ 51 callersFunctionsum
(arr: number[])
yarn-project/foundation/src/collection/array.ts:196
↓ 50 callersFunctionaddResult
(name: string, stats: TimingStats, unit = 'ms')
yarn-project/end-to-end/src/bench/node_rpc_perf.test.ts:201
↓ 50 callersMethodclose
* Closes the database
yarn-project/prover-client/src/proving_broker/proving_broker_database.ts:44
↓ 50 callersMethodcount
barretenberg/cpp/src/barretenberg/vm2/common/ankerl_dense.hpp:1827
↓ 50 callersMethodhandleL2BlockAndMessages
* Handles a single L2 block (i.e. Inserts the new note hashes into the merkle tree). * @param block - The L2 block to handle. * @param l1ToL2Mes
yarn-project/world-state/src/world-state-db/merkle_tree_db.ts:48
↓ 50 callersMethodpopulate_wires
barretenberg/cpp/src/barretenberg/honk/execution_trace/execution_trace_block.hpp:296
↓ 50 callersMethodselect
barretenberg/cpp/src/barretenberg/avm_fuzzer/common/weighted_selection.hpp:33
↓ 50 callersFunctionsetRemoteTipsMultiBlock
( latest_: number, checkpointedBlock?: number, proven?: number, finalized?: number,
yarn-project/stdlib/src/block/l2_block_stream/l2_block_stream.test.ts:403
↓ 49 callersMethodaddPendingOffense
Adds a new offense (defaults to pending, but will be slashed if markAsSlashed had been called for it)
yarn-project/slasher/src/stores/offenses_store.ts:77
↓ 49 callersFunctionadd_to_cache
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.test.cpp:29
↓ 49 callersFunctionbenchmark
* Run a benchmark for a given async function
yarn-project/end-to-end/src/bench/node_rpc_perf.test.ts:76
↓ 49 callersFunctioncreateExtendedL1Client
( rpcUrls: string[], mnemonicOrPrivateKeyOrHdAccount: string | HDAccount | PrivateKeyAccount | LocalAccoun
yarn-project/ethereum/src/client.ts:81
↓ 49 callersMethodgetPublicLogs
* Gets public logs based on the provided filter. * @param filter - The filter to apply to the logs. * @returns The requested logs.
yarn-project/stdlib/src/interfaces/aztec-node.ts:321
↓ 49 callersMethodget_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:155
↓ 49 callersFunctionopenTmpStore
(ephemeral: boolean = false)
yarn-project/kv-store/src/lmdb/index.ts:39
↓ 49 callersMethodsetCapsule
(contractAddress: AztecAddress, key: Fr, capsule: Fr[], scope: AztecAddress)
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:154
↓ 49 callersMethodvalidate
(message: T)
yarn-project/stdlib/src/p2p/message_validator.ts:21
↓ 48 callersMethodbuild_bytecode
barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/control_flow.cpp:278
← previousnext →301–400 of 24,401, ranked by callers