MCPcopy Create free account

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

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

↓ 1 callersMethodadd_type_erased_event
(&mut self, event: TypeErasedEvent)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/revertable_tx_state.rs:183
↓ 1 callersMethodadd_updater
(mut self, updater_to_add: S::Address)
crates/module-system/module-implementations/sov-paymaster/src/call.rs:110
↓ 1 callersMethodadmins
Get the admins of the token.
crates/module-system/module-implementations/sov-bank/src/token.rs:236
↓ 1 callersMethodadvance
Advance the accumulator by `num_bytes` bytes. If `num_bytes` is greater than the length of remaining unverified data, then all remaining unverified da
crates/rollup-interface/src/state_machine/da.rs:122
↓ 1 callersMethodadvance
Increments by a certain `amount` and also returns the new [`VisibleSlotNumber`]. # Panics Panics in case of overflow.
crates/rollup-interface/src/common/slot_numbering.rs:236
↓ 1 callersMethodadvance
We want to send a notification if... There's been a new real block There's been a new synthetic block *and* it's been more than 200ms since the last n
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:105
↓ 1 callersMethodadvance
(&mut self, mut cnt: usize)
crates/adapters/celestia/src/shares.rs:215
↓ 1 callersMethodadvance_and_emit_real_block_notification
(&mut self)
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:91
↓ 1 callersMethodadvance_and_emit_synthetic_block_notification
( &mut self, synthetic_block: &SyntheticBlockWithoutRootsAndBloom, )
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:82
↓ 1 callersMethodadvance_visible_slot_number
(&mut self, advance: std::num::NonZero<u8>)
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:304
↓ 1 callersMethodadvertised_cluster_info
(&self, info: &ClusterInfo)
crates/utils/sov-proxy-utils/src/node_discovery.rs:498
↓ 1 callersFunctionagent_config
Generates a configuration file for the agents with the given rollup port
crates/module-system/hyperlane/tests/integration/with_agent/configs.rs:14
↓ 1 callersFunctionall_benches
Returns all the benchmarks as a map from a benchmark set name to the associated benchmarks.
examples/demo-rollup/sov-benchmarks/src/bench_generator/benches.rs:443
↓ 1 callersMethodall_proofs_and_completed_blobs
(&self)
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:252
↓ 1 callersMethodallow_request_and_refill_resource_used
Checks whether a new request can be processed and frees resources for the throttler proportional to the amount of time that has passed since the last
crates/full-node/sov-sequencer/src/preferred/rate_limiter/limiter.rs:115
↓ 1 callersFunctionallowed_toml_value_to_const_expr
( constant_name: &syn::LitStr, value: &AllowedTomlValue, )
crates/module-system/sov-modules-macros/src/compile_manifest_constants.rs:253
↓ 1 callersFunctionallowed_toml_value_to_expr_with_override_logic
( constant_name: &str, value: &AllowedTomlValue, )
crates/module-system/sov-modules-macros/src/compile_manifest_constants.rs:371
↓ 1 callersMethodallows
Returns true if address is allowed to deploy contracts by the policy. False otherwise
crates/module-system/module-implementations/sov-evm/src/config.rs:92
↓ 1 callersMethodalloy_burn_gas
Burn gas by computing keccak256 in a loop (for gas usage testing).
crates/utils/sov-eth-client/src/lib.rs:341
↓ 1 callersFunctionalloy_client_with_reqwest
(socket: SocketAddr, b: B, private_key: &str)
crates/full-node/sov-ethereum/tests/integration/common/clients.rs:44
↓ 1 callersMethodalloy_emit_indexed_only_log
Emit a log with only indexed topics (data == 0x).
crates/utils/sov-eth-client/src/lib.rs:328
↓ 1 callersFunctionalloy_ws_client
Creates an Alloy WS client connected to the specified RPC server.
crates/utils/sov-evm-soak-testing/src/main.rs:126
↓ 1 callersMethodannotated_signature_for_rpc_trait
Builds the annotated signature for this method.
crates/module-system/sov-modules-macros/src/rpc/rpc_gen.rs:47
↓ 1 callersMethodannounce
( &mut self, validator_address: EthAddress, storage_location: StorageLocation,
crates/module-system/hyperlane/src/call.rs:260
↓ 1 callersFunctionanvil_rpc_value
(port: u16, method: &str, params: Value)
crates/module-system/hyperlane/tests/integration/with_agent/mod.rs:880
↓ 1 callersMethodapi_state
(&self)
crates/full-node/sov-sequencer/src/preferred/mod.rs:800
↓ 1 callersFunctionappRootFromRunFile
()
typescript/apps/evm-rpc-diff-harness/src/run.ts:103
↓ 1 callersMethodappdata_url
(&self, block_num: u64)
crates/adapters/avail/src/service.rs:52
↓ 1 callersFunctionapply_account_override
( db: &mut RevmState<DB>, address: Address, account_override: AccountOverride, )
crates/module-system/module-implementations/sov-evm/src/rpc/simulation.rs:328
↓ 1 callersMethodapply_admin_upgrade
( &mut self, slot: SlotNumber, upgrade: AdminUpgrade<S>, execution_context: Ex
crates/module-system/module-implementations/sov-prover-incentives/src/capabilities.rs:617
↓ 1 callersFunctionapply_blob_storage_updates
( checkpoint: &mut WS, deferred_blobs_entries: &[(SlotKey, SlotValue)], )
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:874
↓ 1 callersMethodapply_block_level_cursor
( &self, range: RangeInclusive<BlockNumber>, )
crates/full-node/sov-ethereum/src/handlers/get_logs/service.rs:172
↓ 1 callersFunctionapply_block_overrides
( db: &mut RevmState<DB>, block_env: &mut BlockEnv, block_overrides: BlockOverrides, )
crates/module-system/module-implementations/sov-evm/src/rpc/simulation.rs:265
↓ 1 callersMethodapply_chain_spec_update
( &mut self, chain_spec_update: ChainSpecUpdate, cfg: &mut EvmRuntimeConfig, )
crates/module-system/module-implementations/sov-evm/src/call.rs:221
↓ 1 callersFunctionapply_chain_state_slots_updates
( checkpoint: &mut WS, user_slots_entries: &[(SlotKey, OldSlotInformation)], kernel_slots_entries:
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:909
↓ 1 callersMethodapply_changes
(&mut self, changeset: ChangeSet)
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:275
↓ 1 callersMethodapply_div_u64
Divides the provided value by the ratio.
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:41
↓ 1 callersMethodapply_enabled_custom_precompiles_update
( &mut self, update: EnabledCustomPrecompilesUpdate, state: &mut impl TxState<S>,
crates/module-system/module-implementations/sov-evm/src/call.rs:196
↓ 1 callersFunctionapply_genesis_da_height_update
( checkpoint: &mut WS, chain_state_genesis_da_height_key: &SlotKey, calibrated_genesis_da_height:
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:889
↓ 1 callersMethodapply_log_level_cursor
( &self, log_range: Range<u32>, tx_index_absolute: u64, block_number: u64,
crates/full-node/sov-ethereum/src/handlers/get_logs/service.rs:249
↓ 1 callersFunctionapply_nonce
Applies the nonce option to the request. For `Below`, bumps the account nonce by sending a self-transfer (only for funded accounts; unfunded falls bac
crates/full-node/sov-ethereum/tests/integration/evm/evm_simulation_and_send_consistency.rs:149
↓ 1 callersFunctionapply_paymaster_updates
( checkpoint: &mut WS, sequencer_to_payer_entries: &[(SlotKey, SlotValue)], deleted_non_all_paymas
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:853
↓ 1 callersFunctionapply_sequencer_registry_updates
( checkpoint: &mut WS, plan: &ResolvedSequencerPlan, known_prefix: Prefix, preferred_slot_key:
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:803
↓ 1 callersMethodapply_slot
( &self, _pre_state_root: &Root, _base_state: Self::PreState, _witness: Self::
examples/demo-simple-stf/src/lib.rs:88
↓ 1 callersMethodapply_slot
( &self, _pre_state_root: &Self::StateRoot, _base_state: Self::PreState, _witn
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:90
↓ 1 callersFunctionapply_state_overrides
( db: &mut RevmState<DB>, state_overrides: StateOverride, )
crates/module-system/module-implementations/sov-evm/src/rpc/simulation.rs:314
↓ 1 callersFunctionapply_storage_defaults_and_overrides
(config: &mut RollupDbConfig, notes: &mut Vec<String>)
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:963
↓ 1 callersMethodapply_tx_level_cursor
( &self, tx_range_absolut: Range<u64>, block_number: BlockNumber, )
crates/full-node/sov-ethereum/src/handlers/get_logs/service.rs:209
↓ 1 callersMethodapply_tx_to_in_progress_batch_inner
( &mut self, baked_tx: FullyBakedTxWithMaybeChangeSet, )
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:321
↓ 1 callersMethodarbitrary
(u: &mut Unstructured<'a>)
crates/module-system/module-implementations/sov-accounts/src/fuzz.rs:7
↓ 1 callersFunctionarbitrary_safe_string
( u: &mut Unstructured<'_>, min_len: usize, )
crates/utils/transaction-generator/src/generators/bank/create_token.rs:156
↓ 1 callersMethodarchival_state_pre_block
Gets archival state before block `number`
crates/module-system/module-implementations/sov-evm/src/state_access.rs:65
↓ 1 callersMethodas_access_size
Return the size of the value contained in the access.
crates/module-system/sov-state/src/cache.rs:63
↓ 1 callersMethodas_discriminant
(&self)
crates/utils/transaction-generator/src/generators/basic.rs:127
↓ 1 callersMethodas_hex
Returns the private key as a hex string. TODO: Should it be 0x prefixed??
crates/module-system/sov-address/src/evm/private_key.rs:81
↓ 1 callersMethodas_ref
(&self)
crates/rollup-interface/src/common/hex_string.rs:79
↓ 1 callersMethodas_ref
(&self)
crates/adapters/mock-zkvm/src/crypto.rs:33
↓ 1 callersMethodas_ref
(&self)
crates/adapters/mock-da/src/types/address.rs:114
↓ 1 callersMethodas_ref
(&self)
crates/adapters/risc0/src/crypto.rs:40
↓ 1 callersMethodas_ref
(&self)
crates/module-system/sov-address/src/evm/signature.rs:58
↓ 1 callersFunctionassertIsNonceBasedTx
(unsignedTx: UnsignedTransaction<unknown>)
typescript/packages/multisig/src/index.ts:320
↓ 1 callersFunctionassertRollupIsReachable
()
typescript/examples/phantom/e2e/auth-and-send.spec.ts:103
↓ 1 callersMethodassert_admin
( &self, caller: &S::Address, admin: &S::Address, )
crates/module-system/module-implementations/extern/hyperlane-solana-register/src/lib.rs:256
↓ 1 callersFunctionassert_aggregated_proof
( initial_slot: u64, final_slot: u64, client: &NodeClient, )
examples/demo-rollup/tests/bank/helpers.rs:159
↓ 1 callersFunctionassert_blobs_are_correctly_received_basic_kernel
This helper method asserts that given slots to send and an expected order of receipts, the [`TestRunner`] will emit the receipts in the expected order
crates/module-system/module-implementations/sov-blob-storage/tests/integration/helpers_basic_kernel.rs:100
↓ 1 callersMethodassert_block_state
( &mut self, expected_visible_slot_number: u64, expected_rollup_height: u64, e
crates/module-system/module-implementations/sov-test-state-consistency/src/call.rs:98
↓ 1 callersFunctionassert_consistent_root_hashes
(setup: &mut NodeDiscoveryTestSetup, checks: usize)
examples/demo-rollup/tests/replica/root_hash_checker.rs:65
↓ 1 callersFunctionassert_dispatched_message
( banks_client: &mut BanksClient, dispatch_tx_signature: Signature, dispatch_unique_account_pubkey
crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program-tests/src/tests.rs:223
↓ 1 callersFunctionassert_err
(err: RpcError<TransportErrorKind>)
crates/full-node/sov-ethereum/tests/integration/evm/evm_rate_limit.rs:72
↓ 1 callersFunctionassert_hex_data
(value: &Value)
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2392
↓ 1 callersFunctionassert_indexed_only_log
(log: &Log, expected: &ExpectedLogMeta, value: U256)
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2284
↓ 1 callersFunctionassert_log_json_matches_expected_simple_log
( log: &Value, expected: &ExpectedSimpleLog, sender: Address, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2299
↓ 1 callersFunctionassert_log_json_schema
(log: &Value)
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2399
↓ 1 callersFunctionassert_logs
(first: &alloy_rpc_types_eth::Log, second: &alloy_rpc_types_eth::Log)
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:422
↓ 1 callersFunctionassert_no_overlapping_subnets
Panics if any two configured subnets overlap (one contains the other). Overlapping subnets are forbidden: an IP inside both would have no unambiguous
crates/full-node/sov-sequencer/src/preferred/rate_limiter/mod.rs:357
↓ 1 callersFunctionassert_outbox
( banks_client: &mut BanksClient, outbox_pubkey: Pubkey, expected_outbox: Outbox, )
crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program-tests/src/tests.rs:258
↓ 1 callersMethodassert_outcome
(&self, output: &Self::Output)
crates/utils/transaction-generator/src/generators/transaction.rs:83
↓ 1 callersMethodassert_preloaded_core
(&self)
crates/module-system/hyperlane/tests/integration/with_agent/helpers/evm.rs:164
↓ 1 callersFunctionassert_receipt_and_log
( receipt: &alloy_rpc_types_eth::TransactionReceipt, log: &alloy_rpc_types_eth::Log, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:431
↓ 1 callersFunctionassert_receipts_in_block
( receipts: &[&TransactionReceipt], expected: &[(Option<Address>, usize, bool)], block: &Block,
examples/demo-rollup/tests/evm/evm_rpc.rs:813
↓ 1 callersFunctionassert_rollup_processes_only_finalized_blocks
(client: &NodeClient)
crates/full-node/sov-sequencer/tests/integration/upgradability/mod.rs:367
↓ 1 callersFunctionassert_rpc_succeeds
( client: &SimpleStorageClient, method: &str, request: &TransactionRequest, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_call_fee_fields.rs:82
↓ 1 callersMethodassert_state
( &self, rollup_state_accessor: Arc<Self::ClientConfig>, )
crates/utils/transaction-generator/src/generators/basic.rs:99
↓ 1 callersMethodassert_state_root
Assert the state root is as expected.
crates/module-system/module-implementations/sov-test-modules/src/hooks_count/call.rs:61
↓ 1 callersMethodassert_visible_slot_number
( &self, expected_visible_slot_number: u64, _context: &Context<S>, state: &mut
crates/module-system/module-implementations/sov-test-modules/src/hooks_count/call.rs:44
↓ 1 callersMethodassert_visible_slot_number
( &self, expected_visible_slot_number: u64, _context: &Context<S>, state: &mut
crates/module-system/module-implementations/sov-value-setter/src/call.rs:127
↓ 1 callersMethodassign_sequence_number_to_batch
Assign a sequence number to the current open batch.
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:289
↓ 1 callersFunctionattempt_tx
( tx: &AuthenticatedTransactionData<S>, message: <RT as DispatchCall>::Decodable, ctx: &Context<S>
crates/module-system/sov-modules-stf-blueprint/src/sequencer_mode/common.rs:129
↓ 1 callersFunctionauth_and_process_tx_and_incentivize_sequencer
( runtime: &mut RT, scratchpad: TxScratchpad<S, I>, slot_gas: S::Gas, raw_tx: FullyBakedTx,
crates/module-system/sov-modules-stf-blueprint/src/sequencer_mode/registered.rs:711
↓ 1 callersFunctionauthenticate
Authenticate raw sov-transaction. This function resolves the appropriate chain hashes for the current block height using configured overrides (includ
crates/module-system/sov-modules-api/src/runtime/capabilities/authentication.rs:442
↓ 1 callersFunctionauthenticate_blob_data
Authenticates one supported blob against its inclusion proof. 1. Verifies that the passed `BlobProof` is valid. 2. Verifies signer and payload bytes a
crates/adapters/celestia/src/verifier/mod.rs:338
↓ 1 callersFunctionauthenticate_unregistered
Authenticate raw unregistered sov-transaction.
crates/module-system/sov-modules-api/src/runtime/capabilities/authentication.rs:542
↓ 1 callersMethodauthorization_data
( &self, params: &SimulateParameters, state: &mut StateCheckpoint<S>, )
crates/full-node/sov-rollup-apis/src/endpoints/simulate.rs:309
↓ 1 callersMethodauthorize_sequencer
( &self, slot_gas: &S::Gas, sequencer_bond: Amount, gas_price: <S::Gas as Gas>
crates/module-system/sov-modules-stf-blueprint/src/proof_processing.rs:294
↓ 1 callersMethodauthorize_transaction
Checks that the transaction's max fee, gas price, and gas limit are all within the policy's limits, if applicable.
crates/module-system/module-implementations/sov-paymaster/src/policies.rs:54
↓ 1 callersMethodauthorizes_gas_limit
Checks that the transaction's gas limit is less than the policy's max gas limit, if applicable
crates/module-system/module-implementations/sov-paymaster/src/policies.rs:113
↓ 1 callersMethodauthorizes_gas_price
Checks that the transaction's gas price is less than the policy's max gas price, if applicable
crates/module-system/module-implementations/sov-paymaster/src/policies.rs:98
↓ 1 callersMethodauthorizes_max_fee
Checks that the transaction's max fee is less than the policy's max fee, if applicable.
crates/module-system/module-implementations/sov-paymaster/src/policies.rs:83
↓ 1 callersMethodaxum_socket_address
Returns the socket address of the Axum server. This method must be called before [`StateTransitionRunner::run_in_process`], as the TCP listener is co
crates/full-node/sov-stf-runner/src/runner.rs:288
↓ 1 callersMethodback
(&self)
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:43
← previousnext →2,901–3,000 of 9,860, ranked by callers