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
↓ 28 callers
Function
keccak256
(input: Buffer | Buffer32)
yarn-project/foundation/src/crypto/keccak/index.ts:11
↓ 28 callers
Function
makeAztecAddress
(seed = 1)
yarn-project/stdlib/src/tests/factories.ts:759
↓ 28 callers
Function
mkdirp
Create a directory (recursively).
yarn-project/aztec/src/cli/cmds/utils/needs_recompile.test.ts:17
↓ 28 callers
Method
observe
(labelsOrValue: Labels | number, value?: number)
yarn-project/telemetry-client/src/prom_otel_adapter.ts:255
↓ 28 callers
Function
pickNotes
( noteDatas: T[], { selects = [], sorts = [], limit = 0, offset = 0 }: GetOptions, )
yarn-project/pxe/src/contract_function_simulator/pick_notes.ts:153
↓ 28 callers
Function
randomTxScopedPrivateL2Log
(opts?: { tag?: Fr; txHash?: TxHash; blockNumber?: number; blockTimestamp?: bigint; noteHashes?: Fr[
yarn-project/stdlib/src/tests/factories.ts:1682
↓ 28 callers
Method
readArray
* Read an array from the field array using lazy allocation (new Array + loop). * Safe for use with untrusted sizes.
yarn-project/foundation/src/serialize/field_reader.ts:176
↓ 28 callers
Method
startNewBlock
* Starts a new block. * @param blockNumber - The block number. * @param timestamp - The timestamp of the block. * @param totalNumTxs - The to
yarn-project/stdlib/src/interfaces/epoch-prover.ts:50
↓ 28 callers
Function
touch
Create a file (if needed) and set its timestamp to the given value (seconds since epoch).
yarn-project/aztec/src/cli/cmds/utils/needs_recompile.test.ts:9
↓ 28 callers
Method
writeSiloedNullifier
* Write a nullifier to the nullifier set, trace the write. * @param siloedNullifier - the siloed nullifier to write
yarn-project/simulator/src/public/state_manager/state_manager.ts:286
↓ 27 callers
Method
archiveTxs
* Archives transactions, stripping their proofs. * Evicts oldest transactions if the limit is exceeded.
yarn-project/p2p/src/mem_pools/tx_pool_v2/archive/tx_archive.ts:50
↓ 27 callers
Function
assert_leaf_value
barretenberg/cpp/src/barretenberg/world_state/world_state.test.cpp:69
↓ 27 callers
Function
buildBalanceEntries
( txHashes: TxHash[], feeLimit: bigint, { claimAmount = 0n, isEvictable = true,
yarn-project/p2p/src/mem_pools/tx_pool/eviction/fee_payer_balance_eviction_rule.test.ts:40
↓ 27 callers
Method
copy
Copies `count` elements from the source array to the destination array (overwrites destination).
yarn-project/pxe/src/contract_function_simulator/ephemeral_array_service.ts:99
↓ 27 callers
Method
ff_gt
* @brief Computes the result of a > b (in a constrained way). * * @param a The first field element. * @param b The second field element. * @return
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/field_gt.cpp:66
↓ 27 callers
Method
finalizePendingIndexes
* Updates pending indexes corresponding to the given transaction hashes to be finalized and prunes any lower pending * indexes.
yarn-project/pxe/src/storage/tagging_store/sender_tagging_store.ts:363
↓ 27 callers
Function
generate_random_field
barretenberg/cpp/src/barretenberg/avm_fuzzer/mutations/basic_types/field.cpp:25
↓ 27 callers
Method
getAccounts
* Retrieves addresses of accounts stored in the key store. * @returns A Promise that resolves to an array of account addresses.
yarn-project/key-store/src/key_store.ts:100
↓ 27 callers
Method
getConfig
()
yarn-project/bot/src/interface.ts:19
↓ 27 callers
Method
getFunctionCall
(functionName: string, args: any[], to: AztecAddress)
yarn-project/pxe/src/storage/contract_store/contract_store.ts:405
↓ 27 callers
Method
getL2BlockHash
(number: number)
yarn-project/stdlib/src/block/l2_block_stream/interfaces.ts:12
↓ 27 callers
Method
get_bitvec_smt_circuit
barretenberg/cpp/src/barretenberg/acir_formal_proofs/acir_loader.cpp:59
↓ 27 callers
Method
isValid
* @returns true if the address is valid. Invalid addresses cannot receive encrypted messages.
yarn-project/stdlib/src/aztec-address/index.ts:126
↓ 27 callers
Function
log
(level: 'info' | 'warn' | 'error', msg: string)
spartan/scripts/k8s_enricher.ts:90
↓ 27 callers
Method
madd
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:518
↓ 27 callers
Function
makeBlockId
(number: number)
yarn-project/stdlib/src/block/l2_block_stream/l2_block_stream.test.ts:52
↓ 27 callers
Method
mine
* Advance the chain by a number of blocks * @param numberOfBlocks - The number of blocks to mine
yarn-project/ethereum/src/test/eth_cheat_codes.ts:102
↓ 27 callers
Function
next
()
yarn-project/wallet-sdk/src/iframe/provider/iframe_discovery.ts:91
↓ 27 callers
Method
normalize
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:646
↓ 27 callers
Function
pow64
barretenberg/cpp/src/barretenberg/numeric/bitop/pow.hpp:13
↓ 27 callers
Method
process_sel_range_8
* Generate a selector column that activates the first 2^8 (256) rows. * We can enforce that a value X is <= 8 bits via a lookup that checks * whethe
barretenberg/cpp/src/barretenberg/vm2/tracegen/precomputed_trace.cpp:71
↓ 27 callers
Method
push
* Pushes values to the end of the array * @param vals - The values to push to the end of the array * @returns The new length of the array
yarn-project/kv-store/src/interfaces/array.ts:12
↓ 27 callers
Method
recomputeHash
Recomputes the tx hash. Used for testing purposes only when a property of the tx was mutated.
yarn-project/stdlib/src/tx/tx.ts:320
↓ 27 callers
Method
reset
()
yarn-project/telemetry-client/src/prom_otel_adapter.ts:41
↓ 27 callers
Method
serialize
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/serialization.cpp:379
↓ 27 callers
Method
set_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.hpp:357
↓ 27 callers
Function
size
Returns the size in bytes.
yarn-project/foundation/src/curves/bn254/field.ts:42
↓ 27 callers
Function
toPascalCase
(name: string)
barretenberg/ts/src/cbind/naming.ts:19
↓ 27 callers
Method
trigger
Force trigger the slow collection and reconciliation loops
yarn-project/p2p/src/services/tx_collection/tx_collection.ts:189
↓ 27 callers
Method
update
(config: BotConfig)
yarn-project/bot/src/interface.ts:21
↓ 27 callers
Method
validateBlockProposal
* Validate a block proposal from a peer. * Note: Validators do NOT attest to individual blocks - attestations are only for checkpoint proposals.
yarn-project/stdlib/src/interfaces/validator.ts:148
↓ 27 callers
Method
work
()
yarn-project/sequencer-client/src/sequencer/sequencer.test.ts:900
↓ 26 callers
Method
add_public_variable
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base_impl.hpp:85
↓ 26 callers
Function
add_value_sequentially
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.test.cpp:264
↓ 26 callers
Method
advanceToEpoch
* Advances time to the beginning of the given epoch * @param epoch - The epoch to advance to * @param opts - Options
yarn-project/ethereum/src/test/rollup_cheat_codes.ts:138
↓ 26 callers
Method
cd_copy
* @brief CALLDATACOPY execution opcode handler: Copy calldata from the parent context to the current context. * The calldata is copied to the
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/execution.cpp:689
↓ 26 callers
Method
coeffs
* @brief Strictly iterates the defined region of the polynomial. * We keep this explicit, instead of having an implicit conversion to span.
barretenberg/cpp/src/barretenberg/polynomials/polynomial.hpp:353
↓ 26 callers
Method
collectAllTxs
(generator: AsyncGenerator<Tx, Tx | undefined, unknown>)
yarn-project/p2p/src/services/reqresp/batch-tx-requester/batch_tx_requester.ts:160
↓ 26 callers
Method
create
( node: AztecNode, overridePXEConfig?: Partial<PXEConfig>, options: PXECreationOptions = { loggers
yarn-project/end-to-end/src/test-wallet/test_wallet.ts:68
↓ 26 callers
Function
decodeFromAbi
(typ: AbiType[], buffer: Fr[])
yarn-project/stdlib/src/abi/decoder.ts:144
↓ 26 callers
Method
deleteTx
* Deletes a transaction. This is the single entry point for ALL deletions. * The tx is always soft-deleted (kept in DB): * * - If the tx is f
yarn-project/p2p/src/mem_pools/tx_pool_v2/deleted_pool.ts:156
↓ 26 callers
Function
expectSyncedScopes
(...expectedScopes: AztecAddress[][])
yarn-project/pxe/src/contract_sync/contract_sync_service.test.ts:424
↓ 26 callers
Method
getLatestLeafPreimageCopy
* Gets the historical data for a leaf * @param index - The index of the leaf to get the data for
yarn-project/merkle-tree/src/snapshots/snapshot_builder.ts:76
↓ 26 callers
Method
getState
()
yarn-project/prover-node/src/job/epoch-proving-job.ts:81
↓ 26 callers
Method
get_leaf
barretenberg/cpp/src/barretenberg/world_state/world_state.hpp:471
↓ 26 callers
Method
get_random_uint64
barretenberg/cpp/src/barretenberg/numeric/random/engine.cpp:196
↓ 26 callers
Method
handleFinalizedBlock
* Handles a finalized block. * Permanently deletes mined transactions and optionally archives them. * @param block - Header of the finalized blo
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:187
↓ 26 callers
Method
hasAsync
* Checks if a key exists in the map. * @param key - The key to check * @returns True if the key exists, false otherwise
yarn-project/kv-store/src/interfaces/map.ts:92
↓ 26 callers
Method
insert
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/retrieved_bytecodes_tree_check.cpp:53
↓ 26 callers
Method
isFromPrunedBlock
* Checks if a transaction is from a pruned block.
yarn-project/p2p/src/mem_pools/tx_pool_v2/deleted_pool.ts:197
↓ 26 callers
Method
load_proof
* @brief Verifier-specific method. The verifier needs to load a proof or its segment before the verification. * * @param proof */
barretenberg/cpp/src/barretenberg/transcript/transcript.hpp:206
↓ 26 callers
Function
mockCheckpointAttestation
( signer: Secp256k1Signer, slot: number = 0, archive: Fr = Fr.random(), header?: CheckpointHeader, f
yarn-project/p2p/src/mem_pools/attestation_pool/mocks.ts:32
↓ 26 callers
Method
model
* If the system is solvable, extract the values for the given symbolic variables. * Specify the map to retrieve the values you need using the keys th
barretenberg/cpp/src/barretenberg/smt_verification/solver/solver.cpp:80
↓ 26 callers
Method
put
* Put an item in the queue. It will be routed based on the given key * @param item - The item to add * @param key - The group key for this item
yarn-project/foundation/src/queue/batch_queue.ts:45
↓ 26 callers
Method
rollback
* Rollback pending update to the tree.
yarn-project/merkle-tree/src/interfaces/merkle_tree.ts:45
↓ 26 callers
Method
search
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:3986
↓ 26 callers
Function
serializeKey
(prefix: string, key: Key)
yarn-project/kv-store/src/lmdb-v2/utils.ts:21
↓ 26 callers
Function
sha256Trunc
(data: Buffer)
yarn-project/foundation/src/crypto/sha256/index.ts:13
↓ 26 callers
Function
toBigIntBE
(buf: Buffer)
yarn-project/foundation/src/bigint-buffer/index.ts:21
↓ 26 callers
Method
toBuffer
* Serializes the leaf into a buffer.
yarn-project/foundation/src/trees/indexed_tree_leaf.ts:12
↓ 25 callers
Method
addProvingJob
* Saves a proof request so it can be retrieved later * @param job - The proof request to save
yarn-project/prover-client/src/proving_broker/proving_broker_database.ts:12
↓ 25 callers
Function
add_normalize_unsafe
barretenberg/cpp/src/barretenberg/stdlib/hash/hash_utils.hpp:32
↓ 25 callers
Method
applyNullifiers
* Transitions notes from "active" to "nullified" state. * * This operation processes a batch of nullifiers to mark the corresponding notes as sp
yarn-project/pxe/src/storage/note_store/note_store.ts:218
↓ 25 callers
Method
compress
* Create a compressed buffer instance from a point. * @dev NOTE: The compression standard for BLS12-381 differs from BN curves. Instead of * one
yarn-project/foundation/src/curves/bls12/point.ts:122
↓ 25 callers
Function
createBn254Keystore
( password: string, privateKeyHex: string, pubkeyHex: string, derivationPath: string, )
yarn-project/foundation/src/crypto/bls/bn254_keystore.ts:116
↓ 25 callers
Method
deleteValue
* Deletes a specific value at the given key. * @param key - The key to delete the value at * @param val - The value to delete
yarn-project/kv-store/src/interfaces/multi_map.ts:19
↓ 25 callers
Method
fromSignature
* Creates a selector from a signature. * @param signature - Signature to generate the selector for (e.g. "transfer(field,field)"). * @returns se
yarn-project/stdlib/src/abi/event_selector.ts:45
↓ 25 callers
Function
generate_random_uint16
barretenberg/cpp/src/barretenberg/avm_fuzzer/mutations/basic_types/uint_mutations.hpp:230
↓ 25 callers
Method
getContractClass
* Fetch a contract class by class ID. * @param classId - The contract class ID as a string (hex format) * @returns Promise resolving to msgpack-
yarn-project/native/src/native_module.ts:43
↓ 25 callers
Function
getEpochAtSlot
(slot: SlotNumber, constants: Pick<L1RollupConstants, 'epochDuration'>)
yarn-project/stdlib/src/epoch-helpers/index.ts:97
↓ 25 callers
Method
getKey
* Returns key of the leaf. It's used for indexing.
yarn-project/foundation/src/trees/indexed_tree_leaf.ts:8
↓ 25 callers
Method
getProvenBlockNumber
* Fetches the latest proven block number. * @returns The block number.
yarn-project/stdlib/src/interfaces/aztec-node.ts:234
↓ 25 callers
Method
getTag
(offset: number)
yarn-project/simulator/src/public/avm/avm_memory_types.ts:320
↓ 25 callers
Method
getViemKzgInstance
()
yarn-project/blob-lib/src/blob.ts:180
↓ 25 callers
Method
get_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.hpp:414
↓ 25 callers
Method
inboundTransformData
(data: Buffer, topic?: TopicType, maxSizeKbOverride?: number)
yarn-project/p2p/src/services/encoding.ts:89
↓ 25 callers
Method
incrementPayloadVotes
(payloadAddress: EthAddress, round: bigint)
yarn-project/slasher/src/stores/payloads_store.ts:119
↓ 25 callers
Method
keysAsync
* Iterates over the map's keys in the key's natural order * @param range - The range of keys to iterate over
yarn-project/kv-store/src/interfaces/map.ts:110
↓ 25 callers
Function
log
(object: Record<string, unknown>)
yarn-project/foundation/src/log/gcloud-logger-config.ts:19
↓ 25 callers
Function
makeCheckpointAttestation
(options: MakeCheckpointAttestationOptions = {})
yarn-project/stdlib/src/tests/mocks.ts:644
↓ 25 callers
Function
mergeKeystores
(keystores: KeyStore[])
yarn-project/node-keystore/src/loader.ts:199
↓ 25 callers
Function
mockPublicTx
(seed: number, fee: number)
yarn-project/p2p/src/mem_pools/tx_pool/eviction/nullifier_conflict_pre_add_rule.test.ts:20
↓ 25 callers
Method
on
* Event emitted when a new peer is discovered.
yarn-project/p2p/src/services/service.ts:196
↓ 25 callers
Method
openSingleton
* Creates a new singleton. * @param name - The name of the singleton * @returns The singleton
yarn-project/kv-store/src/interfaces/store.ts:45
↓ 25 callers
Function
patchNonRevertibleFn
( tx: Tx, index: number, overrides: { address?: AztecAddress; selector: FunctionSelector; args?: Fr[]; m
yarn-project/p2p/src/msg_validators/tx_validator/test_utils.ts:6
↓ 25 callers
Function
pick
(object: T, ...props: string[])
yarn-project/foundation/src/collection/object.ts:35
↓ 25 callers
Function
read_file
barretenberg/cpp/src/barretenberg/api/file_io.hpp:30
↓ 25 callers
Method
set_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.hpp:400
↓ 25 callers
Function
witness_or_constant_to_function_input
* @brief Convert a WitnessOrConstant back to an Acir::FunctionInput. */
barretenberg/cpp/src/barretenberg/dsl/acir_format/test_class.hpp:26
↓ 24 callers
Function
FFConst
barretenberg/cpp/src/barretenberg/smt_verification/terms/term.cpp:575
← previous
next →
701–800 of 24,401, ranked by callers