MCPcopy Create free account

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

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

↓ 19 callersMethoddecompress
* 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 callersFunctiondefaultGlobals
()
yarn-project/simulator/src/public/fixtures/public_tx_simulation_tester.ts:300
↓ 19 callersFunctiondeployL1Contract
( extendedClient: ExtendedViemWalletClient, abi: Narrow<Abi | readonly unknown[]>, bytecode: Hex, args
yarn-project/ethereum/src/deploy_l1_contract.ts:153
↓ 19 callersFunctiondeployToken
(wallet: Wallet, admin: AztecAddress, initialAdminBalance: bigint, logger: Logger)
yarn-project/end-to-end/src/fixtures/token_utils.ts:7
↓ 19 callersFunctionencode_bytecode
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/contract_crypto.cpp:11
↓ 19 callersFunctiongetAddress
Returns the deployed contract address.
yarn-project/aztec.js/src/contract/deploy_method.ts:645
↓ 19 callersFunctiongetCallsFromSpireProposer
( tx: Transaction, publicClient: { getStorageAt: (params: { address: Hex; slot: Hex }) => Promise<Hex | un
yarn-project/archiver/src/l1/spire_proposer.ts:96
↓ 19 callersMethodgetEmittedFields
Returns the serialized log (field as in noir field and not a struct field).
yarn-project/stdlib/src/logs/public_log.ts:157
↓ 19 callersMethodgetInitialHeader
* Gets the initial header.
yarn-project/stdlib/src/interfaces/merkle_tree_operations.ts:135
↓ 19 callersMethodgetMessageContextsByTxHash
( contractAddress: AztecAddress, messageContextRequestsArrayBaseSlot: Fr, messageContextResponsesA
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:148
↓ 19 callersMethodgetProvenCheckpointNumber
()
yarn-project/archiver/src/store/block_store.ts:1145
↓ 19 callersMethodgetPublicLogsByTagsFromContract
* 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 callersMethodgetScore
(peerId: string)
yarn-project/p2p/src/services/peer-manager/peer_scoring.ts:127
↓ 19 callersMethodgetSenderAddress
()
yarn-project/ethereum/src/l1_tx_utils/l1_tx_utils.ts:131
↓ 19 callersMethodgetSlot
Returns the current slot
yarn-project/ethereum/src/test/rollup_cheat_codes.ts:54
↓ 19 callersFunctiongetSponsoredFPCAddress
()
yarn-project/end-to-end/src/fixtures/setup.ts:726
↓ 19 callersFunctiongetTimestampForSlot
( slot: SlotNumber, constants: Pick<L1RollupConstants, 'l1GenesisTime' | 'slotDuration'>, )
yarn-project/stdlib/src/epoch-helpers/index.ts:43
↓ 19 callersMethodgetTips
()
yarn-project/ethereum/src/contracts/rollup.ts:663
↓ 19 callersMethodgetTxByHash
* 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 callersMethodget_space_id
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/memory.hpp:30
↓ 19 callersMethodhasExecutionSucceeded
Returns true if the transaction was executed successfully.
yarn-project/stdlib/src/tx/tx_receipt.ts:79
↓ 19 callersFunctionhash_leaf
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.test.cpp:1054
↓ 19 callersMethodis_equivalent_to
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/content_addressed_cache.hpp:283
↓ 19 callersMethodlastBlockTimestamp
* 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 callersFunctionlength
* 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 callersFunctionmakeInboxMessages
( totalCount: number, opts: { initialHash?: Buffer16; initialCheckpointNumber?: CheckpointNumber;
yarn-project/archiver/src/test/mock_structs.ts:48
↓ 19 callersFunctionmakeTx
(seed?: number)
yarn-project/sequencer-client/src/sequencer/sequencer.test.ts:122
↓ 19 callersFunctionmkNote
(overrides: Partial<NoteDao> = {})
yarn-project/pxe/src/storage/note_store/note_store.test.ts:28
↓ 19 callersFunctionmkNullifier
(note: NoteDao, blockNumber?: BlockNumber)
yarn-project/pxe/src/storage/note_store/note_store.test.ts:67
↓ 19 callersMethodmul
(rhs: BLS12Fr)
yarn-project/foundation/src/curves/bls12/field.ts:289
↓ 19 callersMethodnew
( worldStateService: NativeWorldStateService, // make sure to close this later checkCircuitOnly: boole
yarn-project/bb-prover/src/avm_proving_tests/avm_proving_tester.ts:113
↓ 19 callersFunctionprocess
(content, releaseType)
docs/src/preprocess/__tests__/conditional_content.test.js:6
↓ 19 callersMethodprocess_instruction_fetching
barretenberg/cpp/src/barretenberg/vm2/tracegen/bytecode_trace.cpp:293
↓ 19 callersMethodprocess_public_inputs
barretenberg/cpp/src/barretenberg/vm2/tracegen/public_inputs_trace.cpp:8
↓ 19 callersMethodprocess_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 callersMethodquerySingleValue
(query: string, time = new Date())
yarn-project/end-to-end/src/quality_of_service/prometheus_client.ts:11
↓ 19 callersMethodrandom
()
yarn-project/stdlib/src/logs/tag.ts:39
↓ 19 callersFunctionread
barretenberg/cpp/src/barretenberg/flavor/flavor.hpp:732
↓ 19 callersMethodreduction_check
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:1754
↓ 19 callersMethodremoveAllListeners
(event: K)
yarn-project/foundation/src/types/index.ts:54
↓ 19 callersMethodsend_to_verifier
barretenberg/cpp/src/barretenberg/commitment_schemes/ipa/mock_transcript.hpp:66
↓ 19 callersMethodsetCapsuleArray
(contractAddress: AztecAddress, baseSlot: Fr, content: Fr[][], jobId: string, scope: AztecAddress)
yarn-project/pxe/src/storage/capsule_store/capsule_store.ts:297
↓ 19 callersMethodset_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 callersFunctionsetupEnvironment
(env: unknown)
yarn-project/end-to-end/src/spartan/utils/config.ts:23
↓ 19 callersFunctionsha256ToField
(data: Bufferable[])
yarn-project/foundation/src/crypto/sha256/index.ts:17
↓ 19 callersMethodsignal_decrement
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/signal.hpp:60
↓ 19 callersMethodtoBuffer32
* 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 callersMethodtrack_diff
barretenberg/cpp/src/barretenberg/dsl/acir_format/gate_counter.hpp:30
↓ 19 callersMethodtryAddCheckpointProposal
* 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 callersMethodwrite
* 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 callersMethodabort
()
yarn-project/prover-client/src/proving_broker/proving_job_controller.ts:68
↓ 18 callersMethodaddCheckpoints
Used by TXE to add checkpoints directly without syncing from L1.
yarn-project/archiver/src/archiver.ts:431
↓ 18 callersMethodaddPendingNoteHashReadRequest
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 callersMethodadd_or_update_values
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.hpp:507
↓ 18 callersFunctionaddressFromSingle
(obj: ForeignCallSingle)
yarn-project/txe/src/util/encoding.ts:24
↓ 18 callersMethodapplyDelay
(type: ProvingRequestType, fn: F)
yarn-project/bb-prover/src/test/test_circuit_prover.ts:414
↓ 18 callersMethodassert_is_not_equal
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:2031
↓ 18 callersFunctioncheckNullifierConflict
( incomingMeta: TxMetaData, getTxHashByNullifier: (nullifier: string) => string | undefined, getMetadata
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_metadata.ts:228
↓ 18 callersMethodcollectAddresses
( client: ViemClient, registryAddress: Hex | EthAddress, rollupVersion: number | bigint | 'canonic
yarn-project/ethereum/src/contracts/registry.ts:83
↓ 18 callersMethodcomputeFee
(gasFees: GasFees)
yarn-project/stdlib/src/gas/gas.ts:107
↓ 18 callersFunctioncomputeTxExpirationTimestamp
( previousKernel: PrivateKernelCircuitPublicInputs, txLifetime = MAX_TX_LIFETIME, )
yarn-project/pxe/src/private_kernel/hints/compute_tx_expiration_timestamp.ts:24
↓ 18 callersFunctionconfigToFlag
(flag: string, configMapping: ConfigMapping, overrideDefaultValue?: any)
yarn-project/aztec/src/cli/aztec_start_options.ts:61
↓ 18 callersFunctioncreateAndFillTree
(numLeaves: number)
yarn-project/foundation/src/trees/unbalanced_merkle_tree_calculator.test.ts:38
↓ 18 callersFunctioncreateNullifierTreeLeafHashInputs
(value: number, nextIndex: number, nextValue: number)
yarn-project/merkle-tree/src/standard_indexed_tree/test/standard_indexed_tree.test.ts:59
↓ 18 callersFunctioncreatePoolOps
(txsByFeePayer: Map<string, TxMetaData[]>)
yarn-project/p2p/src/mem_pools/tx_pool_v2/eviction/fee_payer_balance_eviction_rule.test.ts:39
↓ 18 callersMethodcreate_arithmetic_gate
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:338
↓ 18 callersMethodcreate_write_transaction
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/array_store.hpp:35
↓ 18 callersMethoddoRpcCall
(method: string, params: any[])
yarn-project/ethereum/src/test/eth_cheat_codes.ts:48
↓ 18 callersMethodencode
* Encodes all the arguments for the given function ABI. * @returns The encoded arguments.
yarn-project/stdlib/src/abi/encoder.ts:209
↓ 18 callersMethodenforce_small_deltas
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:883
↓ 18 callersMethodenqueueJob
( id: ProvingJobId, type: T, inputs: ProvingJobInputsMap[T], epochNumber = EpochNumber.ZERO,
yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts:132
↓ 18 callersMethodfinalizeEpoch
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 callersMethodgenerateId
( type: ProvingRequestType, inputs: { toBuffer(): Buffer }, epochNumber = EpochNumber.ZERO, )
yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts:663
↓ 18 callersFunctiongetBlobsPerL1Block
(fields: Fr[])
yarn-project/blob-lib/src/blob_utils.ts:33
↓ 18 callersMethodgetCount
* Gets the current count of archived transactions.
yarn-project/p2p/src/mem_pools/tx_pool_v2/archive/tx_archive.ts:98
↓ 18 callersMethodgetHintKey
(treeId: MerkleTreeId)
yarn-project/simulator/src/public/hinting_db_sources.ts:493
↓ 18 callersFunctiongetL1ContractsConfigEnvVars
()
yarn-project/ethereum/src/config.ts:276
↓ 18 callersMethodgetPayload
(payloadAddress: EthAddress | string)
yarn-project/slasher/src/stores/payloads_store.ts:139
↓ 18 callersMethodgetPrivateLogsByTags
* 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 callersFunctiongetPublicClient
(config: Config)
yarn-project/ethereum/src/client.ts:42
↓ 18 callersFunctiongetSlotRangeForEpoch
( epochNumber: EpochNumber, constants: Pick<L1RollupConstants, 'epochDuration'>, )
yarn-project/stdlib/src/epoch-helpers/index.ts:102
↓ 18 callersMethodget_hiding_kernel_vk_and_hash
barretenberg/cpp/src/barretenberg/chonk/chonk.cpp:569
↓ 18 callersMethodget_new_tag
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.hpp:551
↓ 18 callersMethodget_random_uint128
barretenberg/cpp/src/barretenberg/numeric/random/engine.cpp:198
↓ 18 callersMethodget_to_be_shifted
column 23
barretenberg/cpp/src/barretenberg/flavor/mega_flavor.hpp:228
↓ 18 callersMethodhandlerAsTxe
()
yarn-project/txe/src/rpc_translator.ts:107
↓ 18 callersMethoditerate
( startKey: Uint8Array, endKey?: Uint8Array, reverse = false, limit?: number, )
yarn-project/kv-store/src/lmdb-v2/read_transaction.ts:33
↓ 18 callersFunctionjsonParseWithSchema
(json: string, schema: ZodFor<T>)
yarn-project/foundation/src/json-rpc/convert.ts:11
↓ 18 callersFunctionmakeCheckpoint
( signers: Secp256k1Signer[], committee: EthAddress[], slot?: number, feeAssetPriceModifier?:
yarn-project/archiver/src/modules/validation.test.ts:25
↓ 18 callersMethodmul_by_fq
barretenberg/cpp/src/barretenberg/ecc/fields/field2_declarations.hpp:89
↓ 18 callersFunctionmutate_uint16_t
barretenberg/cpp/src/barretenberg/avm_fuzzer/mutations/basic_types/uint16_t.cpp:4
↓ 18 callersFunctionpriorityIndex
(type: ProvingRequestType)
yarn-project/prover-client/src/test/proving_broker_testbench.test.ts:147
↓ 18 callersMethodreadCapsuleArray
(contractAddress: AztecAddress, baseSlot: Fr, jobId: string, scope: AztecAddress)
yarn-project/pxe/src/storage/capsule_store/capsule_store.ts:268
↓ 18 callersFunctionreadSnappyPreamble
(data: Uint8Array)
yarn-project/p2p/src/services/encoding.ts:128
↓ 18 callersMethodsendRequests
()
yarn-project/sequencer-client/src/publisher/sequencer-publisher.ts:327
↓ 18 callersMethodsetBlockInterval
* 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 callersMethodsetHeader
* 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 callersMethodsetNextBlockBaseFeePerGas
* 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 callersFunctionsetNodeTxs
(node: MockProxy<TxSource>, txs: Tx[])
yarn-project/p2p/src/services/tx_collection/tx_collection.test.ts:76
↓ 18 callersMethodset_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
← previousnext →1,001–1,100 of 24,401, ranked by callers