Struct fs_node_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, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Index
fn account_nonce(account: AccountId) -> Index
AccountId
.source§impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic
) -> ApplyExtrinsicResult
fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic
) -> ApplyExtrinsicResult
source§fn 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 MaxLocks = ConstU32<50>
type MaxLocks = ConstU32<50>
§type MaxReserves = ()
type MaxReserves = ()
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
§type DustRemoval = ()
type DustRemoval = ()
§type ExistentialDeposit = ConstU128<EXISTENTIAL_DEPOSIT>
type ExistentialDeposit = ConstU128<EXISTENTIAL_DEPOSIT>
§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 CollectionId = u32
type CollectionId = u32
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type CollectionDeposit = CollectionDeposit
type CollectionDeposit = CollectionDeposit
§type ItemDeposit = ItemDeposit
type ItemDeposit = ItemDeposit
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
§type AttributeDepositBase = MetadataDepositBase
type AttributeDepositBase = MetadataDepositBase
§type DepositPerByte = DepositPerByte
type DepositPerByte = DepositPerByte
§type StringLimit = ValueLimit
type StringLimit = ValueLimit
§type ValueLimit = ValueLimit
type ValueLimit = ValueLimit
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§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 ProposalBondMaximum = ()
type ProposalBondMaximum = ()
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
§type BurnDestination = ()
type BurnDestination = ()
§type SpendFunds = ()
type SpendFunds = ()
§type SpendOrigin = NeverEnsureOrigin<u128>
type SpendOrigin = NeverEnsureOrigin<u128>
Success
value is the maximum amount that this origin is allowed to
spend at a time. Read more§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type AssetDeposit = AssetDeposit
type AssetDeposit = AssetDeposit
§type AssetAccountDeposit = ConstU128<DOLLARS>
type AssetAccountDeposit = ConstU128<DOLLARS>
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
§type MetadataDepositPerByte = MetadataDepositPerByte
type MetadataDepositPerByte = MetadataDepositPerByte
§type ApprovalDeposit = ApprovalDeposit
type ApprovalDeposit = ApprovalDeposit
§type StringLimit = StringLimit
type StringLimit = StringLimit
§type Freezer = ()
type Freezer = ()
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type MotionDuration = CouncilMotionDuration
type MotionDuration = CouncilMotionDuration
§type MaxProposals = CouncilMaxProposals
type MaxProposals = CouncilMaxProposals
§type MaxMembers = CouncilMaxMembers
type MaxMembers = CouncilMaxMembers
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type BaseCallFilter = DontAllowCollectiveAndDemocracy
type BaseCallFilter = DontAllowCollectiveAndDemocracy
The basic call filter to use in dispatchable.
§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Block & extrinsics weights: base values and limits.
§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
The maximum length of a block (in bytes).
§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 BlockNumber = u32
type BlockNumber = u32
The index type for blocks.
§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of database operations that the runtime can invoke.
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Converts a module to the index of the module in construct_runtime!
.
This type is being generated by construct_runtime!
.
§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 AccountData = AccountData<u128>
type AccountData = AccountData<u128>
The data to be stored in an account.
§type SystemWeightInfo = ()
type SystemWeightInfo = ()
Weight information for the extrinsics of this pallet.
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
This is used as an identifier of the chain. 42 is the generic substrate prefix.
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
source§impl Config for Runtime
impl Config for Runtime
Configure the pallet-housing_fund in pallets/housing_fund.
§type Event = Event
type Event = Event
type LocalCurrency = Pallet<Runtime, ()>
type MinContribution = MinContribution
type FundThreshold = FundThreshold
type MaxFundContribution = MaxFundContribution
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type PalletId = HousingFundPalletId
type MaxInvestorPerHouse = MaxInvestorPerHouse
source§impl Config for Runtime
impl Config for Runtime
type Event = Event
type WeightInfo = SubstrateWeight<Runtime>
type NftCollectionId = u32
type NftItemId = u32
type ProtocolOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type Permissions = NftPermissions
§type ReserveCollectionIdUpTo = ReserveCollectionIdUpTo
type ReserveCollectionIdUpTo = ReserveCollectionIdUpTo
source§impl Config for Runtime
impl Config for Runtime
§type Event = Event
type Event = Event
type Call = Call
type WeightInfo = ()
type Delay = Delay
type CheckDelay = CheckDelay
type InvestorVoteAmount = InvestorVoteAmount
type LocalCurrency = Pallet<Runtime, ()>
type HouseCouncilOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
type CheckPeriod = CheckPeriod
type MinimumDepositVote = MinimumDeposit
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxSize = PreimageMaxSize
type MaxSize = PreimageMaxSize
§type BaseDeposit = PreimageBaseDeposit
type BaseDeposit = PreimageBaseDeposit
§type ByteDeposit = PreimageByteDeposit
type ByteDeposit = PreimageByteDeposit
source§impl Config for Runtime
impl Config for Runtime
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
schedule::HARD_DEADLINE
. Read more§type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxScheduledPerBlock = ConstU32<50>
type MaxScheduledPerBlock = ConstU32<50>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
§type PreimageProvider = Pallet<Runtime>
type PreimageProvider = Pallet<Runtime>
§type NoPreimagePostponement = NoPreimagePostponement
type NoPreimagePostponement = NoPreimagePostponement
Some
then the number of blocks to postpone execution for when the item is delayed.source§impl Config for Runtime
impl Config for Runtime
§type ExternalOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
type ExternalOrigin = 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 = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>
type ExternalMajorityOrigin = 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 = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>
type ExternalDefaultOrigin = 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 = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>
type FastTrackOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 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 Proposal = Call
type Event = Event
§type EnactmentPeriod = EnactmentPeriod
type EnactmentPeriod = EnactmentPeriod
§type LaunchPeriod = LaunchPeriod
type LaunchPeriod = LaunchPeriod
§type VotingPeriod = VotingPeriod
type VotingPeriod = VotingPeriod
§type VoteLockingPeriod = EnactmentPeriod
type VoteLockingPeriod = EnactmentPeriod
§type MinimumDeposit = MinimumDeposit
type MinimumDeposit = MinimumDeposit
§type InstantOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>
type InstantOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>
§type InstantAllowed = ConstBool<true>
type InstantAllowed = ConstBool<true>
false
, others may want to condition it on things such
as an upgrade having happened recently. Read more§type FastTrackVotingPeriod = FastTrackVotingPeriod
type FastTrackVotingPeriod = FastTrackVotingPeriod
§type CancellationOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>
type CancellationOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>
§type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>>
type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>>
§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, Instance1>
type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>
§type CooloffPeriod = CooloffPeriod
type CooloffPeriod = CooloffPeriod
§type PreimageByteDeposit = PreimageByteDeposit
type PreimageByteDeposit = PreimageByteDeposit
§type OperationalPreimageOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>
type OperationalPreimageOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>
§type Slash = Pallet<Runtime, ()>
type Slash = Pallet<Runtime, ()>
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxProposals = MaxProposals
type MaxProposals = MaxProposals
source§impl Config for Runtime
impl Config for Runtime
§type Event = Event
type Event = Event
type Currency = Pallet<Runtime, ()>
type Prop = Call
type ProposalFee = ProposalFee
type Slash = SlashedFee
type WeightInfo = ()
type FeesAccount = FeesAccount
source§impl Config for Runtime
impl Config for Runtime
§type Event = Event
type Event = Event
type WeightInfo = ()
type Currency = Pallet<Runtime, ()>
type SimultaneousAssetBidder = SimultaneousAssetBidder
type MaxTriesBid = MaxTriesBid
type MaxTriesAseemblingInvestor = MaxTriesAseemblingInvestor
type NewAssetScanPeriod = NewAssetScanPeriod
source§impl Config for Runtime
impl Config for Runtime
§type Event = Event
type Event = Event
type Call = Call
type Delay = Delay
type CheckDelay = CheckDelay
type InvestorVoteAmount = InvestorVoteAmount
§type CheckPeriod = CheckPeriod
type CheckPeriod = CheckPeriod
§type RentCheck = RentCheckPeriod
type RentCheck = RentCheckPeriod
type Currency = Pallet<Runtime, ()>
type MinimumDepositVote = MinimumDeposit
§type RepFees = JudgementFee
type RepFees = JudgementFee
§type Guaranty = GuarantyCoefficient
type Guaranty = GuarantyCoefficient
§type ContractLength = ContractLength
type ContractLength = ContractLength
§type Maintenance = Maintenance
type Maintenance = Maintenance
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = Public
type AuthorityId = Public
§type DisabledValidators = ()
type DisabledValidators = ()
§type MaxAuthorities = ConstU32<32>
type MaxAuthorities = ConstU32<32>
source§impl Config for Runtime
impl Config for Runtime
§type Event = Event
type Event = Event
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type Event = Event
type Event = Event
type Currency = Pallet<Runtime, ()>
§type DisputeResolver = PaymentsDisputeResolver
type DisputeResolver = PaymentsDisputeResolver
§type IncentivePercentage = IncentivePercentage
type IncentivePercentage = IncentivePercentage
§type FeeHandler = PaymentsFeeHandler
type FeeHandler = PaymentsFeeHandler
§type MaxRemarkLength = MaxRemarkLength
type MaxRemarkLength = MaxRemarkLength
Remark
§type CancelBufferBlockLength = CancelBufferBlockLength
type CancelBufferBlockLength = CancelBufferBlockLength
§type MaxScheduledTaskListLength = MaxScheduledTaskListLength
type MaxScheduledTaskListLength = MaxScheduledTaskListLength
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type KeyOwnerProofSystem = ()
type KeyOwnerProofSystem = ()
§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 = ()
type HandleEquivocation = ()
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition. Read more§type WeightInfo = ()
type WeightInfo = ()
§type MaxAuthorities = ConstU32<32>
type MaxAuthorities = ConstU32<32>
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
()
if not
needed. Read more§type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, ()>
type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, ()>
§type OperationalFeeMultiplier = ConstU8<5>
type OperationalFeeMultiplier = ConstU8<5>
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more§type WeightToFee = IdentityFee<u128>
type WeightToFee = IdentityFee<u128>
§type LengthToFee = IdentityFee<u128>
type LengthToFee = IdentityFee<u128>
§type FeeMultiplierUpdate = ()
type FeeMultiplierUpdate = ()
source§impl Config for Runtime
impl Config for Runtime
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
§type FieldDeposit = FieldDeposit
type FieldDeposit = FieldDeposit
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxAdditionalFields = MaxAdditionalFields
type MaxAdditionalFields = MaxAdditionalFields
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
Configure the pallet-roles in pallets/roles.
§type Event = Event
type Event = Event
type Currency = Pallet<Runtime, ()>
type WeightInfo = SubstrateWeight<Runtime>
type MaxMembers = MaxMembers
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl FeeHandler<Runtime> for PaymentsFeeHandler
impl FeeHandler<Runtime> for PaymentsFeeHandler
source§fn apply_fees(
_from: &AccountId,
_to: &AccountId,
_detail: &PaymentDetail<Runtime>,
_remark: Option<&[u8]>
) -> (AccountId, Percent)
fn apply_fees(
_from: &AccountId,
_to: &AccountId,
_detail: &PaymentDetail<Runtime>,
_remark: Option<&[u8]>
) -> (AccountId, Percent)
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, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
RuntimeBlock
type.source§impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<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. Read moresource§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. Read moresource§impl MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn offchain_worker(header: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl TransactionPaymentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
source§impl TransactionPaymentCallApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, Call> for Runtime
impl TransactionPaymentCallApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, Call> 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 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§
§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
. Read more§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
. Read more§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. Read more§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. Read moresource§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.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§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 more§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
.