Struct framenode_runtime::Runtime
source · pub struct Runtime;
Implementations§
Trait Implementations§
source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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<<<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) -> Index
fn account_nonce(account: AccountId) -> Index
AccountId
.source§impl AssetsAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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, AssetId32<PredefinedAssetId>, u128, AssetSymbol, AssetName, u8, ContentSource, Description> for Runtime
impl AssetsAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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, AssetId32<PredefinedAssetId>, u128, AssetSymbol, AssetName, u8, ContentSource, Description> for Runtime
fn free_balance( account_id: AccountId, asset_id: AssetId ) -> Option<BalanceInfo<Balance>>
fn usable_balance( account_id: AccountId, asset_id: AssetId ) -> Option<BalanceInfo<Balance>>
fn total_balance( account_id: AccountId, asset_id: AssetId ) -> Option<BalanceInfo<Balance>>
fn total_supply(asset_id: AssetId) -> Option<BalanceInfo<Balance>>
fn list_asset_ids() -> Vec<AssetId> ⓘ
fn list_asset_infos( ) -> Vec<AssetInfo<AssetId, AssetSymbol, AssetName, u8, ContentSource, Description>> ⓘ
fn get_asset_info( asset_id: AssetId ) -> Option<AssetInfo<AssetId, AssetSymbol, AssetName, BalancePrecision, ContentSource, Description>>
fn get_asset_content_src(asset_id: AssetId) -> Option<ContentSource>
source§impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 configuration() -> BabeConfiguration
fn configuration() -> BabeConfiguration
source§fn current_epoch() -> Epoch
fn current_epoch() -> Epoch
source§fn current_epoch_start() -> Slot
fn current_epoch_start() -> Slot
source§fn next_epoch() -> Epoch
fn next_epoch() -> Epoch
source§fn generate_key_ownership_proof(
_slot_number: Slot,
authority_id: AuthorityId
) -> Option<OpaqueKeyOwnershipProof>
fn generate_key_ownership_proof( _slot_number: Slot, authority_id: AuthorityId ) -> Option<OpaqueKeyOwnershipProof>
slot
as parameter the current
implementations ignores this parameter and instead relies on this
method being called at the correct block height, i.e. any point at
which the epoch for the given slot is live on-chain. Future
implementations will instead use indexed data through an offchain
worker, not requiring older states to be available.source§fn submit_report_equivocation_unsigned_extrinsic(
equivocation_proof: EquivocationProof<<Block as BlockT>::Header>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Option<()>
fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Header>, key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>
generate_key_ownership_proof
). The
extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.source§impl BeefyApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 BeefyApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 validator_set() -> Option<ValidatorSet<BeefyId>>
fn validator_set() -> Option<ValidatorSet<BeefyId>>
source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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<<<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 finalize_block() -> <Block as BlockT>::Header
fn finalize_block() -> <Block as BlockT>::Header
source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic> ⓘ
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic> ⓘ
source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
source§impl BridgeProxyAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, AssetId32<PredefinedAssetId>> for Runtime
impl BridgeProxyAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, AssetId32<PredefinedAssetId>> for Runtime
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§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type DustRemoval = ()
type DustRemoval = ()
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
§type MaxLocks = MaxLocks
type MaxLocks = MaxLocks
§type MaxReserves = ()
type MaxReserves = ()
§type ReserveIdentifier = ()
type ReserveIdentifier = ()
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Symbol = SymbolName
type Symbol = SymbolName
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type OnNewSymbolsRelayedHook = Pallet<Runtime>
type OnNewSymbolsRelayedHook = Pallet<Runtime>
§type GetBandRateStalePeriod = GetBandRateStalePeriod
type GetBandRateStalePeriod = GetBandRateStalePeriod
§type GetBandRateStaleBlockPeriod = GetBandRateStaleBlockPeriod
type GetBandRateStaleBlockPeriod = GetBandRateStaleBlockPeriod
§type OnSymbolDisabledHook = Pallet<Runtime>
type OnSymbolDisabledHook = Pallet<Runtime>
§type MaxRelaySymbols = BandMaxRelaySymbols
type MaxRelaySymbols = BandMaxRelaySymbols
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ScoreProvider = Pallet<Runtime>
type ScoreProvider = Pallet<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
§type BagThresholds = BagThresholds
type BagThresholds = BagThresholds
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
type GetFee = GetFee
type EnsureDEXManager = Pallet<Runtime>
type EnsureTradingPairExists = Pallet<Runtime>
type DexInfoProvider = Pallet<Runtime>
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 = CouncilCollectiveMotionDuration
type MotionDuration = CouncilCollectiveMotionDuration
§type MaxProposals = CouncilCollectiveMaxProposals
type MaxProposals = CouncilCollectiveMaxProposals
§type MaxMembers = CouncilCollectiveMaxMembers
type MaxMembers = CouncilCollectiveMaxMembers
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
§type WeightInfo = CollectiveWeightInfo<Runtime>
type WeightInfo = CollectiveWeightInfo<Runtime>
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type MembershipInitialized = Pallet<Runtime, Instance2>
type MembershipInitialized = Pallet<Runtime, Instance2>
MembershipChanged
. If you need to do
something different on initialization, then you can change this accordingly.§type MembershipChanged = Pallet<Runtime, Instance2>
type MembershipChanged = Pallet<Runtime, Instance2>
§type MaxMembers = TechnicalCollectiveMaxMembers
type MaxMembers = TechnicalCollectiveMaxMembers
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config<Instance2> for Runtime
impl Config<Instance2> for Runtime
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
§type Proposal = RuntimeCall
type Proposal = RuntimeCall
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MotionDuration = TechnicalCollectiveMotionDuration
type MotionDuration = TechnicalCollectiveMotionDuration
§type MaxProposals = TechnicalCollectiveMaxProposals
type MaxProposals = TechnicalCollectiveMaxProposals
§type MaxMembers = TechnicalCollectiveMaxMembers
type MaxMembers = TechnicalCollectiveMaxMembers
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
§type WeightInfo = CollectiveWeightInfo<Runtime>
type WeightInfo = CollectiveWeightInfo<Runtime>
source§impl Config<Instance2> for Runtime
impl Config<Instance2> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type OriginOutput = CallOriginOutput<SubNetworkId, H256, ()>
§type Origin = RuntimeOrigin
type Origin = RuntimeOrigin
§type MessageId = MessageId
type MessageId = MessageId
type Hashing = Keccak256
§type CallFilter = SubstrateBridgeCallFilter
type CallFilter = SubstrateBridgeCallFilter
Event::MessageRejected
) is emitted.type WeightInfo = WeightInfo<Runtime>
source§impl Config<Instance2> for Runtime
impl Config<Instance2> for Runtime
type GetFee = GetFee
type EnsureDEXManager = Pallet<Runtime>
type EnsureTradingPairExists = Pallet<Runtime>
type DexInfoProvider = Pallet<Runtime>
source§impl Config<Instance3> for Runtime
impl Config<Instance3> for Runtime
type GetFee = GetFee
type EnsureDEXManager = Pallet<Runtime>
type EnsureTradingPairExists = Pallet<Runtime>
type DexInfoProvider = Pallet<Runtime>
source§impl Config<Instance4> for Runtime
impl Config<Instance4> for Runtime
type GetFee = GetFee
type EnsureDEXManager = Pallet<Runtime>
type EnsureTradingPairExists = Pallet<Runtime>
type DexInfoProvider = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type CurrencyId = AssetId32<PredefinedAssetId>
type CurrencyId = AssetId32<PredefinedAssetId>
§type WeightInfo = ()
type WeightInfo = ()
§type ExistentialDeposits = ExistentialDeposits
type ExistentialDeposits = ExistentialDeposits
§type CurrencyHooks = ()
type CurrencyHooks = ()
type MaxLocks = ()
§type MaxReserves = ()
type MaxReserves = ()
§type ReserveIdentifier = ()
type ReserveIdentifier = ()
type DustRemovalWhitelist = Everything
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type OutboundChannel = Pallet<Runtime>
type CallOrigin = EnsureAccount<CallOriginOutput<SubNetworkId, H256, ()>>
type MaxPeers = BridgeMaxPeers
§type UnsignedPriority = DataSignerPriority
type UnsignedPriority = DataSignerPriority
§type UnsignedLongevity = DataSignerLongevity
type UnsignedLongevity = DataSignerLongevity
type WeightInfo = WeightInfo<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 = ()
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type PalletId = ElectionsModuleId
type PalletId = ElectionsModuleId
§type ChangeMembers = Pallet<Runtime, Instance1>
type ChangeMembers = Pallet<Runtime, Instance1>
§type InitializeMembers = Pallet<Runtime, Instance1>
type InitializeMembers = Pallet<Runtime, Instance1>
§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
u64
but is allowed to be sensibly lossy.§type CandidacyBond = ElectionsCandidacyBond
type CandidacyBond = ElectionsCandidacyBond
§type VotingBondBase = ElectionsVotingBondBase
type VotingBondBase = ElectionsVotingBondBase
§type VotingBondFactor = ElectionsVotingBondFactor
type VotingBondFactor = ElectionsVotingBondFactor
§type LoserCandidate = OnUnbalancedDemocracySlash<Runtime>
type LoserCandidate = OnUnbalancedDemocracySlash<Runtime>
§type KickedMember = OnUnbalancedDemocracySlash<Runtime>
type KickedMember = OnUnbalancedDemocracySlash<Runtime>
§type DesiredMembers = ElectionsDesiredMembers
type DesiredMembers = ElectionsDesiredMembers
§type DesiredRunnersUp = ElectionsDesiredRunnersUp
type DesiredRunnersUp = ElectionsDesiredRunnersUp
§type TermDuration = ElectionsTermDuration
type TermDuration = ElectionsTermDuration
§type MaxVoters = ElectionsMaxVoters
type MaxVoters = ElectionsMaxVoters
§type MaxCandidates = ElectionsMaxCandidates
type MaxCandidates = ElectionsMaxCandidates
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type Hashing = Keccak256
type Hash = <Keccak256 as Hash>::Output
type Randomness = RandomnessFromTwoEpochsAgo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
const PSWAP_PER_DAY: Balance = 2_500_000_000_000_000_000_000_000u128
const REFRESH_FREQUENCY: BlockNumber = 1_200u32
const VESTING_COEFF: u32 = 3u32
source§const VESTING_FREQUENCY: BlockNumber = 3_600u32
const VESTING_FREQUENCY: BlockNumber = 3_600u32
const BLOCKS_PER_DAY: BlockNumber = 14_400u32
type RuntimeCall = RuntimeCall
type SchedulerOriginCaller = OriginCaller
type Scheduler = Pallet<Runtime>
type RewardDoublingAssets = FarmingRewardDoublingAssets
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
source§const MIN_XOR: Balance = 700_000_000_000_000u128
const MIN_XOR: Balance = 700_000_000_000_000u128
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type PairSwapAction = PairSwapAction<AssetId32<PredefinedAssetId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>>
type DepositLiquidityAction = DepositLiquidityAction<AssetId32<PredefinedAssetId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>>
type WithdrawLiquidityAction = WithdrawLiquidityAction<AssetId32<PredefinedAssetId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>>
type PolySwapAction = PolySwapAction<AssetId32<PredefinedAssetId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>>
type EnsureDEXManager = Pallet<Runtime>
type GetFee = GetFee
type OnPoolCreated = (Pallet<Runtime>, Pallet<Runtime>)
type OnPoolReservesChanged = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type XSTMarketInfo = Pallet<Runtime>
type GetTradingPairRestrictedFlag = GetTradingPairRestrictedFlag
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>, Pallet<Runtime>)
type EventHandler = (Pallet<Runtime>, Pallet<Runtime>)
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type LiquidityRegistry = Pallet<Runtime>
type GetNumSamples = GetNumSamples
type GetTechnicalAccountId = GetLiquidityProxyAccountId
type PrimaryMarketTBC = Pallet<Runtime>
type PrimaryMarketXST = Pallet<Runtime>
type SecondaryMarket = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type VestedRewardsPallet = Pallet<Runtime>
type GetADARAccountId = GetADARAccountId
type ADARCommissionRatioUpdateOrigin = EitherOfDiverse<EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
source§impl Config for Runtime
impl Config for Runtime
§type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
§type Keys = SessionKeys
type Keys = SessionKeys
§type ShouldEndSession = Pallet<Runtime>
type ShouldEndSession = Pallet<Runtime>
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
§type ValidatorIdOf = StashOf<Runtime>
type ValidatorIdOf = StashOf<Runtime>
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
ShouldEndSession
], yet, it gives a best effort
estimate. It is helpful to implement [EstimateNextNewSession
].§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type CallOrigin = EnsureAccount<CallOriginOutput<SubNetworkId, H256, ()>>
type OutboundChannel = Pallet<Runtime>
type MaxPeers = BridgeMaxPeers
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
const PSWAP_BURN_PERCENT: Percent = PSWAP_BURN_PERCENT
type RuntimeEvent = RuntimeEvent
type GetIncentiveAssetId = GetPswapAssetId
type GetXSTAssetId = GetXstAssetId
type LiquidityProxy = Pallet<Runtime>
type CompatBalance = u128
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency
type GetBurnUpdateFrequency = GetBurnUpdateFrequency
type GetTechnicalAccountId = GetPswapDistributionAccountId
type EnsureDEXManager = Pallet<Runtime>
type OnPswapBurnedAggregator = RuntimeOnPswapBurnedAggregator
type WeightInfo = SubstrateWeight<Runtime>
type GetParliamentAccountId = GetParliamentAccountId
type PoolXykPallet = Pallet<Runtime>
type BuyBackHandler = LiquidityProxyBuyBackHandler<Runtime, GetBuyBackDexId>
type DexInfoProvider = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type TechAssetId = TechAssetId<PredefinedAssetId>
type TechAssetId = TechAssetId<PredefinedAssetId>
§type TechAccountId = TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>
type TechAccountId = TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>
§type SwapAction = PolySwapAction<AssetId32<PredefinedAssetId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>>
type SwapAction = PolySwapAction<AssetId32<PredefinedAssetId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAccountId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, TechAssetId<PredefinedAssetId>, u32>>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type DepositBase = DepositBase
type DepositBase = DepositBase
§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
§type MaxSignatories = MaxSignatories
type MaxSignatories = MaxSignatories
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type OnNewValidatorSet = ()
type OnNewValidatorSet = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type CeresAssetId = CeresAssetId
type CeresAssetId = CeresAssetId
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type DemeterAssetId = DemeterAssetId
type DemeterAssetId = DemeterAssetId
source§const BLOCKS_PER_HOUR_AND_A_HALF: BlockNumber = 900u32
const BLOCKS_PER_HOUR_AND_A_HALF: BlockNumber = 900u32
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type MultiCurrency = Pallet<Runtime>
type MultiCurrency = Pallet<Runtime>
§type CurrencyBalance = u128
type CurrencyBalance = u128
Currency::Balance
type; we have this item to allow us to constrain it to
From<u64>
.§type ValTokenId = GetValAssetId
type ValTokenId = GetValAssetId
§type ValRewardCurve = ValRewardCurve
type ValRewardCurve = ValRewardCurve
§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
u64
but is allowed to be sensibly lossy. The u64
is used to communicate with the
[frame_election_provider_support
] crate which accepts u64 numbers and does operations
in 128.
Consequently, the backward convert is used convert the u128s from sp-elections back to a
[BalanceOf
].§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
§type BondingDuration = BondingDuration
type BondingDuration = BondingDuration
§type SlashDeferDuration = SlashDeferDuration
type SlashDeferDuration = SlashDeferDuration
§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>>
§type SessionInterface = Runtime
type SessionInterface = Runtime
§type NextNewSession = Pallet<Runtime>
type NextNewSession = Pallet<Runtime>
§type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
§type VoterList = Pallet<Runtime, ()>
type VoterList = Pallet<Runtime, ()>
§type ElectionProvider = Pallet<Runtime>
type ElectionProvider = Pallet<Runtime>
§type BenchmarkingConfig = StakingBenchmarkingConfig
type BenchmarkingConfig = StakingBenchmarkingConfig
§type MaxUnlockingChunks = ConstU32<32>
type MaxUnlockingChunks = ConstU32<32>
unlocking
chunks a [StakingLedger
] can
have. Effectively determines how many unique eras a staker may be
unbonding in. Read more§type OffendingValidatorsThreshold = OffendingValidatorsThreshold
type OffendingValidatorsThreshold = OffendingValidatorsThreshold
§type MaxNominations = MaxNominations
type MaxNominations = MaxNominations
§type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
§type OnStakerSlash = ()
type OnStakerSlash = ()
§type HistoryDepth = ConstU32<84>
type HistoryDepth = ConstU32<84>
§type TargetList = UseValidatorsMap<Runtime>
type TargetList = UseValidatorsMap<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type MessageStatusNotifier = Pallet<Runtime>
§type MaxMessagePayloadSize = BridgeMaxMessagePayloadSize
type MaxMessagePayloadSize = BridgeMaxMessagePayloadSize
§type MaxMessagesPerCommit = BridgeMaxMessagesPerCommit
type MaxMessagesPerCommit = BridgeMaxMessagesPerCommit
type AuxiliaryDigestHandler = Pallet<Runtime>
type AssetId = AssetId32<PredefinedAssetId>
type Balance = u128
type TimepointProvider = GenericTimepointProvider
type ThisNetworkId = ThisNetworkId
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type ExtraAccountId = [u8; 32]
type ExtraAssetRecordArg = AssetIdExtraAssetRecordArg<u32, LiquiditySourceType, [u8; 32]>
§type AssetId = AssetId32<PredefinedAssetId>
type AssetId = AssetId32<PredefinedAssetId>
§type GetBaseAssetId = GetBaseAssetId
type GetBaseAssetId = GetBaseAssetId
§type GetBuyBackAssetId = GetBuyBackAssetId
type GetBuyBackAssetId = GetBuyBackAssetId
GetBuyBackPercentage
] of [GetBuyBackSupplyAssets
] mints§type GetBuyBackSupplyAssets = GetBuyBackSupplyAssets
type GetBuyBackSupplyAssets = GetBuyBackSupplyAssets
GetBuyBackPercentage
] of minted amount of which will be used to buy-back and burn [GetBuyBackAssetId
]§type GetBuyBackPercentage = GetBuyBackPercentage
type GetBuyBackPercentage = GetBuyBackPercentage
GetBuyBackSupplyAssets
] that will be used to buy-back and burn [GetBuyBackAssetId
]§type GetBuyBackAccountId = GetBuyBackAccountId
type GetBuyBackAccountId = GetBuyBackAccountId
GetBuyBackAssetId
]§type GetBuyBackDexId = GetBuyBackDexId
type GetBuyBackDexId = GetBuyBackDexId
GetBuyBackAssetId
] through [BuyBackLiquidityProxy
]§type BuyBackLiquidityProxy = Pallet<Runtime>
type BuyBackLiquidityProxy = Pallet<Runtime>
GetBuyBackAssetId
] buy-back and burn§type GetTotalBalance = GetTotalBalance
type GetTotalBalance = GetTotalBalance
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type EpochDuration = EpochDuration
type EpochDuration = EpochDuration
§type ExpectedBlockTime = ExpectedBlockTime
type ExpectedBlockTime = ExpectedBlockTime
c
(where 1 - c
represents
the probability of a slot being empty).§type EpochChangeTrigger = ExternalTrigger
type EpochChangeTrigger = ExternalTrigger
§type DisabledValidators = Pallet<Runtime>
type DisabledValidators = Pallet<Runtime>
§type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
§type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
§type KeyOwnerProofSystem = Pallet<Runtime>
type KeyOwnerProofSystem = Pallet<Runtime>
§type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>
type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition.type WeightInfo = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type DepositBase = DepositBase
type DepositBase = DepositBase
§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
§type MaxSignatories = MaxSignatories
type MaxSignatories = MaxSignatories
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type MaximumWeight = SchedulerMaxWeight
type MaximumWeight = SchedulerMaxWeight
§type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxScheduledPerBlock = MaxScheduledPerBlock
type MaxScheduledPerBlock = MaxScheduledPerBlock
§type WeightInfo = ()
type WeightInfo = ()
§type OriginPrivilegeCmp = OriginPrivilegeCmp
type OriginPrivilegeCmp = OriginPrivilegeCmp
source§impl Config for Runtime
impl Config for Runtime
source§const BLOCKS_PER_DAY: BlockNumber = 14_400u32
const BLOCKS_PER_DAY: BlockNumber = 14_400u32
BLOCKS_PER_DAY
blockssource§const UPDATE_FREQUENCY: BlockNumber = 100u32
const UPDATE_FREQUENCY: BlockNumber = 100u32
source§const MAX_CHUNK_SIZE: usize = 100usize
const MAX_CHUNK_SIZE: usize = 100usize
source§const MAX_VESTING_RATIO: Percent = _
const MAX_VESTING_RATIO: Percent = _
source§const TIME_TO_SATURATION: BlockNumber = 26_280_000u32
const TIME_TO_SATURATION: BlockNumber = 26_280_000u32
MAX_VESTING_RATIO
source§const VAL_BURN_PERCENT: Percent = VAL_BURN_PERCENT
const VAL_BURN_PERCENT: Percent = VAL_BURN_PERCENT
type RuntimeEvent = RuntimeEvent
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
source§const BLOCKS_PER_ONE_DAY: BlockNumber = 14_400u32
const BLOCKS_PER_ONE_DAY: BlockNumber = 14_400u32
type RuntimeEvent = RuntimeEvent
§type CeresPerDay = CeresPerDay
type CeresPerDay = CeresPerDay
§type CeresAssetId = CeresAssetId
type CeresAssetId = CeresAssetId
§type MaximumCeresInStakingPool = MaximumCeresInStakingPool
type MaximumCeresInStakingPool = MaximumCeresInStakingPool
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnChargeTransaction = Pallet<Runtime>
type OnChargeTransaction = Pallet<Runtime>
§type WeightToFee = Pallet<Runtime>
type WeightToFee = Pallet<Runtime>
§type FeeMultiplierUpdate = ConstantFeeMultiplier
type FeeMultiplierUpdate = ConstantFeeMultiplier
§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more§type LengthToFee = ConstantMultiplier<u128, ConstU128<0>>
type LengthToFee = ConstantMultiplier<u128, ConstU128<0>>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type EstimateCallFee = Pallet<Runtime>
type EstimateCallFee = Pallet<Runtime>
§type UnsignedPhase = UnsignedPhase
type UnsignedPhase = UnsignedPhase
§type SignedMaxSubmissions = SignedMaxSubmissions
type SignedMaxSubmissions = SignedMaxSubmissions
§type SignedMaxRefunds = SignedMaxRefunds
type SignedMaxRefunds = SignedMaxRefunds
§type SignedRewardBase = SignedRewardBase
type SignedRewardBase = SignedRewardBase
§type SignedDepositBase = SignedDepositBase
type SignedDepositBase = SignedDepositBase
§type SignedDepositByte = SignedDepositByte
type SignedDepositByte = SignedDepositByte
§type SignedDepositWeight = ()
type SignedDepositWeight = ()
§type SignedMaxWeight = <<Runtime as Config>::MinerConfig as MinerConfig>::MaxWeight
type SignedMaxWeight = <<Runtime as Config>::MinerConfig as MinerConfig>::MaxWeight
§type MinerConfig = Runtime
type MinerConfig = Runtime
§type SlashHandler = ()
type SlashHandler = ()
§type RewardHandler = ()
type RewardHandler = ()
§type SignedPhase = SignedPhase
type SignedPhase = SignedPhase
§type BetterUnsignedThreshold = BetterUnsignedThreshold
type BetterUnsignedThreshold = BetterUnsignedThreshold
§type BetterSignedThreshold = ()
type BetterSignedThreshold = ()
§type OffchainRepeat = OffchainRepeat
type OffchainRepeat = OffchainRepeat
§type MinerTxPriority = NposSolutionPriority
type MinerTxPriority = NposSolutionPriority
§type DataProvider = Pallet<Runtime>
type DataProvider = Pallet<Runtime>
§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)>
§type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
§type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, ()>
type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, ()>
§type BenchmarkingConfig = ElectionBenchmarkConfig
type BenchmarkingConfig = ElectionBenchmarkConfig
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>>
§type WeightInfo = ()
type WeightInfo = ()
§type MaxElectingVoters = MaxElectingVoters
type MaxElectingVoters = MaxElectingVoters
§type MaxElectableTargets = MaxElectableTargets
type MaxElectableTargets = MaxElectableTargets
§type MaxWinners = MaxActiveValidators
type MaxWinners = MaxActiveValidators
ElectionProvider
implementation. Read moresource§impl Config for Runtime
impl Config for Runtime
type Symbol = SymbolName
type RuntimeEvent = RuntimeEvent
type WeightInfo = SubstrateWeight<Runtime>
type BandChainOracle = Pallet<Runtime, ()>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type Verifier = MultiVerifier
type Verifier = MultiVerifier
§type MessageDispatch = Pallet<Runtime, Instance2>
type MessageDispatch = Pallet<Runtime, Instance2>
§type UnsignedPriority = DataSignerPriority
type UnsignedPriority = DataSignerPriority
§type UnsignedLongevity = DataSignerLongevity
type UnsignedLongevity = DataSignerLongevity
§type MaxMessagePayloadSize = BridgeMaxMessagePayloadSize
type MaxMessagePayloadSize = BridgeMaxMessagePayloadSize
§type MaxMessagesPerCommit = BridgeMaxMessagesPerCommit
type MaxMessagesPerCommit = BridgeMaxMessagesPerCommit
type ThisNetworkId = ThisNetworkId
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type EnsureDEXManager = Pallet<Runtime>
type DexInfoProvider = Pallet<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type PeerId = TestAuthId
type PeerId = TestAuthId
type GetEthNetworkId = GetEthNetworkId
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type WeightToFee = Pallet<Runtime>
type MessageStatusNotifier = Pallet<Runtime>
type BridgeAssetLockChecker = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type ExternalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type ExternalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
external_propose
call condition
§type ExternalMajorityOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type ExternalMajorityOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
A super-majority can have the next scheduled referendum be a straight majority-carries vote.
external_propose_majority
call condition
§type ExternalDefaultOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type ExternalDefaultOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
external_propose_default
call condition
§type FastTrackOrigin = EitherOfDiverse<EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type FastTrackOrigin = EitherOfDiverse<EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote be tabled immediately and with a shorter voting/enactment period.
§type CancellationOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CancellationOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
To cancel a proposal which has been passed, 2/3 of the council must agree to it.
emergency_cancel
call condition.
§type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
veto_external
- vetoes and blacklists the external proposal hash
type RuntimeEvent = RuntimeEvent
§type EnactmentPeriod = DemocracyEnactmentPeriod
type EnactmentPeriod = DemocracyEnactmentPeriod
§type LaunchPeriod = DemocracyLaunchPeriod
type LaunchPeriod = DemocracyLaunchPeriod
§type VotingPeriod = DemocracyVotingPeriod
type VotingPeriod = DemocracyVotingPeriod
§type MinimumDeposit = DemocracyMinimumDeposit
type MinimumDeposit = DemocracyMinimumDeposit
§type InstantOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type InstantOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
§type InstantAllowed = DemocracyInstantAllowed
type InstantAllowed = DemocracyInstantAllowed
false
, others may want to condition it on things such
as an upgrade having happened recently.§type FastTrackVotingPeriod = DemocracyFastTrackVotingPeriod
type FastTrackVotingPeriod = DemocracyFastTrackVotingPeriod
§type CancelProposalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CancelProposalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
§type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type CooloffPeriod = DemocracyCooloffPeriod
type CooloffPeriod = DemocracyCooloffPeriod
§type Slash = OnUnbalancedDemocracySlash<Runtime>
type Slash = OnUnbalancedDemocracySlash<Runtime>
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type MaxVotes = DemocracyMaxVotes
type MaxVotes = DemocracyMaxVotes
type WeightInfo = DemocracyWeightInfo
§type MaxProposals = DemocracyMaxProposals
type MaxProposals = DemocracyMaxProposals
§type VoteLockingPeriod = DemocracyEnactmentPeriod
type VoteLockingPeriod = DemocracyEnactmentPeriod
§type MaxDeposits = DemocracyMaxDeposits
type MaxDeposits = DemocracyMaxDeposits
§type MaxBlacklisted = DemocracyMaxBlacklisted
type MaxBlacklisted = DemocracyMaxBlacklisted
source§impl Config for Runtime
impl Config for Runtime
type ReservesAcc = ReferralsReservesAcc
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
source§const BLOCKS_PER_ONE_DAY: BlockNumber = 14_400u32
const BLOCKS_PER_ONE_DAY: BlockNumber = 14_400u32
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type DemeterFarmingPlatform = Pallet<Runtime>
type DemeterFarmingPlatform = Pallet<Runtime>
§type CeresAssetId = CeresAssetId
type CeresAssetId = CeresAssetId
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type MultiCurrency = Pallet<Runtime>
type NativeCurrency = BasicCurrencyAdapter<Runtime, Pallet<Runtime, ()>, i128, u32>
type GetNativeCurrencyId = <Runtime as Config>::GetBaseAssetId
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type OutboundChannel = Pallet<Runtime>
type CallOrigin = EnsureAccount<CallOriginOutput<SubNetworkId, H256, ()>>
type MessageStatusNotifier = Pallet<Runtime>
type AssetRegistry = Pallet<Runtime>
type AccountIdConverter = Identity
type AssetIdConverter = ConvertInto
type BalancePrecisionConverter = BalancePrecisionConverter
type BridgeAssetLocker = Pallet<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
§type OnOffenceHandler = Pallet<Runtime>
type OnOffenceHandler = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type BlockLength = BlockLength
type BlockLength = BlockLength
Maximum size of all encoded transactions (in bytes) that are allowed in one block.
§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 BlockNumber = u32
type BlockNumber = u32
The index type for blocks.
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The identifier used to distinguish between accounts.
§type Lookup = IdentityLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type Lookup = IdentityLookup<<<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 AccountData = AccountData<u128>
type AccountData = AccountData<u128>
Converts a module to an index of this module in the runtime.
§type BaseCallFilter = BaseCallFilter
type BaseCallFilter = BaseCallFilter
§type BlockWeights = BlockWeights
type BlockWeights = BlockWeights
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
§type OnNewAccount = ()
type OnNewAccount = ()
§type OnKilledAccount = ()
type OnKilledAccount = ()
type SystemWeightInfo = ()
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
§type MaxConsumers = ConstU32<65536>
type MaxConsumers = ConstU32<65536>
source§impl Config for Runtime
impl Config for Runtime
type MockLiquiditySource = Pallet<Runtime, Instance1>
type MockLiquiditySource2 = Pallet<Runtime, Instance2>
type MockLiquiditySource3 = Pallet<Runtime, Instance3>
type MockLiquiditySource4 = Pallet<Runtime, Instance4>
type MulticollateralBondingCurvePool = Pallet<Runtime>
type XYKPool = Pallet<Runtime>
type XSTPool = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = Public
type AuthorityId = Public
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ValidatorSet = Pallet<Runtime>
type ValidatorSet = Pallet<Runtime>
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
§type ReportUnresponsiveness = Pallet<Runtime>
type ReportUnresponsiveness = Pallet<Runtime>
§type UnsignedPriority = ImOnlineUnsignedPriority
type UnsignedPriority = ImOnlineUnsignedPriority
§type WeightInfo = ()
type WeightInfo = ()
§type MaxPeerInHeartbeats = MaxPeerInHeartbeats
type MaxPeerInHeartbeats = MaxPeerInHeartbeats
ReceivedHeartbeats
§type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize
PeerId
and MultiAddr
that are coming
from the hearbeatsource§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>
§type FullIdentificationOf = ExposureOf<Runtime>
type FullIdentificationOf = ExposureOf<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type XorCurrency = Pallet<Runtime, ()>
type XorCurrency = Pallet<Runtime, ()>
type ReferrerWeight = ReferrerWeight
type XorBurnedWeight = XorBurnedWeight
type XorIntoValBurnedWeight = XorIntoValBurnedWeight
type BuyBackXSTPercent = BuyBackXSTPercent
type XorId = GetXorAssetId
type ValId = GetValAssetId
type XstId = GetXstAssetId
type DEXIdValue = DEXIdValue
type LiquidityProxy = Pallet<Runtime>
type OnValBurned = ValBurnedAggregator<Pallet<Runtime>>
type CustomFees = CustomFees
type GetTechnicalAccountId = GetXorFeeAccountId
type SessionManager = Pallet<Runtime>
type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type WithdrawFee = WithdrawFee
type BuyBackHandler = LiquidityProxyBuyBackHandler<Runtime, GetBuyBackDexId>
type ReferrerAccountProvider = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type LiquidityProxy = Pallet<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type ERC20App = ()
type EthApp = ()
type HashiBridge = Pallet<Runtime>
type ParachainApp = Pallet<Runtime>
type TimepointProvider = GenericTimepointProvider
type ReferencePriceProvider = ReferencePriceProvider<Runtime, GetReferenceDexId, GetReferenceAssetId>
type ManagerOrigin = EitherOfDiverse<EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type KeyOwnerProofSystem = Pallet<Runtime>
type KeyOwnerProofSystem = Pallet<Runtime>
§type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
§type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
§type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity, GrandpaEquivocationOffence<<Runtime as Config>::KeyOwnerIdentification>>
type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity, GrandpaEquivocationOffence<<Runtime as Config>::KeyOwnerIdentification>>
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition.§type WeightInfo = ()
type WeightInfo = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type MaxSetIdSessionEntries = MaxSetIdSessionEntries
type MaxSetIdSessionEntries = MaxSetIdSessionEntries
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type LiquidityProxy = Pallet<Runtime>
type EnsureDEXManager = Pallet<Runtime>
type EnsureTradingPairExists = Pallet<Runtime>
type PriceToolsPallet = Pallet<Runtime>
type VestedRewardsPallet = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type BuyBackHandler = LiquidityProxyBuyBackHandler<Runtime, GetBuyBackDexId>
type BuyBackXSTPercent = GetTBCBuyBackXSTPercent
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type CeresAssetId = CeresAssetId
type CeresAssetId = CeresAssetId
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
const BLOCKS_PER_DAY: BlockNumber = 14_400u32
type RuntimeEvent = RuntimeEvent
type GetBondingCurveRewardsAccountId = GetMbcPoolRewardsAccountId
type GetFarmingRewardsAccountId = GetFarmingRewardsAccountId
§type GetMarketMakerRewardsAccountId = GetMarketMakerRewardsAccountId
type GetMarketMakerRewardsAccountId = GetMarketMakerRewardsAccountId
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
()
if not
needed.§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
source§const MILLISECONDS_PER_DAY: Moment = 86_400_000u64
const MILLISECONDS_PER_DAY: Moment = 86_400_000u64
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type GetSyntheticBaseAssetId = GetXstPoolConversionAssetId
type GetSyntheticBaseAssetId = GetXstPoolConversionAssetId
type GetXSTPoolPermissionedTechAccountId = GetXSTPoolPermissionedTechAccountId
type EnsureDEXManager = Pallet<Runtime>
type PriceToolsPallet = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type Oracle = Pallet<Runtime>
type TradingPairSourceManager = Pallet<Runtime>
§type GetSyntheticBaseBuySellLimit = GetSyntheticBaseBuySellLimit
type GetSyntheticBaseBuySellLimit = GetSyntheticBaseBuySellLimit
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = PreimageWeightInfo
type WeightInfo = PreimageWeightInfo
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type BaseDeposit = PreimageBaseDeposit
type BaseDeposit = PreimageBaseDeposit
§type ByteDeposit = PreimageByteDeposit
type ByteDeposit = PreimageByteDeposit
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§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 = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type 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>>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
source§const MIN_DURATION_OF_POLL: Moment = 14_400_000u64
const MIN_DURATION_OF_POLL: Moment = 14_400_000u64
source§const MAX_DURATION_OF_POLL: Moment = 604_800_000u64
const MAX_DURATION_OF_POLL: Moment = 604_800_000u64
§type StringLimit = StringLimit
type StringLimit = StringLimit
§type OptionsLimit = OptionsLimit
type OptionsLimit = OptionsLimit
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type HermesAssetId = HermesAssetId
type HermesAssetId = HermesAssetId
§type TitleLimit = TitleLimit
type TitleLimit = TitleLimit
§type DescriptionLimit = DescriptionLimit
type DescriptionLimit = DescriptionLimit
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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<<<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<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,
index: 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, index: Index ) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
source§impl DEXAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, AssetId32<PredefinedAssetId>, u32, u128, LiquiditySourceType, SwapVariant> for Runtime
impl DEXAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, AssetId32<PredefinedAssetId>, u32, u128, LiquiditySourceType, SwapVariant> for Runtime
fn quote( dex_id: DEXId, liquidity_source_type: LiquiditySourceType, input_asset_id: AssetId, output_asset_id: AssetId, desired_input_amount: BalanceWrapper, swap_variant: SwapVariant ) -> Option<SwapOutcomeInfo<Balance>>
fn can_exchange( dex_id: DEXId, liquidity_source_type: LiquiditySourceType, input_asset_id: AssetId, output_asset_id: AssetId ) -> bool
fn list_supported_sources() -> Vec<LiquiditySourceType> ⓘ
source§impl DEXManagerAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u32> for Runtime
impl DEXManagerAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u32> for Runtime
source§impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 EthBridgeRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H256, SignatureParams, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, AssetKind, AssetId32<PredefinedAssetId>, H160, OffchainRequest<Runtime>, RequestStatus, OutgoingRequestEncoded, u32, u8> for Runtime
impl EthBridgeRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H256, SignatureParams, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, AssetKind, AssetId32<PredefinedAssetId>, H160, OffchainRequest<Runtime>, RequestStatus, OutgoingRequestEncoded, u32, u8> for Runtime
fn get_requests( hashes: Vec<H256>, network_id: Option<NetworkId>, redirect_finished_load_requests: bool ) -> Result<Vec<(OffchainRequest<Runtime>, RequestStatus)>, DispatchError>
fn get_approved_requests( hashes: Vec<H256>, network_id: Option<NetworkId> ) -> Result<Vec<(OutgoingRequestEncoded, Vec<SignatureParams>)>, DispatchError>
fn get_approvals( hashes: Vec<H256>, network_id: Option<NetworkId> ) -> Result<Vec<Vec<SignatureParams>>, DispatchError>
fn get_account_requests( account_id: AccountId, status_filter: Option<RequestStatus> ) -> Result<Vec<(NetworkId, H256)>, DispatchError>
fn get_registered_assets( network_id: Option<NetworkId> ) -> Result<Vec<(AssetKind, (AssetId, BalancePrecision), Option<(H160, BalancePrecision)>)>, DispatchError>
source§impl FarmingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, AssetId32<PredefinedAssetId>> for Runtime
impl FarmingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, AssetId32<PredefinedAssetId>> 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>
NodeBlock
type.source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
RuntimeBlock
type.source§impl GetTotalBalance<Runtime> for GetTotalBalance
impl GetTotalBalance<Runtime> for GetTotalBalance
source§impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 current_set_id() -> SetId
fn current_set_id() -> SetId
source§fn submit_report_equivocation_unsigned_extrinsic(
equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Option<()>
fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>, key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>
generate_key_ownership_proof
). The
extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.source§fn generate_key_ownership_proof(
_set_id: SetId,
authority_id: GrandpaId
) -> Option<OpaqueKeyOwnershipProof>
fn generate_key_ownership_proof( _set_id: SetId, authority_id: GrandpaId ) -> Option<OpaqueKeyOwnershipProof>
set_id
as parameter the current
implementations ignore this parameter and instead rely on this
method being called at the correct block height, i.e. any point at
which the given set id is live on-chain. Future implementations will
instead use indexed data through an offchain worker, not requiring
older states to be available.source§impl IrohaMigrationAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 IrohaMigrationAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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
fn needs_migration(iroha_address: String) -> bool
source§impl LeafProviderAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 LeafProviderAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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
fn latest_digest() -> Option<AuxiliaryDigest>
source§impl LiquidityProxyAPIV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u32, AssetId32<PredefinedAssetId>, u128, SwapVariant, LiquiditySourceType, FilterMode> for Runtime
impl LiquidityProxyAPIV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u32, AssetId32<PredefinedAssetId>, u128, SwapVariant, LiquiditySourceType, FilterMode> for Runtime
fn quote( dex_id: DEXId, input_asset_id: AssetId, output_asset_id: AssetId, amount: BalanceWrapper, swap_variant: SwapVariant, selected_source_types: Vec<LiquiditySourceType>, filter_mode: FilterMode ) -> Option<SwapOutcomeInfo<Balance, AssetId>>
fn is_path_available( dex_id: DEXId, input_asset_id: AssetId, output_asset_id: AssetId ) -> bool
fn list_enabled_sources_for_path( dex_id: DEXId, input_asset_id: AssetId, output_asset_id: AssetId ) -> Vec<LiquiditySourceType> ⓘ
source§impl MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 MinerConfig for Runtime
impl MinerConfig for Runtime
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
§type MaxLength = OffchainSolutionLengthLimit
type MaxLength = OffchainSolutionLengthLimit
§type MaxWeight = OffchainSolutionWeightLimit
type MaxWeight = OffchainSolutionWeightLimit
§type Solution = NposCompactSolution24
type Solution = NposCompactSolution24
§type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
source§impl MmrApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H256, u32> for Runtime
impl MmrApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H256, u32> for Runtime
source§fn mmr_leaf_count() -> Result<LeafIndex, Error>
fn mmr_leaf_count() -> Result<LeafIndex, Error>
source§fn generate_proof(
_block_numbers: Vec<BlockNumber>,
_best_known_block_number: Option<BlockNumber>
) -> Result<(Vec<EncodableOpaqueLeaf>, Proof<Hash>), Error>
fn generate_proof( _block_numbers: Vec<BlockNumber>, _best_known_block_number: Option<BlockNumber> ) -> Result<(Vec<EncodableOpaqueLeaf>, Proof<Hash>), Error>
best_known_block_number = Some(n)
,
use historical MMR state at given block height n
. Else, use current MMR state.source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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<<<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 offchain_worker(header: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
source§impl OracleProxyAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, SymbolName, u64> for Runtime
impl OracleProxyAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, SymbolName, u64> for Runtime
source§impl PartialEq<Runtime> for Runtime
impl PartialEq<Runtime> for Runtime
source§impl PswapDistributionAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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, u128> for Runtime
impl PswapDistributionAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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, u128> for Runtime
fn claimable_amount(account_id: AccountId) -> BalanceInfo<Balance>
source§impl RewardsAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H160, u128> for Runtime
impl RewardsAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H160, u128> for Runtime
fn claimables(eth_address: H160) -> Vec<BalanceInfo<Balance>> ⓘ
source§impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> SendTransactionTypes<C> for Runtimewhere RuntimeCall: From<C>,
§type OverarchingCall = RuntimeCall
type OverarchingCall = RuntimeCall
§type Extrinsic = UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
type Extrinsic = UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
source§impl Serialize for Runtime
impl Serialize for Runtime
source§fn serialize<S>(
&self,
_serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, _serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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<<<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<T: SigningTypes> SignMessage<T> for Runtime
impl<T: SigningTypes> SignMessage<T> for Runtime
§type SignatureData = ()
type SignatureData = ()
source§fn sign_message(&self, _message: &[u8]) -> Self::SignatureData
fn sign_message(&self, _message: &[u8]) -> Self::SignatureData
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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<<<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 TradingPairAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u32, TradingPair<AssetId32<PredefinedAssetId>>, AssetId32<PredefinedAssetId>, LiquiditySourceType> for Runtime
impl TradingPairAPIV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u32, TradingPair<AssetId32<PredefinedAssetId>>, AssetId32<PredefinedAssetId>, LiquiditySourceType> for Runtime
fn list_enabled_pairs(dex_id: DEXId) -> Vec<TradingPair<AssetId>> ⓘ
fn is_pair_enabled( dex_id: DEXId, asset_id_a: AssetId, asset_id_b: AssetId ) -> bool
fn list_enabled_sources_for_pair( dex_id: DEXId, base_asset_id: AssetId, target_asset_id: AssetId ) -> Vec<LiquiditySourceType> ⓘ
fn is_source_enabled_for_pair( dex_id: DEXId, base_asset_id: AssetId, target_asset_id: AssetId, source_type: LiquiditySourceType ) -> bool
source§impl TransactionPaymentApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 TransactionPaymentApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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 VestedRewardsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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, AssetId32<PredefinedAssetId>, u128, CrowdloanTag> for Runtime
impl VestedRewardsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<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, AssetId32<PredefinedAssetId>, u128, CrowdloanTag> for Runtime
fn crowdloan_claimable( tag: CrowdloanTag, account_id: AccountId, asset_id: AssetId ) -> Option<BalanceInfo<Balance>>
fn crowdloan_lease(tag: CrowdloanTag) -> Option<CrowdloanLease>
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StructuralEq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> 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,
§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,
§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.§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.§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<A> PureOrWrapped<A> for A
impl<A> PureOrWrapped<A> for A
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
T
. Read more§impl<T> Tap for T
impl<T> Tap for T
§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 more§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 more§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 more§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 more§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 more§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 more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> 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.§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.§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.§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.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.