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
↓ 39 callers
Function
hash_leaf
barretenberg/cpp/src/barretenberg/stdlib/merkle_tree/indexed_tree/indexed_tree.test.cpp:134
↓ 39 callers
Method
increment_num_gates
Increment the gate count by the specified amount
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base.hpp:142
↓ 39 callers
Method
put_constant_variable
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:483
↓ 39 callers
Function
readFile
barretenberg/cpp/src/barretenberg/acir_formal_proofs/acir_loader.cpp:11
↓ 39 callers
Method
registerContract
( instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr, )
yarn-project/end-to-end/src/test-wallet/worker_wallet.ts:161
↓ 39 callers
Method
saveState
* Saves a single transaction state for a specific account. * Does not save blob data (see saveBlobs). * @param account - The sender account addr
yarn-project/ethereum/src/l1_tx_utils/interfaces.ts:19
↓ 39 callers
Method
startNewCheckpoint
* Starts a new checkpoint. * @param checkpointIndex - The index of the checkpoint in the epoch. * @param constants - The constants for this chec
yarn-project/stdlib/src/interfaces/epoch-prover.ts:36
↓ 39 callers
Method
storePrivateEventLog
* Store a private event log. * @param eventSelector - The event selector of the event. * @param randomness - The randomness used for the event c
yarn-project/pxe/src/storage/private_event_store/private_event_store.ts:75
↓ 38 callers
Function
all
(source: Iterable<T> | AsyncIterable<T>)
yarn-project/foundation/src/iterable/all.ts:10
↓ 38 callers
Function
expectSiblingPath
(leafValue: Buffer, expectedPath: Buffer[])
yarn-project/foundation/src/trees/unbalanced_merkle_tree_calculator.test.ts:17
↓ 38 callers
Method
fromFields
* Create a Blob from an array of fields. * * @dev This method pads 0s to the data, extending it to the size of a full blob. * * @param fie
yarn-project/blob-lib/src/blob.ts:58
↓ 38 callers
Method
getBlobSidecar
Fetches the given blob sidecars by block hash and blob hashes.
yarn-project/blob-client/src/client/interface.ts:20
↓ 38 callers
Method
getLatestBlockNumber
()
yarn-project/archiver/src/store/block_store.ts:624
↓ 38 callers
Method
getProposerActions
* Get the actions the proposer should take for slashing. * @param slotNumber - The current slot number * @returns The actions to take
yarn-project/slasher/src/slasher_client_interface.ts:42
↓ 38 callers
Function
get_random_point
Create a random point based on InputType
barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.test.cpp:106
↓ 38 callers
Method
process_tag_parameters
barretenberg/cpp/src/barretenberg/vm2/tracegen/precomputed_trace.cpp:134
↓ 38 callers
Method
random
()
yarn-project/foundation/src/curves/bls12/field.ts:195
↓ 38 callers
Method
readFieldArray
* Read an array of a fixed size field array. * * @param size - The fixed number of fields in the array. * @returns An array of fields.
yarn-project/foundation/src/serialize/field_reader.ts:154
↓ 37 callers
Method
add_two
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:583
↓ 37 callers
Function
createMeta
(txHash: string, priorityFee: bigint, nullifiers?: string[])
yarn-project/p2p/src/mem_pools/tx_pool_v2/eviction/nullifier_conflict_rule.test.ts:10
↓ 37 callers
Method
create_range_constraint
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:919
↓ 37 callers
Method
end_index
barretenberg/cpp/src/barretenberg/polynomials/polynomial.hpp:342
↓ 37 callers
Method
enqueue
barretenberg/cpp/src/barretenberg/common/thread_pool.cpp:28
↓ 37 callers
Function
expectDimensions
( builder: PrivateKernelResetPrivateInputsBuilder, actualDimensions: PrivateKernelResetDimensions,
yarn-project/pxe/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.test.ts:70
↓ 37 callers
Method
get_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.hpp:358
↓ 37 callers
Method
off
(event: K, listener: TEventMap[K])
yarn-project/foundation/src/types/index.ts:51
↓ 37 callers
Function
print_g1
(pointer: int, name: str)
barretenberg/sol/src/honk/optimised/generate_offsets.py:158
↓ 37 callers
Method
reverse
barretenberg/cpp/src/barretenberg/polynomials/polynomial.cpp:299
↓ 37 callers
Method
tryAddBlockProposal
* Attempts to add a block proposal to the pool. * * This method performs validation and addition in a single call: * - Checks if the proposal
yarn-project/p2p/src/mem_pools/attestation_pool/attestation_pool.ts:178
↓ 36 callers
Method
addPayload
(payload: SlashPayloadRound)
yarn-project/slasher/src/stores/payloads_store.ts:130
↓ 36 callers
Method
bf
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.fuzzer.hpp:806
↓ 36 callers
Function
createMockState
(nonce: number, status: TxUtilsState = TxUtilsState.SENT)
yarn-project/node-lib/src/stores/l1_tx_store.test.ts:28
↓ 36 callers
Function
debug_log
barretenberg/cpp/src/barretenberg/common/fuzzer.hpp:127
↓ 36 callers
Method
getCheckpoints
* Retrieves a collection of checkpoints. * @param checkpointNumber The first checkpoint to be retrieved. * @param limit The number of checkpoint
yarn-project/stdlib/src/block/l2_block_source.ts:100
↓ 36 callers
Method
getCommitted
* Gets a handle that allows reading the latest committed state
yarn-project/world-state/src/world-state-db/merkle_tree_db.ts:53
↓ 36 callers
Method
getLastFinalizedIndex
* Returns the last (highest) finalized index for a given secret. * @param secret - The secret to get the last finalized index for. * @returns Th
yarn-project/pxe/src/storage/tagging_store/sender_tagging_store.ts:240
↓ 36 callers
Method
getPendingOffenses
Returns all pending offenses
yarn-project/slasher/src/slasher_client_interface.ts:29
↓ 36 callers
Method
getTrueIndices
* Returns all indices which are set to true *
yarn-project/p2p/src/services/reqresp/protocols/block_txs/bitvector.ts:63
↓ 36 callers
Function
get_random_element
Gets a random bigfield element that may be either circuit-witness or cirucit-constant
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.test.cpp:150
↓ 36 callers
Function
loadContractArtifact
(input: NoirCompiledContract)
yarn-project/stdlib/src/abi/contract_artifact.ts:53
↓ 36 callers
Function
mockHashComputation
* Sets up mocks for the hash computation methods to return specific test hashes. * This allows us to test validation logic without recomputing hash
yarn-project/archiver/src/l1/calldata_retriever.test.ts:153
↓ 36 callers
Method
num_gates
Get the current number of gates in the circuit
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base.hpp:139
↓ 36 callers
Method
parse
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:8359
↓ 36 callers
Function
random_fields
barretenberg/cpp/src/barretenberg/vm2/testing/fixtures.cpp:23
↓ 36 callers
Function
runSimulator
({ artifact, functionName, anchorBlockHeader, args = [], /** Notice that we're defaulting
yarn-project/pxe/src/contract_function_simulator/oracle/private_execution.test.ts:182
↓ 36 callers
Function
save_buggy_witness
* @brief Saves witness data when a bug is found during verification * @param instruction_name Name of the instruction being tested * @param circuit
barretenberg/cpp/src/barretenberg/acir_formal_proofs/acir_loader.test.cpp:32
↓ 36 callers
Method
subspan
barretenberg/cpp/src/barretenberg/common/ref_span.hpp:60
↓ 36 callers
Method
update_element
barretenberg/cpp/src/barretenberg/vm2/testing/test_tree.hpp:32
↓ 36 callers
Method
write
* @brief Assert the membership of the current leaf value (same logic as assert_membership()). * Write the new leaf value in the tree, i.e., compute t
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/merkle_check.cpp:73
↓ 35 callers
Function
bufferSchemaFor
( klazz: TClass, refinement?: (buf: Buffer) => boolean, )
yarn-project/foundation/src/schemas/utils.ts:101
↓ 35 callers
Method
checkAndRecord
* Check if a duty can be performed and acquire the lock if so. * * This method uses an atomic insert-or-get operation. * It will: * 1. Try
yarn-project/validator-ha-signer/src/slashing_protection_service.ts:73
↓ 35 callers
Function
compareState
( fork: MerkleTreeWriteOperations, pathsToCheck: SiblingPath<number>[], expectedEqual: boole
yarn-project/world-state/src/native/native_world_state.test.ts:1565
↓ 35 callers
Function
countAccumulatedItems
(arr: T[])
yarn-project/stdlib/src/kernel/utils/order_and_comparison.ts:8
↓ 35 callers
Function
createContext
(calldata: Fr[] = [])
yarn-project/simulator/src/public/avm/avm_simulator.test.ts:621
↓ 35 callers
Function
createEthereumChain
(rpcUrls: string[], _chainId: number | string)
yarn-project/ethereum/src/chain.ts:26
↓ 35 callers
Method
dbl
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_group.cpp:299
↓ 35 callers
Function
format
(fmt, ...args)
yarn-project/kv-store/browser-stubs/util.js:10
↓ 35 callers
Method
fromWire
(wireModes: number)
yarn-project/simulator/src/public/avm/opcodes/addressing_mode.ts:29
↓ 35 callers
Function
getContractInstanceFromInstantiationParams
( artifact: ContractArtifact, opts: ContractInstantiationData, )
yarn-project/stdlib/src/contract/contract_instance.ts:117
↓ 35 callers
Method
getMeter
* Creates a new meter * @param name - The name of the meter.
yarn-project/telemetry-client/src/telemetry.ts:136
↓ 35 callers
Function
getPrivateKeyFromIndex
(index: number)
yarn-project/end-to-end/src/fixtures/setup.ts:99
↓ 35 callers
Function
makeArray
(length: number, fn: (i: number) => T, offset = 0)
yarn-project/stdlib/src/tests/factories.ts:1240
↓ 35 callers
Method
readBytes
* Reads a specified number of bytes from the buffer and returns a new Buffer containing those bytes. * Advances the reader's index by the number of
yarn-project/foundation/src/serialize/buffer_reader.ts:198
↓ 35 callers
Method
release
()
yarn-project/foundation/src/queue/semaphore.ts:5
↓ 35 callers
Method
setTime
(timeMs: number)
yarn-project/foundation/src/timer/date.ts:30
↓ 35 callers
Method
stop
()
yarn-project/bot/src/interface.ts:16
↓ 35 callers
Function
to_string
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/raw_data_dbs.cpp:21
↓ 35 callers
Function
tryStop
(service?: any, logger?: Logger)
yarn-project/stdlib/src/interfaces/service.ts:19
↓ 34 callers
Method
add_scaled
barretenberg/cpp/src/barretenberg/polynomials/polynomial.cpp:258
↓ 34 callers
Method
equals
(rhs: Field)
yarn-project/simulator/src/public/avm/avm_memory_types.ts:210
↓ 34 callers
Function
getContractClassFromArtifact
( artifact: ContractArtifact | ContractArtifactWithHash, )
yarn-project/stdlib/src/contract/contract_class.ts:17
↓ 34 callers
Method
getPeerForRequest
* Gets the peer responsible for handling a specific request index. * If the primary peer has previously failed for this index, tries other peers.
yarn-project/p2p/src/services/reqresp/connection-sampler/batch_connection_sampler.ts:56
↓ 34 callers
Function
getVKTreeRoot
()
yarn-project/noir-protocol-circuits-types/src/artifacts/vks/tree.ts:13
↓ 34 callers
Method
get_bit
barretenberg/cpp/src/barretenberg/numeric/uintx/uintx_impl.hpp:118
↓ 34 callers
Method
isSoftDeleted
* Checks if a transaction is soft-deleted (either prune-based or slot-based).
yarn-project/p2p/src/mem_pools/tx_pool_v2/deleted_pool.ts:204
↓ 34 callers
Method
new
(fork: MerkleTreeCheckpointOperations)
yarn-project/world-state/src/native/fork_checkpoint.ts:11
↓ 34 callers
Method
pow
barretenberg/cpp/src/barretenberg/ecc/fields/field2.hpp:125
↓ 34 callers
Method
process_decomposition
* @brief Process bytecode decomposition events and populate the relevant columns in the trace. * Corresponds to bc_decomposition.pil. * * This tr
barretenberg/cpp/src/barretenberg/vm2/tracegen/bytecode_trace.cpp:37
↓ 34 callers
Method
request
* Returns an execution request that represents this operation. * @param options - An optional object containing additional configuration for the re
yarn-project/aztec.js/src/contract/batch_call.ts:31
↓ 34 callers
Method
self_reduce
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:2073
↓ 34 callers
Function
siloNullifier
(contract: AztecAddress, innerNullifier: Fr)
yarn-project/stdlib/src/hash/hash.ts:57
↓ 34 callers
Method
to_string
barretenberg/cpp/src/barretenberg/vm2/tooling/stats.cpp:36
↓ 33 callers
Function
advanceState
(fork: MerkleTreeWriteOperations)
yarn-project/world-state/src/native/native_world_state.test.ts:1542
↓ 33 callers
Method
begin
Iterator support for range-based for (required by Codec)
barretenberg/cpp/src/barretenberg/commitment_schemes/pairing_points.hpp:47
↓ 33 callers
Method
collect
()
yarn-project/telemetry-client/src/prom_otel_adapter.ts:32
↓ 33 callers
Function
createSlashPayloadRound
(payload = createSlashPayload(), votes = 5n, round = 10n)
yarn-project/slasher/src/stores/payloads_store.test.ts:43
↓ 33 callers
Function
create_store
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_store.test.cpp:53
↓ 33 callers
Function
encodeToBytecode
(instructions: Bufferable[])
yarn-project/simulator/src/public/avm/serialization/bytecode_serialization.ts:159
↓ 33 callers
Method
getEthVersionedBlobHash
()
yarn-project/blob-lib/src/blob.ts:115
↓ 33 callers
Method
getRoot
* Returns the current root of the tree.
yarn-project/merkle-tree/src/snapshots/snapshot_builder.ts:29
↓ 33 callers
Method
get_sibling_path
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/hinting_dbs.cpp:198
↓ 33 callers
Method
is_zero
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:783
↓ 33 callers
Method
set_at_key
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_cursor.cpp:42
↓ 33 callers
Method
set_gate_selector
* @brief Default implementation does nothing */
barretenberg/cpp/src/barretenberg/honk/execution_trace/mega_execution_trace.hpp:98
↓ 33 callers
Method
set_memory_address
barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/memory_manager.cpp:86
↓ 33 callers
Method
stop
()
yarn-project/p2p/src/services/reqresp/interface.ts:249
↓ 32 callers
Function
aligned_alloc
barretenberg/cpp/src/barretenberg/common/mem.hpp:42
↓ 32 callers
Method
assert_equal
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:1954
↓ 32 callers
Function
assert_failure
barretenberg/cpp/src/barretenberg/common/assert.cpp:11
↓ 32 callers
Function
commit_tree
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.test.cpp:239
← previous
next →
501–600 of 24,401, ranked by callers