Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
19,566 in github.com/base/base
⨍
Functions
19,566
◇
Types & classes
3,084
↓ 23 callers
Method
supported_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 callers
Method
try_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 callers
Function
with_recorder
(f: impl FnOnce(Snapshotter))
crates/utilities/metrics/tests/metrics.rs:11
↓ 23 callers
Function
with_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/apply.rs:1002
↓ 22 callers
Function
append_account_trie
( wtx: &<DatabaseEnv as Database>::TXMut, key: StoredNibbles, block: u64, val:
crates/execution/trie/src/db/cursor.rs:438
↓ 22 callers
Method
build
Builds the [`NetworkDriver`].
crates/consensus/service/src/actors/network/builder.rs:175
↓ 22 callers
Method
build_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 callers
Method
is_empty
Returns true if no Base-specific upgrades are configured.
crates/common/genesis/src/chain/upgrade.rs:45
↓ 22 callers
Function
meter_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 callers
Method
mine_l1_blocks
Mine `n` L1 blocks and return the latest block number after mining.
actions/harness/src/harness.rs:63
↓ 22 callers
Method
provider
Create an HTTP provider pointed at the node's public RPC endpoint.
crates/execution/runner/src/test_utils/node.rs:154
↓ 22 callers
Method
push
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 callers
Method
rpc
(self, context: &'static str)
crates/infra/load-tests/src/rpc/client.rs:94
↓ 22 callers
Method
set
(&mut self, key: B256, value: Vec<u8>)
crates/proof/host/src/kv/mem.rs:30
↓ 22 callers
Function
setup
()
crates/utilities/tx-manager/tests/craft_tx.rs:21
↓ 22 callers
Function
setup_with_config
Creates a [`SimpleTxManager`] backed by a fresh Anvil instance.
crates/utilities/tx-manager/tests/common/mod.rs:32
↓ 22 callers
Function
signed
(tx: TxEip8130, sender_auth: Vec<u8>, payer_auth: Vec<u8>)
crates/execution/eip8130/src/intrinsic.rs:634
↓ 22 callers
Function
signer
()
crates/execution/txpool/src/two_d_nonce_pool.rs:706
↓ 22 callers
Method
store_account_branches
( &self, account_nodes: Vec<(Nibbles, Option<BranchNodeCompact>)>, )
crates/execution/trie/tests/lib.rs:261
↓ 22 callers
Method
take
()
crates/common/evm/src/eip8130_phase_statuses.rs:91
↓ 22 callers
Function
token_params
(name: &str, symbol: &str)
crates/common/precompiles/src/b20_factory/dispatch.rs:159
↓ 22 callers
Function
version_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 callers
Method
with_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 callers
Function
with_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/transaction.rs:406
↓ 21 callers
Function
addr
(byte: u8)
crates/execution/txpool/src/guard.rs:512
↓ 21 callers
Method
build
Builds a [`Discv5Driver`].
crates/consensus/disc/src/builder.rs:168
↓ 21 callers
Method
cmp
(&self, other: &Self)
crates/consensus/engine/src/task_queue/tasks/task.rs:179
↓ 21 callers
Function
create_parsed_bundle
(txs: Vec<BaseTransactionSigned>)
crates/execution/metering/src/meter.rs:852
↓ 21 callers
Function
default_encoder
()
crates/batcher/encoder/src/encoder.rs:862
↓ 21 callers
Method
emit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_asset/logic/v1.rs:988
↓ 21 callers
Method
fill
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 callers
Method
get
Return the registered block hash for an L2 block number.
actions/harness/src/common/block_hash_registry.rs:57
↓ 21 callers
Method
inner
Returns a mutable reference to the inner RNG.
crates/infra/load-tests/src/workload/seeded.rs:55
↓ 21 callers
Method
insert_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 callers
Function
make_block
(parent_hash: B256)
crates/batcher/encoder/src/encoder.rs:807
↓ 21 callers
Method
remove
Releases the reservation for `hash`, if present. Returns `true` if a reservation was removed.
crates/execution/txpool/src/limits.rs:168
↓ 21 callers
Function
request
(txs: Vec<Bytes>)
crates/execution/txpool/src/bundle/rpc.rs:273
↓ 21 callers
Method
rollup_config
Returns the rollup config.
crates/proof/proof/src/l1/pipeline.rs:231
↓ 21 callers
Method
seek
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 callers
Function
signer
()
crates/execution/txpool/src/pool.rs:1713
↓ 21 callers
Function
stored
(path: Nibbles)
crates/execution/trie/src/db/cursor.rs:430
↓ 21 callers
Method
transact_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 callers
Method
transaction_inserted
Track the first time we see a transaction in the mempool.
crates/execution/txpool-tracing/src/tracker.rs:154
↓ 21 callers
Method
update
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 callers
Function
valid_pool_transaction
( transaction: BasePooledTransaction, )
crates/execution/txpool/src/two_d_nonce_pool.rs:775
↓ 20 callers
Method
base
Set the base transaction builder based for `TxEnvBuilder`.
crates/common/evm/src/transaction/builder.rs:35
↓ 20 callers
Method
claim_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 callers
Method
ctx_mut
Returns a mutable reference to the underlying [`BaseContext`].
crates/common/evm/src/evm.rs:75
↓ 20 callers
Method
db_mut
Returns a mutable reference to the underlying database.
crates/execution/flashblocks/src/state_builder.rs:110
↓ 20 callers
Function
fund
Credits `who` with `amount` and grows total supply to match (setup only).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:216
↓ 20 callers
Method
get
Returns a reference to the pending proof for the given game address.
crates/proof/challenge/src/pending.rs:185
↓ 20 callers
Function
intrinsic
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 callers
Function
key
(byte: u8)
crates/execution/eip8130/src/transaction.rs:286
↓ 20 callers
Function
operator_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 callers
Method
sender
(&self)
crates/execution/txpool/src/transaction.rs:217
↓ 20 callers
Method
skip
(&self, tx_hash: &TxHash)
crates/builder/metering/src/store.rs:122
↓ 20 callers
Function
synthetic_plan
(signer: Address)
crates/proof/tee/registrar/src/signer_manager.rs:1449
↓ 20 callers
Method
unsafe_head
Returns the current unsafe head.
crates/consensus/engine/src/state/core.rs:41
↓ 20 callers
Method
with_l1_chain_id
Sets the L1 chain ID.
etc/systems/src/smoke.rs:313
↓ 20 callers
Method
with_safe_head
Sets the safe head
crates/consensus/engine/src/test_utils/engine_state.rs:48
↓ 20 callers
Method
with_storage
(&self, f: F)
crates/common/precompile-storage/src/storage_ctx.rs:55
↓ 19 callers
Function
addr
(key: &K256SigningKey)
crates/execution/eip8130/src/transaction.rs:290
↓ 19 callers
Method
clear
(&mut self)
crates/consensus/derive/src/stages/l1_retrieval.rs:197
↓ 19 callers
Function
default_tx_manager
()
crates/proof/challenge/tests/driver.rs:131
↓ 19 callers
Method
drain
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 callers
Function
fresh
A fresh provider with both B-20 variants activated.
crates/common/precompiles/tests/b20_factory_v1_golden.rs:82
↓ 19 callers
Function
fund
Credits `account` with `amount` and grows total supply to match.
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:1063
↓ 19 callers
Function
fund
Credits `who` with `amount` and grows total supply to match (setup only).
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:197
↓ 19 callers
Method
get_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 callers
Method
handle_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 callers
Method
id
Returns the block ID.
crates/consensus/protocol/src/block.rs:45
↓ 19 callers
Method
id
Returns the identifier of the payload.
crates/execution/payload/src/payload.rs:295
↓ 19 callers
Function
k1_address
(key: &K256SigningKey)
crates/execution/eip8130/src/authorize.rs:291
↓ 19 callers
Function
k1_key
(byte: u8)
crates/execution/eip8130/src/authorize.rs:287
↓ 19 callers
Method
l2_builder_provider
Returns an L2 builder provider with Base network.
etc/systems/src/smoke.rs:189
↓ 19 callers
Function
manager_with_plan
(plan: &RegistrationPlan)
crates/proof/tee/registrar/src/signer_manager.rs:1486
↓ 19 callers
Function
prover_rpc
()
crates/infra/basectl/src/commands/proofs.rs:1771
↓ 19 callers
Function
raw
()
crates/execution/txpool/src/wire.rs:149
↓ 19 callers
Function
sample_signed
(payer_present: bool)
crates/common/consensus/src/transaction/eip8130/signed.rs:620
↓ 19 callers
Function
self_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 callers
Function
setup
Helper: spawns an Anvil instance and returns a [`NonceManager`] wired to the first default account.
crates/utilities/tx-manager/tests/nonce.rs:16
↓ 19 callers
Method
watch
(mut self, key: InvalidationKey)
crates/execution/txpool/src/invalidation.rs:122
↓ 19 callers
Method
with_fork
Add the given fork with the given activation condition to the spec.
crates/execution/chainspec/src/builder.rs:46
↓ 19 callers
Method
with_receipt_timeout
Sets the receipt timeout used after sending B-20 transactions.
etc/systems/src/b20.rs:87
↓ 18 callers
Method
all
Returns all known chain configurations, including devnet.
crates/common/chains/src/config.rs:213
↓ 18 callers
Method
contains
Returns true if the value is in the set.
crates/common/precompile-storage/src/types/set.rs:190
↓ 18 callers
Function
create_allowlist
(storage: &mut Storage)
crates/common/precompiles/src/policy/logic/v1.rs:555
↓ 18 callers
Method
emit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:932
↓ 18 callers
Method
get_latest_block_number
(&self)
crates/execution/trie/tests/lib.rs:124
↓ 18 callers
Function
grant
Grants `role` to `account` and keeps the admin member-count consistent.
crates/common/precompiles/src/b20_asset/logic/v2.rs:1415
↓ 18 callers
Method
input
Sets the input data for the transaction.
crates/common/rpc-types/src/transaction/request.rs:318
↓ 18 callers
Method
is_empty
Returns if the channel is empty.
crates/consensus/protocol/src/channel.rs:83
↓ 18 callers
Method
is_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 callers
Function
mock_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 callers
Method
next
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 callers
Method
output
(label: &'static str, input: Vec<u8>, expected_output: Vec<u8>)
actions/harness/tests/beryl/b20.rs:1058
↓ 18 callers
Method
provider
Returns a reference to the RPC provider.
crates/utilities/tx-manager/src/manager.rs:314
↓ 18 callers
Function
rpc_args
(args: &'static [&'static str])
bin/base/src/commands/rpc.rs:168
↓ 18 callers
Method
step
(&mut self)
crates/batcher/encoder/src/encoder.rs:483
↓ 18 callers
Method
timestamp
Returns the timestamp
crates/builder/core/src/flashblocks/context.rs:289
← previous
next →
301–400 of 19,566, ranked by callers