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
new_from_sequence_number
Construct from default values and `sequence_number`.
crates/common/consensus/src/info/bedrock.rs:173
Method
new_from_sequence_number
Construct from default values and `sequence_number`.
crates/common/consensus/src/info/ecotone.rs:181
Method
new_from_sequence_number
Construct from default values and `sequence_number`.
crates/common/consensus/src/info/ecotone_base.rs:63
Method
new_http
Construct a client that talks to an execution-layer node over HTTP JSON-RPC. The provider is built with `disable_recommended_fillers()` because sidec
crates/infra/sidecrush/src/healthcheck/alloy_client.rs:18
Method
new_http
Creates a new [`AlloyChainProvider`] from the provided [`url::Url`]. The underlying HTTP provider uses the default [`crate::L1_RPC_TIMEOUT`] deadline
crates/consensus/providers/src/chain_provider.rs:61
Method
new_http
Creates a new [`OnlineBeaconClient`] from the provided base URL string. Requests use the default [`crate::L1_RPC_TIMEOUT`] deadline.
crates/consensus/providers/src/beacon_client.rs:145
Method
new_http
Creates a new [`AlloyL2ChainProvider`] from the provided [`url::Url`].
crates/consensus/providers/src/l2_chain_provider.rs:168
Method
new_http
Creates an L1 execution JSON-RPC provider with the default request deadline.
crates/consensus/providers/src/l1_rpc.rs:22
Method
new_http
Creates a new conductor client using HTTP transport (JSON-RPC for all methods).
crates/consensus/service/src/actors/sequencer/conductor.rs:85
Method
new_http_with_binary_commit
Creates a new conductor client where `commit_unsafe_payload` uses the SSZ-binary endpoint at `<url>/commit-unsafe-payload` and the other RPCs stay on
crates/consensus/service/src/actors/sequencer/conductor.rs:94
Method
new_http_with_headers
Creates an HTTP sequencer client synchronously, with optional `header=value` headers. # Errors Returns an error for a non-HTTP URL, invalid headers,
crates/execution/rpc/src/sequencer.rs:86
Method
new_http_with_timeout
Creates an L1 execution JSON-RPC provider with the provided request deadline.
crates/consensus/providers/src/l1_rpc.rs:27
Method
new_keccak256
Creates a new keccak256 [`PreimageKey`] from a 32-byte keccak256 digest. The digest will be truncated to 31 bytes by taking the low-order 31 bytes.
crates/proof/preimage/src/key.rs:94
Method
new_local
Create a new server instance in local mode for development. Uses the OS RNG and sets `tee_image_hash` to zero. Optionally reads a signer key from the
crates/proof/tee/nitro-enclave/src/server.rs:97
Method
new_local
Creates a new local [`PreimageKey`] from a 64-bit local identifier. The local identifier will be written into the low-order 8 bytes of the big-endian
crates/proof/preimage/src/key.rs:86
Method
new_multi
Create a pool with multiple enclave transports. # Panics Panics if `transports` is empty.
crates/proof/tee/nitro-host/src/pool.rs:61
Method
new_multi
Create a server with multiple enclave transports for dual-enclave deployments. # Panics Panics if `transports` is empty.
crates/proof/tee/nitro-host/src/server.rs:71
Method
new_payload_v2
( &self, payload: ExecutionPayloadInputV2, )
actions/harness/src/engine.rs:824
Method
new_payload_v2
( &self, payload: ExecutionPayloadInputV2, )
crates/common/network/src/engine.rs:207
Method
new_payload_v2
( &self, _payload: ExecutionPayloadInputV2, )
crates/consensus/service/src/test_utils/fake_engine_client.rs:235
Method
new_payload_v2
( &self, payload: ExecutionPayloadInputV2, )
crates/consensus/engine/src/client.rs:260
Method
new_payload_v2
(&self, payload: ExecutionPayloadInputV2)
crates/execution/rpc/src/engine.rs:273
Method
new_payload_v3
( &self, payload: ExecutionPayloadV3, _parent_beacon_block_root: B256, )
actions/harness/src/engine.rs:838
Method
new_payload_v3
( &self, payload: ExecutionPayloadV3, parent_beacon_block_root: B256, )
crates/common/network/src/engine.rs:214
Method
new_payload_v3
( &self, payload: ExecutionPayloadV3, _parent_beacon_block_root: B256, )
crates/consensus/service/src/test_utils/fake_engine_client.rs:244
Method
new_payload_v3
( &self, payload: ExecutionPayloadV3, parent_beacon_block_root: B256, )
crates/consensus/engine/src/client.rs:269
Method
new_payload_v3
( &self, payload: ExecutionPayloadV3, versioned_hashes: Vec<B256>, parent_beac
crates/execution/rpc/src/engine.rs:279
Method
new_payload_v4
( &self, payload: BaseExecutionPayloadV4, parent_beacon_block_root: B256, )
crates/common/network/src/engine.rs:226
Method
new_payload_v4
( &self, _payload: BaseExecutionPayloadV4, _parent_beacon_block_root: B256, )
crates/consensus/service/src/test_utils/fake_engine_client.rs:257
Method
new_payload_v4
( &self, payload: BaseExecutionPayloadV4, parent_beacon_block_root: B256, )
crates/consensus/engine/src/client.rs:283
Method
new_polled
( cfg: Arc<RollupConfig>, l1_cfg: Arc<ChainConfig>, blob_provider: OnlineBlobProvider<
crates/consensus/providers/src/pipeline.rs:86
Method
new_polled_with_da_batcher_sender_override
( cfg: Arc<RollupConfig>, l1_cfg: Arc<ChainConfig>, blob_provider: OnlineBlobProvider<
crates/consensus/providers/src/pipeline.rs:110
Method
new_populated
Creates a new [`PollingTraversal`] with two default blocks and populated receipts.
crates/consensus/derive/src/test_utils/traversal.rs:70
Method
new_precompile
Creates a new precompile [`PreimageKey`] from a precompile address and input. The key will be constructed as `keccak256(precompile_addr ++ input)`, an
crates/proof/preimage/src/key.rs:101
Function
new_preserves_manifest_precheck_setting
()
crates/execution/payload/src/config.rs:555
Method
new_private
Creates a private sealer that skips conductor commit and gossip. `mode` distinguishes the reason payloads are sealed privately (e.g. `"shadow"` for a
crates/consensus/service/src/actors/sequencer/seal.rs:110
Method
new_receipts
Creates a new [`Receipt`] with the update batcher log and a bad log.
crates/consensus/derive/src/test_utils/traversal.rs:36
Function
new_rejects_an_invalid_config
()
crates/batcher/encoder/tests/encoder/ingest.rs:22
Function
new_rejects_chain_id_mismatch
()
crates/utilities/tx-manager/tests/craft_tx.rs:292
Function
new_rejects_invalid_config
()
crates/utilities/tx-manager/tests/craft_tx.rs:366
Function
new_rejects_invalid_keccak256
()
crates/proof/tee/nitro-enclave/src/oracle.rs:191
Function
new_rejects_invalid_sha256
()
crates/proof/tee/nitro-enclave/src/oracle.rs:200
Function
new_rejects_zero
()
crates/common/precompiles/src/common/ops/non_zero_address.rs:40
Function
new_roundtrip_local
()
crates/proof/tee/nitro-enclave/src/oracle.rs:161
Method
new_skip_reset
Constructs a processor whose engine resets are skipped, retaining the bootstrapped execution head. Used by the L1-free standalone sequencer.
crates/consensus/service/src/actors/engine/engine_request_processor.rs:129
Function
new_state_is_not_awaiting_reconciliation
()
crates/consensus/service/src/actors/sequencer/shadow_state.rs:57
Function
new_sync_target_has_no_state
()
crates/execution/exex/src/sync_target.rs:377
Method
new_system_tx_with_caller
( caller: Address, system_contract_address: Address, data: Bytes, )
crates/common/evm/src/transaction/core.rs:79
Method
new_topics
Creates a topic-only filter, or [`FilterType::None`] if the list is empty.
crates/infra/websocket-proxy/src/filter.rs:50
Method
new_ui_multiplier
(&self, token: &B20AssetToken<S, A>)
crates/common/precompiles/src/b20_asset/logic/v3.rs:957
Method
new_ui_multiplier
ERC-8056 `newUIMultiplier()`.
crates/common/precompiles/src/b20_asset/logic/interface.rs:398
Function
new_ui_multiplier_matured_mirrors_ui_multiplier_and_keeps_past_effective_at
()
crates/common/precompiles/src/b20_asset/logic/v2.rs:2598
Function
new_ui_multiplier_matured_mirrors_ui_multiplier_and_keeps_past_effective_at
()
crates/common/precompiles/src/b20_asset/logic/v3.rs:2823
Method
new_unchecked
Creates a new enveloped transaction from the given transaction, signature and hash. Caution: This assumes the given hash is the correct transaction h
crates/common/consensus/src/transaction/envelope.rs:296
Method
new_unhashed
Creates a new signed transaction from the given typed transaction and signature without the hash. Note: this only calculates the hash on the first [`
crates/common/consensus/src/transaction/envelope.rs:308
Method
new_update_batcher_log
Creates a new [`Log`] for the update batcher event.
crates/consensus/derive/src/test_utils/traversal.rs:21
Method
new_with_activation_admin_address
Creates a new [`ZkvmBaseEvmFactory`] with the given activation registry admin address.
crates/proof/zk/utils/src/precompiles/factory.rs:32
Method
new_with_auth
(addr: SocketAddr, auth: Option<Authentication>)
crates/infra/websocket-proxy/tests/integration.rs:44
Method
new_with_builtin_policy
Sets up with all three features active, then deploys a B-20 token with the `TRANSFER_SENDER_POLICY` set to one of the built-in IDs via an `updatePolic
actions/harness/tests/beryl/policy_transfer.rs:291
Method
new_with_checkpoint
Constructs a new [`EngineProcessor`] with checkpoint persistence.
crates/consensus/service/src/actors/engine/engine_request_processor.rs:141
Method
new_with_cobalt
Creates an environment with Base Beryl and Cobalt scheduled.
actions/harness/tests/beryl/env.rs:121
Method
new_with_connection_limits
Configures the swarm behaviors, subscribes to the gossip topics, and returns a new [`Behaviour`] with the given connection limits.
crates/consensus/gossip/src/behaviour.rs:65
Method
new_with_ctx
( slot: U256, ctx: LayoutCtx, address: Address, storage: StorageCtx<'a>, )
crates/common/precompile-storage/src/types/slot.rs:33
Method
new_with_custom_policy
Sets up with `TOKEN_FACTORY`, `B20_ASSET`, and `POLICY_REGISTRY` active, creates a custom `policy_type` policy (Alice as admin), then deploys a B-20 t
actions/harness/tests/beryl/policy_transfer.rs:237
Method
new_with_default_policy
Sets up with `TOKEN_FACTORY` and `B20_ASSET` active, then deploys a B-20 token without an `updatePolicy` init call. The `TRANSFER_SENDER_POLICY` slot
actions/harness/tests/beryl/policy_transfer.rs:324
Method
new_with_headers
Creates a new `SequencerClient` for the given URL with the given headers This expects headers in the form: `header=value`
crates/execution/rpc/src/sequencer.rs:66
Method
new_with_l1_header_cache
Creates a new [`OnlineHostBackend`] with a shared L1 header cache.
crates/proof/host/src/backend/online.rs:54
Method
new_with_node_config
Creates a new local instance of the builder node with the given builder configuration, with a given Reth node configuration. This method does not pre
crates/builder/core/src/test_utils/instance.rs:189
Method
new_with_node_role
Create a new tracker with an optional node role label.
crates/execution/txpool-tracing/src/tracker.rs:61
Method
new_with_nonce
Creates a [`NonceManager`] with the cache pre-seeded to `nonce`. Test-only: allows exercising edge-case nonce values (e.g. `u64::MAX`) without a real
crates/utilities/tx-manager/src/nonce.rs:410
Method
new_with_optional_pulse_sender
( sender_addresses: &[Address], pulse_tx: Option<mpsc::Sender<InclusionPulse>>, )
crates/infra/load-tests/src/runner/results_tracker.rs:181
Method
new_with_options
Creates a new [`RocksdbProofsStorage`] instance with the given path and options.
crates/execution/trie/src/db/rocksdb.rs:513
Method
new_with_options
Creates a new [`MdbxProofsStorage`] instance with the given path and options.
crates/execution/trie/src/db/store.rs:89
Function
new_with_options_accepts_custom_max_read_transaction_duration
()
crates/execution/trie/src/db/store.rs:1360
Method
new_with_ports
Creates a new record from an ip address and ports.
crates/consensus/peers/src/record.rs:77
Method
new_with_pulse_sender
Creates a tracker that can publish flashblock races resolved during RPC acknowledgement.
crates/infra/load-tests/src/runner/results_tracker.rs:174
Method
new_with_received_at
Create new instance with an explicit `received_at` timestamp (millis since Unix epoch). Primarily for testing.
crates/execution/txpool/src/transaction.rs:96
Method
new_with_retention_pool
Creates a sink with a dedicated pool for retention and BRIN summaries.
crates/infra/audit/src/transaction_events.rs:698
Method
new_with_rollup_config
Initialize the fetcher with a rollup config, reading RPC URLs from environment variables.
crates/proof/zk/witness/src/fetcher.rs:201
Method
new_with_runtime
Creates a new [`SimpleTxManager`] with an injected runtime. This mirrors [`Self::new`] but lets deterministic tests control timers and spawned tasks
crates/utilities/tx-manager/src/manager.rs:267
Function
new_with_signer_config_local_creates_functional_manager
()
crates/utilities/tx-manager/tests/craft_tx.rs:272
Method
new_with_snapshot
( snapshot: Arc<RocksdbReadSnapshot<'db>>, max_block_number: u64, )
crates/execution/trie/src/db/rocksdb.rs:2611
Method
new_with_spec
(spec: BaseSpecId)
crates/proof/zk/utils/src/precompiles/mod.rs:114
Method
new_with_spec
(spec: S)
crates/common/precompiles/src/provider.rs:39
Method
new_with_spec_and_activation_admin_address
( spec: BaseSpecId, activation_admin_address: Option<Address>, )
crates/proof/zk/utils/src/precompiles/mod.rs:120
Function
new_with_spec_omits_dynamic_precompiles
(#[case] spec: BaseUpgrade)
crates/common/precompiles/src/provider.rs:548
Method
new_with_status
Create a pending L1 transaction with logs and an explicit receipt status.
actions/harness/src/l1/miner.rs:128
Method
new_with_storage_features
Creates a new provider with the given chain ID and persistent-storage features, so a test can exercise a specific fork's `SLOAD`/tail-cleanup behavior
crates/common/precompile-storage/src/hashmap.rs:94
Method
new_with_storage_features
Consume a [`PrecompileInput`] and build the provider with fork-specific storage features.
crates/common/precompile-storage/src/evm.rs:57
Function
new_with_storage_features_sets_the_requested_features
()
crates/common/precompile-storage/src/hashmap.rs:700
Method
new_with_trust
Creates a new [`AlloyChainProvider`] with the given alloy provider and trust setting. ## Panics - Panics if `cache_size` is zero.
crates/consensus/providers/src/chain_provider.rs:46
Method
new_with_trust
Creates a new [`AlloyL2ChainProvider`] with the given alloy provider, [`RollupConfig`], and trust setting. ## Panics - Panics if `cache_size` is zero
crates/consensus/providers/src/l2_chain_provider.rs:66
Function
newer_head_replaces_head_whose_logs_cannot_be_fetched
()
crates/consensus/service/src/actors/l1_watcher/actor.rs:861
Function
newer_runs_and_attempts_cannot_be_overwritten
()
acceptance/src/publish.rs:815
Function
newer_schedule_replaces_older_runtime_overrides
()
crates/utilities/upgrade-signal/src/runtime/sink.rs:285
Method
next
(&mut self)
crates/proof/proof/src/l1/pipeline.rs:207
Method
next
(&mut self, _: &BlockInfo, _: Address)
crates/consensus/derive/src/test_utils/data_availability_provider.rs:23
Method
next
( &mut self, block_ref: &BlockInfo, batcher_address: Address, )
crates/consensus/derive/src/sources/calldata.rs:95
Method
next
( &mut self, _block_ref: &BlockInfo, batcher_address: Address, )
crates/consensus/derive/src/stages/l1_retrieval.rs:188
Method
next
(&mut self)
crates/batcher/core/tests/lifecycle.rs:104
← previous
next →
16,601–16,700 of 23,652, ranked by callers