MCPcopy Create free account

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

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

↓ 12 callersMethodisNodeAllowedToConnect
(id: string | PeerId)
yarn-project/p2p/src/services/peer-manager/peer_manager.ts:489
↓ 12 callersMethodis_write_vk_mode
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base.hpp:277
↓ 12 callersFunctionlower
(hex: string | EthAddress)
yarn-project/validator-client/src/key_store/node_keystore_adapter.test.ts:67
↓ 12 callersFunctionmakeBaseParityJob
()
yarn-project/prover-client/src/proving_broker/proving_agent.test.ts:298
↓ 12 callersFunctionmakeClaimed
* Builds a ClaimedLengthArray from a list of items, padding to the required size.
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:45
↓ 12 callersFunctionmakeContractInstanceFromClassId
( classId: Fr, seed = 0, overrides?: { deployer?: AztecAddress; initializationHash?: Fr; pub
yarn-project/stdlib/src/tests/factories.ts:1274
↓ 12 callersFunctionmakeEvent
( overrides: { randomness?: Fr; msgContent?: Fr[]; l2BlockNumber?: number; l2Block
yarn-project/pxe/src/storage/private_event_store/stored_private_event.test.ts:10
↓ 12 callersFunctionmakeHash
(number: number)
yarn-project/stdlib/src/block/l2_block_stream/l2_block_stream.test.ts:25
↓ 12 callersFunctionmakeLog
(blockNumber: number, blockTimestamp: bigint)
yarn-project/pxe/src/tagging/recipient_sync/utils/find_highest_indexes.test.ts:10
↓ 12 callersFunctionmakeRandomBlob
(length: number)
yarn-project/blob-lib/src/testing.ts:92
↓ 12 callersFunctionmockCheckpointProposalCoreForPool
( signer: Secp256k1Signer, slotNumber: number, archive: Fr = Fr.random(), )
yarn-project/p2p/src/mem_pools/attestation_pool/attestation_pool_test_suite.ts:589
↓ 12 callersFunctionnormalizeBlockIndex
(dutyType: DutyType, blockIndexWithinCheckpoint: number | undefined)
yarn-project/validator-ha-signer/src/db/types.ts:134
↓ 12 callersMethodpostMessage
* Sends an encrypted wallet method call over the secure MessageChannel. * * The message is encrypted using AES-256-GCM with the shared key deriv
yarn-project/wallet-sdk/src/extension/provider/extension_wallet.ts:234
↓ 12 callersMethodprocessBlockFromPeer
Exposes the protected processBlockFromPeer for testing.
yarn-project/p2p/src/services/libp2p/libp2p_service.test.ts:1193
↓ 12 callersMethodprocess_get_env_var_opcode
barretenberg/cpp/src/barretenberg/vm2/tracegen/execution_trace.cpp:1105
↓ 12 callersFunctionrandom_temp_directory
barretenberg/cpp/src/barretenberg/lmdblib/fixtures.hpp:17
↓ 12 callersFunctionreloadWith
(overrides: Parameters<typeof makeKeyStore>[0])
yarn-project/validator-client/src/validator.test.ts:986
↓ 12 callersMethodrevertCheckpoint
* Reverts the current checkpoint, discarding its state.
yarn-project/simulator/src/public/db_interfaces.ts:75
↓ 12 callersMethodrollbackTo
* Pauses syncing and rolls back the database to the target L2 block number. * @param targetBlockNumber - The block number to roll back to. * @pa
yarn-project/stdlib/src/interfaces/aztec-node-admin.ts:40
↓ 12 callersMethodself_from_montgomery_form
barretenberg/cpp/src/barretenberg/ecc/fields/field2.hpp:101
↓ 12 callersFunctionserializeBigInt
(n: bigint, width = 32)
yarn-project/foundation/src/serialize/serialize.ts:268
↓ 12 callersFunctionsetFeePayerBalance
(balance: bigint)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:3181
↓ 12 callersMethodsetSimulationMode
(mode: 'kernelless' | 'kernelless-override' | 'full')
yarn-project/end-to-end/src/test-wallet/test_wallet.ts:176
↓ 12 callersMethodset_next_pc
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/context.hpp:78
↓ 12 callersFunctionsha256
barretenberg/cpp/src/barretenberg/crypto/sha256/sha256.cpp:150
↓ 12 callersMethodshl
* @brief Perform left shift operation on a memory value and emit an event of type AluEvent. * * @throws AluException if the tags (in order): *
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/alu.cpp:280
↓ 12 callersFunctionslice_input
barretenberg/cpp/src/barretenberg/numeric/bitop/sparse_form.hpp:18
↓ 12 callersMethodsqr
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:899
↓ 12 callersFunctionstartHttpRpcServer
( rpcServer: Pick<SafeJsonRpcServer, 'getApp' | 'isHealthy'>, options: { host?: string; port?: num
yarn-project/foundation/src/json-rpc/server/safe_json_rpc_server.ts:437
↓ 12 callersFunctionstartPortForward
({ resource, namespace, containerPort, hostPort, }: { resource: string; namespace: string; conta
yarn-project/end-to-end/src/spartan/utils/k8s.ts:25
↓ 12 callersMethodtimestamp
()
yarn-project/txe/src/oracle/interfaces.ts:32
↓ 12 callersMethodtoViem
()
yarn-project/stdlib/src/zkpassport/index.ts:100
↓ 12 callersMethodtoWire
()
yarn-project/simulator/src/public/avm/opcodes/addressing_mode.ts:42
↓ 12 callersMethodtracePublicStorageWrite
( contractAddress: AztecAddress, slot: Fr, // This is the storage slot not the computed leaf slot
yarn-project/simulator/src/public/side_effect_trace_interface.ts:11
↓ 12 callersFunctiontrackButtonClick
(buttonName: string, category: string = 'Button Clicks')
playground/src/utils/matomo.ts:8
↓ 12 callersFunctiontreeStateReferenceToSnapshot
([root, size]: TreeStateReference)
yarn-project/world-state/src/native/message.ts:559
↓ 12 callersFunctiontrim
trim from both ends (in place)
barretenberg/cpp/src/barretenberg/common/std_string.cpp:36
↓ 12 callersFunctionunwind_block
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:207
↓ 12 callersMethodupdate
* Updates the count of the given key by the given delta. This can be used to increment or decrement the count. * Once a key's count reaches 0, it i
yarn-project/kv-store/src/interfaces/counter.ts:24
↓ 12 callersMethodus
* Return microseconds.
yarn-project/foundation/src/timer/timer.ts:23
↓ 12 callersFunctionwithHexPrefix
(str: string)
yarn-project/foundation/src/string/index.ts:12
↓ 12 callersFunctionwrapCallbackInSpan
( tracer: Tracer, spanName: string, attributes: AttributesType, callback: F, )
yarn-project/telemetry-client/src/telemetry.ts:263
↓ 11 callersMethodaddMessage
(msgId: string)
yarn-project/p2p/src/msg_validators/msg_seen_validator/msg_seen_validator.ts:15
↓ 11 callersMethodaddMetric
(operation: TxPoolOperation, poolSize: number, batchSize: number, value: number)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_bench_metrics.ts:32
↓ 11 callersMethodaddSettledNullifierReadRequest
Adds a settled nullifier read request (empty contract address, resolved against the nullifier tree).
yarn-project/pxe/src/private_kernel/hints/test_utils.ts:246
↓ 11 callersMethodadd_nullifier
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/side_effect_tracker.cpp:12
↓ 11 callersFunctionaliasedAddressParser
(defaultPrefix: AliasType, address: string, db?: WalletDB)
yarn-project/cli-wallet/src/utils/options/options.ts:57
↓ 11 callersFunctionassertEqual
(actual, expected, msg)
noir-projects/noir-protocol-circuits/scripts/generate_variants.js:337
↓ 11 callersMethodassertIsOpen
()
yarn-project/kv-store/src/lmdb-v2/read_transaction.ts:15
↓ 11 callersMethodassertTimeLeft
(newState: SequencerState, secondsIntoSlot: number)
yarn-project/sequencer-client/src/sequencer/timetable.ts:193
↓ 11 callersMethodassert_is_in_field
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:1826
↓ 11 callersFunctionasyncPool
(poolLimit: number, iterable: T[], iteratorFn: (item: T, iterable: T[]) => Promise<R>)
yarn-project/foundation/src/async-pool/index.ts:29
↓ 11 callersFunctionasyncValues
(vals: number[] = [0, 1, 2, 3, 4])
yarn-project/foundation/src/iterator/filter.test.ts:4
↓ 11 callersFunctionbufferAsFields
(input: Buffer, targetLength: number)
yarn-project/stdlib/src/abi/buffer.ts:12
↓ 11 callersMethodbuild
(n: bigint)
yarn-project/simulator/src/public/avm/avm_memory_types.ts:89
↓ 11 callersMethodcallback
Set a callback for execution when all parsing and processing has completed Due to a bug in c++11, it is not possible to overload on std::function (fi
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:6734
↓ 11 callersFunctionceil_div
barretenberg/cpp/src/barretenberg/numeric/general/general.hpp:23
↓ 11 callersFunctioncheckMessages
(msgs: InboxMessage[])
yarn-project/archiver/src/store/kv_archiver_store.test.ts:2077
↓ 11 callersFunctioncheck_historic_sibling_path
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/append_only_tree/content_addressed_append_only_tree.test.cpp:146
↓ 11 callersFunctionchunkBy
(items: T[], fn: (item: T) => U)
yarn-project/foundation/src/collection/array.ts:300
↓ 11 callersMethodclaim
barretenberg/cpp/src/barretenberg/ipc/shm/spsc_shm.cpp:204
↓ 11 callersMethodcollectFastForBlock
Collects the set of txs for the given mined block as fast as possible
yarn-project/p2p/src/services/tx_collection/tx_collection.ts:232
↓ 11 callersFunctioncomparePriority
(a: PriorityComparable, b: PriorityComparable)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_metadata.ts:193
↓ 11 callersFunctioncomputeContractAddressFromInstance
( instance: | ContractInstance | ({ originalContractClassId: Fr; saltedInitializationHash: Fr } & Pi
yarn-project/stdlib/src/contract/contract_address.ts:22
↓ 11 callersFunctioncomputeDecay
(heartbeatIntervalMs: number, slotDurationMs: number, decayWindowSlots: number)
yarn-project/p2p/src/services/gossipsub/topic_score_params.ts:60
↓ 11 callersFunctioncomputeNoteHashNonce
(nullifierZero: Fr, noteHashIndex: number)
yarn-project/stdlib/src/hash/hash.ts:25
↓ 11 callersFunctioncomputeUnbalancedMerkleTreeRoot
( leaves: Buffer[], hasher = shaMerkleHash, emptyRoot = Buffer.alloc(32), )
yarn-project/foundation/src/trees/unbalanced_merkle_tree_root.ts:33
↓ 11 callersMethodconstruct_proof
* @brief Prove proper construction of the aggregate Goblin ECC op queue polynomials T_j. * @details Proves that M_j(X) = L_j(X) + X^k * R_j(X) and de
barretenberg/cpp/src/barretenberg/goblin/merge_prover.cpp:156
↓ 11 callersMethodcreate
( treesDB: PublicTreesDB, contractsDB: PublicContractsDBInterface, tx: Tx, globalVariables: Gl
yarn-project/simulator/src/public/public_tx_simulator/public_tx_context.ts:95
↓ 11 callersFunctioncreateLibP2PPeerIdFromPrivateKey
(privateKey: string)
yarn-project/p2p/src/util.ts:207
↓ 11 callersFunctioncreateNode
( config: CreateNodeConfig, dateProvider: DateProvider, tcpPort: number, bootstrapNode: string | undef
yarn-project/end-to-end/src/fixtures/setup_p2p_test.ts:94
↓ 11 callersFunctioncreateOffense
( validator = EthAddress.random(), amount = 1000n, offense = OffenseType.INACTIVITY, epochOrSl
yarn-project/stdlib/src/slashing/serialization.test.ts:49
↓ 11 callersMethodcreateTx
( sender: AztecAddress, setupCalls: TestEnqueuedCall[] = [], appCalls: TestEnqueuedCall[] = [],
yarn-project/simulator/src/public/fixtures/public_tx_simulation_tester.ts:107
↓ 11 callersFunctiondeployAndExecuteCustomBytecode
( bytecode: Buffer, tester: PublicTxSimulationTester, txLabel: string = 'CustomBytecodeTest', contract
yarn-project/simulator/src/public/fixtures/custom_bytecode_tester.ts:73
↓ 11 callersMethoddiv
* @brief Divide two memory values and emit an event of type AluEvent. * * @throws AluException if (in order): * - the tags of a and b do not
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/alu.cpp:108
↓ 11 callersFunctionexpectValid
(tx: Tx)
yarn-project/p2p/src/msg_validators/tx_validator/phases_validator.test.ts:30
↓ 11 callersFunctionextractVkFromCircuit
(circuit: any)
yarn-project/ivc-integration/src/witgen.ts:49
↓ 11 callersMethodfetchLogsByTag
( contractAddress: AztecAddress, logRetrievalRequests: LogRetrievalRequest[], )
yarn-project/pxe/src/logs/log_service.ts:42
↓ 11 callersFunctionfieldToString
(field: Uint8Array, radix: number = 10)
barretenberg/ts/src/barretenberg/backend.ts:415
↓ 11 callersFunctionfindInsertionIndexInSortedArray
(values: T[], needle: N, cmp: (a: T, b: N) => number)
yarn-project/foundation/src/array/sorted_array.ts:41
↓ 11 callersMethodfindLeafIndex
* Returns the index of a leaf given its value, or undefined if no leaf with that value is found. * @param treeId - The ID of the tree. * @param
yarn-project/merkle-tree/src/snapshots/snapshot_builder.ts:59
↓ 11 callersMethodfromFields
(fields: Fr[] | FieldReader)
yarn-project/pxe/src/contract_function_simulator/noir-structs/log_retrieval_request.ts:20
↓ 11 callersFunctiongenerateClaimSecret
(logger?: Logger)
yarn-project/aztec.js/src/ethereum/portal_manager.ts:47
↓ 11 callersMethodgenerateProof
(compressedWitness: Uint8Array, options?: UltraHonkBackendOptions)
barretenberg/ts/src/barretenberg/backend.ts:172
↓ 11 callersFunctiongenerate_random_uint8
barretenberg/cpp/src/barretenberg/avm_fuzzer/mutations/basic_types/uint_mutations.hpp:225
↓ 11 callersMethodgetAvailablePublisher
(filter: PublisherFilter<UtilsType> = () => true)
yarn-project/ethereum/src/publisher_manager.ts:56
↓ 11 callersMethodgetBalance
(account: EthAddress | Hex)
yarn-project/ethereum/src/test/eth_cheat_codes.ts:141
↓ 11 callersFunctiongetBlockIndexFromDutyIdentifier
(duty: DutyIdentifier)
yarn-project/validator-ha-signer/src/db/types.ts:155
↓ 11 callersFunctiongetCheckpointNumber
(node: AztecNode)
yarn-project/end-to-end/src/e2e_epochs/epochs_l1_reorgs.parallel.test.ts:100
↓ 11 callersMethodgetCheckpointsDataForEpoch
* Gets lightweight checkpoint metadata for a given epoch, without fetching full block data. * @param epochNumber - Epoch for which we want checkpoi
yarn-project/stdlib/src/block/l2_block_source.ts:112
↓ 11 callersMethodgetCompleteAddress
()
yarn-project/aztec.js/src/account/account.ts:65
↓ 11 callersMethodgetContractInstance
(address: AztecAddress)
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:70
↓ 11 callersFunctiongetDefaultInitializer
(contractArtifact: ContractArtifact)
yarn-project/stdlib/src/abi/abi.ts:550
↓ 11 callersMethodgetFeeLimit
Returns the maximum fee to be paid according to gas limits and max fees set.
yarn-project/stdlib/src/gas/gas_settings.ts:95
↓ 11 callersMethodgetHighestFinalizedIndex
(secret: ExtendedDirectionalAppTaggingSecret, jobId: string)
yarn-project/pxe/src/storage/tagging_store/recipient_tagging_store.ts:124
↓ 11 callersMethodgetInstance
()
yarn-project/cli-wallet/src/storage/wallet_db.ts:24
↓ 11 callersMethodgetL1ToL2MessageMembershipWitness
* Returns the index and a sibling path for a leaf in the committed l1 to l2 data tree. * @param referenceBlock - The block parameter (block number,
yarn-project/stdlib/src/interfaces/aztec-node.ts:179
↓ 11 callersFunctiongetMerkleTreeName
barretenberg/cpp/src/barretenberg/world_state/types.cpp:6
↓ 11 callersMethodgetNodeSignature
* Get the full signature of a node as a string
docs/scripts/aztecjs_reference_generation/parse_typescript.js:1133
↓ 11 callersMethodgetPeers
(includePending?: boolean)
yarn-project/p2p/src/services/service.ts:137
← previousnext →1,601–1,700 of 24,401, ranked by callers