pub struct Runtime;
Implementations§
Source§impl Runtime
impl Runtime
pub(crate) fn metadata_ir() -> MetadataIR
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§fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>
fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>
Origin::Signed
variant, if self has
that variant.Source§impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn configuration() -> BabeConfiguration
fn configuration() -> BabeConfiguration
Source§fn current_epoch_start() -> Slot
fn current_epoch_start() -> Slot
Source§fn current_epoch() -> Epoch
fn current_epoch() -> Epoch
Source§fn next_epoch() -> Epoch
fn next_epoch() -> Epoch
Source§fn generate_key_ownership_proof(
_slot: Slot,
authority_id: AuthorityId,
) -> Option<OpaqueKeyOwnershipProof>
fn generate_key_ownership_proof( _slot: Slot, authority_id: AuthorityId, ) -> Option<OpaqueKeyOwnershipProof>
slot
as parameter the current
implementations ignores this parameter and instead relies on this
method being called at the correct block height, i.e. any point at
which the epoch for the given slot is live on-chain. Future
implementations will instead use indexed data through an offchain
worker, not requiring older states to be available.Source§fn submit_report_equivocation_unsigned_extrinsic(
equivocation_proof: EquivocationProof<<Block as BlockT>::Header>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Header>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
generate_key_ownership_proof
). The
extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.Source§impl BenchmarkV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl BenchmarkV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
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: <Block as BlockT>::Extrinsic,
) -> ApplyExtrinsicResult
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic, ) -> ApplyExtrinsicResult
Source§fn finalize_block() -> <Block as BlockT>::Header
fn finalize_block() -> <Block as BlockT>::Header
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.§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Signed
origin, None
otherwise.Source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
Source§type Proposal = RuntimeCall
type Proposal = RuntimeCall
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type MotionDuration = TechnicalMotionDuration
type MotionDuration = TechnicalMotionDuration
Source§type MaxProposals = TechnicalMaxProposals
type MaxProposals = TechnicalMaxProposals
Source§type MaxMembers = TechnicalMaxMembers
type MaxMembers = TechnicalMaxMembers
Source§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type SetMembersOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type SetMembersOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type MaxProposalWeight = MaxCollectivesProposalWeight
type MaxProposalWeight = MaxCollectivesProposalWeight
Source§type DisapproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type DisapproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type KillOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type KillOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type Consideration = ()
type Consideration = ()
Source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
Organizes nominations into bags by relative size
Source§type ScoreProvider = Pallet<Runtime>
type ScoreProvider = Pallet<Runtime>
The voter bags-list is loosely kept up to date, and the real source of truth for the score of each node is the staking pallet.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type BagThresholds = BagThresholds
type BagThresholds = BagThresholds
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
grandpa finality gadget
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type WeightInfo = ()
type WeightInfo = ()
Source§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
Source§type MaxNominators = MaxNominators
type MaxNominators = MaxNominators
Source§type MaxSetIdSessionEntries = MaxSetIdSessionEntries
type MaxSetIdSessionEntries = MaxSetIdSessionEntries
Source§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
Source§type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
Source§impl Config for Runtime
impl Config for Runtime
validator heartbeats
Source§type AuthorityId = Public
type AuthorityId = Public
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
Source§type ValidatorSet = Pallet<Runtime>
type ValidatorSet = Pallet<Runtime>
Source§type ReportUnresponsiveness = Pallet<Runtime>
type ReportUnresponsiveness = Pallet<Runtime>
Source§type UnsignedPriority = ImOnlineUnsignedPriority
type UnsignedPriority = ImOnlineUnsignedPriority
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§type MaxPeerInHeartbeats = MaxPeerInHeartbeats
type MaxPeerInHeartbeats = MaxPeerInHeartbeats
ReceivedHeartbeats
Source§impl Config for Runtime
impl Config for Runtime
Add validator peer discovery, takes minimal configuration
Source§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
Source§impl Config for Runtime
§00 - System
Config
Represents the runtime base configuration, pretty standard appart from:
impl Config for Runtime
§00 - System
Config
Represents the runtime base configuration, pretty standard appart from:
AccountData
is managed byBalances
SS58Prefix
is registered for mainnet, rest is unofficial
Source§type BaseCallFilter = Everything
type BaseCallFilter = Everything
Source§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Source§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
Source§type DbWeight = ParityDbWeight
type DbWeight = ParityDbWeight
Source§type Nonce = u32
type Nonce = u32
Source§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
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 BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Source§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
Source§type SystemWeightInfo = WeightInfo<Runtime>
type SystemWeightInfo = WeightInfo<Runtime>
Source§type SS58Prefix = ConstU16<{ SS58_ADDRESS_PREFIX }>
type SS58Prefix = ConstU16<{ SS58_ADDRESS_PREFIX }>
Source§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
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 OnNewAccount = <SolochainDefaultConfig as DefaultConfig>::OnNewAccount
type OnNewAccount = <SolochainDefaultConfig as DefaultConfig>::OnNewAccount
Source§type OnKilledAccount = <SolochainDefaultConfig as DefaultConfig>::OnKilledAccount
type OnKilledAccount = <SolochainDefaultConfig as DefaultConfig>::OnKilledAccount
Source§type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
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 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
§01 - Timestamp
Config
timestamp extension
impl Config for Runtime
§01 - Timestamp
Config
timestamp extension
Source§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
Source§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type MembershipInitialized = Pallet<Runtime, Instance1>
type MembershipInitialized = Pallet<Runtime, Instance1>
MembershipChanged
. If you need to do
something different on initialization, then you can change this accordingly.Source§type MembershipChanged = Pallet<Runtime, Instance1>
type MembershipChanged = Pallet<Runtime, Instance1>
Source§type MaxMembers = TechnicalMaxMembers
type MaxMembers = TechnicalMaxMembers
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type SystemAdmin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type SystemAdmin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Default admin origin for system related governance
Source§type StakingAdmin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type StakingAdmin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Default admin origin for staking related governance
Source§type BalancesAdmin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type BalancesAdmin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Default admin origin for balances related governance
Source§impl Config for Runtime
impl Config for Runtime
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 CallFilter = Nothing
type CallFilter = Nothing
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 AddressMapper = AccountId32Mapper<Runtime>
type AddressMapper = AccountId32Mapper<Runtime>
address::AccountId32Mapper
] or [address::H160Mapper
].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<false>
type UnsafeUnstableInterface = ConstBool<false>
#[unstable]
available. Read moreSource§type UploadOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UploadOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Source§type InstantiateOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type InstantiateOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
Source§type Xcm = ()
type Xcm = ()
Source§type NativeToEthRatio = ConstU32<1000000>
type NativeToEthRatio = ConstU32<1000000>
Source§type EthGasEncoder = ()
type EthGasEncoder = ()
()
. See [GasEncoder
].Source§type FindAuthor = <Runtime as Config>::FindAuthor
type FindAuthor = <Runtime as Config>::FindAuthor
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
Source§type ByteDeposit = ByteDeposit
type ByteDeposit = ByteDeposit
Source§type UsernameDeposit = UsernameDeposit
type UsernameDeposit = UsernameDeposit
Source§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
Source§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
Source§type IdentityInformation = IdentityInfo<MaxAdditionalFields>
type IdentityInformation = IdentityInfo<MaxAdditionalFields>
Source§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
Source§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type OffchainSignature = MultiSignature
type OffchainSignature = MultiSignature
Source§type SigningPublicKey = <MultiSignature as Verify>::Signer
type SigningPublicKey = <MultiSignature as Verify>::Signer
Self::AccountId
.Source§type UsernameAuthorityOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type UsernameAuthorityOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
Source§type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>
type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>
Source§type MaxSuffixLength = ConstU32<7>
type MaxSuffixLength = ConstU32<7>
Source§type MaxUsernameLength = ConstU32<32>
type MaxUsernameLength = ConstU32<32>
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type ManagerOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type ManagerOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<StorageBaseDeposit, StorageByteDeposit, u128>>
type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<StorageBaseDeposit, StorageByteDeposit, u128>>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
Source§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
Source§type ScheduleOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type ScheduleOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type MaxScheduledPerBlock = ConstU32<512>
type MaxScheduledPerBlock = ConstU32<512>
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
Source§type Preimages = Pallet<Runtime>
type Preimages = Pallet<Runtime>
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Manages off- and on-chain validator election
type RuntimeEvent = RuntimeEvent
Source§type EstimateCallFee = Pallet<Runtime>
type EstimateCallFee = Pallet<Runtime>
Source§type SignedPhase = SignedPhase
type SignedPhase = SignedPhase
Source§type UnsignedPhase = UnsignedPhase
type UnsignedPhase = UnsignedPhase
Source§type BetterSignedThreshold = ()
type BetterSignedThreshold = ()
Source§type OffchainRepeat = OffchainRepeat
type OffchainRepeat = OffchainRepeat
Source§type MinerTxPriority = MultiPhaseUnsignedPriority
type MinerTxPriority = MultiPhaseUnsignedPriority
Source§type MinerConfig = Runtime
type MinerConfig = Runtime
Source§type SignedMaxSubmissions = ConstU32<10>
type SignedMaxSubmissions = ConstU32<10>
Source§type SignedRewardBase = SignedRewardBase
type SignedRewardBase = SignedRewardBase
Source§type SignedDepositBase = GeometricDepositBase<u128, SignedFixedDeposit, SignedDepositIncreaseFactor>
type SignedDepositBase = GeometricDepositBase<u128, SignedFixedDeposit, SignedDepositIncreaseFactor>
Source§type SignedDepositByte = SignedDepositByte
type SignedDepositByte = SignedDepositByte
Source§type SignedMaxRefunds = ConstU32<3>
type SignedMaxRefunds = ConstU32<3>
Source§type SignedDepositWeight = ()
type SignedDepositWeight = ()
Source§type SignedMaxWeight = MinerMaxWeight
type SignedMaxWeight = MinerMaxWeight
Source§type SlashHandler = ()
type SlashHandler = ()
Source§type RewardHandler = ()
type RewardHandler = ()
Source§type DataProvider = Pallet<Runtime>
type DataProvider = Pallet<Runtime>
Source§type Fallback = OnChainExecution<OnChainSeqPhragmen>
type Fallback = OnChainExecution<OnChainSeqPhragmen>
Source§type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
Source§type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, OffchainRandomBalancing>
type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, OffchainRandomBalancing>
Source§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type MaxWinners = ConstU32<100>
type MaxWinners = ConstU32<100>
ElectionProvider
implementation. Read moreSource§type ElectionBounds = ElectionBoundsMultiPhase
type ElectionBounds = ElectionBoundsMultiPhase
Source§type BenchmarkingConfig = ElectionProviderBenchmarkConfig
type BenchmarkingConfig = ElectionProviderBenchmarkConfig
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Tracks nominations and stake
Source§type Reward = RewardPool
type Reward = RewardPool
Pay rewards from reward pool, otherwise mint them.
Source§type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
A majority of the council can cancel the slash.
Source§type EraPayout = ConvertCurve<RewardCurve>
type EraPayout = ConvertCurve<RewardCurve>
Inflation curve that optimizes returned rewards
Source§type CurrencyBalance = u128
type CurrencyBalance = u128
Currency::Balance
type; we have this item to allow us to constrain it to
From<u64>
.Source§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
u64
but is allowed to be sensibly lossy. The u64
is used to communicate with the
[frame_election_provider_support
] crate which accepts u64 numbers and does operations
in 128.
Consequently, the backward convert is used convert the u128s from sp-elections back to a
[BalanceOf
].Source§type RewardRemainder = ()
type RewardRemainder = ()
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
Source§type BondingDuration = BondingDuration
type BondingDuration = BondingDuration
Source§type SlashDeferDuration = SlashDeferDuration
type SlashDeferDuration = SlashDeferDuration
Source§type SessionInterface = Runtime
type SessionInterface = Runtime
Source§type MaxExposurePageSize = ConstU32<256>
type MaxExposurePageSize = ConstU32<256>
T::ExposurePage
. Read moreSource§type NextNewSession = Pallet<Runtime>
type NextNewSession = Pallet<Runtime>
Source§type ElectionProvider = Pallet<Runtime>
type ElectionProvider = Pallet<Runtime>
Source§type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
Source§type VoterList = Pallet<Runtime, Instance1>
type VoterList = Pallet<Runtime, Instance1>
Source§type TargetList = UseValidatorsMap<Runtime>
type TargetList = UseValidatorsMap<Runtime>
Source§type NominationsQuota = FixedNominationsQuota<MAX_QUOTA_NOMINATIONS>
type NominationsQuota = FixedNominationsQuota<MAX_QUOTA_NOMINATIONS>
Source§type MaxUnlockingChunks = ConstU32<32>
type MaxUnlockingChunks = ConstU32<32>
unlocking
chunks a [StakingLedger
] can
have. Effectively determines how many unique eras a staker may be
unbonding in. Read moreSource§type HistoryDepth = HistoryDepth
type HistoryDepth = HistoryDepth
Source§type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch
type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch
Source§type BenchmarkingConfig = StakingBenchmarkingConfig
type BenchmarkingConfig = StakingBenchmarkingConfig
Source§type EventListeners = (Pallet<Runtime>, Pallet<Runtime>)
type EventListeners = (Pallet<Runtime>, Pallet<Runtime>)
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type OldCurrency = Pallet<Runtime>
type OldCurrency = Pallet<Runtime>
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§impl Config for Runtime
§Offences
Config
Tracks offences
impl Config for Runtime
§Offences
Config
Tracks offences
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
Source§type OnOffenceHandler = Pallet<Runtime>
type OnOffenceHandler = Pallet<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
Source§type RewardCounter = FixedU128
type RewardCounter = FixedU128
Source§type BalanceToU256 = BalanceToU256
type BalanceToU256 = BalanceToU256
Currency::Balance
to U256
.Source§type U256ToBalance = U256ToBalance
type U256ToBalance = U256ToBalance
U256
to Currency::Balance
.Source§type StakeAdapter = DelegateStake<Runtime, Pallet<Runtime>, Pallet<Runtime>>
type StakeAdapter = DelegateStake<Runtime, Pallet<Runtime>, Pallet<Runtime>>
Source§type PostUnbondingPoolsWindow = PostUnbondPoolsWindow
type PostUnbondingPoolsWindow = PostUnbondPoolsWindow
SubPools::with_era
pool can exist before it gets merged into the
SubPools::no_era
pool. In other words, this is the amount of eras a member will be
able to withdraw from an unbonding pool which is guaranteed to have the correct ratio of
points to balance; once the with_era
pool is merged into the no_era
pool, the ratio
can become skewed due to some slashed ratio getting merged in at some point.Source§type MaxMetadataLen = ConstU32<256>
type MaxMetadataLen = ConstU32<256>
Source§type MaxUnbonding = <Runtime as Config>::MaxUnlockingChunks
type MaxUnbonding = <Runtime as Config>::MaxUnlockingChunks
Source§type PalletId = NominationPoolsPalletId
type PalletId = NominationPoolsPalletId
Source§type MaxPointsToBalance = MaxPointsToBalance
type MaxPointsToBalance = MaxPointsToBalance
open
pool can have. Read moreSource§type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
frame_system
pallet.Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type PalletId = DelegatedStakingPalletId
type PalletId = DelegatedStakingPalletId
Source§type SlashRewardFraction = SlashRewardFraction
type SlashRewardFraction = SlashRewardFraction
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type CoreStaking = Pallet<Runtime>
type CoreStaking = Pallet<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Add balance tracking and transfers
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
Source§type MaxLocks = MaxLocks
type MaxLocks = MaxLocks
Source§type MaxReserves = MaxReserves
type MaxReserves = MaxReserves
Source§type DustRemoval = ()
type DustRemoval = ()
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
Source§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§type FreezeIdentifier = RuntimeFreezeReason
type FreezeIdentifier = RuntimeFreezeReason
Source§type MaxFreezes = ConstU32<1>
type MaxFreezes = ConstU32<1>
Source§type DoneSlashHandler = ()
type DoneSlashHandler = ()
Source§impl Config for Runtime
§TransactionPayment Config
Charge users for their transactions according to the transactions weight.
impl Config for Runtime
§TransactionPayment Config
Charge users for their transactions according to the transactions weight.
WeightToFee
is a custom curve, for details seecrate::tokenomics
LengthToFee
is a custom curve, for details seecrate::tokenomics
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The event type that will be emitted for transaction payment events.
Source§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees>
type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees>
Specify how to charge transaction fees.
Source§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
The multiplier applied to operational transaction fees.
Source§type WeightToFee = WeightToFee
type WeightToFee = WeightToFee
Use our custom weight to fee curve
Source§type LengthToFee = LengthToFee
type LengthToFee = LengthToFee
Use our custom length to fee curve
Source§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
Defines how the fee multiplier is updated based on the block fullness.
The TargetedFeeAdjustment
adjusts the fee multiplier to maintain the target block fullness.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Benchmarked weights associated with transaction payments
Source§impl Config for Runtime
§Vesting
Config
Allow tokens to be locked following schedule
impl Config for Runtime
§Vesting
Config
Allow tokens to be locked following schedule
Source§const MAX_VESTING_SCHEDULES: u32 = 28u32
const MAX_VESTING_SCHEDULES: u32 = 28u32
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type BlockNumberToBalance = ConvertInto
type BlockNumberToBalance = ConvertInto
Source§type MinVestedTransfer = MinVestedTransfer
type MinVestedTransfer = MinVestedTransfer
vested_transfer
.Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Source§impl Config for Runtime
§Utility
Config
Batch and other useful extrinsics
impl Config for Runtime
§Utility
Config
Batch and other useful extrinsics
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§impl Config for Runtime
§Multisig
Config
On-chain multi signature wallets
impl Config for Runtime
§Multisig
Config
On-chain multi signature wallets
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type DepositBase = DepositBase
type DepositBase = DepositBase
Source§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
Source§type MaxSignatories = ConstU32<100>
type MaxSignatories = ConstU32<100>
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Source§impl Config for Runtime
§Proxy
Config
Allows to instantiate proxy wallets
impl Config for Runtime
§Proxy
Config
Allows to instantiate proxy wallets
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Source§type ProxyType = ProxyType
type ProxyType = ProxyType
IsProxyable
filter.
The instance filter determines whether a given call may be proxied under this type. Read moreSource§type ProxyDepositBase = ProxyDepositBase
type ProxyDepositBase = ProxyDepositBase
Source§type ProxyDepositFactor = ProxyDepositFactor
type ProxyDepositFactor = ProxyDepositFactor
Source§type MaxProxies = ConstU32<32>
type MaxProxies = ConstU32<32>
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§type MaxPending = ConstU32<32>
type MaxPending = ConstU32<32>
Source§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
Source§type AnnouncementDepositBase = AnnouncementDepositBase
type AnnouncementDepositBase = AnnouncementDepositBase
Source§type AnnouncementDepositFactor = AnnouncementDepositFactor
type AnnouncementDepositFactor = AnnouncementDepositFactor
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type WeightInfo = WeightInfo<Runtime>
type Elections = Pallet<Runtime>
type Shards = Pallet<Runtime>
Source§type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type HeartbeatTimeout = ConstU32<300>
type MaxTimeoutsPerBlock = ConstU32<25>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Source§type MaxElectionsPerBlock = ConstU32<25>
type MaxElectionsPerBlock = ConstU32<25>
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type WeightInfo = WeightInfo<Runtime>
type Members = Pallet<Runtime>
type Elections = Pallet<Runtime>
type Tasks = Pallet<Runtime>
type DkgTimeout = ConstU32<10>
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type WeightInfo = WeightInfo<Runtime>
type Networks = Pallet<Runtime>
type Shards = Pallet<Runtime>
Source§type MaxTasksPerBlock = ConstU32<50>
type MaxTasksPerBlock = ConstU32<50>
on_initialize
Source§type MaxBatchesPerBlock = ConstU32<10>
type MaxBatchesPerBlock = ConstU32<10>
on_initialize
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type WeightInfo = WeightInfo<Runtime>
type Currency = Pallet<Runtime>
type InitialRewardPoolAccount = InitialRewardPoolAccount
type InitialTimegraphAccount = InitialTimegraphAccount
type InitialThreshold = InitialThreshold
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>>
type WeightInfo = WeightInfo<Runtime>
type Tasks = Pallet<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
§fn prepare_set_code_data() -> Vec<u8> ⓘ
fn prepare_set_code_data() -> Vec<u8> ⓘ
§fn setup_set_code_requirements(_code: &Vec<u8>) -> Result<(), BenchmarkError>
fn setup_set_code_requirements(_code: &Vec<u8>) -> Result<(), BenchmarkError>
set_code
.§fn verify_set_code()
fn verify_set_code()
Source§impl Config for Runtime
§Authorship
Config
Tracks block authorship
impl Config for Runtime
§Authorship
Config
Tracks block authorship
Source§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
Source§type EventHandler = (Pallet<Runtime>, Pallet<Runtime>)
type EventHandler = (Pallet<Runtime>, Pallet<Runtime>)
Source§impl Config for Runtime
impl Config for Runtime
Tracks session keys
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Source§type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
Source§type ValidatorIdOf = StashOf<Runtime>
type ValidatorIdOf = StashOf<Runtime>
Source§type ShouldEndSession = Pallet<Runtime>
type ShouldEndSession = Pallet<Runtime>
Source§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
ShouldEndSession
], yet, it gives a best effort
estimate. It is helpful to implement [EstimateNextNewSession
].Source§type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
type SessionManager = NoteHistoricalRoot<Runtime, 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 = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Source§type DisablingStrategy = UpToLimitDisablingStrategy
type DisablingStrategy = UpToLimitDisablingStrategy
DisablingStragegy
controls how validators are disabledSource§impl Config for Runtime
impl Config for Runtime
Tracks historical session
Source§type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
Source§type FullIdentificationOf = ExposureOf<Runtime>
type FullIdentificationOf = ExposureOf<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
babe block production
Source§type EpochDuration = EpochDuration
type EpochDuration = EpochDuration
Source§type ExpectedBlockTime = ExpectedBlockTime
type ExpectedBlockTime = ExpectedBlockTime
c
(where 1 - c
represents
the probability of a slot being empty).Source§type EpochChangeTrigger = ExternalTrigger
type EpochChangeTrigger = ExternalTrigger
Source§type DisabledValidators = Pallet<Runtime>
type DisabledValidators = Pallet<Runtime>
Source§type WeightInfo = ()
type WeightInfo = ()
Source§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
Source§type MaxNominators = MaxNominators
type MaxNominators = MaxNominators
Source§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
Source§type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
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 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<LocalCall> CreateInherent<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateInherent<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
Source§fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic
fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic
Source§impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
Source§fn create_signed_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: RuntimeCall,
public: <Signature as Verify>::Signer,
account: AccountId,
nonce: Nonce,
) -> Option<UncheckedExtrinsic>
fn create_signed_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, nonce: Nonce, ) -> Option<UncheckedExtrinsic>
Source§impl<LocalCall> CreateTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
Source§type Extension = (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, PrevalidateFeeless<Runtime>)
type Extension = (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, PrevalidateFeeless<Runtime>)
Source§fn create_transaction(
call: RuntimeCall,
extension: RuntimeSignedExtra,
) -> UncheckedExtrinsic
fn create_transaction( call: RuntimeCall, extension: RuntimeSignedExtra, ) -> UncheckedExtrinsic
Source§impl<C> CreateTransactionBase<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> CreateTransactionBase<C> for Runtimewhere
RuntimeCall: From<C>,
Source§type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>
type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
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§fn build_state(config: Vec<u8>) -> Result
fn build_state(config: Vec<u8>) -> Result
RuntimeGenesisConfig
from a JSON blob not using any defaults and store it in the
storage. Read moreSource§fn preset_names() -> Vec<PresetId>
fn preset_names() -> Vec<PresetId>
RuntimeGenesisConfig
presets. Read moreSource§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
Source§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
RuntimeBlock
type.Source§impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn current_set_id() -> SetId
fn current_set_id() -> SetId
Source§fn submit_report_equivocation_unsigned_extrinsic(
equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
generate_key_ownership_proof
). The
extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.Source§fn generate_key_ownership_proof(
_set_id: SetId,
authority_id: GrandpaId,
) -> Option<OpaqueKeyOwnershipProof>
fn generate_key_ownership_proof( _set_id: SetId, authority_id: GrandpaId, ) -> Option<OpaqueKeyOwnershipProof>
set_id
as parameter the current
implementations ignore this parameter and instead rely on this
method being called at the correct block height, i.e. any point at
which the given set id is live on-chain. Future implementations will
instead use indexed data through an offchain worker, not requiring
older states to be available.Source§impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
Source§fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
Source§impl MembersApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl MembersApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
fn member_peer_id(account: &AccountId) -> Option<PeerId>
fn heartbeat_timeout() -> BlockNumber
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§impl MinerConfig for Runtime
impl MinerConfig for Runtime
Source§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
Source§type MaxLength = MinerMaxLength
type MaxLength = MinerMaxLength
Source§type MaxWeight = MinerMaxWeight
type MaxWeight = MinerMaxWeight
Source§type Solution = NposSolution32
type Solution = NposSolution32
Source§type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
Source§type MaxWinners = ConstU32<100>
type MaxWinners = ConstU32<100>
Source§impl NetworksApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl NetworksApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
fn network_name(network_id: NetworkId) -> Option<ChainName>
fn network_gateway(network: NetworkId) -> Option<Address32>
fn network_config(network: NetworkId) -> NetworkConfig
fn network_gas_price(network: NetworkId) -> u128
Source§impl NominationPoolsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
impl NominationPoolsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
Source§fn pending_rewards(member: AccountId) -> Balance
fn pending_rewards(member: AccountId) -> Balance
Source§fn points_to_balance(pool_id: PoolId, points: Balance) -> Balance
fn points_to_balance(pool_id: PoolId, points: Balance) -> Balance
points
for a given pool.Source§fn balance_to_points(pool_id: PoolId, new_funds: Balance) -> Balance
fn balance_to_points(pool_id: PoolId, new_funds: Balance) -> Balance
new_funds
for a given pool.Source§fn pool_pending_slash(pool_id: PoolId) -> Balance
fn pool_pending_slash(pool_id: PoolId) -> Balance
Source§fn member_pending_slash(member: AccountId) -> Balance
fn member_pending_slash(member: AccountId) -> Balance
Source§fn pool_needs_delegate_migration(pool_id: PoolId) -> bool
fn pool_needs_delegate_migration(pool_id: PoolId) -> bool
pool_id
needs migration. Read moreSource§fn member_needs_delegate_migration(member: AccountId) -> bool
fn member_needs_delegate_migration(member: AccountId) -> bool
member
needs migration. Read moreSource§fn member_total_balance(who: AccountId) -> Balance
fn member_total_balance(who: AccountId) -> Balance
Source§fn pool_balance(pool_id: PoolId) -> Balance
fn pool_balance(pool_id: PoolId) -> Balance
Source§fn pool_accounts(pool_id: PoolId) -> (AccountId, AccountId)
fn pool_accounts(pool_id: PoolId) -> (AccountId, AccountId)
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: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
Source§impl ReviveApiV1<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> for Runtime
impl ReviveApiV1<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> for Runtime
Source§fn balance(address: H160) -> U256
fn balance(address: H160) -> U256
[H160]
address, using EVM decimals.Source§fn block_gas_limit() -> U256
fn block_gas_limit() -> U256
Source§fn eth_transact(
tx: GenericTransaction,
) -> Result<EthTransactInfo<Balance>, EthTransactError>
fn eth_transact( tx: GenericTransaction, ) -> Result<EthTransactInfo<Balance>, EthTransactError>
Source§fn call(
origin: AccountId,
dest: H160,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> ContractResult<ExecReturnValue, Balance>
fn call( origin: AccountId, dest: H160, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> ContractResult<ExecReturnValue, Balance>
Source§fn instantiate(
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code,
data: Vec<u8>,
salt: Option<[u8; 32]>,
) -> ContractResult<InstantiateReturnValue, Balance>
fn instantiate( origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> ContractResult<InstantiateReturnValue, Balance>
Source§fn upload_code(
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
) -> CodeUploadResult<Balance>
fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> CodeUploadResult<Balance>
Source§fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
Source§fn trace_block(block: Block, tracer_type: TracerType) -> Vec<(u32, Trace)>
fn trace_block(block: Block, tracer_type: TracerType) -> Vec<(u32, Trace)>
Source§fn trace_tx(
block: Block,
tx_index: u32,
tracer_type: TracerType,
) -> Option<Trace>
fn trace_tx( block: Block, tx_index: u32, tracer_type: TracerType, ) -> Option<Trace>
Source§fn trace_call(
tx: GenericTransaction,
trace_type: TracerType,
) -> Result<Trace, EthTransactError>
fn trace_call( tx: GenericTransaction, trace_type: TracerType, ) -> Result<Trace, EthTransactError>
Source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§impl ShardsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl ShardsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
fn shards(account: &AccountId) -> Vec<ShardId>
fn shard_members(shard_id: ShardId) -> Vec<(AccountId, MemberStatus)>
fn shard_threshold(shard_id: ShardId) -> u16
fn shard_status(shard_id: ShardId) -> ShardStatus
fn shard_commitment(shard_id: ShardId) -> Option<Commitment>
Source§impl StakingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl StakingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
Source§fn nominations_quota(balance: Balance) -> u32
fn nominations_quota(balance: Balance) -> u32
Source§fn eras_stakers_page_count(era: EraIndex, account: AccountId) -> Page
fn eras_stakers_page_count(era: EraIndex, account: AccountId) -> Page
account
in a given era.Source§fn pending_rewards(era: EraIndex, account: AccountId) -> bool
fn pending_rewards(era: EraIndex, account: AccountId) -> bool
account
has pages to be claimed for the given era.Source§impl SubmitTransactionApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl SubmitTransactionApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> 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§impl TasksApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl TasksApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
fn shard_tasks(shard_id: ShardId) -> Vec<TaskId>
fn task(task_id: TaskId) -> Option<Task>
fn task_result(task_id: TaskId) -> Option<Result<(), ErrorMsg>>
fn task_shard(task_id: TaskId) -> Option<ShardId>
fn batch_message(batch_id: BatchId) -> Option<GatewayMessage>
fn failed_batches() -> Vec<BatchId>
fn pending_batches() -> Vec<BatchId>
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: <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, ()>, MultiSignature, EthExtraImpl>>, u128, RuntimeCall> for Runtime
impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, 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 TryRuntimeV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl TryRuntimeV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)
fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)
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 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§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv 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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> FmtForward for T
impl<T> FmtForward for T
§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.§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.§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.§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.§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.§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.§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.§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.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> IdTupleConvert<T> for Twhere
T: Config + Config,
<T as Config>::IdentificationTuple: From<(<T as Config>::ValidatorId, <T as Config>::FullIdentification)>,
impl<T> IdTupleConvert<T> for Twhere
T: Config + Config,
<T as Config>::IdentificationTuple: From<(<T as Config>::ValidatorId, <T as Config>::FullIdentification)>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more§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> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§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 more§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 more§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
§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
§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.§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.§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.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§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).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§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 more§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 more§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 more§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 more§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 more§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 more§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.§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.§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.§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.§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.§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.§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.§impl<T> TryConv for T
impl<T> TryConv for T
§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>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.