Struct mangata_rococo_runtime::Runtime
source · pub struct Runtime;
Implementations§
source§impl Runtime
impl Runtime
pub fn metadata() -> RuntimeMetadataPrefixed
pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
pub fn metadata_versions() -> Vec<u32>
Trait Implementations§
source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
AccountId
.source§impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, ()>, 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, ()>, 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
source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
source§impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
source§fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
Signed
origin.source§fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
RawOrigin
if it is that.source§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Signed
origin, None
otherwise.source§impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
§type Currency = CurrencyAdapter<Runtime, MgxTokenId>
type Currency = CurrencyAdapter<Runtime, MgxTokenId>
§type ApproveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ApproveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RejectOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RejectOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnSlash = ()
type OnSlash = ()
§type ProposalBond = ProposalBond
type ProposalBond = ProposalBond
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
§type ProposalBondMaximum = ProposalBondMaximum
type ProposalBondMaximum = ProposalBondMaximum
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
§type BurnDestination = ()
type BurnDestination = ()
§type SpendFunds = ()
type SpendFunds = ()
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
§type SpendOrigin = NeverEnsureOrigin<u128>
type SpendOrigin = NeverEnsureOrigin<u128>
Success
value is the maximum amount that this origin is allowed to
spend at a time.source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
§type Proposal = RuntimeCall
type Proposal = RuntimeCall
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MotionDuration = CouncilMotionDuration
type MotionDuration = CouncilMotionDuration
§type ProposalCloseDelay = CouncilProposalCloseDelay
type ProposalCloseDelay = CouncilProposalCloseDelay
§type MaxProposals = CouncilMaxProposals
type MaxProposals = CouncilMaxProposals
§type MaxMembers = CouncilMaxMembers
type MaxMembers = CouncilMaxMembers
§type FoundationAccountsProvider = FoundationAccountsProvider<Runtime>
type FoundationAccountsProvider = FoundationAccountsProvider<Runtime>
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
§type SetMembersOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type SetMembersOrigin = EnsureRoot<<Runtime as Config>::AccountId>
§type MaxProposalWeight = MaxProposalWeight
type MaxProposalWeight = MaxProposalWeight
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type MaintenanceStatusProvider = Pallet<Runtime>
type XcmExecutor = XcmExecutor<XcmConfig>
§type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type MaintenanceStatusProvider = Pallet<Runtime>
§type OnSystemEvent = ()
type OnSystemEvent = ()
§type SelfParaId = Pallet<Runtime>
type SelfParaId = Pallet<Runtime>
§type DmpMessageHandler = Pallet<Runtime>
type DmpMessageHandler = Pallet<Runtime>
§type ReservedDmpWeight = ReservedDmpWeight
type ReservedDmpWeight = ReservedDmpWeight
§type OutboundXcmpMessageSource = Pallet<Runtime>
type OutboundXcmpMessageSource = Pallet<Runtime>
finalize_block
.§type XcmpMessageHandler = Pallet<Runtime>
type XcmpMessageHandler = Pallet<Runtime>
§type ReservedXcmpWeight = ReservedXcmpWeight
type ReservedXcmpWeight = ReservedXcmpWeight
§type CheckAssociatedRelayNumber = AnyRelayNumber
type CheckAssociatedRelayNumber = AnyRelayNumber
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type NativeCurrencyId = MgxTokenId
type NativeCurrencyId = MgxTokenId
§type Tokens = MultiTokenCurrencyAdapter<Runtime>
type Tokens = MultiTokenCurrencyAdapter<Runtime>
§type BlocksPerRound = BlocksPerRound
type BlocksPerRound = BlocksPerRound
§type HistoryLimit = HistoryLimit
type HistoryLimit = HistoryLimit
§type LiquidityMiningIssuanceVault = LiquidityMiningIssuanceVault
type LiquidityMiningIssuanceVault = LiquidityMiningIssuanceVault
§type StakingIssuanceVault = StakingIssuanceVault
type StakingIssuanceVault = StakingIssuanceVault
§type TotalCrowdloanAllocation = TotalCrowdloanAllocation
type TotalCrowdloanAllocation = TotalCrowdloanAllocation
§type IssuanceCap = IssuanceCap
type IssuanceCap = IssuanceCap
§type LinearIssuanceBlocks = LinearIssuanceBlocks
type LinearIssuanceBlocks = LinearIssuanceBlocks
§type LiquidityMiningSplit = LiquidityMiningSplit
type LiquidityMiningSplit = LiquidityMiningSplit
§type StakingSplit = StakingSplit
type StakingSplit = StakingSplit
§type ImmediateTGEReleasePercent = ImmediateTGEReleasePercent
type ImmediateTGEReleasePercent = ImmediateTGEReleasePercent
§type TGEReleasePeriod = TGEReleasePeriod
type TGEReleasePeriod = TGEReleasePeriod
§type TGEReleaseBegin = TGEReleaseBegin
type TGEReleaseBegin = TGEReleaseBegin
§type VestingProvider = Pallet<Runtime>
type VestingProvider = Pallet<Runtime>
type WeightInfo = ModuleWeight<Runtime>
type LiquidityMiningApi = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Currency = CurrencyAdapter<Runtime, MgxTokenId>
type Currency = CurrencyAdapter<Runtime, MgxTokenId>
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
§type FieldDeposit = FieldDeposit
type FieldDeposit = FieldDeposit
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
§type MaxAdditionalFields = MaxAdditionalFields
type MaxAdditionalFields = MaxAdditionalFields
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
§type 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 WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type ActivationReservesProvider = Pallet<Runtime>
type NativeCurrencyId = MgxTokenId
type Currency = MultiTokenCurrencyAdapter<Runtime>
§type LiquidityMiningIssuanceVault = LiquidityMiningIssuanceVault
type LiquidityMiningIssuanceVault = LiquidityMiningIssuanceVault
type RewardsDistributionPeriod = <Runtime as Config>::BlocksPerRound
type WeightInfo = ModuleWeight<Runtime>
§type RewardsSchedulesLimit = RewardsSchedulesLimit
type RewardsSchedulesLimit = RewardsSchedulesLimit
§type Min3rdPartyRewardValutationPerSession = Min3rdPartyRewardValutationPerSession
type Min3rdPartyRewardValutationPerSession = Min3rdPartyRewardValutationPerSession
type Min3rdPartyRewardVolume = Min3rdPartyRewardVolume
type SchedulesPerBlock = SchedulesPerBlock
type ValuationApi = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type StakingReservesProvider = Pallet<Runtime>
type StakingReservesProvider = Pallet<Runtime>
§type Currency = MultiTokenCurrencyAdapter<Runtime>
type Currency = MultiTokenCurrencyAdapter<Runtime>
§type MonetaryGovernanceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type MonetaryGovernanceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type BlocksPerRound = BlocksPerRound
type BlocksPerRound = BlocksPerRound
§type LeaveCandidatesDelay = LeaveCandidatesDelay
type LeaveCandidatesDelay = LeaveCandidatesDelay
§type CandidateBondDelay = CandidateBondDelay
type CandidateBondDelay = CandidateBondDelay
§type LeaveDelegatorsDelay = LeaveDelegatorsDelay
type LeaveDelegatorsDelay = LeaveDelegatorsDelay
§type RevokeDelegationDelay = RevokeDelegationDelay
type RevokeDelegationDelay = RevokeDelegationDelay
§type DelegationBondDelay = DelegationBondDelay
type DelegationBondDelay = DelegationBondDelay
§type RewardPaymentDelay = RewardPaymentDelay
type RewardPaymentDelay = RewardPaymentDelay
§type MinSelectedCandidates = MinSelectedCandidates
type MinSelectedCandidates = MinSelectedCandidates
§type MaxCollatorCandidates = MaxCollatorCandidates
type MaxCollatorCandidates = MaxCollatorCandidates
§type MaxTotalDelegatorsPerCandidate = MaxTotalDelegatorsPerCandidate
type MaxTotalDelegatorsPerCandidate = MaxTotalDelegatorsPerCandidate
§type MaxDelegatorsPerCandidate = MaxDelegatorsPerCandidate
type MaxDelegatorsPerCandidate = MaxDelegatorsPerCandidate
§type MaxDelegationsPerDelegator = MaxDelegationsPerDelegator
type MaxDelegationsPerDelegator = MaxDelegationsPerDelegator
§type DefaultCollatorCommission = DefaultCollatorCommission
type DefaultCollatorCommission = DefaultCollatorCommission
CollatorCommission
storage value in genesis§type MinCollatorStk = MinCollatorStk
type MinCollatorStk = MinCollatorStk
SelectedCandidates
for the round§type MinCandidateStk = MinCandidateStk
type MinCandidateStk = MinCandidateStk
§type MinDelegation = MinDelegatorStk
type MinDelegation = MinDelegatorStk
§type NativeTokenId = MgxTokenId
type NativeTokenId = MgxTokenId
§type StakingLiquidityTokenValuator = Pallet<Runtime>
type StakingLiquidityTokenValuator = Pallet<Runtime>
§type StakingIssuanceVault = <Runtime as Config>::StakingIssuanceVault
type StakingIssuanceVault = <Runtime as Config>::StakingIssuanceVault
§type FallbackProvider = Pallet<Runtime, Instance1>
type FallbackProvider = Pallet<Runtime, Instance1>
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
type DefaultPayoutLimit = DefaultPayoutLimit
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type SudoOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
type SudoOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Tokens = MultiTokenCurrencyAdapter<Runtime>
type Tokens = MultiTokenCurrencyAdapter<Runtime>
§type BlockNumberToBalance = ConvertInto
type BlockNumberToBalance = ConvertInto
§type MinVestedTransfer = MinVestedTransfer
type MinVestedTransfer = MinVestedTransfer
vested_transfer
.§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
source§const MAX_VESTING_SCHEDULES: u32 = 50u32
const MAX_VESTING_SCHEDULES: u32 = 50u32
§type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Initialized = Initialized
type Initialized = Initialized
§type InitializationPayment = InitializationPayment
type InitializationPayment = InitializationPayment
type MaxInitContributors = MaxInitContributorsBatchSizes
§type MinimumReward = MinimumReward
type MinimumReward = MinimumReward
§type RewardAddressRelayVoteThreshold = RelaySignaturesThreshold
type RewardAddressRelayVoteThreshold = RelaySignaturesThreshold
§type NativeTokenId = MgxTokenId
type NativeTokenId = MgxTokenId
§type Tokens = MultiTokenCurrencyAdapter<Runtime>
type Tokens = MultiTokenCurrencyAdapter<Runtime>
§type RelayChainAccountId = AccountId32
type RelayChainAccountId = AccountId32
type RewardAddressChangeOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type SignatureNetworkIdentifier = SigantureNetworkIdentifier
type SignatureNetworkIdentifier = SigantureNetworkIdentifier
type RewardAddressAssociateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type VestingBlockNumber = u32
type VestingBlockNumber = u32
§type VestingBlockProvider = Pallet<Runtime>
type VestingBlockProvider = Pallet<Runtime>
§type VestingProvider = Pallet<Runtime>
type VestingProvider = Pallet<Runtime>
type WeightInfo = ModuleWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = ()
type OnTimestampSet = ()
()
if not
needed.§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type MaintenanceStatusProvider = Pallet<Runtime>
type PoolCreateApi = Pallet<Runtime>
type DefaultBootstrapPromotedPoolWeight = DefaultBootstrapPromotedPoolWeight
type BootstrapUpdateBuffer = BootstrapUpdateBuffer
§type Currency = MultiTokenCurrencyAdapter<Runtime>
type Currency = MultiTokenCurrencyAdapter<Runtime>
type VestingProvider = Pallet<Runtime>
type TreasuryPalletId = <Runtime as Config<()>>::PalletId
type RewardsApi = Pallet<Runtime>
type ClearStorageLimit = ClearStorageLimit
type WeightInfo = ModuleWeight<Runtime>
type AssetRegistryApi = EnableAssetPoolApi<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type MaxRelocks = <Runtime as Config>::MaxLocks
type Tokens = MultiTokenCurrencyAdapter<Runtime>
type NativeCurrencyId = MgxTokenId
type VestingProvider = Pallet<Runtime>
type Xyk = Pallet<Runtime>
type WeightInfo = ModuleWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnChargeTransaction = OnChargeHandler<MultiTokenCurrencyAdapter<Runtime>, ToAuthor<Runtime>, ThreeCurrencyOnChargeAdapter<MultiTokenCurrencyAdapter<Runtime>, ToAuthor<Runtime>, MgxTokenId, RelayTokenId, TurTokenId, ConstU128<{ common_runtime::constants::fee::RELAY_MGX_SCALE_FACTOR }>, ConstU128<{ common_runtime::constants::fee::TUR_MGR_SCALE_FACTOR }>, Foo<Runtime>>, Pallet<Runtime>>
type OnChargeTransaction = OnChargeHandler<MultiTokenCurrencyAdapter<Runtime>, ToAuthor<Runtime>, ThreeCurrencyOnChargeAdapter<MultiTokenCurrencyAdapter<Runtime>, ToAuthor<Runtime>, MgxTokenId, RelayTokenId, TurTokenId, ConstU128<{ common_runtime::constants::fee::RELAY_MGX_SCALE_FACTOR }>, ConstU128<{ common_runtime::constants::fee::TUR_MGR_SCALE_FACTOR }>, Foo<Runtime>>, Pallet<Runtime>>
§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
§type WeightToFee = WeightToFee
type WeightToFee = WeightToFee
§type FeeMultiplierUpdate = ConstFeeMultiplier<ConstFeeMultiplierValue>
type FeeMultiplierUpdate = ConstFeeMultiplier<ConstFeeMultiplierValue>
§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read moresource§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type MaintenanceStatusProvider = Pallet<Runtime>
type ActivationReservesProvider = Pallet<Runtime>
type Currency = MultiTokenCurrencyAdapter<Runtime>
type NativeCurrencyId = MgxTokenId
type TreasuryPalletId = <Runtime as Config<()>>::PalletId
type BnbTreasurySubAccDerive = BnbTreasurySubAccDerive
type PoolFeePercentage = ConstU128<20>
type TreasuryFeePercentage = ConstU128<5>
type BuyAndBurnFeePercentage = ConstU128<5>
type LiquidityMiningRewards = Pallet<Runtime>
type VestingProvider = Pallet<Runtime>
type DisallowedPools = Pallet<Runtime>
type DisabledTokens = AssetRegisterFilter<Runtime>
type AssetMetadataMutation = AssetMetadataMutation<Runtime>
type WeightInfo = ModuleWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
§type ValidatorIdOf = ConvertInto
type ValidatorIdOf = ConvertInto
§type ShouldEndSession = Pallet<Runtime>
type ShouldEndSession = Pallet<Runtime>
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
ShouldEndSession
, yet, it gives a best effort
estimate. It is helpful to implement EstimateNextNewSession
.§type SessionManager = Pallet<Runtime>
type SessionManager = Pallet<Runtime>
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
§type Keys = SessionKeys
type Keys = SessionKeys
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type SovereignOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SovereignOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type Currency = CurrencyAdapter<Runtime, MgxTokenId>
type Currency = CurrencyAdapter<Runtime, MgxTokenId>
§type ProxyType = ProxyType
type ProxyType = ProxyType
IsProxyable
fitler.
The instance filter determines whether a given call may be proxied under this type. Read more§type ProxyDepositBase = ProxyDepositBase
type ProxyDepositBase = ProxyDepositBase
§type ProxyDepositFactor = ProxyDepositFactor
type ProxyDepositFactor = ProxyDepositFactor
§type MaxProxies = ConstU32<32>
type MaxProxies = ConstU32<32>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxPending = ConstU32<32>
type MaxPending = ConstU32<32>
§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
§type AnnouncementDepositBase = AnnouncementDepositBase
type AnnouncementDepositBase = AnnouncementDepositBase
§type AnnouncementDepositFactor = AnnouncementDepositFactor
type AnnouncementDepositFactor = AnnouncementDepositFactor
source§impl Config for Runtime
impl Config for Runtime
§type BaseCallFilter = Everything
type BaseCallFilter = Everything
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 RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The ubiquitous origin type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated dispatch type that is available for extrinsics.
§type Hashing = BlakeTwo256
type Hashing = BlakeTwo256
The hashing algorithm used.
§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
The block type.
§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 RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§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 an index of this module in the runtime.
§type AccountData = ()
type AccountData = ()
The data to be stored in an account.
§type OnNewAccount = ()
type OnNewAccount = ()
What to do if a new account is created.
§type OnKilledAccount = ()
type OnKilledAccount = ()
What to do if an account is fully reaped from the system.
§type SystemWeightInfo = ModuleWeight<Runtime>
type SystemWeightInfo = ModuleWeight<Runtime>
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 OnSetCode = ParachainSetCode<Runtime>
type OnSetCode = ParachainSetCode<Runtime>
The action to take on a Runtime Upgrade
§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
type XcmExecutor = XcmExecutor<XcmConfig>
source§impl Config for Runtime
impl Config for Runtime
§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
§type EventHandler = Pallet<Runtime>
type EventHandler = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
type DisallowedInBatch = DisallowedInBatch<Runtime>
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type Balance = u128
type Balance = u128
§type CurrencyId = u32
type CurrencyId = u32
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
§type ExistentialDeposits = ExistentialDeposits
type ExistentialDeposits = ExistentialDeposits
type MaxLocks = MaxLocks
type DustRemovalWhitelist = DustRemovalWhitelist<TreasuryAccountIdOf<Runtime>>
§type CurrencyHooks = ()
type CurrencyHooks = ()
§type MaxReserves = ()
type MaxReserves = ()
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type CurrencyId = u32
type CurrencyId = u32
§type CurrencyIdConvert = TokenToMultiLocation<Runtime>
type CurrencyIdConvert = TokenToMultiLocation<Runtime>
T::CurrencyId
to MultiLocation
.§type AccountIdToMultiLocation = AccountIdToMultiLocation
type AccountIdToMultiLocation = AccountIdToMultiLocation
T::AccountId
to MultiLocation
.§type SelfLocation = SelfLocation<Runtime>
type SelfLocation = SelfLocation<Runtime>
§type MinXcmFee = ParachainMinFee
type MinXcmFee = ParachainMinFee
§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
§type MultiLocationsFilter = Everything
type MultiLocationsFilter = Everything
§type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
§type BaseXcmWeight = BaseXcmWeight
type BaseXcmWeight = BaseXcmWeight
§type UniversalLocation = UniversalLocation<Runtime>
type UniversalLocation = UniversalLocation<Runtime>
§type MaxAssetsForTransfer = MaxAssetsForTransfer
type MaxAssetsForTransfer = MaxAssetsForTransfer
§type ReserveProvider = AbsoluteReserveProvider
type ReserveProvider = AbsoluteReserveProvider
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, ()>
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, ()>
MultiLocation
which exists as an interior location within this chain’s XCM context.§type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
§type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
MultiLocation
which exists as an interior location
within this chain’s XCM context.§type XcmExecuteFilter = Nothing
type XcmExecuteFilter = Nothing
XcmExecutor
must pass.§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
§type XcmTeleportFilter = Nothing
type XcmTeleportFilter = Nothing
§type XcmReserveTransferFilter = Everything
type XcmReserveTransferFilter = Everything
§type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
§type UniversalLocation = UniversalLocation<Runtime>
type UniversalLocation = UniversalLocation<Runtime>
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
Origin
type.§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Call
type.const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32
§type AdvertisedXcmVersion = CurrentXcmVersion
type AdvertisedXcmVersion = CurrentXcmVersion
pallet_xcm::CurrentXcmVersion
.§type Currency = CurrencyAdapter<Runtime, MgxTokenId>
type Currency = CurrencyAdapter<Runtime, MgxTokenId>
§type CurrencyMatcher = ()
type CurrencyMatcher = ()
MultiAsset
matcher for Currency
.§type TrustedLockers = ()
type TrustedLockers = ()
§type SovereignAccountOf = (ParentIsPreset<<Runtime as Config>::AccountId>, SiblingParachainConvertsVia<Sibling, <Runtime as Config>::AccountId>, AccountId32Aliases<RelayNetwork, <Runtime as Config>::AccountId>, Account32Hash<RelayNetwork, <Runtime as Config>::AccountId>)
type SovereignAccountOf = (ParentIsPreset<<Runtime as Config>::AccountId>, SiblingParachainConvertsVia<Sibling, <Runtime as Config>::AccountId>, AccountId32Aliases<RelayNetwork, <Runtime as Config>::AccountId>, Account32Hash<RelayNetwork, <Runtime as Config>::AccountId>)
AccountId
value from a MultiLocation
, useful for handling asset locks.§type MaxLockers = ConstU32<8>
type MaxLockers = ConstU32<8>
§type WeightInfo = TestWeightInfo
type WeightInfo = TestWeightInfo
§type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxRemoteLockConsumers = ConstU32<0>
type MaxRemoteLockConsumers = ConstU32<0>
§type RemoteLockConsumerIdentifier = ()
type RemoteLockConsumerIdentifier = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type MaxCuratedTokens = MaxCuratedTokens
type Tokens = MultiTokenCurrencyAdapter<Runtime>
type PoolReservesProvider = Pallet<Runtime>
type NativeTokenId = MgxTokenId
type WeightInfo = ModuleWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = Public
type AuthorityId = Public
§type DisabledValidators = ()
type DisabledValidators = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type AllowMultipleBlocksPerSlot = ConstBool<false>
type AllowMultipleBlocksPerSlot = ConstBool<false>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type CustomMetadata = CustomMetadata
type CustomMetadata = CustomMetadata
§type AuthorityOrigin = AssetAuthority<Runtime>
type AuthorityOrigin = AssetAuthority<Runtime>
§type AssetProcessor = SequentialIdWithCreation<Runtime>
type AssetProcessor = SequentialIdWithCreation<Runtime>
§type WeightInfo = ModuleWeight<Runtime>
type WeightInfo = ModuleWeight<Runtime>
§type StringLimit = StringLimit
type StringLimit = StringLimit
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type MaintenanceStatusProvider = Pallet<Runtime>
§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
§type ChannelInfo = Pallet<Runtime>
type ChannelInfo = Pallet<Runtime>
§type VersionWrapper = ()
type VersionWrapper = ()
Xcm
into a VersionedXcm
.§type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<Runtime as Config>::AccountId>, SiblingParachainConvertsVia<Sibling, <Runtime as Config>::AccountId>, AccountId32Aliases<RelayNetwork, <Runtime as Config>::AccountId>, Account32Hash<RelayNetwork, <Runtime as Config>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin<Runtime>, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<Runtime as Config>::AccountId>, SiblingParachainConvertsVia<Sibling, <Runtime as Config>::AccountId>, AccountId32Aliases<RelayNetwork, <Runtime as Config>::AccountId>, Account32Hash<RelayNetwork, <Runtime as Config>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin<Runtime>, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
MultiLocation
origin to a
superuser origin.§type WeightInfo = ()
type WeightInfo = ()
§type PriceForSiblingDelivery = ()
type PriceForSiblingDelivery = ()
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, 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, ()>, 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
source§fn execute_block(block: Block)
fn execute_block(block: Block)
source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
RuntimeBlock
type.source§impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn metadata() -> OpaqueMetadata
fn metadata() -> OpaqueMetadata
source§fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
source§impl MetamaskSignatureRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl MetamaskSignatureRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, ()>, 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, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl PartialEq<Runtime> for Runtime
impl PartialEq<Runtime> for Runtime
source§impl ProofOfStakeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, u32, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl ProofOfStakeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, u32, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
fn calculate_native_rewards_amount( user: AccountId, liquidity_asset_id: TokenId ) -> Balance
fn calculate_3rdparty_rewards_amount( user: AccountId, liquidity_asset_id: TokenId, reward_asset_id: TokenId ) -> Balance
fn calculate_3rdparty_rewards_all( user: AccountId ) -> Vec<(TokenId, TokenId, Balance)>
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, 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, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash
) -> TransactionValidity
fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash ) -> TransactionValidity
source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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
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
source§impl VerApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl VerApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn get_signer(tx: <Block as BlockT>::Extrinsic) -> Option<(AccountId32, u32)>
fn get_signer(tx: <Block as BlockT>::Extrinsic) -> Option<(AccountId32, u32)>
source§fn is_storage_migration_scheduled() -> bool
fn is_storage_migration_scheduled() -> bool
source§fn store_seed(seed: H256)
fn store_seed(seed: H256)
fn get_previous_block_txs() -> Vec<Vec<u8>>
fn pop_txs(count: u64) -> Vec<Vec<u8>>
fn create_enqueue_txs_inherent( txs: Vec<<Block as BlockT>::Extrinsic> ) -> <Block as BlockT>::Extrinsic
fn can_enqueue_txs() -> bool
fn start_prevalidation()
fn account_extrinsic_dispatch_weight( consumed: ConsumedWeight, tx: <Block as BlockT>::Extrinsic ) -> Result<ConsumedWeight, ()>
source§impl VerNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, 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 VerNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, 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
source§fn enqueued_txs_count(acc: AccountId) -> u64
fn enqueued_txs_count(acc: AccountId) -> u64
source§impl XykApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, u32, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl XykApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, u32, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
fn calculate_sell_price( input_reserve: Balance, output_reserve: Balance, sell_amount: Balance ) -> Balance
fn calculate_buy_price( input_reserve: Balance, output_reserve: Balance, buy_amount: Balance ) -> Balance
fn calculate_sell_price_id( sold_token_id: TokenId, bought_token_id: TokenId, sell_amount: Balance ) -> Balance
fn calculate_buy_price_id( sold_token_id: TokenId, bought_token_id: TokenId, buy_amount: Balance ) -> Balance
fn get_burn_amount( first_asset_id: TokenId, second_asset_id: TokenId, liquidity_asset_amount: Balance ) -> (Balance, Balance)
fn get_max_instant_burn_amount( user: AccountId, liquidity_asset_id: TokenId ) -> Balance
fn get_max_instant_unreserve_amount( user: AccountId, liquidity_asset_id: TokenId ) -> Balance
fn calculate_rewards_amount( user: AccountId, liquidity_asset_id: TokenId ) -> Balance
fn calculate_balanced_sell_amount( total_amount: Balance, reserve_amount: Balance ) -> Balance
fn get_liq_tokens_for_trading() -> Vec<TokenId>
fn is_sell_asset_lock_free( path: Vec<TokenId>, input_amount: Balance ) -> Option<bool>
fn is_buy_asset_lock_free( path: Vec<TokenId>, input_amount: Balance ) -> Option<bool>
fn get_tradeable_tokens() -> Vec<RpcAssetMetadata<TokenId>>
impl BootstrapBenchmarkingConfig for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StakingBenchmarkConfig for Runtime
impl StructuralEq for Runtime
impl StructuralPartialEq for Runtime
impl XykBenchmarkingConfig 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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<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<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> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,
self
to use its Display
implementation when
Debug
-formatted.source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> 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> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,
self
and passes that borrow into the pipe function. Read moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> Rwhere
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> Rwhere Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere Self: AsRef<U>, U: 'a + ?Sized, R: 'a,
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,
self
, then passes self.as_mut()
into the pipe
function.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>,
T
. Read moresource§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for 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
T
.