MCPcopy Create free account

hub / github.com/base/base / functions

Functions23,652 in github.com/base/base

↓ 23 callersMethodencode_2718
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/receipts/envelope.rs:307
↓ 23 callersMethodfinish
Finalizes the block, returning the EVM, the execution result (receipts + gas used), and the accumulated block-state delta.
crates/common/evm2/src/executor.rs:361
↓ 23 callersFunctionfresh
A fresh provider with both B-20 variants activated.
crates/common/precompiles/tests/b20_factory_v1_golden.rs:82
↓ 23 callersFunctionfund
(client: &MockEthProvider<BasePrimitives, Arc<BaseChainSpec>>, account: Address)
crates/execution/txpool/src/pool.rs:2985
↓ 23 callersMethodgenesis
Set the genesis block.
crates/execution/chainspec/src/builder.rs:46
↓ 23 callersMethodget
Returns a reference to the pending proof for the given game address.
crates/proof/challenge/src/pending.rs:185
↓ 23 callersFunctiongrant
Grants `role` to `account` and keeps the admin member-count consistent.
crates/common/precompiles/src/b20_asset/logic/v3.rs:1448
↓ 23 callersMethodlane_stores
Both lane stores, in lock order.
crates/execution/txpool/src/pool.rs:317
↓ 23 callersMethodparse
Parses a gwei decimal string to wei (`u128`). # Errors Returns [`ConfigError::InvalidGwei`] if the string is not a valid decimal number. Returns [`C
crates/utilities/tx-manager/src/config.rs:75
↓ 23 callersMethodpop
(&self)
crates/common/precompile-storage/src/types/vec.rs:258
↓ 23 callersMethodrecorded
The shared call log. Take it before handing the pipeline to the driver.
crates/batcher/core/src/test_utils/pipeline.rs:172
↓ 23 callersMethodsigner_b256
Returns the private key as a B256 for use with `TransactionBuilder`.
crates/utilities/test-utils/src/accounts.rs:66
↓ 23 callersMethodstep
Executes a single scan-validate-prove-submit cycle.
crates/proof/challenge/src/driver.rs:136
↓ 23 callersMethodsupported_version
Returns the currently supported creation-parameter version for this variant. Each variant owns its version independently so that one variant advancin
crates/common/precompiles/src/b20_factory/variant.rs:36
↓ 23 callersFunctionwith_recorder
(f: impl FnOnce(Snapshotter))
crates/utilities/metrics/tests/metrics.rs:11
↓ 22 callersFunctionappend_account_trie
( wtx: &<DatabaseEnv as Database>::TXMut, key: StoredNibbles, block: u64, val:
crates/execution/trie/src/db/cursor.rs:458
↓ 22 callersMethodbase
Set the base transaction builder based for `TxEnvBuilder`.
crates/common/evm/src/transaction/builder.rs:35
↓ 22 callersMethodblock_hash
Returns the block hash for the [`L1BlockInfoTx`].
crates/common/consensus/src/info/variant.rs:274
↓ 22 callersMethodclaim_next_proof_job
Atomically claim the next eligible worker proof job (`getNextProof`). Expired claims are reclaimable while `attempt < max_attempts`. Rows are locked
crates/proof/prover-service/db/src/repo.rs:468
↓ 22 callersMethodclone
(&self)
crates/execution/rpc/src/engine.rs:258
↓ 22 callersMethodencode_and_drain
Steps until idle, flushes the writable channel, and drains all ready submissions. # Errors Returns the first [`StepError`]. Submissions prepared bef
crates/batcher/encoder/src/encoder.rs:98
↓ 22 callersMethodinsert
Record the block hash and optional state root for an L2 block number. Pass `Some(state_root)` when the block was produced by real EVM execution so th
actions/harness/src/common/block_hash_registry.rs:49
↓ 22 callersFunctioninstall
Install the signal handler on the current thread.
crates/utilities/cli/src/sigsegv.rs:50
↓ 22 callersFunctionmetadata
()
acceptance/src/publish.rs:434
↓ 22 callersMethodpark
Adds a parked transaction under its currently unsatisfied predicate.
crates/execution/payload/src/validity.rs:177
↓ 22 callersMethodrange
Byte range of piece `index`.
crates/execution/cli/src/commands/download/proofs/archive_download.rs:74
↓ 22 callersMethodsend_raw_transaction_validity
( &self, tx: Bytes, options: SendRawTransactionValidityOptions, )
crates/execution/txpool-rpc/src/rpc.rs:294
↓ 22 callersMethodset
(&mut self, key: B256, value: Vec<u8>)
crates/proof/host/src/kv/mem.rs:30
↓ 22 callersFunctionsetup
()
crates/utilities/tx-manager/tests/craft_tx.rs:21
↓ 22 callersMethodtransactions
Returns the transactions for the payload.
crates/common/rpc-types-engine/src/payload/mod.rs:466
↓ 22 callersMethodtry_send
Attempts to queue a transaction if a permit is available. Returns `Ok(())` if a permit was available and the transaction was enqueued. Returns `Err((
crates/utilities/tx-manager/src/queue.rs:113
↓ 22 callersFunctionversion_cursor
Open a dup-RO cursor and wrap it in a BlockNumberVersionedCursor with a given bound.
crates/execution/trie/src/db/cursor.rs:507
↓ 22 callersFunctionwith_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/transaction.rs:506
↓ 21 callersFunctionaddr
(byte: u8)
crates/execution/txpool/src/guard.rs:512
↓ 21 callersFunctionblock
(transactions: Vec<BaseTxEnvelope>)
crates/batcher/encoder/src/buffered_block.rs:60
↓ 21 callersMethodbuffer_payload
Retains an authenticated canonical payload in the rolling recent window.
crates/consensus/service/src/actors/sequencer/shadow_reconciliation.rs:132
↓ 21 callersMethodcmp
(&self, other: &Self)
crates/execution/txpool/src/ordering.rs:145
↓ 21 callersMethodcompile
Validates this schedule and builds the inverted operation index. Hand-built schedules must go through this step before [`Self::evaluate`]. JSON loade
crates/execution/payload/src/resource_metering.rs:331
↓ 21 callersFunctioncreate
Creates a policy and returns its decoded id.
crates/common/precompiles/tests/b20_policy_v3_golden.rs:129
↓ 21 callersMethoddb_mut
Returns a mutable reference to the underlying database.
crates/execution/flashblocks/src/state_builder.rs:110
↓ 21 callersMethodemit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_asset/logic/v1.rs:988
↓ 21 callersFunctionevm_with
( balance: U256, sender: Address, )
crates/common/evm/src/eip8130.rs:2041
↓ 21 callersMethodfinish
Finishes the stream and returns compressed bytes not previously transferred.
crates/batcher/comp/src/stream.rs:93
↓ 21 callersFunctionfund
Credits `account` with `amount` and grows total supply to match.
crates/common/precompiles/src/b20_asset/logic/v3.rs:1455
↓ 21 callersMethodget
Returns the transaction for the given hash.
crates/execution/txpool/src/two_d_nonce_pool.rs:633
↓ 21 callersMethodid
Returns the identifier of the payload.
crates/execution/payload/src/payload.rs:298
↓ 21 callersFunctioninfo
(balance: u64, nonce: u64)
crates/execution/txpool/src/state_diff_maintain.rs:178
↓ 21 callersMethodinner
Returns a mutable reference to the inner RNG.
crates/infra/load-tests/src/workload/seeded.rs:55
↓ 21 callersFunctionkey
(byte: u8)
crates/execution/eip8130/src/transaction.rs:386
↓ 21 callersMethodlen
Returns the number of stored entries.
crates/builder/metering/src/store.rs:79
↓ 21 callersMethodmine_l1_blocks
Mine `n` L1 blocks and return the latest block number after mining.
actions/harness/src/harness.rs:62
↓ 21 callersMethodprovider
Returns a reference to the RPC provider.
crates/utilities/tx-manager/src/manager.rs:326
↓ 21 callersFunctionraw
()
crates/execution/txpool/src/wire.rs:138
↓ 21 callersFunctionrun
Dispatches `calldata` against a Beryl runtime, expecting no fatal error.
crates/common/precompiles/src/policy/dispatch.rs:271
↓ 21 callersFunctionsample_signed
(payer_present: bool)
crates/common/consensus/src/transaction/eip8130/signed.rs:842
↓ 21 callersMethodseek
Seek to the first non-deleted latest version at or after `start_key`. Logic: - Try exact key first (above). If alive, return it. - Otherwise hop to ne
crates/execution/trie/src/db/cursor.rs:123
↓ 21 callersMethodsend
Send a [`NetworkPayloadEnvelope`] into the transport channel.
actions/harness/src/p2p.rs:32
↓ 21 callersFunctionsetup_with_config
Creates a [`SimpleTxManager`] backed by a fresh Anvil instance.
crates/utilities/tx-manager/tests/common/mod.rs:38
↓ 21 callersFunctionstored
(path: Nibbles)
crates/execution/trie/src/db/cursor.rs:450
↓ 21 callersFunctionsynthetic_plan
(signer: Address)
crates/proof/tee/registrar/src/signer_manager.rs:1560
↓ 21 callersMethodtransaction_inserted
Track the first time we see a transaction in the mempool.
crates/execution/txpool-tracing/src/tracker.rs:156
↓ 20 callersFunctionaddr
(key: &K256SigningKey)
crates/execution/eip8130/src/transaction.rs:390
↓ 20 callersFunctionassert_gone
(pool: &IntegrationPool, hash: TxHash)
crates/execution/txpool/src/pool.rs:4023
↓ 20 callersMethodbuild_typed_tx
(self)
crates/common/rpc-types/src/transaction/request.rs:335
↓ 20 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
↓ 20 callersFunctioncreate_call
A `createB20` call for the given variant/params.
crates/common/precompiles/tests/b20_factory_v1_golden.rs:115
↓ 20 callersMethodflush
Flush the current encoding channel, making its frames eligible for submission. Answered once the channel is closed, before its frames are submitted;
crates/batcher/core/src/admin.rs:129
↓ 20 callersFunctionfund
Credits `who` with `amount` and grows total supply to match (setup only).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:221
↓ 20 callersMethodinto_u256
Returns the raw packed policy word.
crates/common/precompiles/src/policy/storage.rs:49
↓ 20 callersFunctionmanager_with_plan
(plan: &RegistrationPlan)
crates/proof/tee/registrar/src/signer_manager.rs:1597
↓ 20 callersFunctionmock_state
Helper to build mock game state for the verifier. Uses [`DEFAULT_TEE_PROVER`] as the TEE prover address. Use [`mock_state_with_tee`] to override.
crates/proof/challenge/src/test_utils.rs:529
↓ 20 callersMethodname
Returns the cache name.
crates/proof/rpc/src/cache.rs:151
↓ 20 callersMethodnext_submission
Leases one transaction-sized submission, building artifacts from `channels` only when the ready ones cannot be leased yet. Retries are older than any
crates/batcher/encoder/src/egress.rs:116
↓ 20 callersFunctionoperator_role
The asset operator role id: `keccak256("OPERATOR_ROLE")` (frozen identically at V1 and V2).
crates/common/precompiles/tests/b20_asset_v3_golden.rs:254
↓ 20 callersFunctionoperator_role
The asset operator role id: `keccak256("OPERATOR_ROLE")` (frozen identically at V1 and V2).
crates/common/precompiles/tests/b20_asset_v2_golden.rs:261
↓ 20 callersFunctionpool_transaction
(nonce: u64)
crates/execution/payload/src/builder.rs:2163
↓ 20 callersMethodreorg_to
Reorg the canonical chain back to `number`, discarding all later blocks. Returns the discarded blocks in order (lowest number first) so tests can ins
actions/harness/src/l1/miner.rs:552
↓ 20 callersFunctionrun
Routes `tx` through the registry and commits the resulting state changes.
crates/common/evm2/src/registry.rs:231
↓ 20 callersMethodsend
Sends `batch` and returns one result per request, in order. With `batched_insert` on, a batch made only of inserts, and no larger than [`MAX_VALIDATE
crates/execution/tx-forwarding/src/forwarder/task.rs:388
↓ 20 callersMethodsource
Replace the L2 block source.
crates/batcher/core/src/test_utils/builder.rs:113
↓ 20 callersMethodtimestamp
Returns the timestamp
crates/builder/core/src/flashblocks/context.rs:303
↓ 20 callersMethodtransaction_type
(mut self, transaction_type: u8)
crates/common/rpc-types/src/transaction/request.rs:262
↓ 20 callersMethodwith_l1_chain_id
Sets the L1 chain ID.
etc/systems/src/smoke.rs:455
↓ 20 callersMethodwith_receipt_timeout
Sets the receipt timeout used after sending B-20 transactions.
etc/systems/src/b20.rs:87
↓ 19 callersFunctionassert_store
Asserts `hash` is held by exactly `store` and nothing else.
crates/execution/txpool/src/pool.rs:4016
↓ 19 callersMethodbuild
Starts building the next L2 block, returning a handle to the in-flight payload. Uses the engine's current unsafe head (from the watch channel) as the
crates/consensus/service/src/actors/sequencer/build.rs:89
↓ 19 callersFunctioncanonical_session_id
Canonicalize a public proof request session id.
crates/proof/prover-service/db/src/models.rs:953
↓ 19 callersFunctionchain
(length: u64)
crates/batcher/source/src/polling.rs:125
↓ 19 callersMethodchain_spec
Returns the chain spec associated with this configuration.
crates/execution/evm/src/config.rs:136
↓ 19 callersMethodclear
(&mut self)
crates/consensus/derive/src/stages/l1_retrieval.rs:197
↓ 19 callersMethodcontains
Returns whether `artifact_id` is still retained.
crates/batcher/encoder/src/artifact.rs:217
↓ 19 callersFunctioncreate_proofs_archive
Builds a `.tar.zst` archive holding `content_pairs` as `(path, bytes)` entries.
crates/execution/cli/src/commands/download/proofs/test_utils.rs:23
↓ 19 callersFunctiondefault_tx_manager
()
crates/proof/challenge/tests/driver.rs:130
↓ 19 callersFunctionfund
Credits `account` with `amount` and grows total supply to match.
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:1078
↓ 19 callersFunctionfund
Credits `who` with `amount` and grows total supply to match (setup only).
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:197
↓ 19 callersMethodgas_limit
Returns the transaction's gas limit.
crates/common/evm2/src/transaction.rs:76
↓ 19 callersMethodget
(&self, tx_hash: &TxHash)
crates/builder/metering/src/store.rs:90
↓ 19 callersMethodhandle
Handles the engine query request.
crates/consensus/engine/src/query.rs:71
↓ 19 callersMethodhandle_admin_query
Handles the provided [`SequencerAdminQuery`], sending the response via the provided sender. This function is used to decouple admin API logic from the
crates/consensus/service/src/actors/sequencer/admin_api_impl.rs:57
↓ 19 callersMethodhash
Compute the block hash by hashing the header fields. Uses alloy's `Header::hash_slow` which hashes the RLP-encoded header.
actions/harness/src/l1/miner.rs:170
← previousnext →401–500 of 23,652, ranked by callers