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
↓ 24 callers
Method
addPrivateLog
Adds a private log. Defaults are generated randomly.
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:265
↓ 24 callers
Function
addProposedBlocks
( store: KVArchiverDataStore, blocks: L2Block[], opts?: { force?: boolean }, )
yarn-project/archiver/src/store/kv_archiver_store.test.ts:71
↓ 24 callers
Function
bigintConfigHelper
(defaultVal?: bigint)
yarn-project/foundation/src/config/index.ts:174
↓ 24 callers
Function
createMockBlock
Creates a mock block with the given mana, tx blob fields, and total block blob fields.
yarn-project/validator-client/src/checkpoint_builder.test.ts:79
↓ 24 callers
Function
createMockPeerManager
( name: string, node: FullLibp2p, maxPeerCount: number, trustedPeers?: SignableENR[], priv
yarn-project/p2p/src/services/peer-manager/peer_manager.test.ts:2003
↓ 24 callers
Function
createNode
(overrides: Partial<P2PConfig & IDiscv5CreateOptions> = {}, useBootnode = true)
yarn-project/p2p/src/services/discv5/discv5_service.test.ts:352
↓ 24 callers
Function
createSafeJsonRpcClient
( host: string, schema: ApiSchemaFor<T>, config: SafeJsonRpcClientOptions = {}, )
yarn-project/foundation/src/json-rpc/client/safe_json_rpc_client.ts:68
↓ 24 callers
Function
debug_solution
barretenberg/cpp/src/barretenberg/acir_formal_proofs/formal_proofs.cpp:8
↓ 24 callers
Function
expectSynchedToBlock
(latest: number, finalized?: number)
yarn-project/world-state/src/test/integration.test.ts:101
↓ 24 callers
Method
failure
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base_impl.hpp:172
↓ 24 callers
Function
findLeafLevelAndIndex
(numLeaves: number, leafIndex: number)
yarn-project/foundation/src/trees/unbalanced_tree_store.ts:158
↓ 24 callers
Method
getNumLeaves
* Returns the number of leaves in the tree. * @param includeUncommitted - Set to true to include uncommitted updates in the returned value.
yarn-project/merkle-tree/src/interfaces/merkle_tree.ts:30
↓ 24 callers
Method
getProvingJob
* Gets a proving job to work on * @param filter - Optional filter for the type of job to get
yarn-project/stdlib/src/interfaces/prover-broker.ts:53
↓ 24 callers
Method
get_random_uint8
barretenberg/cpp/src/barretenberg/numeric/random/engine.cpp:190
↓ 24 callers
Method
get_tree_roots
PureRawMerkleDB starts.
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/raw_data_dbs.cpp:684
↓ 24 callers
Method
hasOffense
Returns whether we have seen this offense
yarn-project/slasher/src/stores/offenses_store.ts:71
↓ 24 callers
Function
log
(msg: string)
yarn-project/aztec/src/cli/cmds/utils/warn_if_aztec_version_mismatch.test.ts:32
↓ 24 callers
Function
mapProofDataToNoir
( proofData: ProofData<T, PROOF_LENGTH>, publicInputsToNoir: (inputs: T) => TN, vkLength: VK_LENGTH = pr
yarn-project/noir-protocol-circuits-types/src/conversion/server.ts:446
↓ 24 callers
Function
merge
( obj1: T, obj2: U | undefined, )
yarn-project/foundation/src/collection/object.ts:84
↓ 24 callers
Function
mockCheckNullifierExists
(worldStateDB: PublicTreesDB, exists: boolean, _ignoredValue?: Fr)
yarn-project/simulator/src/public/avm/test_utils.ts:40
↓ 24 callers
Method
once
(event: K, listener: TEventMap[K])
yarn-project/foundation/src/types/index.ts:49
↓ 24 callers
Method
registerContract
* Adds deployed contracts to the PXE. Deployed contract information is used to access the * contract code when simulating local transactions. This
yarn-project/pxe/src/pxe.ts:674
↓ 24 callers
Method
reserve_column
barretenberg/cpp/src/barretenberg/vm2/tracegen/trace_container.cpp:63
↓ 24 callers
Method
setIndex
(key: Buffer, ...values: Buffer[])
yarn-project/kv-store/src/lmdb-v2/write_transaction.ts:73
↓ 24 callers
Function
setupBuilder
(overrideConfig?: Partial<FullNodeBlockBuilderConfig>)
yarn-project/validator-client/src/checkpoint_builder.test.ts:90
↓ 24 callers
Function
toArray
(objs: Fr[])
yarn-project/txe/src/util/encoding.ts:81
↓ 24 callers
Function
to_field_ct
barretenberg/cpp/src/barretenberg/dsl/acir_format/witness_constant.hpp:39
↓ 24 callers
Function
unpack_from_buffer
* @brief Get the CircuitSchema object * @details Initialize the CircuitSchema from the msgpack compatible buffer. * * @param buf * @return Circuit
barretenberg/cpp/src/barretenberg/smt_verification/circuit/circuit_schema.cpp:41
↓ 24 callers
Method
updateConfig
(config: Partial<ValidatorClientFullConfig>)
yarn-project/stdlib/src/interfaces/validator.ts:120
↓ 24 callers
Function
validatorOpts
Default opts for validator-mode tests (no redistribution).
yarn-project/validator-client/src/checkpoint_builder.test.ts:111
↓ 23 callers
Function
abiToVKData
(json: NoirCompiledCircuit)
yarn-project/noir-protocol-circuits-types/src/utils/vk_json.ts:5
↓ 23 callers
Method
addNotes
* Adds multiple notes to the notes store under the specified scope. * * Notes are stored using their siloedNullifier as the key, which provides
yarn-project/pxe/src/storage/note_store/note_store.ts:70
↓ 23 callers
Method
assert_read
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/nullifier_tree_check.cpp:35
↓ 23 callers
Method
compare
barretenberg/cpp/src/barretenberg/flavor/flavor.hpp:183
↓ 23 callers
Method
createForTopic
* Creates topic score parameters for a specific topic type. * * @param topicType - The topic type * @returns TopicScoreParams for the topic
yarn-project/p2p/src/services/gossipsub/topic_score_params.ts:424
↓ 23 callers
Function
createNodes
( config: AztecNodeConfig & { dontStartSequencer?: boolean }, dateProvider: DateProvider, bootstrapNodeE
yarn-project/end-to-end/src/fixtures/setup_p2p_test.ts:37
↓ 23 callers
Method
exec
* Executes the given function with a specified timeout. * If the function takes longer than the timeout, it will be interrupted and an error will b
yarn-project/foundation/src/timer/timeout.ts:30
↓ 23 callers
Function
expectTxMatch
(retrieved: Tx | undefined, original: Tx)
yarn-project/p2p/src/mem_pools/tx_pool_v2/archive/tx_archive.test.ts:9
↓ 23 callers
Method
getActiveItems
()
yarn-project/stdlib/src/kernel/claimed_length_array.ts:66
↓ 23 callers
Method
getLastUsedIndex
* Returns the last used index for a given directional app tagging secret, considering both finalized and pending * indexes. * @param secret - Th
yarn-project/pxe/src/storage/tagging_store/sender_tagging_store.ts:250
↓ 23 callers
Method
getSlot
()
yarn-project/stdlib/src/tx/block_header.ts:69
↓ 23 callers
Method
get_leaf_key_index
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.hpp:438
↓ 23 callers
Function
get_sibling_path
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/test_fixtures.hpp:235
↓ 23 callers
Method
indirect_operand
(mut self, address: &MemoryAddress)
avm-transpiler/src/instructions.rs:173
↓ 23 callers
Method
insert_indexed_leaves
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/indexed_memory_tree.hpp:140
↓ 23 callers
Function
makePackage
Create a directory with a minimal `[package]` Nargo.toml inside it.
yarn-project/aztec/src/cli/cmds/utils/collect_crate_dirs.test.ts:15
↓ 23 callers
Method
memory_address_operand
(&mut self)
avm-transpiler/src/procedures/compiler/operand_collector.rs:80
↓ 23 callers
Method
mul
(rhs: Field)
yarn-project/simulator/src/public/avm/avm_memory_types.ts:196
↓ 23 callers
Function
setNullifier
(tx: MockTx, index: number, value: Fr)
yarn-project/p2p/src/mem_pools/tx_pool/eviction/nullifier_conflict_pre_add_rule.test.ts:35
↓ 23 callers
Method
sign
(message: Buffer32)
yarn-project/foundation/src/crypto/secp256k1-signer/secp256k1_signer.ts:21
↓ 23 callers
Method
skip
* Skips the next n fields. * * @param n - The number of fields to skip.
yarn-project/foundation/src/serialize/field_reader.ts:59
↓ 23 callers
Method
snapshot
* Creates a snapshot of the tree at the given version. * @param block - The version to snapshot the tree at.
yarn-project/merkle-tree/src/snapshots/snapshot_builder.ts:13
↓ 23 callers
Method
sqrt
barretenberg/cpp/src/barretenberg/ecc/fields/field_impl.hpp:610
↓ 23 callers
Function
startAnvil
( opts: { port?: number; l1BlockTime?: number; log?: boolean; captureMethodCalls?: boolean;
yarn-project/ethereum/src/test/start_anvil.ts:20
↓ 23 callers
Function
timesParallel
(n: number, fn: (i: number) => Promise<T>)
yarn-project/foundation/src/collection/array.ts:109
↓ 23 callers
Function
unconstrained_compute_leaf_slot
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/merkle.cpp:26
↓ 23 callers
Method
updateScore
(peerId: string, scoreDelta: number)
yarn-project/p2p/src/services/peer-manager/peer_scoring.ts:94
↓ 23 callers
Method
verify
barretenberg/cpp/src/barretenberg/vm2/avm_api.cpp:66
↓ 23 callers
Method
writeL2ToL1Message
* Write an L2 to L1 message. * @param contractAddress - L2 contract address that created this message * @param recipient - L1 contract address t
yarn-project/simulator/src/public/state_manager/state_manager.ts:338
↓ 23 callers
Function
write_test_data
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_store.test.cpp:74
↓ 22 callers
Method
addLogs
* Append new logs to the store's list. * @param blocks - The blocks for which to add the logs. * @returns True if the operation is successful.
yarn-project/archiver/src/store/log_store.ts:279
↓ 22 callers
Method
add_entry
barretenberg/cpp/src/barretenberg/transcript/transcript_manifest.hpp:78
↓ 22 callers
Method
call
* Execute a msgpack command and return the msgpack response. * @param inputBuffer The msgpack-encoded input buffer * @returns The msgpack-encode
barretenberg/ts/src/bb_backends/interface.ts:11
↓ 22 callers
Method
canStartNextBlock
* Determines if we can start building the next block and returns its deadline. * * The timetable divides the slot into fixed sub-slots. This met
yarn-project/sequencer-client/src/sequencer/timetable.ts:221
↓ 22 callers
Function
compute_public_bytecode_first_field
Takes the size of the bytecode in bytes and computes the field prepended to the public bytecode commitment hash.
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/contract_crypto.cpp:42
↓ 22 callers
Method
createBlocks
(numBlocks: number)
yarn-project/archiver/src/test/mock_archiver.ts:50
↓ 22 callers
Method
create_ecc_add_gate
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:371
↓ 22 callers
Method
dyadic_size
barretenberg/cpp/src/barretenberg/ultra_honk/prover_instance.hpp:69
↓ 22 callers
Function
executeTimeout
( fn: (signal: AbortSignal) => Promise<T>, timeout: number, errorOrFnName?: string | (() => Error), on
yarn-project/foundation/src/timer/timeout.ts:81
↓ 22 callers
Method
getL1Constants
* Returns the rollup constants for the current chain.
yarn-project/stdlib/src/block/l2_block_source.ts:212
↓ 22 callers
Function
getNullifier
(tx: MockTx, index: number)
yarn-project/p2p/src/mem_pools/tx_pool/eviction/nullifier_conflict_pre_add_rule.test.ts:43
↓ 22 callers
Method
getProvingJobStatus
* Returns the current status fof the proving job * @param id - The ID of the job to get the status of
yarn-project/stdlib/src/interfaces/prover-broker.ts:26
↓ 22 callers
Method
getStateReference
* Gets the current state reference.
yarn-project/stdlib/src/interfaces/merkle_tree_operations.ts:130
↓ 22 callers
Method
getTimestampForSlot
(slot: SlotNumber)
yarn-project/ethereum/src/contracts/rollup.ts:671
↓ 22 callers
Function
getTopicFromString
(topicStr: string)
yarn-project/stdlib/src/p2p/topic_type.ts:9
↓ 22 callers
Method
getValidatorAddresses
()
yarn-project/validator-client/src/validator.ts:246
↓ 22 callers
Function
get_leaf_by_index
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.test.cpp:210
↓ 22 callers
Method
hasPendingOffense
Returns whether an offense is pending (ie not marked as slashed)
yarn-project/slasher/src/stores/offenses_store.ts:65
↓ 22 callers
Method
invert_columns
barretenberg/cpp/src/barretenberg/vm2/tracegen/trace_container.cpp:112
↓ 22 callers
Function
makeBlock
(number: number)
yarn-project/stdlib/src/block/test/l2_tips_store_test_suite.ts:34
↓ 22 callers
Function
makeBlock
( blockNumber: BlockNumber, indexIntoCheckpoint = IndexWithinCheckpoint(0), previousArchive?
yarn-project/archiver/src/archiver-store.test.ts:218
↓ 22 callers
Function
makeTx
()
yarn-project/p2p/src/services/tx_file_store/tx_file_store.test.ts:27
↓ 22 callers
Function
mapAppendOnlyTreeSnapshotToNoir
(snapshot: AppendOnlyTreeSnapshot)
yarn-project/noir-protocol-circuits-types/src/conversion/common.ts:377
↓ 22 callers
Method
markAsMined
* Marks the set of txs as mined, as opposed to pending. * @param txHashes - Hashes of the txs to flag as mined. * @param blockHeader - The heade
yarn-project/p2p/src/mem_pools/tx_pool/tx_pool.ts:65
↓ 22 callers
Method
monitorTransaction
(state: L1TxState)
yarn-project/ethereum/src/l1_tx_utils/l1_tx_utils.test.ts:1937
↓ 22 callers
Method
permutation
* @brief Applies the Poseidon2 permutation function to a single input state. * * @param input The input state as an array of 4 field elements to app
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/poseidon2.cpp:74
↓ 22 callers
Function
rdtsc
barretenberg/cpp/src/barretenberg/ecc/curves/bn254/fr.bench.cpp:111
↓ 22 callers
Method
registerContract
( wallet: Wallet, contractArtifact: ContractArtifactClass<T>, opts: { salt?: Fr; publi
yarn-project/end-to-end/src/e2e_deploy_contract/deploy_test.ts:56
↓ 22 callers
Method
revert
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.hpp:138
↓ 22 callers
Method
scalar_mul
* @brief Performs scalar multiplication of an FF value with a Grumpkin curve point using the double and add algorithm, * and emits a ScalarMulEvent.
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/ecc.cpp:62
↓ 22 callers
Method
self_to_montgomery_form
barretenberg/cpp/src/barretenberg/ecc/fields/field2.hpp:95
↓ 22 callers
Method
start
* Start the key store
yarn-project/validator-client/src/key_store/interface.ts:115
↓ 22 callers
Method
start_index
The extents of the actual memory-backed polynomial region
barretenberg/cpp/src/barretenberg/polynomials/polynomial.hpp:341
↓ 22 callers
Method
stop
* Stop the key store
yarn-project/validator-client/src/key_store/interface.ts:120
↓ 22 callers
Method
toBlobFields
()
yarn-project/stdlib/src/tx/tx_effect.ts:237
↓ 22 callers
Method
verifyState
()
yarn-project/prover-client/src/orchestrator/epoch-proving-state.ts:149
↓ 22 callers
Function
write
barretenberg/cpp/src/barretenberg/flavor/flavor.hpp:756
↓ 22 callers
Method
writeUniqueNoteHash
* Write a note hash, trace the write. * @param uniqueNoteHash - the siloed unique hash to write
yarn-project/simulator/src/public/state_manager/state_manager.ts:234
↓ 21 callers
Method
acquire
()
yarn-project/foundation/src/queue/semaphore.ts:4
↓ 21 callers
Method
add_log
barretenberg/cpp/src/barretenberg/vm2/common/aztec_types.hpp:255
← previous
next →
801–900 of 24,401, ranked by callers