MCPcopy Create free account

hub / github.com/AztecProtocol/aztec-packages / functions

Functions24,401 in github.com/AztecProtocol/aztec-packages

↓ 10 callersFunctionmakeCheckpointAttestationFromCheckpoint
( checkpoint: Checkpoint, attesterSigner?: Secp256k1Signer, proposerSigner?: Secp256k1Signer, )
yarn-project/stdlib/src/tests/mocks.ts:697
↓ 10 callersFunctionmakeClaimedLengthArray
( arraySize: N, makeItem: (seed: number) => T, seed: number, length = arraySize, )
yarn-project/stdlib/src/tests/factories.ts:644
↓ 10 callersFunctionmakeGas
(seed = 1)
yarn-project/stdlib/src/tests/factories.ts:443
↓ 10 callersFunctionmakeLog
(blockNumber: number, blockTimestamp: bigint, tag: Fr)
yarn-project/pxe/src/tagging/recipient_sync/sync_tagged_private_logs.test.ts:28
↓ 10 callersFunctionmakePackage
Create a directory with a minimal `[package]` Nargo.toml inside it.
yarn-project/aztec/src/cli/cmds/utils/warn_if_aztec_version_mismatch.test.ts:16
↓ 10 callersFunctionmakeSlashes
()
yarn-project/stdlib/src/l1-contracts/slash_factory.test.ts:81
↓ 10 callersFunctionmapClaimedLengthArrayFromNoir
( claimedLengthArray: ClaimedLengthArrayNoir<N, S>, mapper: (item: S) => T, )
yarn-project/noir-protocol-circuits-types/src/conversion/common.ts:341
↓ 10 callersMethodmarkPeerForDisconnect
(peer: PeerId)
yarn-project/p2p/src/services/peer-manager/peer_manager.ts:666
↓ 10 callersFunctionmockGetBytecodeCommitment
(contractsDB: PublicContractsDB, commitment: Fr)
yarn-project/simulator/src/public/avm/test_utils.ts:62
↓ 10 callersFunctionmockGetContractClass
(contractsDB: PublicContractsDB, contractClass: ContractClassPublic)
yarn-project/simulator/src/public/avm/test_utils.ts:58
↓ 10 callersFunctionmockTxIterator
(txs: Promise<Tx[]>)
yarn-project/sequencer-client/src/test/utils.ts:65
↓ 10 callersFunctionmsg
(entry: LogEntry)
spartan/scripts/extract_proving_metrics.ts:331
↓ 10 callersMethodname
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:7905
↓ 10 callersMethodnew
Create a new timer starting now
barretenberg/rust/tests/src/utils.rs:29
↓ 10 callersFunctionnewTree
( c: new (store: AztecKVStore, hasher: Hasher, name: string, depth: number, size: bigint, deserializer: D) =
yarn-project/merkle-tree/src/new_tree.ts:17
↓ 10 callersFunctionnewValidatorKeystore
(options: NewValidatorKeystoreOptions, log: LogFn)
yarn-project/cli/src/cmds/validator_keys/new.ts:56
↓ 10 callersMethodnormalize
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.cpp:529
↓ 10 callersMethodnormalize
barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.hpp:273
↓ 10 callersFunctionprettyGoodbyeReason
(reason: GoodByeReason)
yarn-project/p2p/src/services/reqresp/protocols/goodbye.ts:47
↓ 10 callersMethodprint
barretenberg/cpp/src/barretenberg/common/bb_bench.cpp:249
↓ 10 callersMethodprogressSlots
(diff: number, dateProvider?: TestDateProvider)
yarn-project/end-to-end/src/simulators/lending_simulator.ts:103
↓ 10 callersFunctionproposeAsProposer
(wrapperAddress: Hex)
yarn-project/ethereum/src/contracts/governance.test.ts:145
↓ 10 callersMethodprove
* @brief Non-ZK version: Compute round univariate, place it in transcript, compute challenge, partially evaluate. * Repeat until final round, the
barretenberg/cpp/src/barretenberg/sumcheck/sumcheck.hpp:395
↓ 10 callersFunctionr8
read functions. WARNING: we don't care about endianness, so results are different on big endian!
barretenberg/cpp/src/barretenberg/vm2/common/ankerl_dense.hpp:213
↓ 10 callersMethodrandom
* Generates a random Note instance with a variable number of items. * The number of items is determined by a random value between 1 and 10 (inclusi
yarn-project/stdlib/src/note/note.ts:42
↓ 10 callersMethodrandom
()
yarn-project/foundation/src/serialize/type_registry.test.ts:20
↓ 10 callersMethodrandom
Generates a random valid ECDSA signature with a low s-value by signing a random message with a random key.
yarn-project/foundation/src/eth-signature/eth_signature.ts:83
↓ 10 callersMethodreadUInt256
* Reads a 256-bit unsigned integer from the buffer at the current index position. * Updates the index position by 32 bytes after reading the number
yarn-project/foundation/src/serialize/buffer_reader.ts:122
↓ 10 callersFunctionrecover_element_from_parts
Recover a field element from its parts (e.g., modulus_0, modulus_1, etc.) Each part is shifted by the appropriate amount and combined
barretenberg/cpp/src/barretenberg/ecc/fields/parameter_helper.py:72
↓ 10 callersMethodremainingFields
()
yarn-project/foundation/src/serialize/field_reader.ts:50
↓ 10 callersFunctionremoveAnyOf
(arr: T[], vals: N[], cmp: (a: T, b: N) => -1 | 0 | 1)
yarn-project/foundation/src/array/sorted_array.ts:86
↓ 10 callersFunctionremoveFromSortedArray
(arr: T[], val: N, cmp: (a: T, b: N) => -1 | 0 | 1)
yarn-project/foundation/src/array/sorted_array.ts:110
↓ 10 callersFunctionremove_underscore
remove underscores from a string
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:611
↓ 10 callersFunctionrespond
(msg: WorkerResponse)
yarn-project/kv-store/src/sqlite-opfs/worker.ts:151
↓ 10 callersMethodretrieveAccount
(address: AztecAddress | string)
yarn-project/wallets/src/embedded/wallet_db.ts:61
↓ 10 callersFunctionror
* @brief ROTR^n(x) - circular right rotation (FIPS 180-4 Section 3.2) * * Bits that shift off the right end wrap around to the left. * * @param va
barretenberg/cpp/src/barretenberg/crypto/sha256/sha256.cpp:43
↓ 10 callersFunctionrotr32
(w: number, b: number)
yarn-project/foundation/src/crypto/sha256/index.ts:110
↓ 10 callersMethods
* Returns the time elapsed since the Timer instance was created, in seconds. * The value is calculated by subtracting the initial start time from t
yarn-project/foundation/src/timer/timer.ts:45
↓ 10 callersMethodsanity_check
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:1793
↓ 10 callersFunctionserializeCoordinate
(coord: Uint8Array | Uint8Array[])
barretenberg/ts/src/cbind/generate.ts:126
↓ 10 callersFunctionsetEnv
(vars)
docs/src/preprocess/__tests__/include_version.test.js:54
↓ 10 callersMethodsetPendingChainValidationStatus
* Sets the pending chain validation status. * @param status - The validation status to store.
yarn-project/archiver/src/store/block_store.ts:1202
↓ 10 callersMethodsetProvenBlockNumber
(provenBlockNumber: number)
yarn-project/archiver/src/test/mock_l2_block_source.ts:97
↓ 10 callersMethodsetProvingJobError
* Saves an error that occurred while processing a proof request * @param id - The ID of the proof request to save the error for * @param Proving
yarn-project/prover-client/src/proving_broker/proving_broker_database.ts:39
↓ 10 callersFunctionsha256Hash
(input: string)
yarn-project/foundation/src/json-rpc/server/api_key_auth.ts:14
↓ 10 callersMethodsimulateCall
* Simulate a top-level contract call.
yarn-project/simulator/src/public/avm/fixtures/avm_simulation_tester.ts:65
↓ 10 callersMethodsize_in_bytes
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/serialization.cpp:367
↓ 10 callersMethodstartAnalysis
* Starts a fee analysis for a transaction bundle * @param l2SlotNumber - The L2 slot this analysis is for * @param gasLimit - The estimated gas
yarn-project/ethereum/src/l1_tx_utils/l1_fee_analyzer.ts:355
↓ 10 callersFunctionstubTxMetaData
( txHash: string, overrides: { priorityFee?: bigint; feePayer?: string; claimAmount?: bigint;
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_metadata.ts:305
↓ 10 callersFunctionsyncTaggedPrivateLogs
( secrets: ExtendedDirectionalAppTaggingSecret[], aztecNode: AztecNode, taggingStore: RecipientTaggingSt
yarn-project/pxe/src/tagging/recipient_sync/sync_tagged_private_logs.ts:63
↓ 10 callersFunctiontest_madd
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.test.cpp:723
↓ 10 callersFunctionunfreeze
(obj: T)
yarn-project/foundation/src/types/index.ts:18
↓ 10 callersMethodupdateState
(l1TxState: L1TxState, newState: TxUtilsState, l1Timestamp?: number)
yarn-project/ethereum/src/l1_tx_utils/l1_tx_utils.ts:97
↓ 10 callersFunctionvalidateFeeAssetPriceModifier
(modifier: bigint)
yarn-project/ethereum/src/contracts/fee_asset_price_oracle.ts:20
↓ 10 callersMethodvalidateTxs
Validates transaction-related fields of a block proposal.
yarn-project/p2p/src/msg_validators/proposal_validator/proposal_validator.ts:74
↓ 10 callersFunctionvalues
(vals: number[] = [0, 1, 2, 3, 4])
yarn-project/foundation/src/iterable/filter.test.ts:3
↓ 10 callersFunctionverifyProxyImplementation
( publicClient: { getStorageAt: (params: { address: Hex; slot: Hex }) => Promise<Hex | undefined> }, proxy
yarn-project/archiver/src/l1/spire_proposer.ts:47
↓ 10 callersMethodvisit_column
barretenberg/cpp/src/barretenberg/vm2/tracegen/trace_container.cpp:103
↓ 10 callersFunctionwarnIfAztecVersionMismatch
(log: LogFn, cliVersion?: string)
yarn-project/aztec/src/cli/cmds/utils/warn_if_aztec_version_mismatch.ts:29
↓ 10 callersFunctionzip_helper
barretenberg/cpp/src/barretenberg/vm2/constraining/relations/alu.test.cpp:94
↓ 10 callersFunctionzip_helper
barretenberg/cpp/src/barretenberg/vm2/tracegen/alu_trace.test.cpp:94
↓ 9 callersMethod#allocId
()
yarn-project/kv-store/src/sqlite-opfs/store.ts:250
↓ 9 callersMethod#sendRequest
(req: WorkerRequest, transfer?: Transferable[])
yarn-project/kv-store/src/sqlite-opfs/store.ts:270
↓ 9 callersMethodaddBatchObservableCallback
( callback: BatchObservableCallback<AttributesType>, observables: Observable<AttributesType>[], )
yarn-project/telemetry-client/src/telemetry.ts:94
↓ 9 callersMethodadd_note_hash
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/side_effect_tracker.cpp:17
↓ 9 callersMethodadd_to_lower_limb
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:325
↓ 9 callersMethodaddress
()
yarn-project/txe/src/oracle/interfaces.ts:29
↓ 9 callersMethodadvanceTo
(ms: number)
yarn-project/p2p/src/services/reqresp/batch-tx-requester/batch_tx_requester.test.ts:1816
↓ 9 callersFunctionaes128_encrypt_buffer_cbc
barretenberg/cpp/src/barretenberg/crypto/aes128/aes128.cpp:233
↓ 9 callersMethodassertCompatibleOracleVersion
(major: number, minor: number)
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:57
↓ 9 callersFunctionawaitSync
(blockToSyncTo: number, finalized?: number, maxTimeoutMS = 30000)
yarn-project/world-state/src/test/integration.test.ts:70
↓ 9 callersFunctionboundedVecToArray
(boundedVec: NoirBoundedVec<T>)
yarn-project/end-to-end/src/e2e_note_getter.test.ts:14
↓ 9 callersFunctionboundedVecToArray
(boundedVec: NoirBoundedVec<T>)
yarn-project/end-to-end/src/e2e_card_game.test.ts:46
↓ 9 callersFunctionbuildCheckpoint
( checkpointNumber: CheckpointNumber, slot: SlotNumber, l1ToL2Messages: Fr[], previousCheckpoi
yarn-project/validator-client/src/validator.integration.test.ts:266
↓ 9 callersFunctionbuildMockWrapperBytecode
(original: EthAddress)
yarn-project/ethereum/src/contracts/governance.test.ts:122
↓ 9 callersFunctionbuildTxs
(numTxs: number, anchorBlockHeader?: BlockHeader)
yarn-project/validator-client/src/validator.integration.test.ts:236
↓ 9 callersFunctioncalculate_num_threads
* @brief calculates number of threads to create based on minimum iterations per thread * @details Finds the number of cpus with get_num_cpus(), and c
barretenberg/cpp/src/barretenberg/common/thread.cpp:233
↓ 9 callersMethodcheckExists
* Get a nullifier's existence status. * 1. Check cache. * 2. Check parent cache. * 3. Fall back to the host state. * 4. Not found! Nullifi
yarn-project/simulator/src/public/state_manager/nullifiers.ts:56
↓ 9 callersFunctioncheckPendingTxConsistency
()
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.compat.test.ts:55
↓ 9 callersMethodcheckTags
(memory: TaggedMemoryInterface, aOffset: number, bOffset: number)
yarn-project/simulator/src/public/avm/opcodes/arithmetic.ts:80
↓ 9 callersFunctioncleanup
(store: D)
yarn-project/p2p/src/services/data_store.test.ts:157
↓ 9 callersMethodcomputeRound
(slot: SlotNumber)
yarn-project/ethereum/src/contracts/empire_base.ts:16
↓ 9 callersFunctioncomputeVarArgsHash
(args: Fr[])
yarn-project/stdlib/src/hash/hash.ts:149
↓ 9 callersFunctionconstraint_to_acir_format
barretenberg/cpp/src/barretenberg/dsl/acir_format/test_class.hpp:503
↓ 9 callersMethodconstruct_previous_ultra_ops_table_columns
Construct polys corresponding to the columns of the aggregate ultra ops table, excluding the most recent subtable
barretenberg/cpp/src/barretenberg/op_queue/ecc_op_queue.hpp:96
↓ 9 callersMethodcontains
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/lmdb_store/lmdb_tree_store.hpp:80
↓ 9 callersFunctioncopy_to_vector
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_helpers.cpp:78
↓ 9 callersMethodcreateAndStoreAccount
( alias: string, type: AccountType, secret: Fr, salt: Fr, signingKey: Buffer, )
yarn-project/wallets/src/embedded/embedded_wallet.ts:330
↓ 9 callersMethodcreateCheckpoint
* Creates a checkpoint of the current contract state.
yarn-project/simulator/src/public/db_interfaces.ts:65
↓ 9 callersFunctioncreateKeyStoreForProver
(config: ProverNodeConfig)
yarn-project/prover-node/src/config.ts:184
↓ 9 callersFunctioncreatePoolOps
(pendingTxs: TxMetaData[])
yarn-project/p2p/src/mem_pools/tx_pool_v2/eviction/invalid_txs_after_mining_rule.test.ts:30
↓ 9 callersFunctioncreateStore
()
yarn-project/p2p/src/services/data_store.test.ts:161
↓ 9 callersFunctioncreateValidatorSlash
( validator = EthAddress.random(), amount = 1000n, offenseType = OffenseType.INACTIVITY, epoch
yarn-project/slasher/src/stores/payloads_store.test.ts:22
↓ 9 callersMethodcreate_RAM_array
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/rom_ram_logic.cpp:277
↓ 9 callersMethodcreate_ROM_array
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/rom_ram_logic.cpp:14
↓ 9 callersMethodcreate_checkpoint
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/hinting_dbs.cpp:98
↓ 9 callersMethodcreate_new_subtable
barretenberg/cpp/src/barretenberg/op_queue/ecc_ops_table.hpp:142
↓ 9 callersMethoddeleteLogs
(blocks: L2Block[])
yarn-project/archiver/src/store/log_store.ts:304
↓ 9 callersFunctiondeployAccounts
(numberOfAccounts: number, logger: Logger, deployOptions?: Partial<DeployOptions<DeployInteractionWaitOptions>
yarn-project/end-to-end/src/fixtures/setup.ts:879
↓ 9 callersFunctiondeployContract
()
yarn-project/end-to-end/src/e2e_pending_note_hashes_contract.test.ts:76
← previousnext →1,901–2,000 of 24,401, ranked by callers