Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AztecProtocol/aztec-packages
/ functions
Functions
24,401 in github.com/AztecProtocol/aztec-packages
⨍
Functions
24,401
◇
Types & classes
6,831
↳
Endpoints
29
↓ 64 callers
Method
getValue
* Returns the wrapped value
yarn-project/foundation/src/config/secret_value.ts:21
↓ 64 callers
Method
len
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 callers
Function
random
* Returns a random field element.
yarn-project/foundation/src/curves/bls12/field.ts:132
↓ 64 callers
Function
txHashes
(...txs: Tx[])
yarn-project/p2p/src/mem_pools/tx_pool/eviction/fee_payer_balance_eviction_rule.test.ts:58
↓ 63 callers
Function
assertJobStatus
(id: ProvingJobId, status: ProvingJobStatus['status'])
yarn-project/prover-client/src/proving_broker/proving_broker.test.ts:1348
↓ 63 callers
Method
on_curve
barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp:538
↓ 62 callers
Method
addCheckpoint
* 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 callers
Method
add_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 callers
Function
encodeArguments
(abi: FunctionAbi, args: any[])
yarn-project/stdlib/src/abi/encoder.ts:314
↓ 62 callers
Function
getNullifier
(tx: MockTx, index: number)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:178
↓ 62 callers
Function
nullifierSet
(notes: (NoteDao | Fr)[])
yarn-project/pxe/src/storage/note_store/note_store.test.ts:76
↓ 62 callers
Method
readTuple
* 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 callers
Function
setNullifier
(tx: MockTx, index: number, value: Fr)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:172
↓ 62 callers
Method
set_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp:690
↓ 62 callers
Function
timesAsync
(n: number, fn: (i: number) => Promise<T>)
yarn-project/foundation/src/collection/array.ts:84
↓ 62 callers
Method
toBigInt
()
yarn-project/simulator/src/public/avm/avm_memory_types.ts:218
↓ 62 callers
Method
write
barretenberg/cpp/src/barretenberg/stdlib/primitives/memory/ram_table.cpp:218
↓ 61 callers
Method
getL2Tips
* Returns the tips of the L2 chain.
yarn-project/stdlib/src/interfaces/aztec-node.ts:88
↓ 61 callers
Function
make_tuple
barretenberg/cpp/src/barretenberg/common/tuplet.hpp:1062
↓ 61 callers
Method
readAll
()
yarn-project/simulator/src/public/avm/calldata.ts:10
↓ 60 callers
Method
createSchnorrAccount
(secret: Fr, salt: Fr, signingKey?: Fq, alias?: string)
yarn-project/wallets/src/testing.ts:10
↓ 60 callers
Method
f
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.fuzzer.hpp:699
↓ 60 callers
Function
getAvmTestContractBytecode
(functionName: string)
yarn-project/simulator/src/public/avm/avm_simulator.test.ts:1586
↓ 60 callers
Method
getSynchedCheckpointNumber
* 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 callers
Method
items
()
yarn-project/foundation/src/queue/fifo_memory_queue.ts:16
↓ 60 callers
Function
mapTuple
(tuple: T, fn: F)
yarn-project/foundation/src/serialize/types.ts:38
↓ 60 callers
Function
string_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 callers
Function
toBufferBE
(num: bigint, width: number)
yarn-project/foundation/src/bigint-buffer/index.ts:51
↓ 59 callers
Method
eq_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 callers
Method
needsReset
()
yarn-project/pxe/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.ts:106
↓ 58 callers
Method
append
* @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 callers
Method
getTime
* 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 callers
Method
isZero
(value: Fr)
yarn-project/foundation/src/curves/bn254/field.ts:227
↓ 58 callers
Function
makeResetBuilder
()
yarn-project/pxe/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.test.ts:62
↓ 58 callers
Method
pop_back
barretenberg/cpp/src/barretenberg/vm2/common/ankerl_dense.hpp:752
↓ 58 callers
Method
pow
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:430
↓ 58 callers
Function
proveInteraction
( wallet: TestWallet, interaction: ContractFunctionInteraction | DeployMethod, options: SendInteractionO
yarn-project/end-to-end/src/test-wallet/utils.ts:63
↓ 58 callers
Method
random_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 callers
Function
rol
barretenberg/cpp/src/barretenberg/crypto/keccak/keccakf1600.cpp:15
↓ 58 callers
Function
rol
(x: bigint, s: bigint)
yarn-project/foundation/src/crypto/keccak/index.ts:254
↓ 58 callers
Function
waitForTx
(node: AztecNode, txHash: TxHash, opts?: WaitOpts)
yarn-project/aztec.js/src/utils/node.ts:36
↓ 57 callers
Method
consume_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 callers
Function
createAztecNodeClient
( url: string, versions: Partial<ComponentsVersions> = {}, fetch = makeFetch([1, 2, 3], false), batchW
yarn-project/stdlib/src/interfaces/aztec-node.ts:666
↓ 57 callers
Function
field_to_hex
barretenberg/cpp/src/barretenberg/dsl/acir_proofs/honk_optimized_contract.hpp:3570
↓ 57 callers
Function
fileURLToPath
(uri: string)
yarn-project/foundation/src/url/index.ts:28
↓ 57 callers
Function
makeTip
(number: number)
yarn-project/stdlib/src/block/test/l2_tips_store_test_suite.ts:45
↓ 57 callers
Function
randomInt
* 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 callers
Method
getSender
* 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 callers
Function
get_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 callers
Method
get_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 callers
Method
prepareForSlot
* 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 callers
Method
set_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:154
↓ 56 callers
Method
toFr
()
yarn-project/stdlib/src/block/block_hash.ts:22
↓ 56 callers
Method
updateConfig
(config: Partial<P2PReqRespConfig>)
yarn-project/p2p/src/services/service.ts:152
↓ 55 callers
Function
at
(index: number)
yarn-project/kv-store/src/interfaces/array_test_suite.ts:31
↓ 55 callers
Method
from_montgomery_form
barretenberg/cpp/src/barretenberg/ecc/fields/field2.hpp:90
↓ 55 callers
Function
get_random_witness
Gets a random bigfield element that is a circuit-witness
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.test.cpp:124
↓ 55 callers
Function
hasher
(left: Buffer, right: Buffer)
yarn-project/stdlib/src/messaging/l2_to_l1_membership.test.ts:23
↓ 55 callers
Method
sub
(rhs: Field)
yarn-project/simulator/src/public/avm/avm_memory_types.ts:192
↓ 55 callers
Function
toSingle
( value: AztecAddress | EthAddress | Fr | Buffer | boolean | number | bigint, )
yarn-project/txe/src/util/encoding.ts:65
↓ 55 callers
Function
visit
(node: ts.Node)
yarn-project/pxe/src/bin/check_oracle_version.ts:64
↓ 54 callers
Method
get_context
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:152
↓ 54 callers
Method
penalizePeer
(peerId: PeerId, penalty: PeerErrorSeverity)
yarn-project/p2p/src/services/peer-manager/interface.ts:19
↓ 54 callers
Function
print_header_centered
(text: str)
barretenberg/sol/src/honk/optimised/generate_offsets.py:131
↓ 54 callers
Method
sendTransaction
* 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 callers
Method
addNoteHash
Adds a note hash. Defaults are generated randomly.
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:205
↓ 53 callers
Function
add_values
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:230
↓ 53 callers
Method
checkpoint
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.hpp:132
↓ 53 callers
Method
handlePrunedBlocks
* 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 callers
Method
underlying
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_cursor.cpp:22
↓ 52 callers
Method
cg
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_group.fuzzer.hpp:805
↓ 52 callers
Method
fix_witness
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:159
↓ 52 callers
Function
get_tag_max_value
barretenberg/cpp/src/barretenberg/vm2/common/tagged_value.cpp:204
↓ 52 callers
Method
setConfig
* 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 callers
Method
tmp
( rollupAddress = EthAddress.ZERO, cleanupTmpDir = true, prefilledPublicData: PublicDataTreeLeaf[]
yarn-project/world-state/src/native/native_world_state.ts:94
↓ 51 callers
Method
addProtectedTxs
* 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 callers
Method
getBindings
()
yarn-project/bb-prover/src/avm_proving_tests/avm_proving_tester.ts:48
↓ 51 callers
Method
gt
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/gt.cpp:11
↓ 51 callers
Method
initSingleton
* Initialize the singleton instance of Barretenberg. * @param options Backend configuration options
barretenberg/ts/src/barretenberg/index.ts:120
↓ 51 callers
Method
length
()
yarn-project/simulator/src/public/avm/calldata.ts:13
↓ 51 callers
Function
parallel_for
barretenberg/cpp/src/barretenberg/common/thread.hpp:176
↓ 51 callers
Function
sort
( source: Iterable<T> | AsyncIterable<T>, sorter: CompareFunction<T>, )
yarn-project/foundation/src/iterable/sort.ts:20
↓ 51 callers
Function
sum
(arr: number[])
yarn-project/foundation/src/collection/array.ts:196
↓ 50 callers
Function
addResult
(name: string, stats: TimingStats, unit = 'ms')
yarn-project/end-to-end/src/bench/node_rpc_perf.test.ts:201
↓ 50 callers
Method
close
* Closes the database
yarn-project/prover-client/src/proving_broker/proving_broker_database.ts:44
↓ 50 callers
Method
count
barretenberg/cpp/src/barretenberg/vm2/common/ankerl_dense.hpp:1827
↓ 50 callers
Method
handleL2BlockAndMessages
* 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 callers
Method
populate_wires
barretenberg/cpp/src/barretenberg/honk/execution_trace/execution_trace_block.hpp:296
↓ 50 callers
Method
select
barretenberg/cpp/src/barretenberg/avm_fuzzer/common/weighted_selection.hpp:33
↓ 50 callers
Function
setRemoteTipsMultiBlock
( latest_: number, checkpointedBlock?: number, proven?: number, finalized?: number,
yarn-project/stdlib/src/block/l2_block_stream/l2_block_stream.test.ts:403
↓ 49 callers
Method
addPendingOffense
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 callers
Function
add_to_cache
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.test.cpp:29
↓ 49 callers
Function
benchmark
* Run a benchmark for a given async function
yarn-project/end-to-end/src/bench/node_rpc_perf.test.ts:76
↓ 49 callers
Function
createExtendedL1Client
( rpcUrls: string[], mnemonicOrPrivateKeyOrHdAccount: string | HDAccount | PrivateKeyAccount | LocalAccoun
yarn-project/ethereum/src/client.ts:81
↓ 49 callers
Method
getPublicLogs
* 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 callers
Method
get_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:155
↓ 49 callers
Function
openTmpStore
(ephemeral: boolean = false)
yarn-project/kv-store/src/lmdb/index.ts:39
↓ 49 callers
Method
setCapsule
(contractAddress: AztecAddress, key: Fr, capsule: Fr[], scope: AztecAddress)
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:154
↓ 49 callers
Method
validate
(message: T)
yarn-project/stdlib/src/p2p/message_validator.ts:21
↓ 48 callers
Method
build_bytecode
barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/control_flow.cpp:278
← previous
next →
301–400 of 24,401, ranked by callers