MCPcopy Create free account

hub / github.com/Sovereign-Labs/sovereign-sdk / functions

Functions9,860 in github.com/Sovereign-Labs/sovereign-sdk

↓ 4,027 callersFunctionnew
(bytes: [u8; 20])
crates/adapters/celestia/src/verifier/address.rs:45
↓ 3,927 callersMethodunwrap
Unwraps the `Option`, panicking if the value is `None`.
crates/module-system/sov-modules-api/src/containers/mod.rs:60
↓ 1,343 callersMethodexpect
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 callersMethodclone
(&self)
crates/full-node/sov-db/src/state_db_nomt.rs:150
↓ 842 callersMethodmap
Map the value if it is present.
crates/module-system/sov-state/src/sequencer_state.rs:244
↓ 621 callersMethodclone
(&self)
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:341
↓ 491 callersMethoditer
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 callersMethodaddress
(&self)
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:57
↓ 428 callersMethodexecute_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 callersMethodpush
(&self, blob: BlobToSend, id: BlobInternalId)
crates/full-node/sov-blob-sender/src/db.rs:60
↓ 389 callersMethodtry_into
(self)
crates/full-node/sov-api-spec/src/client.rs:463
↓ 348 callersMethodclone
(&self)
crates/module-system/module-implementations/sov-bank/src/utils.rs:241
↓ 305 callersMethodget
Gets the ratio as a `u8`.
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:48
↓ 288 callersMethodlen
(&self)
crates/full-node/sov-db-types/src/lib.rs:486
↓ 283 callersMethodset
Replaces the keyed value on the storage.
crates/module-system/sov-state/src/cache.rs:607
↓ 258 callersMethodinto_iter
(self)
crates/adapters/celestia/src/shares.rs:93
↓ 253 callersMethodunwrap_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 callersMethodclone
(&self)
crates/module-system/sov-modules-api/src/default_spec.rs:51
↓ 210 callersMethodcontext
* The context for the rollup.
typescript/packages/web3/src/rollup/rollup.ts:376
↓ 198 callersMethodget
Gets [`StateTransitionInfo`] for the corresponding slot number
crates/full-node/sov-stf-runner/src/processes/stf_info_manager.rs:448
↓ 194 callersMethodwait_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 callersMethodclone
(&self)
crates/module-system/sov-state/src/sequencer_state.rs:67
↓ 181 callersMethodpath
(&self)
crates/utils/sov-test-utils/src/test_rollup.rs:77
↓ 175 callersMethodjoin
Waits for the background cluster-info tasks to finish.
crates/utils/sov-proxy-utils/src/cluster_info_service.rs:61
↓ 169 callersMethodaddress
Address
crates/full-node/sov-eth-dev-signer/src/lib.rs:49
↓ 165 callersMethodok_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 callersMethodapi_client
Helper to get api_client
crates/utils/sov-test-utils/src/test_rollup.rs:724
↓ 135 callersMethodlen
Returns the number of addresses in the list.
crates/module-system/sov-cli/src/wallet_state.rs:304
↓ 132 callersMethodquery_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 callersFunctionspawn
( 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 callersMethodelapsed
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 callersFunctionu
(...typs: any[])
typescript/examples/phantom/src/types.ts:1109
↓ 112 callersMethodwait_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 callersMethodok_or
Unwraps the `Option`, returning an error if the value is `None`.
crates/module-system/sov-modules-api/src/containers/mod.rs:83
↓ 105 callersMethodget
Get the current value of the [`AtomicAmount`]
crates/utils/sov-test-utils/src/lib.rs:319
↓ 103 callersMethodpush
Pushes a value to the end of the vector.
crates/module-system/sov-modules-api/src/containers/vec.rs:173
↓ 100 callersMethodextend
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 callersMethodrequest
(&self, url: &str)
crates/utils/rest-api-load-testing/src/req_sender.rs:40
↓ 99 callersFunctionr
(name: string)
typescript/examples/phantom/src/types.ts:1121
↓ 99 callersMethodsign
* 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 callersMethodmap
Maps one type of message outcome to another
crates/utils/transaction-generator/src/interface/mod.rs:68
↓ 98 callersMethodpush
(&mut self, t: Duration)
crates/module-system/module-implementations/sov-evm/src/db/metrics.rs:25
↓ 97 callersMethodadditional_accounts
(&self)
crates/utils/sov-test-utils/src/runtime/genesis/zk/config.rs:33
↓ 96 callersMethodpub_key
(&self)
crates/module-system/sov-address/src/evm/private_key.rs:54
↓ 93 callersFunctionconfig_gas_token_id
The [`TokenId`] of the rollup's gas token.
crates/module-system/module-implementations/sov-bank/src/lib.rs:54
↓ 93 callersMethodheight
(&self)
crates/utils/sov-test-utils/src/test_rollup.rs:1118
↓ 92 callersMethodextend_from_slice
(&mut self, other: &[T])
crates/rollup-interface/src/common/safe_vec.rs:612
↓ 92 callersMethodinsert
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 callersMethodas_ref
(&self)
crates/module-system/sov-address/src/lib.rs:119
↓ 89 callersMethodchecked_add
Checked addition.
crates/module-system/sov-modules-api/src/common/amount.rs:66
↓ 87 callersMethodsender
(&self)
crates/module-system/module-implementations/sov-blob-storage/src/capabilities/deserialization_tests.rs:58
↓ 86 callersMethodencode
Encode a message into a hex string.
crates/module-system/hyperlane/src/types.rs:86
↓ 85 callersMethodsend
(&mut self, tx: &RawTx, id: String)
crates/full-node/sov-api-spec/src/client.rs:64
↓ 84 callersMethodparse
(&self, input: &str)
crates/universal-wallet/schema/src/ty/byte_display.rs:135
↓ 81 callersMethodinsert
(&self, tx: AcceptedTx<Confirmation<S, Rt>>)
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:59
↓ 80 callersFunctionset
(value: bool)
crates/full-node/sov-sequencer/tests/integration/utils.rs:287
↓ 80 callersMethodshutdown
(&mut self)
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:788
↓ 79 callersMethodexecute
( &self, _address: Address, _input: &[u8], _gas_limit: u64, _env: &mut
crates/module-system/module-implementations/sov-evm/src/precompiles/traits.rs:49
↓ 78 callersMethoditer
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 callersFunctionsetup_test_rollup
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_timestamp.rs:11
↓ 77 callersMethodemit_event
(&self, state: &mut impl EventContainer, event: Self::Event)
crates/module-system/sov-modules-api/src/module/mod.rs:183
↓ 77 callersMethodlen
(&self)
crates/full-node/sov-sequencer/src/standard/mempool.rs:77
↓ 76 callersMethodshutdown
Shuts down both rollups, stops the DA producer, and drops the toxiproxy container.
examples/demo-rollup/tests/replica/toxi_proxy_helper.rs:99
↓ 75 callersMethodchecked_sub
See [`u64::checked_sub`].
crates/rollup-interface/src/common/slot_numbering.rs:128
↓ 75 callersMethodcontains
(&self, tx_hash: &TxHash)
crates/full-node/sov-sequencer/src/standard/mempool.rs:164
↓ 75 callersMethodinsert
(&mut self, index: usize, element: T)
crates/rollup-interface/src/common/safe_vec.rs:430
↓ 75 callersMethodsubmit
Submits a metric.
crates/full-node/sov-metrics/src/influxdb/tracker.rs:73
↓ 74 callersMethodinto_genesis_params
Creates a [`GenesisParams`] from a [`GenesisConfig`].
examples/demo-rollup/stf/stf-declaration/src/test_utils.rs:54
↓ 73 callersMethodas_ref
(&self)
crates/module-system/sov-modules-api/src/common/address.rs:397
↓ 73 callersMethodlen
Returns the length of the vector.
crates/module-system/sov-modules-api/src/containers/vec.rs:168
↓ 71 callersMethodas_mut
(&mut self)
crates/full-node/sov-sequencer/src/preferred/db/postgres/tests/mod.rs:40
↓ 71 callersMethodsaturating_add
See [`u64::saturating_add`].
crates/rollup-interface/src/common/slot_numbering.rs:114
↓ 71 callersFunctiontrack_metrics
Applies a function to the global [`MetricsTracker`] instance.
crates/full-node/sov-metrics/src/influxdb/mod.rs:140
↓ 67 callersMethodaccept_tx
( &self, baked_tx: FullyBakedTx, _ip_addr: IpAddr, )
crates/full-node/sov-sequencer/src/standard/mod.rs:726
↓ 67 callersMethodas_str
(&self)
crates/universal-wallet/schema/src/schema/safe_string.rs:41
↓ 67 callersMethodpush
Add a metric to the batch. Flushes automatically when batch is full.
crates/full-node/sov-sequencer/src/metrics.rs:402
↓ 66 callersMethodnext
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 callersMethodquery_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 callersMethodis_empty
(&self)
crates/full-node/sov-db/src/state_db_nomt.rs:128
↓ 65 callersFunctiono
(props: any[], additional: any)
typescript/examples/phantom/src/types.ts:1113
↓ 64 callersMethodnext
The current [`SlotNumber`] plus one. # Panics Panics in case of overflow.
crates/rollup-interface/src/common/slot_numbering.rs:77
↓ 63 callersMethodheader
Returns the block header.
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:325
↓ 63 callersMethodwrite
( &self, )
crates/full-node/sov-db/src/flat_db.rs:554
↓ 61 callersMethodlen
(&self, input: &SpannedValue<String>)
crates/universal-wallet/macro-helpers/src/schema.rs:62
↓ 61 callersMethodpause_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 callersMethodfilter
(&self)
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:238
↓ 59 callersMethodvalue
(&self, state: &mut impl InfallibleStateAccessor)
crates/module-system/sov-modules-api/tests/integration/state_tests/structs.rs:41
↓ 58 callersMethodget_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 callersMethodwait_for_receipt
Wait for a transaction receipt to be available (including pending block receipts).
crates/utils/sov-eth-client/src/lib.rs:92
↓ 57 callersMethodget
(&self, key: &SlotKey)
crates/module-system/sov-state/src/cache.rs:142
↓ 55 callersMethodhash
(&self, state: &mut H)
crates/full-node/sov-db-types/src/lib.rs:276
↓ 55 callersMethodlast
Returns the last value in the vector, or [`None`] if empty.
crates/module-system/sov-modules-api/src/containers/vec.rs:287
↓ 55 callersFunctionrpc_call
( client: &Client, http_addr: SocketAddr, method: &str, params: Value, )
crates/full-node/sov-ethereum/tests/integration/common/rpc.rs:7
↓ 54 callersFunctionalloy_client
(socket: SocketAddr)
crates/full-node/sov-ethereum/tests/integration/common/clients.rs:40
↓ 54 callersFunctionencode
(tx: Transaction<RT, S>)
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/mod.rs:439
↓ 53 callersMethodas_ref
(&self)
examples/demo-rollup/stf/stf-declaration/src/address.rs:152
↓ 53 callersMethodchecked_sub
Checked subtraction.
crates/module-system/sov-modules-api/src/common/amount.rs:71
↓ 53 callersMethodpop
Pops a value from the end of the vector and returns it.
crates/module-system/sov-modules-api/src/containers/vec.rs:192
↓ 53 callersMethodrecv
(&self, recv: oneshot::Receiver<T>)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:294
↓ 53 callersMethodsend
( &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