pub struct Runtime;Implementations§
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, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<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, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<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 AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
Source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
Source§impl AuraUnincludedSegmentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl AuraUnincludedSegmentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Source§fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic,
) -> ApplyExtrinsicResult
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic, ) -> ApplyExtrinsicResult
Source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
Source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, 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 CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Source§fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type AssetIdParameter = Compact<u32>
type AssetIdParameter = Compact<u32>
Self::AssetId to use in dispatchable call signatures. Allows the use
of compact encoding in instances of the pallet, which will prevent breaking changes
resulting from the removal of HasCompact from Self::AssetId. Read moreSource§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
Source§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Source§type AssetDeposit = AssetDeposit
type AssetDeposit = AssetDeposit
Source§type AssetAccountDeposit = ConstU128<DOLLARS>
type AssetAccountDeposit = ConstU128<DOLLARS>
Source§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
Source§type MetadataDepositPerByte = MetadataDepositPerByte
type MetadataDepositPerByte = MetadataDepositPerByte
Source§type ApprovalDeposit = ApprovalDeposit
type ApprovalDeposit = ApprovalDeposit
Source§type StringLimit = StringLimit
type StringLimit = StringLimit
Source§type Freezer = ()
type Freezer = ()
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type RemoveItemsLimit = ConstU32<1000>
type RemoveItemsLimit = ConstU32<1000>
Source§type CallbackHandle = ()
type CallbackHandle = ()
Source§impl Config for Runtime
impl Config for Runtime
Source§type CallFilter = AllowBalancesCall
type CallFilter = AllowBalancesCall
The safest default is to allow no calls at all.
Runtimes should whitelist dispatchables that are allowed to be called from contracts
and make sure they are stable. Dispatchables exposed to contracts are not allowed to
change because that would break already deployed contracts. The RuntimeCall structure
itself is not allowed to change the indices of existing pallets, too.
Source§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
seal_now.Source§type Randomness = Pallet<Runtime>
type Randomness = Pallet<Runtime>
seal_random. Read moreSource§type Currency = Pallet<Runtime>
type Currency = Pallet<Runtime>
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type DepositPerItem = DepositPerItem
type DepositPerItem = DepositPerItem
Source§type DepositPerByte = DepositPerByte
type DepositPerByte = DepositPerByte
Source§type CallStack = [Frame<Runtime>; 23]
type CallStack = [Frame<Runtime>; 23]
Source§type WeightPrice = Pallet<Runtime>
type WeightPrice = Pallet<Runtime>
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type ChainExtension = ()
type ChainExtension = ()
Source§type AddressGenerator = DefaultAddressGenerator
type AddressGenerator = DefaultAddressGenerator
Source§type MaxCodeLen = ConstU32<{ 256 * 1024 }>
type MaxCodeLen = ConstU32<{ 256 * 1024 }>
Source§type DefaultDepositLimit = DefaultDepositLimit
type DefaultDepositLimit = DefaultDepositLimit
Source§type MaxStorageKeyLen = ConstU32<128>
type MaxStorageKeyLen = ConstU32<128>
Source§type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>
Source§type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
Source§type UnsafeUnstableInterface = ConstBool<true>
type UnsafeUnstableInterface = ConstBool<true>
#[unstable] available. Read moreSource§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
chain_extension::Ext::lock_delegate_dependency
protects the code from being removed. In order to prevent abuse these actions are
protected with a percentage of the code deposit.Source§type MaxDelegateDependencies = MaxDelegateDependencies
type MaxDelegateDependencies = MaxDelegateDependencies
chain_extension::Ext::lock_delegate_dependency.Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type Environment = ()
type Environment = ()
Source§type ApiVersion = ()
type ApiVersion = ()
Source§type Migrations = ()
type Migrations = ()
Source§type Xcm = ()
type Xcm = ()
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§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type WeightInfo = ()
type WeightInfo = ()
Source§impl Config for Runtime
impl Config for Runtime
Source§type WeightInfo = ()
type WeightInfo = ()
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type OnSystemEvent = ()
type OnSystemEvent = ()
Source§type SelfParaId = Pallet<Runtime>
type SelfParaId = Pallet<Runtime>
Source§type OutboundXcmpMessageSource = Pallet<Runtime>
type OutboundXcmpMessageSource = Pallet<Runtime>
finalize_block.Source§type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
Source§type ReservedDmpWeight = ReservedDmpWeight
type ReservedDmpWeight = ReservedDmpWeight
Source§type XcmpMessageHandler = Pallet<Runtime>
type XcmpMessageHandler = Pallet<Runtime>
Source§type ReservedXcmpWeight = ReservedXcmpWeight
type ReservedXcmpWeight = ReservedXcmpWeight
Source§type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases
type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases
Source§type ConsensusHook = FixedVelocityConsensusHook<Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>
type ConsensusHook = FixedVelocityConsensusHook<Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type WeightInfo = ()
type WeightInfo = ()
Source§type MessageProcessor = ProcessXcmMessage<AggregateMessageOrigin, XcmExecutor<XcmConfig>, RuntimeCall>
type MessageProcessor = ProcessXcmMessage<AggregateMessageOrigin, XcmExecutor<XcmConfig>, RuntimeCall>
Source§type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
Source§type QueuePausedQuery = NarrowOriginToSibling<Pallet<Runtime>>
type QueuePausedQuery = NarrowOriginToSibling<Pallet<Runtime>>
Source§type HeapSize = ConstU32<{ 64 * 1024 }>
type HeapSize = ConstU32<{ 64 * 1024 }>
Source§type MaxStale = ConstU32<8>
type MaxStale = ConstU32<8>
Source§type ServiceWeight = MessageQueueServiceWeight
type ServiceWeight = MessageQueueServiceWeight
on_initialize. Read moreSource§type IdleMaxServiceWeight = ()
type IdleMaxServiceWeight = ()
on_idle which
should be provided to the message queue for servicing enqueued items on_idle.
Useful for parachains to process messages at the same block they are received. Read moreSource§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
Source§type ChannelInfo = Pallet<Runtime>
type ChannelInfo = Pallet<Runtime>
Source§type VersionWrapper = ()
type VersionWrapper = ()
Xcm into a VersionedXcm.Source§type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
Source§type MaxInboundSuspended = ConstU32<1000>
type MaxInboundSuspended = ConstU32<1000>
Source§type MaxActiveOutboundChannels = ConstU32<128>
type MaxActiveOutboundChannels = ConstU32<128>
Source§type MaxPageSize = ConstU32<{ 1 << 16 }>
type MaxPageSize = ConstU32<{ 1 << 16 }>
Source§type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Source§type ControllerOriginConverter = (SovereignSignedViaLocation<(AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
type ControllerOriginConverter = (SovereignSignedViaLocation<(AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
Location origin to a
superuser origin.Source§type WeightInfo = ()
type WeightInfo = ()
Source§type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>
type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
Source§type ShouldEndSession = PeriodicSessions<Period, Offset>
type ShouldEndSession = PeriodicSessions<Period, Offset>
Source§type NextSessionRotation = PeriodicSessions<Period, Offset>
type NextSessionRotation = PeriodicSessions<Period, Offset>
ShouldEndSession, yet, it gives a best effort
estimate. It is helpful to implement EstimateNextNewSession.Source§type SessionManager = Pallet<Runtime>
type SessionManager = Pallet<Runtime>
Source§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
Source§type Keys = SessionKeys
type Keys = SessionKeys
Source§type WeightInfo = ()
type WeightInfo = ()
Source§impl Config for Runtime
impl Config for Runtime
Source§type AuthorityId = Public
type AuthorityId = Public
Source§type DisabledValidators = ()
type DisabledValidators = ()
Source§type MaxAuthorities = ConstU32<100000>
type MaxAuthorities = ConstU32<100000>
Source§type AllowMultipleBlocksPerSlot = ConstBool<false>
type AllowMultipleBlocksPerSlot = ConstBool<false>
Source§type SlotDuration = MinimumPeriodTimesTwo<Runtime>
type SlotDuration = MinimumPeriodTimesTwo<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type UpdateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureXcm<IsVoiceOfBody<RelayLocation, StakingAdminBodyId>>>
type UpdateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureXcm<IsVoiceOfBody<RelayLocation, StakingAdminBodyId>>>
Source§type MaxCandidates = ConstU32<100>
type MaxCandidates = ConstU32<100>
Source§type MinEligibleCollators = ConstU32<4>
type MinEligibleCollators = ConstU32<4>
Source§type MaxInvulnerables = ConstU32<20>
type MaxInvulnerables = ConstU32<20>
type KickThreshold = Period
Source§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
Source§type ValidatorRegistration = Pallet<Runtime>
type ValidatorRegistration = Pallet<Runtime>
Source§type WeightInfo = ()
type WeightInfo = ()
Source§impl Config for Runtime
impl Config for Runtime
Source§type CallFilter = AllowBalancesCall
type CallFilter = AllowBalancesCall
The safest default is to allow no calls at all.
Runtimes should whitelist dispatchables that are allowed to be called from contracts
and make sure they are stable. Dispatchables exposed to contracts are not allowed to
change because that would break already deployed contracts. The RuntimeCall structure
itself is not allowed to change the indices of existing pallets, too.
Source§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
seal_now.Source§type Currency = Pallet<Runtime>
type Currency = Pallet<Runtime>
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type DepositPerItem = DepositPerItem
type DepositPerItem = DepositPerItem
Source§type DepositPerByte = DepositPerByte
type DepositPerByte = DepositPerByte
Source§type WeightPrice = Pallet<Runtime>
type WeightPrice = Pallet<Runtime>
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type ChainExtension = ()
type ChainExtension = ()
Source§type AddressGenerator = DefaultAddressGenerator
type AddressGenerator = DefaultAddressGenerator
Source§type MaxCodeLen = ConstU32<{ 123 * 1024 }>
type MaxCodeLen = ConstU32<{ 123 * 1024 }>
Source§type RuntimeMemory = ConstU32<{ 128 * 1024 * 1024 }>
type RuntimeMemory = ConstU32<{ 128 * 1024 * 1024 }>
Source§type PVFMemory = ConstU32<{ 512 * 1024 * 1024 }>
type PVFMemory = ConstU32<{ 512 * 1024 * 1024 }>
Source§type UnsafeUnstableInterface = ConstBool<true>
type UnsafeUnstableInterface = ConstBool<true>
#[unstable] available. Read moreSource§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
chain_extension::Ext::lock_delegate_dependency
protects the code from being removed. In order to prevent abuse these actions are
protected with a percentage of the code deposit.Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type Debug = ()
type Debug = ()
() implementation of this
trait. This implementation offers additional logging when the log target
“runtime::revive” is set to trace.Source§type Migrations = ()
type Migrations = ()
Source§type Xcm = ()
type Xcm = ()
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§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
Location
which exists as an interior location within this chain’s XCM context.Source§type XcmRouter = WithUniqueTopic<(ParentAsUmp<Pallet<Runtime>, (), ()>, Pallet<Runtime>)>
type XcmRouter = WithUniqueTopic<(ParentAsUmp<Pallet<Runtime>, (), ()>, Pallet<Runtime>)>
Source§type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
Location which exists as an interior location
within this chain’s XCM context.Source§type XcmExecuteFilter = Everything
type XcmExecuteFilter = Everything
XcmExecutor must pass.Source§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Source§type XcmTeleportFilter = Everything
type XcmTeleportFilter = Everything
Source§type XcmReserveTransferFilter = Nothing
type XcmReserveTransferFilter = Nothing
Source§type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
Source§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
Origin type.Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Call type.Source§type AdvertisedXcmVersion = CurrentXcmVersion
type AdvertisedXcmVersion = CurrentXcmVersion
pallet_xcm::CurrentXcmVersion.Source§type CurrencyMatcher = ()
type CurrencyMatcher = ()
Asset matcher for Currency.Source§type TrustedLockers = ()
type TrustedLockers = ()
Source§type SovereignAccountOf = (AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)
type SovereignAccountOf = (AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)
AccountId value from a Location, useful for handling asset locks.Source§type MaxLockers = ConstU32<8>
type MaxLockers = ConstU32<8>
Source§type WeightInfo = TestWeightInfo
type WeightInfo = TestWeightInfo
Source§type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Source§type MaxRemoteLockConsumers = ConstU32<0>
type MaxRemoteLockConsumers = ConstU32<0>
Source§type RemoteLockConsumerIdentifier = ()
type RemoteLockConsumerIdentifier = ()
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type XcmExecutor = XcmExecutor<XcmConfig>
Source§impl Config for Runtime
The default types are being injected by derive_impl from
ParaChainDefaultConfig,
but overridden as needed.
impl Config for Runtime
The default types are being injected by derive_impl from
ParaChainDefaultConfig,
but overridden as needed.
Source§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The identifier used to distinguish between accounts.
Source§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
The block type.
Source§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
Source§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
The data to be stored in an account.
Source§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Block & extrinsics weights: base values and limits.
Source§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
The maximum length of a block (in bytes).
Source§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
This is used as an identifier of the chain. 42 is the generic substrate prefix.
Source§type OnSetCode = ParachainSetCode<Runtime>
type OnSetCode = ParachainSetCode<Runtime>
The action to take on a Runtime Upgrade
Source§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
Source§type Hashing = <ParaChainDefaultConfig as DefaultConfig>::Hashing
type Hashing = <ParaChainDefaultConfig as DefaultConfig>::Hashing
Source§type Lookup = <ParaChainDefaultConfig as DefaultConfig>::Lookup
type Lookup = <ParaChainDefaultConfig as DefaultConfig>::Lookup
AccountId. Read moreSource§type OnNewAccount = <ParaChainDefaultConfig as DefaultConfig>::OnNewAccount
type OnNewAccount = <ParaChainDefaultConfig as DefaultConfig>::OnNewAccount
Source§type OnKilledAccount = <ParaChainDefaultConfig as DefaultConfig>::OnKilledAccount
type OnKilledAccount = <ParaChainDefaultConfig as DefaultConfig>::OnKilledAccount
type SystemWeightInfo = <ParaChainDefaultConfig as DefaultConfig>::SystemWeightInfo
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 = <ParaChainDefaultConfig as DefaultConfig>::BaseCallFilter
type BaseCallFilter = <ParaChainDefaultConfig as DefaultConfig>::BaseCallFilter
Source§type SingleBlockMigrations = <ParaChainDefaultConfig as DefaultConfig>::SingleBlockMigrations
type SingleBlockMigrations = <ParaChainDefaultConfig as DefaultConfig>::SingleBlockMigrations
Source§type MultiBlockMigrator = <ParaChainDefaultConfig as DefaultConfig>::MultiBlockMigrator
type MultiBlockMigrator = <ParaChainDefaultConfig as DefaultConfig>::MultiBlockMigrator
Source§type PreInherents = <ParaChainDefaultConfig as DefaultConfig>::PreInherents
type PreInherents = <ParaChainDefaultConfig as DefaultConfig>::PreInherents
Source§type PostInherents = <ParaChainDefaultConfig as DefaultConfig>::PostInherents
type PostInherents = <ParaChainDefaultConfig as DefaultConfig>::PostInherents
Source§type PostTransactions = <ParaChainDefaultConfig as DefaultConfig>::PostTransactions
type PostTransactions = <ParaChainDefaultConfig as DefaultConfig>::PostTransactions
Source§impl Config for Runtime
impl Config for Runtime
Source§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
Source§type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>
Source§type WeightInfo = ()
type WeightInfo = ()
Source§impl Config for Runtime
impl Config for Runtime
Source§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
Source§type EventHandler = (Pallet<Runtime>,)
type EventHandler = (Pallet<Runtime>,)
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
Source§type MaxLocks = ConstU32<50>
type MaxLocks = ConstU32<50>
Source§type DustRemoval = ()
type DustRemoval = ()
Source§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
Source§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type MaxReserves = ConstU32<50>
type MaxReserves = ConstU32<50>
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
Source§type FreezeIdentifier = ()
type FreezeIdentifier = ()
Source§type MaxFreezes = ConstU32<50>
type MaxFreezes = ConstU32<50>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ()>
type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ()>
Source§type WeightToFee = WeightToFee
type WeightToFee = WeightToFee
Source§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
Source§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
Source§type OperationalFeeMultiplier = ConstU8<5>
type OperationalFeeMultiplier = ConstU8<5>
Operational extrinsics to compute “virtual tip” to boost their
priority Read moreSource§impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
Source§fn call(
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn call( origin: AccountId, dest: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
Source§fn instantiate(
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code<Hash>,
data: Vec<u8>,
salt: Vec<u8>,
) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn instantiate( origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code<Hash>, data: Vec<u8>, salt: Vec<u8>, ) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
Source§fn upload_code(
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
determinism: Determinism,
) -> CodeUploadResult<Hash, Balance>
fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, determinism: Determinism, ) -> CodeUploadResult<Hash, Balance>
Source§fn get_storage(address: AccountId, key: Vec<u8>) -> GetStorageResult
fn get_storage(address: AccountId, key: Vec<u8>) -> GetStorageResult
Source§impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Source§fn version() -> RuntimeVersion
fn version() -> RuntimeVersion
Source§fn execute_block(block: Block)
fn execute_block(block: Block)
Source§fn initialize_block(
header: &<Block as BlockT>::Header,
) -> ExtrinsicInclusionMode
fn initialize_block( header: &<Block as BlockT>::Header, ) -> ExtrinsicInclusionMode
Source§impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> 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, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> 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, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Source§impl ReviveApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
impl ReviveApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
Source§fn call(
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn call( origin: AccountId, dest: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
Source§fn instantiate(
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code<Hash>,
data: Vec<u8>,
salt: Vec<u8>,
) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn instantiate( origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code<Hash>, data: Vec<u8>, salt: Vec<u8>, ) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
Source§fn upload_code(
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
) -> CodeUploadResult<Hash, Balance>
fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> CodeUploadResult<Hash, Balance>
Source§fn get_storage(address: AccountId, key: Vec<u8>) -> GetStorageResult
fn get_storage(address: AccountId, key: Vec<u8>) -> GetStorageResult
Source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Source§fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash,
) -> TransactionValidity
fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash, ) -> TransactionValidity
Source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32, ) -> RuntimeDispatchInfo<Balance>
fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32, ) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
Source§impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, RuntimeCall> for Runtime
impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, RuntimeCall> for Runtime
Source§fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
Call.Source§fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
Call.Source§fn query_weight_to_fee(weight: Weight) -> Balance
fn query_weight_to_fee(weight: Weight) -> Balance
WeightToFee given some input.Source§fn query_length_to_fee(length: u32) -> Balance
fn query_length_to_fee(length: u32) -> Balance
LengthToFee given some input.Source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
Source§type Call = RuntimeCall
type Call = RuntimeCall
Source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
Source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call,
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call, ) -> TransactionValidity
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin 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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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
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<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> 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 moreSource§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.