Struct lagoon_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, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (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
Get current account nonce of given
AccountId
.source§impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Retrieve authority identifiers of the current and next authority set.
source§impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn configuration() -> BabeConfiguration
fn configuration() -> BabeConfiguration
Return the configuration for BABE.
source§fn current_epoch_start() -> Slot
fn current_epoch_start() -> Slot
Returns the slot that started the current epoch.
source§fn current_epoch() -> Epoch
fn current_epoch() -> Epoch
Returns information regarding the current epoch.
source§fn next_epoch() -> Epoch
fn next_epoch() -> Epoch
Returns information regarding the next epoch (which was already
previously announced). Read more
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>
Generates a proof of key ownership for the given authority in the
current epoch. An example usage of this module is coupled with the
session historical module to prove that a given authority key is
tied to a given staking identity during a specific session. Proofs
of key ownership are necessary for submitting equivocation reports.
NOTE: even though the API takes a
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. Read moresource§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<()>
Submits an unsigned extrinsic to report an equivocation. The caller
must provide the equivocation proof and a key ownership proof
(should be obtained using
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§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (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
Apply the given extrinsic. Read more
source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic> ⓘ
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic> ⓘ
Generate inherent extrinsics. The inherent data will vary from chain to chain.
source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
Check that the inherents are valid. The inherent data will vary from chain to chain.
source§impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type DustRemoval = ()
type DustRemoval = ()
Handler for the unbalanced reduction when removing a dust account.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
The minimum amount required to keep an account open.
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
The means of storing the balances of an account.
§type MaxLocks = MaxLocks
type MaxLocks = MaxLocks
The maximum number of locks that should exist on an account.
Not strictly enforced, but used for weight estimation. Read more
§type MaxReserves = MaxReserves
type MaxReserves = MaxReserves
The maximum number of named reserves that can exist on an account.
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
The id type for named reserves.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
FIXME: Revert local weighting
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ScoreProvider = Pallet<Runtime>
type ScoreProvider = Pallet<Runtime>
Something that provides the scores of ids.
§type BagThresholds = BagThresholds
type BagThresholds = BagThresholds
The list of thresholds separating the various bags. Read more
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
The treasury’s pallet id, used for deriving its sovereign account ID.
§type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 4, 5>>
type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 4, 5>>
Origin from which approvals must come.
§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>>
Origin from which rejections must come.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type OnSlash = ()
type OnSlash = ()
Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§type ProposalBond = ProposalBond
type ProposalBond = ProposalBond
Fraction of a proposal’s value that should be bonded in order to place the proposal.
An accepted proposal gets these back. A rejected proposal does not. Read more
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
Minimum amount of funds that should be placed in a deposit for making a proposal.
§type ProposalBondMaximum = ProposalBondMaximum
type ProposalBondMaximum = ProposalBondMaximum
Maximum amount of funds that should be placed in a deposit for making a proposal.
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
Period between successive spends.
§type BurnDestination = ()
type BurnDestination = ()
Handler for the unbalanced decrease when treasury funds are burned.
§type SpendFunds = Pallet<Runtime, ()>
type SpendFunds = Pallet<Runtime, ()>
Runtime hooks to external pallet using treasury to compute spend funds.
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
The maximum number of approvals that can wait in the spending queue. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type SpendOrigin = NeverEnsureOrigin<u128>
type SpendOrigin = NeverEnsureOrigin<u128>
The origin required for approving spends from the treasury outside of the proposal
process. The
Success
value is the maximum amount that this origin is allowed to
spend at a time. Read moresource§impl Config<()> for Runtime
impl Config<()> for Runtime
§type BountyDepositBase = BountyDepositBase
type BountyDepositBase = BountyDepositBase
The amount held on deposit for placing a bounty proposal.
§type BountyDepositPayoutDelay = BountyDepositPayoutDelay
type BountyDepositPayoutDelay = BountyDepositPayoutDelay
The delay period for which a bounty beneficiary need to wait before claim the payout.
§type BountyUpdatePeriod = BountyUpdatePeriod
type BountyUpdatePeriod = BountyUpdatePeriod
Bounty duration in blocks.
§type CuratorDepositMultiplier = CuratorDepositMultiplier
type CuratorDepositMultiplier = CuratorDepositMultiplier
The curator deposit is calculated as a percentage of the curator fee. Read more
§type CuratorDepositMin = CuratorDepositMin
type CuratorDepositMin = CuratorDepositMin
Minimum amount of funds that should be placed in a deposit for making a proposal.
§type CuratorDepositMax = CuratorDepositMax
type CuratorDepositMax = CuratorDepositMax
Maximum amount of funds that should be placed in a deposit for making a proposal.
§type BountyValueMinimum = BountyValueMinimum
type BountyValueMinimum = BountyValueMinimum
Minimum value for a bounty.
§type ChildBountyManager = ()
type ChildBountyManager = ()
The child bounty manager.
§type DataDepositPerByte = DataDepositPerByte
type DataDepositPerByte = DataDepositPerByte
The amount held on deposit per byte within the tip report reason or bounty description.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type MaximumReasonLength = MaximumReasonLength
type MaximumReasonLength = MaximumReasonLength
Maximum acceptable reason length. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
Standard asset class creation is only allowed if the origin attempting it and the
asset class are in this set. Read more
§type ForceOrigin = EnsureRootOrAssetRegistry
type ForceOrigin = EnsureRootOrAssetRegistry
The origin which may forcibly create or destroy an asset or otherwise alter privileged
attributes. Read more
§type AssetDeposit = AssetDeposit
type AssetDeposit = AssetDeposit
The basic amount of funds that must be reserved for an asset.
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
The basic amount of funds that must be reserved when adding metadata to your asset.
§type MetadataDepositPerByte = MetadataDepositPerByte
type MetadataDepositPerByte = MetadataDepositPerByte
The additional funds that must be reserved for the number of bytes you store in your
metadata. Read more
§type ApprovalDeposit = ApprovalDeposit
type ApprovalDeposit = ApprovalDeposit
The amount of funds that must be reserved when creating a new approval.
§type StringLimit = AssetsStringLimit
type StringLimit = AssetsStringLimit
The maximum length of a name or symbol stored on-chain.
§type Freezer = ()
type Freezer = ()
A hook to allow a per-asset, per-account minimum balance to be enforced. This must be
respected in all permissionless operations. Read more
§type AssetAccountDeposit = ConstU128<0>
type AssetAccountDeposit = ConstU128<0>
The amount of funds that must be reserved for a non-provider asset account to be
maintained. Read more
§type RemoveItemsLimit = ConstU32<5>
type RemoveItemsLimit = ConstU32<5>
§type CallbackHandle = ()
type CallbackHandle = ()
Callback methods for asset state change (e.g. asset created or destroyed)
§type AssetIdParameter = u32
type AssetIdParameter = u32
Wrapper around
Self::AssetId
to use in dispatchable call signatures. Allows the use
of compact encoding in instances of the pallet, which will prevent breaking changes
resulting from the removal of HasCompact
from Self::AssetId
. Read more§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime origin type.
§type Proposal = RuntimeCall
type Proposal = RuntimeCall
The runtime call dispatch type.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The runtime event type.
§type MotionDuration = CouncilMotionDuration
type MotionDuration = CouncilMotionDuration
The time-out for council motions.
§type MaxProposals = CouncilMaxProposals
type MaxProposals = CouncilMaxProposals
Maximum number of proposals allowed to be active in parallel.
§type MaxMembers = CouncilMaxMembers
type MaxMembers = CouncilMaxMembers
The maximum number of members supported by the pallet. Used for weight estimation. Read more
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
Default vote strategy of this collective.
§type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin allowed to set collective members
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§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>>
Required origin for adding a member (though can always be Root).
§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>>
Required origin for removing a member (though can always be Root).
§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>>
Required origin for adding and removing a member in a single action.
§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>>
Required origin for resetting membership.
§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>>
Required origin for setting or resetting the prime member.
§type MembershipInitialized = Pallet<Runtime, Instance2>
type MembershipInitialized = Pallet<Runtime, Instance2>
The receiver of the signal for when the membership has been initialized. This happens
pre-genesis and will usually be the same as
MembershipChanged
. If you need to do
something different on initialization, then you can change this accordingly. Read more§type MembershipChanged = Pallet<Runtime, Instance2>
type MembershipChanged = Pallet<Runtime, Instance2>
The receiver of the signal for when the membership has changed.
§type MaxMembers = TechnicalMaxMembers
type MaxMembers = TechnicalMaxMembers
The maximum number of members that this membership can have. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config<Instance2> for Runtime
impl Config<Instance2> for Runtime
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime origin type.
§type Proposal = RuntimeCall
type Proposal = RuntimeCall
The runtime call dispatch type.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The runtime event type.
§type MotionDuration = TechnicalMotionDuration
type MotionDuration = TechnicalMotionDuration
The time-out for council motions.
§type MaxProposals = TechnicalMaxProposals
type MaxProposals = TechnicalMaxProposals
Maximum number of proposals allowed to be active in parallel.
§type MaxMembers = TechnicalMaxMembers
type MaxMembers = TechnicalMaxMembers
The maximum number of members supported by the pallet. Used for weight estimation. Read more
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
Default vote strategy of this collective.
§type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin allowed to set collective members
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type BaseCallFilter = Everything
type BaseCallFilter = Everything
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root. Read more
§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 DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of runtime database operations the runtime can invoke.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The
RuntimeOrigin
type used by dispatchable calls.§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated
RuntimeCall
type.§type Index = u32
type Index = u32
Account index (aka nonce) type. This stores the number of previous transactions
associated with a sender account. Read more
§type BlockNumber = u32
type BlockNumber = u32
The block number type used by the runtime.
§type Hashing = BlakeTwo256
type Hashing = BlakeTwo256
The hashing system (algorithm) being used in the runtime (e.g. Blake2).
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The user account identifier type for the runtime.
§type Lookup = Pallet<Runtime>
type Lookup = Pallet<Runtime>
Converting trait to take a source type and convert to
AccountId
. Read more§type Header = Header<u32, BlakeTwo256>
type Header = Header<u32, BlakeTwo256>
The block header.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The aggregated event type of the runtime.
§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Provides information about the pallet setup in the runtime. Read more
§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
Data to be associated with an account (other than nonce/transaction counter, which this
pallet does regardless). Read more
§type OnNewAccount = ()
type OnNewAccount = ()
Handler for when a new account has just been created.
§type OnKilledAccount = ()
type OnKilledAccount = ()
A function that is invoked when an account has been determined to be dead. Read more
type SystemWeightInfo = SubstrateWeight<Runtime>
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
The designated SS58 prefix of this chain. Read more
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
The maximum number of consumers allowed on a single account.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, DealWithFees<Runtime>>
type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, DealWithFees<Runtime>>
Handler for withdrawing, refunding and depositing the transaction fee.
Transaction fees are withdrawn before the transaction is executed.
After the transaction was executed the transaction weight can be
adjusted, depending on the used resources by the transaction. If the
transaction weight is lower than expected, parts of the transaction fee
might be refunded. In the end the fees can be deposited. Read more
§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
A fee mulitplier for
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more§type WeightToFee = WeightToFee
type WeightToFee = WeightToFee
Convert a weight value into a deductible fee based on the currency type.
§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
Convert a length value into a deductible fee based on the currency type.
§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
Update the multiplier of the next block, based on the previous block’s weight.
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
The maximum number of authorities that can be added.
source§impl Config for Runtime
impl Config for Runtime
§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
Find the author of a block.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
Full identification of the validator.
§type OnOffenceHandler = Pallet<Runtime>
type OnOffenceHandler = Pallet<Runtime>
A handler called for every offence report.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The event type of this module.
§type KeyOwnerProofSystem = Pallet<Runtime>
type KeyOwnerProofSystem = Pallet<Runtime>
A system for proving ownership of keys, i.e. that a given key was part
of a validator set, needed for validating equivocation reports. Read more
§type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
The proof of key ownership, used for validating equivocation reports
The proof must include the session index and validator count of the
session at which the equivocation occurred. Read more
§type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
The identification of a key owner, used when reporting equivocations.
§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>>
The equivocation handling subsystem, defines methods to report an
offence (after the equivocation has been validated) and for submitting a
transaction to report an equivocation (from an offchain context).
NOTE: when enabling equivocation handling (i.e. this type isn’t set to
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition. Read more§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
Max Authorities in use
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weights for this pallet.
§type MaxSetIdSessionEntries = MaxSetIdSessionEntries
type MaxSetIdSessionEntries = MaxSetIdSessionEntries
The maximum number of entries to keep in the set id to session index mapping. Read more
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
A stable ID for a validator.
§type ValidatorIdOf = StashOf<Runtime>
type ValidatorIdOf = StashOf<Runtime>
A conversion from account ID to validator ID. Read more
§type ShouldEndSession = Pallet<Runtime>
type ShouldEndSession = Pallet<Runtime>
Indicator for when to end the session.
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
Something that can predict the next session rotation. This should typically come from
the same logical unit that provides
ShouldEndSession
, yet, it gives a best effort
estimate. It is helpful to implement EstimateNextNewSession
. Read more§type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
Handler for managing new session.
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
Handler when a session has changed.
§type Keys = SessionKeys
type Keys = SessionKeys
The keys.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
Full identification of the validator.
§type FullIdentificationOf = ExposureOf<Runtime>
type FullIdentificationOf = ExposureOf<Runtime>
A conversion from validator ID to full identification. Read more
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type EstimateCallFee = Pallet<Runtime>
type EstimateCallFee = Pallet<Runtime>
Something that can predict the fee of a call. Used to sensibly distribute rewards.
§type SignedPhase = SignedPhase
type SignedPhase = SignedPhase
Duration of the signed phase.
§type UnsignedPhase = UnsignedPhase
type UnsignedPhase = UnsignedPhase
Duration of the unsigned phase.
§type SignedMaxSubmissions = SignedMaxSubmissions
type SignedMaxSubmissions = SignedMaxSubmissions
Maximum number of signed submissions that can be queued. Read more
§type SignedMaxRefunds = SignedMaxRefunds
type SignedMaxRefunds = SignedMaxRefunds
The maximum amount of unchecked solutions to refund the call fee for.
§type SignedRewardBase = SignedRewardBase
type SignedRewardBase = SignedRewardBase
Base reward for a signed solution
§type SignedDepositBase = SignedDepositBase
type SignedDepositBase = SignedDepositBase
Base deposit for a signed solution.
§type SignedDepositByte = SignedDepositByte
type SignedDepositByte = SignedDepositByte
Per-byte deposit for a signed solution.
§type SignedDepositWeight = ()
type SignedDepositWeight = ()
Per-weight deposit for a signed solution.
§type SignedMaxWeight = <<Runtime as Config>::MinerConfig as MinerConfig>::MaxWeight
type SignedMaxWeight = <<Runtime as Config>::MinerConfig as MinerConfig>::MaxWeight
Maximum weight of a signed solution. Read more
§type MinerConfig = Runtime
type MinerConfig = Runtime
Configurations of the embedded miner. Read more
§type SlashHandler = ()
type SlashHandler = ()
Handler for the slashed deposits.
§type RewardHandler = ()
type RewardHandler = ()
Handler for the rewards.
§type BetterUnsignedThreshold = BetterUnsignedThreshold
type BetterUnsignedThreshold = BetterUnsignedThreshold
The minimum amount of improvement to the solution score that defines a solution as
“better” in the Unsigned phase. Read more
§type BetterSignedThreshold = ()
type BetterSignedThreshold = ()
The minimum amount of improvement to the solution score that defines a solution as
“better” in the Signed phase. Read more
§type OffchainRepeat = OffchainRepeat
type OffchainRepeat = OffchainRepeat
The repeat threshold of the offchain worker. Read more
§type MinerTxPriority = NposSolutionPriority
type MinerTxPriority = NposSolutionPriority
The priority of the unsigned transaction submitted in the unsigned-phase
§type DataProvider = Pallet<Runtime>
type DataProvider = Pallet<Runtime>
Something that will provide the election data.
§type Fallback = NoElection<(<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, Pallet<Runtime>, MaxActiveValidators)>
type Fallback = NoElection<(<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, Pallet<Runtime>, MaxActiveValidators)>
Configuration for the fallback.
§type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
Configuration of the governance-only fallback. Read more
§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, ()>
OCW election solution miner algorithm implementation.
§type BenchmarkingConfig = BenchmarkConfigMultiPhase
type BenchmarkingConfig = BenchmarkConfigMultiPhase
The configuration of benchmarking.
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>
Origin that can control this pallet. Note that any action taken by this origin (such)
as providing an emergency solution is not checked. Thus, it must be a trusted origin. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight of the pallet.
§type MaxElectingVoters = MaxElectingVoters
type MaxElectingVoters = MaxElectingVoters
The maximum number of electing voters to put in the snapshot. At the moment, snapshots
are only over a single block, but once multi-block elections are introduced they will
take place over multiple blocks. Read more
§type MaxElectableTargets = MaxElectableTargets
type MaxElectableTargets = MaxElectableTargets
The maximum number of electable targets to put in the snapshot.
§type MaxWinners = MaxActiveValidators
type MaxWinners = MaxActiveValidators
The maximum number of winners that can be elected by this
ElectionProvider
implementation. Read moresource§impl Config for Runtime
impl Config for Runtime
§type MaxNominations = MaxNominations
type MaxNominations = MaxNominations
Maximum number of nominations per nominator.
§type CurrencyBalance = u128
type CurrencyBalance = u128
Just the
Currency::Balance
type; we have this item to allow us to constrain it to
From<u64>
. Read more§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
Convert a balance into a number used for election calculation. This must fit into a
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
. Read more§type RewardRemainder = Pallet<Runtime, ()>
type RewardRemainder = Pallet<Runtime, ()>
Tokens have been minted and are unused for validator-reward.
See Era payout. Read more
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type Reward = ()
type Reward = ()
Handler for the unbalanced increment when rewarding a staker.
NOTE: in most cases, the implementation of
OnUnbalanced
should modify the total
issuance. Read more§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
Number of sessions per era.
§type BondingDuration = BondingDuration
type BondingDuration = BondingDuration
Number of eras that staked funds must remain bonded for.
§type ElectionProvider = Pallet<Runtime>
type ElectionProvider = Pallet<Runtime>
Something that provides the election functionality.
§type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
Something that provides the election functionality at genesis.
§type SlashDeferDuration = SlashDeferDuration
type SlashDeferDuration = SlashDeferDuration
Number of eras that slashes are deferred by, after computation. Read more
§type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
The origin which can manage less critical staking parameters that does not require root. Read more
§type SessionInterface = Runtime
type SessionInterface = Runtime
Interface for interacting with a session pallet.
§type EraPayout = ConvertCurve<RewardCurve>
type EraPayout = ConvertCurve<RewardCurve>
The payout for validators and the system for the current era.
See Era payout. Read more
§type NextNewSession = Pallet<Runtime>
type NextNewSession = Pallet<Runtime>
Something that can estimate the next session change, accurately or as a best effort
guess. Read more
§type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
The maximum number of nominators rewarded for each validator. Read more
§type OffendingValidatorsThreshold = OffendingValidatorsThreshold
type OffendingValidatorsThreshold = OffendingValidatorsThreshold
The fraction of the validator set that is safe to be offending.
After the threshold is reached a new era will be forced. Read more
§type VoterList = Pallet<Runtime, ()>
type VoterList = Pallet<Runtime, ()>
Something that provides a best-effort sorted list of voters aka electing nominators,
used for NPoS election. Read more
§type TargetList = UseValidatorsMap<Runtime>
type TargetList = UseValidatorsMap<Runtime>
WIP: This is a noop as of now, the actual business logic that’s described below is going
to be introduced in a follow-up PR. Read more
§type MaxUnlockingChunks = ConstU32<32>
type MaxUnlockingChunks = ConstU32<32>
The maximum number of
unlocking
chunks a StakingLedger
can
have. Effectively determines how many unique eras a staker may be
unbonding in. Read more§type BenchmarkingConfig = StakingBenchmarkingConfig
type BenchmarkingConfig = StakingBenchmarkingConfig
Some parameters of the benchmarking.
§type OnStakerSlash = ()
type OnStakerSlash = ()
A hook called when any staker is slashed. Mostly likely this can be a no-op unless
other pallets exist that are affected by slashing per-staker. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type HistoryDepth = ConstU32<84>
type HistoryDepth = ConstU32<84>
Number of eras to keep in history. Read more
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type ChangeMembers = Pallet<Runtime, Instance1>
type ChangeMembers = Pallet<Runtime, Instance1>
What to do when the members change.
§type InitializeMembers = Pallet<Runtime, Instance1>
type InitializeMembers = Pallet<Runtime, Instance1>
What to do with genesis members
§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
Convert a balance into a number used for election calculation.
This must fit into a
u64
but is allowed to be sensibly lossy. Read more§type CandidacyBond = CandidacyBond
type CandidacyBond = CandidacyBond
How much should be locked up in order to submit one’s candidacy.
§type VotingBondBase = VotingBondBase
type VotingBondBase = VotingBondBase
Base deposit associated with voting. Read more
§type VotingBondFactor = VotingBondFactor
type VotingBondFactor = VotingBondFactor
The amount of bond that need to be locked for each vote (32 bytes).
§type LoserCandidate = ()
type LoserCandidate = ()
Handler for the unbalanced reduction when a candidate has lost (and is not a runner-up)
§type KickedMember = ()
type KickedMember = ()
Handler for the unbalanced reduction when a member has been kicked.
§type DesiredMembers = DesiredMembers
type DesiredMembers = DesiredMembers
Number of members to elect.
§type DesiredRunnersUp = DesiredRunnersUp
type DesiredRunnersUp = DesiredRunnersUp
Number of runners_up to keep.
§type TermDuration = TermDuration
type TermDuration = TermDuration
How long each seat is kept. This defines the next block number at which an election
round will happen. If set to zero, no elections are ever triggered and the module will
be in passive mode. Read more
§type MaxCandidates = MaxCandidates
type MaxCandidates = MaxCandidates
The maximum number of candidates in a phragmen election. Read more
§type MaxVotesPerVoter = MaxVotesPerVoter
type MaxVotesPerVoter = MaxVotesPerVoter
Maximum numbers of votes per voter. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
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, 1, 2>
type ExternalMajorityOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
A 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, Instance2, 2, 3>
type FastTrackOrigin = 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 RuntimeEvent = RuntimeEvent
§type EnactmentPeriod = EnactmentPeriod
type EnactmentPeriod = EnactmentPeriod
The period between a proposal being approved and enacted. Read more
§type VoteLockingPeriod = EnactmentPeriod
type VoteLockingPeriod = EnactmentPeriod
The minimum period of vote locking. Read more
§type LaunchPeriod = LaunchPeriod
type LaunchPeriod = LaunchPeriod
How often (in blocks) new public referenda are launched.
§type VotingPeriod = VotingPeriod
type VotingPeriod = VotingPeriod
How often (in blocks) to check for new votes.
§type MinimumDeposit = MinimumDeposit
type MinimumDeposit = MinimumDeposit
The minimum amount to be used as a deposit for a public referendum proposal.
§type InstantOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>
type InstantOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>
Origin from which the next majority-carries (or more permissive) referendum may be
tabled to vote immediately and asynchronously in a similar manner to the emergency
origin. It retains its threshold method. Read more
§type InstantAllowed = InstantAllowed
type InstantAllowed = InstantAllowed
Indicator for whether an emergency origin is even allowed to happen. Some chains may
want to set this permanently to
false
, others may want to condition it on things such
as an upgrade having happened recently. Read more§type FastTrackVotingPeriod = FastTrackVotingPeriod
type FastTrackVotingPeriod = FastTrackVotingPeriod
Minimum voting period allowed for a fast-track referendum.
§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>>
Origin from which any referendum may be cancelled in an emergency.
§type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin from which proposals may be blacklisted.
§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>>
Origin from which a proposal may be cancelled and its backers slashed.
§type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
Origin for anyone able to veto proposals.
§type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin from which the new proposal can be made. Read more
§type CooloffPeriod = CooloffPeriod
type CooloffPeriod = CooloffPeriod
Period in blocks where an external proposal may not be re-submitted after being vetoed.
§type Slash = Pallet<Runtime, ()>
type Slash = Pallet<Runtime, ()>
Handler for the unbalanced reduction when slashing a preimage deposit.
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
Overarching type of all pallets origins.
type WeightInfo = WeightInfo<Runtime>
§type MaxProposals = MaxProposals
type MaxProposals = MaxProposals
The maximum number of public proposals that can exist at any time.
§type MaxDeposits = ConstU32<100>
type MaxDeposits = ConstU32<100>
The maximum number of deposits a public proposal may have at any time.
§type MaxBlacklisted = ConstU32<100>
type MaxBlacklisted = ConstU32<100>
The maximum number of items which can be blacklisted.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The aggregated origin which the dispatch will take.
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated call type.
§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
The maximum weight that may be scheduled per block for any dispatchables.
§type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin to schedule or cancel calls.
§type MaxScheduledPerBlock = MaxScheduledPerBlock
type MaxScheduledPerBlock = MaxScheduledPerBlock
The maximum number of scheduled calls in the queue for a single block.
§type OriginPrivilegeCmp = OriginPrivilegeCmp
type OriginPrivilegeCmp = OriginPrivilegeCmp
Compare the privileges of origins. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type ProxyType = ProxyType
type ProxyType = ProxyType
A kind of proxy; specified with the proxy and passed in to the
IsProxyable
fitler.
The instance filter determines whether a given call may be proxied under this type. Read more§type ProxyDepositBase = ProxyDepositBase
type ProxyDepositBase = ProxyDepositBase
The base amount of currency needed to reserve for creating a proxy. Read more
§type ProxyDepositFactor = ProxyDepositFactor
type ProxyDepositFactor = ProxyDepositFactor
The amount of currency needed per proxy added. Read more
§type MaxProxies = MaxProxies
type MaxProxies = MaxProxies
The maximum amount of proxies allowed for a single account.
§type MaxPending = MaxPending
type MaxPending = MaxPending
The maximum amount of time-delayed announcements that are allowed to be pending.
§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
The type of hash used for hashing the call.
§type AnnouncementDepositBase = AnnouncementDepositBase
type AnnouncementDepositBase = AnnouncementDepositBase
The base amount of currency needed to reserve for creating an announcement. Read more
§type AnnouncementDepositFactor = AnnouncementDepositFactor
type AnnouncementDepositFactor = AnnouncementDepositFactor
The amount of currency needed per announcement made. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Tidechain currency wrapper
§type AssetRegistry = Pallet<Runtime>
type AssetRegistry = Pallet<Runtime>
Asset registry traits
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weights
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type StakePalletId = TidefiStakingPalletId
type StakePalletId = TidefiStakingPalletId
Pallet ID
§type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Tidechain currency wrapper
§type StakeAccountCap = StakeAccountCap
type StakeAccountCap = StakeAccountCap
Maximum active stake / account
§type BlocksForceUnstake = BlocksForceUnstake
type BlocksForceUnstake = BlocksForceUnstake
Number of block to wait before unstake if forced.
§type AssetRegistry = Pallet<Runtime>
type AssetRegistry = Pallet<Runtime>
Asset registry traits
§type StakingRewardCap = StakingRewardCap
type StakingRewardCap = StakingRewardCap
Maximum number of periods defined
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type QuorumPalletId = QuorumPalletId
type QuorumPalletId = QuorumPalletId
Pallet ID
§type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Tidechain currency wrapper
§type AssetRegistry = Pallet<Runtime>
type AssetRegistry = Pallet<Runtime>
Asset registry traits
§type ProposalsCap = ProposalsCap
type ProposalsCap = ProposalsCap
Proposals capacity
§type ProposalLifetime = ProposalLifetime
type ProposalLifetime = ProposalLifetime
Proposals lifetime
§type StringLimit = StringLimit
type StringLimit = StringLimit
The maximum length of string (public keys etc..)
§type VotesLimit = VotesLimit
type VotesLimit = VotesLimit
The maximum number of votes per proposal
§type WatchListLimit = WatchListLimit
type WatchListLimit = WatchListLimit
The maximum number of proposals per account watch list
§type PubkeyLimitPerAsset = PubkeyLimitPerAsset
type PubkeyLimitPerAsset = PubkeyLimitPerAsset
The pubkey per asset (should always be more than current member size)
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weights
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type OraclePalletId = OraclePalletId
type OraclePalletId = OraclePalletId
Pallet ID
§type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Tidechain currency wrapper
§type SwapLimitByAccount = SwapLimitByAccount
type SwapLimitByAccount = SwapLimitByAccount
The maximum number of active swaps per account id
§type SupportedMarketPairsLimit = SupportedMarketPairsLimit
type SupportedMarketPairsLimit = SupportedMarketPairsLimit
The maximum number of supported market pairs
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weights
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weights
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type AssetRegistryPalletId = AssetRegistryPalletId
type AssetRegistryPalletId = AssetRegistryPalletId
Pallet ID
§type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Tidechain currency wrapper
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weights
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type FeesPalletId = FeesPalletId
type FeesPalletId = FeesPalletId
Pallet ID
§type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Tidechain currency wrapper
§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
Number of sessions per era
§type SessionsArchive = SessionsArchive
type SessionsArchive = SessionsArchive
Number of sessions to keep in archive
§type BlocksPerSession = BlocksPerSession
type BlocksPerSession = BlocksPerSession
Number of block per session
§type MarketMakerFeeAmount = MarketMakerFeeAmount
type MarketMakerFeeAmount = MarketMakerFeeAmount
Market maker market order fee
§type MarketMakerLimitFeeAmount = MarketMakerLimitFeeAmount
type MarketMakerLimitFeeAmount = MarketMakerLimitFeeAmount
Market maker limit order fee
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>
The origin which may forcibly update the fee and distribution percentage
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Events
§type SunrisePalletId = SunrisePalletId
type SunrisePalletId = SunrisePalletId
Pallet ID
§type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CurrencyTidefi = Adapter<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Tidechain currency wrapper
§type Cooldown = SunriseCooldown
type Cooldown = SunriseCooldown
Number of blocks to wait before allowing users to claim their sunrise rewards, after an era is completed.
§type MaximumRewardPerSwap = MaximumRewardPerSwap
type MaximumRewardPerSwap = MaximumRewardPerSwap
Maximum rewards for sunrise pool before the applied rewards.
Example, 10_000_000_000_000_000 with a 125% rewards,
the maximum applied will be
12_500_000_000_000_000
TDFY Read more§type LeftoverSwapRebates = LeftoverSwapRebates
type LeftoverSwapRebates = LeftoverSwapRebates
For each tier, leftover funds will be allocated to to this tier
source§impl Config for Runtime
impl Config for Runtime
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type AccountIndex = u32
type AccountIndex = u32
Type used for storing an account’s index; implies the maximum number of accounts the
system can hold. Read more
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type DepositBase = DepositBase
type DepositBase = DepositBase
The base amount of currency needed to reserve for creating a multisig execution or to
store a dispatch call for later. Read more
§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
The amount of currency needed per unit threshold when creating a multisig execution. Read more
§type MaxSignatories = MaxSignatories
type MaxSignatories = MaxSignatories
The maximum amount of signatories allowed in the multisig.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type Currency = Pallet<Runtime, ()>
§type MinVestedTransfer = MinVestedTransfer
type MinVestedTransfer = MinVestedTransfer
The minimum amount transferred to call
vested_transfer
.§type VestedTransferOrigin = EnsureRootOrTreasury
type VestedTransferOrigin = EnsureRootOrTreasury
Required origin for vested transfer.
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this module.
§type MaxVestingSchedules = MaxVestingSchedules
type MaxVestingSchedules = MaxVestingSchedules
The maximum vesting schedules
type BlockNumberProvider = SusbtrateBlockNumberProvider
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
A sudo-able call.
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
Something which can be notified when the timestamp is set. Set this to
()
if not
needed. Read more§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
The minimum period between blocks. Beware that this is different to the expected
period that the block production apparatus provides. Your chosen consensus system will
generally work with this to determine a sensible block time. e.g. For Aura, it will be
double this period on default settings. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
The amount held on deposit for a registered identity
§type FieldDeposit = FieldDeposit
type FieldDeposit = FieldDeposit
The amount held on deposit per additional field for a registered identity.
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
The amount held on deposit for a registered subaccount. This should account for the fact
that one storage item’s value will increase by the size of an account ID, and there will
be another trie item whose value is the size of an account ID plus 32 bytes. Read more
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
The maximum number of sub-accounts allowed per identified account.
§type MaxAdditionalFields = MaxAdditionalFields
type MaxAdditionalFields = MaxAdditionalFields
Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
required to access an identity, but can be pretty high. Read more
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
Maxmimum number of registrars allowed in the system. Needed to bound the complexity
of, e.g., updating judgements. Read more
§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>>
The origin which may forcibly set or remove a name. Root can always do this.
§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>>
The origin which may add or remove registrars. Root can always do this.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
An origin that can request a preimage be placed on-chain without a deposit or fee, or
manage existing preimages. Read more
§type BaseDeposit = PreimageBaseDeposit
type BaseDeposit = PreimageBaseDeposit
The base deposit for placing a preimage on chain.
§type ByteDeposit = PreimageByteDeposit
type ByteDeposit = PreimageByteDeposit
The per-byte deposit for placing a preimage on chain.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The Weight information for this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type ConfigDepositBase = ConfigDepositBase
type ConfigDepositBase = ConfigDepositBase
The base amount of currency needed to reserve for creating a recovery configuration. Read more
§type FriendDepositFactor = FriendDepositFactor
type FriendDepositFactor = FriendDepositFactor
The amount of currency needed per additional user when creating a recovery
configuration. Read more
§type MaxFriends = MaxFriends
type MaxFriends = MaxFriends
The maximum amount of friends allowed in a recovery configuration. Read more
§type RecoveryDeposit = RecoveryDeposit
type RecoveryDeposit = RecoveryDeposit
The base amount of currency needed to reserve for starting a recovery. Read more
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type EpochDuration = EpochDuration
type EpochDuration = EpochDuration
The amount of time, in slots, that each epoch should last.
NOTE: Currently it is not possible to change the epoch duration after
the chain has started. Attempting to do so will brick block production. Read more
§type ExpectedBlockTime = ExpectedBlockTime
type ExpectedBlockTime = ExpectedBlockTime
The expected average block time at which BABE should be creating
blocks. Since BABE is probabilistic it is not trivial to figure out
what the expected average block time should be based on the slot
duration and the security parameter
c
(where 1 - c
represents
the probability of a slot being empty). Read more§type EpochChangeTrigger = ExternalTrigger
type EpochChangeTrigger = ExternalTrigger
BABE requires some logic to be triggered on every block to query for whether an epoch
has ended and to perform the transition to the next epoch. Read more
§type KeyOwnerProofSystem = Pallet<Runtime>
type KeyOwnerProofSystem = Pallet<Runtime>
A system for proving ownership of keys, i.e. that a given key was part
of a validator set, needed for validating equivocation reports. Read more
§type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
The proof of key ownership, used for validating equivocation reports.
The proof must include the session index and validator count of the
session at which the equivocation occurred. Read more
§type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
The identification of a key owner, used when reporting equivocations.
§type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>
type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>
The equivocation handling subsystem, defines methods to report an
offence (after the equivocation has been validated) and for submitting a
transaction to report an equivocation (from an offchain context).
NOTE: when enabling equivocation handling (i.e. this type isn’t set to
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition. Read moretype WeightInfo = ()
§type DisabledValidators = Pallet<Runtime>
type DisabledValidators = Pallet<Runtime>
A way to check whether a given validator is disabled and should not be authoring blocks.
Blocks authored by a disabled validator will lead to a panic as part of this module’s
initialization. Read more
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
Max number of authorities allowed
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = Public
type AuthorityId = Public
The identifier type for an authority.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
A trait that allows us to estimate the current session progress and also the
average session length. Read more
§type ValidatorSet = Pallet<Runtime>
type ValidatorSet = Pallet<Runtime>
A type for retrieving the validators supposed to be online in a session.
§type ReportUnresponsiveness = Pallet<Runtime>
type ReportUnresponsiveness = Pallet<Runtime>
A type that gives us the ability to submit unresponsiveness offence reports.
§type UnsignedPriority = ImOnlineUnsignedPriority
type UnsignedPriority = ImOnlineUnsignedPriority
A configuration for base priority of unsigned transactions. Read more
§type MaxPeerInHeartbeats = MaxPeerInHeartbeats
type MaxPeerInHeartbeats = MaxPeerInHeartbeats
The maximum number of peers to be stored in
ReceivedHeartbeats
§type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize
The maximum size of the encoding of
PeerId
and MultiAddr
that are coming
from the hearbeat Read more§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn version() -> RuntimeVersion
fn version() -> RuntimeVersion
Returns the version of the runtime.
source§fn execute_block(block: Block)
fn execute_block(block: Block)
Execute the given block.
source§impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
source§fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: RuntimeCall,
public: <Signature as Verify>::Signer,
account: AccountId,
nonce: Index
) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: RuntimeCall,
public: <Signature as Verify>::Signer,
account: AccountId,
nonce: Index
) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
Attempt to create signed extrinsic data that encodes call from given account. Read more
source§impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl GetNodeBlockType for Runtime
impl GetNodeBlockType for Runtime
§type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>
type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>
The
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, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
The
RuntimeBlock
type.source§impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
Get the current GRANDPA authorities and weights. This should not change except
for when changes are scheduled and the corresponding delay has passed. Read more
source§fn current_set_id() -> SetId
fn current_set_id() -> SetId
Get current GRANDPA authority set id.
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<()>
Submits an unsigned extrinsic to report an equivocation. The caller
must provide the equivocation proof and a key ownership proof
(should be obtained using
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>
Generates a proof of key ownership for the given authority in the
given set. An example usage of this module is coupled with the
session historical module to prove that a given authority key is
tied to a given staking identity during a specific session. Proofs
of key ownership are necessary for submitting equivocation reports.
NOTE: even though the API takes a
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, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn metadata() -> OpaqueMetadata
fn metadata() -> OpaqueMetadata
Returns the metadata of a 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
The account id type.
§type MaxLength = OffchainSolutionLengthLimit
type MaxLength = OffchainSolutionLengthLimit
Maximum length of the solution that the miner is allowed to generate. Read more
§type MaxWeight = OffchainSolutionWeightLimit
type MaxWeight = OffchainSolutionWeightLimit
Maximum weight of the solution that the miner is allowed to generate. Read more
§type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
Maximum number of votes per voter in the snapshots.
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
§type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
The extrinsic type expected by the runtime.
§type OverarchingCall = RuntimeCall
type OverarchingCall = RuntimeCall
The runtime’s call type. Read more
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl SigningTypes for Runtime
impl SigningTypes for Runtime
§type Public = <MultiSignature as Verify>::Signer
type Public = <MultiSignature as Verify>::Signer
A public key that is capable of identifying
AccountId
s. Read more§type Signature = MultiSignature
type Signature = MultiSignature
A matching
Signature
type.source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (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, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash
) -> TransactionValidity
fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash
) -> TransactionValidity
Validate the transaction. Read more
source§impl TidefiApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl TidefiApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
fn get_assets(
) -> Result<Vec<(CurrencyId, CurrencyMetadata<Vec<u8>>)>, DispatchError>
fn get_account_balance(
account_id: AccountId,
asset_id: CurrencyId
) -> Result<CurrencyBalance<BalanceInfo>, DispatchError>
fn get_account_balances(
account_id: AccountId
) -> Result<Vec<(CurrencyId, CurrencyBalance<BalanceInfo>)>, DispatchError>
fn get_account_stakes(
account_id: AccountId
) -> Result<Vec<(CurrencyId, Stake<BalanceInfo, BlockNumber>)>, DispatchError>
source§impl TransactionPaymentApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
fn query_info(
uxt: <Block as BlockT>::Extrinsic,
len: u32
) -> RuntimeDispatchInfo<Balance>
fn query_fee_details(
uxt: <Block as BlockT>::Extrinsic,
len: u32
) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
§type Call = RuntimeCall
type Call = RuntimeCall
The call to validate
source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
Validate the call right before dispatch. Read more
source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call
) -> TransactionValidity
fn validate_unsigned(
source: TransactionSource,
call: &Self::Call
) -> TransactionValidity
Return the validity of the call Read more
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> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
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 moresource§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresource§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresource§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&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
Compare self to
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>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.