Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
23,652 in github.com/base/base
⨍
Functions
23,652
◇
Types & classes
3,462
↓ 6 callers
Method
encode
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/transaction/deposit.rs:320
↓ 6 callers
Method
encode_2718
(&self, out: &mut dyn alloy_rlp::BufMut)
crates/common/consensus/src/transaction/deposit.rs:297
↓ 6 callers
Function
encode_challenge_calldata
Encodes the calldata for `IAggregateVerifier.challenge()`. Used when challenging a TEE-proven game with a ZK proof. The first byte of `proof_bytes` m
crates/proof/contracts/src/aggregate_verifier.rs:965
↓ 6 callers
Function
encode_history_block_suffix
Encodes the block-number suffix attached to history-table keys so that newer blocks sort BEFORE older blocks under the default `BytewiseComparator`.
crates/execution/trie/src/db/rocksdb.rs:3204
↓ 6 callers
Method
encode_into
Appends the encoded frame to an existing byte vector.
crates/consensus/protocol/src/frame.rs:211
↓ 6 callers
Method
engine_state
Returns the current engine state.
crates/consensus/service/src/actors/engine/engine_request_processor.rs:96
↓ 6 callers
Method
ensure_storage_path_matches
Returns an error if an existing proofs-history directory belongs to a different backend.
crates/execution/node/src/args.rs:66
↓ 6 callers
Method
evaluate
Calculates all dimension costs for one metered transaction.
crates/execution/payload/src/resource_metering.rs:359
↓ 6 callers
Function
event
(event_id: &str)
crates/infra/audit/src/transaction_events.rs:2051
↓ 6 callers
Function
evm
(db: InMemoryDB)
crates/common/evm2/src/nonce_manager.rs:107
↓ 6 callers
Method
execute
Executes a single query.
crates/consensus/service/src/actors/l1_watcher/query_processor.rs:62
↓ 6 callers
Method
execute
Behavior depends on how the safe head is provided: - `Attributes`: The safe head is advanced through the normal derivation flow, where the Derivation
crates/consensus/engine/src/task_queue/tasks/consolidate/task.rs:381
↓ 6 callers
Method
execute
(&self, state: &mut EngineState)
crates/consensus/engine/src/task_queue/tasks/finalize/task.rs:33
↓ 6 callers
Method
execute_with_result
Inserts the payload and returns the engine-acknowledged unsafe head. After successfully inserting an authoritative payload, this also resets the loca
crates/consensus/engine/src/task_queue/tasks/insert/task.rs:239
↓ 6 callers
Function
expire_lock
Force a job's lock to appear expired so it becomes reclaimable.
crates/proof/prover-service/db/tests/postgres_integration.rs:1059
↓ 6 callers
Method
explorer_base_url
Returns the block explorer base URL for this chain, if known.
crates/infra/basectl/src/config.rs:459
↓ 6 callers
Function
extract_l1_info
Extracts the [`L1BlockInfo`] from the L2 block. The L1 info transaction is always the first transaction in the L2 block. Returns an error if the L1 i
crates/execution/evm/src/l1.rs:26
↓ 6 callers
Function
factory
The factory precompile's singleton address.
crates/common/precompiles/tests/b20_factory_v1_golden.rs:65
↓ 6 callers
Function
failed_precondition
(message: impl Into<String>)
crates/proof/prover-service/src/server/mod.rs:148
↓ 6 callers
Function
fallback
(url: &str)
crates/consensus/service/src/actors/sequencer/l1_origin/prefetched_chain_provider.rs:111
↓ 6 callers
Function
find_starting_forkchoice
Searches for the latest [`L2ForkchoiceState`] that we can use to start the sync process with. - The *unsafe L2 block*: This is the highest L2 block w
crates/consensus/engine/src/sync/mod.rs:39
↓ 6 callers
Method
finish
Records the reset `outcome` and replies. Returns whether the caller received the reply.
crates/consensus/service/src/actors/sequencer/engine_request_coordinator.rs:73
↓ 6 callers
Method
flashblock_index
(&self)
crates/builder/core/src/flashblocks/context.rs:284
↓ 6 callers
Method
flush_and_compact
Flushes and compacts every proofs-history column family.
crates/execution/trie/src/db/rocksdb.rs:502
↓ 6 callers
Method
gas_used
Returns the gas used so far.
crates/common/precompile-storage/src/storage_ctx.rs:183
↓ 6 callers
Function
generate_txs_for_block
(chain_id: u64)
crates/execution/metering/src/rpc.rs:342
↓ 6 callers
Method
get
(&self, key: B256)
crates/proof/host/src/kv/mem.rs:26
↓ 6 callers
Method
get
(&self, key: PreimageKey)
crates/proof/zk/utils/src/witness/preimage_store.rs:103
↓ 6 callers
Function
get_block_compat
Wrapper function around [`EngineClient::get_l2_block`] to handle compatibility issues with clients. When serving a block-by-number request, these clie
crates/consensus/engine/src/sync/forkchoice.rs:309
↓ 6 callers
Method
get_jovian_extra_data
Extracts the extra data parameters post-Jovian upgrade. Those parameters are the EIP-1559 parameters from Holocene and the minimum base fee.
crates/execution/payload/src/payload.rs:127
↓ 6 callers
Method
get_policy_manager
Reads only the stored policy *manager* slot for `(account, actor_id)`, without the `actor_config` re-read that [`Self::get_policy`] performs to gate o
crates/execution/eip8130/src/account_config.rs:201
↓ 6 callers
Function
grant
Grants `role` to `account` and keeps the admin member-count consistent.
crates/common/precompiles/src/b20_asset/logic/v1.rs:1134
↓ 6 callers
Method
handle
Handles the peer count request.
crates/consensus/gossip/src/rpc/request.rs:109
↓ 6 callers
Function
hash
(v: u32)
crates/common/flz/src/flz.rs:131
↓ 6 callers
Function
hash
(byte: u8)
crates/execution/payload/src/resting.rs:654
↓ 6 callers
Function
hash_token_state
Deterministic keccak hash of a single token's per-case snapshot: the token's emitted events (topics + data) followed by every sorted `(address, slot,
crates/common/precompiles/tests/common/utils.rs:93
↓ 6 callers
Method
id
Returns the L1 [`BlockNumHash`] for the info transaction.
crates/common/consensus/src/info/variant.rs:294
↓ 6 callers
Method
implementation
Returns the immutable logic implementation for this version.
crates/common/precompiles/src/b20_asset/versions.rs:44
↓ 6 callers
Method
increase_gas_price
Computes bumped fee parameters for a replacement transaction. Given the previous on-wire fees, applies [`FeeCalculator::update_fees`] to satisfy geth
crates/utilities/tx-manager/src/manager.rs:651
↓ 6 callers
Function
insert_ready_tee_proof
(manager: &mut TestManager, with_zk_fallback: bool)
crates/proof/challenge/src/proof_manager.rs:704
↓ 6 callers
Method
install
(self)
crates/common/precompiles/src/provider.rs:201
↓ 6 callers
Method
intermediate_output_roots
(&self, _: Address)
crates/proof/proposer/src/test_utils.rs:344
↓ 6 callers
Method
into_inner
Consumes the type and returns the inner [`Receipt`].
crates/common/consensus/src/receipts/deposit.rs:90
↓ 6 callers
Method
into_logs
Consumes the type and returns the logs.
crates/common/consensus/src/receipts/envelope.rs:139
↓ 6 callers
Method
into_parts
Split the wrapper into the underlying node plus flashblocks parts.
crates/execution/flashblocks-node/src/test_harness.rs:273
↓ 6 callers
Method
into_precompile_result
ABI-encodes this error and wraps it as a [`PrecompileResult`] (revert or fatal error). Internal dispatch diagnostics use their legacy encoding before
crates/common/precompile-storage/src/error.rs:116
↓ 6 callers
Function
invalid_params_error
(message: impl Into<String>)
crates/proof/prover-service/client/src/worker.rs:657
↓ 6 callers
Method
invalidate_lane
Terminally invalidates a lane for the remainder of this iterator. Buffered descendants have already been consumed from `inner`. Invalidating the yiel
crates/execution/txpool/src/parking.rs:247
↓ 6 callers
Method
is_eip8130_nonce_free
(&self)
crates/execution/txpool/src/transaction.rs:538
↓ 6 callers
Method
is_enforced
Returns whether resting transactions are held back.
crates/execution/payload/src/resting.rs:53
↓ 6 callers
Method
is_everest_active_at_timestamp
Returns `true` if [`Everest`](BaseUpgrade::Everest) is active at given block timestamp. Everest is unscheduled by default, so this returns `false` unt
crates/common/chains/src/upgrades.rs:92
↓ 6 callers
Method
is_holocene_active_at_timestamp
Returns `true` if [`Holocene`](BaseUpgrade::Holocene) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:51
↓ 6 callers
Method
is_invalid
Returns `true` if the ENR is invalid.
crates/consensus/peers/src/enr.rs:43
↓ 6 callers
Function
is_jsonrpc_method_not_found
(err: &JsonRpcClientError)
crates/infra/basectl/src/rpc/p2p.rs:696
↓ 6 callers
Method
is_legacy
(&self)
crates/common/consensus/src/transaction/envelope.rs:314
↓ 6 callers
Method
is_open_payer
(&self)
crates/common/consensus/src/transaction/eip8130/tx.rs:201
↓ 6 callers
Method
is_regolith_active_at_timestamp
Returns `true` if [`Regolith`](BaseUpgrade::Regolith) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:25
↓ 6 callers
Function
jovian_chainspec
()
crates/execution/consensus/src/validation/mod.rs:284
↓ 6 callers
Method
l1_block_info
Applies [`L1BlockInfo`](base_common_evm::L1BlockInfo).
crates/execution/rpc/src/eth/receipt.rs:206
↓ 6 callers
Method
l1_head_source
Replace the L1 head source.
crates/batcher/core/src/test_utils/builder.rs:129
↓ 6 callers
Function
l1_origin_too_old_selector
The 4-byte selector for `L1OriginTooOld()`.
crates/proof/contracts/src/aggregate_verifier.rs:479
↓ 6 callers
Function
l2_block_info
(block_number: u64, hash: B256, parent_hash: B256)
crates/consensus/engine/src/task_queue/tasks/insert/task.rs:456
↓ 6 callers
Function
l2_block_with_l1_info
( number: u64, parent_hash: B256, origin: BlockNumHash, )
crates/consensus/engine/src/sync/mod.rs:314
↓ 6 callers
Method
l2_rpc_url
Returns the public RPC URL of the L2 builder node.
etc/systems/src/smoke.rs:222
↓ 6 callers
Method
latest_number
Return the block number of the latest head.
actions/harness/src/l1/miner.rs:459
↓ 6 callers
Method
limit_class
(&self)
crates/execution/txpool/src/transaction.rs:551
↓ 6 callers
Function
make_evm_provider
( ctx: &'a mut EthEvmContext<EmptyDB>, gas_params: GasParams, gas: u64, is_sta
crates/common/precompile-storage/src/evm.rs:403
↓ 6 callers
Function
manager
( claim_addr: Address, rpc_url: url::Url, clock: FixedClock, metrics_enabled:
crates/proof/challenge/src/bond.rs:547
↓ 6 callers
Function
manager_with_tx_error
( error: TxManagerError, )
crates/proof/challenge/src/proof_manager.rs:665
↓ 6 callers
Function
many_accounts
(count: usize)
crates/common/precompiles/src/policy/logic/v2.rs:725
↓ 6 callers
Function
many_accounts
(count: usize)
crates/common/precompiles/src/policy/logic/v1.rs:569
↓ 6 callers
Function
many_accounts
(count: usize)
crates/common/precompiles/src/policy/logic/v3.rs:757
↓ 6 callers
Method
mark_announcement_id_used
(&mut self, id: &str)
crates/common/precompiles/src/common/test_utils.rs:450
↓ 6 callers
Method
mark_committed
Remove transaction from next iteration since it is already in the state
crates/builder/core/src/flashblocks/best_txs.rs:134
↓ 6 callers
Method
mark_current_committed
(&mut self)
crates/builder/core/src/flashblocks/best_txs.rs:206
↓ 6 callers
Method
matches
(self, left: U256, right: U256)
crates/execution/txpool/src/validity.rs:156
↓ 6 callers
Method
mint
( &self, token: &mut B20AssetToken<S, A>, caller: Address, to: Address,
crates/common/precompiles/src/b20_asset/logic/v3.rs:344
↓ 6 callers
Function
mocked_config
A batcher whose L1 endpoint and only sequencer are both `server`, signing as `signer`.
crates/batcher/service/src/service.rs:690
↓ 6 callers
Function
new_attributes_queue
( cfg: Option<RollupConfig>, origin: Option<BlockInfo>, batches: Vec<PipelineResult<Si
crates/consensus/derive/src/stages/attributes_queue.rs:241
↓ 6 callers
Function
new_evm
Builds an in-memory EVM wired with the Base transaction registry.
crates/common/evm2/src/registry.rs:206
↓ 6 callers
Method
next
( &mut self, block_ref: &BlockInfo, batcher_address: Address, )
crates/consensus/derive/src/sources/blobs.rs:204
↓ 6 callers
Method
next_batch
( &mut self, parent: L2BlockInfo, l1_origins: &[BlockInfo], )
crates/consensus/derive/src/stages/batch/batch_stream.rs:126
↓ 6 callers
Function
node
(name: &str)
crates/infra/basectl/src/commands/sequencer.rs:871
↓ 6 callers
Function
node_identity
()
crates/infra/telemetry/src/el_prober.rs:265
↓ 6 callers
Method
nonce_manager
Returns a reference to the nonce manager.
crates/utilities/tx-manager/src/manager.rs:341
↓ 6 callers
Method
notified
Wait for a state change notification. Returns immediately if a notification arrived since the last call.
crates/execution/exex/src/sync_target.rs:170
↓ 6 callers
Function
now_secs
()
crates/infra/sidecrush/src/healthcheck/mod.rs:298
↓ 6 callers
Method
number
(&self)
crates/common/consensus/src/info/bedrock_base.rs:45
↓ 6 callers
Function
open_stream
A stream that yields `blocks` and then stays open without yielding.
crates/consensus/service/src/actors/l1_watcher/actor.rs:741
↓ 6 callers
Method
optimism_sync_status
Calls `optimism_syncStatus`.
crates/utilities/optimism-rpc/src/provider_ext.rs:40
↓ 6 callers
Function
owner_address
()
crates/common/precompiles/src/common/ops/permit.rs:169
↓ 6 callers
Function
pack_self
Packs an `AccountState` word carrying the inline secp256k1 self config (each field at its bit offset: defaultEOAExpiry 184..232, defaultEOAScope 232..
crates/execution/eip8130/src/authorize.rs:280
↓ 6 callers
Method
parent_hash
(&self)
crates/execution/flashblocks/src/pending_blocks.rs:499
↓ 6 callers
Function
parent_state
(millis_part: u16)
crates/execution/node/src/engine.rs:754
↓ 6 callers
Method
parse
(s: &str)
crates/execution/cli/src/chainspec.rs:17
↓ 6 callers
Function
parse_l1_info
Parses the input of the first transaction in the L2 block, into [`L1BlockInfo`]. Returns an error if data is incorrect length. Caution this expects
crates/execution/evm/src/l1.rs:58
↓ 6 callers
Method
pause
( &self, token: &mut B20StablecoinToken<S, A>, caller: Address, features: Vec<
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:387
↓ 6 callers
Function
payload
(number: u64)
crates/consensus/service/src/follow/runtime.rs:432
↓ 6 callers
Method
pending_effective_at
(&self)
crates/common/precompiles/src/b20_asset/logic/v2.rs:1287
↓ 6 callers
Method
pending_effective_at
(&self)
crates/common/precompiles/src/b20_asset/logic/v3.rs:1300
← previous
next →
1,701–1,800 of 23,652, ranked by callers