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
↓ 48 callers
Method
default
()
yarn-project/stdlib/src/keys/public_keys.ts:98
↓ 48 callers
Method
entriesAsync
* Iterates over the map's key-value entries in the key's natural order * @param range - The range of keys to iterate over
yarn-project/kv-store/src/interfaces/map.ts:98
↓ 48 callers
Method
getCheckpointedBlock
* Gets a checkpointed L2 block by block number. * Returns undefined if the block doesn't exist or hasn't been checkpointed yet. * @param number
yarn-project/stdlib/src/block/l2_block_source.ts:90
↓ 48 callers
Function
get_index
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.test.cpp:23
↓ 48 callers
Function
serializeToFields
(...objs: Fieldable[])
yarn-project/foundation/src/serialize/serialize.ts:190
↓ 48 callers
Method
signWithProtection
* Sign a message with slashing protection. * * This method: * 1. Acquires a distributed lock for (validator, slot, dutyType) * 2. Calls th
yarn-project/validator-ha-signer/src/validator_ha_signer.ts:85
↓ 48 callers
Method
write
(string, offset, length, encoding)
yarn-project/kv-store/browser-stubs/buffer.js:84
↓ 47 callers
Method
build
barretenberg/cpp/src/barretenberg/vm2/testing/instruction_builder.cpp:5
↓ 47 callers
Function
createNote
(items: bigint[])
yarn-project/pxe/src/contract_function_simulator/pick_notes.test.ts:23
↓ 47 callers
Method
getAddress
* Get the address of a signer by index * * @param index - The index of the signer * @returns the address
yarn-project/validator-client/src/key_store/interface.ts:21
↓ 47 callers
Method
getNodeInfo
* Returns the information about the server's node. Includes current Node version, compatible Noir version, * L1 chain identifier, protocol version,
yarn-project/stdlib/src/interfaces/aztec-node.ts:259
↓ 47 callers
Method
getSequencer
* Returns the sequencer client instance. * @returns The sequencer client instance.
yarn-project/aztec-node/src/aztec-node/server.ts:603
↓ 47 callers
Method
insert
barretenberg/cpp/src/barretenberg/smt_verification/terms/data_structures.hpp:368
↓ 47 callers
Function
unconstrained_root_from_path
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/merkle.cpp:12
↓ 46 callers
Method
appendLeaves
* Appends a set of leaf values to the tree. * @param leaves - The set of leaves to be appended.
yarn-project/merkle-tree/src/interfaces/append_only_tree.ts:16
↓ 46 callers
Function
createLogger
(name, bindings)
yarn-project/kv-store/browser-stubs/foundation-log.js:4
↓ 46 callers
Method
createObservableGauge
* Creates a new observable gauge instrument. A gauge is a metric that represents a single numerical value that can arbitrarily go up and down. * @p
yarn-project/telemetry-client/src/telemetry.ts:92
↓ 46 callers
Method
get_value
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.hpp:125
↓ 46 callers
Function
mapNumberToNoir
(number: number)
yarn-project/noir-protocol-circuits-types/src/conversion/common.ts:165
↓ 45 callers
Function
FFVar
barretenberg/cpp/src/barretenberg/smt_verification/terms/term.cpp:570
↓ 45 callers
Method
build
Builds the PrivateCircuitPublicInputs with all added side effects.
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:273
↓ 45 callers
Method
create_big_add_gate
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:293
↓ 45 callers
Method
create_read_transaction
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/array_store.hpp:36
↓ 45 callers
Method
dbl
barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp:151
↓ 45 callers
Method
getL1ToL2Messages
* Gets new L1 to L2 message (to be) included in a given checkpoint. * @param checkpointNumber - Checkpoint number to get messages for. * @return
yarn-project/stdlib/src/messaging/l1_to_l2_message_source.ts:15
↓ 45 callers
Method
get_key
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/indexed_leaf.hpp:55
↓ 45 callers
Method
is_point_at_infinity
barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.hpp:397
↓ 45 callers
Function
now
()
yarn-project/prover-client/src/proving_broker/proving_broker.test.ts:50
↓ 44 callers
Method
addNullifier
Adds a nullifier. Defaults are generated randomly.
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:213
↓ 44 callers
Method
checked_unconditional_add_sub
barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup_impl.hpp:367
↓ 44 callers
Method
contains
* @brief Create an inclusion constraint * * @param entry entry to be checked * @todo (alex) maybe it should return the term value, for
barretenberg/cpp/src/barretenberg/smt_verification/terms/data_structures.hpp:379
↓ 44 callers
Method
exists
Returns whether a file at the given path or URI exists.
yarn-project/stdlib/src/file-store/interface.ts:8
↓ 44 callers
Method
find_block_for_index
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/lmdb_store/lmdb_tree_store.cpp:167
↓ 44 callers
Method
find_connected_components
barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph.cpp:491
↓ 44 callers
Method
get_tree_info
barretenberg/cpp/src/barretenberg/world_state/world_state.cpp:292
↓ 44 callers
Method
init
(length: number, indices: number[])
yarn-project/p2p/src/services/reqresp/protocols/block_txs/bitvector.ts:24
↓ 44 callers
Function
initExecutionEnvironment
(overrides?: Partial<AvmExecutionEnvironment>)
yarn-project/simulator/src/public/avm/fixtures/initializers.ts:66
↓ 44 callers
Method
selector
* A getter for users to fetch the function selector. * @returns Selector of the function.
yarn-project/aztec.js/src/contract/contract_base.ts:58
↓ 44 callers
Function
shouldCollectMetrics
()
yarn-project/end-to-end/src/fixtures/fixtures.ts:3
↓ 44 callers
Method
start
( subProtocolHandlers: Partial<ReqRespSubProtocolHandlers>, subProtocolValidators: ReqRespSubProtocolV
yarn-project/p2p/src/services/reqresp/interface.ts:240
↓ 44 callers
Function
toACVMField
( value: AztecAddress | EthAddress | Fr | Buffer | boolean | number | bigint | ACVMField, )
yarn-project/simulator/src/private/acvm/serialize.ts:26
↓ 43 callers
Function
call_lmdb_func
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_helpers.hpp:38
↓ 43 callers
Function
check_size
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:59
↓ 43 callers
Function
deriveBlsKeyFromMnemonic
(mnemonic: string, derivationPath: string, passphrase = '')
yarn-project/foundation/src/crypto/bls/index.ts:24
↓ 43 callers
Method
fallback
* Fills in gas limits high enough for transactions to be included in most cases. * gasLimits is set to the maximum the protocol allows; since teard
yarn-project/stdlib/src/gas/gas_settings.ts:119
↓ 43 callers
Method
get_snapshot
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/retrieved_bytecodes_tree_check.cpp:113
↓ 43 callers
Method
load
TODO(#7371) we should not have so many levels of serialization here.
barretenberg/cpp/src/barretenberg/chonk/private_execution_steps.cpp:93
↓ 43 callers
Function
retryFastUntil
( fn: () => (T | undefined) | Promise<T | undefined>, name = '', timeout = 10, interval = 0.1, )
yarn-project/foundation/src/retry/index.ts:116
↓ 43 callers
Method
sendAndMonitorTransaction
* Sends a transaction and monitors it until completion * @param request - The transaction request (to, data, value) * @param gasConfig - Optiona
yarn-project/ethereum/src/l1_tx_utils/l1_tx_utils.ts:628
↓ 43 callers
Method
stop
Stops the pool and releases resources
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:243
↓ 42 callers
Method
addBlock
* Adds a block to the store. * @param block - The L2 block to add. * @throws If block number is not incremental (i.e., not exactly one more than
yarn-project/stdlib/src/block/l2_block_source.ts:290
↓ 42 callers
Function
assertLength
(array: T[], n: N)
yarn-project/foundation/src/serialize/types.ts:17
↓ 42 callers
Method
consumeGas
* Consumes the given gas. * Should any of the gas dimensions get depleted, it sets all gas left to zero and triggers * an exceptional halt by th
yarn-project/simulator/src/public/avm/avm_machine_state.ts:101
↓ 42 callers
Function
createOffense
( validator = EthAddress.random(), amount = 1000n, offense = OffenseType.INACTIVITY, epochOrSl
yarn-project/slasher/src/stores/offenses_store.test.ts:28
↓ 42 callers
Method
get_num_public_log_fields
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/side_effect_tracker.cpp:7
↓ 42 callers
Function
makeMeta
(fee: bigint, txHash = '0x1234')
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_metadata.test.ts:72
↓ 42 callers
Function
mockBlock
( blockNum: BlockNumber, size: number, fork: MerkleTreeWriteOperations, maxEffects: number | undefined
yarn-project/world-state/src/test/utils.ts:80
↓ 42 callers
Function
poseidon2Hash
(input: Fieldable[])
yarn-project/foundation/src/crypto/poseidon/index.ts:31
↓ 42 callers
Method
process_hash
* @brief Processes the hash events for the Poseidon2 hash function. It populates the columns for the poseidon2_hash * sub-trace. It generates
barretenberg/cpp/src/barretenberg/vm2/tracegen/poseidon2_trace.cpp:105
↓ 42 callers
Method
start
* Starts the pool and initializes state from persistence. * Must be called before other operations. * - Reads all transactions from the database
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:240
↓ 42 callers
Function
test
(value: any, schema: ZodTypeAny)
yarn-project/foundation/src/json-rpc/convert.test.ts:8
↓ 42 callers
Method
to_buffer
Write the Univariate evaluations to a buffer
barretenberg/cpp/src/barretenberg/polynomials/univariate.hpp:131
↓ 41 callers
Function
__copy
barretenberg/cpp/src/barretenberg/ecc/fields/field_declarations.hpp:567
↓ 41 callers
Function
check_root
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.test.cpp:103
↓ 41 callers
Function
check_sibling_path
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:107
↓ 41 callers
Function
empty_trace
barretenberg/cpp/src/barretenberg/vm2/testing/fixtures.cpp:153
↓ 41 callers
Method
from
(fields: FieldsOf<FunctionCall>)
yarn-project/stdlib/src/abi/function_call.ts:45
↓ 41 callers
Method
getBlockHeader
* Returns the block header for a given block number, block hash, or 'latest'. * @param block - The block parameter (block number, block hash, or 'l
yarn-project/stdlib/src/interfaces/aztec-node.ts:432
↓ 41 callers
Method
handlerAsUtility
()
yarn-project/pxe/src/contract_function_simulator/oracle/oracle.ts:75
↓ 41 callers
Method
open_database
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_store.cpp:19
↓ 41 callers
Function
poseidon2HashWithSeparator
(input: Fieldable[], separator: number)
yarn-project/foundation/src/crypto/poseidon/index.ts:41
↓ 41 callers
Method
readVector
* Reads a vector of fixed size from the buffer and deserializes its elements using the provided itemDeserializer object. * The 'itemDeserializer' o
yarn-project/foundation/src/serialize/buffer_reader.ts:245
↓ 41 callers
Method
setIntervalMining
* Enable interval mining at the given interval (block time) * @param seconds - The interval to use between blocks
yarn-project/ethereum/src/test/eth_cheat_codes.ts:188
↓ 41 callers
Function
zodFor
()
yarn-project/foundation/src/schemas/types.ts:28
↓ 40 callers
Function
commit_tree
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:185
↓ 40 callers
Method
createCheckpoint
* Create a new checkpoint for the contract database state. * Enables rollback to current state in case of a revert. * @returns Promise that reso
yarn-project/native/src/native_module.ts:72
↓ 40 callers
Method
createGauge
* Creates a new gauge instrument. A gauge is a metric that represents a single numerical value that can arbitrarily go up and down. * @param metric
yarn-project/telemetry-client/src/telemetry.ts:86
↓ 40 callers
Method
create_small_range_constraint
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:755
↓ 40 callers
Method
from
barretenberg/cpp/src/barretenberg/vm2/common/avm_io.cpp:115
↓ 40 callers
Method
fromNameAndParameters
( nameOrArgs: string | { name: string; parameters: ABIParameter[] }, maybeParameters?: ABIParameter[],
yarn-project/stdlib/src/abi/function_selector.ts:102
↓ 40 callers
Method
getNumLeaves
* Returns the number of leaves in the tree.
yarn-project/merkle-tree/src/snapshots/snapshot_builder.ts:39
↓ 40 callers
Method
getSingleton
* Get the singleton instance of Barretenberg. * Must call initSingleton() first.
barretenberg/ts/src/barretenberg/index.ts:147
↓ 40 callers
Method
handlerAsUtility
()
yarn-project/txe/src/rpc_translator.ts:83
↓ 40 callers
Function
makeProposeCalldata
( header?: ViemHeader, attestations: ViemCommitteeAttestations = makeViemCommitteeAttestations(), )
yarn-project/archiver/src/l1/calldata_retriever.test.ts:122
↓ 40 callers
Method
readU32
* Reads a 32-bit unsigned integer from the field array at the current index position. * Updates the index position by 1 after reading the number.
yarn-project/foundation/src/serialize/field_reader.ts:123
↓ 40 callers
Method
setSlice
(offset: number, slice: MemoryValue[])
yarn-project/simulator/src/public/avm/avm_memory_types.ts:307
↓ 40 callers
Function
to_buffer
barretenberg/cpp/src/barretenberg/common/serialize.hpp:414
↓ 39 callers
Function
BVVar
barretenberg/cpp/src/barretenberg/smt_verification/terms/term.cpp:615
↓ 39 callers
Function
add_to_witness_and_track_indices
barretenberg/cpp/src/barretenberg/dsl/acir_format/utils.hpp:90
↓ 39 callers
Method
build
(self)
avm-transpiler/src/instructions.rs:180
↓ 39 callers
Function
check_root
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:95
↓ 39 callers
Function
clear_events
barretenberg/cpp/src/barretenberg/vm2/tracegen_helper.cpp:126
↓ 39 callers
Method
close
* Closes the database, discarding any uncommitted changes.
yarn-project/stdlib/src/interfaces/merkle_tree_operations.ts:290
↓ 39 callers
Method
construct_proof
barretenberg/cpp/src/barretenberg/eccvm/eccvm_prover.cpp:202
↓ 39 callers
Method
createAttesterSigners
* Create signers for validator attester accounts
yarn-project/node-keystore/src/keystore_manager.ts:231
↓ 39 callers
Method
createChild
(_childModule: string)
yarn-project/bb-prover/src/avm_proving_tests/avm_proving_tester.ts:44
↓ 39 callers
Method
getDeployMethod
* Returns a preconfigured deploy method that contains all the necessary function * calls to deploy the account contract.
yarn-project/aztec.js/src/wallet/account_manager.ts:112
↓ 39 callers
Method
getTxEffect
* Gets a tx effect. * @param txHash - The hash of the tx corresponding to the tx effect. * @returns The requested tx effect with block info (or
yarn-project/stdlib/src/interfaces/aztec-node.ts:386
↓ 39 callers
Method
get_smt_solver
barretenberg/cpp/src/barretenberg/acir_formal_proofs/acir_loader.cpp:46
↓ 39 callers
Method
get_variables_in_one_gate
barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph.cpp:1021
← previous
next →
401–500 of 24,401, ranked by callers