MCPcopy Create free account

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

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

↓ 1 callersFunctionfetch_block_reorg_aware
Fetches a DA block at the given height with reorg awareness. If the DA head rolls back during the fetch (reorg detected), this function automatically
crates/full-node/sov-stf-runner/src/da/mod.rs:56
↓ 1 callersMethodfetch_blocks_in_range
( &self, start: u64, end: u64, )
crates/full-node/sov-stf-runner/src/da/bulk_finalized_blocks_fetcher.rs:227
↓ 1 callersMethodfetch_data
( &mut self, start_event_id: Option<u64>, mut prev_event_type: Option<EventType>,
crates/full-node/sov-sequencer/src/preferred/replica/event_receiver.rs:247
↓ 1 callersMethodfetch_in_progress_batch
Fetch the in-progress batch from the database.
crates/full-node/sov-sequencer/src/preferred/executor_events.rs:205
↓ 1 callersFunctionfetch_logs
( tx_hashes: Vec<TxHash>, evm_client: &SimpleStorageClient, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:375
↓ 1 callersMethodfetch_proofs_and_completed_batches_by_sequence
Fetches all proofs and any closed batches from the database that are greater than or equal to the given sequence number. Also includes the in-progress
crates/full-node/sov-sequencer/src/preferred/executor_events.rs:264
↓ 1 callersMethodfetch_proofs_and_completed_batches_msg
( &self, next_sequence_number: u64, reason: &'static str, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:78
↓ 1 callersMethodfetch_proofs_for_replay
Fetch the in-progress batch from the database.
crates/full-node/sov-sequencer/src/preferred/executor_events.rs:213
↓ 1 callersMethodfetch_state
( &mut self, context: &Context<S>, state: &mut impl TxState<S>, tx: Transactio
crates/module-system/module-implementations/sov-evm/src/call.rs:70
↓ 1 callersMethodfields
(&self)
crates/module-system/sov-modules-macros/src/rest/module.rs:265
↓ 1 callersFunctionfill_accessory_db
Fill accessory DB with data based on given distribution.
crates/full-node/sov-db/src/test_utils.rs:168
↓ 1 callersMethodfill_next_placholder
Fills the next available placeholder in the type with the given link, panicking if no placeholder is available.
crates/universal-wallet/schema/src/ty/mod.rs:91
↓ 1 callersMethodfilter_out_errors
(self)
crates/utils/rest-api-load-testing/src/report.rs:77
↓ 1 callersFunctionfiltered_block_from_json_path
( batch_namespace: Namespace, proof_namespace: Namespace, path: &Path, )
crates/adapters/celestia/src/da_service/mod.rs:731
↓ 1 callersMethodfinal_catchup_msg
( &self, info: StateUpdateInfo<S::Storage>, db_event_subscription: mpsc::Receiver<DbEv
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:168
↓ 1 callersMethodfinalize
(self)
crates/rollup-interface/src/state_machine/crypto/simple_hasher.rs:47
↓ 1 callersMethodfinalize_chain_state
( &mut self, gas_used: &S::Gas, state: &mut sov_modules_api::KernelStateAccessor<S>,
crates/module-system/sov-kernels/src/basic.rs:121
↓ 1 callersMethodfinalize_sequencing_data
( &mut self, data: Self::SequencingData, scratchpad: Option<sov_rollup_interface::Byte
crates/full-node/sov-sequencer/tests/integration/sequencing_metadata.rs:69
↓ 1 callersMethodfinalized_slot_policy
Returns how `finalized` should be resolved for reads on this checkpoint.
crates/module-system/sov-modules-api/src/state/accessors/concurrent_state_checkpoint.rs:117
↓ 1 callersFunctionfind_burn_gas_iterations_requiring_archival_tx_gas_cap
( evm: &Evm<S>, state: &mut ApiStateAccessor<S>, caller: Address, contract_addr: Address, )
crates/module-system/module-implementations/sov-evm/tests/integration/archival_state.rs:50
↓ 1 callersFunctionfind_constants_manifest
()
crates/module-system/sov-modules-macros/build.rs:16
↓ 1 callersMethodfind_item_by_id
(&self, item_id: &ItemId)
crates/universal-wallet/schema/src/schema/mod.rs:618
↓ 1 callersMethodfinish_and_seal
Finishes the synthetic block and seals it. Returns the sealed synthetic block and the transactions that were added to the block. This function is rela
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:250
↓ 1 callersMethodfirst_reads
(&self)
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:150
↓ 1 callersFunctionfixtures_dir
()
crates/module-system/hyperlane/tests/integration/with_agent/helpers/evm.rs:473
↓ 1 callersMethodflush
(&mut self)
crates/universal-wallet/schema/src/visitors/json_to_borsh.rs:58
↓ 1 callersMethodforce_close_current_batch
(&self)
crates/full-node/sov-sequencer/src/preferred/mod.rs:805
↓ 1 callersMethodforce_close_current_batch_msg
( &self, reason: &'static str, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:231
↓ 1 callersMethodforce_overite_state_for_recovery_msg
( &self, info: StateUpdateInfo<S::Storage>, reason: &'static str, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:206
↓ 1 callersFunctionforced_txs_resync_test_case
Verifies forced transactions show up in sequencer state after a resync Steps: 1. Fund a key for post-resync valid forced txs. 2. Pause the sequencer
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:668
↓ 1 callersMethodformat
Formats the query filters into a valid flux query.
examples/demo-rollup/sov-benchmarks/src/bench_runner/cli.rs:27
↓ 1 callersFunctionformat_batch_receipts
Formats a batch receipt into a tuple of (batch_hash, sender) used for testing the blob storage.
crates/module-system/module-implementations/sov-blob-storage/tests/integration/main.rs:54
↓ 1 callersMethodfreeze
Extracts ordered reads, writes, and witness from this [`StateCheckpoint`]. Note that this data is moved **out** of the [`StateCheckpoint`] i.e. it ca
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:204
↓ 1 callersMethodfrom
(err: RecvError)
crates/utils/sov-evm-soak-testing/src/recv_many.rs:10
↓ 1 callersMethodfrom_url
(_cls: &Bound<'_, PyType>, url: &str)
python/py_sovereign_web3/rust/src/lib.rs:24
↓ 1 callersMethodfront_mut
(&mut self)
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:24
↓ 1 callersFunctionfull_topic_log_topic0
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:1885
↓ 1 callersFunctionfunction_arg_names
(signature: &Signature)
crates/module-system/sov-modules-macros/src/rpc/rpc_gen.rs:267
↓ 1 callersFunctionfund_worker_accounts
Funds worker accounts from the root account.
crates/utils/sov-evm-soak-testing/src/main.rs:185
↓ 1 callersMethodgas_from_paymaster
Reserves the entire available gas amount from the paymaster if the paymaster's policy permits it and it has sufficient balance. Otherwise, reserves no
crates/module-system/module-implementations/sov-paymaster/src/lib.rs:228
↓ 1 callersMethodgas_limit
Returns the gas limit of the transition.
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:112
↓ 1 callersMethodgas_used
Gas used by the transaction
crates/full-node/sov-sequencer/src/preferred/mod.rs:1023
↓ 1 callersMethodgather_all_statuses
( &mut self, client: &sov_api_spec::Client, max_slots_to_wait: u64, )
crates/full-node/sov-sequencer/tests/integration/preferred_with_reorgs.rs:144
↓ 1 callersFunctiongenerateKeypairs
(count = 100)
typescript/examples/soak-testing/scripts/prepare.mjs:7
↓ 1 callersFunctiongeneratePrivateKey
()
typescript/packages/multisig/tests/multisig.integration-test.ts:16
↓ 1 callersFunctiongenerateSigners
(count = 5)
typescript/packages/multisig/tests/multisig.integration-test.ts:22
↓ 1 callersFunctiongenerate_admin_messages
( admin: &TestUser<S>, round_num: usize, num_messages: usize, )
crates/module-system/module-implementations/sov-chain-state/tests/integration-tests/multi_round.rs:14
↓ 1 callersMethodgenerate_batch_messages
A helper method on the benchmark that allows to safely unwrap the return values of [`Self::try_generate_batch_messages`] that output [`arbitrary::Resu
examples/demo-rollup/sov-benchmarks/src/bench_generator/mod.rs:125
↓ 1 callersMethodgenerate_invalid_burn_with_reason
( &self, reason: InvalidBurnReason, u: &mut arbitrary::Unstructured<'_>, gener
crates/utils/transaction-generator/src/generators/bank/burn.rs:89
↓ 1 callersMethodgenerate_invalid_call_message
Generates an invalid call message for the access pattern module
crates/utils/transaction-generator/src/generators/access_pattern/mod.rs:285
↓ 1 callersMethodgenerate_invalid_call_message
We have two types of invalid messages: 1. A message that sets a value and that is sent by a non-admin (or if the admin is not set) 2. A message that s
crates/utils/transaction-generator/src/generators/value_setter/mod.rs:293
↓ 1 callersMethodgenerate_invalid_call_message
We have 1 type of invalid messages: This method should never fail.
crates/utils/transaction-generator/src/generators/synthetic_load/mod.rs:256
↓ 1 callersMethodgenerate_invalid_create_token
A create token is only invalid if the same account tries to reuse the same token name
crates/utils/transaction-generator/src/generators/bank/create_token.rs:21
↓ 1 callersMethodgenerate_invalid_freeze
Generates an invalid freeze. This is always possible ## Error types If the specified token ID does not exist. If the `owner` is not a token admin.
crates/utils/transaction-generator/src/generators/bank/freeze.rs:115
↓ 1 callersMethodgenerate_invalid_freeze_with_reason
( &self, reason: InvalidFreezeReason, u: &mut arbitrary::Unstructured<'_>, gen
crates/utils/transaction-generator/src/generators/bank/freeze.rs:57
↓ 1 callersMethodgenerate_invalid_mint_helper
( &self, u: &mut arbitrary::Unstructured<'_>, generator_state: &mut impl GeneratorStat
crates/utils/transaction-generator/src/generators/bank/mint.rs:24
↓ 1 callersMethodgenerate_invalid_transfer_helper
( &self, error_reason: InvalidTransferReasons, u: &mut arbitrary::Unstructured<'_>,
crates/utils/transaction-generator/src/generators/bank/transfer.rs:20
↓ 1 callersFunctiongenerate_more_random_bytes
Generates more unique keys, which are also not present in given keys.
crates/full-node/sov-db/src/test_utils.rs:82
↓ 1 callersFunctiongenerate_proofs
(host: &TestHost)
examples/demo-rollup/tests/prover/sp1_cpu_prover.rs:74
↓ 1 callersFunctiongenerate_tx_with_nonce
(user: &TestUser<TestSpec>, nonce: u64)
crates/full-node/sov-sequencer/tests/integration/thin_sequencer.rs:121
↓ 1 callersMethodgenerate_valid_burn
Generates a valid burn. This can fail if there is no account holding a token balance.
crates/utils/transaction-generator/src/generators/bank/burn.rs:20
↓ 1 callersMethodgenerate_valid_call_message
Generates valid call messages for the access pattern module TODO(@theochap): this method does not accurately generate logs if the pre/post tx hooks ar
crates/utils/transaction-generator/src/generators/access_pattern/mod.rs:422
↓ 1 callersMethodgenerate_valid_call_message
We have two types of valid messages: 1. A message that sets a value and that is sent by an admin 2. A message that sets multiple values and that is se
crates/utils/transaction-generator/src/generators/value_setter/mod.rs:226
↓ 1 callersMethodgenerate_valid_call_message
We have these types of valid messages: 1. ReadAndSetManyIndividualValues 2. ReadAndSetHeavyState 3. RunCPUHeavyOperation
crates/utils/transaction-generator/src/generators/synthetic_load/mod.rs:198
↓ 1 callersMethodgenerate_valid_create_token
( &self, u: &mut arbitrary::Unstructured<'_>, generator_state: &mut impl GeneratorStat
crates/utils/transaction-generator/src/generators/bank/create_token.rs:143
↓ 1 callersMethodgenerate_valid_freeze
Generates a valid freeze. This can fail if there is no admin accounts.
crates/utils/transaction-generator/src/generators/bank/freeze.rs:24
↓ 1 callersMethodgenerate_valid_mint
( &self, u: &mut arbitrary::Unstructured<'_>, generator_state: &mut impl GeneratorStat
crates/utils/transaction-generator/src/generators/bank/mint.rs:121
↓ 1 callersMethodgenerate_valid_transfer
( &self, u: &mut arbitrary::Unstructured<'_>, generator_state: &mut impl GeneratorStat
crates/utils/transaction-generator/src/generators/bank/transfer.rs:110
↓ 1 callersFunctiongenerate_where_clause_template_parsing_bound
( template: &TransactionTemplates, ty_tokens: &TokenStream, )
crates/universal-wallet/macro-helpers/src/schema.rs:289
↓ 1 callersFunctiongeneration
()
crates/module-system/hyperlane/tests/integration/with_agent/mod.rs:875
↓ 1 callersFunctiongenesis
(input: TokenStream)
crates/module-system/sov-modules-macros/src/lib.rs:188
↓ 1 callersMethodgenesis
( &mut self, _genesis_rollup_header: &<<S as Spec>::Da as DaSpec>::BlockHeader, config
crates/module-system/module-implementations/sov-accounts/src/lib.rs:65
↓ 1 callersMethodgenesis
( &mut self, _genesis_rollup_header: &<S::Da as DaSpec>::BlockHeader, con
crates/module-system/sov-modules-macros/tests/integration/rpc_gen/rpc_gen_associated_types.rs:73
↓ 1 callersMethodgenesis
( &mut self, _genesis_rollup_header: &<S::Da as DaSpec>::BlockHeader, con
crates/module-system/sov-modules-macros/tests/integration/rpc_gen/rpc_gen_associated_types_nested.rs:80
↓ 1 callersMethodgenesis
( &mut self, genesis_rollup_header: &<<Self::Spec as Spec>::Da as DaSpec>::BlockHeader,
crates/module-system/sov-modules-api/src/module/mod.rs:276
↓ 1 callersMethodgenesis_da_height
( &self, state: &mut Reader, )
crates/module-system/sov-kernels/src/basic.rs:227
↓ 1 callersMethodgenesis_slot_number
(&self)
crates/module-system/sov-modules-stf-blueprint/src/lib.rs:79
↓ 1 callersMethodget
Getter for the smart contract.
crates/utils/sov-evm-test-utils/src/simple_storage.rs:46
↓ 1 callersMethodget
( &self, key: &SlotKey, witness: &Self::Witness, )
crates/module-system/sov-state/src/nomt/prover_storage.rs:651
↓ 1 callersFunctiongetDefaultDatabase
()
typescript/apps/indexer/src/db.ts:66
↓ 1 callersMethodgetMultisigAddress
* Calculates the multisig address (credential ID) by hashing the threshold and sorted public keys. * This matches the Rust implementation: hash(thr
typescript/packages/multisig/src/index.ts:235
↓ 1 callersFunctiongetPhantomProvider
(win: Window = window)
typescript/examples/phantom/src/phantom.ts:29
↓ 1 callersFunctiongetRpcError
(error: unknown)
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:307
↓ 1 callersMethodgetSenderAndReceiver
* Randomly selects a sender and receiver from the available keypairs. * Ensures the sender and receiver are different accounts. * * @returns
typescript/examples/soak-testing/src/index.ts:132
↓ 1 callersFunctiongetTokenId
( originator: Uint8Array, tokenName: string, decimals: number, )
typescript/packages/modules/src/bank.ts:54
↓ 1 callersMethodget_acceptance_probability
(&mut self, baked_tx: &FullyBakedTx)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:1082
↓ 1 callersMethodget_accessory_unbound
( &self, _key: SlotKey, _max_version: Option<SlotNumber>, )
crates/module-system/sov-state/src/nomt/zk_storage.rs:230
↓ 1 callersMethodget_account
(&self, address: &S::Address)
crates/utils/transaction-generator/src/interface/mod.rs:324
↓ 1 callersMethodget_account_nonce
The nonce check is already performed by the stf-blueprint during transaction preprocessing, so the EVM does not need to perform any additional nonce v
crates/module-system/module-implementations/sov-evm/src/call.rs:507
↓ 1 callersMethodget_all
(&self)
crates/full-node/sov-blob-sender/src/db.rs:30
↓ 1 callersMethodget_all_logs_with_cursor
Retrieves all logs matching the given filter using automatic pagination. This is a convenience method that handles pagination automatically by repeat
crates/utils/sov-eth-client/src/provider_ext.rs:55
↓ 1 callersMethodget_approximate_block_time
(&self)
crates/adapters/mock-da/src/storable/rpc/client.rs:206
↓ 1 callersMethodget_approximate_block_time
(&self)
crates/adapters/celestia/src/da_service/mod.rs:678
↓ 1 callersMethodget_backoff_policy
(&self)
crates/adapters/celestia/src/config.rs:337
↓ 1 callersMethodget_balance
Get the balance of a user for a given token
crates/utils/transaction-generator/src/generators/bank/query/http.rs:29
↓ 1 callersMethodget_begin_hook
(&self, item: u64)
crates/utils/transaction-generator/src/generators/access_pattern/http.rs:47
↓ 1 callersMethodget_bit
Returns the bit at the given offset
crates/module-system/module-implementations/sov-uniqueness/src/window.rs:104
↓ 1 callersMethodget_blobs_for_this_slot
( &mut self, current_blobs: RelevantBlobIters<&mut [<S::Da as DaSpec>::BlobTransaction]>,
crates/module-system/sov-kernels/src/basic.rs:71
↓ 1 callersMethodget_blobs_to_process_from_run
Takes the next run of blobs and extracts the list of blobs that should be processed this slot, if any. Saves any new preferred blobs that aren't going
crates/module-system/module-implementations/sov-blob-storage/src/capabilities.rs:997
↓ 1 callersMethodget_block
( &self, number: u64, state: &mut ApiStateAccessor<S>, )
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:328
← previousnext →3,401–3,500 of 9,860, ranked by callers