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
↓ 19 callers
Method
decompress
* Create a Point instance from a compressed buffer. * @dev See compress() above for compression encoding for BLS12-381. * @dev Most of the logic
yarn-project/foundation/src/curves/bls12/point.ts:137
↓ 19 callers
Function
defaultGlobals
()
yarn-project/simulator/src/public/fixtures/public_tx_simulation_tester.ts:300
↓ 19 callers
Function
deployL1Contract
( extendedClient: ExtendedViemWalletClient, abi: Narrow<Abi | readonly unknown[]>, bytecode: Hex, args
yarn-project/ethereum/src/deploy_l1_contract.ts:153
↓ 19 callers
Function
deployToken
(wallet: Wallet, admin: AztecAddress, initialAdminBalance: bigint, logger: Logger)
yarn-project/end-to-end/src/fixtures/token_utils.ts:7
↓ 19 callers
Function
encode_bytecode
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/contract_crypto.cpp:11
↓ 19 callers
Function
getAddress
Returns the deployed contract address.
yarn-project/aztec.js/src/contract/deploy_method.ts:645
↓ 19 callers
Function
getCallsFromSpireProposer
( tx: Transaction, publicClient: { getStorageAt: (params: { address: Hex; slot: Hex }) => Promise<Hex | un
yarn-project/archiver/src/l1/spire_proposer.ts:96
↓ 19 callers
Method
getEmittedFields
Returns the serialized log (field as in noir field and not a struct field).
yarn-project/stdlib/src/logs/public_log.ts:157
↓ 19 callers
Method
getInitialHeader
* Gets the initial header.
yarn-project/stdlib/src/interfaces/merkle_tree_operations.ts:135
↓ 19 callers
Method
getMessageContextsByTxHash
( contractAddress: AztecAddress, messageContextRequestsArrayBaseSlot: Fr, messageContextResponsesA
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:148
↓ 19 callers
Method
getProvenCheckpointNumber
()
yarn-project/archiver/src/store/block_store.ts:1145
↓ 19 callers
Method
getPublicLogsByTagsFromContract
* Gets public logs that match any of the `tags` from the specified contract. For each tag, an array of matching * logs is returned. An empty array
yarn-project/stdlib/src/interfaces/aztec-node.ts:357
↓ 19 callers
Method
getScore
(peerId: string)
yarn-project/p2p/src/services/peer-manager/peer_scoring.ts:127
↓ 19 callers
Method
getSenderAddress
()
yarn-project/ethereum/src/l1_tx_utils/l1_tx_utils.ts:131
↓ 19 callers
Method
getSlot
Returns the current slot
yarn-project/ethereum/src/test/rollup_cheat_codes.ts:54
↓ 19 callers
Function
getSponsoredFPCAddress
()
yarn-project/end-to-end/src/fixtures/setup.ts:726
↓ 19 callers
Function
getTimestampForSlot
( slot: SlotNumber, constants: Pick<L1RollupConstants, 'l1GenesisTime' | 'slotDuration'>, )
yarn-project/stdlib/src/epoch-helpers/index.ts:43
↓ 19 callers
Method
getTips
()
yarn-project/ethereum/src/contracts/rollup.ts:663
↓ 19 callers
Method
getTxByHash
* Checks if a transaction exists in the pool and returns it. * @param txHash - The hash of the transaction, used as an ID. * @returns The transa
yarn-project/p2p/src/mem_pools/tx_pool/tx_pool.ts:30
↓ 19 callers
Method
get_space_id
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/memory.hpp:30
↓ 19 callers
Method
hasExecutionSucceeded
Returns true if the transaction was executed successfully.
yarn-project/stdlib/src/tx/tx_receipt.ts:79
↓ 19 callers
Function
hash_leaf
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.test.cpp:1054
↓ 19 callers
Method
is_equivalent_to
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.hpp:283
↓ 19 callers
Method
lastBlockTimestamp
* Get the timestamp of the latest mined L1 block. * Note: this is NOT the current time — it's the discrete timestamp of the last block. * Betwee
yarn-project/ethereum/src/test/eth_cheat_codes.ts:93
↓ 19 callers
Function
length
* Returns the current number of items in the queue. * The length represents the size of the queue at the time of invocation and may change as new i
yarn-project/foundation/src/queue/base_memory_queue.ts:23
↓ 19 callers
Function
makeInboxMessages
( totalCount: number, opts: { initialHash?: Buffer16; initialCheckpointNumber?: CheckpointNumber;
yarn-project/archiver/src/test/mock_structs.ts:48
↓ 19 callers
Function
makeTx
(seed?: number)
yarn-project/sequencer-client/src/sequencer/sequencer.test.ts:122
↓ 19 callers
Function
mkNote
(overrides: Partial<NoteDao> = {})
yarn-project/pxe/src/storage/note_store/note_store.test.ts:28
↓ 19 callers
Function
mkNullifier
(note: NoteDao, blockNumber?: BlockNumber)
yarn-project/pxe/src/storage/note_store/note_store.test.ts:67
↓ 19 callers
Method
mul
(rhs: BLS12Fr)
yarn-project/foundation/src/curves/bls12/field.ts:289
↓ 19 callers
Method
new
( worldStateService: NativeWorldStateService, // make sure to close this later checkCircuitOnly: boole
yarn-project/bb-prover/src/avm_proving_tests/avm_proving_tester.ts:113
↓ 19 callers
Function
process
(content, releaseType)
docs/src/preprocess/__tests__/conditional_content.test.js:6
↓ 19 callers
Method
process_instruction_fetching
barretenberg/cpp/src/barretenberg/vm2/tracegen/bytecode_trace.cpp:293
↓ 19 callers
Method
process_public_inputs
barretenberg/cpp/src/barretenberg/vm2/tracegen/public_inputs_trace.cpp:8
↓ 19 callers
Method
process_scalar_mul
* @brief Process the ECC scalar multiplication events and populate the relevant columns in the trace. * Corresponds to the subtrace scalar_mul.pil.
barretenberg/cpp/src/barretenberg/vm2/tracegen/ecc_trace.cpp:179
↓ 19 callers
Method
querySingleValue
(query: string, time = new Date())
yarn-project/end-to-end/src/quality_of_service/prometheus_client.ts:11
↓ 19 callers
Method
random
()
yarn-project/stdlib/src/logs/tag.ts:39
↓ 19 callers
Function
read
barretenberg/cpp/src/barretenberg/flavor/flavor.hpp:732
↓ 19 callers
Method
reduction_check
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:1754
↓ 19 callers
Method
removeAllListeners
(event: K)
yarn-project/foundation/src/types/index.ts:54
↓ 19 callers
Method
send_to_verifier
barretenberg/cpp/src/barretenberg/commitment_schemes/ipa/mock_transcript.hpp:66
↓ 19 callers
Method
setCapsuleArray
(contractAddress: AztecAddress, baseSlot: Fr, content: Fr[][], jobId: string, scope: AztecAddress)
yarn-project/pxe/src/storage/capsule_store/capsule_store.ts:297
↓ 19 callers
Method
set_public
* @brief Set the witness indices for the opening claim to public * @note Implemented only for an opening claim over Grumpkin for use with IPA.
barretenberg/cpp/src/barretenberg/commitment_schemes/claim.hpp:78
↓ 19 callers
Function
setupEnvironment
(env: unknown)
yarn-project/end-to-end/src/spartan/utils/config.ts:23
↓ 19 callers
Function
sha256ToField
(data: Bufferable[])
yarn-project/foundation/src/crypto/sha256/index.ts:17
↓ 19 callers
Method
signal_decrement
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/signal.hpp:60
↓ 19 callers
Method
toBuffer32
* Returns a 32-byte buffer representation of the Ethereum address, with the original 20-byte address * occupying the last 20 bytes and the first 12
yarn-project/foundation/src/eth-address/index.ts:210
↓ 19 callers
Method
track_diff
barretenberg/cpp/src/barretenberg/dsl/acir_format/gate_counter.hpp:30
↓ 19 callers
Method
tryAddCheckpointProposal
* Attempts to add a checkpoint proposal to the pool. * * This method performs validation and addition in a single call: * - Checks if the pro
yarn-project/p2p/src/mem_pools/attestation_pool/attestation_pool.ts:280
↓ 19 callers
Method
write
* Stage a storage write. * * @param contractAddress - the address of the contract whose storage is being written to * @param slot - the slot
yarn-project/simulator/src/public/state_manager/public_storage.ts:92
↓ 18 callers
Method
abort
()
yarn-project/prover-client/src/proving_broker/proving_job_controller.ts:68
↓ 18 callers
Method
addCheckpoints
Used by TXE to add checkpoints directly without syncing from L1.
yarn-project/archiver/src/archiver.ts:431
↓ 18 callers
Method
addPendingNoteHashReadRequest
Adds a pending note hash read request (non-empty contract address, can match a pending note hash).
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:222
↓ 18 callers
Method
add_or_update_values
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.hpp:507
↓ 18 callers
Function
addressFromSingle
(obj: ForeignCallSingle)
yarn-project/txe/src/util/encoding.ts:24
↓ 18 callers
Method
applyDelay
(type: ProvingRequestType, fn: F)
yarn-project/bb-prover/src/test/test_circuit_prover.ts:414
↓ 18 callers
Method
assert_is_not_equal
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:2031
↓ 18 callers
Function
checkNullifierConflict
( incomingMeta: TxMetaData, getTxHashByNullifier: (nullifier: string) => string | undefined, getMetadata
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_metadata.ts:228
↓ 18 callers
Method
collectAddresses
( client: ViemClient, registryAddress: Hex | EthAddress, rollupVersion: number | bigint | 'canonic
yarn-project/ethereum/src/contracts/registry.ts:83
↓ 18 callers
Method
computeFee
(gasFees: GasFees)
yarn-project/stdlib/src/gas/gas.ts:107
↓ 18 callers
Function
computeTxExpirationTimestamp
( previousKernel: PrivateKernelCircuitPublicInputs, txLifetime = MAX_TX_LIFETIME, )
yarn-project/pxe/src/private_kernel/hints/compute_tx_expiration_timestamp.ts:24
↓ 18 callers
Function
configToFlag
(flag: string, configMapping: ConfigMapping, overrideDefaultValue?: any)
yarn-project/aztec/src/cli/aztec_start_options.ts:61
↓ 18 callers
Function
createAndFillTree
(numLeaves: number)
yarn-project/foundation/src/trees/unbalanced_merkle_tree_calculator.test.ts:38
↓ 18 callers
Function
createNullifierTreeLeafHashInputs
(value: number, nextIndex: number, nextValue: number)
yarn-project/merkle-tree/src/standard_indexed_tree/test/standard_indexed_tree.test.ts:59
↓ 18 callers
Function
createPoolOps
(txsByFeePayer: Map<string, TxMetaData[]>)
yarn-project/p2p/src/mem_pools/tx_pool_v2/eviction/fee_payer_balance_eviction_rule.test.ts:39
↓ 18 callers
Method
create_arithmetic_gate
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:338
↓ 18 callers
Method
create_write_transaction
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/array_store.hpp:35
↓ 18 callers
Method
doRpcCall
(method: string, params: any[])
yarn-project/ethereum/src/test/eth_cheat_codes.ts:48
↓ 18 callers
Method
encode
* Encodes all the arguments for the given function ABI. * @returns The encoded arguments.
yarn-project/stdlib/src/abi/encoder.ts:209
↓ 18 callers
Method
enforce_small_deltas
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:883
↓ 18 callers
Method
enqueueJob
( id: ProvingJobId, type: T, inputs: ProvingJobInputsMap[T], epochNumber = EpochNumber.ZERO,
yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts:132
↓ 18 callers
Method
finalizeEpoch
Pads the epoch with empty block roots if needed and blocks until proven. Throws if proving has failed.
yarn-project/stdlib/src/interfaces/epoch-prover.ts:62
↓ 18 callers
Method
generateId
( type: ProvingRequestType, inputs: { toBuffer(): Buffer }, epochNumber = EpochNumber.ZERO, )
yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts:663
↓ 18 callers
Function
getBlobsPerL1Block
(fields: Fr[])
yarn-project/blob-lib/src/blob_utils.ts:33
↓ 18 callers
Method
getCount
* Gets the current count of archived transactions.
yarn-project/p2p/src/mem_pools/tx_pool_v2/archive/tx_archive.ts:98
↓ 18 callers
Method
getHintKey
(treeId: MerkleTreeId)
yarn-project/simulator/src/public/hinting_db_sources.ts:493
↓ 18 callers
Function
getL1ContractsConfigEnvVars
()
yarn-project/ethereum/src/config.ts:276
↓ 18 callers
Method
getPayload
(payloadAddress: EthAddress | string)
yarn-project/slasher/src/stores/payloads_store.ts:139
↓ 18 callers
Method
getPrivateLogsByTags
* Gets private logs that match any of the `tags`. For each tag, an array of matching logs is returned. An empty * array implies no logs match that
yarn-project/stdlib/src/interfaces/aztec-node.ts:342
↓ 18 callers
Function
getPublicClient
(config: Config)
yarn-project/ethereum/src/client.ts:42
↓ 18 callers
Function
getSlotRangeForEpoch
( epochNumber: EpochNumber, constants: Pick<L1RollupConstants, 'epochDuration'>, )
yarn-project/stdlib/src/epoch-helpers/index.ts:102
↓ 18 callers
Method
get_hiding_kernel_vk_and_hash
barretenberg/cpp/src/barretenberg/chonk/chonk.cpp:569
↓ 18 callers
Method
get_new_tag
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.hpp:551
↓ 18 callers
Method
get_random_uint128
barretenberg/cpp/src/barretenberg/numeric/random/engine.cpp:198
↓ 18 callers
Method
get_to_be_shifted
column 23
barretenberg/cpp/src/barretenberg/flavor/mega_flavor.hpp:228
↓ 18 callers
Method
handlerAsTxe
()
yarn-project/txe/src/rpc_translator.ts:107
↓ 18 callers
Method
iterate
( startKey: Uint8Array, endKey?: Uint8Array, reverse = false, limit?: number, )
yarn-project/kv-store/src/lmdb-v2/read_transaction.ts:33
↓ 18 callers
Function
jsonParseWithSchema
(json: string, schema: ZodFor<T>)
yarn-project/foundation/src/json-rpc/convert.ts:11
↓ 18 callers
Function
makeCheckpoint
( signers: Secp256k1Signer[], committee: EthAddress[], slot?: number, feeAssetPriceModifier?:
yarn-project/archiver/src/modules/validation.test.ts:25
↓ 18 callers
Method
mul_by_fq
barretenberg/cpp/src/barretenberg/ecc/fields/field2_declarations.hpp:89
↓ 18 callers
Function
mutate_uint16_t
barretenberg/cpp/src/barretenberg/avm_fuzzer/mutations/basic_types/uint16_t.cpp:4
↓ 18 callers
Function
priorityIndex
(type: ProvingRequestType)
yarn-project/prover-client/src/test/proving_broker_testbench.test.ts:147
↓ 18 callers
Method
readCapsuleArray
(contractAddress: AztecAddress, baseSlot: Fr, jobId: string, scope: AztecAddress)
yarn-project/pxe/src/storage/capsule_store/capsule_store.ts:268
↓ 18 callers
Function
readSnappyPreamble
(data: Uint8Array)
yarn-project/p2p/src/services/encoding.ts:128
↓ 18 callers
Method
sendRequests
()
yarn-project/sequencer-client/src/publisher/sequencer-publisher.ts:327
↓ 18 callers
Method
setBlockInterval
* Set the interval between successive blocks (block time). This does NOT enable interval mining. * @param interval - The interval to use between bl
yarn-project/ethereum/src/test/eth_cheat_codes.ts:150
↓ 18 callers
Method
setHeader
* Sets the currently synchronized block * * Important: this method is only called from BlockSynchronizer, and since we need it to run atomically
yarn-project/pxe/src/storage/anchor_block_store/anchor_block_store.ts:21
↓ 18 callers
Method
setNextBlockBaseFeePerGas
* Set the next block base fee per gas * @param baseFee - The base fee to set
yarn-project/ethereum/src/test/eth_cheat_codes.ts:163
↓ 18 callers
Function
setNodeTxs
(node: MockProxy<TxSource>, txs: Tx[])
yarn-project/p2p/src/services/tx_collection/tx_collection.test.ts:76
↓ 18 callers
Method
set_variable
* @brief Set the value of the variable pointed to by a witness index * @details The witness value pointed to by a witness index is determined by
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base.hpp:176
← previous
next →
1,001–1,100 of 24,401, ranked by callers