pub struct Runtime;Implementations§
Source§impl Runtime
impl Runtime
Sourcepub fn execute_view_function(
id: ViewFunctionId,
input: Vec<u8>,
) -> Result<Vec<u8>, ViewFunctionDispatchError>
pub fn execute_view_function( id: ViewFunctionId, input: Vec<u8>, ) -> Result<Vec<u8>, ViewFunctionDispatchError>
Convenience function for view functions dispatching and execution from the runtime API.
Source§impl Runtime
impl Runtime
pub fn metadata() -> RuntimeMetadataPrefixed
pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
pub fn metadata_versions() -> Vec<u32>
Trait Implementations§
Source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
Source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
AccountId.Source§impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
Source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn apply_extrinsic(extrinsic: ExtrinsicFor<Runtime>) -> ApplyExtrinsicResult
fn apply_extrinsic(extrinsic: ExtrinsicFor<Runtime>) -> ApplyExtrinsicResult
Source§fn finalize_block() -> HeaderFor<Runtime>
fn finalize_block() -> HeaderFor<Runtime>
Source§fn inherent_extrinsics(data: InherentData) -> Vec<ExtrinsicFor<Runtime>>
fn inherent_extrinsics(data: InherentData) -> Vec<ExtrinsicFor<Runtime>>
Source§fn check_inherents(
block: <Block as BlockT>::LazyBlock,
data: InherentData,
) -> CheckInherentsResult
fn check_inherents( block: <Block as BlockT>::LazyBlock, data: InherentData, ) -> CheckInherentsResult
Source§impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
Source§fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
Signed origin.Source§fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
RawOrigin if it is that.Source§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Signed origin, None otherwise.Source§impl Config for Runtime
Implements the types required for the system pallet.
impl Config for Runtime
Implements the types required for the system pallet.
Source§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>
construct_runtime to retrieve the
extrinsics or other block specific data as needed.Source§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Source§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
Source§type Nonce = u32
type Nonce = u32
Source§type AccountData = AccountData<<Runtime as Config>::Balance>
type AccountData = AccountData<<Runtime as Config>::Balance>
Source§type OnNewAccount = AutoMapper<Runtime>
type OnNewAccount = AutoMapper<Runtime>
Source§type OnKilledAccount = AutoMapper<Runtime>
type OnKilledAccount = AutoMapper<Runtime>
Source§type Hashing = <SolochainDefaultConfig as DefaultConfig>::Hashing
type Hashing = <SolochainDefaultConfig as DefaultConfig>::Hashing
Source§type Lookup = <SolochainDefaultConfig as DefaultConfig>::Lookup
type Lookup = <SolochainDefaultConfig as DefaultConfig>::Lookup
AccountId. Read moreSource§type MaxConsumers = <SolochainDefaultConfig as DefaultConfig>::MaxConsumers
type MaxConsumers = <SolochainDefaultConfig as DefaultConfig>::MaxConsumers
Source§type SystemWeightInfo = <SolochainDefaultConfig as DefaultConfig>::SystemWeightInfo
type SystemWeightInfo = <SolochainDefaultConfig as DefaultConfig>::SystemWeightInfo
Source§type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
Source§type SS58Prefix = <SolochainDefaultConfig as DefaultConfig>::SS58Prefix
type SS58Prefix = <SolochainDefaultConfig as DefaultConfig>::SS58Prefix
Source§type BlockLength = <SolochainDefaultConfig as DefaultConfig>::BlockLength
type BlockLength = <SolochainDefaultConfig as DefaultConfig>::BlockLength
Source§type DbWeight = <SolochainDefaultConfig as DefaultConfig>::DbWeight
type DbWeight = <SolochainDefaultConfig as DefaultConfig>::DbWeight
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
RuntimeOrigin type used by dispatchable calls.Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
RuntimeCall type.Source§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
RuntimeTask type.Source§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Source§type BaseCallFilter = <SolochainDefaultConfig as DefaultConfig>::BaseCallFilter
type BaseCallFilter = <SolochainDefaultConfig as DefaultConfig>::BaseCallFilter
Source§type BlockHashCount = <SolochainDefaultConfig as DefaultConfig>::BlockHashCount
type BlockHashCount = <SolochainDefaultConfig as DefaultConfig>::BlockHashCount
Source§type OnSetCode = <SolochainDefaultConfig as DefaultConfig>::OnSetCode
type OnSetCode = <SolochainDefaultConfig as DefaultConfig>::OnSetCode
Source§type SingleBlockMigrations = <SolochainDefaultConfig as DefaultConfig>::SingleBlockMigrations
type SingleBlockMigrations = <SolochainDefaultConfig as DefaultConfig>::SingleBlockMigrations
Source§type MultiBlockMigrator = <SolochainDefaultConfig as DefaultConfig>::MultiBlockMigrator
type MultiBlockMigrator = <SolochainDefaultConfig as DefaultConfig>::MultiBlockMigrator
Source§type PreInherents = <SolochainDefaultConfig as DefaultConfig>::PreInherents
type PreInherents = <SolochainDefaultConfig as DefaultConfig>::PreInherents
Source§type PostInherents = <SolochainDefaultConfig as DefaultConfig>::PostInherents
type PostInherents = <SolochainDefaultConfig as DefaultConfig>::PostInherents
Source§type PostTransactions = <SolochainDefaultConfig as DefaultConfig>::PostTransactions
type PostTransactions = <SolochainDefaultConfig as DefaultConfig>::PostTransactions
Source§impl Config for Runtime
impl Config for Runtime
Source§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
Source§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
Source§type FreezeIdentifier = RuntimeFreezeReason
type FreezeIdentifier = RuntimeFreezeReason
Source§type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type ReserveIdentifier = <TestDefaultConfig as DefaultConfig>::ReserveIdentifier
type ReserveIdentifier = <TestDefaultConfig as DefaultConfig>::ReserveIdentifier
Source§type DustRemoval = <TestDefaultConfig as DefaultConfig>::DustRemoval
type DustRemoval = <TestDefaultConfig as DefaultConfig>::DustRemoval
Source§type MaxLocks = <TestDefaultConfig as DefaultConfig>::MaxLocks
type MaxLocks = <TestDefaultConfig as DefaultConfig>::MaxLocks
Source§type MaxReserves = <TestDefaultConfig as DefaultConfig>::MaxReserves
type MaxReserves = <TestDefaultConfig as DefaultConfig>::MaxReserves
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Source§type DoneSlashHandler = <TestDefaultConfig as DefaultConfig>::DoneSlashHandler
type DoneSlashHandler = <TestDefaultConfig as DefaultConfig>::DoneSlashHandler
Source§impl Config for Runtime
impl Config for Runtime
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§impl Config for Runtime
impl Config for Runtime
Source§type Moment = <TestDefaultConfig as DefaultConfig>::Moment
type Moment = <TestDefaultConfig as DefaultConfig>::Moment
Source§type OnTimestampSet = <TestDefaultConfig as DefaultConfig>::OnTimestampSet
type OnTimestampSet = <TestDefaultConfig as DefaultConfig>::OnTimestampSet
Source§type MinimumPeriod = <TestDefaultConfig as DefaultConfig>::MinimumPeriod
type MinimumPeriod = <TestDefaultConfig as DefaultConfig>::MinimumPeriod
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Source§impl Config for Runtime
impl Config for Runtime
Source§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ()>
type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ()>
Source§type WeightToFee = BlockRatioFee<1, 1, Runtime, u128>
type WeightToFee = BlockRatioFee<1, 1, Runtime, u128>
Source§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
Source§type FeeMultiplierUpdate = ConstFeeMultiplier<FeeMultiplier>
type FeeMultiplierUpdate = ConstFeeMultiplier<FeeMultiplier>
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type OperationalFeeMultiplier = <TestDefaultConfig as DefaultConfig>::OperationalFeeMultiplier
type OperationalFeeMultiplier = <TestDefaultConfig as DefaultConfig>::OperationalFeeMultiplier
Operational extrinsics to compute “virtual tip” to boost their
priority Read moreSource§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Source§impl Config for Runtime
impl Config for Runtime
Source§type AddressMapper = AccountId32Mapper<Runtime>
type AddressMapper = AccountId32Mapper<Runtime>
address::AccountId32Mapper or [address::H160Mapper].Source§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
Source§type Currency = Pallet<Runtime>
type Currency = Pallet<Runtime>
Source§type NativeToEthRatio = ConstU32<1000000>
type NativeToEthRatio = ConstU32<1000000>
Source§type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
Source§type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
Source§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
seal_now.Source§type FeeInfo = Info<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>
type FeeInfo = Info<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>
crate::evm::fees::Info for a production runtime. Read moreSource§type DebugEnabled = ConstBool<true>
type DebugEnabled = ConstBool<true>
Source§type AutoMap = ConstBool<true>
type AutoMap = ConstBool<true>
AutoMapper. This removes the need for explicit map_account calls. Read moreSource§type GasScale = ConstU32<50000>
type GasScale = ConstU32<50000>
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
Source§type Precompiles = <TestDefaultConfig as DefaultConfig>::Precompiles
type Precompiles = <TestDefaultConfig as DefaultConfig>::Precompiles
Source§type DepositPerByte = <TestDefaultConfig as DefaultConfig>::DepositPerByte
type DepositPerByte = <TestDefaultConfig as DefaultConfig>::DepositPerByte
Source§type DepositPerItem = <TestDefaultConfig as DefaultConfig>::DepositPerItem
type DepositPerItem = <TestDefaultConfig as DefaultConfig>::DepositPerItem
Source§type DepositPerChildTrieItem = <TestDefaultConfig as DefaultConfig>::DepositPerChildTrieItem
type DepositPerChildTrieItem = <TestDefaultConfig as DefaultConfig>::DepositPerChildTrieItem
Source§type AllowEVMBytecode = <TestDefaultConfig as DefaultConfig>::AllowEVMBytecode
type AllowEVMBytecode = <TestDefaultConfig as DefaultConfig>::AllowEVMBytecode
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Source§type RuntimeMemory = <TestDefaultConfig as DefaultConfig>::RuntimeMemory
type RuntimeMemory = <TestDefaultConfig as DefaultConfig>::RuntimeMemory
Source§type PVFMemory = <TestDefaultConfig as DefaultConfig>::PVFMemory
type PVFMemory = <TestDefaultConfig as DefaultConfig>::PVFMemory
Source§type FindAuthor = <TestDefaultConfig as DefaultConfig>::FindAuthor
type FindAuthor = <TestDefaultConfig as DefaultConfig>::FindAuthor
Source§type Deposit = <TestDefaultConfig as DefaultConfig>::Deposit
type Deposit = <TestDefaultConfig as DefaultConfig>::Deposit
() binding always uses the native currency.Source§type MaxEthExtrinsicWeight = <TestDefaultConfig as DefaultConfig>::MaxEthExtrinsicWeight
type MaxEthExtrinsicWeight = <TestDefaultConfig as DefaultConfig>::MaxEthExtrinsicWeight
eth_transact extrinsics are capped to. Read moreSource§type OnBurn = <TestDefaultConfig as DefaultConfig>::OnBurn
type OnBurn = <TestDefaultConfig as DefaultConfig>::OnBurn
impl Copy for Runtime
Source§impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn version() -> RuntimeVersion
fn version() -> RuntimeVersion
Source§fn initialize_block(header: &Header) -> ExtrinsicInclusionMode
fn initialize_block(header: &Header) -> ExtrinsicInclusionMode
impl Eq for Runtime
Source§impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
Source§impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn metadata() -> OpaqueMetadata
fn metadata() -> OpaqueMetadata
Source§fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
Source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn offchain_worker(header: &HeaderFor<Runtime>)
fn offchain_worker(header: &HeaderFor<Runtime>)
Source§impl<__SrApiBlock__: BlockT, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ReviveApi<__SrApiBlock__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,
&'static RuntimeApiImplCall: Send,
impl<__SrApiBlock__: BlockT, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ReviveApi<__SrApiBlock__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,
&'static RuntimeApiImplCall: Send,
Source§fn eth_block(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<BlockV1, ApiError>
fn eth_block( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<BlockV1, ApiError>
Use the versioned equivalent eth_block_versioned if available on your runtime
Source§fn eth_block_hash(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
number: U256,
) -> Result<Option<H256>, ApiError>
fn eth_block_hash( &self, __runtime_api_at_param__: <Block as Block>::Hash, number: U256, ) -> Result<Option<H256>, ApiError>
Use the versioned equivalent eth_block_hash_versioned if available on your runtime
Source§fn eth_receipt_data(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<Vec<ReceiptGasInfoV1>, ApiError>
fn eth_receipt_data( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<Vec<ReceiptGasInfoV1>, ApiError>
Use the versioned equivalent eth_receipt_data_versioned if available on your runtime
Source§fn block_gas_limit(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<U256, ApiError>
fn block_gas_limit( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<U256, ApiError>
Use the versioned equivalent block_gas_limit_versioned if available on your runtime
Source§fn max_extrinsic_weight_in_gas(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<U256, ApiError>
fn max_extrinsic_weight_in_gas( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<U256, ApiError>
Use the versioned equivalent max_extrinsic_weight_in_gas_versioned if available on your runtime
Source§fn balance(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<U256, ApiError>
fn balance( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<U256, ApiError>
Use the versioned equivalent balance_versioned if available on your runtime
[H160] address, using EVM decimals.Source§fn gas_price(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<U256, ApiError>
fn gas_price( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<U256, ApiError>
Use the versioned equivalent gas_price_versioned if available on your runtime
Source§fn nonce(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<Nonce, ApiError>
fn nonce( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<Nonce, ApiError>
Use the versioned equivalent nonce_versioned if available on your runtime
[H160] address.Source§fn call(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
origin: AccountId,
dest: H160,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> Result<ContractResultV1<ExecReturnValueV1, Balance>, ApiError>
fn call( &self, __runtime_api_at_param__: <Block as Block>::Hash, origin: AccountId, dest: H160, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> Result<ContractResultV1<ExecReturnValueV1, Balance>, ApiError>
Use the versioned equivalent call_versioned if available on your runtime
Source§fn instantiate(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: CodeV1,
data: Vec<u8>,
salt: Option<[u8; 32]>,
) -> Result<ContractResultV1<InstantiateReturnValueV1, Balance>, ApiError>
fn instantiate( &self, __runtime_api_at_param__: <Block as Block>::Hash, origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: CodeV1, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> Result<ContractResultV1<InstantiateReturnValueV1, Balance>, ApiError>
Use the versioned equivalent instantiate_versioned if available on your runtime
Source§fn eth_transact(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransactionV1,
) -> Result<Result<EthTransactInfoV1<Balance>, EthTransactError>, ApiError>
fn eth_transact( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransactionV1, ) -> Result<Result<EthTransactInfoV1<Balance>, EthTransactError>, ApiError>
Use the versioned equivalent eth_transact_versioned if available on your runtime
Source§fn eth_transact_with_config(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransactionV1,
config: DryRunConfigV1<Moment>,
) -> Result<Result<EthTransactInfoV1<Balance>, EthTransactError>, ApiError>
fn eth_transact_with_config( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransactionV1, config: DryRunConfigV1<Moment>, ) -> Result<Result<EthTransactInfoV1<Balance>, EthTransactError>, ApiError>
Use the versioned equivalent eth_transact_versioned if available on your runtime
Source§fn eth_estimate_gas(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransactionV1,
config: DryRunConfigV1<Moment>,
) -> Result<Result<U256, EthTransactError>, ApiError>
fn eth_estimate_gas( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransactionV1, config: DryRunConfigV1<Moment>, ) -> Result<Result<U256, EthTransactError>, ApiError>
Use the versioned equivalent eth_estimate_gas_versioned if available on your runtime
Source§fn eth_pre_dispatch_weight(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: Vec<u8>,
) -> Result<Result<Weight, EthTransactError>, ApiError>
fn eth_pre_dispatch_weight( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: Vec<u8>, ) -> Result<Result<Weight, EthTransactError>, ApiError>
Use the versioned equivalent eth_pre_dispatch_weight_versioned if available on your runtime
Source§fn upload_code(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
) -> Result<Result<CodeUploadReturnValueV1<Balance>, DispatchError>, ApiError>
fn upload_code( &self, __runtime_api_at_param__: <Block as Block>::Hash, origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> Result<Result<CodeUploadReturnValueV1<Balance>, DispatchError>, ApiError>
Use the versioned equivalent upload_code_versioned if available on your runtime
Source§fn get_storage(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
key: [u8; 32],
) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
fn get_storage( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, key: [u8; 32], ) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
Use the versioned equivalent get_storage_versioned if available on your runtime
Source§fn get_storage_var_key(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
key: Vec<u8>,
) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
fn get_storage_var_key( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, key: Vec<u8>, ) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
Use the versioned equivalent get_storage_versioned if available on your runtime
Source§fn trace_block(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
block: Block,
config: TracerTypeV1,
) -> Result<Vec<(u32, TraceV1)>, ApiError>
fn trace_block( &self, __runtime_api_at_param__: <Block as Block>::Hash, block: Block, config: TracerTypeV1, ) -> Result<Vec<(u32, TraceV1)>, ApiError>
Use the versioned equivalent trace_block_versioned if available on your runtime
Source§fn trace_tx(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
block: Block,
tx_index: u32,
config: TracerTypeV1,
) -> Result<Option<TraceV1>, ApiError>
fn trace_tx( &self, __runtime_api_at_param__: <Block as Block>::Hash, block: Block, tx_index: u32, config: TracerTypeV1, ) -> Result<Option<TraceV1>, ApiError>
Use the versioned equivalent trace_tx_versioned if available on your runtime
Source§fn trace_call(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransactionV1,
config: TracerTypeV1,
) -> Result<Result<TraceV1, EthTransactError>, ApiError>
fn trace_call( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransactionV1, config: TracerTypeV1, ) -> Result<Result<TraceV1, EthTransactError>, ApiError>
Use the versioned equivalent trace_call_versioned if available on your runtime
Source§fn trace_call_with_config(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransactionV1,
tracer_type: TracerTypeV1,
config: TracingConfigV1,
) -> Result<Result<TraceV1, EthTransactError>, ApiError>
fn trace_call_with_config( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransactionV1, tracer_type: TracerTypeV1, config: TracingConfigV1, ) -> Result<Result<TraceV1, EthTransactError>, ApiError>
Use the versioned equivalent trace_call_versioned if available on your runtime
Use the versioned equivalent block_author_versioned if available on your runtime
Source§fn address(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
account_id: AccountId,
) -> Result<H160, ApiError>
fn address( &self, __runtime_api_at_param__: <Block as Block>::Hash, account_id: AccountId, ) -> Result<H160, ApiError>
Use the versioned equivalent address_versioned if available on your runtime
Source§fn account_id(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<AccountId, ApiError>
fn account_id( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<AccountId, ApiError>
Use the versioned equivalent account_id_versioned if available on your runtime
Source§fn runtime_pallets_address(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<H160, ApiError>
fn runtime_pallets_address( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<H160, ApiError>
Use the versioned equivalent runtime_pallets_address_versioned if available on your runtime
Source§fn code(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<Vec<u8>, ApiError>
fn code( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<Vec<u8>, ApiError>
Use the versioned equivalent code_versioned if available on your runtime
Source§fn new_balance_with_dust(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
balance: U256,
) -> Result<Result<(Balance, u32), BalanceConversionError>, ApiError>
fn new_balance_with_dust( &self, __runtime_api_at_param__: <Block as Block>::Hash, balance: U256, ) -> Result<Result<(Balance, u32), BalanceConversionError>, ApiError>
Use the versioned equivalent new_balance_with_dust_versioned if available on your runtime
fn version_declarations( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<ReviveRuntimeApiVersionDeclarations, ApiError>
fn eth_block_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: BlockVersionedInputPayload, ) -> Result<BlockVersionedOutputPayload, ApiError>
fn eth_block_hash_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: BlockHashVersionedInputPayload, ) -> Result<BlockHashVersionedOutputPayload, ApiError>
fn eth_receipt_data_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: ReceiptDataVersionedInputPayload, ) -> Result<ReceiptDataVersionedOutputPayload, ApiError>
fn block_gas_limit_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: BlockGasLimitVersionedInputPayload, ) -> Result<BlockGasLimitVersionedOutputPayload, ApiError>
fn max_extrinsic_weight_in_gas_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: MaxExtrinsicWeightInGasVersionedInputPayload, ) -> Result<MaxExtrinsicWeightInGasVersionedOutputPayload, ApiError>
fn balance_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: BalanceVersionedInputPayload, ) -> Result<BalanceVersionedOutputPayload, ApiError>
fn gas_price_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: GasPriceVersionedInputPayload, ) -> Result<GasPriceVersionedOutputPayload, ApiError>
fn nonce_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: NonceVersionedInputPayload, ) -> Result<NonceVersionedOutputPayload<Nonce>, ApiError>
fn call_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: CallVersionedInputPayload<AccountId, Balance>, ) -> Result<CallVersionedOutputPayload<Balance>, ApiError>
fn instantiate_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: InstantiateVersionedInputPayload<AccountId, Balance>, ) -> Result<InstantiateVersionedOutputPayload<Balance>, ApiError>
fn eth_transact_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: TransactVersionedInputPayload<Moment>, ) -> Result<Result<TransactVersionedOutputPayload<Balance>, EthTransactError>, ApiError>
fn eth_estimate_gas_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: EstimateGasVersionedInputPayload<Moment>, ) -> Result<Result<EstimateGasVersionedOutputPayload, EthTransactError>, ApiError>
fn eth_pre_dispatch_weight_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: PreDispatchWeightVersionedInputPayload, ) -> Result<Result<PreDispatchWeightVersionedOutputPayload, EthTransactError>, ApiError>
fn upload_code_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: UploadCodeVersionedInputPayload<AccountId, Balance>, ) -> Result<Result<UploadCodeVersionedOutputPayload<Balance>, DispatchError>, ApiError>
fn get_storage_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: GetStorageVersionedInputPayload, ) -> Result<Result<GetStorageVersionedOutputPayload, ContractAccessError>, ApiError>
fn runtime_pallets_address_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: RuntimePalletsAddressVersionedInputPayload, ) -> Result<RuntimePalletsAddressVersionedOutputPayload, ApiError>
fn code_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: CodeVersionedInputPayload, ) -> Result<CodeVersionedOutputPayload, ApiError>
fn account_id_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: AccountIdVersionedInputPayload, ) -> Result<AccountIdVersionedOutputPayload<AccountId>, ApiError>
fn new_balance_with_dust_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: NewBalanceWithDustVersionedInputPayload, ) -> Result<Result<NewBalanceWithDustVersionedOutputPayload<Balance>, BalanceConversionError>, ApiError>
fn address_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: AddressVersionedInputPayload<AccountId>, ) -> Result<AddressVersionedOutputPayload, ApiError>
fn trace_block_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: TraceBlockVersionedInputPayload<Block>, ) -> Result<TraceBlockVersionedOutputPayload, ApiError>
fn trace_tx_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: TraceTxVersionedInputPayload<Block>, ) -> Result<TraceTxVersionedOutputPayload, ApiError>
fn trace_call_versioned( &self, __runtime_api_at_param__: <Block as Block>::Hash, input: TraceCallVersionedInputPayload, ) -> Result<Result<TraceCallVersionedOutputPayload, EthTransactError>, ApiError>
Source§impl ReviveApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for Runtime
impl ReviveApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for Runtime
Source§fn eth_block() -> BlockV1
fn eth_block() -> BlockV1
Use the versioned equivalent eth_block_versioned if available on your runtime
Source§fn eth_block_hash(number: U256) -> Option<H256>
fn eth_block_hash(number: U256) -> Option<H256>
Use the versioned equivalent eth_block_hash_versioned if available on your runtime
Source§fn eth_receipt_data() -> Vec<ReceiptGasInfoV1>
fn eth_receipt_data() -> Vec<ReceiptGasInfoV1>
Use the versioned equivalent eth_receipt_data_versioned if available on your runtime
Source§fn balance(address: H160) -> U256
fn balance(address: H160) -> U256
Use the versioned equivalent balance_versioned if available on your runtime
[H160] address, using EVM decimals.Use the versioned equivalent block_author_versioned if available on your runtime
Source§fn block_gas_limit() -> U256
fn block_gas_limit() -> U256
Use the versioned equivalent block_gas_limit_versioned if available on your runtime
Source§fn max_extrinsic_weight_in_gas() -> U256
fn max_extrinsic_weight_in_gas() -> U256
Use the versioned equivalent max_extrinsic_weight_in_gas_versioned if available on your runtime
Source§fn gas_price() -> U256
fn gas_price() -> U256
Use the versioned equivalent gas_price_versioned if available on your runtime
Source§fn nonce(address: H160) -> Nonce
fn nonce(address: H160) -> Nonce
Use the versioned equivalent nonce_versioned if available on your runtime
[H160] address.Source§fn address(account_id: AccountId) -> H160
fn address(account_id: AccountId) -> H160
Use the versioned equivalent address_versioned if available on your runtime
Source§fn eth_transact(
tx: GenericTransactionV1,
) -> Result<EthTransactInfoV1<Balance>, EthTransactError>
fn eth_transact( tx: GenericTransactionV1, ) -> Result<EthTransactInfoV1<Balance>, EthTransactError>
Use the versioned equivalent eth_transact_versioned if available on your runtime
Source§fn eth_transact_with_config(
tx: GenericTransactionV1,
config: DryRunConfigV1<MomentOf<Runtime>>,
) -> Result<EthTransactInfoV1<Balance>, EthTransactError>
fn eth_transact_with_config( tx: GenericTransactionV1, config: DryRunConfigV1<MomentOf<Runtime>>, ) -> Result<EthTransactInfoV1<Balance>, EthTransactError>
Use the versioned equivalent eth_transact_versioned if available on your runtime
Source§fn eth_estimate_gas(
tx: GenericTransactionV1,
config: DryRunConfigV1<MomentOf<Runtime>>,
) -> Result<U256, EthTransactError>
fn eth_estimate_gas( tx: GenericTransactionV1, config: DryRunConfigV1<MomentOf<Runtime>>, ) -> Result<U256, EthTransactError>
Use the versioned equivalent eth_estimate_gas_versioned if available on your runtime
Source§fn eth_pre_dispatch_weight(tx: Vec<u8>) -> Result<Weight, EthTransactError>
fn eth_pre_dispatch_weight(tx: Vec<u8>) -> Result<Weight, EthTransactError>
Use the versioned equivalent eth_pre_dispatch_weight_versioned if available on your runtime
Source§fn call(
origin: AccountId,
dest: H160,
value: Balance,
weight_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> ContractResultV1<ExecReturnValueV1, Balance>
fn call( origin: AccountId, dest: H160, value: Balance, weight_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> ContractResultV1<ExecReturnValueV1, Balance>
Use the versioned equivalent call_versioned if available on your runtime
Source§fn instantiate(
origin: AccountId,
value: Balance,
weight_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: CodeV1,
data: Vec<u8>,
salt: Option<[u8; 32]>,
) -> ContractResultV1<InstantiateReturnValueV1, Balance>
fn instantiate( origin: AccountId, value: Balance, weight_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: CodeV1, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> ContractResultV1<InstantiateReturnValueV1, Balance>
Use the versioned equivalent instantiate_versioned if available on your runtime
Source§fn upload_code(
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
) -> Result<CodeUploadReturnValueV1<Balance>, DispatchError>
fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> Result<CodeUploadReturnValueV1<Balance>, DispatchError>
Use the versioned equivalent upload_code_versioned if available on your runtime
Source§fn get_storage_var_key(address: H160, key: Vec<u8>) -> GetStorageResult
fn get_storage_var_key(address: H160, key: Vec<u8>) -> GetStorageResult
Use the versioned equivalent get_storage_versioned if available on your runtime
Source§fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
Use the versioned equivalent get_storage_versioned if available on your runtime
Source§fn trace_block(block: Block, tracer_type: TracerTypeV1) -> Vec<(u32, TraceV1)>
fn trace_block(block: Block, tracer_type: TracerTypeV1) -> Vec<(u32, TraceV1)>
Use the versioned equivalent trace_block_versioned if available on your runtime
Source§fn trace_tx(
block: Block,
tx_index: u32,
tracer_type: TracerTypeV1,
) -> Option<TraceV1>
fn trace_tx( block: Block, tx_index: u32, tracer_type: TracerTypeV1, ) -> Option<TraceV1>
Use the versioned equivalent trace_tx_versioned if available on your runtime
Source§fn trace_call(
tx: GenericTransactionV1,
tracer_type: TracerTypeV1,
) -> Result<TraceV1, EthTransactError>
fn trace_call( tx: GenericTransactionV1, tracer_type: TracerTypeV1, ) -> Result<TraceV1, EthTransactError>
Use the versioned equivalent trace_call_versioned if available on your runtime
Source§fn trace_call_with_config(
tx: GenericTransactionV1,
tracer_type: TracerTypeV1,
config: TracingConfigV1,
) -> Result<TraceV1, EthTransactError>
fn trace_call_with_config( tx: GenericTransactionV1, tracer_type: TracerTypeV1, config: TracingConfigV1, ) -> Result<TraceV1, EthTransactError>
Use the versioned equivalent trace_call_versioned if available on your runtime
Source§fn runtime_pallets_address() -> H160
fn runtime_pallets_address() -> H160
Use the versioned equivalent runtime_pallets_address_versioned if available on your runtime
Source§fn code(address: H160) -> Vec<u8> ⓘ
fn code(address: H160) -> Vec<u8> ⓘ
Use the versioned equivalent code_versioned if available on your runtime
Source§fn account_id(address: H160) -> AccountId
fn account_id(address: H160) -> AccountId
Use the versioned equivalent account_id_versioned if available on your runtime
Source§fn new_balance_with_dust(
balance: U256,
) -> Result<(Balance, u32), BalanceConversionError>
fn new_balance_with_dust( balance: U256, ) -> Result<(Balance, u32), BalanceConversionError>
Use the versioned equivalent new_balance_with_dust_versioned if available on your runtime
fn version_declarations() -> ReviveRuntimeApiVersionDeclarations
fn eth_block_versioned( input: BlockVersionedInputPayload, ) -> BlockVersionedOutputPayload
fn eth_block_hash_versioned( input: BlockHashVersionedInputPayload, ) -> BlockHashVersionedOutputPayload
fn eth_receipt_data_versioned( input: ReceiptDataVersionedInputPayload, ) -> ReceiptDataVersionedOutputPayload
fn block_gas_limit_versioned( input: BlockGasLimitVersionedInputPayload, ) -> BlockGasLimitVersionedOutputPayload
fn max_extrinsic_weight_in_gas_versioned( input: MaxExtrinsicWeightInGasVersionedInputPayload, ) -> MaxExtrinsicWeightInGasVersionedOutputPayload
fn balance_versioned( input: BalanceVersionedInputPayload, ) -> BalanceVersionedOutputPayload
fn gas_price_versioned( input: GasPriceVersionedInputPayload, ) -> GasPriceVersionedOutputPayload
fn nonce_versioned( input: NonceVersionedInputPayload, ) -> NonceVersionedOutputPayload<Nonce>
fn call_versioned( input: CallVersionedInputPayload<AccountId, Balance>, ) -> CallVersionedOutputPayload<Balance>
fn instantiate_versioned( input: InstantiateVersionedInputPayload<AccountId, Balance>, ) -> InstantiateVersionedOutputPayload<Balance>
fn eth_transact_versioned( input: TransactVersionedInputPayload<MomentOf<Runtime>>, ) -> Result<TransactVersionedOutputPayload<Balance>, EthTransactError>
fn eth_estimate_gas_versioned( input: EstimateGasVersionedInputPayload<MomentOf<Runtime>>, ) -> Result<EstimateGasVersionedOutputPayload, EthTransactError>
fn eth_pre_dispatch_weight_versioned( input: PreDispatchWeightVersionedInputPayload, ) -> Result<PreDispatchWeightVersionedOutputPayload, EthTransactError>
fn upload_code_versioned( input: UploadCodeVersionedInputPayload<AccountId, Balance>, ) -> Result<UploadCodeVersionedOutputPayload<Balance>, DispatchError>
fn get_storage_versioned( input: GetStorageVersionedInputPayload, ) -> Result<GetStorageVersionedOutputPayload, ContractAccessError>
fn runtime_pallets_address_versioned( input: RuntimePalletsAddressVersionedInputPayload, ) -> RuntimePalletsAddressVersionedOutputPayload
fn code_versioned( input: CodeVersionedInputPayload, ) -> CodeVersionedOutputPayload
fn account_id_versioned( input: AccountIdVersionedInputPayload, ) -> AccountIdVersionedOutputPayload<AccountId>
fn new_balance_with_dust_versioned( input: NewBalanceWithDustVersionedInputPayload, ) -> Result<NewBalanceWithDustVersionedOutputPayload<Balance>, BalanceConversionError>
fn address_versioned( input: AddressVersionedInputPayload<AccountId>, ) -> AddressVersionedOutputPayload
fn trace_block_versioned( input: TraceBlockVersionedInputPayload<Block>, ) -> TraceBlockVersionedOutputPayload
fn trace_tx_versioned( input: TraceTxVersionedInputPayload<Block>, ) -> TraceTxVersionedOutputPayload
fn trace_call_versioned( input: TraceCallVersionedInputPayload, ) -> Result<TraceCallVersionedOutputPayload, EthTransactError>
Source§impl SessionKeysV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl SessionKeysV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn generate_session_keys(
_owner: Vec<u8>,
_seed: Option<Vec<u8>>,
) -> OpaqueGeneratedSessionKeys
fn generate_session_keys( _owner: Vec<u8>, _seed: Option<Vec<u8>>, ) -> OpaqueGeneratedSessionKeys
impl StructuralPartialEq for Runtime
Source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn validate_transaction(
source: TransactionSource,
tx: ExtrinsicFor<Runtime>,
block_hash: <Runtime as Config>::Hash,
) -> TransactionValidity
fn validate_transaction( source: TransactionSource, tx: ExtrinsicFor<Runtime>, block_hash: <Runtime as Config>::Hash, ) -> TransactionValidity
Source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, u128> for Runtime
fn query_info( uxt: ExtrinsicFor<Runtime>, len: u32, ) -> RuntimeDispatchInfo<Balance>
fn query_fee_details( uxt: ExtrinsicFor<Runtime>, len: u32, ) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
Source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
Source§type Call = RuntimeCall
type Call = RuntimeCall
ValidateUnsigned will be removed after April 2027. Use #[pallet::authorize] with frame_system::AuthorizeCall instead. See https://github.com/paritytech/polkadot-sdk/issues/2415
Source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
ValidateUnsigned will be removed after April 2027. Use #[pallet::authorize] with frame_system::AuthorizeCall instead. See https://github.com/paritytech/polkadot-sdk/issues/2415
Source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call,
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call, ) -> TransactionValidity
ValidateUnsigned will be removed after April 2027. Use #[pallet::authorize] with frame_system::AuthorizeCall instead. See https://github.com/paritytech/polkadot-sdk/issues/2415
Auto Trait Implementations§
impl Forget for Runtime
impl Freeze for Runtime
impl Move for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> DefensiveTruncateInto<U> for Twhere
U: DefensiveTruncateFrom<T>,
impl<T, U> DefensiveTruncateInto<U> for Twhere
U: DefensiveTruncateFrom<T>,
Source§fn defensive_truncate_into(self) -> U
fn defensive_truncate_into(self) -> U
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
impl<T> JsonSchemaMaybe for T
impl<T> MaybeDebug for Twhere
T: Debug,
impl<T> MaybeRefUnwindSafe for Twhere
T: RefUnwindSafe,
impl<T> MaybeSendSync for T
impl<T> Member for T
Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
Source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
Source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T. Read moreimpl<T> Scalar for T
impl<T> StaticTypeInfo for Twhere
T: TypeInfo + 'static,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.Source§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from.Source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
Source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T.