Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sovereign-Labs/sovereign-sdk
/ functions
Functions
9,860 in github.com/Sovereign-Labs/sovereign-sdk
⨍
Functions
9,860
◇
Types & classes
2,504
↓ 3 callers
Method
alloy_set_value
(&self, contract_address: Address, set_arg: u32)
crates/utils/sov-eth-client/src/lib.rs:260
↓ 3 callers
Method
amount
The amount of tokens available for pre-execution checks.
crates/module-system/sov-modules-api/src/batch.rs:52
↓ 3 callers
Method
append
Adds a block proof to the newest metadata instance
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:212
↓ 3 callers
Function
apply_call_overrides
( db: &mut RevmState<DB>, block_env: &mut BlockEnv, state_overrides: Option<StateOverride>, bl
crates/module-system/module-implementations/sov-evm/src/rpc/simulation.rs:247
↓ 3 callers
Function
apply_tx
( runtime: &mut RT, ctx: &Context<S>, tx: &AuthenticatedTransactionData<S>, raw_tx_hash: TxHas
crates/module-system/sov-modules-stf-blueprint/src/sequencer_mode/common.rs:25
↓ 3 callers
Function
assert_batch_receipts
Asserts the outcome of the benchmarks
examples/demo-rollup/sov-benchmarks/src/node/mod.rs:37
↓ 3 callers
Function
assert_blobs_are_correctly_received_helper
This helper method asserts that given slots to send and an expected order of receipts, the [`TestRunner`] will emit the receipts in the expected order
crates/module-system/module-implementations/sov-blob-storage/tests/integration/main.rs:96
↓ 3 callers
Function
assert_charge_succeeds
( meter: &mut SlotGasMeter<S>, gas: GasUnit<2>, sequencer: &MockAddress, )
crates/module-system/sov-modules-api/src/gas/meters/slot.rs:112
↓ 3 callers
Function
assert_data_only_log
(log: &Log, expected: &ExpectedLogMeta, v1: U256, v2: U256)
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2274
↓ 3 callers
Function
assert_equal_nonces_for_tags
( client: &SimpleStorageClient, address: Address, tags: &[&str], context: &str, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_get_transaction_count.rs:49
↓ 3 callers
Function
assert_hex_quantity
(value: &Value)
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2382
↓ 3 callers
Function
assert_log_matches_receipt
( receipt: &TransactionReceipt, log: &alloy_rpc_types_eth::Log, log_index: u64, )
examples/demo-rollup/tests/evm/evm_rpc.rs:782
↓ 3 callers
Function
assert_logs_against_state
Asserts all the [`ChangelogEntry`] logs against the existing state
crates/utils/transaction-generator/src/interface/traits.rs:144
↓ 3 callers
Function
assert_next_items_numbers
(slot_number: u64, ledger_db: &LedgerDb)
crates/full-node/sov-db/tests/integration/ledger_db.rs:347
↓ 3 callers
Function
assert_nonce_error_precedes_affordability
(response: &serde_json::Value, method: &str)
crates/full-node/sov-ethereum/tests/integration/evm/evm_rpc_compliance_validation_2.rs:32
↓ 3 callers
Function
assert_proof_matches_storage_and_accessory
( storage: &TestStorage, user_key: &SlotKey, accessory_key: &SlotKey, expected
crates/module-system/sov-state/src/nomt/prover_storage.rs:1092
↓ 3 callers
Function
assert_receipt_matches
(left: &TransactionReceipt, right: &TransactionReceipt)
examples/demo-rollup/tests/evm/evm_rpc.rs:795
↓ 3 callers
Function
assert_remaining_gas_equals
( meter: &SlotGasMeter<S>, sequencer: &MockAddress, expected: GasUnit<2>, )
crates/module-system/sov-modules-api/src/gas/meters/slot.rs:123
↓ 3 callers
Function
assert_safe_finalized_consistent
( client: &dyn Provider, sealed_head_number: u64, expected_finalized_number: Option<u64>, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_block_by_number_hash.rs:53
↓ 3 callers
Function
assert_single_blob
( mut blobs: Vec<BlobWithSender>, expected_signer: CelestiaAddress, expected_hash: HexHash, ex
crates/adapters/celestia/src/da_service/tests.rs:55
↓ 3 callers
Function
assert_slot_numbers
(n: u64, ledger_db: &LedgerDb)
crates/full-node/sov-db/tests/integration/ledger_db.rs:338
↓ 3 callers
Function
assert_values
Checks that given storage can see all expected values for a given key. The first element in expected_values is supposed to be rollup_height == 0 Last
crates/module-system/module-implementations/integration-tests/tests/concurrent_prover_storages.rs:534
↓ 3 callers
Method
balance
Returns the balance of the user.
crates/utils/sov-test-utils/src/interface/roles/mod.rs:101
↓ 3 callers
Method
base_fee_per_gas_at
( &self, _height: super::RollupHeight, state: &mut crate::state::ApiStateA
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:259
↓ 3 callers
Method
base_fee_value
The base fee reward of the transaction expressed as a gas token amount. This amounts to compute the scalar product of [`Self::base_fee`] by the curren
crates/module-system/sov-modules-api/src/transaction/rewards.rs:65
↓ 3 callers
Method
base_path
Returns the base path for the API.
crates/utils/sov-test-utils/src/runtime/mod.rs:963
↓ 3 callers
Function
batch_to_store
(sequence_number: SequenceNumber)
crates/full-node/sov-sequencer/src/preferred/db/postgres/tests/db_operations.rs:381
↓ 3 callers
Function
big_resource_used_per_run
()
crates/full-node/sov-sequencer/src/preferred/rate_limiter/limiter.rs:743
↓ 3 callers
Method
blob_type
(&self)
crates/module-system/module-implementations/sov-blob-storage/src/capabilities.rs:76
↓ 3 callers
Method
block
Gets block by number. Fails if prunned or in the future
crates/module-system/module-implementations/sov-evm/src/state_access.rs:39
↓ 3 callers
Method
bridge_port_ipv4
(&self)
crates/adapters/celestia/src/test_helper/docker.rs:168
↓ 3 callers
Function
broadcast_message_stream
Creates a stream backed by a broadcast channel. Maps Lagged errors to include identifier tracking.
crates/utils/sov-rest-utils/src/ws_tests.rs:107
↓ 3 callers
Function
broadcast_to_subscription_stream
( receiver: Option<tokio::sync::broadcast::Receiver<T>>, )
crates/full-node/sov-sequencer/src/rest_api.rs:67
↓ 3 callers
Function
build_ranges_to_prove_for_skipped_blobs
( inner_range: std::ops::Range<usize>, flat_namespace_shares: &[&celestia_types::Share], )
crates/adapters/celestia/src/verifier/proofs.rs:275
↓ 3 callers
Function
burn_gas_request
( caller: Address, contract_addr: Address, iterations: u32, gas_limit: Option<u64>, )
crates/module-system/module-implementations/sov-evm/tests/integration/archival_state.rs:17
↓ 3 callers
Method
burn_rate
Returns the burn rate for the reward
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:23
↓ 3 callers
Method
bytes
Returns a reference to the underlying bytes of the public key.
crates/adapters/mock-zkvm/src/crypto.rs:157
↓ 3 callers
Method
bytes
Returns the bytes of the underlying public key.
crates/adapters/risc0/src/crypto.rs:208
↓ 3 callers
Method
calculate_row_number_for_share
Calculates namespace-row index from a row-aligned namespace-relative share index. `share_idx` follows the same indexing convention as `RangeProof::sta
crates/adapters/celestia/src/celestia.rs:188
↓ 3 callers
Method
call
( &self, request: Request<'a>, )
crates/full-node/sov-stf-runner/src/http/rpc_metrics.rs:132
↓ 3 callers
Function
call_message_from_file
(path: impl AsRef<Path>)
crates/module-system/sov-cli/tests/integration/transactions.rs:423
↓ 3 callers
Method
can_mint
Borrows the set of tokens that this account can mint
crates/utils/transaction-generator/src/generators/bank/account.rs:77
↓ 3 callers
Function
capture
(method: string, args: unknown[])
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:905
↓ 3 callers
Method
cfg_infallible
Get the Evm chain config.
crates/module-system/module-implementations/sov-evm/src/state_access.rs:245
↓ 3 callers
Method
chain_id
Sets the chain ID for the transaction. The chain ID is required and must be set before calling `build()`. It prevents transactions from being replaye
crates/web3/src/schema.rs:532
↓ 3 callers
Method
chain_state
( operating_mode: OperatingMode, inner_code_commitment: CodeCommitmentFor<S::InnerZkvm>,
crates/utils/sov-test-utils/src/runtime/genesis/mod.rs:165
↓ 3 callers
Method
changes
(&mut self)
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:119
↓ 3 callers
Function
changeset
(reads: Vec<(u8, u8)>, namespace: Namespace)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/tx_scratchpad.rs:295
↓ 3 callers
Method
charge_gas
(&mut self, amount: S::Gas)
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:164
↓ 3 callers
Function
check_and_log_truthiness
(value: &str, item_to_enable: &str)
crates/module-system/sov-modules-rollup-blueprint/src/native_only/telemetry.rs:184
↓ 3 callers
Method
check_if_reverted
(&self, version: u64, db: &AccessoryDb)
crates/full-node/sov-db/src/accessory_db.rs:416
↓ 3 callers
Function
check_malicious_case
Crafting malicious witness from scratch is tedious. To emulate it, we use "inverse approach". We modify build normal nomt witness, but ZK receives a m
crates/module-system/sov-modules-api/tests/integration/state_tests/compute_state_update/nomt.rs:92
↓ 3 callers
Function
check_namespace_end_boundary
After all blobs have been verified, check namespace right boundary for completeness/censorship resistance. When needed, this is done with a proof for
crates/adapters/celestia/src/verifier/mod.rs:555
↓ 3 callers
Function
check_seq_and_node_gas
(tx_statuses: Vec<TxStatus>)
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/optimistic/sequencer.rs:77
↓ 3 callers
Function
check_txs
(tx_statuses: Vec<TxStatus>)
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/operator/registered.rs:13
↓ 3 callers
Method
client
Returns a [`Client`] REST handler for the sequencer.
crates/utils/sov-test-utils/src/sequencer.rs:236
↓ 3 callers
Method
code_commitment
Returns the code commitment (verifying key) of the aggregation program.
crates/adapters/sp1/src/host.rs:80
↓ 3 callers
Function
code_commitment_from_verifying_key
Computes the [`SP1MethodId`] (code commitment) for an already-derived verifying key.
crates/adapters/sp1/src/host.rs:351
↓ 3 callers
Function
collect_kernel_entries
( storage: &S, prefix: Prefix, )
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:991
↓ 3 callers
Function
collect_user_entries
( storage: &S, prefix: Prefix, )
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:1005
↓ 3 callers
Method
commit_apply_slot_output
( &mut self, output: TestApplySlotOutput<RT, S>, nonces: NoncesMap<S>, )
crates/utils/sov-test-utils/src/runtime/mod.rs:717
↓ 3 callers
Method
commit_internal
( &self, state_changes: StateChanges, version: u64, is_commit: bool, )
crates/full-node/sov-db/src/flat_db.rs:351
↓ 3 callers
Method
compute_state_update
( &self, state_accesses: StateAccesses, witness: &Self::Witness, prev_state_ro
crates/module-system/sov-state/src/nomt/prover_storage.rs:682
↓ 3 callers
Method
connect
Creates a new NodeDiscovery with a connection pool and custom max_age. The `max_age` parameter controls how long a node can go without updating its h
crates/utils/sov-proxy-utils/src/node_discovery.rs:264
↓ 3 callers
Function
convert_to_tx_signed
Coverts RLP encoded transaction to `TransactionSigned`.
crates/module-system/module-implementations/sov-evm/src/evm/conversions.rs:103
↓ 3 callers
Function
crate_range_from
( mut range: RangeInclusive<u64>, new_start: Option<u64>, new_end: Option<u64>, )
crates/module-system/module-implementations/sov-evm/src/hooks.rs:295
↓ 3 callers
Method
create
( da: Da, state_update_receiver: StateUpdateReceiver<S::Storage>, _da_sync_state: Arc<
crates/full-node/sov-sequencer/src/standard/mod.rs:128
↓ 3 callers
Method
createMultisigJsonBytes
* Creates V1 JSON bytes for a multisig transaction, including multisig_id and version. * The resulting JSON is what each signer signs directly (no
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:494
↓ 3 callers
Method
create_messages
( &self, chain_id: u64, max_priority_fee_bips: PriorityFeeBips, max_fee: Amoun
crates/utils/sov-test-utils/src/generators/bank.rs:257
↓ 3 callers
Function
create_multisig_simple_wire_bytes
(json_str: &str)
crates/module-system/sov-solana-offchain-auth/tests/integration/main.rs:473
↓ 3 callers
Method
create_new_rollup_with_genesis_source
( &self, genesis_source: GenesisSource<Self::Spec, Self::Runtime>, rollup_config: Roll
crates/module-system/sov-modules-rollup-blueprint/src/native_only/mod.rs:363
↓ 3 callers
Function
create_runner_and_blobs
( tx_statuses: &[TxStatus], )
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/optimistic/sequencer.rs:11
↓ 3 callers
Function
create_test_rollup
()
crates/full-node/sov-sequencer/tests/integration/preferred_blob_sender.rs:30
↓ 3 callers
Method
creates_rollup_block
Whether the rollup block hooks should be executed. We should execute block hooks whenever we accept blobs for execution or when we increase the visibl
crates/module-system/sov-modules-api/src/runtime/capabilities/batch_selector.rs:51
↓ 3 callers
Method
ctx
(&mut self)
crates/module-system/module-implementations/sov-evm/src/sov_evm/evm.rs:45
↓ 3 callers
Function
current_base_fee
(client: &SimpleStorageClient)
crates/full-node/sov-ethereum/tests/integration/evm/evm_call_fee_fields.rs:59
↓ 3 callers
Method
current_proof_jump
Returns the number of blocks scheduled to be proven in the current aggregated proof.
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:200
↓ 3 callers
Method
current_time_secs
(&self, state: &mut impl TxState<S>)
crates/module-system/module-implementations/sov-timelock/src/lib.rs:271
↓ 3 callers
Method
debug_trace_transaction
( &self, tx_hash: B256, opts: Option<GethDebugTracingOptions>, state: &mut Api
crates/module-system/module-implementations/sov-evm/src/rpc/handlers.rs:500
↓ 3 callers
Method
dedup
* Retrieve dedup information about the provided address. * * @param publicKey - The public key to dedup. * TODO: How to request a specific un
typescript/packages/web3/src/rollup/rollup.ts:145
↓ 3 callers
Function
deepEqualNormalized
(left: unknown, right: unknown)
typescript/apps/evm-rpc-diff-harness/src/harness/normalize.ts:143
↓ 3 callers
Function
defaultComparison
(anvil: EndpointObservation, rollup: EndpointObservation)
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:206
↓ 3 callers
Function
default_compression_chunk_size
Default chunk size: the per-chunk compressed cap [`crate::envelope::MAX_COMPRESSED_CHUNK_LEN`] (one signed-v1 first share minus the envelope and chunk
crates/adapters/celestia/src/config.rs:433
↓ 3 callers
Function
default_genesis
Constructs a default genesis matching `chain_state_zk.json` + `bank.json` + `evm.json` from the integration-tests test-data directory: pre-funds the s
crates/full-node/sov-ethereum/tests/integration/common/genesis.rs:34
↓ 3 callers
Function
default_rust_log_value
A good default for [`EnvFilter`] when `RUST_LOG` is not set.
crates/module-system/sov-modules-rollup-blueprint/src/native_only/logging.rs:111
↓ 3 callers
Function
default_test_buffer_task
()
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1426
↓ 3 callers
Method
delete_proposal
( &mut self, key: &ProposalKey<S>, state: &mut impl TxState<S>, )
crates/module-system/module-implementations/sov-timelock/src/lib.rs:424
↓ 3 callers
Function
deployContract
( wallet: Wallet, artifact: ContractArtifact, args: unknown[] = [] )
typescript/apps/evm-rpc-diff-harness/src/harness/deploy.ts:321
↓ 3 callers
Method
deregister_node_on_shutdown
Removes this node's registration from the `nodes` table. Deleting the row fires the `nodes_changes` NOTIFY trigger so `NodeDiscovery` stops routing t
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:356
↓ 3 callers
Function
derive
(tokens: &DeriveInput)
crates/module-system/sov-modules-macros/src/rest/module.rs:9
↓ 3 callers
Function
derivePda
(seeds: (string | Buffer)[], programId: PublicKeyInitData)
typescript/packages/hyperlane-solana-register/src/index.ts:20
↓ 3 callers
Function
derive_worker_key
Derives a unique private key for a worker by tweaking the root key. This modifies the first byte of the root key to ensure each worker has a distinct
crates/utils/sov-evm-soak-testing/src/main.rs:92
↓ 3 callers
Method
disable_randomizer
Disables randomizer and returns an existing one.
crates/adapters/mock-da/src/storable/layer.rs:519
↓ 3 callers
Method
discriminant
(&self)
crates/module-system/sov-modules-api/src/tests.rs:61
↓ 3 callers
Function
domain_from_hexhash
(hash: HexHash)
crates/module-system/hyperlane/tests/integration/with_agent/helpers/evm.rs:462
↓ 3 callers
Method
drop_and_notify
Drop a transaction from the mempool and notify subscribers.
crates/full-node/sov-sequencer/src/standard/mempool.rs:114
↓ 3 callers
Method
eip2718_encoded_length_with_bloom
(&self, bloom: &Bloom)
crates/module-system/module-implementations/sov-evm/src/evm/eth_receipt.rs:105
↓ 3 callers
Method
eip712_get_typed_data_inner
( &self, type_index: usize, input: &[u8], )
crates/universal-wallet/schema/src/schema/mod.rs:417
↓ 3 callers
Method
emit_logs
Emit logs.
crates/utils/sov-evm-test-utils/src/simple_storage.rs:70
↓ 3 callers
Method
encode
(&self, value: &V, writer: &mut impl Write)
crates/module-system/sov-state/src/codec/bcs_codec.rs:14
← previous
next →
1,501–1,600 of 9,860, ranked by callers