pub struct Runtime;

Implementations§

source§

impl Runtime

source

pub fn metadata() -> RuntimeMetadataPrefixed

source

pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

source

pub fn metadata_versions() -> Vec<u32>

Trait Implementations§

source§

impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime

source§

fn account_nonce(account: AccountId) -> Index

Get current account nonce of given AccountId.
source§

impl AdditionalRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn get_events() -> Vec<RpcEvent>

Fetch the events of a block An easy to work with structure with minimal SCALE needs
source§

impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>, Public> for Runtime

source§

fn slot_duration() -> SlotDuration

Returns the slot duration for Aura. Read more
source§

fn authorities() -> Vec<AuraId>

Return the current set of authorities.
source§

impl AuraUnincludedSegmentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn can_build_upon(included_hash: <Block as BlockT>::Hash, slot: Slot) -> bool

Whether it is legal to extend the chain, assuming the given block is the most recently included one as-of the relay parent that will be built against, and the given slot. Read more
source§

impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic ) -> ApplyExtrinsicResult

Apply the given extrinsic. Read more
source§

fn finalize_block() -> <Block as BlockT>::Header

Finish the current block.
source§

fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>

Generate inherent extrinsics. The inherent data will vary from chain to chain.
source§

fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult

Check that the inherents are valid. The inherent data will vary from chain to chain.
source§

impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller

source§

fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>

Extract the signer from the message if it is a Signed origin.
source§

fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>

Extract a reference to the system-level RawOrigin if it is that.
§

fn as_signed(&self) -> Option<&AccountId>

Extract the signer from it if a system Signed origin, None otherwise.
§

fn is_root(&self) -> bool

Returns true if self is a system Root origin, None otherwise.
§

fn is_none(&self) -> bool

Returns true if self is a system None origin, None otherwise.
source§

impl CapacityTransactionPaymentRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>, u128> for Runtime

source§

fn compute_capacity_fee( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>

Query the capacity fee details for a given extrinsic.
source§

impl Clone for Runtime

source§

fn clone(&self) -> Runtime

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo

Collect information about a collation. Read more
source§

impl Config<Instance1> for Runtime

§

type RuntimeOrigin = RuntimeOrigin

The runtime origin type.
§

type Proposal = RuntimeCall

The runtime call dispatch type.
§

type RuntimeEvent = RuntimeEvent

The runtime event type.
§

type MotionDuration = ConstU32<common_runtime::::constants::CouncilMotionDuration::{constant#0}>

The time-out for council motions.
§

type MaxProposals = ConstU32<25>

Maximum number of proposals allowed to be active in parallel.
§

type MaxMembers = ConstU32<10>

The maximum number of members supported by the pallet. Used for weight estimation. Read more
§

type DefaultVote = PrimeDefaultVote

Default vote strategy of this collective.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type SetMembersOrigin = EnsureRoot<<Runtime as Config>::AccountId>

Origin allowed to set collective members
§

type MaxProposalWeight = MaxCollectivesProposalWeight

The maximum weight of a dispatch call that can be proposed and executed.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type ConvertIntoAccountId32 = ConvertInto

AccountId truncated to 32 bytes
§

type MaxPublicKeysPerMsa = ConstU8<25>

Maximum count of keys allowed per MSA
§

type MaxSchemaGrantsPerDelegation = ConstU32<30>

Maximum count of schemas granted for publishing data per Provider
§

type MaxProviderNameSize = ConstU32<16>

Maximum provider name size allowed per MSA association
§

type SchemaValidator = Pallet<Runtime>

A type that will supply schema related information.
§

type HandleProvider = Pallet<Runtime>

A type that will supply Handle related information.
§

type MortalityWindowSize = ConstU32<100>

The number of blocks before a signature can be ejected from the PayloadSignatureRegistryList
§

type MaxSignaturesStored = ConstU32<50000>

The maximum number of signatures that can be stored in PayloadSignatureRegistryList.
§

type Proposal = RuntimeCall

The runtime call dispatch type.
§

type ProposalProvider = CouncilProposalProvider

The Council proposal provider interface
§

type CreateProviderViaGovernanceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMembers<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1>>

The origin that is allowed to create providers via governance
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Balance = u128

We need MaybeSerializeDeserialize because of the genesis config.
§

type Currency = Pallet<Runtime>

The currency trait used to set a freeze on a balance.
§

type MinReleaseTransfer = ConstU128<0>

The minimum amount transferred to call transfer.
§

type TransferOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Required origin for time-release transfer.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this module.
§

type MaxReleaseSchedules = ConstU32<{ MAX_RELEASE_SCHEDULES }>

The maximum release schedules.
§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

The block-number provider.
§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
source§

impl Config for Runtime

§

type PalletId = TreasuryPalletId

Treasury Account: 5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z

§

type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

Who approves treasury proposals?

  • Root (sudo or governance)
  • 3/5ths of the Frequency Council
§

type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Who rejects treasury proposals?

  • Root (sudo or governance)
  • Simple majority of the Frequency Council
§

type SpendOrigin = NeverEnsureOrigin<u128>

Spending funds outside of the proposal? Nobody

§

type OnSlash = ()

Rejected proposals lose their bond This takes the slashed amount and is often set to the Treasury We burn it so there is no incentive to the treasury to reject to enrich itself

§

type ProposalBond = ProposalBondPercent

Bond 5% of a treasury proposal

§

type ProposalBondMinimum = ConstU128<common_runtime::::constants::ProposalBondMinimum::{constant#0}>

Minimum bond of 100 Tokens

§

type ProposalBondMaximum = ConstU128<common_runtime::::constants::ProposalBondMaximum::{constant#0}>

Max bond of 1_000 Tokens

§

type SpendPeriod = ConstU32<common_runtime::::constants::SpendPeriod::{constant#0}>

Pay out on a 4-week basis

§

type Burn = ()

Do not burn any unused funds

§

type BurnDestination = ()

Where should tokens burned from the treasury go? Set to go to /dev/null

§

type SpendFunds = ()

Runtime hooks to external pallet using treasury to compute spend funds. Set to Bounties often. Not currently in use

§

type MaxApprovals = ConstU32<64>

64

§

type Currency = Pallet<Runtime>

The staking balance.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type AssetKind = ()

Type parameter representing the asset kinds to be spent from the treasury.
§

type Beneficiary = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

Type parameter used to identify the beneficiaries eligible to receive treasury spends.
§

type BeneficiaryLookup = IdentityLookup<<Runtime as Config>::Beneficiary>

Converting trait to take a source type and convert to [Self::Beneficiary].
§

type Paymaster = PayFromAccount<Pallet<Runtime>, TreasuryAccount>

Type for processing spends of [Self::AssetKind] in favor of [Self::Beneficiary].
§

type BalanceConverter = UnityAssetBalanceConversion

Type for converting the balance of an [Self::AssetKind] to the balance of the native asset, solely for the purpose of asserting the result against the maximum allowed spend amount of the [Self::SpendOrigin].
§

type PayoutPeriod = PayoutSpendPeriod

The period during which an approved treasury spend has to be claimed.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime>

The currency mechanism.
§

type ProxyType = ProxyType

A kind of proxy; specified with the proxy and passed in to the IsProxyable filter. The instance filter determines whether a given call may be proxied under this type. Read more
§

type ProxyDepositBase = ProxyDepositBase

The base amount of currency needed to reserve for creating a proxy. Read more
§

type ProxyDepositFactor = ProxyDepositFactor

The amount of currency needed per proxy added. Read more
§

type MaxProxies = MaxProxies

The maximum amount of proxies allowed for a single account.
§

type MaxPending = MaxPending

The maximum amount of time-delayed announcements that are allowed to be pending.
§

type CallHasher = BlakeTwo256

The type of hash used for hashing the call.
§

type AnnouncementDepositBase = AnnouncementDepositBase

The base amount of currency needed to reserve for creating an announcement. Read more
§

type AnnouncementDepositFactor = AnnouncementDepositFactor

The amount of currency needed per announcement made. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ()>

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.
§

type WeightToFee = WeightToFee

Convert a weight value into a deductible fee based on the currency type.
§

type LengthToFee = ConstantMultiplier<u128, ConstU128<common_runtime::::constants::TransactionByteFee::{constant#0}>>

Convert a length value into a deductible fee based on the currency type.
§

type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>

Update the multiplier of the next block, based on the previous block’s weight.
§

type OperationalFeeMultiplier = ConstU8<5>

A fee multiplier for Operational extrinsics to compute “virtual tip” to boost their priority Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnSystemEvent = ()

Something which can be notified when the validation data is set.
§

type SelfParaId = Pallet<Runtime>

Returns the parachain ID we are running with.
§

type DmpQueue = EnqueueWithOrigin<(), ConstU8<0>>

Queues inbound downward messages for delayed processing. Read more
§

type ReservedDmpWeight = ()

The weight we reserve at the beginning of the block for processing DMP messages.
§

type OutboundXcmpMessageSource = ()

The place where outbound XCMP messages come from. This is queried in finalize_block.
§

type XcmpMessageHandler = ()

The message handler that will be invoked when messages are received via XCMP. Read more
§

type ReservedXcmpWeight = ()

The weight we reserve at the beginning of the block for processing XCMP messages.
§

type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases

Something that can check the associated relay parent block number.
§

type WeightInfo = ()

Weight info for functions and calls.
§

type ConsensusHook = FixedVelocityConsensusHook<Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>

An entry-point for higher-level logic to manage the backlog of unincluded parachain blocks and authorship rights for those blocks. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Capacity = Pallet<Runtime>

The type that replenishes and keeps capacity balances.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type CapacityCalls = CapacityEligibleCalls

The type that checks what transactions are capacity with their stable weights.
§

type OnChargeCapacityTransaction = CapacityAdapter<Pallet<Runtime>, Pallet<Runtime>>

Charge Capacity for transaction payments.
§

type BatchProvider = CapacityBatchProvider

§

type MaximumCapacityBatchLength = ConstU8<10>

The maxmimum number of capacity calls that can be batched together.
source§

impl Config for Runtime

§

type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The identifier used to distinguish between accounts.

§

type BaseCallFilter = BaseCallFilter

Base call filter to use in dispatchable.

§

type RuntimeCall = RuntimeCall

The aggregated dispatch type that is available for extrinsics.

§

type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>

The lookup mechanism to get account ID from whatever is passed in dispatchers.

§

type Nonce = u32

The index type for storing how many extrinsics an account has signed.

§

type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>

The block type.

§

type Hash = H256

The type for hashing blocks and tries.

§

type Hashing = BlakeTwo256

The hashing algorithm used.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type RuntimeOrigin = RuntimeOrigin

The ubiquitous origin type.

§

type BlockHashCount = BlockHashCount

Maximum number of block number to block hash mappings to keep (oldest pruned first).

§

type Version = Version

Runtime version.

§

type PalletInfo = PalletInfo

Converts a module to an index of this module in the runtime.

§

type AccountData = AccountData<u128>

The data to be stored in an account.

§

type OnNewAccount = ()

What to do if a new account is created.

§

type OnKilledAccount = ()

What to do if an account is fully reaped from the system.

§

type DbWeight = RocksDbWeight

The weight of database operations that the runtime can invoke.

§

type SystemWeightInfo = ()

Weight information for the extrinsics of this pallet.

§

type BlockWeights = RuntimeBlockWeights

Block & extrinsics weights: base values and limits.

§

type BlockLength = RuntimeBlockLength

The maximum length of a block (in bytes).

§

type SS58Prefix = Ss58Prefix

This is used as an identifier of the chain. 42 is the generic substrate prefix.

§

type OnSetCode = ParachainSetCode<Runtime>

The action to take on a Runtime Upgrade

§

type SingleBlockMigrations = ()

A new way of configuring migrations that run in a single block.

§

type MultiBlockMigrator = ()

The migrator that is used to run Multi-Block-Migrations.

§

type PreInherents = ()

A callback that executes in every block directly before all inherents were applied.

§

type PostInherents = ()

A callback that executes in every block directly after all inherents were applied.

§

type PostTransactions = ()

A callback that executes in every block directly after all transactions were applied.

§

type RuntimeTask = RuntimeTask

The aggregated RuntimeTask type.
§

type MaxConsumers = ConstU32<16>

The maximum number of consumers allowed on a single account.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.

§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.

§

type MsaInfoProvider = Pallet<Runtime>

The type that supplies MSA info

§

type HandleSuffixMin = ConstU16<10>

The minimum suffix value

§

type HandleSuffixMax = ConstU16<99>

The maximum suffix value

§

type ConvertIntoAccountId32 = ConvertInto

The conversion to a 32 byte AccountId

§

type MortalityWindowSize = ConstU32<100>

The number of blocks before a signature can be ejected from the PayloadSignatureRegistryList
source§

impl Config for Runtime

§

type AuthorityId = Public

The identifier type for an authority.
§

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.
§

type MaxAuthorities = ConstU32<100000>

The maximum number of authorities that the pallet can hold.
§

type AllowMultipleBlocksPerSlot = ConstBool<{ prod_or_testnet_or_local!(false, true, true) }>

Whether to allow block authors to create multiple blocks per slot. Read more
§

type SlotDuration = ConstU64<SLOT_DURATION>

The slot duration Aura should run with, expressed in milliseconds. The effective value of this type should not change while the chain is running. Read more
source§

impl Config for Runtime

§

type WeightInfo = SubstrateWeight<Runtime>

The Weight information for this pallet.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime>

Currency type for this pallet.
§

type ManagerOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>>

An origin that can request a preimage be placed on-chain without a deposit or fee, or manage existing preimages.
§

type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<ConstU128<common_runtime::::constants::PreimageBaseDeposit::{constant#0}>, ConstU128<common_runtime::::constants::PreimageByteDeposit::{constant#0}>, u128>>

A means of providing some cost while data is stored on-chain.
source§

impl Config for Runtime

§

type MaxItemizedPageSizeBytes = MaxItemizedPageSizeBytes

The maximum size of a page (in bytes) for an Itemized storage model

§

type MaxPaginatedPageSizeBytes = MaxPaginatedPageSizeBytes

The maximum size of a page (in bytes) for a Paginated storage model

§

type MaxItemizedBlobSizeBytes = MaxItemizedBlobSizeBytes

The maximum size of a single item in an itemized storage model (in bytes)

§

type MaxPaginatedPageId = ConstU16<32>

The maximum number of pages in a Paginated storage model

§

type MaxItemizedActionsCount = ConstU32<5>

The maximum number of actions in itemized actions

§

type MsaInfoProvider = Pallet<Runtime>

The type that supplies MSA info

§

type SchemaGrantValidator = Pallet<Runtime>

The type that validates schema grants

§

type SchemaProvider = Pallet<Runtime>

The type that provides schema info

§

type KeyHasher = Twox128

Hasher for Child Tree keys

§

type ConvertIntoAccountId32 = ConvertInto

The conversion to a 32 byte AccountId

§

type MortalityWindowSize = ConstU32<14400>

The number of blocks per virtual bucket

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.

§

type RuntimeEvent = RuntimeEvent

Overarching event type.
§

type Currency = Pallet<Runtime>

The currency mechanism.
§

type UpdateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

Origin that can dictate updating parameters of this pallet.
§

type PotId = NeverDepositIntoId

Account Identifier from which the internal Pot is generated.
§

type MaxCandidates = ConstU32<50>

Maximum number of candidates that we should have. Read more
§

type MinEligibleCollators = ConstU32<common_runtime::::constants::CollatorMinCandidates::{constant#0}>

Minimum number eligible collators. Should always be greater than zero. This includes Invulnerable collators. This ensures that there will always be one collator who can produce a block.
§

type MaxInvulnerables = ConstU32<common_runtime::::constants::CollatorMaxInvulnerables::{constant#0}>

Maximum number of invulnerables.
§

type KickThreshold = ConstU32<common_runtime::::constants::CollatorKickThreshold::{constant#0}>

§

type ValidatorIdOf = IdentityCollator

A conversion from account ID to validator ID. Read more
§

type ValidatorRegistration = Pallet<Runtime>

Validate a user is registered
§

type WeightInfo = SubstrateWeight<Runtime>

The weight information of this pallet.
source§

impl Config for Runtime

§

type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>

Find the author of a block.
§

type EventHandler = (Pallet<Runtime>,)

An event handler for authored blocks.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type Currency = Pallet<Runtime>

Functions that allow a fungible balance to be changed or frozen.
§

type MinimumStakingAmount = ConstU128<common_runtime::::constants::CapacityMinimumStakingAmount::{constant#0}>

The minimum required token amount to stake. It facilitates cleaning dust when unstaking.
§

type MinimumTokenBalance = ConstU128<common_runtime::::constants::CapacityMinimumTokenBalance::{constant#0}>

The minimum required token amount to remain in the account after staking.
§

type TargetValidator = Pallet<Runtime>

Function that checks if an MSA is a valid target.
§

type MaxUnlockingChunks = ConstU32<4>

The maximum number of unlocking chunks a StakingAccountLedger can have. It determines how many concurrent unstaked chunks may exist.
§

type UnstakingThawPeriod = ConstU16<30>

The number of Epochs before you can unlock tokens after unstaking.
§

type MaxEpochLength = ConstU32<7200>

Maximum number of blocks an epoch can be
§

type EpochNumber = u32

A type that provides an Epoch number traits pulled from frame_system::Config::BlockNumber
§

type CapacityPerToken = CapacityPerToken

How much FRQCY one unit of Capacity costs
§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = IdentityCollator

A conversion from account ID to validator ID. Read more
§

type ShouldEndSession = PeriodicSessions<ConstU32<common_runtime::::constants::SessionPeriod::{constant#0}>, ConstU32<0>>

Indicator for when to end the session.
§

type NextSessionRotation = PeriodicSessions<ConstU32<common_runtime::::constants::SessionPeriod::{constant#0}>, ConstU32<0>>

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].
§

type SessionManager = Pallet<Runtime>

Handler for managing new session.
§

type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

Handler when a session has changed.
§

type Keys = SessionKeys

The keys.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type MinSchemaModelSizeBytes = ConstU32<8>

Minimum length of Schema model size in bytes
§

type MaxSchemaRegistrations = ConstU16<65000>

Maximum number of schemas that can be registered
§

type SchemaModelMaxBytesBoundedVecLimit = SchemasMaxBytesBoundedVecLimit

Maximum length of a Schema model Bounded Vec
§

type Proposal = RuntimeCall

The runtime call dispatch type.
§

type ProposalProvider = CouncilProposalProvider

The Council proposal provider interface
§

type CreateSchemaViaGovernanceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

The origin that is allowed to create providers via governance
§

type MaxSchemaSettingsPerSchema = ConstU32<2>

Maximum number of schema settings that can be registered per schema (if any)
source§

impl Config for Runtime

§

type ExternalDefaultOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

A unanimous council can have the next scheduled referendum be a straight default-carries (NTB) vote.

§

type ExternalMajorityOrigin = EitherOfDiverse<EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

A simple-majority of 50% + 1 can have the next scheduled referendum be a straight majority-carries vote.

§

type ExternalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

A straight majority (at least 50%) of the council can decide what their next motion is.

§

type FastTrackOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>, 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 InstantOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

Origin from which the next majority-carries (or more permissive) referendum may be tabled to vote immediately and asynchronously in a similar manner to the emergency origin. Requires TechnicalCommittee to be unanimous.

§

type PalletsOrigin = OriginCaller

Overarching type of all pallets origins

§

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.

§

type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>

To cancel a proposal before it has been passed, the technical committee must be unanimous or Root must agree.

§

type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

This origin can blacklist proposals.

§

type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>

Any single technical committee member may veto a coming council proposal, however they can only do it once and it lasts only for the cool-off period.

§

type CooloffPeriod = ConstU32<common_runtime::::constants::CooloffPeriod::{constant#0}>

Period in blocks where an external proposal may not be re-submitted after being vetoed.
§

type Currency = Pallet<Runtime>

Currency type for this pallet.
§

type EnactmentPeriod = ConstU32<common_runtime::::constants::EnactmentPeriod::{constant#0}>

The period between a proposal being approved and enacted. Read more
§

type RuntimeEvent = RuntimeEvent

§

type FastTrackVotingPeriod = ConstU32<common_runtime::::constants::FastTrackVotingPeriod::{constant#0}>

Minimum voting period allowed for a fast-track referendum.
§

type InstantAllowed = ConstBool<true>

Indicator for whether an emergency origin is even allowed to happen. Some chains may want to set this permanently to false, others may want to condition it on things such as an upgrade having happened recently.
§

type LaunchPeriod = ConstU32<common_runtime::::constants::LaunchPeriod::{constant#0}>

How often (in blocks) new public referenda are launched.
§

type MaxProposals = ConstU32<100>

The maximum number of public proposals that can exist at any time.
§

type MaxVotes = ConstU32<100>

The maximum number of votes for an account. Read more
§

type MinimumDeposit = ConstU128<common_runtime::::constants::MinimumDeposit::{constant#0}>

The minimum amount to be used as a deposit for a public referendum proposal.
§

type Scheduler = Pallet<Runtime>

The Scheduler.
§

type Slash = ()

Handler for the unbalanced reduction when slashing a preimage deposit.
§

type WeightInfo = SubstrateWeight<Runtime>

§

type VoteLockingPeriod = ConstU32<common_runtime::::constants::EnactmentPeriod::{constant#0}>

The minimum period of vote locking. Read more
§

type VotingPeriod = ConstU32<common_runtime::::constants::VotingPeriod::{constant#0}>

How often (in blocks) to check for new votes.
§

type Preimages = Pallet<Runtime>

The Preimage provider.
§

type MaxDeposits = ConstU32<100>

The maximum number of deposits a public proposal may have at any time.
§

type MaxBlacklisted = ConstU32<100>

The maximum number of items which can be blacklisted.
§

type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin from which the new proposal can be made. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime>

The currency mechanism.
§

type DepositBase = ConstU128<{ currency::deposit(1, 88) }>

The base amount of currency needed to reserve for creating a multisig execution or to store a dispatch call for later. Read more
§

type DepositFactor = ConstU128<{ currency::deposit(0, 32) }>

The amount of currency needed per unit threshold when creating a multisig execution. Read more
§

type MaxSignatories = ConstU32<100>

The maximum amount of signatories allowed in the multisig.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type Balance = u128

The type for recording an account’s balance.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type MaxLocks = ConstU32<50>

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation. Read more
§

type DustRemoval = ()

Handler for the unbalanced reduction when removing a dust account.
§

type ExistentialDeposit = ConstU128<EXISTENTIAL_DEPOSIT>

The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
§

type AccountStore = Pallet<Runtime>

The means of storing the balances of an account.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxReserves = ConstU32<50>

The maximum number of named reserves that can exist on an account. Read more
§

type ReserveIdentifier = [u8; 8]

The ID type for reserves. Read more
§

type MaxFreezes = ConstU32<2>

The maximum number of individual freeze locks that can exist on an account at any time.
§

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
§

type FreezeIdentifier = RuntimeFreezeReason

The ID type for freezes.
source§

impl Config for Runtime

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type OnTimestampSet = ()

Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
§

type MinimumPeriod = ConstU64<common_runtime::::constants::MinimumPeriod::{constant#0}>

The minimum period between blocks. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type MsaInfoProvider = Pallet<Runtime>

A type that will supply MSA related information
§

type SchemaGrantValidator = Pallet<Runtime>

A type that will validate schema grants
§

type SchemaProvider = Pallet<Runtime>

A type that will supply schema related information.
§

type MessagesMaxPayloadSizeBytes = MessagesMaxPayloadSizeBytes

The maximum size of a message payload bytes.
source§

impl Config for Runtime

§

type ScheduleOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Origin to schedule or cancel calls Set to Root or a simple majority of the Frequency Council

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeOrigin = RuntimeOrigin

The aggregated origin which the dispatch will take.
§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
§

type RuntimeCall = RuntimeCall

The aggregated call type.
§

type MaximumWeight = MaximumSchedulerWeight

The maximum weight that may be scheduled per block for any dispatchables.
§

type MaxScheduledPerBlock = ConstU32<50>

The maximum number of scheduled calls in the queue for a single block. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type OriginPrivilegeCmp = EqualPrivilegeOnly

Compare the privileges of origins. Read more
§

type Preimages = Pallet<Runtime>

The preimage provider with which we look up call hashes to get the call.
source§

impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
source§

fn execute_block(block: Block)

Execute the given block.
source§

fn initialize_block( header: &<Block as BlockT>::Header ) -> ExtrinsicInclusionMode

Initialize a block with the given header and return the runtime executive mode.
source§

impl Debug for Runtime

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl EnsureInherentsAreFirst<<Runtime as Config>::Block> for Runtime

source§

fn ensure_inherents_are_first( block: &<Runtime as Config>::Block ) -> Result<u32, u32>

Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
source§

impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn build_state(config: Vec<u8>) -> Result

Build RuntimeGenesisConfig from a JSON blob not using any defaults and store it in the storage. Read more
source§

fn get_preset(id: &Option<PresetId>) -> Option<Vec<u8>>

Returns a JSON blob representation of the built-in RuntimeGenesisConfig identified by id. Read more
source§

fn preset_names() -> Vec<PresetId>

Returns a list of identifiers for available builtin RuntimeGenesisConfig presets. Read more
source§

impl GetRuntimeBlockType for Runtime

§

type RuntimeBlock = <Runtime as Config>::Block

The RuntimeBlock type.
source§

impl HandlesRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn get_handle_for_msa(msa_id: MessageSourceId) -> Option<HandleResponse>

Retrieve handle for a particular msa
source§

fn get_next_suffixes( base_handle: BaseHandle, count: u16 ) -> PresumptiveSuffixesResponse

Retrieve the next n suffixes for a given handle
source§

fn get_msa_for_handle(display_handle: DisplayHandle) -> Option<MessageSourceId>

Retrieve msa for a particular handle
source§

fn validate_handle(base_handle: BaseHandle) -> bool

Check if a handle is valid
source§

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

source§

fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool

Whether this extrinsic is an inherent.
source§

impl MessagesRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn get_messages_by_schema_and_block( schema_id: SchemaId, schema_payload_location: PayloadLocation, block_number: BlockNumber ) -> Vec<MessageResponse>

Retrieve the messages for a particular schema and block number
source§

fn get_schema_by_id(schema_id: SchemaId) -> Option<SchemaResponse>

Retrieve a schema by id
source§

impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn metadata() -> OpaqueMetadata

Returns the metadata of a runtime.
source§

fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

Returns the metadata at a given version. Read more
source§

fn metadata_versions() -> Vec<u32>

Returns the supported metadata versions. Read more
source§

impl MsaRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime

source§

fn has_delegation( delegator: DelegatorId, provider: ProviderId, block_number: BlockNumber, schema_id: Option<SchemaId> ) -> bool

Check to see if a delegation existed between the given delegator and provider at a given block
source§

fn get_granted_schemas_by_msa_id( delegator: DelegatorId, provider: ProviderId ) -> Option<Vec<SchemaGrant<SchemaId, BlockNumber>>>

Get the list of schema permission grants (if any) that exist in any delegation between the delegator and provider The returned list contains both schema id and the block number at which permission was revoked (0 if currently not revoked)
source§

fn get_all_granted_delegations_by_msa_id( delegator: DelegatorId ) -> Vec<DelegationResponse<SchemaId, BlockNumber>>

Get the list of all delegated providers with schema permission grants (if any) that exist in any delegation between the delegator and provider The returned list contains both schema id and the block number at which permission was revoked (0 if currently not revoked)
source§

impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn offchain_worker(header: &<Block as BlockT>::Header)

Starts the off-chain task for given block header.
source§

impl PartialEq for Runtime

source§

fn eq(&self, other: &Runtime) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl SchemasRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn get_by_schema_id(schema_id: SchemaId) -> Option<SchemaResponse>

Fetch the schema by id
source§

fn get_schema_versions_by_name( schema_name: Vec<u8> ) -> Option<Vec<SchemaVersionResponse>>

Fetch the schema versions by name
source§

impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8>

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
source§

fn decode_session_keys(encoded: Vec<u8>) -> Option<Vec<(Vec<u8>, KeyTypeId)>>

Decode the given public session keys. Read more
source§

impl StatefulStorageRuntimeApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn get_paginated_storage( msa_id: MessageSourceId, schema_id: SchemaId ) -> Result<Vec<PaginatedStorageResponse>, DispatchError>

Retrieve the paginated storage for a particular msa and schema
source§

fn get_itemized_storage( msa_id: MessageSourceId, schema_id: SchemaId ) -> Result<ItemizedStoragePageResponse, DispatchError>

Retrieve the itemized storage for a particular msa and schema
source§

impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash ) -> TransactionValidity

Validate the transaction. Read more
source§

impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>), CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeFrqTransactionPayment<Runtime>, CheckFreeExtrinsicUse<Runtime>, HandlesSignedExtension<Runtime>, StaleHashCheckExtension, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>, u128> for Runtime

source§

fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> RuntimeDispatchInfo<Balance>

source§

fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>

source§

fn query_weight_to_fee(weight: Weight) -> Balance

source§

fn query_length_to_fee(len: u32) -> Balance

source§

impl TypeInfo for Runtime

§

type Identity = Runtime

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl ValidateUnsigned for Runtime

§

type Call = RuntimeCall

The call to validate
source§

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

Return the validity of the call Read more
source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Copy for Runtime

source§

impl Eq for Runtime

source§

impl StructuralEq for Runtime

source§

impl StructuralPartialEq for Runtime

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>
where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
§

fn checked_into<T>(self) -> Option<T>
where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<T> FmtForward for T

§

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,

Causes self to use its Display implementation when Debug-formatted.
§

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,

Causes self to use its LowerHex implementation when Debug-formatted.
§

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,

Causes self to use its Pointer implementation when Debug-formatted.
§

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,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T, U> IntoKey<U> for T
where U: FromKey<T>,

§

fn into_key(self) -> U

§

impl<T> IsType<T> for T

§

fn from_ref(t: &T) -> &T

Cast reference.
§

fn into_ref(&self) -> &T

Cast reference.
§

fn from_mut(t: &mut T) -> &mut T

Cast mutable reference.
§

fn into_mut(&mut self) -> &mut T

Cast mutable reference.
§

impl<T, Outer> IsWrappedBy<Outer> for T
where Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

§

impl<T> Pipe for T
where T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where 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) -> R
where 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) -> R
where 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) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where 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) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

fn saturated_from<T>(t: T) -> Self
where Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
§

fn saturated_into<T>(self) -> T
where Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where 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)) -> Self
where 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)) -> Self
where 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)) -> Self
where 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)) -> Self
where 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)) -> Self
where 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

Calls .tap() only in debug builds, and is erased in release builds.
§

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)) -> Self
where 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)) -> Self
where 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)) -> Self
where 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)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T, U> TryIntoKey<U> for T
where U: TryFromKey<T>,

§

type Error = <U as TryFromKey<T>>::Error

§

fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>

§

impl<S, T> UncheckedInto<T> for S
where T: UncheckedFrom<S>,

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

impl<T, S> UniqueSaturatedInto<T> for S
where T: Bounded, S: TryInto<T>,

§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> JsonSchemaMaybe for T

§

impl<T> MaybeDebug for T
where T: Debug,

§

impl<T> MaybeRefUnwindSafe for T
where T: RefUnwindSafe,

§

impl<T> Member for T
where T: Send + Sync + Debug + Eq + PartialEq + Clone + 'static,

§

impl<T> StaticTypeInfo for T
where T: TypeInfo + 'static,