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
↓ 6 callers
Function
tx_multi
Creates a transaction with independent resource usage per dimension.
crates/execution/metering/src/estimator.rs:916
↓ 6 callers
Function
ungated
(authenticator: Address, scope: u8)
crates/execution/eip8130/src/apply.rs:525
↓ 6 callers
Function
unix_time_millis
Returns current time as milliseconds since Unix epoch.
crates/execution/txpool/src/transaction.rs:38
↓ 6 callers
Function
unsafe_payload
( block_number: u64, parent_hash: B256, block_hash: B256, )
crates/consensus/service/src/actors/engine/engine_request_processor.rs:962
↓ 6 callers
Method
update
Stores a checkpoint for the given label.
crates/consensus/service/src/actors/checkpoint/db.rs:79
↓ 6 callers
Method
update_with_receipts
Filters all L1 receipts to find config updates and applies the config updates. Each config update log is applied independently. Malformed or invalid
crates/common/genesis/src/system/config.rs:130
↓ 6 callers
Method
upgrade
Returns the wrapped Base upgrade.
crates/common/evm/src/spec.rs:23
↓ 6 callers
Function
v3_valid_block
Make the block v3 compatible
crates/consensus/gossip/src/block_validity.rs:391
↓ 6 callers
Function
valid_blob_batcher_address
()
crates/consensus/derive/src/sources/blobs.rs:254
↓ 6 callers
Method
validate
Validate the endpoint and duration fields.
crates/proof/prover-service/client/src/config.rs:140
↓ 6 callers
Function
validate_block_post_execution
Validate a block with regard to execution results: - Compares the receipts root in the block header to the block body - Compares the gas used in the
crates/execution/consensus/src/validation/mod.rs:95
↓ 6 callers
Method
validate_header_against_parent
( &self, header: &SealedHeader<Header>, parent: &SealedHeader<Header>, )
crates/execution/consensus/src/lib.rs:209
↓ 6 callers
Method
with_admin_rx
Wire an admin command channel into the driver. When set, the driver processes admin commands as part of its main `select!` loop. When absent, the adm
crates/batcher/core/src/driver.rs:126
↓ 6 callers
Method
with_da_config
Configure the data availability configuration for the payload builder.
crates/execution/node/src/node.rs:229
↓ 6 callers
Method
with_finalized_head
Sets the finalized head
crates/consensus/engine/src/test_utils/engine_state.rs:54
↓ 6 callers
Method
with_gas_limit_config
Configure the gas limit configuration for the payload builder.
crates/execution/node/src/node.rs:235
↓ 6 callers
Method
with_jovian_at
Sets the Jovian activation timestamp. Typically chained after [`through_isthmus`](Self::through_isthmus) to schedule Jovian at a specific future time
actions/harness/src/test_rollup_config.rs:150
↓ 6 callers
Method
with_network
Connects the container to the provided Docker network.
etc/systems/src/deployer/base_deployer.rs:100
↓ 6 callers
Method
write
Write a hint to the host. This will overwrite any existing hint in the channel, and block until all data has been written.
crates/proof/preimage/src/hint.rs:32
↓ 6 callers
Method
write
(&mut self, data: &[u8])
crates/batcher/comp/src/zlib.rs:63
↓ 5 callers
Method
act_l1_safe_next
Advance the safe pointer to the next block (capped at the latest head).
actions/harness/src/l1/miner.rs:480
↓ 5 callers
Method
add_batch
Accepts the given [Batch] data into the [`ChannelOut`], compressing it into frames.
crates/batcher/comp/src/channel_out.rs:85
↓ 5 callers
Method
all_transactions
(&self)
crates/execution/txpool/src/pool.rs:679
↓ 5 callers
Function
append_hashed_storage
( wtx: &<DatabaseEnv as Database>::TXMut, addr: B256, slot: B256, block: u64,
crates/execution/trie/src/db/cursor.rs:462
↓ 5 callers
Function
append_storage_trie
( wtx: &<DatabaseEnv as Database>::TXMut, address: B256, path: Nibbles, block:
crates/execution/trie/src/db/cursor.rs:449
↓ 5 callers
Method
assert_balances
(&self, alice: u64, bob: u64, carol: u64)
actions/harness/tests/beryl/b20.rs:966
↓ 5 callers
Method
assert_staticcall_cases
(&mut self, cases: Vec<StaticcallCase>)
actions/harness/tests/beryl/b20.rs:895
↓ 5 callers
Method
assert_total_supply
(&self, total_supply: u64)
actions/harness/tests/beryl/b20.rs:958
↓ 5 callers
Function
attr_path_is
Returns whether an attribute path ends with the provided identifier.
crates/common/precompile-macros/src/utils.rs:43
↓ 5 callers
Method
base_fee
(&self)
crates/consensus/protocol/src/info/bedrock_base.rs:53
↓ 5 callers
Method
batcher_address
Returns the batcher address for the info transaction
crates/consensus/protocol/src/info/variant.rs:372
↓ 5 callers
Method
block_by_number
(&mut self, number: u64)
crates/consensus/providers/src/l2_chain_provider.rs:236
↓ 5 callers
Method
block_hash_registry
Return a clone of the shared block-hash registry.
actions/harness/src/engine.rs:266
↓ 5 callers
Function
bond_test_state
(claim_addr: Address)
crates/proof/challenge/tests/driver.rs:1436
↓ 5 callers
Method
build
Build the [`BaseTransaction`] instance, return error if the transaction is not valid.
crates/common/evm/src/transaction/builder.rs:121
↓ 5 callers
Method
build
Builds the [`GossipDriver`].
crates/consensus/gossip/src/builder.rs:151
↓ 5 callers
Method
build
Builds a receipt for any transaction type, handling deposit receipts internally. This method builds either a regular receipt or a deposit receipt bas
crates/execution/flashblocks/src/receipt_builder.rs:72
↓ 5 callers
Method
build_base_with_activation_admin_address
Builds a [`BaseEvm`] with a `()` inspector and an activation registry admin address. The inspect flag is `false`, so [`Inspector`][revm::Inspector] c
crates/common/evm/src/api/builder.rs:43
↓ 5 callers
Method
build_block_with_transactions
(&mut self, txs: Vec<BaseTxEnvelope>)
actions/harness/tests/beryl/policy_registry.rs:682
↓ 5 callers
Method
build_block_with_transactions
( &mut self, transactions: Vec<BaseTxEnvelope>, )
actions/harness/tests/beryl/security.rs:466
↓ 5 callers
Function
build_pending_blocks_with_logs
Builds a [`PendingBlocks`] with the supplied (hash, `log_address`) pairs inserted in the given order.
crates/execution/flashblocks/src/pending_blocks.rs:1165
↓ 5 callers
Method
build_polled
Builds a derivation pipeline with the [`PolledAttributesQueueStage`].
crates/consensus/derive/src/pipeline/builder.rs:100
↓ 5 callers
Function
call_last_frame_return
Creates frame result.
crates/common/evm/src/handler.rs:435
↓ 5 callers
Method
cancel
Signal cancellation and propagate to all live children. Holds the `children` lock while setting the flag so that [`new_child`] cannot register a new
crates/utilities/runtime/src/deterministic/mod.rs:172
↓ 5 callers
Method
chain_provider
Sets the chain provider for the pipeline.
crates/consensus/derive/src/pipeline/builder.rs:94
↓ 5 callers
Function
chain_spec_with_address
Helper to create a chain spec with a genesis account funded
crates/execution/trie/tests/live.rs:79
↓ 5 callers
Method
clear_blocks_from
Clears all blocks with `block_number` >= the specified value. Returns the number of blocks cleared.
crates/execution/metering/src/cache.rs:253
↓ 5 callers
Method
clear_from
Remove all cached entries at or above the given block number. Used when a revert or reorg invalidates cached blocks.
crates/execution/exex/src/sync_target.rs:210
↓ 5 callers
Method
compare_ready
Compare all currently paired decoded batches.
crates/batcher/service/src/shadow_parity.rs:606
↓ 5 callers
Method
complete_session_and_update_receipt
Atomically update proof session to COMPLETED and update proof request with the receipt. The request update is guarded on `status = 'RUNNING'`. If the
crates/proof/zk/db/src/repo.rs:988
↓ 5 callers
Method
components
Returns the components for the given [`RollupArgs`].
crates/execution/node/src/node.rs:241
↓ 5 callers
Method
compress
Compress `data` using ZLIB deflate.
crates/batcher/comp/src/zlib.rs:43
↓ 5 callers
Function
config
()
crates/infra/audit/src/transaction_events.rs:958
↓ 5 callers
Function
configured_signed
Signs `tx` for a configured sender as `K1_AUTHENTICATOR || sig`.
crates/common/evm/src/eip8130.rs:2420
↓ 5 callers
Function
confirm_or_abort
Confirms a destructive action and prints `aborted` when declined.
bin/basectl/src/confirm.rs:15
↓ 5 callers
Method
connect
Connects to Postgres without running migrations.
crates/infra/audit/src/transaction_events.rs:259
↓ 5 callers
Method
contains_key
Checks if a transaction hash is in the cache.
crates/builder/core/src/rejection_cache.rs:22
↓ 5 callers
Function
create_block_with_transactions
( harness: &TestHarness, transactions: Vec<BaseTransactionSigned>, )
crates/execution/metering/src/block.rs:149
↓ 5 callers
Method
create_bob_tx
Creates and signs a transaction from Bob's account.
actions/harness/tests/beryl/env.rs:184
↓ 5 callers
Method
create_test_rollup_node
Create a [`TestRollupNode`] wired to a sequencer's block-hash registry. Builds the full derivation pipeline and an [`ActionEngineClient`] that shares
actions/harness/src/harness.rs:150
↓ 5 callers
Method
dap_source
Sets the data availability provider for the pipeline.
crates/consensus/derive/src/pipeline/builder.rs:76
↓ 5 callers
Method
data
Replaces producer-specific event data.
crates/common/observability-events/src/emit.rs:176
↓ 5 callers
Method
decode_block_count
Decode a block count from a reader.
crates/consensus/protocol/src/batch/payload.rs:55
↓ 5 callers
Function
decode_policy_call
(calldata: &[u8])
crates/common/precompiles/src/macros.rs:98
↓ 5 callers
Method
deduct_calldata_gas
Deducts the common calldata gas charged by Beryl precompile dispatch.
crates/common/precompiles/src/metrics.rs:596
↓ 5 callers
Method
dialing
(&mut self, addr: &Multiaddr)
crates/consensus/gossip/src/gater.rs:365
↓ 5 callers
Method
dispatch
ABI-dispatches `calldata` to the appropriate `IB20Factory` handler.
crates/common/precompiles/src/b20_factory/dispatch.rs:15
↓ 5 callers
Method
drain
Attempts to drain the queue by executing all [`EngineTask`]s in-order. If any task returns an error along the way, it is not popped from the queue (in
crates/consensus/engine/src/task_queue/core.rs:532
↓ 5 callers
Method
drain_confirmed_metrics
Drains confirmed metrics that have not yet been consumed by the runner.
crates/infra/load-tests/src/runner/results_tracker.rs:206
↓ 5 callers
Function
drain_test_tasks
(proof_tasks: &mut ProofTaskSet)
crates/proof/tee/registrar/src/signer_manager.rs:977
↓ 5 callers
Function
dummy_l2_block_info
Creates a dummy `L2BlockInfo` for testing
crates/consensus/service/src/actors/derivation/state_machine.rs:234
↓ 5 callers
Method
ecotone_activated
Enable Ecotone at genesis.
crates/execution/chainspec/src/builder.rs:98
↓ 5 callers
Method
effective_expiry
Computes the effective expiry timestamp from the current time and the prover's timeout, taking the minimum with the on-chain expiry if provided.
crates/proof/tee/nitro-attestation-prover/src/boundless.rs:706
↓ 5 callers
Method
eip2718_encoded_length
Get the length of the transaction when EIP-2718 encoded. This is the 1 byte type flag + the length of the RLP encoded transaction.
crates/common/consensus/src/transaction/deposit.rs:172
↓ 5 callers
Method
eip8130_nonce_free_replay_id
(&self)
crates/execution/txpool/src/transaction.rs:377
↓ 5 callers
Method
encode
(&self, out: &mut dyn alloy_rlp::BufMut)
crates/consensus/peers/src/enr.rs:100
↓ 5 callers
Method
encode_2718
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/transaction/eip8130/signed.rs:410
↓ 5 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:654
↓ 5 callers
Function
encode_extra_data
Encodes the `extraData` for `DisputeGameFactory.createWithInitData()`. Format: `l2BlockNumber(32) + parentAddress(20) + intermediateRoots(32 * N)`.
crates/proof/contracts/src/dispute_game_factory.rs:166
↓ 5 callers
Function
ensure_eip8130_system_accounts
The Cobalt upgrade enables EIP-8130. The enshrined execution path writes persistent state (e.g. 2D nonce channels) to system accounts that hold storag
crates/common/evm/src/cobalt.rs:43
↓ 5 callers
Method
ensure_initialized_and_get_counter
First-touch setup for the registry: sets the bytecode marker and writes the two built-in policies into the `policies` mapping. Gated on `next_counter
crates/common/precompiles/src/policy/storage.rs:163
↓ 5 callers
Function
eoa_signed
Signs `tx` as an EOA (bare `sender_auth`, no payer) and authorizes it.
crates/execution/eip8130/src/transaction.rs:274
↓ 5 callers
Method
evm_mut
(&mut self)
crates/execution/engine-tree/src/cached_execution.rs:232
↓ 5 callers
Function
evm_with
( balance: U256, sender: Address, )
crates/common/evm/src/eip8130.rs:1561
↓ 5 callers
Method
execute
Executes the EIP-8130 transaction currently set on `evm`, mutating the journal in place and returning the [`ExecutionResult`]. A success result is ret
crates/common/evm/src/eip8130.rs:169
↓ 5 callers
Method
execute
(&self, state: &mut EngineState)
crates/consensus/engine/src/task_queue/tasks/task.rs:185
↓ 5 callers
Function
fast_send_config
Config optimized for fast test execution: builds on [`fast_polling_config`] with a slower polling interval and a long resubmission timeout to prevent
crates/utilities/tx-manager/tests/send_lifecycle.rs:37
↓ 5 callers
Method
fetch_previous_manifest
Fetches the most recent `manifest.json` from a prior run, if one exists. Looks for keys matching `{prefix}/{digits}/manifest.json` (where `{digits}`
crates/infra/snapshotter/src/upload.rs:121
↓ 5 callers
Method
fetch_rpc_data_with_mode
Fetch arbitrary data from the RPC.
crates/proof/succinct/utils/host/src/fetcher.rs:477
↓ 5 callers
Method
flush
(&mut self)
crates/consensus/derive/src/stages/batch/batch_stream.rs:110
↓ 5 callers
Function
flz_compress_len
Returns the length of the data after compression through `FastLZ`. The u32s match op-geth's Go port. <https://github.com/Vectorized/solady/blob/5315
crates/common/flz/src/flz.rs:51
↓ 5 callers
Method
force_defaults
Apply forced defaults for canonical hashing. These values are normalized to ensure deterministic hashing regardless of what values were originally pr
crates/proof/primitives/src/per_chain_config.rs:205
↓ 5 callers
Method
fork
Returns the runtime-aware activation condition for a hardfork.
crates/execution/chainspec/src/spec.rs:291
↓ 5 callers
Method
format
Formats a chunk archive filename.
crates/infra/snapshotter/src/snapshot.rs:432
↓ 5 callers
Method
forward_batch
Forwards a batch of bundle events into the event channel, deduplicating against `self.cache`. Returns the count of unique events forwarded.
crates/infra/audit/src/rpc.rs:108
↓ 5 callers
Function
forwarding_message
(response: MeterBundleResponse)
crates/infra/ingress-rpc/src/lib.rs:379
↓ 5 callers
Method
from
(value: BatchTypeArg)
bin/batcher/src/cli.rs:392
↓ 5 callers
Method
from_block
Extracts the [`BaseExecutionPayloadSidecar`] from the given [`Block`]. Returns `BaseExecutionPayloadSidecar::default` if the block does not contain a
crates/common/rpc-types-engine/src/sidecar.rs:33
↓ 5 callers
Method
generate_proof_for_signer
( &self, attestation_bytes: &[u8], signer_address: Address, cancel: &Cancellat
crates/proof/tee/nitro-attestation-prover/src/types.rs:98
↓ 5 callers
Method
get
(&self, key: PreimageKey)
crates/proof/succinct/utils/client/src/witness/preimage_store.rs:103
← previous
next →
1,201–1,300 of 16,503, ranked by callers