MCPcopy Create free account

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

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

Methodfrom_check
(check: &RootHashCheck)
crates/utils/sov-proxy-utils/src/node_check_metric.rs:38
Methodfrom_checkpoint
Instantiates a new [`KernelStateAccessor`].
crates/module-system/sov-modules-api/src/state/accessors/kernel.rs:108
Methodfrom_cluster_info
(info: &ClusterInfo)
crates/utils/sov-proxy-utils/src/node_discovery.rs:66
Methodfrom_config
( config: &RollupConfig<<S as Spec>::Address, StorableMockDaService>, witness_generation: bool
crates/utils/sov-test-utils/src/rt_agnostic_blueprint.rs:296
Methodfrom_config
Creates new in memory [`StorableMockDaService`] from [`MockDaConfig`].
crates/adapters/mock-da/src/storable/local_service.rs:293
Methodfrom_config
(config: RandomizationConfig)
crates/adapters/mock-da/src/storable/layer.rs:728
Methodfrom_config
Creates `Self` from MockDaClientConfig.
crates/adapters/mock-da/src/storable/rpc/client.rs:43
Methodfrom_const_slice
(addr: [u8; 28])
crates/module-system/sov-modules-api/src/common/address.rs:446
Methodfrom_db_tx
(tx: &MempoolTx)
crates/full-node/sov-sequencer/src/standard/mempool.rs:185
Methodfrom_dbs
( merklized_state: &NomtStateDb<H>, ledger_db: Arc<rockbound::DB>, accessory_db: Arc<r
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:583
Methodfrom_dimensions
Creates a new [`GasUnit`] from an array of [`u64`].
crates/module-system/sov-modules-api/src/gas/unit.rs:48
Methodfrom_dir
Creates a new [`GenesisPaths`] from the files contained in the given directory. Take a look at the contents of the `test-data` directory to see the e
examples/demo-rollup/stf/src/genesis_config.rs:59
Methodfrom_height
Generates [`MockBlockHeader`] with given height, where hashes are derived from height. Can be used in tests, where a header of the following blocks wi
crates/adapters/mock-da/src/types/mod.rs:109
Methodfrom_hex
(hex_str: &str)
crates/universal-wallet/schema/src/visitors/json_to_borsh.rs:505
Methodfrom_input
Construct a new template from one input field, with a placeholder link type. While the offset gets fixed in `concat()`, the field_index has to be corr
crates/universal-wallet/schema/src/schema/transaction_templates.rs:59
Methodfrom_iter
(iter: I)
crates/rollup-interface/src/common/safe_vec.rs:217
Methodfrom_json
(json: &str)
typescript/packages/universal-wallet-wasm/src/lib.rs:51
Methodfrom_json
Creates a serializer from a JSON schema string. Parses the provided JSON string into a schema and creates a new serializer instance with that schema.
crates/web3/src/schema.rs:102
Methodfrom_json
(input: &str)
crates/universal-wallet/schema/src/schema/mod.rs:343
Methodfrom_json_file
Deserializes from json file.
crates/module-system/sov-cli/src/wallet_state.rs:220
Methodfrom_key
Generates a valid private key and address from a given private key
crates/module-system/sov-cli/src/wallet_state.rs:210
Methodfrom_list
(items: &[NestedMeta])
crates/universal-wallet/macro-helpers/src/fixed_point_ints.rs:84
Methodfrom_meta
This is parsed as a Punctuated of individual templates, each consisting of an Expr::Assign with the template name on the LHS and an Expr::Call for the
crates/universal-wallet/macro-helpers/src/template_attribute.rs:38
Methodfrom_millis
Create a time from the specified number of milliseconds. # Panics This function will panic if the number of milliseconds is greater than i64::MAX
crates/rollup-interface/src/state_machine/da.rs:370
Methodfrom_minimal_config
Creates a new [`GenesisConfig`] from a minimal genesis config [`::sov_modules_api::Genesis::Config`].
examples/demo-rollup/stf/stf-declaration/src/test_utils.rs:20
Methodfrom_namespace_data
(namespace_data: &NamespaceRelevantData)
crates/adapters/celestia/src/types/mod.rs:584
Methodfrom_namespace_roots
(user_root: [u8; 32], kernel_root: [u8; 32])
crates/module-system/sov-state/src/storage_internals.rs:60
Methodfrom_networks
(nets: impl Iterator<Item = &'a ipnet::IpNet>)
crates/full-node/sov-sequencer/src/preferred/rate_limiter/mod.rs:316
Methodfrom_percentage
(value: u64)
crates/module-system/sov-modules-api/src/transaction/data.rs:43
Methodfrom_private_key_hex
(hex_key: &str)
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:284
Methodfrom_rate_limiter_and_current_visiible_slot
( rate_limiter: &RateLimiter, visible_slot: VisibleSlotNumber, )
crates/module-system/hyperlane/src/warp/api.rs:34
Methodfrom_raw_parts
Reconstructs a reader from an already-read prefix and a source buffer **without any validation** — a low-level building block for rebuilding a blob fr
crates/rollup-interface/src/state_machine/da.rs:116
Methodfrom_receipt
Creates a [`TransactionAssertContext`] from the given [`TransactionReceipt`].
crates/utils/sov-test-utils/src/interface/tests.rs:45
Functionfrom_recovered_with_block_context_uses_base_fee_for_effective_gas_price
()
crates/module-system/module-implementations/sov-evm/src/helpers.rs:237
Methodfrom_request_parts
(parts: &mut Parts, _state: &S)
crates/utils/sov-rest-utils/src/filter.rs:156
Methodfrom_request_parts
(parts: &mut Parts, _state: &S)
crates/utils/sov-rest-utils/src/axum_extractors.rs:56
Methodfrom_request_parts
( parts: &mut axum::http::request::Parts, state: &ApiState<S, T>, )
crates/module-system/sov-modules-api/src/rest/mod.rs:343
Methodfrom_request_parts
( parts: &mut axum::http::request::Parts, state: &StateItemRestApiImpl<M, T>, )
crates/module-system/sov-modules-api/src/rest/__private/state.rs:66
Methodfrom_route_and_current_visiible_slot
( route: &WarpRouteInstance<S>, visible_slot: VisibleSlotNumber, )
crates/module-system/hyperlane/src/warp/api.rs:48
Methodfrom_runtime
(runtime: &Runtime<OldSpec>)
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:216
Methodfrom_secs
Create a time from the specified number of whole seconds. # Panics This function will panic if the number of seconds is greater than i64::MAX / 1000
crates/rollup-interface/src/state_machine/da.rs:359
Methodfrom_seed
(seed: u8)
crates/module-system/module-implementations/sov-evm/benches/ecrecover.rs:94
Methodfrom_sender
(recipient: HexHash)
examples/demo-rollup/stf/stf-declaration/src/address.rs:204
Methodfrom_sender
(recipient: HexHash)
crates/module-system/hyperlane/src/lib.rs:222
Methodfrom_slice
Used only in tests. Builds a storage key from a byte slice
crates/full-node/sov-db-types/src/lib.rs:614
Methodfrom_slice_including_prefix
Creates a new [`SlotKey`] from a vector of bytes including the prefix. # Panics Panics if the vector length is less than 2 bytes.
crates/full-node/sov-db-types/src/lib.rs:507
Methodfrom_state_checkpoint
Create a `ConcurrentStateCheckpoint` containing the same changes as the given `StateCheckpoint`. Note: this defaults the latest finalized slot to the
crates/module-system/sov-modules-api/src/state/accessors/concurrent_state_checkpoint.rs:42
Methodfrom_state_checkpoint_with_finalized_slot
Create a `ConcurrentStateCheckpoint` containing the same changes as the given `StateCheckpoint`, and with an explicit latest finalized slot number.
crates/module-system/sov-modules-api/src/state/accessors/concurrent_state_checkpoint.rs:54
Methodfrom_str
(s: &str)
examples/demo-rollup/stf/stf-declaration/src/address.rs:180
Methodfrom_str
(value: &str)
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:129
Methodfrom_str
(s: &str)
crates/rollup-interface/src/common/hex_string.rs:171
Methodfrom_str
(s: &str)
crates/utils/sov-rest-utils/src/filter.rs:68
Methodfrom_str
(s: &str)
crates/full-node/sov-metrics/src/influxdb/config.rs:41
Methodfrom_str
(s: &str)
crates/full-node/sov-sequencer/src/preferred/replica/db_data.rs:72
Methodfrom_str
(s: &str)
crates/adapters/mock-zkvm/src/crypto.rs:295
Methodfrom_str
(s: &str)
crates/adapters/mock-da/src/types/mod.rs:54
Methodfrom_str
(s: &str)
crates/adapters/mock-da/src/types/address.rs:96
Methodfrom_str
(s: &str)
crates/adapters/risc0/src/crypto.rs:351
Methodfrom_str
(s: &str)
crates/adapters/sp1/src/crypto.rs:332
Methodfrom_str
(s: &str)
crates/adapters/celestia/src/types/mod.rs:71
Methodfrom_str
(s: &str)
crates/adapters/celestia/src/verifier/address.rs:139
Methodfrom_str
(s: &str)
crates/adapters/avail/src/spec/address.rs:35
Methodfrom_str
(s: &str)
crates/universal-wallet/schema/src/schema/safe_string.rs:135
Methodfrom_str
(s: &str)
crates/universal-wallet/schema/tests/integration/schema.rs:344
Methodfrom_str
(s: &str)
crates/module-system/sov-address/src/lib.rs:146
Methodfrom_str
(s: &str)
crates/module-system/sov-address/src/evm/public_key.rs:164
Methodfrom_str
(s: &str)
crates/module-system/sov-address/src/evm/signature.rs:91
Methodfrom_str
(s: &str)
crates/module-system/sov-address/src/evm/address.rs:90
Methodfrom_str
(s: &str)
crates/module-system/hyperlane/src/igp/types.rs:114
Methodfrom_str
(s: &str)
crates/module-system/hyperlane/src/warp/types.rs:117
Methodfrom_str
(s: &str)
crates/module-system/module-implementations/sov-bank/src/utils.rs:130
Methodfrom_str
(s: &str)
crates/module-system/module-implementations/sov-bank/src/token.rs:95
Methodfrom_str
(s: &str)
crates/module-system/module-implementations/sov-test-modules/src/state_map_tester.rs:96
Methodfrom_str
(s: &str)
crates/module-system/module-implementations/sov-evm/src/account_storage_key.rs:13
Methodfrom_str
(s: &str)
crates/module-system/module-implementations/sov-paymaster/src/lib.rs:46
Methodfrom_str
(s: &str)
crates/module-system/module-implementations/sov-timelock/src/lib.rs:79
Methodfrom_str
(s: &str)
crates/module-system/sov-modules-api/src/sequencing_metadata.rs:56
Methodfrom_str
(s: &str)
crates/module-system/sov-modules-api/src/common/amount.rs:105
Methodfrom_str
(s: &str)
crates/module-system/sov-modules-api/src/common/address.rs:543
Methodfrom_str
(_s: &str)
crates/module-system/sov-modules-api/tests/integration/rest_api.rs:26
Methodfrom_synthetic_block
(synthetic_block: &SyntheticBlockWithoutRootsAndBloom)
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:73
Functionfrom_synthetic_block_initializes_correctly
()
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:514
Methodfrom_transition_witness
( transition_witness: &StateTransitionWitness<StateRoot, W, Da>, )
crates/full-node/sov-stf-runner/src/state_manager/mod.rs:78
Methodfrom_u32_array
Creates a [`CodeCommitmentHash`] from a `[u32; 8]` array using big-endian byte order. This matches the representation used by SP1's `HashableKey::hash
crates/rollup-interface/src/state_machine/zk/aggregated_proof/mod.rs:104
Methodfrom_u8_array
Creates a [`CodeCommitmentHash`] from a `[u8; HASH_LEN]` array. This is the infallible primary constructor — the fixed-size input statically guarantee
crates/rollup-interface/src/state_machine/zk/aggregated_proof/mod.rs:93
Methodfrom_u8_unwrap
Creates a new [`NonZeroRatio`] from a [`u8`]. This method should be used to build constants of type [`NonZeroRatio`]. To build a [`NonZeroRatio`] at r
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:26
Methodfrom_url
Creates a serializer by fetching a schema from a remote URL. This method will perform a synchronous HTTP GET request to the specified URL, retrieve t
crates/web3/src/schema.rs:136
Methodfrom_val
(value: Value, link: &L::TypeLink)
crates/universal-wallet/schema/src/visitors/json_to_borsh.rs:92
Methodfrom_vm_address
(value: EthereumAddress)
examples/demo-rollup/stf/stf-declaration/src/address.rs:86
Methodfrom_vm_address
(value: VmAddress)
crates/module-system/sov-address/src/lib.rs:158
Functiongas_cost_to_deserialize
( buf: &[u8], )
crates/module-system/sov-modules-api/src/gas/tests/metered_utils.rs:279
Methodgas_forced_sequencer_registration_cost
()
crates/module-system/sov-modules-api/src/module/gas_spec.rs:186
Methodgas_limit
Sets the gas limit for the transaction. The gas limit defines the maximum amount of computational work the transaction is allowed to perform. Pass `N
crates/web3/src/schema.rs:519
Methodgas_limit
(&self)
crates/module-system/sov-modules-api/src/cli.rs:135
Methodgas_limit_for_height
Returns the gas limit for a given rollup height.
crates/module-system/sov-modules-api/src/module/gas_spec.rs:115
Methodgas_price
(&self)
crates/module-system/sov-modules-api/src/state/accessors/http_api.rs:542
Methodgas_price
(&self)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/pre_exec_working_set.rs:72
Methodgas_price
(&self)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/working_set.rs:236
Methodgas_price
(&self)
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:264
Functiongas_price_constants_are_charged_correctly
()
crates/module-system/module-implementations/sov-test-modules/tests/integration/gas/mod.rs:44
← previousnext →6,201–6,300 of 9,860, ranked by callers