MCPcopy Create free account

hub / github.com/base/base / functions

Functions23,652 in github.com/base/base

Methodfrom
(mut args: RpcStandardNodeArgs)
crates/execution/cli/src/standard_node.rs:486
Methodfrom
(genesis: Genesis)
crates/execution/chainspec/src/spec.rs:732
Methodfrom
(err: BaseEthApiError)
crates/execution/rpc/src/error.rs:54
Methodfrom
(value: EthPayloadBuilderAttributes)
crates/execution/payload/src/payload.rs:195
Methodfrom
(err: BaseBlockExecutionError)
crates/execution/evm/src/error.rs:64
Methodfrom
(storage: S)
crates/execution/trie/src/metrics.rs:757
Methodfrom
(error: BaseProofsStorageError)
crates/execution/trie/src/provider.rs:112
Methodfrom
(opt: Option<T>)
crates/execution/trie/src/db/models/version.rs:21
Methodfrom_abi
Returns the supported token variant for an ABI enum value, or `None` for unknown variants.
crates/common/precompiles/src/b20_factory/variant.rs:52
Methodfrom_address
Creates a `B20StablecoinStorage` instance targeting `addr`.
crates/common/precompiles/src/b20_stablecoin/storage.rs:46
Methodfrom_address
Creates a `B20AssetStorage` instance targeting `addr`.
crates/common/precompiles/src/b20_asset/storage.rs:63
Methodfrom_address
Returns the token variant encoded in `address`, if it has a supported B-20 prefix.
crates/common/precompiles/src/b20_factory/variant.rs:66
Methodfrom_admin_node_info
Builds the identity from the raw `admin_nodeInfo` enode string, treating an empty string as absent.
crates/infra/basectl/src/rpc/p2p.rs:65
Functionfrom_and_matching_sender_is_configured
()
crates/common/rpc-types/src/reth.rs:323
Functionfrom_and_sender_mismatch_is_rejected
()
crates/common/rpc-types/src/reth.rs:308
Methodfrom_args
(args: &LoadArgs)
bin/load-tester/src/cli.rs:108
Methodfrom_base_chain
Resolves a Base network selector (`mainnet`, `sepolia`, `zeronet`, `dev`) to its built-in config. # Why this differs from [`by_name`](Self::by_name)
crates/common/chains/src/config.rs:255
Methodfrom_base_error
Classifies a Base precompile error into a bounded metric label.
crates/common/precompiles/src/metrics.rs:224
Methodfrom_base_upgrade
Returns the version active at `upgrade`, or `None` before the introduction
crates/common/precompiles/src/policy/versions.rs:132
Methodfrom_base_upgrade
Returns the version active at `upgrade`, or `None` before the introduction fork (Beryl), where the stablecoin precompile is not installed at all. V1
crates/common/precompiles/src/b20_stablecoin/versions.rs:73
Methodfrom_base_upgrade
Returns the version active at `upgrade`, or `None` before the introduction fork (Beryl), where the asset precompile is not installed at all. V1 is ac
crates/common/precompiles/src/b20_asset/versions.rs:195
Methodfrom_base_upgrade
Returns the version active at `upgrade`, or `None` before the introduction fork (Beryl), where the factory precompile is not installed at all.
crates/common/precompiles/src/b20_factory/versions.rs:112
Methodfrom_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
Methodfrom_block_and_genesis
Constructs an [`L2BlockInfo`] from a given Base [`Block`] and [`ChainGenesis`].
crates/consensus/protocol/src/block.rs:196
Functionfrom_block_error_on_genesis_hash_mismatch
()
crates/consensus/engine/src/task_queue/tasks/finalize/task_test.rs:97
Methodfrom_block_info
Builds a head from shared block information.
crates/infra/basectl/src/commands/sync_status.rs:305
Methodfrom_block_slow
Conversion from [`alloy_consensus::Block`]. Also returns the [`BaseExecutionPayloadSidecar`] extracted from the block. See also [`from_block_unchecke
crates/common/rpc-types-engine/src/envelope.rs:150
Methodfrom_block_slow
Conversion from [`alloy_consensus::Block`]. Also returns the [`BaseExecutionPayloadSidecar`] extracted from the block. See also [`from_block_unchecke
crates/common/rpc-types-engine/src/payload/mod.rs:317
Methodfrom_block_timestamp_ms
Creates a clock aligned to the boundary after `block_timestamp_ms`.
crates/infra/load-tests/src/runner/block_watcher.rs:81
Methodfrom_block_unchecked
Conversion from [`alloy_consensus::Block`]. Also returns the [`BaseExecutionPayloadSidecar`] extracted from the block. See also [`BaseExecutionPayloa
crates/common/rpc-types-engine/src/envelope.rs:164
Methodfrom_block_unchecked
Conversion from [`alloy_consensus::Block`]. Also returns the [`BaseExecutionPayloadSidecar`] extracted from the block. See also [`ExecutionPayload::f
crates/common/rpc-types-engine/src/payload/mod.rs:330
Methodfrom_block_unchecked_with_extras
Conversion from [`alloy_consensus::Block`] with optional Amsterdam block access list RLP bytes.
crates/common/rpc-types-engine/src/envelope.rs:174
Methodfrom_blocks
Create a new chain pre-populated with the given blocks.
actions/harness/src/l1/provider.rs:21
Methodfrom_blocks
Create a source containing the supplied blocks in iteration order.
actions/harness/src/common/l2_source.rs:19
Methodfrom_boot_info
Constructs a new oracle-backed derivation pipeline from boot info and an oracle. This factory method sets up all the required providers and cursors f
crates/proof/proof/src/l1/pipeline.rs:111
Methodfrom_builtin
Creates resolved values from a built-in Base network selector. Returns `None` if the selector is not a known built-in chain.
bin/base/src/config.rs:97
Methodfrom_byte
Parses a wire channel byte.
crates/common/consensus/src/transaction/eip8130/account_changes.rs:215
Methodfrom_byte
(byte: u8)
crates/execution/eip8130/src/signature.rs:52
Methodfrom_bytes
Parses a `COSE_Sign1` structure from raw CBOR bytes. Handles the optional CBOR tag 18 (`COSE_Sign1`) per RFC 8152. The input is expected to be a CBOR
crates/proof/tee/nitro-verifier/src/attestation.rs:36
Methodfrom_bytes
Create a signer from a 32-byte private key.
crates/proof/tee/nitro-enclave/src/crypto.rs:24
Methodfrom_call
(call: &'a IB20Factory::createB20Call)
crates/common/precompiles/src/b20_factory/dispatch.rs:217
Methodfrom_cert_plans
Extracts CRL information from the non-root CA steps in a hinted registration plan.
crates/proof/tee/registrar/src/crl.rs:37
Methodfrom_cfg
Returns the appropriate [`EngineForkchoiceVersion`] for the chain at the given attributes. Uses the [`RollupConfig`] to check which upgrade is active
crates/consensus/engine/src/versions.rs:34
Methodfrom_chain_and_timestamp
Returns the active upgrade at the given timestamp for the specified chain.
crates/common/genesis/src/chain/upgrade.rs:307
Methodfrom_chain_id
Returns the bootnodes for the given chain id. If the chain id is not recognized, no bootnodes are returned.
crates/consensus/peers/src/nodes.rs:30
Methodfrom_chain_id
Constructs a [`BaseEnr`] from a chain id.
crates/consensus/peers/src/enr.rs:94
Methodfrom_checks
Builds a summary from individual checks.
crates/infra/basectl/src/doctor.rs:136
Methodfrom_cli
Builds config from clap CLI args, resolving the game on L1 via the factory.
crates/infra/zk-fork-dispute/src/config.rs:55
Methodfrom_cli
Creates a validated [`ChallengerConfig`] from parsed CLI arguments. # Errors Returns an error if any validation check fails.
crates/proof/challenge/src/config.rs:58
Methodfrom_cli
Create a validated configuration from CLI arguments.
crates/proof/proposer/src/config.rs:60
Methodfrom_compact
(buf: &[u8], len: usize)
crates/common/consensus/src/reth_compat.rs:78
Methodfrom_compact
(buf: &[u8], len: usize)
crates/common/consensus/src/transaction/eip8130/tx.rs:541
Methodfrom_compact
(buf: &[u8], len: usize)
crates/common/consensus/src/transaction/eip8130/signed.rs:690
Methodfrom_config
Opens the configured file and starts the background writer task. If the writer is disabled, returns a handle that drops events with a metric. If init
crates/common/observability-events/src/writer.rs:194
Methodfrom_config
(args: Self::Config)
crates/builder/core/src/extension.rs:104
Methodfrom_config
(config: Self::Config)
crates/builder/core/tests/extensions.rs:31
Methodfrom_config
(config: Self::Config)
crates/builder/metering/src/extension.rs:28
Methodfrom_config
(config: Self::Config)
crates/execution/txpool-tracing/src/extension.rs:79
Methodfrom_config
(config: Self::Config)
crates/execution/shadow-indexer/src/extension.rs:29
Methodfrom_config
(config: Self::Config)
crates/execution/flashblocks-node/src/extension.rs:103
Methodfrom_config
(config: Self::Config)
crates/execution/cli/src/upgrade_signal.rs:462
Methodfrom_config
(config: Self::Config)
crates/execution/metering/src/extension.rs:98
Methodfrom_config
(config: Self::Config)
crates/execution/txpool-rpc/src/extension.rs:109
Methodfrom_config
(config: Self::Config)
crates/execution/tx-forwarding/src/extension.rs:64
Methodfrom_config
(config: Self::Config)
crates/execution/proofs/src/proofs.rs:129
Methodfrom_config
(mode: Eip8130RpcMode)
crates/execution/eip8130-rpc-node/src/extension.rs:61
Methodfrom_consensus_header
( header: reth_primitives_traits::SealedHeader<T>, block_size: usize, )
crates/common/rpc-types/src/block.rs:180
Methodfrom_consensus_tx
( tx: BaseTxEnvelope, signer: Address, tx_info: BaseTransactionInfo, )
crates/common/rpc-types/src/reth.rs:40
Methodfrom_content
Normalizes an unfiltered `txpool_content` response.
crates/infra/basectl/src/rpc/txpool.rs:229
Methodfrom_content_from
Normalizes a sender-filtered `txpool_contentFrom` response.
crates/infra/basectl/src/rpc/txpool.rs:250
Methodfrom_contract_fork_name
Returns the contract-backed upgrade represented by an execution, Base, or contract alias name. Returns `None` for unknown names and for non-contract-b
crates/common/genesis/src/chain/upgrade.rs:273
Methodfrom_der
Parses DER-encoded certificates into a certificate chain. The certificates must be in chain order: root → intermediates → leaf.
crates/proof/tee/nitro-verifier/src/x509.rs:77
Methodfrom_details
(network: &str, l1_rpc: &Url, factory: Address, details: &GameDetails)
crates/infra/basectl/src/commands/proofs.rs:1481
Methodfrom_discriminant
Returns the supported token variant for `variant`, if any.
crates/common/precompiles/src/b20_factory/variant.rs:43
Functionfrom_encoded_eip8130_populates_parts
()
crates/common/evm/src/transaction/core.rs:387
Methodfrom_encoded_tx
(tx: &BaseTxEnvelope, caller: Address, encoded: Bytes)
crates/common/evm/src/transaction/core.rs:263
Methodfrom_encoded_tx
( tx: &BaseTxEnvelope, caller: alloy_primitives::Address, _encoded: alloy_primitives::
crates/common/consensus/src/transaction/envelope.rs:233
Methodfrom_env
Loads the shared fixture selected for this process, if any.
etc/systems/src/shared_l1.rs:56
Methodfrom_env
Create database configuration from environment variables. # Errors Returns an error if any required environment variable is missing.
crates/proof/prover-service/db/src/config.rs:34
Methodfrom_error
Creates a rejected-event payload from a builder execution error.
crates/builder/core/src/transaction_events.rs:172
Methodfrom_error
Returns a `&'static str` label for the given [`PoolError`].
crates/execution/txpool/src/pool_error_label.rs:11
Methodfrom_ethereum_hardfork
Returns the Base upgrade that carries the given Ethereum hardfork on Base.
crates/common/genesis/src/chain/upgrade.rs:261
Methodfrom_evm_halt
(halt: BaseHaltReason, gas_limit: u64)
crates/execution/rpc/src/error.rs:168
Methodfrom_execution
Builds an executed-preferred sample. Actual gas and `STATE_*` counts from post-state replace simulated `STATE_*` rows. Other simulated opcode and pre
crates/execution/payload/src/resource_metering.rs:228
Functionfrom_execution_drops_simulated_state_rows_but_keeps_sstore
()
crates/execution/payload/src/resource_metering.rs:1538
Methodfrom_failure
Builds the failure entry from a fanout report failure.
crates/infra/basectl/src/commands/conductor.rs:477
Methodfrom_failures
Builds an outcome from whether failures were observed.
crates/infra/basectl/src/commands/outcome.rs:18
Methodfrom_file
Loads a schedule from a JSON file and compiles it.
crates/execution/payload/src/resource_metering.rs:606
Methodfrom_file_dto
(file: ResourceMeteringScheduleFile)
crates/execution/payload/src/resource_metering.rs:612
Methodfrom_games
( network: &str, l1_rpc: &Url, factory: Address, total_games: u64, gam
crates/infra/basectl/src/commands/proofs.rs:1366
Methodfrom_genesis
Create an [`ActionL2ChainProvider`] pre-populated with the L2 genesis block. The genesis [`L2BlockInfo`] is derived from the rollup config's genesis
actions/harness/src/providers/l2.rs:64
Methodfrom_genesis
Converts the given [`Genesis`] into an [`BaseChainSpec`].
crates/execution/chainspec/src/spec.rs:136
Methodfrom_granite
Returns the canonical fault-proof fork progression from Granite onward. The `pectra-blob-schedule` compatibility patch (a Base Sepolia-only quirk) an
actions/harness/src/matrix.rs:69
Functionfrom_granite_matches_the_fault_proof_forks
()
actions/harness/src/matrix.rs:197
Methodfrom_header
Parses the [`BaseSpecId`] from the chain spec and block header.
crates/common/evm/src/spec.rs:38
Methodfrom_health_config
Creates a checker from a deployed `TEEProverRegistry` configuration.
crates/proof/tee/nitro-host/src/registration.rs:110
Methodfrom_hex
Create a signer from a hex-encoded private key. The hex string may optionally be prefixed with "0x".
crates/proof/tee/nitro-enclave/src/crypto.rs:33
Methodfrom_id
Returns the built-in policy type for `id`, if it is recognized.
crates/common/precompiles/src/common/policy_type.rs:41
Methodfrom_info
Creates a new `L1Block` from raw L1 block info.
crates/infra/basectl/src/app/state.rs:110
Methodfrom_is_leader
Derives the role from an optionally known leadership flag.
crates/infra/basectl/src/commands/sequencer.rs:781
← previousnext →13,101–13,200 of 23,652, ranked by callers