Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
16,503 in github.com/base/base
⨍
Functions
16,503
◇
Types & classes
2,815
↓ 10 callers
Method
bundle_hash
Returns the `bundle_hash` for events that carry bundle data.
crates/infra/audit/src/types.rs:119
↓ 10 callers
Function
calc_data_slot
(len_slot: U256)
crates/common/precompile-storage/src/types/vec.rs:400
↓ 10 callers
Function
calculate_receipt_root
Calculates the receipt root for a header.
crates/execution/consensus/src/proof.rs:13
↓ 10 callers
Method
calculate_tx_l1_cost
Calculate the gas cost of a transaction based on L1 block data posted on L2, depending on the [`BaseSpecId`] passed.
crates/common/evm/src/l1block.rs:328
↓ 10 callers
Method
call
Creates an error for a failed contract call.
crates/proof/contracts/src/error.rs:33
↓ 10 callers
Method
call_staticcall_probe_tx
Creates a transaction that calls a deployed staticcall probe with arbitrary calldata.
actions/harness/tests/beryl/env.rs:313
↓ 10 callers
Function
cap
(n: usize)
crates/utilities/ring-buffer/src/ring_buffer.rs:85
↓ 10 callers
Method
cfg
(&self)
crates/consensus/engine/src/client.rs:201
↓ 10 callers
Method
clear
(&mut self)
crates/infra/basectl/src/app/views/upgrades.rs:473
↓ 10 callers
Method
commit
Commits all state changes since the checkpoint. Uses `borrow_mut` (panicking) intentionally: `commit` is an explicit caller action, so a conflicting
crates/common/precompile-storage/src/storage_ctx.rs:298
↓ 10 callers
Function
create_bundle_from_txn_data
Creates a test bundle from the sample transaction data.
crates/common/bundles/src/test_utils.rs:24
↓ 10 callers
Method
create_deployment_tx
Constructs a signed CREATE transaction with a given nonce and returns the signed bytes, contract address, and transaction hash.
crates/utilities/test-utils/src/accounts.rs:74
↓ 10 callers
Function
create_test_meter_bundle_response
Creates a default meter bundle response for testing.
crates/common/bundles/src/test_utils.rs:75
↓ 10 callers
Method
decrement
(&self, _: T)
crates/utilities/metrics/src/noop.rs:26
↓ 10 callers
Function
default_attributes
()
crates/consensus/engine/src/attributes.rs:434
↓ 10 callers
Method
deploy_staticcall_probe_tx
Creates and signs a transaction that deploys a staticcall probe for `target`.
actions/harness/tests/beryl/env.rs:298
↓ 10 callers
Method
derive
(mut self)
actions/harness/tests/beryl/b20.rs:1035
↓ 10 callers
Method
encode
Encode `data` into a single EIP-4844 [`Blob`]. Returns a [`BlobEncodeError::DataTooLarge`] if the input exceeds [`BLOB_MAX_DATA_SIZE`] bytes.
crates/batcher/blobs/src/encoder.rs:68
↓ 10 callers
Method
evm_env
Builds an [`EvmEnv`] for a block header using Base spec resolution.
crates/execution/evm/src/env.rs:42
↓ 10 callers
Method
factories
( &self, )
crates/execution/trie/src/batch_provider.rs:60
↓ 10 callers
Method
gas_used
Returns the gas used so far.
crates/common/precompile-storage/src/storage_ctx.rs:154
↓ 10 callers
Function
generate
(input: DeriveInput, address: Option<&Expr>)
crates/common/precompile-macros/src/contract.rs:59
↓ 10 callers
Method
get
Returns the first backend matching `backend_type`.
crates/proof/zk/service/src/backends/traits.rs:310
↓ 10 callers
Method
get_balance
Get the balance of an address across all three nodes.
etc/systems/src/rpc.rs:79
↓ 10 callers
Method
get_receipt
Returns the receipt for a transaction.
crates/execution/flashblocks/src/pending_blocks.rs:580
↓ 10 callers
Method
hashed_post_state
(&self, bundle_state: &BundleState)
crates/execution/trie/src/provider.rs:229
↓ 10 callers
Method
into_runtime_config
Converts parsed args into a chain-injected execution runtime config.
crates/execution/cli/src/node.rs:106
↓ 10 callers
Method
is_empty
Returns true if no opcodes or precompiles are configured.
crates/execution/metering/src/meter.rs:244
↓ 10 callers
Method
is_isthmus_active_at_timestamp
Returns `true` if [`Isthmus`](BaseUpgrade::Isthmus) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:57
↓ 10 callers
Method
isthmus_activated
Enable Isthmus at genesis.
crates/execution/chainspec/src/builder.rs:127
↓ 10 callers
Method
latest
Retrieves the latest built block and returns only a list of transaction hashes from its body.
crates/builder/core/src/test_utils/driver.rs:273
↓ 10 callers
Method
latest_number
Return the block number of the latest head.
actions/harness/src/l1/miner.rs:453
↓ 10 callers
Method
len
Returns the number of entries currently stored.
crates/utilities/ring-buffer/src/ring_buffer.rs:38
↓ 10 callers
Function
make_token
()
crates/common/precompiles/src/common/ops/permittable.rs:189
↓ 10 callers
Method
merge
Merges the given list of [`Enr`]s with the current list of peers.
crates/consensus/peers/src/store.rs:160
↓ 10 callers
Function
pack
Canonical Solidity packing of `ActorConfig` (each field at its bit offset).
crates/execution/eip8130/src/authorize.rs:224
↓ 10 callers
Method
parent_hash
(&self)
crates/execution/flashblocks/src/pending_blocks.rs:510
↓ 10 callers
Method
payload
(&self)
crates/common/genesis/src/updates/validator.rs:29
↓ 10 callers
Method
provider
Returns a reference to the underlying alloy provider that is used to interact with the chain.
crates/builder/core/src/test_utils/driver.rs:315
↓ 10 callers
Method
ro_tx
(&'tx self)
crates/execution/trie/src/metrics.rs:380
↓ 10 callers
Method
safe_head_at_l1
(&self, l1_block_num: u64)
crates/consensus/safedb/src/db.rs:223
↓ 10 callers
Function
sample_config
()
crates/proof/primitives/src/per_chain_config.rs:276
↓ 10 callers
Function
sample_tx
()
crates/common/consensus/src/transaction/eip8130/tx.rs:544
↓ 10 callers
Method
seek_exact
Returns a non-deleted latest version for exactly `key`, if any.
crates/execution/trie/src/db/cursor.rs:89
↓ 10 callers
Method
send_flashblock
(&self, flashblock: Flashblock)
crates/execution/flashblocks-node/tests/flashblocks_rpc.rs:347
↓ 10 callers
Method
send_raw_transaction
(&self, data: Bytes)
crates/infra/ingress-rpc/src/service.rs:93
↓ 10 callers
Method
set_earliest_block_number
( &self, block_number: u64, hash: B256, )
crates/execution/trie/tests/lib.rs:243
↓ 10 callers
Function
setup_estimator
( limits: ResourceLimits, )
crates/execution/metering/src/estimator.rs:1098
↓ 10 callers
Function
setup_running_request
Create a request in RUNNING state with an associated proof session. Returns `(request_id, backend_session_id)`.
crates/proof/prover-service/db/tests/postgres_integration.rs:131
↓ 10 callers
Method
start_sequencer
Starts the sequencer in an idempotent fashion. `unsafe_head` is a safety guard: it must match the engine's current unsafe head hash. This prevents sp
crates/consensus/service/src/actors/sequencer/admin_api_impl.rs:128
↓ 10 callers
Method
state
Returns a reference to the inner [`EngineState`].
crates/consensus/engine/src/task_queue/core.rs:69
↓ 10 callers
Method
stop
(&mut self)
crates/utilities/metrics/src/noop.rs:36
↓ 10 callers
Method
submit
( &self, aggregate_proposal: &Proposal, proposals: &[Proposal], target_block:
crates/proof/proposer/src/proof_submitter.rs:96
↓ 10 callers
Method
submit_transaction
Enqueue a signed L1 transaction for inclusion in the next mined block. Production-mode DA tests use this path so derivation receives the same `TxEnve
actions/harness/src/l1/miner.rs:600
↓ 10 callers
Method
subscribe_to_flashblocks
(&self)
crates/execution/flashblocks/src/state.rs:124
↓ 10 callers
Method
success
Creates a mock whose [`block_number_by_hash`](L1HeadProvider::block_number_by_hash) returns `number` and asserts it is called with `hash`.
crates/proof/challenge/src/test_utils.rs:905
↓ 10 callers
Function
test_flashblock
()
crates/execution/flashblocks/src/pending_blocks.rs:866
↓ 10 callers
Function
test_sender
()
crates/execution/flashblocks/src/pending_blocks.rs:862
↓ 10 callers
Method
tick
Called each tick to perform periodic updates, returning any resulting action.
crates/infra/basectl/src/app/view.rs:16
↓ 10 callers
Method
tip
Returns the current L2 tip cursor containing safe head information. # Panics This method panics if called before the cursor is properly initialized w
crates/proof/driver/src/cursor.rs:75
↓ 10 callers
Function
to_system_config
Converts the [`BaseBlock`] to a partial [`SystemConfig`].
crates/consensus/protocol/src/utils.rs:17
↓ 10 callers
Method
transaction_moved
Track a transaction moving from one pool to another.
crates/execution/txpool-tracing/src/tracker.rs:160
↓ 10 callers
Method
transfer_b20_tx
Creates a transaction that transfers B-20 tokens from Alice to `to`.
actions/harness/tests/beryl/env.rs:323
↓ 10 callers
Function
validate_bundle_request
Validates the structural constraints on a [`SendBundleRequest`]. Returns `Ok(())` if all restrictions pass, or an RPC error describing the first viol
crates/execution/txpool/src/bundle/rpc.rs:92
↓ 10 callers
Method
validate_eip8130_structural
Runs the mempool admission checks that apply to EIP-8130 (account abstraction) transactions without requiring authenticator dispatch or account state
crates/execution/txpool/src/validator.rs:978
↓ 10 callers
Method
validate_intermediate_roots
Validates the intermediate output roots of a candidate dispute game. Iterates checkpoint blocks from `starting_block_number + interval` to `l2_block_
crates/proof/challenge/src/validator.rs:315
↓ 10 callers
Method
with_rollup_config
Sets the rollup config.
crates/consensus/derive/src/test_utils/frames.rs:40
↓ 10 callers
Function
with_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/verify.rs:229
↓ 10 callers
Function
with_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/apply.rs:509
↓ 10 callers
Method
with_transaction_sender
(&mut self, hash: B256, sender: Address)
crates/execution/flashblocks/src/pending_blocks.rs:221
↓ 9 callers
Function
activate_policy_registry
(storage: &mut HashMapStorageProvider)
crates/common/precompiles/src/policy/dispatch.rs:178
↓ 9 callers
Method
add
Adds `n` successfully-uploaded bytes to the cumulative counter.
crates/infra/snapshotter/src/progress.rs:403
↓ 9 callers
Method
apply_pre_execution_changes
Applies EIP-4788, EIP-2935, and Canyon create2 deployer pre-execution changes to the EVM. Must be called once per block, before executing any transac
crates/execution/flashblocks/src/state_builder.rs:176
↓ 9 callers
Method
as_receipt
Returns inner [`Receipt`].
crates/common/consensus/src/receipts/receipt.rs:61
↓ 9 callers
Method
attempt_update
Attempts to update the active stage of the mux.
crates/consensus/derive/src/stages/channel/channel_provider.rs:59
↓ 9 callers
Function
auth_blob
`authenticator(20) || data`.
crates/execution/eip8130/src/transaction.rs:212
↓ 9 callers
Method
basic_account
(&self, address: &Address)
crates/execution/trie/src/provider.rs:235
↓ 9 callers
Method
block
(&self)
crates/common/evm/src/evm.rs:394
↓ 9 callers
Method
build_with_inspector
Builds a [`BaseEvm`] with the given inspector. The inspect flag is `true`, so [`Inspector`][revm::Inspector] callbacks are invoked on every [`alloy_ev
crates/common/evm/src/api/builder.rs:60
↓ 9 callers
Method
clone
(&self)
crates/execution/payload/src/builder.rs:79
↓ 9 callers
Function
compressed_claim
A compressed ZK worker claim advertising SP1 capability.
crates/proof/prover-service/db/tests/postgres_integration.rs:1497
↓ 9 callers
Method
confirm
(&mut self, id: SubmissionId, l1_block: u64)
crates/batcher/encoder/src/encoder.rs:774
↓ 9 callers
Method
connect_client
(&mut self)
crates/infra/websocket-proxy/tests/integration.rs:102
↓ 9 callers
Method
create_first_payload
(&self)
crates/execution/flashblocks-node/tests/flashblocks_rpc.rs:278
↓ 9 callers
Method
create_policy
Creates a new ALLOWLIST or BLOCKLIST policy, returning its encoded ID.
crates/common/precompiles/src/policy/storage.rs:187
↓ 9 callers
Method
create_proof_session
Create a new proof session
crates/proof/zk/db/src/repo.rs:626
↓ 9 callers
Function
create_test_account_with_values
Helper to create a test account with custom values
crates/execution/trie/tests/lib.rs:73
↓ 9 callers
Method
create_with_outbox
Atomically create a proof request and outbox entry in a transaction. On `session_id` conflict, lock the row `FOR UPDATE` and branch on state: paramet
crates/proof/zk/db/src/repo.rs:83
↓ 9 callers
Method
deduct_gas
(&mut self, gas: u64)
crates/common/precompile-storage/src/evm.rs:251
↓ 9 callers
Method
delete
(storage: &mut S, len_slot: U256, ctx: LayoutCtx)
crates/common/precompile-storage/src/types/vec.rs:74
↓ 9 callers
Method
derive_next_batch
Derives the next batch to apply on top of the current L2 safe head. Follows the validity rules imposed on consecutive batches. Based on currently avai
crates/consensus/derive/src/stages/batch/batch_queue.rs:97
↓ 9 callers
Method
encode
Encode the frame into a byte vector.
crates/consensus/protocol/src/frame.rs:195
↓ 9 callers
Method
encode
Encodes a [`NetworkPayloadEnvelope`] into a byte array based on the specified topic.
crates/consensus/gossip/src/handler.rs:138
↓ 9 callers
Method
encode_and_drain
Step the encoder until idle, force-close the current channel, and return all frames from every available submission. Convenience wrapper for tests an
crates/batcher/encoder/src/encoder.rs:149
↓ 9 callers
Method
estimate_for_block
Returns fee estimates for the provided block. If `block_number` is `None` the most recent block in the cache is used. Returns `Ok(None)` if the cache
crates/execution/metering/src/estimator.rs:506
↓ 9 callers
Method
extra_data
Returns the extra data for the block. After holocene this extracts the extradata from the payload
crates/builder/core/src/flashblocks/context.rs:386
↓ 9 callers
Function
factory_game
Helper to build a factory game entry.
crates/proof/challenge/src/test_utils.rs:537
↓ 9 callers
Method
finalize
(&mut self)
crates/common/evm/src/evm.rs:239
↓ 9 callers
Method
finish
Finalizes the event ID as a hex-encoded SHA-256 digest.
crates/common/observability-events/src/id.rs:29
↓ 9 callers
Function
from_tx
Build the trie + hashed cursor factories sharing one read transaction at the given block.
crates/execution/trie/src/proof.rs:29
← previous
next →
601–700 of 16,503, ranked by callers