MCPcopy Create free account

hub / github.com/base/base / functions

Functions19,566 in github.com/base/base

↓ 23 callersMethodsupported_version
Returns the currently supported creation-parameter version for this variant. Each variant owns its version independently so that one variant advancin
crates/common/precompiles/src/b20_factory/variant.rs:36
↓ 23 callersMethodtry_send
Attempts to queue a transaction if a permit is available. Returns `Ok(())` if a permit was available and the transaction was enqueued. Returns `Err((
crates/utilities/tx-manager/src/queue.rs:113
↓ 23 callersFunctionwith_recorder
(f: impl FnOnce(Snapshotter))
crates/utilities/metrics/tests/metrics.rs:11
↓ 23 callersFunctionwith_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/apply.rs:1002
↓ 22 callersFunctionappend_account_trie
( wtx: &<DatabaseEnv as Database>::TXMut, key: StoredNibbles, block: u64, val:
crates/execution/trie/src/db/cursor.rs:438
↓ 22 callersMethodbuild
Builds the [`NetworkDriver`].
crates/consensus/service/src/actors/network/builder.rs:175
↓ 22 callersMethodbuild_fill
Build the [`BaseTransaction`] with default values for missing fields. This is useful for testing and debugging where it is not necessary to have full
crates/common/evm/src/transaction/builder.rs:85
↓ 22 callersMethodis_empty
Returns true if no Base-specific upgrades are configured.
crates/common/genesis/src/chain/upgrade.rs:45
↓ 22 callersFunctionmeter_bundle
Simulates and meters a bundle of transactions. Executes transactions in sequence to measure gas usage and execution time. When `metered_opcodes` is n
crates/execution/metering/src/meter.rs:601
↓ 22 callersMethodmine_l1_blocks
Mine `n` L1 blocks and return the latest block number after mining.
actions/harness/src/harness.rs:63
↓ 22 callersMethodprovider
Create an HTTP provider pointed at the node's public RPC endpoint.
crates/execution/runner/src/test_utils/node.rs:154
↓ 22 callersMethodpush
Appends an entry to the buffer. If the buffer is at capacity, the oldest entry is evicted first.
crates/utilities/ring-buffer/src/ring_buffer.rs:30
↓ 22 callersMethodrpc
(self, context: &'static str)
crates/infra/load-tests/src/rpc/client.rs:94
↓ 22 callersMethodset
(&mut self, key: B256, value: Vec<u8>)
crates/proof/host/src/kv/mem.rs:30
↓ 22 callersFunctionsetup
()
crates/utilities/tx-manager/tests/craft_tx.rs:21
↓ 22 callersFunctionsetup_with_config
Creates a [`SimpleTxManager`] backed by a fresh Anvil instance.
crates/utilities/tx-manager/tests/common/mod.rs:32
↓ 22 callersFunctionsigned
(tx: TxEip8130, sender_auth: Vec<u8>, payer_auth: Vec<u8>)
crates/execution/eip8130/src/intrinsic.rs:634
↓ 22 callersFunctionsigner
()
crates/execution/txpool/src/two_d_nonce_pool.rs:706
↓ 22 callersMethodstore_account_branches
( &self, account_nodes: Vec<(Nibbles, Option<BranchNodeCompact>)>, )
crates/execution/trie/tests/lib.rs:261
↓ 22 callersMethodtake
()
crates/common/evm/src/eip8130_phase_statuses.rs:91
↓ 22 callersFunctiontoken_params
(name: &str, symbol: &str)
crates/common/precompiles/src/b20_factory/dispatch.rs:159
↓ 22 callersFunctionversion_cursor
Open a dup-RO cursor and wrap it in a BlockNumberVersionedCursor with a given bound.
crates/execution/trie/src/db/cursor.rs:487
↓ 22 callersMethodwith_max_priority_fee_per_gas
Sets the EIP-1559 max priority fee per gas (tip).
crates/builder/core/src/test_utils/txs.rs:91
↓ 22 callersFunctionwith_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/transaction.rs:406
↓ 21 callersFunctionaddr
(byte: u8)
crates/execution/txpool/src/guard.rs:512
↓ 21 callersMethodbuild
Builds a [`Discv5Driver`].
crates/consensus/disc/src/builder.rs:168
↓ 21 callersMethodcmp
(&self, other: &Self)
crates/consensus/engine/src/task_queue/tasks/task.rs:179
↓ 21 callersFunctioncreate_parsed_bundle
(txs: Vec<BaseTransactionSigned>)
crates/execution/metering/src/meter.rs:852
↓ 21 callersFunctiondefault_encoder
()
crates/batcher/encoder/src/encoder.rs:862
↓ 21 callersMethodemit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_asset/logic/v1.rs:988
↓ 21 callersMethodfill
Fills in the pointers to the fetched blob bodies. There should be exactly one placeholder blobOrCalldata element for each blob, otherwise an error is
crates/consensus/derive/src/sources/blob_data.rs:145
↓ 21 callersMethodget
Return the registered block hash for an L2 block number.
actions/harness/src/common/block_hash_registry.rs:57
↓ 21 callersMethodinner
Returns a mutable reference to the inner RNG.
crates/infra/load-tests/src/workload/seeded.rs:55
↓ 21 callersMethodinsert_validated
Inserts a validated sidecar EIP-8130 transaction. Nonce-free transactions replace only another transaction with the same replay id. Finite-channel tr
crates/execution/txpool/src/two_d_nonce_pool.rs:242
↓ 21 callersFunctionmake_block
(parent_hash: B256)
crates/batcher/encoder/src/encoder.rs:807
↓ 21 callersMethodremove
Releases the reservation for `hash`, if present. Returns `true` if a reservation was removed.
crates/execution/txpool/src/limits.rs:168
↓ 21 callersFunctionrequest
(txs: Vec<Bytes>)
crates/execution/txpool/src/bundle/rpc.rs:273
↓ 21 callersMethodrollup_config
Returns the rollup config.
crates/proof/proof/src/l1/pipeline.rs:231
↓ 21 callersMethodseek
Seek to the first non-deleted latest version at or after `start_key`. Logic: - Try exact key first (above). If alive, return it. - Otherwise hop to ne
crates/execution/trie/src/db/cursor.rs:123
↓ 21 callersFunctionsigner
()
crates/execution/txpool/src/pool.rs:1713
↓ 21 callersFunctionstored
(path: Nibbles)
crates/execution/trie/src/db/cursor.rs:430
↓ 21 callersMethodtransact_raw
Executes `tx`, invoking the [`Inspector`] iff `self.inspect` is `true`. Uses [`InspectEvm::inspect_tx`] for the instrumented path and [`ExecuteEvm::tr
crates/common/evm/src/evm.rs:409
↓ 21 callersMethodtransaction_inserted
Track the first time we see a transaction in the mempool.
crates/execution/txpool-tracing/src/tracker.rs:154
↓ 21 callersMethodupdate
Update with current DA backlog bytes. Returns [`ThrottleParams`] if throttling should be applied, or `None` if the backlog is below the threshold or
crates/batcher/core/src/throttle.rs:140
↓ 21 callersFunctionvalid_pool_transaction
( transaction: BasePooledTransaction, )
crates/execution/txpool/src/two_d_nonce_pool.rs:775
↓ 20 callersMethodbase
Set the base transaction builder based for `TxEnvBuilder`.
crates/common/evm/src/transaction/builder.rs:35
↓ 20 callersMethodclaim_next_proof_job
Atomically claim the next eligible worker proof job (`getNextProof`). Expired claims are reclaimable while `attempt < max_attempts`. Rows are locked
crates/proof/prover-service/db/src/repo.rs:581
↓ 20 callersMethodctx_mut
Returns a mutable reference to the underlying [`BaseContext`].
crates/common/evm/src/evm.rs:75
↓ 20 callersMethoddb_mut
Returns a mutable reference to the underlying database.
crates/execution/flashblocks/src/state_builder.rs:110
↓ 20 callersFunctionfund
Credits `who` with `amount` and grows total supply to match (setup only).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:216
↓ 20 callersMethodget
Returns a reference to the pending proof for the given game address.
crates/proof/challenge/src/pending.rs:185
↓ 20 callersFunctionintrinsic
Serializes `signed` (EIP-2718) and computes intrinsic gas, mirroring a caller that already holds the transaction's network encoding.
crates/execution/eip8130/src/intrinsic.rs:653
↓ 20 callersFunctionkey
(byte: u8)
crates/execution/eip8130/src/transaction.rs:286
↓ 20 callersFunctionoperator_role
The asset operator role id: `keccak256("OPERATOR_ROLE")` (frozen identically at V1 and V2).
crates/common/precompiles/tests/b20_asset_v2_golden.rs:251
↓ 20 callersMethodsender
(&self)
crates/execution/txpool/src/transaction.rs:217
↓ 20 callersMethodskip
(&self, tx_hash: &TxHash)
crates/builder/metering/src/store.rs:122
↓ 20 callersFunctionsynthetic_plan
(signer: Address)
crates/proof/tee/registrar/src/signer_manager.rs:1449
↓ 20 callersMethodunsafe_head
Returns the current unsafe head.
crates/consensus/engine/src/state/core.rs:41
↓ 20 callersMethodwith_l1_chain_id
Sets the L1 chain ID.
etc/systems/src/smoke.rs:313
↓ 20 callersMethodwith_safe_head
Sets the safe head
crates/consensus/engine/src/test_utils/engine_state.rs:48
↓ 20 callersMethodwith_storage
(&self, f: F)
crates/common/precompile-storage/src/storage_ctx.rs:55
↓ 19 callersFunctionaddr
(key: &K256SigningKey)
crates/execution/eip8130/src/transaction.rs:290
↓ 19 callersMethodclear
(&mut self)
crates/consensus/derive/src/stages/l1_retrieval.rs:197
↓ 19 callersFunctiondefault_tx_manager
()
crates/proof/challenge/tests/driver.rs:131
↓ 19 callersMethoddrain
Drain all in-flight futures up to the given deadline. Confirmed receipts call `pipeline.confirm` + `pipeline.advance_l1_head`. Failed or txpool-block
crates/batcher/core/src/submissions.rs:269
↓ 19 callersFunctionfresh
A fresh provider with both B-20 variants activated.
crates/common/precompiles/tests/b20_factory_v1_golden.rs:82
↓ 19 callersFunctionfund
Credits `account` with `amount` and grows total supply to match.
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:1063
↓ 19 callersFunctionfund
Credits `who` with `amount` and grows total supply to match (setup only).
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:197
↓ 19 callersMethodget_block
retrieves a specific block by its number or tag and returns a list of transaction hashes from its body.
crates/builder/core/src/test_utils/driver.rs:296
↓ 19 callersMethodhandle_admin_query
Handles the provided [`SequencerAdminQuery`], sending the response via the provided sender. This function is used to decouple admin API logic from the
crates/consensus/service/src/actors/sequencer/admin_api_impl.rs:57
↓ 19 callersMethodid
Returns the block ID.
crates/consensus/protocol/src/block.rs:45
↓ 19 callersMethodid
Returns the identifier of the payload.
crates/execution/payload/src/payload.rs:295
↓ 19 callersFunctionk1_address
(key: &K256SigningKey)
crates/execution/eip8130/src/authorize.rs:291
↓ 19 callersFunctionk1_key
(byte: u8)
crates/execution/eip8130/src/authorize.rs:287
↓ 19 callersMethodl2_builder_provider
Returns an L2 builder provider with Base network.
etc/systems/src/smoke.rs:189
↓ 19 callersFunctionmanager_with_plan
(plan: &RegistrationPlan)
crates/proof/tee/registrar/src/signer_manager.rs:1486
↓ 19 callersFunctionprover_rpc
()
crates/infra/basectl/src/commands/proofs.rs:1771
↓ 19 callersFunctionraw
()
crates/execution/txpool/src/wire.rs:149
↓ 19 callersFunctionsample_signed
(payer_present: bool)
crates/common/consensus/src/transaction/eip8130/signed.rs:620
↓ 19 callersFunctionself_pay
Builds a default self-paying admission with a single actor-config slot watch, for tests that focus on limits.
crates/execution/txpool/src/guard.rs:529
↓ 19 callersFunctionsetup
Helper: spawns an Anvil instance and returns a [`NonceManager`] wired to the first default account.
crates/utilities/tx-manager/tests/nonce.rs:16
↓ 19 callersMethodwatch
(mut self, key: InvalidationKey)
crates/execution/txpool/src/invalidation.rs:122
↓ 19 callersMethodwith_fork
Add the given fork with the given activation condition to the spec.
crates/execution/chainspec/src/builder.rs:46
↓ 19 callersMethodwith_receipt_timeout
Sets the receipt timeout used after sending B-20 transactions.
etc/systems/src/b20.rs:87
↓ 18 callersMethodall
Returns all known chain configurations, including devnet.
crates/common/chains/src/config.rs:213
↓ 18 callersMethodcontains
Returns true if the value is in the set.
crates/common/precompile-storage/src/types/set.rs:190
↓ 18 callersFunctioncreate_allowlist
(storage: &mut Storage)
crates/common/precompiles/src/policy/logic/v1.rs:555
↓ 18 callersMethodemit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:932
↓ 18 callersMethodget_latest_block_number
(&self)
crates/execution/trie/tests/lib.rs:124
↓ 18 callersFunctiongrant
Grants `role` to `account` and keeps the admin member-count consistent.
crates/common/precompiles/src/b20_asset/logic/v2.rs:1415
↓ 18 callersMethodinput
Sets the input data for the transaction.
crates/common/rpc-types/src/transaction/request.rs:318
↓ 18 callersMethodis_empty
Returns if the channel is empty.
crates/consensus/protocol/src/channel.rs:83
↓ 18 callersMethodis_retryable
Returns true if this error is transient and the operation should be retried. Only transport-level errors (network issues, timeouts, connection failur
crates/proof/rpc/src/error.rs:74
↓ 18 callersFunctionmock_state
Helper to build mock game state for the verifier. Uses [`DEFAULT_TEE_PROVER`] as the TEE prover address. Use [`mock_state_with_tee`] to override.
crates/proof/challenge/src/test_utils.rs:479
↓ 18 callersMethodnext
Advance to the next distinct key from the current MDBX position and return its non-deleted latest version, if any. Next distinct key; if not positione
crates/execution/trie/src/db/cursor.rs:134
↓ 18 callersMethodoutput
(label: &'static str, input: Vec<u8>, expected_output: Vec<u8>)
actions/harness/tests/beryl/b20.rs:1058
↓ 18 callersMethodprovider
Returns a reference to the RPC provider.
crates/utilities/tx-manager/src/manager.rs:314
↓ 18 callersFunctionrpc_args
(args: &'static [&'static str])
bin/base/src/commands/rpc.rs:168
↓ 18 callersMethodstep
(&mut self)
crates/batcher/encoder/src/encoder.rs:483
↓ 18 callersMethodtimestamp
Returns the timestamp
crates/builder/core/src/flashblocks/context.rs:289
← previousnext →301–400 of 19,566, ranked by callers