Struct dock_runtime::Runtime
source · pub struct Runtime;
Implementations§
Trait Implementations§
source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<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, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Index
fn account_nonce(account: AccountId) -> Index
AccountId
.source§impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> 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 BeefyApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl BeefyApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§fn validator_set() -> Option<ValidatorSet<AuthorityId>>
fn validator_set() -> Option<ValidatorSet<AuthorityId>>
source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> 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 Config<()> for Runtime
impl Config<()> for Runtime
§type CuratorDepositMultiplier = BountyCuratorDepositMultiplier
type CuratorDepositMultiplier = BountyCuratorDepositMultiplier
§type CuratorDepositMax = BountyCuratorDepositMax
type CuratorDepositMax = BountyCuratorDepositMax
§type CuratorDepositMin = BountyCuratorDepositMin
type CuratorDepositMin = BountyCuratorDepositMin
§type ChildBountyManager = ()
type ChildBountyManager = ()
§type BountyDepositBase = BountyDepositBase
type BountyDepositBase = BountyDepositBase
§type BountyDepositPayoutDelay = BountyDepositPayoutDelay
type BountyDepositPayoutDelay = BountyDepositPayoutDelay
§type BountyUpdatePeriod = BountyUpdatePeriod
type BountyUpdatePeriod = BountyUpdatePeriod
§type BountyValueMinimum = BountyValueMinimum
type BountyValueMinimum = BountyValueMinimum
§type DataDepositPerByte = DataDepositPerByte
type DataDepositPerByte = DataDepositPerByte
§type MaximumReasonLength = MaximumReasonLength
type MaximumReasonLength = MaximumReasonLength
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type DataDepositPerByte = DataDepositPerByte
type DataDepositPerByte = DataDepositPerByte
§type MaximumReasonLength = MaximumReasonLength
type MaximumReasonLength = MaximumReasonLength
§type TipCountdown = TipCountdown
type TipCountdown = TipCountdown
§type TipFindersFee = TipFindersFee
type TipFindersFee = TipFindersFee
§type TipReportDepositBase = TipReportDepositBase
type TipReportDepositBase = TipReportDepositBase
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type MaxReserves = ConstU32<50>
type MaxReserves = ConstU32<50>
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
§type DustRemoval = ()
type DustRemoval = ()
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
§type ProposalBondMaximum = ()
type ProposalBondMaximum = ()
§type SpendOrigin = NeverEnsureOrigin<u64>
type SpendOrigin = NeverEnsureOrigin<u64>
Success
value is the maximum amount that this origin is allowed to
spend at a time.§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
§type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
§type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type OnSlash = ()
type OnSlash = ()
§type ProposalBond = ProposalBond
type ProposalBond = ProposalBond
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
§type BurnDestination = Pallet<Runtime, ()>
type BurnDestination = Pallet<Runtime, ()>
§type SpendFunds = Pallet<Runtime, ()>
type SpendFunds = Pallet<Runtime, ()>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
Dummy Merkle Mountain Range pallet configuration.
source§const INDEXING_PREFIX: &'static [u8] = b"mmr"
const INDEXING_PREFIX: &'static [u8] = b"mmr"
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
This instance of the membership pallet corresponds to Council.
Adding, removing, swapping, resetting members requires an approval of simple majority of the Council
or Root
origin
§type MaxMembers = CouncilMaxMembers
type MaxMembers = CouncilMaxMembers
§type WeightInfo = ()
type WeightInfo = ()
§type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type MembershipInitialized = Pallet<Runtime, Instance2>
type MembershipInitialized = Pallet<Runtime, Instance2>
MembershipChanged
. If you need to do
something different on initialization, then you can change this accordingly.§type MembershipChanged = Pallet<Runtime, Instance2>
type MembershipChanged = Pallet<Runtime, Instance2>
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type ShortTimeProposal = ShortTimeProposal
type ShortTimeProposal = ShortTimeProposal
§type MotionDuration = CouncilMotionDuration
type MotionDuration = CouncilMotionDuration
§type MaxProposals = CouncilMaxProposals
type MaxProposals = CouncilMaxProposals
§type MaxMembers = CouncilMaxMembers
type MaxMembers = CouncilMaxMembers
§type DefaultVote = MoreThanMajorityThenPrimeDefaultVote
type DefaultVote = MoreThanMajorityThenPrimeDefaultVote
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<Instance2> for Runtime
impl Config<Instance2> for Runtime
§type ShortTimeProposal = ShortTimeProposal
type ShortTimeProposal = ShortTimeProposal
§type MotionDuration = TechnicalMotionDuration
type MotionDuration = TechnicalMotionDuration
§type MaxProposals = TechnicalMaxProposals
type MaxProposals = TechnicalMaxProposals
§type MaxMembers = TechnicalMaxMembers
type MaxMembers = TechnicalMaxMembers
§type DefaultVote = MoreThanMajorityThenPrimeDefaultVote
type DefaultVote = MoreThanMajorityThenPrimeDefaultVote
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type HighRateRewardDecayPct = HighRateRewardDecayPct
type HighRateRewardDecayPct = HighRateRewardDecayPct
High-rate emission rewards decay by this % each year
§type LowRateRewardDecayPct = LowRateRewardDecayPct
type LowRateRewardDecayPct = LowRateRewardDecayPct
Low-rate emission rewards decay by this % each year
§type TreasuryRewardsPct = TreasuryRewardsPct
type TreasuryRewardsPct = TreasuryRewardsPct
Treasury gets this much % out of emission rewards for each era
§type RewardCurve = RewardCurve
type RewardCurve = RewardCurve
NPoS reward curve
§type PostUpgradeHighRateDuration = PostUpgradeHighRateDuration
type PostUpgradeHighRateDuration = PostUpgradeHighRateDuration
source§impl Config for Runtime
impl Config for Runtime
§type MaxPeerInHeartbeats = ConstU32<100>
type MaxPeerInHeartbeats = ConstU32<100>
ReceivedHeartbeats
§type MaxPeerDataEncodingSize = ConstU32<100>
type MaxPeerDataEncodingSize = ConstU32<100>
PeerId
and MultiAddr
that are coming
from the hearbeat§type AuthorityId = Public
type AuthorityId = Public
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
§type ValidatorSet = Pallet<Runtime>
type ValidatorSet = Pallet<Runtime>
§type ReportUnresponsiveness = Pallet<Runtime>
type ReportUnresponsiveness = Pallet<Runtime>
§type UnsignedPriority = ImOnlineUnsignedPriority
type UnsignedPriority = ImOnlineUnsignedPriority
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type FeeCalculator = GasPrice
type FeeCalculator = GasPrice
Minimum gas price is 50
§type GasWeightMapping = GasWeightMap
type GasWeightMapping = GasWeightMap
1:50 mapping of gas to weight
§type CallOrigin = EnsureAddressTruncated
type CallOrigin = EnsureAddressTruncated
§type WithdrawOrigin = EnsureAddressTruncated
type WithdrawOrigin = EnsureAddressTruncated
§type AddressMapping = HashedAddressMapping<BlakeTwo256>
type AddressMapping = HashedAddressMapping<BlakeTwo256>
§type ByteReadWeight = ByteReadWeight
type ByteReadWeight = ByteReadWeight
ByteReadWeight
§type PrecompilesType = FrontierPrecompiles<Runtime>
type PrecompilesType = FrontierPrecompiles<Runtime>
type PrecompilesValue = PrecompilesValue
§type ChainId = DockChainId
type ChainId = DockChainId
§type OnChargeTransaction = EVMCurrencyAdapter<Pallet<Runtime, ()>, DealWithFees>
type OnChargeTransaction = EVMCurrencyAdapter<Pallet<Runtime, ()>, DealWithFees>
pallet_ethereum
where the chain implementing pallet_ethereum
should be able to configure what happens to the fees
Similar to OnChargeTransaction
of pallet_transaction_payment
§type BlockGasLimit = BlockGasLimit
type BlockGasLimit = BlockGasLimit
§type BlockHashMapping = EthereumBlockHashMapping<Runtime>
type BlockHashMapping = EthereumBlockHashMapping<Runtime>
§type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>
type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>
source§impl Config for Runtime
impl Config for Runtime
§type BaseCallFilter = Everything
type BaseCallFilter = Everything
The basic call filter to use in dispatchable.
§type BlockNumber = u32
type BlockNumber = u32
The index type for blocks.
§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.
§type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>
type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>
The lookup mechanism to get account ID from whatever is passed in dispatchers.
§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Block & extrinsics weights: base values and limits.
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Provides information about the pallet setup in the runtime.
Expects the PalletInfo
type that is being generated by construct_runtime!
in the
runtime.
For tests it is okay to use ()
as type, however it will provide “useless” data.
§type AccountData = AccountData<u64>
type AccountData = AccountData<u64>
The data to be stored in an account.
§type OnNewAccount = ()
type OnNewAccount = ()
What to do if a new account is created.
§type OnKilledAccount = ()
type OnKilledAccount = ()
What to do if an account is fully reaped from the system.
§type SystemWeightInfo = SubstrateWeight<Runtime>
type SystemWeightInfo = SubstrateWeight<Runtime>
Weight information for the extrinsics of this pallet.
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
source§impl Config for Runtime
impl Config for Runtime
§type BurnDestination = BurnDestination
type BurnDestination = BurnDestination
source§impl Config for Runtime
impl Config for Runtime
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
Root or >50% Council required to kill identity and slash
§type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
Root or >50% Council required to add new registrar
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
§type FieldDeposit = FieldDeposit
type FieldDeposit = FieldDeposit
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
§type MaxAdditionalFields = MaxAdditionalFields
type MaxAdditionalFields = MaxAdditionalFields
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
Utility pallet is needed to send extrinsics in a batch
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type ExternalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ExternalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
A straight majority of the council can decide what their next motion is.
§type ExternalMajorityOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
type ExternalMajorityOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
A super-majority can have the next scheduled referendum be a straight majority-carries vote.
§type ExternalDefaultOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>>
type ExternalDefaultOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>>
A unanimous council can have the next scheduled referendum be a straight default-carries (NTB) vote.
§type FastTrackOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>
type FastTrackOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>
Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote be tabled immediately and with a shorter voting/enactment period.
§type InstantOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>
type InstantOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>
Root or the Technical committee unanimously agreeing can make a Council proposal a referendum instantly.
§type CancellationOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>
type CancellationOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>
To cancel a proposal which has been passed, 2/3 of the council must agree to it.
§type VoteLockingPeriod = EnactmentPeriod
type VoteLockingPeriod = EnactmentPeriod
type Proposal = Call
type Event = Event
§type EnactmentPeriod = EnactmentPeriod
type EnactmentPeriod = EnactmentPeriod
§type DepositLockStrategy = DepositLockStrategy
type DepositLockStrategy = DepositLockStrategy
immediate_payback_turnout
.§type LaunchPeriod = LaunchPeriod
type LaunchPeriod = LaunchPeriod
§type VotingPeriod = VotingPeriod
type VotingPeriod = VotingPeriod
§type CooloffPeriod = CooloffPeriod
type CooloffPeriod = CooloffPeriod
§type MinimumDeposit = MinimumDeposit
type MinimumDeposit = MinimumDeposit
§type InstantAllowed = InstantAllowed
type InstantAllowed = InstantAllowed
false
, others may want to condition it on things such
as an upgrade having happened recently.§type FastTrackVotingPeriod = FastTrackVotingPeriod
type FastTrackVotingPeriod = FastTrackVotingPeriod
§type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>
type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>
§type PreimageByteDeposit = PreimageByteDeposit
type PreimageByteDeposit = PreimageByteDeposit
§type Slash = Pallet<Runtime, ()>
type Slash = Pallet<Runtime, ()>
§type OperationalPreimageOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>
type OperationalPreimageOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>
§type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type MaxProposals = MaxProposals
type MaxProposals = MaxProposals
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type MaxCandidates = MaxCandidates
type MaxCandidates = MaxCandidates
§type CandidacyDelay = CandidacyDelay
type CandidacyDelay = CandidacyDelay
type Event = Event
§type PalletId = ElectionsPhragmenPalletId
type PalletId = ElectionsPhragmenPalletId
§type ChangeMembers = Pallet<Runtime, Instance1>
type ChangeMembers = Pallet<Runtime, Instance1>
§type InitializeMembers = Pallet<Runtime, Instance1>
type InitializeMembers = Pallet<Runtime, Instance1>
§type CurrencyToVote = U64CurrencyToVote
type CurrencyToVote = U64CurrencyToVote
u64
but is allowed to be sensibly lossy.§type CandidacyBond = CandidacyBond
type CandidacyBond = CandidacyBond
§type VotingBondBase = VotingBondBase
type VotingBondBase = VotingBondBase
§type VotingBondFactor = VotingBondFactor
type VotingBondFactor = VotingBondFactor
§type LoserCandidate = ()
type LoserCandidate = ()
§type KickedMember = ()
type KickedMember = ()
§type DesiredMembers = DesiredMembers
type DesiredMembers = DesiredMembers
§type DesiredRunnersUp = DesiredRunnersUp
type DesiredRunnersUp = DesiredRunnersUp
§type TermDuration = TermDuration
type TermDuration = TermDuration
§type CandidateIdentityProvider = PalletIdentityAsIdentityProvider<Runtime>
type CandidateIdentityProvider = PalletIdentityAsIdentityProvider<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type SlashCancelOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
type SlashCancelOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
A super-majority of the council can cancel the slash.
§type CurrencyBalance = u64
type CurrencyBalance = u64
Currency::Balance
type; we have this item to allow us to constrain it to
From<u64>
.§type MaxNominations = MaxNominations
type MaxNominations = MaxNominations
§type VoterList = UseNominatorsAndValidatorsMap<Runtime>
type VoterList = UseNominatorsAndValidatorsMap<Runtime>
§type MaxUnlockingChunks = ()
type MaxUnlockingChunks = ()
unlocking
chunks a [StakingLedger
] can have. Effectively
determines how many unique eras a staker may be unbonding in.§type OnStakerSlash = ()
type OnStakerSlash = ()
§type BenchmarkingConfig = StakingBenchmarkingConfig
type BenchmarkingConfig = StakingBenchmarkingConfig
§type GenesisElectionProvider = UnboundedExecution<OnChainSeqPhragmen>
type GenesisElectionProvider = UnboundedExecution<OnChainSeqPhragmen>
§type OffendingValidatorsThreshold = OffendingValidatorsThreshold
type OffendingValidatorsThreshold = OffendingValidatorsThreshold
§type CurrencyToVote = U64CurrencyToVote
type CurrencyToVote = U64CurrencyToVote
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
].§type RewardRemainder = Pallet<Runtime, ()>
type RewardRemainder = Pallet<Runtime, ()>
§type Reward = ()
type Reward = ()
OnUnbalanced
should modify the total
issuance.§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
§type BondingDuration = BondingDuration
type BondingDuration = BondingDuration
§type SlashDeferDuration = SlashDeferDuration
type SlashDeferDuration = SlashDeferDuration
§type SessionInterface = Runtime
type SessionInterface = Runtime
§type EraPayout = Pallet<Runtime>
type EraPayout = Pallet<Runtime>
§type NextNewSession = Pallet<Runtime>
type NextNewSession = Pallet<Runtime>
§type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
§type ElectionProvider = Pallet<Runtime>
type ElectionProvider = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
§type UncleGenerations = UncleGenerations
type UncleGenerations = UncleGenerations
UncleGenerations + 1
before now
.§type FilterUncle = ()
type FilterUncle = ()
§type EventHandler = (Pallet<Runtime>, Pallet<Runtime>)
type EventHandler = (Pallet<Runtime>, Pallet<Runtime>)
source§impl Config for Runtime
impl Config for Runtime
§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier>
This would be useless after enabling fiat filter
§type OperationalFeeMultiplier = ConstU8<5>
type OperationalFeeMultiplier = ConstU8<5>
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more§type LengthToFee = ConstantMultiplier<u64, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u64, TransactionByteFee>
§type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, DealWithFees>
type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, DealWithFees>
§type WeightToFee = TxnFee<u64>
type WeightToFee = TxnFee<u64>
source§impl Config for Runtime
impl Config for Runtime
type MaxSymbolBytesLen = ConstU32<10>
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = ConstU32<100>
type MaxAuthorities = ConstU32<100>
source§impl Config for Runtime
impl Config for Runtime
type DefaultBaseFeePerGas = ()
type Event = Event
§type Threshold = BaseFeeThreshold
type Threshold = BaseFeeThreshold
BaseFeePerGas
.type DefaultElasticity = DefaultElasticity
source§impl Config for Runtime
impl Config for Runtime
§type BetterSignedThreshold = ()
type BetterSignedThreshold = ()
§type BetterUnsignedThreshold = BetterUnsignedThreshold
type BetterUnsignedThreshold = BetterUnsignedThreshold
§type MinerConfig = Runtime
type MinerConfig = Runtime
§type SignedMaxRefunds = ConstU32<3>
type SignedMaxRefunds = ConstU32<3>
§type MaxElectingVoters = MaxElectingVoters
type MaxElectingVoters = MaxElectingVoters
§type MaxElectableTargets = MaxElectableTargets
type MaxElectableTargets = MaxElectableTargets
§type GovernanceFallback = UnboundedExecution<OnChainSeqPhragmen>
type GovernanceFallback = UnboundedExecution<OnChainSeqPhragmen>
§type EstimateCallFee = Pallet<Runtime>
type EstimateCallFee = Pallet<Runtime>
§type OffchainRepeat = OffchainRepeat
type OffchainRepeat = OffchainRepeat
§type SignedMaxSubmissions = ConstU32<10>
type SignedMaxSubmissions = ConstU32<10>
§type SignedMaxWeight = MinerMaxWeight
type SignedMaxWeight = MinerMaxWeight
§type SignedRewardBase = SignedRewardBase
type SignedRewardBase = SignedRewardBase
§type SignedDepositBase = SignedDepositBase
type SignedDepositBase = SignedDepositBase
§type SignedDepositByte = SignedDepositByte
type SignedDepositByte = SignedDepositByte
§type SignedDepositWeight = ()
type SignedDepositWeight = ()
§type SlashHandler = ()
type SlashHandler = ()
§type RewardHandler = ()
type RewardHandler = ()
§type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, ()>
type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, ()>
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type Event = Event
§type SignedPhase = SignedPhase
type SignedPhase = SignedPhase
§type UnsignedPhase = UnsignedPhase
type UnsignedPhase = UnsignedPhase
§type MinerTxPriority = MultiPhaseUnsignedPriority
type MinerTxPriority = MultiPhaseUnsignedPriority
§type DataProvider = Pallet<Runtime>
type DataProvider = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type BenchmarkingConfig = BenchmarkConfig
type BenchmarkingConfig = BenchmarkConfig
source§impl Config for Runtime
impl Config for Runtime
§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
§type ValidatorIdOf = StashOf<Runtime>
type ValidatorIdOf = StashOf<Runtime>
§type ShouldEndSession = Pallet<Runtime>
type ShouldEndSession = Pallet<Runtime>
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
ShouldEndSession
], yet, it gives a best effort
estimate. It is helpful to implement [EstimateNextNewSession
].§type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
§type Keys = SessionKeys
type Keys = SessionKeys
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type BlockNumberToBalance = ConvertInto
type BlockNumberToBalance = ConvertInto
§type VestingMilestones = VestingMilestones
type VestingMilestones = VestingMilestones
VestingMilestones
and VestingDuration
must be > 0. The ideal situation would be
to have a compile time assertion in this pallet but since the static assertions pallet does
not work with generics (https://github.com/nvzqz/static-assertions-rs/issues/21), the check
has been moved to the runtime instantiation. If this pallet is used outside this project,
corresponding checks should be done.
Vesting happens in milestones. The total duration is sub-divided into equal duration milestones
and for each milestone, proportional balance is vested.
This might be moved to a storage item if needs to be configurable but is less likely.§type VestingDuration = VestingDuration
type VestingDuration = VestingDuration
type MaxVestingBonuses = MaxVestingBonuses
type MaxSwapBonuses = MaxSwapBonuses
source§impl Config for Runtime
impl Config for Runtime
§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
§type PreimageProvider = ()
type PreimageProvider = ()
§type NoPreimagePostponement = NoPreimagePostponement
type NoPreimagePostponement = NoPreimagePostponement
Some
then the number of blocks to postpone execution for when the item is delayed.§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type MaximumWeight = MaximumBlockWeight
type MaximumWeight = MaximumBlockWeight
schedule::HARD_DEADLINE
.§type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxScheduledPerBlock = MaxScheduledPerBlock
type MaxScheduledPerBlock = MaxScheduledPerBlock
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
§type OnOffenceHandler = Pallet<Runtime>
type OnOffenceHandler = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
()
if not
needed.§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type DisabledValidators = ()
type DisabledValidators = ()
§type MaxAuthorities = ConstU32<100>
type MaxAuthorities = ConstU32<100>
§type EpochDuration = EpochDuration
type EpochDuration = EpochDuration
§type ExpectedBlockTime = ExpectedBlockTime
type ExpectedBlockTime = ExpectedBlockTime
c
(where 1 - c
represents
the probability of a slot being empty).§type EpochChangeTrigger = ExternalTrigger
type EpochChangeTrigger = ExternalTrigger
§type KeyOwnerProofSystem = Pallet<Runtime>
type KeyOwnerProofSystem = Pallet<Runtime>
§type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
§type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
§type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>
type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition.type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64>
type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64>
§type FullIdentificationOf = ExposureOf<Runtime>
type FullIdentificationOf = ExposureOf<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = ConstU32<100>
type MaxAuthorities = ConstU32<100>
§type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
§type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
§type KeyOwnerProofSystem = Pallet<Runtime>
type KeyOwnerProofSystem = Pallet<Runtime>
§type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity, GrandpaEquivocationOffence<<Runtime as Config>::KeyOwnerIdentification>>
type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity, GrandpaEquivocationOffence<<Runtime as Config>::KeyOwnerIdentification>>
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition.§type WeightInfo = ()
type WeightInfo = ()
source§impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
fn convert_transaction( transaction: EthereumTransaction ) -> <Block as BlockT>::Extrinsic
source§impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> CoreModsApi<__SR_API_BLOCK__, Runtime> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Did: UnwindSafe + RefUnwindSafe,
Option<AggregatedDidDetailsRequestParams>: UnwindSafe + RefUnwindSafe,
Option<AggregatedDidDetailsResponse<Runtime>>: UnwindSafe + RefUnwindSafe,
Vec<Did>: UnwindSafe + RefUnwindSafe,
Vec<Option<AggregatedDidDetailsResponse<Runtime>>>: UnwindSafe + RefUnwindSafe,
SignaturePublicKeyStorageKey: UnwindSafe + RefUnwindSafe,
Option<BBSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
SignatureParamsOwner: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, BBSParameters<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, BBSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
Option<BBSPlusPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, BBSPlusParameters<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, BBSPlusPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
Option<PSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, PSParameters<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, PSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
AccumPublicKeyStorageKey: UnwindSafe + RefUnwindSafe,
Option<AccumPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
AccumulatorId: UnwindSafe + RefUnwindSafe,
Option<(Vec<u8>, Option<AccumPublicKeyWithParams<Runtime>>)>: UnwindSafe + RefUnwindSafe,
TrustRegistrySchemaId: UnwindSafe + RefUnwindSafe,
BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe,
TrustRegistryId: UnwindSafe + RefUnwindSafe,
Option<AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe,
Option<AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe,
Option<TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe,
QueryTrustRegistriesBy: UnwindSafe + RefUnwindSafe,
BTreeMap<TrustRegistryId, TrustRegistryInfo<Runtime>>: UnwindSafe + RefUnwindSafe,
QueryTrustRegistryBy: UnwindSafe + RefUnwindSafe,
BTreeSet<TrustRegistryId>: UnwindSafe + RefUnwindSafe,
BTreeSet<TrustRegistrySchemaId>: UnwindSafe + RefUnwindSafe,
Option<BBDT16PublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, BBDT16Parameters<Runtime>>: UnwindSafe + RefUnwindSafe,
BTreeMap<IncId, BBDT16PublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> CoreModsApi<__SR_API_BLOCK__, Runtime> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>, Did: UnwindSafe + RefUnwindSafe, Option<AggregatedDidDetailsRequestParams>: UnwindSafe + RefUnwindSafe, Option<AggregatedDidDetailsResponse<Runtime>>: UnwindSafe + RefUnwindSafe, Vec<Did>: UnwindSafe + RefUnwindSafe, Vec<Option<AggregatedDidDetailsResponse<Runtime>>>: UnwindSafe + RefUnwindSafe, SignaturePublicKeyStorageKey: UnwindSafe + RefUnwindSafe, Option<BBSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, SignatureParamsOwner: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSParameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, Option<BBSPlusPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSPlusParameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSPlusPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, Option<PSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, PSParameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, PSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, AccumPublicKeyStorageKey: UnwindSafe + RefUnwindSafe, Option<AccumPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, AccumulatorId: UnwindSafe + RefUnwindSafe, Option<(Vec<u8>, Option<AccumPublicKeyWithParams<Runtime>>)>: UnwindSafe + RefUnwindSafe, TrustRegistrySchemaId: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe, TrustRegistryId: UnwindSafe + RefUnwindSafe, Option<AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe, Option<AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe, Option<TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe, QueryTrustRegistriesBy: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, TrustRegistryInfo<Runtime>>: UnwindSafe + RefUnwindSafe, QueryTrustRegistryBy: UnwindSafe + RefUnwindSafe, BTreeSet<TrustRegistryId>: UnwindSafe + RefUnwindSafe, BTreeSet<TrustRegistrySchemaId>: UnwindSafe + RefUnwindSafe, Option<BBDT16PublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBDT16Parameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBDT16PublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn did_details( &self, __runtime_api_at_param__: &BlockId<Block>, id: Did, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Option<AggregatedDidDetailsResponse<T>>, ApiError>
fn did_details_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: Did, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Option<AggregatedDidDetailsResponse<T>>, ApiError>
fn did_list_details( &self, __runtime_api_at_param__: &BlockId<Block>, dids: Vec<Did, Global>, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>, Global>, ApiError>
fn did_list_details_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, dids: Vec<Did, Global>, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>, Global>, ApiError>
fn bbs_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(BBSPublicKey<T>, Option<BBSParameters<T>>)>, ApiError>
fn bbs_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(BBSPublicKey<T>, Option<BBSParameters<T>>)>, ApiError>
fn bbs_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSParameters<T>, Global>, ApiError>
fn bbs_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSParameters<T>, Global>, ApiError>
fn bbs_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (BBSPublicKey<T>, Option<BBSParameters<T>>), Global>, ApiError>
fn bbs_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (BBSPublicKey<T>, Option<BBSParameters<T>>), Global>, ApiError>
fn bbs_plus_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>)>, ApiError>
fn bbs_plus_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>)>, ApiError>
fn bbs_plus_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSPlusParameters<T>, Global>, ApiError>
fn bbs_plus_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSPlusParameters<T>, Global>, ApiError>
fn bbs_plus_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>), Global>, ApiError>
fn bbs_plus_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>), Global>, ApiError>
fn ps_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(PSPublicKey<T>, Option<PSParameters<T>>)>, ApiError>
fn ps_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(PSPublicKey<T>, Option<PSParameters<T>>)>, ApiError>
fn ps_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, PSParameters<T>, Global>, ApiError>
fn ps_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, PSParameters<T>, Global>, ApiError>
fn ps_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (PSPublicKey<T>, Option<PSParameters<T>>), Global>, ApiError>
fn ps_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (PSPublicKey<T>, Option<PSParameters<T>>), Global>, ApiError>
fn accumulator_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: AccumPublicKeyStorageKey ) -> Result<Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>, ApiError>
fn accumulator_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: AccumPublicKeyStorageKey ) -> Result<Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>, ApiError>
fn accumulator_with_public_key_and_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: AccumulatorId ) -> Result<Option<(Vec<u8, Global>, Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>)>, ApiError>
fn accumulator_with_public_key_and_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: AccumulatorId ) -> Result<Option<(Vec<u8, Global>, Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>)>, ApiError>
fn schema_metadata( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>
fn schema_metadata_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>
fn schema_issuers( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>
fn schema_issuers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>
fn schema_verifiers( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>
fn schema_verifiers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>
fn schema_metadata_in_registry( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<AggregatedTrustRegistrySchemaMetadata<T>>, ApiError>
fn schema_metadata_in_registry_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<AggregatedTrustRegistrySchemaMetadata<T>>, ApiError>
fn schema_issuers_in_registry( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<Vec<(Issuer, AggregatedIssuerInfo<T>), Global>>, ApiError>
fn schema_issuers_in_registry_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<Vec<(Issuer, AggregatedIssuerInfo<T>), Global>>, ApiError>
fn schema_verifiers_in_registry( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<TrustRegistrySchemaVerifiers<T>>, ApiError>
fn schema_verifiers_in_registry_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<TrustRegistrySchemaVerifiers<T>>, ApiError>
fn all_registry_schema_metadata( &self, __runtime_api_at_param__: &BlockId<Block>, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>
fn all_registry_schema_metadata_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>
fn all_registry_schema_issuers( &self, __runtime_api_at_param__: &BlockId<Block>, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>
fn all_registry_schema_issuers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>
fn all_registry_schema_verifiers( &self, __runtime_api_at_param__: &BlockId<Block>, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>
fn all_registry_schema_verifiers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>
fn registries_info_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistriesBy ) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>, Global>, ApiError>
fn registries_info_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistriesBy ) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>, Global>, ApiError>
fn registry_schemas_metadata_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>
fn registry_schemas_metadata_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>
fn registries_ids_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistriesBy ) -> Result<BTreeSet<TrustRegistryId, Global>, ApiError>
fn registries_ids_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistriesBy ) -> Result<BTreeSet<TrustRegistryId, Global>, ApiError>
fn registry_schemas_ids_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeSet<TrustRegistrySchemaId, Global>, ApiError>
fn registry_schemas_ids_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeSet<TrustRegistrySchemaId, Global>, ApiError>
fn bbdt16_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>)>, ApiError>
fn bbdt16_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>)>, ApiError>
fn bbdt16_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBDT16Parameters<T>, Global>, ApiError>
fn bbdt16_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBDT16Parameters<T>, Global>, ApiError>
fn bbdt16_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>), Global>, ApiError>
fn bbdt16_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>), Global>, ApiError>
source§impl CoreModsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, Runtime> for Runtime
impl CoreModsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, Runtime> for Runtime
fn did_details( did: Did, params: Option<AggregatedDidDetailsRequestParams> ) -> Option<AggregatedDidDetailsResponse<Runtime>>
fn did_list_details( dids: Vec<Did>, params: Option<AggregatedDidDetailsRequestParams> ) -> Vec<Option<AggregatedDidDetailsResponse<Runtime>>> ⓘ
fn bbs_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<BBSPublicKeyWithParams<Runtime>>
fn bbs_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, BBSParameters<Runtime>>
fn bbs_public_keys_by_did( did: Did ) -> BTreeMap<IncId, BBSPublicKeyWithParams<Runtime>>
fn bbs_plus_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<BBSPlusPublicKeyWithParams<Runtime>>
fn bbs_plus_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, BBSPlusParameters<Runtime>>
fn bbs_plus_public_keys_by_did( did: Did ) -> BTreeMap<IncId, BBSPlusPublicKeyWithParams<Runtime>>
fn ps_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<PSPublicKeyWithParams<Runtime>>
fn ps_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, PSParameters<Runtime>>
fn ps_public_keys_by_did( did: Did ) -> BTreeMap<IncId, PSPublicKeyWithParams<Runtime>>
fn accumulator_public_key_with_params( id: AccumPublicKeyStorageKey ) -> Option<AccumPublicKeyWithParams<Runtime>>
fn accumulator_with_public_key_and_params( id: AccumulatorId ) -> Option<(Vec<u8>, Option<AccumPublicKeyWithParams<Runtime>>)>
fn schema_metadata( id: TrustRegistrySchemaId ) -> BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<Runtime>>
fn schema_issuers( id: TrustRegistrySchemaId ) -> BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaIssuers<Runtime>>
fn schema_verifiers( id: TrustRegistrySchemaId ) -> BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<Runtime>>
fn schema_metadata_in_registry( id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Option<AggregatedTrustRegistrySchemaMetadata<Runtime>>
fn schema_issuers_in_registry( id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Option<AggregatedTrustRegistrySchemaIssuers<Runtime>>
fn schema_verifiers_in_registry( id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Option<TrustRegistrySchemaVerifiers<Runtime>>
fn all_registry_schema_metadata( registry_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<Runtime>>
fn all_registry_schema_issuers( registry_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaIssuers<Runtime>>
fn all_registry_schema_verifiers( registry_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<Runtime>>
fn registries_info_by( by: QueryTrustRegistriesBy ) -> BTreeMap<TrustRegistryId, TrustRegistryInfo<Runtime>>
fn registry_schemas_metadata_by( by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<Runtime>>
fn registries_ids_by(by: QueryTrustRegistriesBy) -> BTreeSet<TrustRegistryId>
fn registry_schemas_ids_by( by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> BTreeSet<TrustRegistrySchemaId>
fn bbdt16_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<BBDT16PublicKeyWithParams<Runtime>>
fn bbdt16_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, BBDT16Parameters<Runtime>>
fn bbdt16_public_keys_by_did( did: Did ) -> BTreeMap<IncId, BBDT16PublicKeyWithParams<Runtime>>
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
Call: From<LocalCall>,
impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere Call: From<LocalCall>,
source§fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: Call,
public: <Signature as Verify>::Signer,
account: AccountId,
nonce: Index
) -> Option<(Call, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: Call, public: <Signature as Verify>::Signer, account: AccountId, nonce: Index ) -> Option<(Call, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
source§impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§impl EthereumRuntimeRPCApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl EthereumRuntimeRPCApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§fn account_basic(address: H160) -> EVMAccount
fn account_basic(address: H160) -> EVMAccount
source§fn account_code_at(address: H160) -> Vec<u8> ⓘ
fn account_code_at(address: H160) -> Vec<u8> ⓘ
source§fn storage_at(address: H160, index: U256) -> H256
fn storage_at(address: H160, index: U256) -> H256
fn call( from: H160, to: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CallInfo, DispatchError>
fn create( from: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CreateInfo, DispatchError>
source§fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>
fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>
source§fn current_block() -> Option<Block>
fn current_block() -> Option<Block>
source§fn current_receipts() -> Option<Vec<Receipt>>
fn current_receipts() -> Option<Vec<Receipt>>
fn current_all( ) -> (Option<Block>, Option<Vec<Receipt>>, Option<Vec<TransactionStatus>>)
source§fn extrinsic_filter(
xts: Vec<<Block as BlockT>::Extrinsic>
) -> Vec<EthereumTransaction> ⓘ
fn extrinsic_filter( xts: Vec<<Block as BlockT>::Extrinsic> ) -> Vec<EthereumTransaction> ⓘ
Vec<OpaqueExtrinsic>
and filters all the ethereum transactions.source§fn elasticity() -> Option<Permill>
fn elasticity() -> Option<Permill>
source§impl GetNodeBlockType for Runtime
impl GetNodeBlockType for Runtime
§type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>
type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>
NodeBlock
type.source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>
type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>
RuntimeBlock
type.source§impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> 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 Limits for Runtime
impl Limits for Runtime
§type MaxOffchainParamsLabelSize = ConstU32<128>
type MaxOffchainParamsLabelSize = ConstU32<128>
128 bytes, for large labels, hash of a label can be used
§type MaxOffchainParamsBytesSize = ConstU32<65536>
type MaxOffchainParamsBytesSize = ConstU32<65536>
16KB
§type MaxAccumulatorLabelSize = ConstU32<128>
type MaxAccumulatorLabelSize = ConstU32<128>
128 bytes, for large labels, hash of a label can be used
§type MaxBlobSize = ConstU32<8192>
type MaxBlobSize = ConstU32<8192>
8KB
§type MaxIriSize = ConstU32<1024>
type MaxIriSize = ConstU32<1024>
1KB
§type MaxPolicyControllers = ConstU32<15>
type MaxPolicyControllers = ConstU32<15>
DID
s per a single Policy
.§type MaxDidDocRefSize = ConstU32<1024>
type MaxDidDocRefSize = ConstU32<1024>
§type MaxDidServiceEndpointIdSize = ConstU32<1024>
type MaxDidServiceEndpointIdSize = ConstU32<1024>
id
field§type MaxDidServiceEndpointOriginSize = ConstU32<1025>
type MaxDidServiceEndpointOriginSize = ConstU32<1025>
origin
§type MaxDidServiceEndpointOrigins = ConstU32<64>
type MaxDidServiceEndpointOrigins = ConstU32<64>
origin
§type MinStatusListCredentialSize = ConstU32<500>
type MinStatusListCredentialSize = ConstU32<500>
StatusListCredential
s with size less than this won’t be accepted.§type MaxStatusListCredentialSize = ConstU32<40000>
type MaxStatusListCredentialSize = ConstU32<40000>
StatusListCredential
s with size larger than this won’t be accepted.§type MaxPSPublicKeySize = ConstU32<65536>
type MaxPSPublicKeySize = ConstU32<65536>
PS
public key. This depends on the chosen elliptic curve and the number
of messages that can be signed.§type MaxBBSPublicKeySize = ConstU32<256>
type MaxBBSPublicKeySize = ConstU32<256>
BBS
(fixed size) public key. This depends only on the chosen elliptic curve.§type MaxBBSPlusPublicKeySize = ConstU32<256>
type MaxBBSPlusPublicKeySize = ConstU32<256>
BBS+
(fixed size) public key. This depends only on the chosen elliptic curve.§type MaxBBDT16PublicKeySize = ConstU32<256>
type MaxBBDT16PublicKeySize = ConstU32<256>
BBDT16
(fixed size) public key. This depends only on the chosen elliptic curve.§type MaxAccumulatorParamsSize = ConstU32<512>
type MaxAccumulatorParamsSize = ConstU32<512>
§type MaxAccumulatorPublicKeySize = ConstU32<256>
type MaxAccumulatorPublicKeySize = ConstU32<256>
§type MaxAccumulatorAccumulatedSize = ConstU32<128>
type MaxAccumulatorAccumulatedSize = ConstU32<128>
§type MaxMasterMembers = ConstU32<25>
type MaxMasterMembers = ConstU32<25>
Membership
.type MaxIssuerPriceCurrencySymbolSize = ConstU32<10>
§type MaxIssuersPerSchema = ConstU32<100>
type MaxIssuersPerSchema = ConstU32<100>
§type MaxVerifiersPerSchema = ConstU32<2000>
type MaxVerifiersPerSchema = ConstU32<2000>
§type MaxIssuerPriceCurrencies = ConstU32<25>
type MaxIssuerPriceCurrencies = ConstU32<25>
§type MaxTrustRegistryNameSize = ConstU32<50>
type MaxTrustRegistryNameSize = ConstU32<50>
§type MaxConvenerRegistries = ConstU32<1000>
type MaxConvenerRegistries = ConstU32<1000>
§type MaxDelegatedIssuers = ConstU32<10>
type MaxDelegatedIssuers = ConstU32<10>
§type MaxRegistriesPerIssuer = ConstU32<250>
type MaxRegistriesPerIssuer = ConstU32<250>
§type MaxRegistriesPerVerifier = ConstU32<250>
type MaxRegistriesPerVerifier = ConstU32<250>
§type MaxSchemasPerRegistry = ConstU32<1000>
type MaxSchemasPerRegistry = ConstU32<1000>
§type MaxSchemasPerIssuer = ConstU32<1000>
type MaxSchemasPerIssuer = ConstU32<1000>
§type MaxSchemasPerVerifier = ConstU32<1000>
type MaxSchemasPerVerifier = ConstU32<1000>
§type MaxTrustRegistryGovFrameworkSize = ConstU32<1000>
type MaxTrustRegistryGovFrameworkSize = ConstU32<1000>
§type MaxParticipantsPerRegistry = ConstU32<10000>
type MaxParticipantsPerRegistry = ConstU32<10000>
§type MaxRegistryParticipantOrgNameSize = ConstU32<100>
type MaxRegistryParticipantOrgNameSize = ConstU32<100>
TrustRegistry
participant’s org name.§type MaxRegistryParticipantLogoSize = ConstU32<250>
type MaxRegistryParticipantLogoSize = ConstU32<250>
TrustRegistry
participant’s logo.§type MaxRegistryParticipantDescriptionSize = ConstU32<500>
type MaxRegistryParticipantDescriptionSize = ConstU32<500>
TrustRegistry
participant’s description.source§impl MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§impl MinerConfig for Runtime
impl MinerConfig for Runtime
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
§type MaxLength = OffchainSolutionLengthLimit
type MaxLength = OffchainSolutionLengthLimit
§type MaxWeight = OffchainSolutionWeightLimit
type MaxWeight = OffchainSolutionWeightLimit
§type Solution = NposSolution16
type Solution = NposSolution16
§type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
source§impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> MmrApi<__SR_API_BLOCK__, <Runtime as Config<()>>::Hash> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
LeafIndex: UnwindSafe + RefUnwindSafe,
Result<(EncodableOpaqueLeaf, Proof<<Runtime as Config>::Hash>), Error>: UnwindSafe + RefUnwindSafe,
EncodableOpaqueLeaf: UnwindSafe + RefUnwindSafe,
Proof<<Runtime as Config>::Hash>: UnwindSafe + RefUnwindSafe,
Result<(), Error>: UnwindSafe + RefUnwindSafe,
<Runtime as Config>::Hash: UnwindSafe + RefUnwindSafe,
Result<<Runtime as Config>::Hash, Error>: UnwindSafe + RefUnwindSafe,
Vec<LeafIndex>: UnwindSafe + RefUnwindSafe,
Result<(Vec<EncodableOpaqueLeaf>, BatchProof<<Runtime as Config>::Hash>), Error>: UnwindSafe + RefUnwindSafe,
Vec<EncodableOpaqueLeaf>: UnwindSafe + RefUnwindSafe,
BatchProof<<Runtime as Config>::Hash>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> MmrApi<__SR_API_BLOCK__, <Runtime as Config<()>>::Hash> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>, LeafIndex: UnwindSafe + RefUnwindSafe, Result<(EncodableOpaqueLeaf, Proof<<Runtime as Config>::Hash>), Error>: UnwindSafe + RefUnwindSafe, EncodableOpaqueLeaf: UnwindSafe + RefUnwindSafe, Proof<<Runtime as Config>::Hash>: UnwindSafe + RefUnwindSafe, Result<(), Error>: UnwindSafe + RefUnwindSafe, <Runtime as Config>::Hash: UnwindSafe + RefUnwindSafe, Result<<Runtime as Config>::Hash, Error>: UnwindSafe + RefUnwindSafe, Vec<LeafIndex>: UnwindSafe + RefUnwindSafe, Result<(Vec<EncodableOpaqueLeaf>, BatchProof<<Runtime as Config>::Hash>), Error>: UnwindSafe + RefUnwindSafe, Vec<EncodableOpaqueLeaf>: UnwindSafe + RefUnwindSafe, BatchProof<<Runtime as Config>::Hash>: UnwindSafe + RefUnwindSafe, __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
§fn generate_proof(
&self,
__runtime_api_at_param__: &BlockId<Block>,
leaf_index: u64
) -> Result<Result<(EncodableOpaqueLeaf, Proof<Hash>), Error>, ApiError>
fn generate_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaf_index: u64 ) -> Result<Result<(EncodableOpaqueLeaf, Proof<Hash>), Error>, ApiError>
§fn generate_proof_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
leaf_index: u64
) -> Result<Result<(EncodableOpaqueLeaf, Proof<Hash>), Error>, ApiError>
fn generate_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaf_index: u64 ) -> Result<Result<(EncodableOpaqueLeaf, Proof<Hash>), Error>, ApiError>
§fn verify_proof(
&self,
__runtime_api_at_param__: &BlockId<Block>,
leaf: EncodableOpaqueLeaf,
proof: Proof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>
§fn verify_proof_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
leaf: EncodableOpaqueLeaf,
proof: Proof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>
§fn verify_proof_stateless(
&self,
__runtime_api_at_param__: &BlockId<Block>,
root: Hash,
leaf: EncodableOpaqueLeaf,
proof: Proof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_proof_stateless( &self, __runtime_api_at_param__: &BlockId<Block>, root: Hash, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>
§fn verify_proof_stateless_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
root: Hash,
leaf: EncodableOpaqueLeaf,
proof: Proof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_proof_stateless_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, root: Hash, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>
§fn mmr_root(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Result<Hash, Error>, ApiError>
fn mmr_root( &self, __runtime_api_at_param__: &BlockId<Block> ) -> Result<Result<Hash, Error>, ApiError>
§fn mmr_root_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Result<Hash, Error>, ApiError>
fn mmr_root_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext ) -> Result<Result<Hash, Error>, ApiError>
§fn generate_batch_proof(
&self,
__runtime_api_at_param__: &BlockId<Block>,
leaf_indices: Vec<u64, Global>
) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, BatchProof<Hash>), Error>, ApiError>
fn generate_batch_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaf_indices: Vec<u64, Global> ) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, BatchProof<Hash>), Error>, ApiError>
§fn generate_batch_proof_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
leaf_indices: Vec<u64, Global>
) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, BatchProof<Hash>), Error>, ApiError>
fn generate_batch_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaf_indices: Vec<u64, Global> ) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, BatchProof<Hash>), Error>, ApiError>
§fn verify_batch_proof(
&self,
__runtime_api_at_param__: &BlockId<Block>,
leaves: Vec<EncodableOpaqueLeaf, Global>,
proof: BatchProof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_batch_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>
§fn verify_batch_proof_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
leaves: Vec<EncodableOpaqueLeaf, Global>,
proof: BatchProof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_batch_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>
§fn verify_batch_proof_stateless(
&self,
__runtime_api_at_param__: &BlockId<Block>,
root: Hash,
leaves: Vec<EncodableOpaqueLeaf, Global>,
proof: BatchProof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_batch_proof_stateless( &self, __runtime_api_at_param__: &BlockId<Block>, root: Hash, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>
§fn verify_batch_proof_stateless_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
root: Hash,
leaves: Vec<EncodableOpaqueLeaf, Global>,
proof: BatchProof<Hash>
) -> Result<Result<(), Error>, ApiError>
fn verify_batch_proof_stateless_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, root: Hash, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>
source§impl MmrApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <Runtime as Config<()>>::Hash> for Runtime
impl MmrApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <Runtime as Config<()>>::Hash> for Runtime
source§fn generate_proof(
_leaf_index: LeafIndex
) -> Result<(EncodableOpaqueLeaf, Proof<<Runtime as Config>::Hash>), Error>
fn generate_proof( _leaf_index: LeafIndex ) -> Result<(EncodableOpaqueLeaf, Proof<<Runtime as Config>::Hash>), Error>
source§fn verify_proof(
_leaf: EncodableOpaqueLeaf,
_proof: Proof<<Runtime as Config>::Hash>
) -> Result<(), Error>
fn verify_proof( _leaf: EncodableOpaqueLeaf, _proof: Proof<<Runtime as Config>::Hash> ) -> Result<(), Error>
source§fn verify_proof_stateless(
_root: <Runtime as Config>::Hash,
_leaf: EncodableOpaqueLeaf,
_proof: Proof<<Runtime as Config>::Hash>
) -> Result<(), Error>
fn verify_proof_stateless( _root: <Runtime as Config>::Hash, _leaf: EncodableOpaqueLeaf, _proof: Proof<<Runtime as Config>::Hash> ) -> Result<(), Error>
source§fn generate_batch_proof(
_leaf_indices: Vec<LeafIndex>
) -> Result<(Vec<EncodableOpaqueLeaf>, BatchProof<<Runtime as Config>::Hash>), Error>
fn generate_batch_proof( _leaf_indices: Vec<LeafIndex> ) -> Result<(Vec<EncodableOpaqueLeaf>, BatchProof<<Runtime as Config>::Hash>), Error>
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§fn offchain_worker(header: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
source§impl PalletStorageMetadataProvider for Runtime
impl PalletStorageMetadataProvider for Runtime
source§fn pallet_storage_metadata(pallet: &str) -> Option<PalletStorageMetadata>
fn pallet_storage_metadata(pallet: &str) -> Option<PalletStorageMetadata>
§fn pallet_storage_entry_metadata(
pallet: &str,
entry: &str
) -> Option<StorageEntryMetadata<MetaForm>>
fn pallet_storage_entry_metadata( pallet: &str, entry: &str ) -> Option<StorageEntryMetadata<MetaForm>>
source§impl PartialEq<Runtime> for Runtime
impl PartialEq<Runtime> for Runtime
source§impl PoAApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64> for Runtime
impl PoAApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64> for Runtime
source§fn get_treasury_account() -> AccountId
fn get_treasury_account() -> AccountId
source§fn get_treasury_balance() -> Balance
fn get_treasury_balance() -> Balance
source§impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> PriceFeedApi<__SR_API_BLOCK__, <Runtime as Config>::BlockNumber> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
CurrencySymbolPair<String, String>: UnwindSafe + RefUnwindSafe,
Option<PriceRecord<<Runtime as Config>::BlockNumber>>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> PriceFeedApi<__SR_API_BLOCK__, <Runtime as Config>::BlockNumber> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>, CurrencySymbolPair<String, String>: UnwindSafe + RefUnwindSafe, Option<PriceRecord<<Runtime as Config>::BlockNumber>>: UnwindSafe + RefUnwindSafe, __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
source§impl PriceFeedApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <Runtime as Config>::BlockNumber> for Runtime
impl PriceFeedApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <Runtime as Config>::BlockNumber> for Runtime
source§impl<C> SendTransactionTypes<C> for Runtimewhere
Call: From<C>,
impl<C> SendTransactionTypes<C> for Runtimewhere Call: From<C>,
§type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>
type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>
§type OverarchingCall = Call
type OverarchingCall = Call
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§impl StakingRewardsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, u64> for Runtime
impl StakingRewardsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, u64> for Runtime
source§fn yearly_emission(total_staked: Balance, total_issuance: Balance) -> Balance
fn yearly_emission(total_staked: Balance, total_issuance: Balance) -> Balance
source§fn max_yearly_emission() -> Balance
fn max_yearly_emission() -> Balance
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime
source§impl TransactionPaymentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, u64> for Runtime
impl TransactionPaymentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, u64> for Runtime
source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
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 Copy for Runtime
impl Eq for Runtime
impl StructuralEq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
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> CanUpdate<()> for T
impl<T> CanUpdate<()> for T
source§fn can_remove(&self, _entity: &()) -> bool
fn can_remove(&self, _entity: &()) -> bool
§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>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§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.§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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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>
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§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 moresource§impl<T> Types for Twhere
T: Config,
impl<T> Types for Twhere T: Config,
type BlockNumber = <T as Config>::BlockNumber
type AccountId = <T as Config>::AccountId
§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 Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.