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
↓ 4,027 callers
Function
new
(bytes: [u8; 20])
crates/adapters/celestia/src/verifier/address.rs:45
↓ 3,927 callers
Method
unwrap
Unwraps the `Option`, panicking if the value is `None`.
crates/module-system/sov-modules-api/src/containers/mod.rs:60
↓ 1,343 callers
Method
expect
Unwraps the `Option`, panicking with the provided message if the value is `None`.
crates/module-system/sov-modules-api/src/containers/mod.rs:65
↓ 1,010 callers
Method
clone
(&self)
crates/full-node/sov-db/src/state_db_nomt.rs:150
↓ 842 callers
Method
map
Map the value if it is present.
crates/module-system/sov-state/src/sequencer_state.rs:244
↓ 621 callers
Method
clone
(&self)
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:341
↓ 491 callers
Method
iter
This method is used to get all the changeset from the cache. The `revertable_log` shoule be either merged or discarded before calling this method.
crates/module-system/sov-state/src/cache.rs:121
↓ 430 callers
Method
address
(&self)
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:57
↓ 428 callers
Method
execute_transaction
Execute a [`TransactionTestCase`] against the current state of the test runtime. Under the hood this will execute a slot with a single batch containi
crates/utils/sov-test-utils/src/runtime/mod.rs:763
↓ 392 callers
Method
push
(&self, blob: BlobToSend, id: BlobInternalId)
crates/full-node/sov-blob-sender/src/db.rs:60
↓ 389 callers
Method
try_into
(self)
crates/full-node/sov-api-spec/src/client.rs:463
↓ 348 callers
Method
clone
(&self)
crates/module-system/module-implementations/sov-bank/src/utils.rs:241
↓ 305 callers
Method
get
Gets the ratio as a `u8`.
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:48
↓ 288 callers
Method
len
(&self)
crates/full-node/sov-db-types/src/lib.rs:486
↓ 283 callers
Method
set
Replaces the keyed value on the storage.
crates/module-system/sov-state/src/cache.rs:607
↓ 258 callers
Method
into_iter
(self)
crates/adapters/celestia/src/shares.rs:93
↓ 253 callers
Method
unwrap_or
Unwraps the `Option`, returning the provided default value if the value is `None`.
crates/module-system/sov-modules-api/src/containers/mod.rs:70
↓ 252 callers
Method
clone
(&self)
crates/module-system/sov-modules-api/src/default_spec.rs:51
↓ 210 callers
Method
context
* The context for the rollup.
typescript/packages/web3/src/rollup/rollup.ts:376
↓ 198 callers
Method
get
Gets [`StateTransitionInfo`] for the corresponding slot number
crates/full-node/sov-stf-runner/src/processes/stf_info_manager.rs:448
↓ 194 callers
Method
wait_for_rollup_height_advance_by
Waits until the rollup_height advances by `delta`. Note that the rollup_height remains the same while DA is progressing if no batches are being create
crates/utils/sov-test-utils/src/test_rollup.rs:1133
↓ 182 callers
Method
clone
(&self)
crates/module-system/sov-state/src/sequencer_state.rs:67
↓ 181 callers
Method
path
(&self)
crates/utils/sov-test-utils/src/test_rollup.rs:77
↓ 175 callers
Method
join
Waits for the background cluster-info tasks to finish.
crates/utils/sov-proxy-utils/src/cluster_info_service.rs:61
↓ 169 callers
Method
address
Address
crates/full-node/sov-eth-dev-signer/src/lib.rs:49
↓ 165 callers
Method
ok_or_else
Unwraps the `Option`, returning an error if the value is `None`.
crates/module-system/sov-modules-api/src/containers/mod.rs:75
↓ 159 callers
Method
api_client
Helper to get api_client
crates/utils/sov-test-utils/src/test_rollup.rs:724
↓ 135 callers
Method
len
Returns the number of addresses in the list.
crates/module-system/sov-cli/src/wallet_state.rs:304
↓ 132 callers
Method
query_visible_state
Queries the state of the rollup. Calls the given closure with an [`ApiStateAccessor`] and returns the result. This method does not commit any changes
crates/utils/sov-test-utils/src/runtime/mod.rs:399
↓ 121 callers
Function
spawn
( jump: usize, nb_of_threads: usize, path: impl AsRef<std::path::Path>, )
crates/full-node/sov-stf-runner/tests/integration/aggregated_proof_tests.rs:133
↓ 119 callers
Method
elapsed
Ends the timer if the `native` feature is enabled. Otherwise, does nothing. Panics if the metric is not in progress.
crates/full-node/sov-metrics/src/maybe_timer.rs:47
↓ 119 callers
Function
u
(...typs: any[])
typescript/examples/phantom/src/types.ts:1109
↓ 112 callers
Method
wait_for_sequencer_ready
Polls the sequencer until is_ready() returns Ok(()). Times out after TestRollup::POLLING_TIMEOUT seconds.
crates/utils/sov-test-utils/src/test_rollup.rs:926
↓ 107 callers
Method
ok_or
Unwraps the `Option`, returning an error if the value is `None`.
crates/module-system/sov-modules-api/src/containers/mod.rs:83
↓ 105 callers
Method
get
Get the current value of the [`AtomicAmount`]
crates/utils/sov-test-utils/src/lib.rs:319
↓ 103 callers
Method
push
Pushes a value to the end of the vector.
crates/module-system/sov-modules-api/src/containers/vec.rs:173
↓ 100 callers
Method
extend
Extend the `SafeVec` with the contents of an iterator. # Panics Panics if extending the vector exceeds its capacity.
crates/rollup-interface/src/common/safe_vec.rs:579
↓ 100 callers
Method
request
(&self, url: &str)
crates/utils/rest-api-load-testing/src/req_sender.rs:40
↓ 99 callers
Function
r
(name: string)
typescript/examples/phantom/src/types.ts:1121
↓ 99 callers
Method
sign
* Sign a message. * * @param message - The message to sign * @returns A promise that resolves to the signature
typescript/packages/signers/src/signer.ts:11
↓ 98 callers
Method
map
Maps one type of message outcome to another
crates/utils/transaction-generator/src/interface/mod.rs:68
↓ 98 callers
Method
push
(&mut self, t: Duration)
crates/module-system/module-implementations/sov-evm/src/db/metrics.rs:25
↓ 97 callers
Method
additional_accounts
(&self)
crates/utils/sov-test-utils/src/runtime/genesis/zk/config.rs:33
↓ 96 callers
Method
pub_key
(&self)
crates/module-system/sov-address/src/evm/private_key.rs:54
↓ 93 callers
Function
config_gas_token_id
The [`TokenId`] of the rollup's gas token.
crates/module-system/module-implementations/sov-bank/src/lib.rs:54
↓ 93 callers
Method
height
(&self)
crates/utils/sov-test-utils/src/test_rollup.rs:1118
↓ 92 callers
Method
extend_from_slice
(&mut self, other: &[T])
crates/rollup-interface/src/common/safe_vec.rs:612
↓ 92 callers
Method
insert
Insert a new leaf into the tree. Compare with https://github.com/hyperlane-xyz/cosmwasm/blob/c4485e00c89c2d57315503955946bf7f155e7a47/packages/interfa
crates/module-system/hyperlane/src/merkle/tree.rs:166
↓ 91 callers
Method
as_ref
(&self)
crates/module-system/sov-address/src/lib.rs:119
↓ 89 callers
Method
checked_add
Checked addition.
crates/module-system/sov-modules-api/src/common/amount.rs:66
↓ 87 callers
Method
sender
(&self)
crates/module-system/module-implementations/sov-blob-storage/src/capabilities/deserialization_tests.rs:58
↓ 86 callers
Method
encode
Encode a message into a hex string.
crates/module-system/hyperlane/src/types.rs:86
↓ 85 callers
Method
send
(&mut self, tx: &RawTx, id: String)
crates/full-node/sov-api-spec/src/client.rs:64
↓ 84 callers
Method
parse
(&self, input: &str)
crates/universal-wallet/schema/src/ty/byte_display.rs:135
↓ 81 callers
Method
insert
(&self, tx: AcceptedTx<Confirmation<S, Rt>>)
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:59
↓ 80 callers
Function
set
(value: bool)
crates/full-node/sov-sequencer/tests/integration/utils.rs:287
↓ 80 callers
Method
shutdown
(&mut self)
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:788
↓ 79 callers
Method
execute
( &self, _address: Address, _input: &[u8], _gas_limit: u64, _env: &mut
crates/module-system/module-implementations/sov-evm/src/precompiles/traits.rs:49
↓ 78 callers
Method
iter
Returns an iterator over all valid hashes (primary first, then grace period hashes).
crates/module-system/sov-modules-api/src/runtime/mod.rs:320
↓ 78 callers
Function
setup_test_rollup
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_timestamp.rs:11
↓ 77 callers
Method
emit_event
(&self, state: &mut impl EventContainer, event: Self::Event)
crates/module-system/sov-modules-api/src/module/mod.rs:183
↓ 77 callers
Method
len
(&self)
crates/full-node/sov-sequencer/src/standard/mempool.rs:77
↓ 76 callers
Method
shutdown
Shuts down both rollups, stops the DA producer, and drops the toxiproxy container.
examples/demo-rollup/tests/replica/toxi_proxy_helper.rs:99
↓ 75 callers
Method
checked_sub
See [`u64::checked_sub`].
crates/rollup-interface/src/common/slot_numbering.rs:128
↓ 75 callers
Method
contains
(&self, tx_hash: &TxHash)
crates/full-node/sov-sequencer/src/standard/mempool.rs:164
↓ 75 callers
Method
insert
(&mut self, index: usize, element: T)
crates/rollup-interface/src/common/safe_vec.rs:430
↓ 75 callers
Method
submit
Submits a metric.
crates/full-node/sov-metrics/src/influxdb/tracker.rs:73
↓ 74 callers
Method
into_genesis_params
Creates a [`GenesisParams`] from a [`GenesisConfig`].
examples/demo-rollup/stf/stf-declaration/src/test_utils.rs:54
↓ 73 callers
Method
as_ref
(&self)
crates/module-system/sov-modules-api/src/common/address.rs:397
↓ 73 callers
Method
len
Returns the length of the vector.
crates/module-system/sov-modules-api/src/containers/vec.rs:168
↓ 71 callers
Method
as_mut
(&mut self)
crates/full-node/sov-sequencer/src/preferred/db/postgres/tests/mod.rs:40
↓ 71 callers
Method
saturating_add
See [`u64::saturating_add`].
crates/rollup-interface/src/common/slot_numbering.rs:114
↓ 71 callers
Function
track_metrics
Applies a function to the global [`MetricsTracker`] instance.
crates/full-node/sov-metrics/src/influxdb/mod.rs:140
↓ 67 callers
Method
accept_tx
( &self, baked_tx: FullyBakedTx, _ip_addr: IpAddr, )
crates/full-node/sov-sequencer/src/standard/mod.rs:726
↓ 67 callers
Method
as_str
(&self)
crates/universal-wallet/schema/src/schema/safe_string.rs:41
↓ 67 callers
Method
push
Add a metric to the batch. Flushes automatically when batch is full.
crates/full-node/sov-sequencer/src/metrics.rs:402
↓ 66 callers
Method
next
Fetches the next transaction to include in the batch, if a suitable one exists.
crates/full-node/sov-sequencer/src/standard/mempool.rs:86
↓ 66 callers
Method
query_state
This method queries the state of the rollup at the latest _true_ height. ## Note This method is mostly useful in the `soft-confirmations` context. In
crates/utils/sov-test-utils/src/runtime/mod.rs:412
↓ 65 callers
Method
is_empty
(&self)
crates/full-node/sov-db/src/state_db_nomt.rs:128
↓ 65 callers
Function
o
(props: any[], additional: any)
typescript/examples/phantom/src/types.ts:1113
↓ 64 callers
Method
next
The current [`SlotNumber`] plus one. # Panics Panics in case of overflow.
crates/rollup-interface/src/common/slot_numbering.rs:77
↓ 63 callers
Method
header
Returns the block header.
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:325
↓ 63 callers
Method
write
( &self, )
crates/full-node/sov-db/src/flat_db.rs:554
↓ 61 callers
Method
len
(&self, input: &SpannedValue<String>)
crates/universal-wallet/macro-helpers/src/schema.rs:62
↓ 61 callers
Method
pause_preferred_batches
Pauses batch production for the preferred sequencer. Transactions accepted by the preferred sequencer after this call (and before [`TestRollup::resum
crates/utils/sov-test-utils/src/test_rollup.rs:1036
↓ 60 callers
Method
filter
(&self)
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:238
↓ 59 callers
Method
value
(&self, state: &mut impl InfallibleStateAccessor)
crates/module-system/sov-modules-api/tests/integration/state_tests/structs.rs:41
↓ 58 callers
Method
get_block_by_number
( &self, block_id: Option<BlockId>, details: Option<bool>, state: &mut ApiStat
crates/module-system/module-implementations/sov-evm/src/rpc/handlers.rs:87
↓ 58 callers
Method
wait_for_receipt
Wait for a transaction receipt to be available (including pending block receipts).
crates/utils/sov-eth-client/src/lib.rs:92
↓ 57 callers
Method
get
(&self, key: &SlotKey)
crates/module-system/sov-state/src/cache.rs:142
↓ 55 callers
Method
hash
(&self, state: &mut H)
crates/full-node/sov-db-types/src/lib.rs:276
↓ 55 callers
Method
last
Returns the last value in the vector, or [`None`] if empty.
crates/module-system/sov-modules-api/src/containers/vec.rs:287
↓ 55 callers
Function
rpc_call
( client: &Client, http_addr: SocketAddr, method: &str, params: Value, )
crates/full-node/sov-ethereum/tests/integration/common/rpc.rs:7
↓ 54 callers
Function
alloy_client
(socket: SocketAddr)
crates/full-node/sov-ethereum/tests/integration/common/clients.rs:40
↓ 54 callers
Function
encode
(tx: Transaction<RT, S>)
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/mod.rs:439
↓ 53 callers
Method
as_ref
(&self)
examples/demo-rollup/stf/stf-declaration/src/address.rs:152
↓ 53 callers
Method
checked_sub
Checked subtraction.
crates/module-system/sov-modules-api/src/common/amount.rs:71
↓ 53 callers
Method
pop
Pops a value from the end of the vector and returns it.
crates/module-system/sov-modules-api/src/containers/vec.rs:192
↓ 53 callers
Method
recv
(&self, recv: oneshot::Receiver<T>)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:294
↓ 53 callers
Method
send
( &self, gas_used: <S as Spec>::Gas, execution_time_micros: u64, inner_result:
crates/full-node/sov-sequencer/src/preferred/async_batch.rs:183
next →
1–100 of 9,860, ranked by callers