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
↓ 1 callers
Method
back_mut
(&mut self)
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:47
↓ 1 callers
Method
backfill_to_event_id
( &mut self, mut current_event_id: u64, target_event_id: u64, mut prev_event_t
crates/full-node/sov-sequencer/src/preferred/replica/event_receiver.rs:282
↓ 1 callers
Function
background_header_fetch_task
TODO: Switch to subscription when it is brought back
crates/full-node/sov-stf-runner/src/da/finalized_headers_cache.rs:256
↓ 1 callers
Function
balance_at
(client: &SimpleStorageClient, address: Address, block: impl Serialize)
crates/full-node/sov-ethereum/tests/integration/evm/evm_block_pinned_state_reads.rs:32
↓ 1 callers
Function
balance_key
(address: &str)
examples/demo-rollup/src/hive/merge.rs:13
↓ 1 callers
Method
balance_of
(&mut self, address: HexHash)
crates/module-system/hyperlane/tests/integration/with_agent/helpers/evm.rs:285
↓ 1 callers
Function
bank_balance_precompile
( input: &[u8], gas_limit: u64, bank: &Bank<S>, state: &mut ST, )
crates/module-system/module-implementations/sov-evm/src/precompiles/bank_balance.rs:67
↓ 1 callers
Function
bank_benches
(params: &BenchCLICustomArgs, slots: u64, seed: u128)
examples/demo-rollup/sov-benchmarks/src/bench_generator/benches.rs:18
↓ 1 callers
Function
base58Encode
(bytes: Uint8Array)
typescript/examples/phantom/e2e/auth-and-send.spec.ts:40
↓ 1 callers
Method
base_fee
(&self, state: &mut Reader)
crates/module-system/module-implementations/sov-evm/src/lib.rs:279
↓ 1 callers
Method
batch
(calls: BatchCallInput[])
typescript/apps/evm-rpc-diff-harness/src/harness/rpc.ts:188
↓ 1 callers
Method
batch_add_txs
( &mut self, sequence_number_of_in_progress_batch: SequenceNumber, mut tx_idx_within_b
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:93
↓ 1 callers
Method
batch_receipts
Returns a reference to the commit's batch_receipts
crates/full-node/sov-db/src/ledger_db/mod.rs:72
↓ 1 callers
Function
batch_state_roots
( proof_batch: &[BlockHeaderWithProof<MockDaSpec>], )
examples/demo-rollup/tests/prover/sov-aggregated-proof/script/src/main.rs:160
↓ 1 callers
Method
batch_txs
(&self)
crates/module-system/module-implementations/sov-evm/tests/integration/transactions.rs:557
↓ 1 callers
Method
batch_with_id_size
The total size, in bytes, of all transactions and associated batch metadata.
crates/module-system/sov-modules-api/src/batch.rs:84
↓ 1 callers
Method
batches
(&self)
crates/adapters/celestia/src/test_helper/files.rs:51
↓ 1 callers
Method
begin_exit_attester
The attester starts the first phase of the two-phase unbonding. We put the current max finalized height with the attester address in the set of unbond
crates/module-system/module-implementations/sov-attester-incentives/src/registration/attester.rs:62
↓ 1 callers
Method
binary_search_for_fork_point
Performs binary search to find a fork point in the current chain. Returns: - `Done(result)` if search completes with a definitive result - `Exhausted
crates/full-node/sov-stf-runner/src/state_manager/mod.rs:758
↓ 1 callers
Function
blob_deserialization_gate
( rollup_decode_failed: bool, deserialize_ok: bool, verified_len: usize, total_len: usize, )
crates/module-system/module-implementations/sov-blob-storage/src/capabilities.rs:1357
↓ 1 callers
Method
blob_finalized_or_discarded
( &self, blob_hash: HexHash, _blob_id: BlobInternalId, )
crates/full-node/sov-blob-sender/src/lib.rs:458
↓ 1 callers
Method
blob_selector
Returns the [`BlobSelector`] implementation on [`HasKernel::Kernel`].
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:172
↓ 1 callers
Method
blobs_to_send_after_restart
Returns the blobs that were loaded from storage and will be submitted on the first publish call after restart.
crates/full-node/sov-blob-sender/src/lib.rs:219
↓ 1 callers
Function
block_context_by_number
(client: &SimpleStorageClient, number: u64)
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:1986
↓ 1 callers
Method
block_gas_limit
( &self, current_rollup_height: RollupHeight, is_stale_height: bool, )
crates/module-system/sov-kernels/src/basic.rs:153
↓ 1 callers
Method
block_gas_limit_at
Returns the slot gas limit at the specified slot height for this state accessor. Note that any empty slots in between height n-1 and height n are defi
crates/module-system/module-implementations/sov-chain-state/src/capabilities.rs:436
↓ 1 callers
Function
block_hash
(height: u64, blob_hashes: &[MockHash], prev_hash: [u8; 32])
crates/adapters/mock-da/src/in_memory/service.rs:266
↓ 1 callers
Method
block_id_to_pending_or_block
( &self, block_id: BlockId, state: &mut ApiStateAccessor<S>, )
crates/module-system/module-implementations/sov-evm/src/rpc/block_resolution.rs:364
↓ 1 callers
Method
block_on_wait_gate_if_armed
(&self)
crates/full-node/sov-db/src/test_utils.rs:440
↓ 1 callers
Function
block_tx_hashes
(client: &DynProvider, block_number: u64)
crates/full-node/sov-ethereum/tests/integration/evm/evm_fee_history.rs:147
↓ 1 callers
Method
buildSpecCompliantMultisigEnvelope
* Builds a spec-compliant multisig envelope from a V1 transaction and ordered multisig pubkeys.
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:644
↓ 1 callers
Function
build_batch_sizes
(row_len: usize, sender_idx: usize)
crates/adapters/celestia/src/da_service/tests.rs:147
↓ 1 callers
Function
build_create_token_tx
( key: &<<TestSpec as Spec>::CryptoSpec as CryptoSpec>::PrivateKey, nonce: u64, initia
examples/demo-rollup/rest-api-load-testing/src/main.rs:157
↓ 1 callers
Function
build_create_token_tx_with_chain_hash
( key: &<<TestSpec as Spec>::CryptoSpec as CryptoSpec>::PrivateKey, nonce: u64, initial_balance: u
examples/demo-rollup/tests/bank/helpers.rs:79
↓ 1 callers
Function
build_evm_contract_call_tx
Builds an EVM contract call transaction.
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:316
↓ 1 callers
Function
build_evm_transfer_tx
Builds an EVM transfer transaction.
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:303
↓ 1 callers
Method
build_finalized_state
Returns an accessor suitable for `finalized`-tag RPC reads. The checkpoint carries explicit finalized policy because both preferred and standard sequ
crates/module-system/sov-modules-api/src/state/accessors/http_api.rs:1093
↓ 1 callers
Function
build_hardfork_schedule
( config: &ChainConfig, chain_timestamps: &[(u64, u64)], )
examples/demo-rollup/src/hive/schedule.rs:31
↓ 1 callers
Method
build_merkle_tree
A trait describing how to build a merkle tree from a slice of bytes. The default implementation returns an RFC6962-style tree for ease of updating.
crates/rollup-interface/src/state_machine/stf/fuzzing.rs:62
↓ 1 callers
Function
build_multiple_transfers
( amounts: &[u128], signer_key: &<<TestSpec as Spec>::CryptoSpec as CryptoSpec>::PrivateKey, token
examples/demo-rollup/tests/bank/helpers.rs:114
↓ 1 callers
Method
build_preferred_batch
Builds a preferred batch. Increments the current sequence number
crates/utils/sov-test-utils/src/interface/roles/sequencer.rs:28
↓ 1 callers
Function
build_proof_sizes
(row_len: usize, sender_idx: usize)
crates/adapters/celestia/src/da_service/tests.rs:168
↓ 1 callers
Function
build_register_sequencer_tx
( key: &TestPrivateKey, nonce: u64, )
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:97
↓ 1 callers
Function
build_rollup_with_prover
( addr: SocketAddr, )
examples/demo-rollup/tests/restart/proofs.rs:25
↓ 1 callers
Function
build_send_tx
Builds a simple transfer transaction
examples/demo-rollup/sov-benchmarks/src/node/mod.rs:20
↓ 1 callers
Function
build_sequencer_context
( storage: &S, args: &Args, parsed_address_args: &ParsedAddressArgs, module_discriminants: Mod
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:596
↓ 1 callers
Function
build_soft_confirmation_blobs
Builds a [`RelevantBlobs`] struct from a list of [`BlobConfigInfo`]s. This struct populates the batches with simple [`ValueSetter`] messages. One can
crates/module-system/module-implementations/integration-tests/tests/archival_queries/soft_confirmations.rs:42
↓ 1 callers
Function
build_state_heavy_tx
Builds a transaction that writes a large state value, consuming metered gas. Gas is charged based on the size of data written.
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:479
↓ 1 callers
Function
build_struct_type_scaffold
Take a struct type and return the appropriate scaffold for it. The scaffold is just ```text Item::Container(Container::Struct(Struct { name: "MyStruct
crates/universal-wallet/macro-helpers/src/schema.rs:541
↓ 1 callers
Function
build_test_axum_router
()
crates/full-node/sov-stf-runner/src/http/mod.rs:353
↓ 1 callers
Function
build_test_json_rpc
()
crates/full-node/sov-stf-runner/src/http/mod.rs:303
↓ 1 callers
Function
build_tuple_type_scaffold
Take a tuple type and return the appropriate scaffold for it. The scaffold is just ```text Item::Container(Container::Tuple(Tuple { fields: vec![ Unna
crates/universal-wallet/macro-helpers/src/schema.rs:623
↓ 1 callers
Method
build_tx_request
(&self, sender: Address)
crates/full-node/sov-ethereum/tests/integration/evm/evm_simulation_and_send_consistency.rs:37
↓ 1 callers
Function
build_virtual_struct
Build an explicit struct type from the fields inside an enum variant. This is a relatively simple wrapper around the variant's fields, the only extra
crates/universal-wallet/macro-helpers/src/schema.rs:747
↓ 1 callers
Function
build_virtual_tuple
Build an explicit tuple struct type from the fields inside an enum variant. This is a relatively simple wrapper around the variant's fields, the only
crates/universal-wallet/macro-helpers/src/schema.rs:833
↓ 1 callers
Method
bulk_insert_txs
( &mut self, txs: Vec<(FullyBakedTx, TxHash)>, sequence_number: SequenceNumber,
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:664
↓ 1 callers
Function
burn_event_ids
(connection_string: &str, count: usize)
crates/full-node/sov-sequencer/src/preferred/replica/replica_sync_task.rs:310
↓ 1 callers
Method
burn_from_eoa
Burns coins from an externally owned address ("EOA")
crates/module-system/module-implementations/sov-bank/src/call.rs:309
↓ 1 callers
Method
burn_rate
The burn rate of the reward price for the provers. The burn rate is a percentage of the base fee that is burned - this prevents provers from proving e
crates/module-system/module-implementations/sov-prover-incentives/src/call.rs:41
↓ 1 callers
Function
by_hash
(client: &DynProvider, hash: BlockHash)
examples/demo-rollup/tests/evm/evm_rpc.rs:96
↓ 1 callers
Method
by_hash
(mut self, block_hash: B256)
crates/full-node/sov-ethereum/src/handlers/get_logs/service.rs:130
↓ 1 callers
Method
by_range
( mut self, from_block: Option<BlockNumberOrTag>, to_block: Option<BlockNumberOrTag>,
crates/full-node/sov-ethereum/src/handlers/get_logs/service.rs:144
↓ 1 callers
Method
cachePublicKey
(msgHash: string, signature: Signature)
typescript/packages/signers/src/privy.ts:61
↓ 1 callers
Method
cachePublicKey
* Cache the public key recovered from a signature. * Uses viem's parseSignature which accepts high-s signatures (unlike ethers).
typescript/packages/signers/src/wasm/eip712.ts:59
↓ 1 callers
Method
calculate_metadata_hash
(&self)
crates/universal-wallet/schema/src/schema/mod.rs:335
↓ 1 callers
Method
calculate_reward_and_remove
Computes the total reward from the aggregated state transition and rewards the prover with the unclaimed transition rewards. If all the rewards were a
crates/module-system/module-implementations/sov-prover-incentives/src/capabilities.rs:649
↓ 1 callers
Method
calculate_rlp_size
(&self, transactions: Vec<TransactionSigned>)
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:167
↓ 1 callers
Function
call_tx
(account: &EvmAccount, nonce: u64, to: Address, data: Bytes)
crates/module-system/module-implementations/sov-evm/benches/ecrecover.rs:178
↓ 1 callers
Method
can_fit_tx_bytes
(&self, tx_size: usize)
crates/full-node/sov-sequencer/src/preferred/batch_size_tracker.rs:35
↓ 1 callers
Method
cancel_proposal
( &mut self, proposal_id: ProposalId, address: Option<S::Address>, context: &C
crates/module-system/module-implementations/sov-timelock/src/call.rs:44
↓ 1 callers
Function
cant_fit_tx
( current_batch_size: usize, max_batch_size: usize, tx_len: usize, )
crates/full-node/sov-sequencer/src/preferred/rpc_errors.rs:9
↓ 1 callers
Function
cast
(val: any, typ: any)
typescript/examples/soak-testing/src/types.ts:510
↓ 1 callers
Function
cast
(val: any, typ: any)
typescript/examples/phantom/src/types.ts:1093
↓ 1 callers
Method
catchup_batches_to_send
Returns a range to allow hysteresis during catchup. The first (lower) value will be the minimum to be considered successfully recovered, the second (u
crates/full-node/sov-sequencer/src/preferred/mod.rs:187
↓ 1 callers
Method
chain_hash
Retrieves the 32-byte chain hash from the schema. The chain hash is a unique identifier for the blockchain network that helps prevent cross-chain rep
crates/web3/src/schema.rs:160
↓ 1 callers
Function
chain_hash_override_array_override_logic
Generates the override logic expression for ChainHashOverride arrays.
crates/module-system/sov-modules-macros/src/compile_manifest_constants.rs:316
↓ 1 callers
Method
change
(&mut self, state: &mut impl InfallibleStateAccessor)
crates/module-system/sov-modules-api/tests/integration/state_tests/structs.rs:48
↓ 1 callers
Function
charge_gas_to_deserialize_json
Computes the cost to deserialize the given JSON buffer, in `Gas`, and charges it to the provided `GasMeter`. # Errors Returns an error if charging th
crates/module-system/sov-modules-api/src/gas/metered_utils.rs:285
↓ 1 callers
Function
charge_read
( accessor: &mut Accessor, namespace: Namespace, key: &SlotKey, )
crates/module-system/sov-modules-api/src/state/traits.rs:618
↓ 1 callers
Function
charge_tx_deserialization
Charge gas for deserializing a transaction.
crates/module-system/sov-modules-api/src/transaction/mod.rs:132
↓ 1 callers
Method
check
Check failure behavior. Returns action to take based on current state.
crates/adapters/mock-da/src/config.rs:267
↓ 1 callers
Method
check_admin_upgrade_or_slash
Classifies an admin proof. Returns `Some(upgrade)` with the decoded commitments ready to persist if the proof requests an upgrade and all gates pass (
crates/module-system/module-implementations/sov-prover-incentives/src/capabilities.rs:518
↓ 1 callers
Method
check_all
(&self)
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:659
↓ 1 callers
Function
check_base_runtime_info
(client: &demo_stf_json_client::Client)
examples/demo-rollup/tests/rest_api/mod.rs:143
↓ 1 callers
Function
check_blobs_roundtrip
Tests the full lifecycle of blobs sent through the Celestia service by submitting data and verifying same data has be received. This function perform
crates/adapters/celestia/src/checker.rs:30
↓ 1 callers
Method
check_bonding_proof
( &self, sender: &S::Address, attestation: &Attestation< <S::Da as DaSpec>
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:136
↓ 1 callers
Method
check_challenge_outputs_against_transition
( &self, public_outputs: &StateTransitionPublicData< S::Address, S::Da
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:233
↓ 1 callers
Function
check_consistency
( da_service: &StorableMockDaService, expected_blobs_count: usize, )
crates/adapters/mock-da/src/storable/local_service.rs:630
↓ 1 callers
Method
check_consistency
Evaluates whether the observed root hashes are consistent. Returns `AllMatch` even when only one node responded.
crates/utils/sov-proxy-utils/src/node_checker.rs:236
↓ 1 callers
Method
check_consistency
(&self)
crates/adapters/celestia/src/shares.rs:40
↓ 1 callers
Function
check_custom_endpoints
(client: &demo_stf_json_client::Client)
examples/demo-rollup/tests/rest_api/mod.rs:281
↓ 1 callers
Function
check_da_service
Check that CelestiaService can submit and receive blobs properly.
crates/adapters/celestia/src/checker.rs:117
↓ 1 callers
Function
check_exactly_one_address
(fields: &[ModuleField])
crates/module-system/sov-modules-macros/src/module_info.rs:561
↓ 1 callers
Function
check_from_as_ref
20 u8 -> 32 u5
crates/adapters/celestia/src/verifier/address.rs:224
↓ 1 callers
Function
check_from_bytes_as_ascii
20 u8 -> 32 u5
crates/adapters/celestia/src/verifier/address.rs:213
↓ 1 callers
Method
check_generation_uniqueness
( &self, credential_id: &CredentialId, transaction_generation: u64, transactio
crates/module-system/module-implementations/sov-uniqueness/src/generations.rs:7
↓ 1 callers
Function
check_hints_round_trip
(hints: Vec<T>)
crates/adapters/risc0/tests/native.rs:15
↓ 1 callers
Function
check_historical_data
(client: &demo_stf_json_client::Client)
examples/demo-rollup/tests/rest_api/mod.rs:313
↓ 1 callers
Function
check_if_rollup_has_standard_modules
Call to list of modules endpoint and checking if all modules are listed there. It assumes that "bank", "accounts" and "nonces" are standard Sovereign
crates/utils/sov-node-client/src/lib.rs:388
↓ 1 callers
Method
check_initial_hash
( &self, claimed_slot_number: SlotNumber, attestation: &Attestation< <S::D
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:48
← previous
next →
3,001–3,100 of 9,860, ranked by callers