Struct dock_runtime::Runtime

source ·
pub struct Runtime;

Implementations§

source§

impl Runtime

source

pub fn metadata() -> RuntimeMetadataPrefixed

Trait Implementations§

source§

impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<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 AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

fn authorities() -> Vec<AuthorityDiscoveryId>

Retrieve authority identifiers of the current and next authority set.
source§

impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

fn configuration() -> BabeConfiguration

Return the configuration for BABE.
source§

fn current_epoch_start() -> Slot

Returns the slot that started the current epoch.
source§

fn current_epoch() -> Epoch

Returns information regarding the current epoch.
source§

fn next_epoch() -> Epoch

Returns information regarding the next epoch (which was already previously announced).
source§

fn generate_key_ownership_proof( _slot: Slot, authority_id: AuthorityId ) -> Option<OpaqueKeyOwnershipProof>

Generates a proof of key ownership for the given authority in the current epoch. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a slot as parameter the current implementations ignores this parameter and instead relies on this method being called at the correct block height, i.e. any point at which the epoch for the given slot is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available.
source§

fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Header>, key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context.
source§

impl BeefyApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

fn validator_set() -> Option<ValidatorSet<AuthorityId>>

Return the current active BEEFY validator set
source§

impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<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 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 Config<()> for Runtime

§

type CuratorDepositMultiplier = BountyCuratorDepositMultiplier

The curator deposit is calculated as a percentage of the curator fee. Read more
§

type CuratorDepositMax = BountyCuratorDepositMax

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type CuratorDepositMin = BountyCuratorDepositMin

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type ChildBountyManager = ()

The child bounty manager.
§

type Event = Event

The overarching event type.
§

type BountyDepositBase = BountyDepositBase

The amount held on deposit for placing a bounty proposal.
§

type BountyDepositPayoutDelay = BountyDepositPayoutDelay

The delay period for which a bounty beneficiary need to wait before claim the payout.
§

type BountyUpdatePeriod = BountyUpdatePeriod

Bounty duration in blocks.
§

type BountyValueMinimum = BountyValueMinimum

Minimum value for a bounty.
§

type DataDepositPerByte = DataDepositPerByte

The amount held on deposit per byte within the tip report reason or bounty description.
§

type MaximumReasonLength = MaximumReasonLength

Maximum acceptable reason length. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

§

type Event = Event

The overarching event type.
§

type DataDepositPerByte = DataDepositPerByte

The amount held on deposit per byte within the tip report reason or bounty description.
§

type MaximumReasonLength = MaximumReasonLength

Maximum acceptable reason length. Read more
§

type Tippers = Pallet<Runtime>

Origin from which tippers must come. Read more
§

type TipCountdown = TipCountdown

The period for which a tip remains open after is has achieved threshold tippers.
§

type TipFindersFee = TipFindersFee

The percent of the final tip which goes to the original reporter of the tip.
§

type TipReportDepositBase = TipReportDepositBase

The amount held on deposit for placing a tip report.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

§

type Balance = u64

The type for recording an account’s balance.

§

type Event = Event

The ubiquitous event type.

§

type MaxReserves = ConstU32<50>

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

type ReserveIdentifier = [u8; 8]

The id type for named reserves.
§

type DustRemoval = ()

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

type ExistentialDeposit = ExistentialDeposit

The minimum amount required to keep an account open.
§

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 MaxLocks = ConstU32<50>

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

impl Config<()> for Runtime

§

type MaxApprovals = MaxApprovals

The maximum number of approvals that can wait in the spending queue. Read more
§

type ProposalBondMaximum = ()

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type SpendOrigin = NeverEnsureOrigin<u64>

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 PalletId = TreasuryPalletId

The treasury’s pallet id, used for deriving its sovereign account ID.
§

type Currency = Pallet<Runtime, ()>

The staking balance.
§

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

Origin from which approvals must come.
§

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

Origin from which rejections must come.
§

type Event = Event

The overarching event type.
§

type OnSlash = ()

Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§

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 ProposalBondMinimum = ProposalBondMinimum

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type SpendPeriod = SpendPeriod

Period between successive spends.
§

type Burn = Burn

Percentage of spare funds (if any) that are burnt per spend period.
§

type BurnDestination = Pallet<Runtime, ()>

Handler for the unbalanced decrease when treasury funds are burned.
§

type SpendFunds = Pallet<Runtime, ()>

Runtime hooks to external pallet using treasury to compute spend funds.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

Dummy Merkle Mountain Range pallet configuration.

source§

const INDEXING_PREFIX: &'static [u8] = b"mmr"

Prefix for elements stored in the Off-chain DB via Indexing API. Read more
§

type Hashing = Keccak256

A hasher type for MMR. Read more
§

type Hash = <Keccak256 as Hash>::Output

The hashing output type. Read more
§

type OnNewRoot = ()

A hook to act on the new MMR root. Read more
§

type WeightInfo = ()

Weights for this pallet.
§

type LeafData = ()

Data stored in the leaf nodes. Read more
source§

impl Config<Instance1> for Runtime

This instance of the membership pallet corresponds to Council. Adding, removing, swapping, resetting members requires an approval of simple majority of the Council or Root origin

§

type MaxMembers = CouncilMaxMembers

The maximum number of members that this membership can have. Read more
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type Event = Event

The overarching event type.
§

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

Required origin for adding a member (though can always be Root).
§

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

Required origin for removing a member (though can always be Root).
§

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

Required origin for adding and removing a member in a single action.
§

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

Required origin for resetting membership.
§

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

Required origin for setting or resetting the prime member.
§

type MembershipInitialized = Pallet<Runtime, Instance2>

The receiver of the signal for when the membership has been initialized. This happens pre-genesis and will usually be the same as MembershipChanged. If you need to do something different on initialization, then you can change this accordingly.
§

type MembershipChanged = Pallet<Runtime, Instance2>

The receiver of the signal for when the membership has changed.
source§

impl Config<Instance1> for Runtime

§

type ShortTimeProposal = ShortTimeProposal

Defines length of the short proposal in blocks. As these proposals were created recently, they require all members to vote in order to be executed.
§

type Origin = Origin

The outer origin type.
§

type Proposal = Call

The outer call dispatch type.
§

type Event = Event

The outer event type.
§

type MotionDuration = CouncilMotionDuration

The time-out for council motions.
§

type MaxProposals = CouncilMaxProposals

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

type MaxMembers = CouncilMaxMembers

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

type DefaultVote = MoreThanMajorityThenPrimeDefaultVote

Default vote strategy of this collective.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<Instance2> for Runtime

§

type ShortTimeProposal = ShortTimeProposal

Defines length of the short proposal in blocks. As these proposals were created recently, they require all members to vote in order to be executed.
§

type Origin = Origin

The outer origin type.
§

type Proposal = Call

The outer call dispatch type.
§

type Event = Event

The outer event type.
§

type MotionDuration = TechnicalMotionDuration

The time-out for council motions.
§

type MaxProposals = TechnicalMaxProposals

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

type MaxMembers = TechnicalMaxMembers

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

type DefaultVote = MoreThanMajorityThenPrimeDefaultVote

Default vote strategy of this collective.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type HighRateRewardDecayPct = HighRateRewardDecayPct

High-rate emission rewards decay by this % each year

§

type LowRateRewardDecayPct = LowRateRewardDecayPct

Low-rate emission rewards decay by this % each year

§

type TreasuryRewardsPct = TreasuryRewardsPct

Treasury gets this much % out of emission rewards for each era

§

type RewardCurve = RewardCurve

NPoS reward curve

§

type Event = Event

The overarching event type.
§

type PostUpgradeHighRateDuration = PostUpgradeHighRateDuration

Optional duration in eras for high-rate rewards to be paid after the upgrade. High-rate rewards will become active at the beginning of the next sequential era.
source§

impl Config for Runtime

§

type MaxKeys = ConstU32<100>

The maximum number of keys that can be added.
§

type MaxPeerInHeartbeats = ConstU32<100>

The maximum number of peers to be stored in ReceivedHeartbeats
§

type MaxPeerDataEncodingSize = ConstU32<100>

The maximum size of the encoding of PeerId and MultiAddr that are coming from the hearbeat
§

type AuthorityId = Public

The identifier type for an authority.
§

type Event = Event

The overarching event type.
§

type NextSessionRotation = Pallet<Runtime>

A trait that allows us to estimate the current session progress and also the average session length. Read more
§

type ValidatorSet = Pallet<Runtime>

A type for retrieving the validators supposed to be online in a session.
§

type ReportUnresponsiveness = Pallet<Runtime>

A type that gives us the ability to submit unresponsiveness offence reports.
§

type UnsignedPriority = ImOnlineUnsignedPriority

A configuration for base priority of unsigned transactions. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
§

type Call = Call

A sudo-able call.
source§

impl Config for Runtime

§

type FeeCalculator = GasPrice

Minimum gas price is 50

§

type GasWeightMapping = GasWeightMap

1:50 mapping of gas to weight

§

type CallOrigin = EnsureAddressTruncated

Allow the origin to call on behalf of given address.
§

type WithdrawOrigin = EnsureAddressTruncated

Allow the origin to withdraw on behalf of given address.
§

type AddressMapping = HashedAddressMapping<BlakeTwo256>

Mapping from address to account id.
§

type Currency = Pallet<Runtime, ()>

Currency type for withdraw and balance storage.
§

type ByteReadWeight = ByteReadWeight

ByteReadWeight
§

type Event = Event

The overarching event type.
§

type Runner = Runner<Runtime>

EVM execution runner.
§

type PrecompilesType = FrontierPrecompiles<Runtime>

Precompiles associated with this EVM engine.
§

type PrecompilesValue = PrecompilesValue

§

type ChainId = DockChainId

Chain ID of EVM.
§

type OnChargeTransaction = EVMCurrencyAdapter<Pallet<Runtime, ()>, DealWithFees>

To handle fee deduction for EVM transactions. An example is this pallet being used by pallet_ethereum where the chain implementing pallet_ethereum should be able to configure what happens to the fees Similar to OnChargeTransaction of pallet_transaction_payment
§

type BlockGasLimit = BlockGasLimit

The block gas limit. Can be a simple constant, or an adjustment algorithm in another pallet.
§

type BlockHashMapping = EthereumBlockHashMapping<Runtime>

Block number to block hash.
§

type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>

Find author for the current block.
source§

fn config() -> &'static EvmConfig

EVM config used in the module.
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
source§

impl Config for Runtime

§

type Currency = Pallet<Runtime, ()>

source§

impl Config for Runtime

§

type BaseCallFilter = Everything

The basic call filter to use in dispatchable.

§

type Origin = Origin

The ubiquitous origin type.

§

type Call = Call

The aggregated dispatch type that is available for extrinsics.

§

type Index = u32

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

§

type BlockNumber = u32

The index type for blocks.

§

type Hash = H256

The type for hashing blocks and tries.

§

type Hashing = BlakeTwo256

The hashing algorithm used.

§

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

The identifier used to distinguish between accounts.

§

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

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

§

type Header = Header<u32, BlakeTwo256>

The header type.

§

type Event = Event

The ubiquitous event type.

§

type BlockHashCount = BlockHashCount

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

§

type BlockWeights = RuntimeBlockWeights

Block & extrinsics weights: base values and limits.

§

type DbWeight = RocksDbWeight

The weight of database operations that the runtime can invoke.

§

type Version = Version

Version of the runtime.

§

type PalletInfo = PalletInfo

Provides information about the pallet setup in the runtime.

Expects the PalletInfo type that is being generated by construct_runtime! in the runtime.

For tests it is okay to use () as type, however it will provide “useless” data.

§

type AccountData = AccountData<u64>

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 SystemWeightInfo = SubstrateWeight<Runtime>

Weight information for the extrinsics of this pallet.

§

type MaxConsumers = ConstU32<16>

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

type BlockLength = RuntimeBlockLength

The maximum length of a block (in bytes).
§

type OnSetCode = ()

What to do if the runtime wants to change the code to something new. Read more
§

type SS58Prefix = SS58Prefix

The designated SS58 prefix of this chain. Read more
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency to be burnt during migration.
§

type BurnDestination = BurnDestination

Id of the recipient account on the dock side to send burnt funds.
source§

impl Config for Runtime

§

type Slashed = Pallet<Runtime, ()>

Slashed funds go to treasury

§

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

Root or >50% Council required to kill identity and slash

§

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

Root or >50% Council required to add new registrar

§

type Event = Event

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency trait.
§

type BasicDeposit = BasicDeposit

The amount held on deposit for a registered identity
§

type FieldDeposit = FieldDeposit

The amount held on deposit per additional field for a registered identity.
§

type SubAccountDeposit = SubAccountDeposit

The amount held on deposit for a registered subaccount. This should account for the fact that one storage item’s value will increase by the size of an account ID, and there will be another trie item whose value is the size of an account ID plus 32 bytes.
§

type MaxSubAccounts = MaxSubAccounts

The maximum number of sub-accounts allowed per identified account.
§

type MaxAdditionalFields = MaxAdditionalFields

Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O required to access an identity, but can be pretty high.
§

type MaxRegistrars = MaxRegistrars

Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

Utility pallet is needed to send extrinsics in a batch

§

type PalletsOrigin = OriginCaller

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

type Event = Event

The overarching event type.
§

type Call = Call

The overarching call type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
source§

impl Config for Runtime

§

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

A straight majority of the council can decide what their next motion is.

§

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

A super-majority can have the next scheduled referendum be a straight majority-carries vote.

§

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

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

§

type FastTrackOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>

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<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>

Root or the Technical committee unanimously agreeing can make a Council proposal a referendum instantly.

§

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

To cancel a proposal which has been passed, 2/3 of the council must agree to it.

§

type VoteLockingPeriod = EnactmentPeriod

The minimum period of vote locking. Read more
§

type Proposal = Call

§

type Event = Event

§

type Currency = Pallet<Runtime, ()>

Currency type for this pallet.
§

type EnactmentPeriod = EnactmentPeriod

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

type DepositLockStrategy = DepositLockStrategy

Denotes how long deposit should be locked in case if proposal turnout is less than immediate_payback_turnout.
§

type LaunchPeriod = LaunchPeriod

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

type VotingPeriod = VotingPeriod

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

type CooloffPeriod = CooloffPeriod

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

type MinimumDeposit = MinimumDeposit

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

type InstantAllowed = InstantAllowed

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 FastTrackVotingPeriod = FastTrackVotingPeriod

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

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

Origin from which a proposal may be cancelled and its backers slashed.
§

type PreimageByteDeposit = PreimageByteDeposit

The amount of balance that must be deposited per byte of preimage stored.
§

type Slash = Pallet<Runtime, ()>

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

type OperationalPreimageOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1>

An origin that can provide a preimage using operational extrinsics.
§

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

Origin from which proposals may be blacklisted.
§

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

Origin for anyone able to veto proposals. Read more
§

type Scheduler = Pallet<Runtime>

The Scheduler.
§

type PalletsOrigin = OriginCaller

Overarching type of all pallets origins.
§

type MaxVotes = MaxVotes

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

type MaxProposals = MaxProposals

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

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type MaxCandidates = MaxCandidates

The maximum number of candidates in a phragmen election. Read more
§

type MaxVoters = MaxVoters

The maximum number of voters to allow in a phragmen election. Read more
§

type CandidacyDelay = CandidacyDelay

How many blocks are required for candidates before they become allowed for election.
§

type Event = Event

§

type PalletId = ElectionsPhragmenPalletId

Identifier for the elections-phragmen pallet’s lock
§

type Currency = Pallet<Runtime, ()>

The currency that people are electing with.
§

type ChangeMembers = Pallet<Runtime, Instance1>

What to do when the members change.
§

type InitializeMembers = Pallet<Runtime, Instance1>

What to do with genesis members
§

type CurrencyToVote = U64CurrencyToVote

Convert a balance into a number used for election calculation. This must fit into a u64 but is allowed to be sensibly lossy.
§

type CandidacyBond = CandidacyBond

How much should be locked up in order to submit one’s candidacy.
§

type VotingBondBase = VotingBondBase

Base deposit associated with voting. Read more
§

type VotingBondFactor = VotingBondFactor

The amount of bond that need to be locked for each vote (32 bytes).
§

type LoserCandidate = ()

Handler for the unbalanced reduction when a candidate has lost (and is not a runner-up)
§

type KickedMember = ()

Handler for the unbalanced reduction when a member has been kicked.
§

type DesiredMembers = DesiredMembers

Number of members to elect.
§

type DesiredRunnersUp = DesiredRunnersUp

Number of runners_up to keep.
§

type TermDuration = TermDuration

How long each seat is kept. This defines the next block number at which an election round will happen. If set to zero, no elections are ever triggered and the module will be in passive mode.
§

type CandidateIdentityProvider = PalletIdentityAsIdentityProvider<Runtime>

Verifies account submitted as a candidate.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

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

A super-majority of the council can cancel the slash.

§

type CurrencyBalance = u64

Just the Currency::Balance type; we have this item to allow us to constrain it to From<u64>.
§

type MaxNominations = MaxNominations

Maximum number of nominations per nominator.
§

type VoterList = UseNominatorsAndValidatorsMap<Runtime>

Something that provides a best-effort sorted list of voters aka electing nominators, used for NPoS election. Read more
§

type MaxUnlockingChunks = ()

The maximum number of unlocking chunks a [StakingLedger] can have. Effectively determines how many unique eras a staker may be unbonding in.
§

type OnStakerSlash = ()

A hook called when any staker is slashed. Mostly likely this can be a no-op unless other pallets exist that are affected by slashing per-staker.
§

type BenchmarkingConfig = StakingBenchmarkingConfig

Some parameters of the benchmarking.
§

type GenesisElectionProvider = UnboundedExecution<OnChainSeqPhragmen>

Something that provides the election functionality at genesis.
§

type OffendingValidatorsThreshold = OffendingValidatorsThreshold

The fraction of the validator set that is safe to be offending. After the threshold is reached a new era will be forced.
§

type Currency = Pallet<Runtime, ()>

The staking balance.
§

type UnixTime = Pallet<Runtime>

Time used for computing era duration. Read more
§

type CurrencyToVote = U64CurrencyToVote

Convert a balance into a number used for election calculation. This must fit into a u64 but is allowed to be sensibly lossy. The u64 is used to communicate with the [frame_election_provider_support] crate which accepts u64 numbers and does operations in 128. Consequently, the backward convert is used convert the u128s from sp-elections back to a [BalanceOf].
§

type RewardRemainder = Pallet<Runtime, ()>

Tokens have been minted and are unused for validator-reward. See Era payout.
§

type Event = Event

The overarching event type.
§

type Slash = Pallet<Runtime, ()>

Handler for the unbalanced reduction when slashing a staker.
§

type Reward = ()

Handler for the unbalanced increment when rewarding a staker. NOTE: in most cases, the implementation of OnUnbalanced should modify the total issuance.
§

type SessionsPerEra = SessionsPerEra

Number of sessions per era.
§

type BondingDuration = BondingDuration

Number of eras that staked funds must remain bonded for.
§

type SlashDeferDuration = SlashDeferDuration

Number of eras that slashes are deferred by, after computation. Read more
§

type SessionInterface = Runtime

Interface for interacting with a session pallet.
§

type EraPayout = Pallet<Runtime>

The payout for validators and the system for the current era. See Era payout.
§

type NextNewSession = Pallet<Runtime>

Something that can estimate the next session change, accurately or as a best effort guess.
§

type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator

The maximum number of nominators rewarded for each validator. Read more
§

type ElectionProvider = Pallet<Runtime>

Something that provides the election functionality.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

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

Find the author of a block.
§

type UncleGenerations = UncleGenerations

The number of blocks back we should accept uncles. This means that we will deal with uncle-parents that are UncleGenerations + 1 before now.
§

type FilterUncle = ()

A filter for uncles within a block. This is for implementing further constraints on what uncles can be included, other than their ancestry. Read more
§

type EventHandler = (Pallet<Runtime>, Pallet<Runtime>)

An event handler for authored blocks.
source§

impl Config for Runtime

§

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

This would be useless after enabling fiat filter

§

type Event = Event

The overarching event type.
§

type OperationalFeeMultiplier = ConstU8<5>

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

type LengthToFee = ConstantMultiplier<u64, TransactionByteFee>

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

type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, DealWithFees>

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 = TxnFee<u64>

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

impl Config for Runtime

§

type MaxSymbolBytesLen = ConstU32<10>

§

type Event = Event

The overarching event type.
source§

impl Config for Runtime

§

type MaxAuthorities = ConstU32<100>

The maximum number of authorities that can be added.
source§

impl Config for Runtime

§

type DefaultBaseFeePerGas = ()

§

type Event = Event

§

type Threshold = BaseFeeThreshold

Lower and upper bounds for increasing / decreasing BaseFeePerGas.
§

type DefaultElasticity = DefaultElasticity

source§

impl Config for Runtime

§

type BetterSignedThreshold = ()

The minimum amount of improvement to the solution score that defines a solution as “better” in the Signed phase.
§

type BetterUnsignedThreshold = BetterUnsignedThreshold

The minimum amount of improvement to the solution score that defines a solution as “better” in the Unsigned phase.
§

type MinerConfig = Runtime

Configurations of the embedded miner. Read more
§

type SignedMaxRefunds = ConstU32<3>

The maximum amount of unchecked solutions to refund the call fee for.
§

type MaxElectingVoters = MaxElectingVoters

The maximum number of electing voters to put in the snapshot. At the moment, snapshots are only over a single block, but once multi-block elections are introduced they will take place over multiple blocks.
§

type MaxElectableTargets = MaxElectableTargets

The maximum number of electable targets to put in the snapshot.
§

type GovernanceFallback = UnboundedExecution<OnChainSeqPhragmen>

Configuration of the governance-only fallback. Read more
§

type EstimateCallFee = Pallet<Runtime>

Something that can predict the fee of a call. Used to sensibly distribute rewards.
§

type OffchainRepeat = OffchainRepeat

The repeat threshold of the offchain worker. Read more
§

type SignedMaxSubmissions = ConstU32<10>

Maximum number of signed submissions that can be queued. Read more
§

type SignedMaxWeight = MinerMaxWeight

Maximum weight of a signed solution. Read more
§

type SignedRewardBase = SignedRewardBase

Base reward for a signed solution
§

type SignedDepositBase = SignedDepositBase

Base deposit for a signed solution.
§

type SignedDepositByte = SignedDepositByte

Per-byte deposit for a signed solution.
§

type SignedDepositWeight = ()

Per-weight deposit for a signed solution.
§

type SlashHandler = ()

Handler for the slashed deposits.
§

type RewardHandler = ()

Handler for the rewards.
§

type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, ()>

OCW election solution miner algorithm implementation.
§

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

Origin that can control this pallet. Note that any action taken by this origin (such) as providing an emergency solution is not checked. Thus, it must be a trusted origin.
§

type Event = Event

§

type Currency = Pallet<Runtime, ()>

Currency type.
§

type SignedPhase = SignedPhase

Duration of the signed phase.
§

type UnsignedPhase = UnsignedPhase

Duration of the unsigned phase.
§

type MinerTxPriority = MultiPhaseUnsignedPriority

The priority of the unsigned transaction submitted in the unsigned-phase
§

type DataProvider = Pallet<Runtime>

Something that will provide the election data.
§

type Fallback = NoFallback<Runtime>

Configuration for the fallback.
§

type WeightInfo = SubstrateWeight<Runtime>

The weight of the pallet.
§

type BenchmarkingConfig = BenchmarkConfig

The configuration of benchmarking.
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = StashOf<Runtime>

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

type ShouldEndSession = Pallet<Runtime>

Indicator for when to end the session.
§

type NextSessionRotation = Pallet<Runtime>

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 = NoteHistoricalRoot<Runtime, 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 Event = Event

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

Currency type that supports locking
§

type BlockNumberToBalance = ConvertInto

Convert the block number into a balance.
§

type VestingMilestones = VestingMilestones

NOTE: Both VestingMilestones and VestingDuration must be > 0. The ideal situation would be to have a compile time assertion in this pallet but since the static assertions pallet does not work with generics (https://github.com/nvzqz/static-assertions-rs/issues/21), the check has been moved to the runtime instantiation. If this pallet is used outside this project, corresponding checks should be done. Vesting happens in milestones. The total duration is sub-divided into equal duration milestones and for each milestone, proportional balance is vested. This might be moved to a storage item if needs to be configurable but is less likely.
§

type VestingDuration = VestingDuration

Vesting duration in number of blocks.
§

type MaxVestingBonuses = MaxVestingBonuses

§

type MaxSwapBonuses = MaxSwapBonuses

source§

impl Config for Runtime

§

type OriginPrivilegeCmp = EqualPrivilegeOnly

Compare the privileges of origins. Read more
§

type PreimageProvider = ()

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

type NoPreimagePostponement = NoPreimagePostponement

If Some then the number of blocks to postpone execution for when the item is delayed.
§

type Event = Event

The overarching event type.
§

type Origin = Origin

The aggregated origin which the dispatch will take.
§

type PalletsOrigin = OriginCaller

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

type Call = Call

The aggregated call type.
§

type MaximumWeight = MaximumBlockWeight

The maximum weight that may be scheduled per block for any dispatchables of less priority than schedule::HARD_DEADLINE.
§

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

Required origin to schedule or cancel calls.
§

type MaxScheduledPerBlock = MaxScheduledPerBlock

The maximum number of scheduled calls in the queue for a single block. Not strictly enforced, but used for weight estimation.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type Event = Event

source§

impl Config for Runtime

§

type Event = Event

source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
source§

impl Config for Runtime

§

type Event = Event

source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
§

type Call = Call

The dispatchable that master may call as Root. It is possible to use another type here, but it’s expected that your runtime::Call will be used. Master’s call should bypass any filter.
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
§

type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)

Full identification of the validator.
§

type OnOffenceHandler = Pallet<Runtime>

A handler called for every offence report.
source§

impl Config for Runtime

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type OnTimestampSet = Pallet<Runtime>

Something which can be notified when the timestamp is set. Set this to () if not needed.
§

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 WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

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<100>

Max number of authorities allowed
§

type EpochDuration = EpochDuration

The amount of time, in slots, that each epoch should last. NOTE: Currently it is not possible to change the epoch duration after the chain has started. Attempting to do so will brick block production.
§

type ExpectedBlockTime = ExpectedBlockTime

The expected average block time at which BABE should be creating blocks. Since BABE is probabilistic it is not trivial to figure out what the expected average block time should be based on the slot duration and the security parameter c (where 1 - c represents the probability of a slot being empty).
§

type EpochChangeTrigger = ExternalTrigger

BABE requires some logic to be triggered on every block to query for whether an epoch has ended and to perform the transition to the next epoch. Read more
§

type KeyOwnerProofSystem = Pallet<Runtime>

A system for proving ownership of keys, i.e. that a given key was part of a validator set, needed for validating equivocation reports.
§

type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

The proof of key ownership, used for validating equivocation reports. The proof must include the session index and validator count of the session at which the equivocation occurred.
§

type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple

The identification of a key owner, used when reporting equivocations.
§

type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>

The equivocation handling subsystem, defines methods to report an offence (after the equivocation has been validated) and for submitting a transaction to report an equivocation (from an offchain context). NOTE: when enabling equivocation handling (i.e. this type isn’t set to ()) you must use this pallet’s ValidateUnsigned in the runtime definition.
§

type WeightInfo = ()

source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
§

type StateRoot = IntermediateStateRoot<Runtime>

How Ethereum state root is calculated.
source§

impl Config for Runtime

§

type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64>

Full identification of the validator.
§

type FullIdentificationOf = ExposureOf<Runtime>

A conversion from validator ID to full identification. Read more
source§

impl Config for Runtime

§

type Event = Event

The overarching event type.
§

type OnDidRemoval = Pallet<Runtime>

The handler of a DID removal.
source§

impl Config for Runtime

§

type MaxAuthorities = ConstU32<100>

Max Authorities in use
§

type Event = Event

The event type of this module.
§

type Call = Call

The function call.
§

type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

The proof of key ownership, used for validating equivocation reports The proof must include the session index and validator count of the session at which the equivocation occurred.
§

type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple

The identification of a key owner, used when reporting equivocations.
§

type KeyOwnerProofSystem = Pallet<Runtime>

A system for proving ownership of keys, i.e. that a given key was part of a validator set, needed for validating equivocation reports.
§

type HandleEquivocation = EquivocationHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity, GrandpaEquivocationOffence<<Runtime as Config>::KeyOwnerIdentification>>

The equivocation handling subsystem, defines methods to report an offence (after the equivocation has been validated) and for submitting a transaction to report an equivocation (from an offchain context). NOTE: when enabling equivocation handling (i.e. this type isn’t set to ()) you must use this pallet’s ValidateUnsigned in the runtime definition.
§

type WeightInfo = ()

Weights for this pallet.
source§

impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

fn convert_transaction( transaction: EthereumTransaction ) -> <Block as BlockT>::Extrinsic

source§

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> CoreModsApi<__SR_API_BLOCK__, Runtime> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>, Did: UnwindSafe + RefUnwindSafe, Option<AggregatedDidDetailsRequestParams>: UnwindSafe + RefUnwindSafe, Option<AggregatedDidDetailsResponse<Runtime>>: UnwindSafe + RefUnwindSafe, Vec<Did>: UnwindSafe + RefUnwindSafe, Vec<Option<AggregatedDidDetailsResponse<Runtime>>>: UnwindSafe + RefUnwindSafe, SignaturePublicKeyStorageKey: UnwindSafe + RefUnwindSafe, Option<BBSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, SignatureParamsOwner: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSParameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, Option<BBSPlusPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSPlusParameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBSPlusPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, Option<PSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, PSParameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, PSPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, AccumPublicKeyStorageKey: UnwindSafe + RefUnwindSafe, Option<AccumPublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, AccumulatorId: UnwindSafe + RefUnwindSafe, Option<(Vec<u8>, Option<AccumPublicKeyWithParams<Runtime>>)>: UnwindSafe + RefUnwindSafe, TrustRegistrySchemaId: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe, TrustRegistryId: UnwindSafe + RefUnwindSafe, Option<AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe, Option<AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe, Option<TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaIssuers<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<Runtime>>: UnwindSafe + RefUnwindSafe, QueryTrustRegistriesBy: UnwindSafe + RefUnwindSafe, BTreeMap<TrustRegistryId, TrustRegistryInfo<Runtime>>: UnwindSafe + RefUnwindSafe, QueryTrustRegistryBy: UnwindSafe + RefUnwindSafe, BTreeSet<TrustRegistryId>: UnwindSafe + RefUnwindSafe, BTreeSet<TrustRegistrySchemaId>: UnwindSafe + RefUnwindSafe, Option<BBDT16PublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBDT16Parameters<Runtime>>: UnwindSafe + RefUnwindSafe, BTreeMap<IncId, BBDT16PublicKeyWithParams<Runtime>>: UnwindSafe + RefUnwindSafe, __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,

source§

fn did_details( &self, __runtime_api_at_param__: &BlockId<Block>, id: Did, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Option<AggregatedDidDetailsResponse<T>>, ApiError>

source§

fn did_details_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: Did, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Option<AggregatedDidDetailsResponse<T>>, ApiError>

source§

fn did_list_details( &self, __runtime_api_at_param__: &BlockId<Block>, dids: Vec<Did, Global>, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>, Global>, ApiError>

source§

fn did_list_details_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, dids: Vec<Did, Global>, params: Option<AggregatedDidDetailsRequestParams> ) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>, Global>, ApiError>

source§

fn bbs_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(BBSPublicKey<T>, Option<BBSParameters<T>>)>, ApiError>

source§

fn bbs_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(BBSPublicKey<T>, Option<BBSParameters<T>>)>, ApiError>

source§

fn bbs_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSParameters<T>, Global>, ApiError>

source§

fn bbs_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSParameters<T>, Global>, ApiError>

source§

fn bbs_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (BBSPublicKey<T>, Option<BBSParameters<T>>), Global>, ApiError>

source§

fn bbs_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (BBSPublicKey<T>, Option<BBSParameters<T>>), Global>, ApiError>

source§

fn bbs_plus_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>)>, ApiError>

source§

fn bbs_plus_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>)>, ApiError>

source§

fn bbs_plus_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSPlusParameters<T>, Global>, ApiError>

source§

fn bbs_plus_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBSPlusParameters<T>, Global>, ApiError>

source§

fn bbs_plus_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>), Global>, ApiError>

source§

fn bbs_plus_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>), Global>, ApiError>

source§

fn ps_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(PSPublicKey<T>, Option<PSParameters<T>>)>, ApiError>

source§

fn ps_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(PSPublicKey<T>, Option<PSParameters<T>>)>, ApiError>

source§

fn ps_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, PSParameters<T>, Global>, ApiError>

source§

fn ps_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, PSParameters<T>, Global>, ApiError>

source§

fn ps_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (PSPublicKey<T>, Option<PSParameters<T>>), Global>, ApiError>

source§

fn ps_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (PSPublicKey<T>, Option<PSParameters<T>>), Global>, ApiError>

source§

fn accumulator_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: AccumPublicKeyStorageKey ) -> Result<Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>, ApiError>

source§

fn accumulator_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: AccumPublicKeyStorageKey ) -> Result<Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>, ApiError>

source§

fn accumulator_with_public_key_and_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: AccumulatorId ) -> Result<Option<(Vec<u8, Global>, Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>)>, ApiError>

source§

fn accumulator_with_public_key_and_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: AccumulatorId ) -> Result<Option<(Vec<u8, Global>, Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>)>, ApiError>

source§

fn schema_metadata( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>

source§

fn schema_metadata_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>

source§

fn schema_issuers( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>

source§

fn schema_issuers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>

source§

fn schema_verifiers( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>

source§

fn schema_verifiers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId ) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>

source§

fn schema_metadata_in_registry( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<AggregatedTrustRegistrySchemaMetadata<T>>, ApiError>

source§

fn schema_metadata_in_registry_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<AggregatedTrustRegistrySchemaMetadata<T>>, ApiError>

source§

fn schema_issuers_in_registry( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<Vec<(Issuer, AggregatedIssuerInfo<T>), Global>>, ApiError>

source§

fn schema_issuers_in_registry_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<Vec<(Issuer, AggregatedIssuerInfo<T>), Global>>, ApiError>

source§

fn schema_verifiers_in_registry( &self, __runtime_api_at_param__: &BlockId<Block>, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<TrustRegistrySchemaVerifiers<T>>, ApiError>

source§

fn schema_verifiers_in_registry_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Result<Option<TrustRegistrySchemaVerifiers<T>>, ApiError>

source§

fn all_registry_schema_metadata( &self, __runtime_api_at_param__: &BlockId<Block>, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>

source§

fn all_registry_schema_metadata_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>

source§

fn all_registry_schema_issuers( &self, __runtime_api_at_param__: &BlockId<Block>, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>

source§

fn all_registry_schema_issuers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError>

source§

fn all_registry_schema_verifiers( &self, __runtime_api_at_param__: &BlockId<Block>, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>

source§

fn all_registry_schema_verifiers_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, registry_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError>

source§

fn registries_info_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistriesBy ) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>, Global>, ApiError>

source§

fn registries_info_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistriesBy ) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>, Global>, ApiError>

source§

fn registry_schemas_metadata_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>

source§

fn registry_schemas_metadata_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError>

source§

fn registries_ids_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistriesBy ) -> Result<BTreeSet<TrustRegistryId, Global>, ApiError>

source§

fn registries_ids_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistriesBy ) -> Result<BTreeSet<TrustRegistryId, Global>, ApiError>

source§

fn registry_schemas_ids_by( &self, __runtime_api_at_param__: &BlockId<Block>, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeSet<TrustRegistrySchemaId, Global>, ApiError>

source§

fn registry_schemas_ids_by_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> Result<BTreeSet<TrustRegistrySchemaId, Global>, ApiError>

source§

fn bbdt16_public_key_with_params( &self, __runtime_api_at_param__: &BlockId<Block>, id: (Did, IncId) ) -> Result<Option<(BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>)>, ApiError>

source§

fn bbdt16_public_key_with_params_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, id: (Did, IncId) ) -> Result<Option<(BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>)>, ApiError>

source§

fn bbdt16_params_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBDT16Parameters<T>, Global>, ApiError>

source§

fn bbdt16_params_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, owner: SignatureParamsOwner ) -> Result<BTreeMap<IncId, BBDT16Parameters<T>, Global>, ApiError>

source§

fn bbdt16_public_keys_by_did( &self, __runtime_api_at_param__: &BlockId<Block>, did: Did ) -> Result<BTreeMap<IncId, (BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>), Global>, ApiError>

source§

fn bbdt16_public_keys_by_did_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, did: Did ) -> Result<BTreeMap<IncId, (BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>), Global>, ApiError>

source§

impl CoreModsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, Runtime> for Runtime

source§

fn did_details( did: Did, params: Option<AggregatedDidDetailsRequestParams> ) -> Option<AggregatedDidDetailsResponse<Runtime>>

source§

fn did_list_details( dids: Vec<Did>, params: Option<AggregatedDidDetailsRequestParams> ) -> Vec<Option<AggregatedDidDetailsResponse<Runtime>>>

source§

fn bbs_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<BBSPublicKeyWithParams<Runtime>>

source§

fn bbs_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, BBSParameters<Runtime>>

source§

fn bbs_public_keys_by_did( did: Did ) -> BTreeMap<IncId, BBSPublicKeyWithParams<Runtime>>

source§

fn bbs_plus_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<BBSPlusPublicKeyWithParams<Runtime>>

source§

fn bbs_plus_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, BBSPlusParameters<Runtime>>

source§

fn bbs_plus_public_keys_by_did( did: Did ) -> BTreeMap<IncId, BBSPlusPublicKeyWithParams<Runtime>>

source§

fn ps_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<PSPublicKeyWithParams<Runtime>>

source§

fn ps_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, PSParameters<Runtime>>

source§

fn ps_public_keys_by_did( did: Did ) -> BTreeMap<IncId, PSPublicKeyWithParams<Runtime>>

source§

fn accumulator_public_key_with_params( id: AccumPublicKeyStorageKey ) -> Option<AccumPublicKeyWithParams<Runtime>>

source§

fn accumulator_with_public_key_and_params( id: AccumulatorId ) -> Option<(Vec<u8>, Option<AccumPublicKeyWithParams<Runtime>>)>

source§

fn schema_metadata( id: TrustRegistrySchemaId ) -> BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<Runtime>>

source§

fn schema_issuers( id: TrustRegistrySchemaId ) -> BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaIssuers<Runtime>>

source§

fn schema_verifiers( id: TrustRegistrySchemaId ) -> BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<Runtime>>

source§

fn schema_metadata_in_registry( id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Option<AggregatedTrustRegistrySchemaMetadata<Runtime>>

source§

fn schema_issuers_in_registry( id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Option<AggregatedTrustRegistrySchemaIssuers<Runtime>>

source§

fn schema_verifiers_in_registry( id: TrustRegistrySchemaId, registry_id: TrustRegistryId ) -> Option<TrustRegistrySchemaVerifiers<Runtime>>

source§

fn all_registry_schema_metadata( registry_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<Runtime>>

source§

fn all_registry_schema_issuers( registry_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaIssuers<Runtime>>

source§

fn all_registry_schema_verifiers( registry_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<Runtime>>

source§

fn registries_info_by( by: QueryTrustRegistriesBy ) -> BTreeMap<TrustRegistryId, TrustRegistryInfo<Runtime>>

source§

fn registry_schemas_metadata_by( by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<Runtime>>

source§

fn registries_ids_by(by: QueryTrustRegistriesBy) -> BTreeSet<TrustRegistryId>

source§

fn registry_schemas_ids_by( by: QueryTrustRegistryBy, reg_id: TrustRegistryId ) -> BTreeSet<TrustRegistrySchemaId>

source§

fn bbdt16_public_key_with_params( (did, key_id): SignaturePublicKeyStorageKey ) -> Option<BBDT16PublicKeyWithParams<Runtime>>

source§

fn bbdt16_params_by_did( owner: SignatureParamsOwner ) -> BTreeMap<IncId, BBDT16Parameters<Runtime>>

source§

fn bbdt16_public_keys_by_did( did: Did ) -> BTreeMap<IncId, BBDT16PublicKeyWithParams<Runtime>>

source§

impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<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)

Initialize a block with the given header.
source§

impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere Call: From<LocalCall>,

source§

fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: Call, public: <Signature as Verify>::Signer, account: AccountId, nonce: Index ) -> Option<(Call, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>

Attempt to create signed extrinsic data that encodes call from given account. Read more
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<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

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

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

impl EthereumRuntimeRPCApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

fn chain_id() -> u64

Returns runtime defined pallet_evm::ChainId.
source§

fn account_basic(address: H160) -> EVMAccount

Returns pallet_evm::Accounts by address.
source§

fn gas_price() -> U256

Returns FixedGasPrice::min_gas_price
source§

fn account_code_at(address: H160) -> Vec<u8>

For a given account address, returns pallet_evm::AccountCodes.
source§

fn author() -> H160

Returns the converted FindAuthor::find_author authority id.
source§

fn storage_at(address: H160, index: U256) -> H256

For a given account address and index, returns pallet_evm::AccountStorages.
source§

fn call( from: H160, to: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CallInfo, DispatchError>

source§

fn create( from: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CreateInfo, DispatchError>

source§

fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>

Return the current transaction status.
source§

fn current_block() -> Option<Block>

Return the current block.
source§

fn current_receipts() -> Option<Vec<Receipt>>

Return the current receipt.
source§

fn current_all( ) -> (Option<Block>, Option<Vec<Receipt>>, Option<Vec<TransactionStatus>>)

source§

fn extrinsic_filter( xts: Vec<<Block as BlockT>::Extrinsic> ) -> Vec<EthereumTransaction>

Receives a Vec<OpaqueExtrinsic> and filters all the ethereum transactions.
source§

fn elasticity() -> Option<Permill>

Return the elasticity multiplier.
source§

impl GetNodeBlockType for Runtime

§

type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>

The NodeBlock type.
source§

impl GetRuntimeBlockType for Runtime

§

type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>

The RuntimeBlock type.
source§

impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

fn current_set_id() -> SetId

Get current GRANDPA authority set id.
source§

fn grandpa_authorities() -> GrandpaAuthorityList

Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. Read more
source§

fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>, key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context.
source§

fn generate_key_ownership_proof( _set_id: SetId, authority_id: GrandpaId ) -> Option<OpaqueKeyOwnershipProof>

Generates a proof of key ownership for the given authority in the given set. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a set_id as parameter the current implementations ignore this parameter and instead rely on this method being called at the correct block height, i.e. any point at which the given set id is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available.
source§

impl Limits for Runtime

§

type MaxOffchainParamsLabelSize = ConstU32<128>

128 bytes, for large labels, hash of a label can be used

§

type MaxOffchainParamsBytesSize = ConstU32<65536>

16KB

§

type MaxAccumulatorLabelSize = ConstU32<128>

128 bytes, for large labels, hash of a label can be used

§

type MaxBlobSize = ConstU32<8192>

8KB

§

type MaxIriSize = ConstU32<1024>

1KB

§

type MaxPolicyControllers = ConstU32<15>

Max amount of the controller DIDs per a single Policy.
§

type MaxDidDocRefSize = ConstU32<1024>

Maximum byte size of reference to off-chain DID Doc.
§

type MaxDidServiceEndpointIdSize = ConstU32<1024>

Maximum byte size of service endpoint’s id field
§

type MaxDidServiceEndpointOriginSize = ConstU32<1025>

Maximum byte size of service endpoint’s origin
§

type MaxDidServiceEndpointOrigins = ConstU32<64>

Maximum number of service endpoint’s origin
§

type MinStatusListCredentialSize = ConstU32<500>

StatusListCredentials with size less than this won’t be accepted.
§

type MaxStatusListCredentialSize = ConstU32<40000>

StatusListCredentials with size larger than this won’t be accepted.
§

type MaxPSPublicKeySize = ConstU32<65536>

Maximum byte size of the PS public key. This depends on the chosen elliptic curve and the number of messages that can be signed.
§

type MaxBBSPublicKeySize = ConstU32<256>

Maximum byte size of the BBS (fixed size) public key. This depends only on the chosen elliptic curve.
§

type MaxBBSPlusPublicKeySize = ConstU32<256>

Maximum byte size of the BBS+ (fixed size) public key. This depends only on the chosen elliptic curve.
§

type MaxBBDT16PublicKeySize = ConstU32<256>

Maximum byte size of the BBDT16 (fixed size) public key. This depends only on the chosen elliptic curve.
§

type MaxAccumulatorParamsSize = ConstU32<512>

Maximum byte size of the parameters. This depends only on the chosen elliptic curve.
§

type MaxAccumulatorPublicKeySize = ConstU32<256>

Maximum byte size of the public key. This depends only on the chosen elliptic curve.
§

type MaxAccumulatorAccumulatedSize = ConstU32<128>

Maximum byte size of the accumulated value which is just one group element (not the number of members)
§

type MaxMasterMembers = ConstU32<25>

Max amount of master members per a single Membership.
§

type MaxIssuerPriceCurrencySymbolSize = ConstU32<10>

§

type MaxIssuersPerSchema = ConstU32<100>

Max no of issuers that can issue for a particular schema
§

type MaxVerifiersPerSchema = ConstU32<2000>

Max no of verifiers that can verify (credential) for a particular schema
§

type MaxIssuerPriceCurrencies = ConstU32<25>

Max no of currencies an issuer can set the price in for a particular schema
§

type MaxTrustRegistryNameSize = ConstU32<50>

Max size of the trust registry name.
§

type MaxConvenerRegistries = ConstU32<1000>

Max no of the trust registries per a single convener.
§

type MaxDelegatedIssuers = ConstU32<10>

Max no of delegated issuers a particular issuer can have
§

type MaxRegistriesPerIssuer = ConstU32<250>

Max no of registries per a single issuer.
§

type MaxRegistriesPerVerifier = ConstU32<250>

Max no of registries per a single verifier.
§

type MaxSchemasPerRegistry = ConstU32<1000>

Max no of schemas per registry.
§

type MaxSchemasPerIssuer = ConstU32<1000>

Max no of schemas that a particular issuer can issue for
§

type MaxSchemasPerVerifier = ConstU32<1000>

Max no of schemas that a particular verifier can verify (credential) for
§

type MaxTrustRegistryGovFrameworkSize = ConstU32<1000>

Max government framework size for the trust registry.
§

type MaxParticipantsPerRegistry = ConstU32<10000>

Max no of participants per a single registry.
§

type MaxRegistryParticipantOrgNameSize = ConstU32<100>

Max size of the TrustRegistry participant’s org name.
§

type MaxRegistryParticipantLogoSize = ConstU32<250>

Max size of the TrustRegistry participant’s logo.
§

type MaxRegistryParticipantDescriptionSize = ConstU32<500>

Max size of the TrustRegistry participant’s description.
source§

impl MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

fn metadata() -> OpaqueMetadata

Returns the metadata of a runtime.
source§

impl MinerConfig for Runtime

§

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

The account id type.
§

type MaxLength = OffchainSolutionLengthLimit

Maximum length of the solution that the miner is allowed to generate. Read more
§

type MaxWeight = OffchainSolutionWeightLimit

Maximum weight of the solution that the miner is allowed to generate. Read more
§

type Solution = NposSolution16

The solution that the miner is mining.
§

type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter

Maximum number of votes per voter in the snapshots.
source§

fn solution_weight(v: u32, t: u32, a: u32, d: u32) -> Weight

Something that can compute the weight of a solution. Read more
source§

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> MmrApi<__SR_API_BLOCK__, <Runtime as Config<()>>::Hash> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>, LeafIndex: UnwindSafe + RefUnwindSafe, Result<(EncodableOpaqueLeaf, Proof<<Runtime as Config>::Hash>), Error>: UnwindSafe + RefUnwindSafe, EncodableOpaqueLeaf: UnwindSafe + RefUnwindSafe, Proof<<Runtime as Config>::Hash>: UnwindSafe + RefUnwindSafe, Result<(), Error>: UnwindSafe + RefUnwindSafe, <Runtime as Config>::Hash: UnwindSafe + RefUnwindSafe, Result<<Runtime as Config>::Hash, Error>: UnwindSafe + RefUnwindSafe, Vec<LeafIndex>: UnwindSafe + RefUnwindSafe, Result<(Vec<EncodableOpaqueLeaf>, BatchProof<<Runtime as Config>::Hash>), Error>: UnwindSafe + RefUnwindSafe, Vec<EncodableOpaqueLeaf>: UnwindSafe + RefUnwindSafe, BatchProof<<Runtime as Config>::Hash>: UnwindSafe + RefUnwindSafe, __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,

§

fn generate_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaf_index: u64 ) -> Result<Result<(EncodableOpaqueLeaf, Proof<Hash>), Error>, ApiError>

Generate MMR proof for a leaf under given index.
§

fn generate_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaf_index: u64 ) -> Result<Result<(EncodableOpaqueLeaf, Proof<Hash>), Error>, ApiError>

Generate MMR proof for a leaf under given index.
§

fn verify_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against on-chain MMR. Read more
§

fn verify_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against on-chain MMR. Read more
§

fn verify_proof_stateless( &self, __runtime_api_at_param__: &BlockId<Block>, root: Hash, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against given root hash. Read more
§

fn verify_proof_stateless_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, root: Hash, leaf: EncodableOpaqueLeaf, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against given root hash. Read more
§

fn mmr_root( &self, __runtime_api_at_param__: &BlockId<Block> ) -> Result<Result<Hash, Error>, ApiError>

Return the on-chain MMR root hash.
§

fn mmr_root_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext ) -> Result<Result<Hash, Error>, ApiError>

Return the on-chain MMR root hash.
§

fn generate_batch_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaf_indices: Vec<u64, Global> ) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, BatchProof<Hash>), Error>, ApiError>

Generate MMR proof for a series of leaves under given indices.
§

fn generate_batch_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaf_indices: Vec<u64, Global> ) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, BatchProof<Hash>), Error>, ApiError>

Generate MMR proof for a series of leaves under given indices.
§

fn verify_batch_proof( &self, __runtime_api_at_param__: &BlockId<Block>, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against on-chain MMR for a batch of leaves. Read more
§

fn verify_batch_proof_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against on-chain MMR for a batch of leaves. Read more
§

fn verify_batch_proof_stateless( &self, __runtime_api_at_param__: &BlockId<Block>, root: Hash, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against given root hash or a batch of leaves. Read more
§

fn verify_batch_proof_stateless_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, root: Hash, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: BatchProof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against given root hash or a batch of leaves. Read more
source§

impl MmrApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <Runtime as Config<()>>::Hash> for Runtime

source§

fn generate_proof( _leaf_index: LeafIndex ) -> Result<(EncodableOpaqueLeaf, Proof<<Runtime as Config>::Hash>), Error>

Generate MMR proof for a leaf under given index.
source§

fn verify_proof( _leaf: EncodableOpaqueLeaf, _proof: Proof<<Runtime as Config>::Hash> ) -> Result<(), Error>

Verify MMR proof against on-chain MMR. Read more
source§

fn verify_proof_stateless( _root: <Runtime as Config>::Hash, _leaf: EncodableOpaqueLeaf, _proof: Proof<<Runtime as Config>::Hash> ) -> Result<(), Error>

Verify MMR proof against given root hash. Read more
source§

fn mmr_root() -> Result<<Runtime as Config>::Hash, Error>

Return the on-chain MMR root hash.
source§

fn generate_batch_proof( _leaf_indices: Vec<LeafIndex> ) -> Result<(Vec<EncodableOpaqueLeaf>, BatchProof<<Runtime as Config>::Hash>), Error>

Generate MMR proof for a series of leaves under given indices.
source§

fn verify_batch_proof( _leaves: Vec<EncodableOpaqueLeaf>, _proof: BatchProof<<Runtime as Config>::Hash> ) -> Result<(), Error>

Verify MMR proof against on-chain MMR for a batch of leaves. Read more
source§

fn verify_batch_proof_stateless( _root: <Runtime as Config>::Hash, _leaves: Vec<EncodableOpaqueLeaf>, _proof: BatchProof<<Runtime as Config>::Hash> ) -> Result<(), Error>

Verify MMR proof against given root hash or a batch of leaves. Read more
source§

impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>> for Runtime

source§

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

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

impl PalletStorageMetadataProvider for Runtime

source§

fn pallet_storage_metadata(pallet: &str) -> Option<PalletStorageMetadata>

Provides metadata for the storage of the pallet with supplied name.
§

fn pallet_storage_entry_metadata( pallet: &str, entry: &str ) -> Option<StorageEntryMetadata<MetaForm>>

Provides metadata for the storage entry of the pallet with supplied name. Returns an error if metadata is invalid (i.e. encoded not properly).
source§

impl PartialEq<Runtime> 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 PoAApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64> for Runtime

source§

fn get_treasury_account() -> AccountId

Return account address of treasury. The account address can then be used to query the chain for balance
source§

fn get_treasury_balance() -> Balance

Return free balance of treasury account. In the context of PoA, only free balance makes sense for treasury. But just in case, to check all kinds of balance (locked, reserved, etc), get the account address with above call and query the chain.
source§

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> PriceFeedApi<__SR_API_BLOCK__, <Runtime as Config>::BlockNumber> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>, CurrencySymbolPair<String, String>: UnwindSafe + RefUnwindSafe, Option<PriceRecord<<Runtime as Config>::BlockNumber>>: UnwindSafe + RefUnwindSafe, __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,

§

fn price( &self, __runtime_api_at_param__: &BlockId<Block>, pair: CurrencySymbolPair<String, String> ) -> Result<Option<PriceRecord<T>>, ApiError>

Gets the price of the given pair from pallet’s storage
§

fn price_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, pair: CurrencySymbolPair<String, String> ) -> Result<Option<PriceRecord<T>>, ApiError>

Gets the price of the given pair from pallet’s storage
source§

impl PriceFeedApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, <Runtime as Config>::BlockNumber> for Runtime

source§

fn price( currency_pair: CurrencySymbolPair<String, String> ) -> Option<PriceRecord<<Runtime as Config>::BlockNumber>>

Gets the price of the given pair from pallet’s storage
source§

impl<C> SendTransactionTypes<C> for Runtimewhere Call: From<C>,

§

type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>

The extrinsic type expected by the runtime.
§

type OverarchingCall = Call

The runtime’s call type. Read more
source§

impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<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 SigningTypes for Runtime

§

type Public = <MultiSignature as Verify>::Signer

A public key that is capable of identifying AccountIds. Read more
§

type Signature = MultiSignature

A matching Signature type.
source§

impl StakingRewardsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, u64> for Runtime

source§

fn yearly_emission(total_staked: Balance, total_issuance: Balance) -> Balance

Get emission rewards for the whole year given total staked tokens and total issuance. Depends on the reward curve, decay percentage and remaining emission supply.
source§

fn max_yearly_emission() -> Balance

Get max emission rewards for the whole year and depends on decay percentage and remaining emission supply.
source§

impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<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 TransactionPaymentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, OnlyMigrator<Runtime>)>>, u64> 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§

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 = Call

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CanUpdate<()> for T

source§

fn can_add(&self, _entity: &()) -> bool

Checks whether the new entity can be added.
source§

fn can_remove(&self, _entity: &()) -> bool

Checks whether the existing entity can be removed.
source§

fn can_replace(&self, _new: &(), _entity: &()) -> bool

Checks whether the provided entity can replace the existing one.
§

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> Downcast for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send + 'static>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> DynClone for Twhere T: Clone,

source§

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

source§

impl<Q, K> Equivalent<K> for Qwhere 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.
source§

impl<T> From<T> for T

const: unstable · 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 Twhere U: From<T>,

const: unstable · 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.

§

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 Twhere 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> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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<T> for T

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

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

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

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

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

impl<T> ToOwned for Twhere 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
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

impl<T> Types for Twhere T: Config,

§

type BlockNumber = <T as Config>::BlockNumber

§

type AccountId = <T as Config>::AccountId

§

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

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

impl<T, S> UniqueSaturatedInto<T> for Swhere 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 Twhere 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 Twhere T: Debug,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

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

§

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

source§

impl<T> TypesAndLimits for Twhere T: Types + Limits,