Struct shot_runtime::Runtime [−][src]
pub struct Runtime;
Implementations
Trait Implementations
impl AccountNonceApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
Get current account nonce of given AccountId
.
impl AssetIndexApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128> for Runtime
impl AssetIndexApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128> for Runtime
impl AuraApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, Public> for Runtime
impl AuraApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, Public> for Runtime
Returns the slot duration for Aura. Read more
impl Benchmark<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl Benchmark<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
Get the benchmark metadata available for this runtime. Read more
Dispatch the given benchmark.
impl BlockBuilder<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl BlockBuilder<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
Apply the given extrinsic. Read more
Finish the current block.
Generate inherent extrinsics. The inherent data will vary from chain to chain.
Check that the inherents are valid. The inherent data will vary from chain to chain.
impl CollectCollationInfo<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl CollectCollationInfo<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
Collect information about a collation.
type BaseCallFilter = Everything
type BaseCallFilter = Everything
The basic call filter to use in dispatchable.
type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Block & extrinsics weights: base values and limits.
type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
The maximum length of a block (in bytes).
type Lookup = AccountIdLookup<AccountId, ()>
type Lookup = AccountIdLookup<AccountId, ()>
The lookup mechanism to get account ID from whatever is passed in dispatchers.
type BlockNumber = BlockNumber
type BlockNumber = BlockNumber
The index type for blocks.
type Hashing = BlakeTwo256
type Hashing = BlakeTwo256
The hashing algorithm used.
type Header = Header<BlockNumber, BlakeTwo256>
type Header = Header<BlockNumber, BlakeTwo256>
The header type.
type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of database operations that the runtime can invoke.
type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Converts a pallet to the index of the pallet in construct_runtime!
.
This type is being generated by construct_runtime!
.
type OnNewAccount = ()
type OnNewAccount = ()
What to do if a new account is created.
type OnKilledAccount = ()
type OnKilledAccount = ()
What to do if an account is fully reaped from the system.
type AccountData = AccountData<Balance>
type AccountData = AccountData<Balance>
The data to be stored in an account.
type SystemWeightInfo = ()
type SystemWeightInfo = ()
Weight information for the extrinsics of this pallet.
type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
This is used as an identifier of the chain. 42 is the generic substrate prefix.
type OnSetCode = ParachainSetCode<Self>
type OnSetCode = ParachainSetCode<Self>
The set code logic of the parachain.
The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation. Read more
type DustRemoval = ()
type DustRemoval = ()
Handler for the unbalanced reduction when removing a dust account.
The minimum amount required to keep an account open.
type AccountStore = System
type AccountStore = System
The means of storing the balances of an account.
type MaxReserves = ()
type MaxReserves = ()
The maximum number of named reserves that can exist on an account.
type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
The id type for named reserves.
type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
type ApproveOrigin = GovernanceOrigin<AccountId, Runtime>
type ApproveOrigin = GovernanceOrigin<AccountId, Runtime>
Origin from which approvals must come.
type RejectOrigin = GovernanceOrigin<AccountId, Runtime>
type RejectOrigin = GovernanceOrigin<AccountId, Runtime>
Origin from which rejections must come.
Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
type ProposalBond = ProposalBond
type ProposalBond = ProposalBond
Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not. Read more
Minimum amount of funds that should be placed in a deposit for making a proposal.
type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
Period between successive spends.
type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
The treasury’s pallet id, used for deriving its sovereign account ID.
type BurnDestination = ()
type BurnDestination = ()
Handler for the unbalanced decrease when treasury funds are burned.
type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
type SpendFunds = ()
type SpendFunds = ()
Runtime hooks to external pallet using treasury to compute spend funds.
type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
The maximum number of approvals that can wait in the spending queue.
type MultiCurrency = Tokens
type GetNativeCurrencyId = PINTAssetId
type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this module.
type AssetIdConvert = AssetIdConvert
type AssetIdConvert = AssetIdConvert
Convert a T::AssetId
to its relative MultiLocation
identifier.
The encoder to use for encoding when transacting a pallet_staking
Call Read more
The encoder to use for encoding when transacting a pallet_proxy
Call Read more
Minimum amount that can be transferred via XCM to the statemint parachain Read more
type SelfAssetId = PINTAssetId
type SelfAssetId = PINTAssetId
The native asset id
type SelfLocation = SelfLocation
type SelfLocation = SelfLocation
The location of the chain itself
type SelfParaId = Pallet<Runtime>
type SelfParaId = Pallet<Runtime>
Returns the parachain ID we are running with.
Identifier for the relay chain’s specific asset
Unbonding slashing spans for unbonding on the relaychain.
Determines the threshold amounts when operating with staked assets.
type Assets = Currencies
type Assets = Currencies
Currency type for deposit/withdraw xcm assets Read more
type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Executor for cross chain messages.
type XcmAssetTransfer = XTokens
type XcmAssetTransfer = XTokens
The type that handles all the cross chain asset transfers
type AdminOrigin = EnsureSigned<AccountId>
type AdminOrigin = EnsureSigned<AccountId>
Origin that is allowed to send cross chain messages on behalf of the PINT chain Read more
type WeightInfo = WeightInfo<Self>
type WeightInfo = WeightInfo<Self>
The weight for this pallet’s extrinsics.
type ValidatorId = <Self as Config>::AccountId
type ValidatorId = <Self as Config>::AccountId
A stable ID for a validator.
type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
type ShouldEndSession = PeriodicSessions<Period, Offset>
type ShouldEndSession = PeriodicSessions<Period, Offset>
Indicator for when to end the session.
type NextSessionRotation = PeriodicSessions<Period, Offset>
type NextSessionRotation = PeriodicSessions<Period, Offset>
Something that can predict the next session rotation. This should typically come from
the same logical unit that provides ShouldEndSession
, yet, it gives a best effort
estimate. It is helpful to implement EstimateNextNewSession
. Read more
type SessionManager = CollatorSelection
type SessionManager = CollatorSelection
Handler for managing new session.
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
Handler when a session has changed.
type Keys = SessionKeys
type Keys = SessionKeys
The keys.
type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
type FindAuthor = FindAccountFromAuthorIndex<Self, Aura>
type FindAuthor = FindAccountFromAuthorIndex<Self, Aura>
Find the author of a block.
type UncleGenerations = UncleGenerations
type UncleGenerations = UncleGenerations
The number of blocks back we should accept uncles.
This means that we will deal with uncle-parents that are
UncleGenerations + 1
before now
. Read more
type FilterUncle = ()
type FilterUncle = ()
A filter for uncles within a block. This is for implementing further constraints on what uncles can be included, other than their ancestry. Read more
type EventHandler = CollatorSelection
type EventHandler = CollatorSelection
An event handler for authored blocks.
type AdminOrigin = CommitteeOrigin<Runtime>
type AssetRecorder = AssetIndex
type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight for this pallet’s extrinsics.
type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
The maximum weight that may be scheduled per block for any dispatchables of less
priority than schedule::HARD_DEADLINE
. Read more
type ScheduleOrigin = EnsureRoot<AccountId>
type ScheduleOrigin = EnsureRoot<AccountId>
Required origin to schedule or cancel calls.
The maximum number of scheduled calls in the queue for a single block. Not strictly enforced, but used for weight estimation. Read more
Compare the privileges of origins. Read more
type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
type OnValidationData = ()
type OnValidationData = ()
Something which can be notified when the validation data is set.
type SelfParaId = ParachainInfo
type SelfParaId = ParachainInfo
Returns the parachain ID we are running with.
type DmpMessageHandler = DmpQueue
type DmpMessageHandler = DmpQueue
The message handler that will be invoked when messages are received via DMP.
The weight we reserve at the beginning of the block for processing DMP messages.
The place where outbound XCMP messages come from. This is queried in finalize_block
.
type XcmpMessageHandler = XcmpQueue
type XcmpMessageHandler = XcmpQueue
The message handler that will be invoked when messages are received via XCMP. Read more
The weight we reserve at the beginning of the block for processing XCMP messages.
type OnChargeTransaction = CurrencyAdapter<Balances, ()>
type OnChargeTransaction = CurrencyAdapter<Balances, ()>
Handler for withdrawing, refunding and depositing the transaction fee. Transaction fees are withdrawn before the transaction is executed. After the transaction was executed the transaction weight can be adjusted, depending on the used resources by the transaction. If the transaction weight is lower than expected, parts of the transaction fee might be refunded. In the end the fees can be deposited. Read more
The fee to be paid for making a transaction; the per-byte portion.
A fee mulitplier for Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more
type WeightToFee = IdentityFee<Balance>
type WeightToFee = IdentityFee<Balance>
Convert a weight value into a deductible fee based on the currency type.
type FeeMultiplierUpdate = ()
type FeeMultiplierUpdate = ()
Update the multiplier of the next block, based on the previous block’s weight.
type ProposalNonce = u32
type ProposalNonce = u32
A unique number assigned to each new instance of a proposal
Duration (in blocks) of the proposal submission period
type VotingPeriod = VotingPeriod
type VotingPeriod = VotingPeriod
Duration (in blocks) of the voting period
type VotingPeriodRange = VotingPeriodRange<Self>
type VotingPeriodRange = VotingPeriodRange<Self>
Range of the voting period
type MinCouncilVotes = MinCouncilVotes
type MinCouncilVotes = MinCouncilVotes
Minimum number of council members that must vote for a action to be passed Read more
type ProposalExecutionOrigin = EnsureMember<Self>
type ProposalExecutionOrigin = EnsureMember<Self>
Origin that is permitted to execute approved proposals
type ProposalSubmissionOrigin = EnsureMember<Self>
type ProposalSubmissionOrigin = EnsureMember<Self>
Origin that is permitted to create proposals
Origin that is permitted to execute priviliged extrinsics
type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight for this pallet’s extrinsics.
type UpdateOrigin = GovernanceOrigin<AccountId, Runtime>
type UpdateOrigin = GovernanceOrigin<AccountId, Runtime>
Origin that can dictate updating parameters of this pallet.
type MaxCandidates = MaxCandidates
type MaxCandidates = MaxCandidates
Maximum number of candidates that we should have. This is used for benchmarking and is not enforced. Read more
type MinCandidates = MinCandidates
type MinCandidates = MinCandidates
Minimum number of candidates that we should have. This is used for disaster recovery. Read more
type MaxInvulnerables = MaxInvulnerables
type MaxInvulnerables = MaxInvulnerables
Maximum number of invulnerables. Read more
type KickThreshold = Period
type ValidatorId = <Self as Config>::AccountId
type ValidatorId = <Self as Config>::AccountId
A stable ID for a validator.
type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
type ValidatorRegistration = Session
type ValidatorRegistration = Session
Validate a user is registered
type WeightInfo = ()
type WeightInfo = ()
The weight information of this pallet.
type CurrencyId = AssetId
type CurrencyId = AssetId
The currency ID type
type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this module.
The minimum amount required to keep an account. It’s deprecated to config 0 as ED for any currency_id, zero ED will retain account even if its total is zero. Since accounts of orml_tokens are also used as providers of System::AccountInfo, zero ED may cause some problems. Read more
type OnDust = TransferDust<Runtime, PintTreasuryAccount>
type OnDust = TransferDust<Runtime, PintTreasuryAccount>
Handler to burn or transfer account’s dust
type CurrencyId = AssetId
type CurrencyId = AssetId
Currency Id.
type CurrencyIdConvert = AssetIdConvert
type CurrencyIdConvert = AssetIdConvert
Convert T::CurrencyId
to MultiLocation
.
Convert T::AccountId
to MultiLocation
.
type SelfLocation = SelfLocation
type SelfLocation = SelfLocation
Self chain location.
type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
XCM executor.
Means of measuring the weight consumed by an XCM message locally.
type BaseXcmWeight = BaseXcmWeight
type BaseXcmWeight = BaseXcmWeight
Base XCM weight. Read more
type LocationInverter = LocationInverter<Ancestry>
type LocationInverter = LocationInverter<Ancestry>
Means of inverting a location.
type AdminOrigin = EnsureRoot<AccountId>
type AdminOrigin = EnsureRoot<AccountId>
Origin that is allowed to manage the treasury balance and initiate XCM withdrawals Read more
type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
PalletId used to generate the AccountId
which holds the balance of the
treasury. Read more
type SelfAssetId = PINTAssetId
type SelfAssetId = PINTAssetId
The native asset id
Identifier for the relay chain’s specific asset
type XcmAssetTransfer = XTokens
type XcmAssetTransfer = XTokens
The interface to Cross-chain transfer.
type AssetIdConvert = AssetIdConvert
type AssetIdConvert = AssetIdConvert
Convert a T::AssetId
to its relative MultiLocation
identifier.
Convert Self::Account
to AccountId32
type WeightInfo = ()
type WeightInfo = ()
The weight for this pallet’s extrinsics.
type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Something to execute an XCM message. We need this to service the XCMoXCMP queue.
type ChannelInfo = ParachainSystem
type ChannelInfo = ParachainSystem
Information on the avaialble XCMP channels.
type VersionWrapper = PolkadotXcm
type VersionWrapper = PolkadotXcm
Means of converting an Xcm
into a VersionedXcm
.
type XcmExecutor = XcmExecutor<XcmConfig>
Origin which is allowed to execute overweight messages.
type AuthorityId = AuraId
type AuthorityId = AuraId
The identifier type for an authority.
type DisabledValidators = ()
type DisabledValidators = ()
A way to check whether a given validator is disabled and should not be authoring blocks. Blocks authored by a disabled validator will lead to a panic as part of this module’s initialization. Read more
type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
The maximum number of authorities that the pallet can hold.
type OnTimestampSet = ()
type OnTimestampSet = ()
Something which can be notified when the timestamp is set. Set this to ()
if not
needed. Read more
type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings. Read more
type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
The actual transaction charging logic that charges the fees.
Required origin for sending XCM messages. If successful, it resolves to MultiLocation
which exists as an interior location within this chain’s XCM context. Read more
Required origin for executing XCM messages, including the teleport functionality. If successful,
then it resolves to MultiLocation
which exists as an interior location within this chain’s XCM
context. Read more
type XcmExecuteFilter = Nothing
type XcmExecuteFilter = Nothing
Our XCM filter which messages to be executed using XcmExecutor
must pass.
type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Something to execute an XCM message.
type XcmTeleportFilter = Nothing
type XcmTeleportFilter = Nothing
Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
Means of measuring the weight consumed by an XCM message locally.
type LocationInverter = LocationInverter<Ancestry>
type LocationInverter = LocationInverter<Ancestry>
Means of inverting a location.
The latest supported version that we advertise. Generally just set it to
pallet_xcm::CurrentXcmVersion
. Read more
type XcmExecutor = XcmExecutor<XcmConfig>
type AdminOrigin = CommitteeOrigin<Runtime>
type AdminOrigin = CommitteeOrigin<Runtime>
Origin that is allowed to administer the index
type IndexToken = Balances
type IndexToken = Balances
Currency implementation to use as the index token
Restricts how many deposits can be active
type MaxDecimals = MaxDecimals
type MaxDecimals = MaxDecimals
Restricts the max limit of decimals in metadata
type RedemptionFee = RedemptionFee
type RedemptionFee = RedemptionFee
Determines the redemption fee in complete_withdraw
type LockupPeriod = LockupPeriod
type LockupPeriod = LockupPeriod
Period after the minting of the index token for which 100% is locked up. Only applies to users contributing assets directly to index Read more
type LockupPeriodRange = LockupPeriodRange<Self>
type LockupPeriodRange = LockupPeriodRange<Self>
Range of the lockup period
The identifier for the index token lock.
Used to lock up deposits for T::LockupPeriod
. Read more
The minimum amount of the index token that can be redeemed for the underlying asset in the index Read more
type WithdrawalPeriod = WithdrawalPeriod
type WithdrawalPeriod = WithdrawalPeriod
Minimum amount of time between redeeming index tokens and being able to withdraw the awarded assets Read more
Type that handles cross chain transfers
type SelfAssetId = PINTAssetId
type SelfAssetId = PINTAssetId
The native asset id
type Currency = Currencies
type Currency = Currencies
Currency type for deposit/withdraw assets to/from the user’s sovereign account Read more
type PriceFeedBenchmarks = PriceFeed
type PriceFeedBenchmarks = PriceFeed
The type that provides benchmark features of pallet_price_feed
type SaftRegistry = SaftRegistry
type SaftRegistry = SaftRegistry
The type registry that stores all NAV for non liquid assets
The basic fees that apply when a withdrawal is executed
type TreasuryPalletId = TreasuryPalletId
type TreasuryPalletId = TreasuryPalletId
The treasury’s pallet id, used for deriving its sovereign account ID. Read more
The maximum length of a name or symbol stored on-chain.
type WeightInfo = WeightInfo<Self>
type WeightInfo = WeightInfo<Self>
The weight for this pallet’s extrinsics.
type AdminOrigin = EnsureRoot<AccountId>
type AdminOrigin = EnsureRoot<AccountId>
The origin that is allowed to insert asset -> feed mappings
type SelfAssetId = PINTAssetId
type SelfAssetId = PINTAssetId
The asset identifier for the native asset (PINT).
type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight for this pallet’s extrinsics.
type PalletId = FeedPalletId
type PalletId = FeedPalletId
The module id used to determine the account for storing the funds used to pay the oracles. Read more
type MinimumReserve = MinimumReserve
type MinimumReserve = MinimumReserve
The minimum amount of funds that need to be present in the fund account. Read more
type StringLimit = StringLimit
type StringLimit = StringLimit
Maximum allowed string length.
type OracleCountLimit = OracleLimit
type OracleCountLimit = OracleLimit
Maximum number of oracles per feed.
type OnAnswerHandler = PriceFeed
type OnAnswerHandler = PriceFeed
This callback will trigger when the round answer updates
type WeightInfo = ()
type WeightInfo = ()
The weight for this pallet’s extrinsics.
type AdminOrigin = EnsureRoot<AccountId>
type AdminOrigin = EnsureRoot<AccountId>
Origin that is allowed to manage the treasury balance and initiate withdrawals Read more
type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
PalletId used to generate the AccountId
which holds the balance of the
treasury. Read more
type WeightInfo = WeightInfo<Self>
type WeightInfo = WeightInfo<Self>
The weight for this pallet’s extrinsics.
impl Core<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl Core<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
Returns the version of the runtime.
Execute the given block.
Initialize a block with the given header.
impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
type RuntimeBlock = Block
type RuntimeBlock = Block
The RuntimeBlock
type.
impl Metadata<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl Metadata<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
Returns the metadata of a runtime.
impl OffchainWorkerApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl OffchainWorkerApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
Starts the off-chain task for given block header.
impl SessionKeys<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl SessionKeys<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities. Read more
impl TaggedTransactionQueue<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl TaggedTransactionQueue<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash
) -> TransactionValidity
fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash
) -> TransactionValidity
Validate the transaction. Read more
impl TransactionPaymentApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128> for Runtime
Auto Trait Implementations
impl RefUnwindSafe for Runtime
impl UnwindSafe for Runtime
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
Compare self to key
and return true
if they are equal.
Causes self
to use its Binary
implementation when Debug
-formatted.
Causes self
to use its Display
implementation when
Debug
-formatted. Read more
Causes self
to use its LowerExp
implementation when
Debug
-formatted. Read more
Causes self
to use its LowerHex
implementation when
Debug
-formatted. Read more
Causes self
to use its Octal
implementation when Debug
-formatted.
Causes self
to use its Pointer
implementation when
Debug
-formatted. Read more
Causes self
to use its UpperExp
implementation when
Debug
-formatted. Read more
Causes self
to use its UpperHex
implementation when
Debug
-formatted. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Pipes by value. This is generally the method you want to use. Read more
Borrows self
and passes that borrow into the pipe function. Read more
Mutably borrows self
and passes that borrow into the pipe function. Read more
Borrows self
, then passes self.borrow()
into the pipe function. Read more
Mutably borrows self
, then passes self.borrow_mut()
into the pipe
function. Read more
Borrows self
, then passes self.as_ref()
into the pipe function.
Mutably borrows self
, then passes self.as_mut()
into the pipe
function. Read more
Borrows self
, then passes self.deref()
into the pipe function.
fn pipe_as_ref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: AsRef<T>,
T: 'a,
R: 'a,
fn pipe_as_ref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: AsRef<T>,
T: 'a,
R: 'a,
Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more
fn pipe_borrow<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Borrow<T>,
T: 'a,
R: 'a,
fn pipe_borrow<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Borrow<T>,
T: 'a,
R: 'a,
Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more
fn pipe_deref<'a, R>(&'a self, func: impl FnOnce(&'a Self::Target) -> R) -> R where
Self: Deref,
R: 'a,
fn pipe_deref<'a, R>(&'a self, func: impl FnOnce(&'a Self::Target) -> R) -> R where
Self: Deref,
R: 'a,
Pipes a dereference into a function that cannot normally be called in suffix position. Read more
Pipes a reference into a function that cannot ordinarily be called in suffix position. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.
Immutable access to the Borrow<B>
of a value. Read more
Mutable access to the BorrowMut<B>
of a value. Read more
Immutable access to the AsRef<R>
view of a value. Read more
Mutable access to the AsMut<R>
view of a value. Read more
Immutable access to the Deref::Target
of a value. Read more
Mutable access to the Deref::Target
of a value. Read more
Calls .tap()
only in debug builds, and is erased in release builds.
Calls .tap_mut()
only in debug builds, and is erased in release
builds. Read more
Calls .tap_borrow()
only in debug builds, and is erased in release
builds. Read more
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
builds. Read more
Calls .tap_ref()
only in debug builds, and is erased in release
builds. Read more
Calls .tap_ref_mut()
only in debug builds, and is erased in release
builds. Read more
Calls .tap_deref()
only in debug builds, and is erased in release
builds. Read more
Provides immutable access to the reference for inspection.
Calls tap_ref
in debug builds, and does nothing in release builds.
Provides mutable access to the reference for modification.
Calls tap_ref_mut
in debug builds, and does nothing in release builds.
Provides immutable access to the borrow for inspection. Read more
Calls tap_borrow
in debug builds, and does nothing in release builds.
fn tap_borrow_mut<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
fn tap_borrow_mut<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
Provides mutable access to the borrow for modification.
Immutably dereferences self
for inspection.
fn tap_deref_dbg<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
fn tap_deref_dbg<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
Calls tap_deref
in debug builds, and does nothing in release builds.
fn tap_deref_mut<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
fn tap_deref_mut<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
Mutably dereferences self
for modification.
The counterpart to unchecked_from
.
Consume self to return an equivalent value of T
.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more