MCPcopy Create free account

hub / github.com/base/base / functions

Functions16,503 in github.com/base/base

↓ 15 callersFunctionsigned_channel_tx
( signer: &PrivateKeySigner, nonce_key: U256, nonce_sequence: u64, max_fee_per
crates/execution/txpool/src/two_d_nonce_pool.rs:569
↓ 15 callersFunctionsigner_from_private_key
Derives the signer address for a private key.
crates/proof/tee/registrar/src/test_utils.rs:63
↓ 15 callersMethodspawn
(&self, future: F)
crates/utilities/runtime/src/tokio.rs:68
↓ 15 callersMethodstorage_hashed_cursor
( &'tx self, hashed_address: B256, max_block_number: u64, )
crates/execution/trie/tests/lib.rs:143
↓ 15 callersMethodtake_state
Take the current pending state, leaving `None` in its place. Used by the sync loop to consume the next action to perform.
crates/execution/exex/src/sync_target.rs:116
↓ 15 callersMethodupdate_state
Update the sync target state and wake the sync loop. If there is already a pending state, the new state is merged using [`SyncTargetState::apply_next
crates/execution/exex/src/sync_target.rs:103
↓ 15 callersMethodwith_data
Appends more data to [`Hint::data`].
crates/proof/proof/src/hint.rs:40
↓ 14 callersMethodaccounts
Returns a slice of all accounts.
crates/infra/load-tests/src/workload/accounts.rs:99
↓ 14 callersMethodadvance_l1_head
(&mut self, l1_block: u64)
crates/batcher/encoder/src/encoder.rs:900
↓ 14 callersMethodapply_update
Applies the update to the provided sync state, using the current state values if the update is not specified. Returns the new sync state.
crates/consensus/engine/src/state/core.rs:88
↓ 14 callersMethodas_str
Display label for pretty output.
crates/infra/basectl/src/doctor.rs:199
↓ 14 callersMethodas_str
Returns the label as a static string.
crates/consensus/engine/src/sync/checkpoint.rs:20
↓ 14 callersFunctionblob
`authenticator(20) || data`.
crates/execution/eip8130/src/authorize.rs:284
↓ 14 callersMethodblock_number
Returns the L2 block number for the payload attributes if made canonical. Derived as the parent block height plus one.
crates/consensus/protocol/src/attributes.rs:35
↓ 14 callersMethodbuild_base
Builds a [`BaseEvm`] with a `()` inspector. The inspect flag is `false`, so [`Inspector`][revm::Inspector] callbacks are never invoked via [`alloy_evm
crates/common/evm/src/api/builder.rs:35
↓ 14 callersFunctionbuild_test_genesis_azul
Builds a test genesis with Base Azul (Osaka) enabled at timestamp 0. Extends [`build_test_genesis`] with: - `osaka_time` set to 0 - Base Azul activat
crates/utilities/test-utils/src/genesis.rs:108
↓ 14 callersMethodclone
(&self)
crates/execution/node/src/node.rs:881
↓ 14 callersMethodcompute_address
Computes this variant's deterministic token address for `creator` and `salt`. Returns the address and the 9-byte hash tail embedded in the address.
crates/common/precompiles/src/b20_factory/variant.rs:129
↓ 14 callersFunctioncreate_transaction
Creates a signed transaction with the given parameters.
crates/common/bundles/src/test_utils.rs:32
↓ 14 callersMethoddiscover_claimable_games
Discovers claimable games via two-tier scanning. Incremental** (every call): scans from `bond_scan_head` to `game_count`, catching newly created game
crates/proof/challenge/src/bond.rs:452
↓ 14 callersMethodenveloped_tx
Set the enveloped transaction bytes.
crates/common/evm/src/transaction/builder.rs:41
↓ 14 callersFunctioneoa_signed
(tx: TxEip8130, key: &SigningKey)
crates/common/evm/src/eip8130.rs:1515
↓ 14 callersMethodis_deposit
Returns `true` if transaction is deposit transaction.
crates/common/consensus/src/transaction/typed.rs:136
↓ 14 callersMethodis_holocene_active
Returns if holocene is active.
crates/consensus/derive/src/stages/frame_queue.rs:57
↓ 14 callersFunctionkey
(byte: u8)
crates/execution/eip8130/src/transaction.rs:189
↓ 14 callersFunctionmanager_with
( proof_provider: RecordingProofProvider, registry: MockRegistry, tx_manager: T, )
crates/proof/tee/registrar/src/signer_manager.rs:881
↓ 14 callersMethodmapping_slot
(&self, slot: U256)
crates/common/precompile-storage/src/types/bytes_like.rs:171
↓ 14 callersMethodnext_frames
Asserts that the frame queue produces the expected frames.
crates/consensus/derive/src/test_utils/frames.rs:126
↓ 14 callersMethodpending_count
Returns the number of encoded-but-not-yet-staged pending frame submissions.
actions/harness/src/batcher/actor.rs:249
↓ 14 callersMethodprove_block
( &self, request: Request<ProveBlockRequest>, )
crates/proof/zk/service/src/server/mod.rs:48
↓ 14 callersMethodprune_earliest_state
Update the initial state with the provided diff. Prune all historical trie data till `new_earliest_block_number` (inclusive) using the [`BlockChangeSe
crates/execution/trie/src/db/store.rs:938
↓ 14 callersFunctionpublish_simple_tx
Publishes a simple value-transfer tx and returns the hash, send state, and raw transaction bytes.
crates/utilities/tx-manager/tests/common/mod.rs:68
↓ 14 callersMethodrecord_successful_publish
Records that a transaction was successfully published.
crates/utilities/tx-manager/src/send_state.rs:206
↓ 14 callersFunctionsetup_test_instance_with_builder_config
Sets up a test instance with custom `BuilderConfig`. The flashblocks WebSocket port will be automatically set to an available port if set to 0.
crates/builder/core/src/test_utils/mod.rs:59
↓ 14 callersMethodspawn
Bind and start the admin server on the given socket address.
crates/proof/proposer/src/admin.rs:24
↓ 14 callersMethodtransfer
Moves `amount` tokens from `from` to `to`. Emits `Transfer`. When `privileged` is true (factory bootstrap window) only the policy checks are skipped;
crates/common/precompiles/src/common/ops/transferable.rs:17
↓ 14 callersFunctiontx
(priority: u64, usage: u64)
crates/execution/metering/src/estimator.rs:902
↓ 14 callersMethodwith_chain_id
Sets the chain ID of the network.
crates/consensus/disc/src/builder.rs:138
↓ 14 callersMethodwith_origin
Set the origin block.
crates/consensus/derive/src/test_utils/frames.rs:46
↓ 14 callersMethodwith_safe_head
Sets the safe head
crates/consensus/engine/src/test_utils/engine_state.rs:48
↓ 14 callersFunctionwith_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/transaction.rs:279
↓ 13 callersFunctionactor_id
(address: Address)
crates/execution/eip8130/src/authorize.rs:241
↓ 13 callersMethodadd_transaction
( &self, origin: TransactionOrigin, transaction: Self::Transaction, )
crates/execution/txpool/src/pool.rs:407
↓ 13 callersFunctionaddr
(key: &K256SigningKey)
crates/execution/eip8130/src/transaction.rs:193
↓ 13 callersMethodas_ref
(&self)
crates/common/rpc-types/src/transaction/request.rs:222
↓ 13 callersMethodattributes
Returns the payload attributes.
crates/consensus/protocol/src/attributes.rs:45
↓ 13 callersMethodbasic
(&mut self, address: Address)
crates/common/evm/src/eip8130.rs:2107
↓ 13 callersMethodbuild_block_with_transactions
( &mut self, transactions: Vec<BaseTxEnvelope>, )
actions/harness/tests/beryl/b20.rs:869
↓ 13 callersMethodbuild_new_block
Builds a new block using the current state of the chain and the transactions in the pool.
crates/builder/core/src/test_utils/driver.rs:99
↓ 13 callersMethodbuild_next_blocks_with_single_transactions
Build `count` sequential L2 blocks with one user transaction each.
actions/harness/src/sequencer/driver.rs:180
↓ 13 callersMethodconfirm_staged
Fire receipts for all staged items from `block` and yield to let the driver process confirmations and the L1 head event.
actions/harness/src/batcher/actor.rs:309
↓ 13 callersMethodcreate_token
Creates a B-20 token through the factory and returns the deterministic token address.
etc/systems/src/b20.rs:156
↓ 13 callersFunctiondefault_test_blob_source
()
crates/consensus/derive/src/sources/blobs.rs:247
↓ 13 callersFunctionempty_factory
Helper to create an empty [`MockDisputeGameFactory`] behind an `Arc`.
crates/proof/challenge/src/test_utils.rs:542
↓ 13 callersMethodencode
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/receipts/receipt.rs:380
↓ 13 callersFunctionevm_with_accounts
Builds an EVM with `balance` funded to `sender`, optionally deploying `code` at the given contract addresses.
crates/common/evm/src/eip8130.rs:1528
↓ 13 callersMethodgen_range
Generates a random value in the given range.
crates/infra/load-tests/src/workload/seeded.rs:31
↓ 13 callersMethodinit_tracing_subscriber
Initialize the tracing subscriber with the configured options. This sets the global default subscriber. Should only be called once. Includes default
crates/utilities/cli/src/tracing.rs:78
↓ 13 callersMethodinsert
(&self, tx_hash: TxHash, metering: MeterBundleResponse)
crates/builder/metering/src/store.rs:96
↓ 13 callersFunctionintrinsic
Serializes `signed` (EIP-2718) and computes intrinsic gas, mirroring a caller that already holds the transaction's network encoding.
crates/execution/eip8130/src/intrinsic.rs:424
↓ 13 callersFunctioninvalid_argument
(message: impl Into<String>)
crates/proof/prover-service/src/server/mod.rs:114
↓ 13 callersMethodis_empty
Returns `true` if the buffer contains no entries.
crates/utilities/ring-buffer/src/ring_buffer.rs:43
↓ 13 callersMethodis_isthmus_active
Returns true if isthmus is active for the payload.
crates/builder/core/src/flashblocks/context.rs:439
↓ 13 callersMethodis_tx_over_limits
Returns true if the transaction would exceed the block limits: - block gas limit: ensures the transaction still fits into the block. - tx DA limit: if
crates/builder/core/src/execution.rs:288
↓ 13 callersMethodlayer
(&self, inner: S)
crates/utilities/health/src/middleware.rs:51
↓ 13 callersFunctionmake_valid_config_change
()
crates/execution/txpool/src/validator.rs:1855
↓ 13 callersFunctionmock_state_with_tee
Helper to build mock game state with an explicit TEE prover address.
crates/proof/challenge/src/test_utils.rs:569
↓ 13 callersMethodname
Returns the cache name.
crates/proof/rpc/src/cache.rs:151
↓ 13 callersMethodnext
Creates the next flashblock context with updated gas and DA targets. Increments the flashblock index and sets new target limits for the next flashblo
crates/builder/core/src/flashblocks/context.rs:256
↓ 13 callersMethodnext
(&mut self)
crates/batcher/source/src/hybrid.rs:140
↓ 13 callersMethodrecord
Adds `n` newly-compressed bytes, emitting a progress log once per interval.
crates/infra/snapshotter/src/progress.rs:100
↓ 13 callersMethodreserve_nonce
Reserves the next nonce and immediately releases the lock, returning the raw `u64` value. Unlike [`next_nonce`](Self::next_nonce), this method does *
crates/utilities/tx-manager/src/nonce.rs:278
↓ 13 callersFunctionset_request_session_id
(req: &mut CreateProofRequest, session_id: impl Into<String>)
crates/proof/prover-service/db/tests/postgres_integration.rs:123
↓ 13 callersFunctionsigned
(tx: &BaseRevm<TxEnv>)
crates/common/rpc-types/src/reth.rs:336
↓ 13 callersMethodstage_n_frames
Submit the first `n` pending frame txs/blobs to the L1 miner's queue without mining. Returns the actual count staged.
actions/harness/src/batcher/actor.rs:260
↓ 13 callersMethodstore_hashed_storages
( &self, hashed_address: B256, storages: Vec<(B256, U256)>, )
crates/execution/trie/tests/lib.rs:283
↓ 13 callersMethodsubmit_l2_blocks
Submit L2 blocks through the batcher, then publish the mined L1 block. Returns the [`BlockInfo`] for the L1 block that carried the batcher submission
actions/harness/src/harness.rs:83
↓ 13 callersFunctiontoken_with_balance
(balance: U256)
crates/common/precompiles/src/common/ops/transferable.rs:174
↓ 13 callersFunctiontoken_with_default_admin
()
crates/common/precompiles/src/common/ops/roles.rs:289
↓ 13 callersMethodtrack_game
Registers a game for bond tracking if its `bond_recipient` is in the configured claim addresses. Returns `true` if the game was added to tracking.
crates/proof/challenge/src/bond.rs:202
↓ 13 callersMethodupdate_allowlist
Adds or removes `accounts` from the allowlist for an ALLOWLIST policy.
crates/common/precompiles/src/policy/storage.rs:308
↓ 13 callersMethodupdate_game
Updates the state for a specific game address. Multi-step driver tests call this between steps to simulate on-chain state changes (e.g. marking a gam
crates/proof/challenge/src/test_utils.rs:301
↓ 13 callersMethodupgrade_activation
(&self, fork: BaseUpgrade)
crates/common/chains/src/upgrades.rs:91
↓ 13 callersFunctionv1_valid_block
Make the block v1 compatible
crates/consensus/gossip/src/block_validity.rs:362
↓ 13 callersFunctionvalue_transfer
Value-transfer candidate with the given amount.
crates/utilities/tx-manager/tests/common/mod.rs:57
↓ 13 callersMethodwith_expected_frames
With expected frames.
crates/consensus/derive/src/test_utils/frames.rs:52
↓ 13 callersMethodwith_frames
Adds frames to the mock provider.
crates/consensus/derive/src/test_utils/frames.rs:71
↓ 13 callersMethodwith_l2_chain_id
Sets the L2 chain ID.
etc/systems/src/smoke.rs:154
↓ 12 callersMethodaddresses
Returns the game addresses with pending proofs.
crates/proof/challenge/src/pending.rs:215
↓ 12 callersFunctionbase_mainnet_builder
()
crates/execution/consensus/src/lib.rs:299
↓ 12 callersMethodbuild
( &self, parent: &SealedHeader<alloy_consensus::Header>, )
crates/execution/node/src/node.rs:130
↓ 12 callersMethodbuild_typed_tx
(self)
crates/common/rpc-types/src/transaction/request.rs:322
↓ 12 callersMethodcaller
()
crates/common/precompiles/benches/base_precompiles.rs:21
↓ 12 callersFunctioncli_from_args
Parse a mock CLI command with required args plus any overrides. The base defaults do **not** include signer flags (`--private-key` / `--signer-endpoi
crates/proof/challenge/src/config.rs:252
↓ 12 callersMethodcreate_b20
Creates a token at a deterministic address derived from `(caller, variant, salt)`.
crates/common/precompiles/src/b20_factory/storage.rs:52
↓ 12 callersFunctioncreate_test_metering
(gas_used: u64)
crates/builder/metering/src/store.rs:167
↓ 12 callersMethodctx
Returns a reference to the underlying [`BaseContext`].
crates/common/evm/src/evm.rs:70
↓ 12 callersFunctiondefault_test_calldata_source
()
crates/consensus/derive/src/sources/calldata.rs:156
↓ 12 callersMethodencode
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/transaction/eip8130/tx.rs:317
↓ 12 callersMethodget_block
(&self, full: bool)
crates/execution/flashblocks/src/pending_blocks.rs:811
← previousnext →401–500 of 16,503, ranked by callers