Struct t3rn_mini_mock_runtime::MiniRuntime
source · pub struct MiniRuntime;
Implementations§
source§impl MiniRuntime
impl MiniRuntime
pub fn metadata() -> RuntimeMetadataPrefixed
pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
pub fn metadata_versions() -> Vec<u32>
Trait Implementations§
source§impl CallerTrait<<MiniRuntime as Config>::AccountId> for OriginCaller
impl CallerTrait<<MiniRuntime as Config>::AccountId> for OriginCaller
source§fn into_system(self) -> Option<RawOrigin<<MiniRuntime as Config>::AccountId>>
fn into_system(self) -> Option<RawOrigin<<MiniRuntime as Config>::AccountId>>
Extract the signer from the message if it is a
Signed
origin.source§fn as_system_ref(
&self
) -> Option<&RawOrigin<<MiniRuntime as Config>::AccountId>>
fn as_system_ref( &self ) -> Option<&RawOrigin<<MiniRuntime as Config>::AccountId>>
Extract a reference to the system-level
RawOrigin
if it is that.§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Extract the signer from it if a system
Signed
origin, None
otherwise.source§impl Clone for MiniRuntime
impl Clone for MiniRuntime
source§fn clone(&self) -> MiniRuntime
fn clone(&self) -> MiniRuntime
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Config<()> for MiniRuntime
impl Config<()> for MiniRuntime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type AccountStore = Pallet<MiniRuntime>
type AccountStore = Pallet<MiniRuntime>
The means of storing the balances of an account.
§type DustRemoval = ()
type DustRemoval = ()
Handler for the unbalanced reduction when removing a dust account.
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
§type FreezeIdentifier = ()
type FreezeIdentifier = ()
The ID type for freezes.
§type MaxFreezes = ConstU32<0>
type MaxFreezes = ConstU32<0>
The maximum number of individual freeze locks that can exist on an account at any time.
§type MaxLocks = ConstU32<50>
type MaxLocks = ConstU32<50>
The maximum number of locks that should exist on an account.
Not strictly enforced, but used for weight estimation.
§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 reserves. Read more
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
The overarching hold reason.
§type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
source§impl Config<()> for MiniRuntime
impl Config<()> for MiniRuntime
§type BridgedChain = Blake2ValU32Chain
type BridgedChain = Blake2ValU32Chain
The chain we are bridging to here.
type EpochOffset = ConstU32<2400>
type FastConfirmationOffset = ConstU32<3>
type FinalizedConfirmationOffset = ConstU32<10>
§type HeadersToStore = HeadersToStore
type HeadersToStore = HeadersToStore
Maximal number of finalized headers to keep in the storage. Read more
type LightClientAsyncAPI = Pallet<MiniRuntime>
type MyVendor = RococoVendor
type RationalConfirmationOffset = ConstU32<10>
type RuntimeEvent = RuntimeEvent
§type WeightInfo = ()
type WeightInfo = ()
Weights gathered through benchmarking.
source§impl Config<()> for MiniRuntime
impl Config<()> for MiniRuntime
§type ApprovalDeposit = ApprovalDeposit
type ApprovalDeposit = ApprovalDeposit
The amount of funds that must be reserved when creating a new approval.
§type AssetAccountDeposit = AssetAccountDeposit
type AssetAccountDeposit = AssetAccountDeposit
The amount of funds that must be reserved for a non-provider asset account to be
maintained.
§type AssetDeposit = AssetDeposit
type AssetDeposit = AssetDeposit
The basic amount of funds that must be reserved for an asset.
§type AssetIdParameter = u32
type AssetIdParameter = u32
Wrapper around
Self::AssetId
to use in dispatchable call signatures. Allows the use
of compact encoding in instances of the pallet, which will prevent breaking changes
resulting from the removal of HasCompact
from Self::AssetId
. Read more§type CallbackHandle = ()
type CallbackHandle = ()
Callback methods for asset state change (e.g. asset created or destroyed)
§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<AccountId32>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<AccountId32>>
Standard asset class creation is only allowed if the origin attempting it and the
asset class are in this set.
§type Currency = Pallet<MiniRuntime, ()>
type Currency = Pallet<MiniRuntime, ()>
The currency mechanism.
§type ForceOrigin = EnsureRoot<<MiniRuntime as Config>::AccountId>
type ForceOrigin = EnsureRoot<<MiniRuntime as Config>::AccountId>
The origin which may forcibly create or destroy an asset or otherwise alter privileged
attributes.
§type Freezer = ()
type Freezer = ()
A hook to allow a per-asset, per-account minimum balance to be enforced. This must be
respected in all permissionless operations.
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
The basic amount of funds that must be reserved when adding metadata to your asset.
§type MetadataDepositPerByte = MetadataDepositPerByte
type MetadataDepositPerByte = MetadataDepositPerByte
The additional funds that must be reserved for the number of bytes you store in your
metadata.
§type RemoveItemsLimit = ConstU32<1000>
type RemoveItemsLimit = ConstU32<1000>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type StringLimit = AssetsStringLimit
type StringLimit = AssetsStringLimit
The maximum length of a name or symbol stored on-chain.
§type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
source§impl Config<()> for MiniRuntime
impl Config<()> for MiniRuntime
§type ApproveOrigin = EnsureRoot<AccountId32>
type ApproveOrigin = EnsureRoot<AccountId32>
Origin from which approvals must come.
§type BurnDestination = ()
type BurnDestination = ()
Handler for the unbalanced decrease when treasury funds are burned.
§type Currency = Pallet<MiniRuntime, ()>
type Currency = Pallet<MiniRuntime, ()>
The staking balance.
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
The maximum number of approvals that can wait in the spending queue. Read more
§type OnSlash = Pallet<MiniRuntime, Instance4>
type OnSlash = Pallet<MiniRuntime, Instance4>
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.
§type ProposalBondMaximum = ()
type ProposalBondMaximum = ()
Maximum amount of funds that should be placed in a deposit for making a proposal.
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
Minimum amount of funds that should be placed in a deposit for making a proposal.
§type RejectOrigin = EnsureRoot<AccountId32>
type RejectOrigin = EnsureRoot<AccountId32>
Origin from which rejections must come.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type SpendFunds = ()
type SpendFunds = ()
Runtime hooks to external pallet using treasury to compute spend funds.
§type SpendOrigin = NeverEnsureOrigin<u128>
type SpendOrigin = NeverEnsureOrigin<u128>
The origin required for approving spends from the treasury outside of the proposal
process. The
Success
value is the maximum amount that this origin is allowed to
spend at a time.§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
Period between successive spends.
§type WeightInfo = SubstrateWeight<MiniRuntime>
type WeightInfo = SubstrateWeight<MiniRuntime>
Weight information for extrinsics in this pallet.
source§impl Config<Instance1> for MiniRuntime
impl Config<Instance1> for MiniRuntime
§type BridgedChain = Blake2ValU32Chain
type BridgedChain = Blake2ValU32Chain
The chain we are bridging to here.
type EpochOffset = ConstU32<2400>
type FastConfirmationOffset = ConstU32<3>
type FinalizedConfirmationOffset = ConstU32<10>
§type HeadersToStore = HeadersToStore
type HeadersToStore = HeadersToStore
Maximal number of finalized headers to keep in the storage. Read more
type LightClientAsyncAPI = Pallet<MiniRuntime>
type MyVendor = PolkadotVendor
type RationalConfirmationOffset = ConstU32<10>
type RuntimeEvent = RuntimeEvent
§type WeightInfo = ()
type WeightInfo = ()
Weights gathered through benchmarking.
source§impl Config<Instance1> for MiniRuntime
impl Config<Instance1> for MiniRuntime
§type ApproveOrigin = EnsureRoot<AccountId32>
type ApproveOrigin = EnsureRoot<AccountId32>
Origin from which approvals must come.
§type BurnDestination = ()
type BurnDestination = ()
Handler for the unbalanced decrease when treasury funds are burned.
§type Currency = Pallet<MiniRuntime, ()>
type Currency = Pallet<MiniRuntime, ()>
The staking balance.
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
The maximum number of approvals that can wait in the spending queue. Read more
§type OnSlash = Pallet<MiniRuntime, Instance4>
type OnSlash = Pallet<MiniRuntime, Instance4>
Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§type PalletId = EscrowTreasuryId
type PalletId = EscrowTreasuryId
The treasury’s pallet id, used for deriving its sovereign account ID.
§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.
§type ProposalBondMaximum = ()
type ProposalBondMaximum = ()
Maximum amount of funds that should be placed in a deposit for making a proposal.
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
Minimum amount of funds that should be placed in a deposit for making a proposal.
§type RejectOrigin = EnsureRoot<AccountId32>
type RejectOrigin = EnsureRoot<AccountId32>
Origin from which rejections must come.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type SpendFunds = ()
type SpendFunds = ()
Runtime hooks to external pallet using treasury to compute spend funds.
§type SpendOrigin = NeverEnsureOrigin<u128>
type SpendOrigin = NeverEnsureOrigin<u128>
The origin required for approving spends from the treasury outside of the proposal
process. The
Success
value is the maximum amount that this origin is allowed to
spend at a time.§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
Period between successive spends.
§type WeightInfo = SubstrateWeight<MiniRuntime>
type WeightInfo = SubstrateWeight<MiniRuntime>
Weight information for extrinsics in this pallet.
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type CommitteeMajorityThreshold = CommitteeMajorityThreshold
type EpochsPerSyncCommitteePeriod = EpochsPerSyncCommitteePeriod
type HeadersToStore = HeadersToStoreEth
type LightClientAsyncAPI = Pallet<MiniRuntime>
type RuntimeEvent = RuntimeEvent
type SlotsPerEpoch = SlotsPerEpoch
type SyncCommitteeSize = SyncCommitteeSize
§type WeightInfo = SubstrateWeight<MiniRuntime>
type WeightInfo = SubstrateWeight<MiniRuntime>
Weights gathered through benchmarking.
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type CommitteeMajorityThreshold = CommitteeMajorityThreshold
type EpochsPerSyncCommitteePeriod = EpochsPerSyncCommitteePeriod
type HeadersToStore = HeadersToStoreEth
type LightClientAsyncAPI = Pallet<MiniRuntime>
type RuntimeEvent = RuntimeEvent
type SlotsPerEpoch = SlotsPerEpoch
type SyncCommitteeSize = SyncCommitteeSize
§type WeightInfo = SubstrateWeight<MiniRuntime>
type WeightInfo = SubstrateWeight<MiniRuntime>
Weights gathered through benchmarking.
source§impl Config for MiniRuntime
impl Config for MiniRuntime
§type AccountManager = Pallet<MiniRuntime>
type AccountManager = Pallet<MiniRuntime>
A type that provides access to AccountManager
type Attesters = Pallet<MiniRuntime>
§type Balances = Pallet<MiniRuntime, ()>
type Balances = Pallet<MiniRuntime, ()>
A type that provides inspection and mutation to some fungible assets
type Currency = Pallet<MiniRuntime, ()>
§type DeletionQueueLimit = ConstU32<100>
type DeletionQueueLimit = ConstU32<100>
The Circuit’s deletion queue limit - preventing potential
delay when queue is too long in on_initialize
type Executors = ExecutorsMock<MiniRuntime>
§type Portal = Pallet<MiniRuntime>
type Portal = Pallet<MiniRuntime>
A type that gives access to the new portal functionality
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type SFXBiddingPeriod = ConstU32<3>
type SFXBiddingPeriod = ConstU32<3>
The Circuit’s SFX Bidding Period
§type SelfAccountId = CircuitAccountId
type SelfAccountId = CircuitAccountId
The Circuit’s account id
§type SelfGatewayId = SelfGatewayId
type SelfGatewayId = SelfGatewayId
The Circuit’s self gateway id
§type SelfParaId = ConstU32<3333>
type SelfParaId = ConstU32<3333>
The Circuit’s self parachain id
§type SignalQueueDepth = ConstU32<5>
type SignalQueueDepth = ConstU32<5>
The maximum number of signals that can be queued for handling. Read more
type TreasuryAccounts = MiniRuntime
§type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
§type Xdns = Pallet<MiniRuntime>
type Xdns = Pallet<MiniRuntime>
A type that provides access to Xdns
§type XtxTimeoutCheckInterval = ConstU32<10>
type XtxTimeoutCheckInterval = ConstU32<10>
The Circuit’s Xtx timeout check interval
§type XtxTimeoutDefault = ConstU32<400>
type XtxTimeoutDefault = ConstU32<400>
The Circuit’s Default Xtx timeout
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type ActiveSetSize = ConstU32<32>
type BatchingWindow = ConstU32<6>
type CommitteeSize = ConstU32<32>
type Currency = Pallet<MiniRuntime, ()>
type DefaultCommission = DefaultCommission
type LightClientAsyncAPI = Pallet<MiniRuntime>
type MaxBatchSize = ConstU32<128>
type MinAttesterBond = MinAttesterBond
type MinNominatorBond = MinNominatorBond
type Portal = Pallet<MiniRuntime>
type RandomnessSource = Pallet<MiniRuntime>
type ReadSFX = Pallet<MiniRuntime>
type RepatriationPeriod = ConstU32<60>
type RewardMultiplier = RewardMultiplier
type Rewards = Pallet<MiniRuntime>
type RuntimeEvent = RuntimeEvent
type ShufflingFrequency = ConstU32<400>
type TreasuryAccounts = MiniRuntime
type Xdns = Pallet<MiniRuntime>
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type AccountManager = Pallet<MiniRuntime>
type AttesterBootstrapRewards = AttesterBootstrapRewards
§type AttesterInflation = AttesterInflation
type AttesterInflation = AttesterInflation
The attester’s portion of the total inflation, expressed as a Perbill. Read more
type Attesters = Pallet<MiniRuntime>
type AvailableBootstrapSpenditure = AvailableBootstrapSpenditure
type Clock = Pallet<MiniRuntime>
type CollatorBootstrapRewards = CollatorBootstrapRewards
§type CollatorInflation = CollatorInflation
type CollatorInflation = CollatorInflation
The collator’s portion of the total inflation, expressed as a Perbill. Read more
type Currency = Pallet<MiniRuntime, ()>
type ExecutorBootstrapRewards = ExecutorBootstrapRewards
§type ExecutorInflation = ExecutorInflation
type ExecutorInflation = ExecutorInflation
The executor’s portion of the total inflation, expressed as a Perbill. Read more
§type FindAuthor = FindAuthorMockRoundRobinRotate32
type FindAuthor = FindAuthorMockRoundRobinRotate32
Find the author of a block.
§type InflationDistributionPeriod = InflationDistributionPeriod
type InflationDistributionPeriod = InflationDistributionPeriod
The number of blocks between inflation distribution. Read more
type RuntimeEvent = RuntimeEvent
type StartingRepatriationPercentage = StartingRepatriationPercentage
§type TotalInflation = TotalInflation
type TotalInflation = TotalInflation
The total inflation per year, expressed as a Perbill. Read more
type TreasuryAccounts = MiniRuntime
§type TreasuryInflation = TreasuryInflation
type TreasuryInflation = TreasuryInflation
The treasury’s portion of the total inflation, expressed as a Perbill. Read more
source§impl Config for MiniRuntime
impl Config for MiniRuntime
§type Currency = Pallet<MiniRuntime, ()>
type Currency = Pallet<MiniRuntime, ()>
Currency access
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Because this pallet emits events, it depends on the runtime’s definition of an event.
§type SelectLightClient = SelectLightClientRegistry
type SelectLightClient = SelectLightClientRegistry
Selects the light client implementation
§type WeightInfo = SubstrateWeight<MiniRuntime>
type WeightInfo = SubstrateWeight<MiniRuntime>
Type representing the weight of this pallet
§type Xdns = Pallet<MiniRuntime>
type Xdns = Pallet<MiniRuntime>
Access to XDNS pallet
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type AddressMapping = AddressMappingMock
type CircuitSubmitAPI = Pallet<MiniRuntime>
type Currency = Pallet<MiniRuntime, ()>
type ReadSFX = Pallet<MiniRuntime>
type RewardsWriteApi = Pallet<MiniRuntime>
type RuntimeEvent = RuntimeEvent
type WeightInfo = SubstrateWeight<MiniRuntime>
type Xdns = Pallet<MiniRuntime>
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type AssetsOverlay = MiniRuntime
type AttestersRead = Pallet<MiniRuntime>
§type Balances = Pallet<MiniRuntime, ()>
type Balances = Pallet<MiniRuntime, ()>
A type that provides inspection and mutation to some fungible assets
type CircuitDLQ = Pallet<MiniRuntime>
type Currency = Pallet<MiniRuntime, ()>
type Portal = Pallet<MiniRuntime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
type SelfGatewayId = SelfGatewayId
type SelfTokenId = ConstU32<3333>
type Time = Pallet<MiniRuntime>
type TreasuryAccounts = MiniRuntime
§type WeightInfo = SubstrateWeight<MiniRuntime>
type WeightInfo = SubstrateWeight<MiniRuntime>
Type representing the weight of this pallet
source§impl Config for MiniRuntime
impl Config for MiniRuntime
§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.
§type OnTimestampSet = ()
type OnTimestampSet = ()
Something which can be notified when the timestamp is set. Set this to
()
if not
needed.§type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type OnFinalizeQueues = EmptyOnHookQueues<MiniRuntime>
§type OnInitializeQueues = GlobalOnInitQueues
type OnInitializeQueues = GlobalOnInitQueues
Description of on_initialize queues and their max. consumption of % of total on_init weight.
The first element of the tuple is the queue name, the second is the max. % of total on_init weight.}
type RoundDuration = ConstU32<300>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
source§impl Config for MiniRuntime
impl Config for MiniRuntime
type AssetBalanceOf = ConvertInto
type AssetId = u32
type Assets = Pallet<MiniRuntime, ()>
type Clock = Pallet<MiniRuntime>
type Currency = Pallet<MiniRuntime, ()>
type EscrowAccount = EscrowAccount
type Executors = ExecutorsMock<MiniRuntime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type Time = Pallet<MiniRuntime>
type Time = Pallet<MiniRuntime>
Type providing some time handler
§type WeightInfo = ()
type WeightInfo = ()
Type representing the weight of this pallet
source§impl Config for MiniRuntime
impl Config for MiniRuntime
§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).
§type BaseCallFilter = Everything
type BaseCallFilter = Everything
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root.
§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<MiniRuntime as Config>::AccountId, <MiniRuntime as Config>::RuntimeCall, (), ()>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<MiniRuntime as Config>::AccountId, <MiniRuntime 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.§type BlockHashCount = ()
type BlockHashCount = ()
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type BlockLength = ()
type BlockLength = ()
The maximum length of a block (in bytes).
§type BlockWeights = ()
type BlockWeights = ()
Block & extrinsics weights: base values and limits.
§type Lookup = IdentityLookup<<MiniRuntime as Config>::AccountId>
type Lookup = IdentityLookup<<MiniRuntime as Config>::AccountId>
Converting trait to take a source type and convert to
AccountId
. Read more§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
The maximum number of consumers allowed on a single account.
§type OnKilledAccount = ()
type OnKilledAccount = ()
A function that is invoked when an account has been determined to be dead. Read more
§type OnNewAccount = ()
type OnNewAccount = ()
Handler for when a new account has just been created.
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Provides information about the pallet setup in the runtime. Read more
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated
RuntimeCall
type.§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The aggregated event type of the runtime.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The
RuntimeOrigin
type used by dispatchable calls.§type SS58Prefix = ()
type SS58Prefix = ()
The designated SS58 prefix of this chain. Read more
type SystemWeightInfo = ()
source§impl Debug for MiniRuntime
impl Debug for MiniRuntime
source§impl EnsureInherentsAreFirst<<MiniRuntime as Config>::Block> for MiniRuntime
impl EnsureInherentsAreFirst<<MiniRuntime as Config>::Block> for MiniRuntime
source§fn ensure_inherents_are_first(
block: &<MiniRuntime as Config>::Block
) -> Result<(), u32>
fn ensure_inherents_are_first( block: &<MiniRuntime as Config>::Block ) -> Result<(), u32>
Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
source§impl GetRuntimeBlockType for MiniRuntime
impl GetRuntimeBlockType for MiniRuntime
§type RuntimeBlock = <MiniRuntime as Config>::Block
type RuntimeBlock = <MiniRuntime as Config>::Block
The
RuntimeBlock
type.source§impl OnHookQueues<MiniRuntime> for GlobalOnInitQueues
impl OnHookQueues<MiniRuntime> for GlobalOnInitQueues
fn process(n: BlockNumber, on_init_weight_limit: Weight) -> Weight
fn process_bi_weekly(_n: BlockNumber, hook_weight_limit: Weight) -> Weight
fn process_weekly(_n: BlockNumber, _hook_weight_limit: Weight) -> Weight
fn process_daily(_n: BlockNumber, _hook_weight_limit: Weight) -> Weight
fn process_hourly(n: BlockNumber, hook_weight_limit: Weight) -> Weight
source§impl PalletAssetsOverlay<MiniRuntime, u128> for MiniRuntime
impl PalletAssetsOverlay<MiniRuntime, u128> for MiniRuntime
fn contains_asset(asset_id: &AssetId) -> bool
fn force_create_asset( origin: RuntimeOrigin, asset_id: AssetId, admin: AccountId, is_sufficient: bool, min_balance: Balance ) -> DispatchResult
fn destroy( origin: RuntimeOrigin, asset_id: &AssetId ) -> DispatchResultWithPostInfo
fn mint( origin: RuntimeOrigin, asset_id: AssetId, user: AccountId, amount: Balance ) -> DispatchResult
fn burn( origin: RuntimeOrigin, asset_id: AssetId, user: AccountId, amount: Balance ) -> DispatchResult
source§impl PartialEq<MiniRuntime> for MiniRuntime
impl PartialEq<MiniRuntime> for MiniRuntime
source§fn eq(&self, other: &MiniRuntime) -> bool
fn eq(&self, other: &MiniRuntime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelectLightClient<MiniRuntime> for SelectLightClientRegistry
impl SelectLightClient<MiniRuntime> for SelectLightClientRegistry
fn select( vendor: GatewayVendor ) -> Result<Box<dyn LightClient<MiniRuntime>>, PortalError<MiniRuntime>>
source§impl TreasuryAccountProvider<AccountId32> for MiniRuntime
impl TreasuryAccountProvider<AccountId32> for MiniRuntime
fn get_treasury_account(treasury_account: TreasuryAccount) -> AccountId
source§impl TypeInfo for MiniRuntime
impl TypeInfo for MiniRuntime
source§impl ValidateUnsigned for MiniRuntime
impl ValidateUnsigned for MiniRuntime
§type Call = RuntimeCall
type Call = RuntimeCall
The call to validate
source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
Validate the call right before dispatch. Read more
source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call ) -> TransactionValidity
Return the validity of the call Read more
impl Config for MiniRuntime
impl Copy for MiniRuntime
impl Eq for MiniRuntime
impl StructuralEq for MiniRuntime
impl StructuralPartialEq for MiniRuntime
Auto Trait Implementations§
impl RefUnwindSafe for MiniRuntime
impl Send for MiniRuntime
impl Sync for MiniRuntime
impl Unpin for MiniRuntime
impl UnwindSafe for MiniRuntime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§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
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
Compare self to
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
Checks if this value is equivalent to the given key. Read more
§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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Formats each item in a sequence. Read more
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,
Pipes by value. This is generally the method you want to use. Read more
§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,
Borrows
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,
Mutably borrows
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,
Borrows
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,
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§impl<T> Pointable for T
impl<T> Pointable for T
§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>,
Consume self to return an equivalent value of
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,
Immutable access to the
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,
Mutable access to the
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,
Immutable access to the
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,
Mutable access to the
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,
Immutable access to the
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,
Mutable access to the
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
Calls
.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
Calls
.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,
Calls
.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,
Calls
.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,
Calls
.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,
Calls
.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
The counterpart to
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
Consume self to return an equivalent value of
T
.