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
Method
from
(mut args: RpcStandardNodeArgs)
crates/execution/cli/src/standard_node.rs:486
Method
from
(genesis: Genesis)
crates/execution/chainspec/src/spec.rs:732
Method
from
(err: BaseEthApiError)
crates/execution/rpc/src/error.rs:54
Method
from
(value: EthPayloadBuilderAttributes)
crates/execution/payload/src/payload.rs:195
Method
from
(err: BaseBlockExecutionError)
crates/execution/evm/src/error.rs:64
Method
from
(storage: S)
crates/execution/trie/src/metrics.rs:757
Method
from
(error: BaseProofsStorageError)
crates/execution/trie/src/provider.rs:112
Method
from
(opt: Option<T>)
crates/execution/trie/src/db/models/version.rs:21
Method
from_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
Method
from_address
Creates a `B20StablecoinStorage` instance targeting `addr`.
crates/common/precompiles/src/b20_stablecoin/storage.rs:46
Method
from_address
Creates a `B20AssetStorage` instance targeting `addr`.
crates/common/precompiles/src/b20_asset/storage.rs:63
Method
from_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
Method
from_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
Function
from_and_matching_sender_is_configured
()
crates/common/rpc-types/src/reth.rs:323
Function
from_and_sender_mismatch_is_rejected
()
crates/common/rpc-types/src/reth.rs:308
Method
from_args
(args: &LoadArgs)
bin/load-tester/src/cli.rs:108
Method
from_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
Method
from_base_error
Classifies a Base precompile error into a bounded metric label.
crates/common/precompiles/src/metrics.rs:224
Method
from_base_upgrade
Returns the version active at `upgrade`, or `None` before the introduction
crates/common/precompiles/src/policy/versions.rs:132
Method
from_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
Method
from_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
Method
from_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
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
Method
from_block_and_genesis
Constructs an [`L2BlockInfo`] from a given Base [`Block`] and [`ChainGenesis`].
crates/consensus/protocol/src/block.rs:196
Function
from_block_error_on_genesis_hash_mismatch
()
crates/consensus/engine/src/task_queue/tasks/finalize/task_test.rs:97
Method
from_block_info
Builds a head from shared block information.
crates/infra/basectl/src/commands/sync_status.rs:305
Method
from_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
Method
from_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
Method
from_block_timestamp_ms
Creates a clock aligned to the boundary after `block_timestamp_ms`.
crates/infra/load-tests/src/runner/block_watcher.rs:81
Method
from_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
Method
from_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
Method
from_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
Method
from_blocks
Create a new chain pre-populated with the given blocks.
actions/harness/src/l1/provider.rs:21
Method
from_blocks
Create a source containing the supplied blocks in iteration order.
actions/harness/src/common/l2_source.rs:19
Method
from_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
Method
from_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
Method
from_byte
Parses a wire channel byte.
crates/common/consensus/src/transaction/eip8130/account_changes.rs:215
Method
from_byte
(byte: u8)
crates/execution/eip8130/src/signature.rs:52
Method
from_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
Method
from_bytes
Create a signer from a 32-byte private key.
crates/proof/tee/nitro-enclave/src/crypto.rs:24
Method
from_call
(call: &'a IB20Factory::createB20Call)
crates/common/precompiles/src/b20_factory/dispatch.rs:217
Method
from_cert_plans
Extracts CRL information from the non-root CA steps in a hinted registration plan.
crates/proof/tee/registrar/src/crl.rs:37
Method
from_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
Method
from_chain_and_timestamp
Returns the active upgrade at the given timestamp for the specified chain.
crates/common/genesis/src/chain/upgrade.rs:307
Method
from_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
Method
from_chain_id
Constructs a [`BaseEnr`] from a chain id.
crates/consensus/peers/src/enr.rs:94
Method
from_checks
Builds a summary from individual checks.
crates/infra/basectl/src/doctor.rs:136
Method
from_cli
Builds config from clap CLI args, resolving the game on L1 via the factory.
crates/infra/zk-fork-dispute/src/config.rs:55
Method
from_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
Method
from_cli
Create a validated configuration from CLI arguments.
crates/proof/proposer/src/config.rs:60
Method
from_compact
(buf: &[u8], len: usize)
crates/common/consensus/src/reth_compat.rs:78
Method
from_compact
(buf: &[u8], len: usize)
crates/common/consensus/src/transaction/eip8130/tx.rs:541
Method
from_compact
(buf: &[u8], len: usize)
crates/common/consensus/src/transaction/eip8130/signed.rs:690
Method
from_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
Method
from_config
(args: Self::Config)
crates/builder/core/src/extension.rs:104
Method
from_config
(config: Self::Config)
crates/builder/core/tests/extensions.rs:31
Method
from_config
(config: Self::Config)
crates/builder/metering/src/extension.rs:28
Method
from_config
(config: Self::Config)
crates/execution/txpool-tracing/src/extension.rs:79
Method
from_config
(config: Self::Config)
crates/execution/shadow-indexer/src/extension.rs:29
Method
from_config
(config: Self::Config)
crates/execution/flashblocks-node/src/extension.rs:103
Method
from_config
(config: Self::Config)
crates/execution/cli/src/upgrade_signal.rs:462
Method
from_config
(config: Self::Config)
crates/execution/metering/src/extension.rs:98
Method
from_config
(config: Self::Config)
crates/execution/txpool-rpc/src/extension.rs:109
Method
from_config
(config: Self::Config)
crates/execution/tx-forwarding/src/extension.rs:64
Method
from_config
(config: Self::Config)
crates/execution/proofs/src/proofs.rs:129
Method
from_config
(mode: Eip8130RpcMode)
crates/execution/eip8130-rpc-node/src/extension.rs:61
Method
from_consensus_header
( header: reth_primitives_traits::SealedHeader<T>, block_size: usize, )
crates/common/rpc-types/src/block.rs:180
Method
from_consensus_tx
( tx: BaseTxEnvelope, signer: Address, tx_info: BaseTransactionInfo, )
crates/common/rpc-types/src/reth.rs:40
Method
from_content
Normalizes an unfiltered `txpool_content` response.
crates/infra/basectl/src/rpc/txpool.rs:229
Method
from_content_from
Normalizes a sender-filtered `txpool_contentFrom` response.
crates/infra/basectl/src/rpc/txpool.rs:250
Method
from_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
Method
from_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
Method
from_details
(network: &str, l1_rpc: &Url, factory: Address, details: &GameDetails)
crates/infra/basectl/src/commands/proofs.rs:1481
Method
from_discriminant
Returns the supported token variant for `variant`, if any.
crates/common/precompiles/src/b20_factory/variant.rs:43
Function
from_encoded_eip8130_populates_parts
()
crates/common/evm/src/transaction/core.rs:387
Method
from_encoded_tx
(tx: &BaseTxEnvelope, caller: Address, encoded: Bytes)
crates/common/evm/src/transaction/core.rs:263
Method
from_encoded_tx
( tx: &BaseTxEnvelope, caller: alloy_primitives::Address, _encoded: alloy_primitives::
crates/common/consensus/src/transaction/envelope.rs:233
Method
from_env
Loads the shared fixture selected for this process, if any.
etc/systems/src/shared_l1.rs:56
Method
from_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
Method
from_error
Creates a rejected-event payload from a builder execution error.
crates/builder/core/src/transaction_events.rs:172
Method
from_error
Returns a `&'static str` label for the given [`PoolError`].
crates/execution/txpool/src/pool_error_label.rs:11
Method
from_ethereum_hardfork
Returns the Base upgrade that carries the given Ethereum hardfork on Base.
crates/common/genesis/src/chain/upgrade.rs:261
Method
from_evm_halt
(halt: BaseHaltReason, gas_limit: u64)
crates/execution/rpc/src/error.rs:168
Method
from_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
Function
from_execution_drops_simulated_state_rows_but_keeps_sstore
()
crates/execution/payload/src/resource_metering.rs:1538
Method
from_failure
Builds the failure entry from a fanout report failure.
crates/infra/basectl/src/commands/conductor.rs:477
Method
from_failures
Builds an outcome from whether failures were observed.
crates/infra/basectl/src/commands/outcome.rs:18
Method
from_file
Loads a schedule from a JSON file and compiles it.
crates/execution/payload/src/resource_metering.rs:606
Method
from_file_dto
(file: ResourceMeteringScheduleFile)
crates/execution/payload/src/resource_metering.rs:612
Method
from_games
( network: &str, l1_rpc: &Url, factory: Address, total_games: u64, gam
crates/infra/basectl/src/commands/proofs.rs:1366
Method
from_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
Method
from_genesis
Converts the given [`Genesis`] into an [`BaseChainSpec`].
crates/execution/chainspec/src/spec.rs:136
Method
from_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
Function
from_granite_matches_the_fault_proof_forks
()
actions/harness/src/matrix.rs:197
Method
from_header
Parses the [`BaseSpecId`] from the chain spec and block header.
crates/common/evm/src/spec.rs:38
Method
from_health_config
Creates a checker from a deployed `TEEProverRegistry` configuration.
crates/proof/tee/nitro-host/src/registration.rs:110
Method
from_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
Method
from_id
Returns the built-in policy type for `id`, if it is recognized.
crates/common/precompiles/src/common/policy_type.rs:41
Method
from_info
Creates a new `L1Block` from raw L1 block info.
crates/infra/basectl/src/app/state.rs:110
Method
from_is_leader
Derives the role from an optionally known leadership flag.
crates/infra/basectl/src/commands/sequencer.rs:781
← previous
next →
13,101–13,200 of 23,652, ranked by callers