pub type T = Runtime;
Aliased Type§
struct T;
Implementations
Trait Implementations
Source§impl Config for Runtime
impl Config for Runtime
Source§type Nonce = u64
type Nonce = u64
This stores the number of previous transactions associated with a sender account.
Source§type Lookup = IdentityLookup<<Runtime as Config>::AccountId>
type Lookup = IdentityLookup<<Runtime as Config>::AccountId>
Converting trait to take a source type and convert to
AccountId
. Read moreSource§type Block = Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<<Runtime as Config>::AccountId, <Runtime as Config>::RuntimeCall, (), ()>>
type Block = Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<<Runtime as Config>::AccountId, <Runtime as Config>::RuntimeCall, (), ()>>
The Block type used by the runtime. This is used by
construct_runtime
to retrieve the
extrinsics or other block specific data as needed.Source§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
Data to be associated with an account (other than nonce/transaction counter, which this
pallet does regardless).
Source§type Hashing = <TestDefaultConfig as DefaultConfig>::Hashing
type Hashing = <TestDefaultConfig as DefaultConfig>::Hashing
The hashing system (algorithm) being used in the runtime (e.g. Blake2).
Source§type MaxConsumers = <TestDefaultConfig as DefaultConfig>::MaxConsumers
type MaxConsumers = <TestDefaultConfig as DefaultConfig>::MaxConsumers
The maximum number of consumers allowed on a single account.
Source§type OnNewAccount = <TestDefaultConfig as DefaultConfig>::OnNewAccount
type OnNewAccount = <TestDefaultConfig as DefaultConfig>::OnNewAccount
Handler for when a new account has just been created.
Source§type OnKilledAccount = <TestDefaultConfig as DefaultConfig>::OnKilledAccount
type OnKilledAccount = <TestDefaultConfig as DefaultConfig>::OnKilledAccount
A function that is invoked when an account has been determined to be dead. Read more
Source§type SystemWeightInfo = <TestDefaultConfig as DefaultConfig>::SystemWeightInfo
type SystemWeightInfo = <TestDefaultConfig as DefaultConfig>::SystemWeightInfo
Weight information for the extrinsics of this pallet.
Source§type ExtensionsWeightInfo = <TestDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
type ExtensionsWeightInfo = <TestDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
Weight information for the transaction extensions of this pallet.
Source§type SS58Prefix = <TestDefaultConfig as DefaultConfig>::SS58Prefix
type SS58Prefix = <TestDefaultConfig as DefaultConfig>::SS58Prefix
The designated SS58 prefix of this chain. Read more
Source§type BlockWeights = <TestDefaultConfig as DefaultConfig>::BlockWeights
type BlockWeights = <TestDefaultConfig as DefaultConfig>::BlockWeights
Block & extrinsics weights: base values and limits.
Source§type BlockLength = <TestDefaultConfig as DefaultConfig>::BlockLength
type BlockLength = <TestDefaultConfig as DefaultConfig>::BlockLength
The maximum length of a block (in bytes).
Source§type DbWeight = <TestDefaultConfig as DefaultConfig>::DbWeight
type DbWeight = <TestDefaultConfig as DefaultConfig>::DbWeight
The weight of runtime database operations the runtime can invoke.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The aggregated event type of the runtime.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The
RuntimeOrigin
type used by dispatchable calls.Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated
RuntimeCall
type.Source§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Provides information about the pallet setup in the runtime. Read more
Source§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
The aggregated
RuntimeTask
type.Source§type BaseCallFilter = <TestDefaultConfig as DefaultConfig>::BaseCallFilter
type BaseCallFilter = <TestDefaultConfig as DefaultConfig>::BaseCallFilter
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root. Read more
Source§type BlockHashCount = <TestDefaultConfig as DefaultConfig>::BlockHashCount
type BlockHashCount = <TestDefaultConfig as DefaultConfig>::BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
Source§type OnSetCode = <TestDefaultConfig as DefaultConfig>::OnSetCode
type OnSetCode = <TestDefaultConfig as DefaultConfig>::OnSetCode
What to do if the runtime wants to change the code to something new. Read more
Source§type SingleBlockMigrations = <TestDefaultConfig as DefaultConfig>::SingleBlockMigrations
type SingleBlockMigrations = <TestDefaultConfig as DefaultConfig>::SingleBlockMigrations
All migrations that should run in the next runtime upgrade. Read more
Source§type MultiBlockMigrator = <TestDefaultConfig as DefaultConfig>::MultiBlockMigrator
type MultiBlockMigrator = <TestDefaultConfig as DefaultConfig>::MultiBlockMigrator
The migrator that is used to run Multi-Block-Migrations. Read more
Source§type PreInherents = <TestDefaultConfig as DefaultConfig>::PreInherents
type PreInherents = <TestDefaultConfig as DefaultConfig>::PreInherents
A callback that executes in every block directly before all inherents were applied. Read more
Source§type PostInherents = <TestDefaultConfig as DefaultConfig>::PostInherents
type PostInherents = <TestDefaultConfig as DefaultConfig>::PostInherents
A callback that executes in every block directly after all inherents were applied. Read more
Source§type PostTransactions = <TestDefaultConfig as DefaultConfig>::PostTransactions
type PostTransactions = <TestDefaultConfig as DefaultConfig>::PostTransactions
A callback that executes in every block directly after all transactions were applied. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
Source§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
The means of storing the balances of an account.
Source§type FreezeIdentifier = RuntimeFreezeReason
type FreezeIdentifier = RuntimeFreezeReason
The ID type for freezes.
Source§type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
The maximum number of individual freeze locks that can exist on an account at any time.
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
The overarching hold reason.
Source§type ReserveIdentifier = <TestDefaultConfig as DefaultConfig>::ReserveIdentifier
type ReserveIdentifier = <TestDefaultConfig as DefaultConfig>::ReserveIdentifier
The ID type for reserves. Read more
Source§type DustRemoval = <TestDefaultConfig as DefaultConfig>::DustRemoval
type DustRemoval = <TestDefaultConfig as DefaultConfig>::DustRemoval
Handler for the unbalanced reduction when removing a dust account.
Source§type MaxLocks = <TestDefaultConfig as DefaultConfig>::MaxLocks
type MaxLocks = <TestDefaultConfig as DefaultConfig>::MaxLocks
The maximum number of locks that should exist on an account.
Not strictly enforced, but used for weight estimation. Read more
Source§type MaxReserves = <TestDefaultConfig as DefaultConfig>::MaxReserves
type MaxReserves = <TestDefaultConfig as DefaultConfig>::MaxReserves
The maximum number of named reserves that can exist on an account. Read more
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Weight information for extrinsics in this pallet.
Source§type DoneSlashHandler = <TestDefaultConfig as DefaultConfig>::DoneSlashHandler
type DoneSlashHandler = <TestDefaultConfig as DefaultConfig>::DoneSlashHandler
Allows callbacks to other pallets so they can update their bookkeeping when a slash
occurs.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
Source§type RewardCounter = FixedU128
type RewardCounter = FixedU128
The type that is used for reward counter. Read more
Source§type BalanceToU256 = BalanceToU256
type BalanceToU256 = BalanceToU256
Infallible method for converting
Currency::Balance
to U256
.Source§type U256ToBalance = U256ToBalance
type U256ToBalance = U256ToBalance
Infallible method for converting
U256
to Currency::Balance
.Source§type StakeAdapter = DelegateStake<Runtime, StakingMock, DelegateMock>
type StakeAdapter = DelegateStake<Runtime, StakingMock, DelegateMock>
The interface for nominating. Read more
Source§type PostUnbondingPoolsWindow = PostUnbondingPoolsWindow
type PostUnbondingPoolsWindow = PostUnbondingPoolsWindow
The amount of eras a
SubPools::with_era
pool can exist before it gets merged into the
SubPools::no_era
pool. In other words, this is the amount of eras a member will be
able to withdraw from an unbonding pool which is guaranteed to have the correct ratio of
points to balance; once the with_era
pool is merged into the no_era
pool, the ratio
can become skewed due to some slashed ratio getting merged in at some point.Source§type PalletId = PoolsPalletId
type PalletId = PoolsPalletId
The nomination pool’s pallet id.
Source§type MaxMetadataLen = MaxMetadataLen
type MaxMetadataLen = MaxMetadataLen
The maximum length, in bytes, that a pools metadata maybe.
Source§type MaxUnbonding = MaxUnbonding
type MaxUnbonding = MaxUnbonding
The maximum number of simultaneous unbonding chunks that can exist per member.
Source§type MaxPointsToBalance = ConstU8<10>
type MaxPointsToBalance = ConstU8<10>
The maximum pool points-to-balance ratio that an
open
pool can have. Read moreSource§type AdminOrigin = EnsureSignedBy<Admin, u128>
type AdminOrigin = EnsureSignedBy<Admin, u128>
The origin that can manage pool configurations.
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Provider for the block number. Normally this is the
frame_system
pallet.Source§type Filter = RestrictMock
type Filter = RestrictMock
Restrict some accounts from participating in a nomination pool.
Source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
Source§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
The
RuntimeBlock
type.Source§impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
Source§fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
Whether this extrinsic is an inherent.
Source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
Source§type Call = RuntimeCall
type Call = RuntimeCall
The call to validate
Source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
Validate the call right before dispatch. Read more
Source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call,
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call, ) -> TransactionValidity
Return the validity of the call Read more