MCPcopy Create free account

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

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

↓ 53 callersMethodsend_transaction
Creates a DA block containing a transaction blob, optionally including an aggregated proof.
crates/full-node/sov-stf-runner/tests/integration/helpers/runner_init.rs:72
↓ 52 callersMethodclone
(&self)
crates/module-system/sov-modules-rollup-blueprint/src/native_only/mod.rs:81
↓ 51 callersMethodadd_accounts_with_default_balance
Generates a new high-level genesis config with random addresses and constant amounts (1_000_000_000 tokens) and `num_accounts` additional accounts. T
crates/utils/sov-test-utils/src/runtime/genesis/optimistic/config.rs:156
↓ 51 callersFunctionfiltered_block
()
crates/adapters/celestia/src/test_helper/files.rs:120
↓ 50 callersMethodcreate_storage
Create a new [`NomtProverStorage`] that has a view only on data written to disc.
crates/utils/sov-test-utils/src/storage.rs:104
↓ 50 callersMethodproduce_block_now
Trigger creation of a new block on underlying [`StorableMockDaLayer`].
crates/adapters/mock-da/src/storable/local_service.rs:359
↓ 50 callersMethodsend_raw_tx_to_sequencer
( &self, tx: &RawTx, )
crates/full-node/sov-api-spec/src/client.rs:132
↓ 50 callersFunctionsetup
Setup with EVM accounts and an admin TestUser for config updates. Returns (runner, funded_account, no_balance_account, admin).
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:71
↓ 49 callersMethodto_payable
(&self)
crates/module-system/module-implementations/sov-bank/src/utils.rs:77
↓ 48 callersMethodproduce_enough_finalized_slots
(&self)
crates/utils/sov-test-utils/src/test_rollup.rs:1186
↓ 48 callersMethodshutdown
Shuts down the rollup and waits for all background tasks to finish.
crates/utils/sov-test-utils/src/test_rollup.rs:830
↓ 47 callersMethodadvance_slots
Advance the rollup `slots_to_advance` slots without executing any transactions.
crates/utils/sov-test-utils/src/runtime/mod.rs:737
↓ 47 callersMethodas_ref
(&self)
crates/full-node/sov-sequencer/src/preferred/db/postgres/tests/mod.rs:34
↓ 47 callersFunctionmake_test_path
(data_path: &str)
crates/adapters/celestia/src/test_helper/files.rs:1137
↓ 47 callersMethodset_config
Allows to modify configuration options.
crates/utils/sov-test-utils/src/test_rollup.rs:210
↓ 47 callersMethodto_owned
Converts a [`TokenHolderRef`] to an owned [`TokenHolder`].
crates/module-system/module-implementations/sov-bank/src/utils.rs:182
↓ 46 callersMethodas_bytes
Returns the private key as a byte array.
crates/adapters/mock-zkvm/src/crypto.rs:87
↓ 46 callersMethodas_bytes
Exposes the inner bytes of the Address
crates/module-system/sov-modules-api/src/common/address.rs:412
↓ 46 callersMethodget_logs
(&self, filter: &Filter)
crates/utils/sov-eth-client/src/rpc.rs:226
↓ 46 callersMethodkernel
Returns the [`Kernel`] implementation on [`HasKernel::Kernel`].
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:162
↓ 45 callersMethodcommit
Commit the `state_changes`.
crates/full-node/sov-db/src/flat_db.rs:312
↓ 45 callersFunctioncreate_simple_storage_client
( rest_port: SocketAddr, private_key: &str, )
crates/full-node/sov-ethereum/tests/integration/common/clients.rs:11
↓ 45 callersFunctionto_string
()
crates/module-system/sov-cli/src/wallet_state.rs:399
↓ 44 callersMethodget
( &mut self, namespace: Namespace, key: &SlotKey, metric: &mut StateAccessMetr
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:251
↓ 44 callersFunctionu
(...typs: any[])
typescript/examples/soak-testing/src/types.ts:526
↓ 43 callersMethodget_block_at
(&mut self, height: u64)
crates/full-node/sov-stf-runner/src/da/bulk_finalized_blocks_fetcher.rs:148
↓ 43 callersMethodget_fee_history
( &self, block_count: u64, newest_block: BlockNumberOrTag, reward_percentiles:
crates/module-system/module-implementations/sov-evm/src/rpc/fee_history.rs:39
↓ 43 callersMethodto_sender
(&self)
crates/module-system/hyperlane/src/lib.rs:214
↓ 42 callersMethodfind
find the balance of token_id
crates/utils/transaction-generator/src/generators/bank/account.rs:153
↓ 42 callersMethodrollup_height_to_access
Get the rollup height to access.
crates/module-system/sov-modules-api/src/state/accessors/concurrent_state_checkpoint.rs:104
↓ 42 callersMethodsaturating_add
Saturating addition
crates/module-system/sov-modules-api/src/common/amount.rs:84
↓ 41 callersMethodas_ref
(&self)
crates/full-node/sov-db-types/src/lib.rs:548
↓ 41 callersMethodfrom
(value: KnownTypeId)
typescript/packages/universal-wallet-wasm/src/lib.rs:29
↓ 41 callersMethodsaturating_sub
(&self, tokens: &Self)
crates/full-node/sov-sequencer/src/preferred/rate_limiter/resource.rs:60
↓ 41 callersMethodsaturating_sub
Saturating subtraction
crates/module-system/sov-modules-api/src/common/amount.rs:88
↓ 41 callersFunctionsetup
Sets up the bank tests by generating a genesis config with a single non-default token that has - a minter - a user with a high token balance - a user
crates/module-system/module-implementations/sov-bank/tests/integration/helpers/mod.rs:84
↓ 40 callersMethodcreate_state_for
( &mut self, block_header: &Da::BlockHeader, )
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:366
↓ 40 callersMethodsend_eth
(&self, receiver: Address, eth_value: U256)
crates/utils/sov-eth-client/src/lib.rs:165
↓ 40 callersMethodset
Replaces the scratchpad contents.
crates/module-system/sov-modules-api/src/module/spec.rs:313
↓ 39 callersMethodborrow
Returns a borrowed value from the map, preventing mutable access to the map until this reference is dropped.
crates/module-system/sov-modules-api/src/containers/map.rs:240
↓ 39 callersMethodchecked_add
(&self, other: &Self)
crates/full-node/sov-sequencer/src/preferred/rate_limiter/resource.rs:77
↓ 39 callersMethodmax
()
crates/full-node/sov-sequencer/src/preferred/rate_limiter/resource.rs:50
↓ 39 callersMethodparse
(args: &[String])
examples/demo-rollup/src/hive/types.rs:30
↓ 39 callersMethodsize
Return the size of the value contained in the access.
crates/module-system/sov-state/src/cache.rs:54
↓ 39 callersFunctiontx_set_value
(key: &Ed25519PrivateKey, generation: u64, value_to_set: u64)
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:4194
↓ 38 callersMethodexecute
Executes the provided input and commits the state updates. This is useful for executing setup transactions that aren't test cases.
crates/utils/sov-test-utils/src/runtime/mod.rs:690
↓ 38 callersMethodget
(&self, url: String)
examples/demo-rollup/rest-api-load-testing/src/main.rs:144
↓ 38 callersMethodget_block_at
Gets block at given height If block is not available, waits until it is produced. It is possible to read non-finalized and last finalized blocks multi
crates/adapters/mock-da/src/in_memory/service.rs:290
↓ 38 callersMethodprivate_key
Returns the private key of the user.
crates/utils/sov-test-utils/src/interface/roles/mod.rs:87
↓ 38 callersFunctionserialize
(status_code: &StatusCode, serializer: S)
crates/utils/sov-rest-utils/src/lib.rs:90
↓ 38 callersMethodsubscribe_slots
(&self)
crates/full-node/sov-api-spec/src/client.rs:98
↓ 37 callersMethodget_balance_of
Helper function to return the balance of the token stored at `token_id` for the user having the address `user_address` from the underlying storage. If
crates/module-system/module-implementations/sov-bank/src/call.rs:640
↓ 37 callersMethodpub_key
(&self)
crates/adapters/sp1/src/crypto.rs:69
↓ 37 callersMethodread
( &self, )
crates/full-node/sov-db/src/flat_db.rs:560
↓ 36 callersMethodas_ref
(&self)
crates/full-node/sov-db/src/schema/types.rs:44
↓ 36 callersMethodas_ref
(&self)
crates/universal-wallet/schema/src/schema/safe_string.rs:164
↓ 36 callersFunctiondeserialize
(deserializer: D)
crates/utils/sov-rest-utils/src/lib.rs:97
↓ 36 callersMethodinto_inner
(self)
crates/universal-wallet/schema/src/schema/mod.rs:101
↓ 36 callersMethodnamespace_root
(&self, namespace: ProvableNamespace)
crates/module-system/sov-state/src/storage_internals.rs:64
↓ 36 callersMethodpublicKey
* Get the public key. * * @returns A promise that resolves to the public key
typescript/packages/signers/src/signer.ts:17
↓ 36 callersMethodsave_change_set
( &mut self, block_header: &Da::BlockHeader, stf_change_set: Self::StfChangeSet,
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:412
↓ 35 callersMethodappend
(&mut self, other: &mut Vec<T>)
crates/rollup-interface/src/common/safe_vec.rs:244
↓ 35 callersMethodas_ref
(&self)
crates/module-system/sov-state/src/storage_internals.rs:44
↓ 35 callersMethodremove
(address: Da::Address)
crates/module-system/module-implementations/sov-paymaster/src/call.rs:203
↓ 35 callersMethodwrite_str
(&mut self, s: &str)
crates/universal-wallet/schema/src/visitors/display.rs:98
↓ 34 callersMethodchecked_mul
Checked multiplication.
crates/module-system/sov-modules-api/src/common/amount.rs:76
↓ 34 callersMethodlog
(&self)
crates/utils/sov-proxy-utils/src/node_discovery.rs:114
↓ 34 callersMethodmake_tx
(&self, to_address: Option<Address>, data: Option<Bytes>)
crates/utils/sov-eth-client/src/lib.rs:61
↓ 34 callersFunctionnonce_at_tag
(client: &SimpleStorageClient, address: Address, tag: &str)
crates/full-node/sov-ethereum/tests/integration/evm/evm_get_transaction_count.rs:26
↓ 34 callersFunctionr
(name: string)
typescript/examples/soak-testing/src/types.ts:538
↓ 34 callersMethodtake
Takes the state access metrics.
crates/full-node/sov-metrics/src/influx_db_nonnative.rs:228
↓ 34 callersMethodwait_for_node_synced
Waits for the node to finish syncing with the DA layer. Times out after TestRollup::POLLING_TIMEOUT seconds.
crates/utils/sov-test-utils/src/test_rollup.rs:1017
↓ 33 callersMethodcall
(method: string, params: unknown[] = [])
typescript/apps/evm-rpc-diff-harness/src/harness/rpc.ts:95
↓ 33 callersMethodcreate_state_after
( &mut self, block_header: &Da::BlockHeader, )
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:392
↓ 33 callersMethodget_mut
(&mut self, key: &SlotKey)
crates/module-system/sov-state/src/cache.rs:146
↓ 33 callersMethodload
Load the wallet state from the given path on disk
crates/module-system/sov-cli/src/wallet_state.rs:60
↓ 33 callersFunctionsetup
()
crates/module-system/hyperlane/tests/integration/warp/runtime.rs:38
↓ 33 callersFunctiontestRollup
( config?: Partial<RollupConfig<C>>, builder?: Partial<TypeBuilder<S, C>>, )
typescript/packages/web3/src/rollup/rollup.test.ts:25
↓ 32 callersMethodcommit
Commit all items from [`RevertableWriter`] returning the inner storage.
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:486
↓ 32 callersMethodcurrent_visible_slot_number
Get the visible slot number.
crates/module-system/sov-modules-api/src/state/accessors/concurrent_state_checkpoint.rs:99
↓ 32 callersMethodsaturating_sub
See [`u64::saturating_sub`].
crates/rollup-interface/src/common/slot_numbering.rs:119
↓ 31 callersFunctionhexToBytes
(hex: HexString)
typescript/packages/utils/src/hex.ts:10
↓ 31 callersMethodnext
(&mut self)
crates/module-system/sov-modules-api/src/batch.rs:391
↓ 31 callersMethodproduce_block
Saves new block header into a database.
crates/adapters/mock-da/src/storable/layer.rs:261
↓ 31 callersMethodremove
(&self, id: BlobInternalId)
crates/full-node/sov-blob-sender/src/db.rs:78
↓ 31 callersFunctionsetup_with_simple_storage
( finalization_blocks: u32, extension: SeqConfigExtension, )
crates/full-node/sov-ethereum/tests/integration/common/setup.rs:184
↓ 31 callersMethodsubscribe
Subscribes to the status updates of a transaction.
crates/full-node/sov-sequencer/src/tx_status.rs:147
↓ 31 callersMethodvisit
( &self, schema: &impl TypeResolver<LinkingScheme = L, Metadata = M>, visitor: &mut V,
crates/universal-wallet/schema/src/ty/visitor.rs:134
↓ 30 callersMethodchecked_div
Checked division
crates/module-system/sov-modules-api/src/common/amount.rs:80
↓ 30 callersMethodhash
Returns the synthetic block hash.
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:216
↓ 30 callersMethodsend
(&self, message: Message<S, Rt>)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:282
↓ 30 callersMethodslot_key
(&self, key: &Kq)
crates/module-system/sov-modules-api/src/containers/map.rs:131
↓ 30 callersMethodvalue
Get the bytes of this value.
crates/full-node/sov-db-types/src/lib.rs:699
↓ 29 callersMethodaddress
Returns the address of the user.
crates/utils/sov-test-utils/src/interface/roles/mod.rs:82
↓ 29 callersMethoddo_value_setter_tx
(&mut self, user: &TestUser<S>, expected_outcome: TxOutcome)
crates/module-system/module-implementations/sov-paymaster/tests/integration/utils.rs:66
↓ 29 callersMethodget
Returns the value for the given index.
crates/module-system/sov-modules-api/src/containers/vec.rs:140
↓ 29 callersMethodget_block_at
(&self, height: u32)
crates/adapters/mock-da/src/storable/layer.rs:459
↓ 29 callersFunctionnot_found_404
Returns a 404 error when the given resource was not found.
crates/utils/sov-rest-utils/src/errors.rs:53
↓ 29 callersMethodresolve_or_err
( &self, maybe_resolved: &<Self::LinkingScheme as LinkingScheme>::TypeLink, )
crates/universal-wallet/schema/src/ty/visitor.rs:90
↓ 29 callersMethodrevert
(self)
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:499
← previousnext →101–200 of 9,860, ranked by callers