[][src]Struct polymesh_runtime_develop::runtime::Runtime

pub struct Runtime;

Implementations

impl Runtime[src]

pub fn outer_event_metadata() -> OuterEventMetadata[src]

pub fn __module_events_frame_system() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_indices() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_balances() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_identity() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_group_Instance2() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_staking() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_offences() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_session() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_grandpa() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_im_online() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_sudo() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_multisig() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_contracts() -> &'static [EventMetadata][src]

pub fn __module_events_polymesh_contracts() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_treasury() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_committee_Instance1() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_group_Instance1() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_pips() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_committee_Instance3() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_group_Instance3() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_committee_Instance4() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_group_Instance4() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_asset() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_bridge() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_compliance_manager() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_settlement() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_sto() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_statistics() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_protocol_fee() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_utility() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_portfolio() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_scheduler() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_corporate_actions() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_corporate_ballot() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_capital_distribution() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_checkpoint() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_test_utils() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_base() -> &'static [EventMetadata][src]

pub fn __module_events_pallet_external_agents() -> &'static [EventMetadata][src]

impl Runtime[src]

pub fn metadata() -> RuntimeMetadataPrefixed[src]

Trait Implementations

impl AccountNonceApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime[src]

impl AssetApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime[src]

impl AuthorityDiscoveryApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl BabeApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl BlockBuilder<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl Clone for Runtime[src]

impl CommonTrait for Runtime[src]

type Balance = Balance

The balance of an account.

type AssetSubTraitTarget = Asset

type BlockRewardsReserve = Module<Runtime>

impl ComplianceManagerApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime[src]

impl ContractsApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32> for Runtime[src]

impl Copy for Runtime[src]

impl Core<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtime where
    Call: From<LocalCall>, 
[src]

impl Debug for Runtime[src]

impl Eq for Runtime[src]

impl GetNodeBlockType for Runtime[src]

type NodeBlock = Block

The NodeBlock type.

impl GetRuntimeBlockType for Runtime[src]

type RuntimeBlock = Block

The RuntimeBlock type.

impl GrandpaApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl GroupApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl IdentityApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>, IdentityId, Ticker, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, SecondaryKey<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, Signatory<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, u64> for Runtime[src]

fn is_identity_has_valid_cdd(did: IdentityId, leeway: Option<u64>) -> CddStatus[src]

RPC call to know whether the given did has valid cdd claim or not

fn get_asset_did(ticker: Ticker) -> AssetDidResult[src]

RPC call to query the given ticker did

fn get_did_records(
    did: IdentityId
) -> DidRecords<AccountId, SecondaryKey<AccountId>>
[src]

Retrieve primary key and secondary keys for a given IdentityId

fn get_did_status(dids: Vec<IdentityId>) -> Vec<DidStatus>[src]

Retrieve the status of the DIDs

fn get_filtered_authorizations(
    signatory: Signatory<AccountId>,
    allow_expired: bool,
    auth_type: Option<AuthorizationType>
) -> Vec<Authorization<AccountId, Moment>>
[src]

Retrieve list of a authorization for a given signatory

impl Metadata<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl OffchainWorkerApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl PartialEq<Runtime> for Runtime[src]

impl PermissionChecker for Runtime[src]

type Checker = Identity

The type that implements the permission check function.

impl PipsApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime[src]

fn get_votes(index: u32) -> VoteCount<Balance>[src]

Get vote count for a given proposal index

fn proposed_by(address: AccountId) -> Vec<u32>[src]

Proposals voted by address

fn voted_on(address: AccountId) -> Vec<u32>[src]

Proposals address voted on

impl ProtocolFeeApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl<C> SendTransactionTypes<C> for Runtime where
    Call: From<C>, 
[src]

type Extrinsic = UncheckedExtrinsic

The extrinsic type expected by the runtime.

type OverarchingCall = Call

The runtime's call type. Read more

impl SessionKeys<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl SigningTypes for Runtime[src]

type Public = <Signature as Verify>::Signer

A public key that is capable of identifing AccountIds. Read more

type Signature = Signature

A matching Signature type.

impl StakingApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl StructuralEq for Runtime[src]

impl StructuralPartialEq for Runtime[src]

impl TaggedTransactionQueue<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>> for Runtime[src]

impl TestUtilsFn<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime[src]

NB It is needed by benchmarks, in order to use UserBuilder.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Currency = Balances

type ComplianceManager = Module<Runtime>

type MaxNumberOfTMExtensionForAsset = MaxNumberOfTMExtensionForAsset

Maximum number of smart extensions can attach to an asset. This hard limit is set to avoid the cases where an asset transfer gas usage go beyond the block gas limit. Read more

type UnixTime = Module<Runtime>

Time used in computation of checkpoints.

type AssetNameMaxLength = AssetNameMaxLength

Max length for the name of an asset.

type FundingRoundNameMaxLength = FundingRoundNameMaxLength

Max length of the funding round name.

type AssetFn = Asset

type WeightInfo = WeightInfo

type CPWeightInfo = WeightInfo

impl Trait<Instance1> for Runtime[src]

PolymeshCommittee as an instance of group

type Event = Event

The overarching event type.

type LimitOrigin = EnsureRoot

Required origin for changing the active limit. It's recommended that e.g., in case of a committee, this be an origin that cannot be formed through a committee majority. Read more

type AddOrigin = Self::LimitOrigin

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

type RemoveOrigin = Self::LimitOrigin

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

type SwapOrigin = Self::LimitOrigin

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

type ResetOrigin = Self::LimitOrigin

Required origin for resetting membership.

type MembershipInitialized = PolymeshCommittee

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. Read more

type MembershipChanged = PolymeshCommittee

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

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait<Instance1> for Runtime[src]

type CommitteeOrigin = VMO<GovernanceCommittee>

Required origin for changing behaviour of this module.

type VoteThresholdOrigin = Self::CommitteeOrigin

Required origin for changing the voting threshold.

type Event = Event

The outer event type.

type WeightInfo = WeightInfo

Weight computation.

impl Trait<Instance2> for Runtime[src]

CddProviders instance of group

type Event = Event

The overarching event type.

type LimitOrigin = EnsureRoot

Required origin for changing the active limit. It's recommended that e.g., in case of a committee, this be an origin that cannot be formed through a committee majority. Read more

type AddOrigin = Self::LimitOrigin

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

type RemoveOrigin = Self::LimitOrigin

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

type SwapOrigin = Self::LimitOrigin

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

type ResetOrigin = Self::LimitOrigin

Required origin for resetting membership.

type MembershipInitialized = Identity

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. Read more

type MembershipChanged = Identity

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

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait<Instance3> for Runtime[src]

type Event = Event

The overarching event type.

type LimitOrigin = EnsureRoot

Required origin for changing the active limit. It's recommended that e.g., in case of a committee, this be an origin that cannot be formed through a committee majority. Read more

type AddOrigin = VMO<Instance3>

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

type RemoveOrigin = Self::AddOrigin

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

type SwapOrigin = Self::AddOrigin

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

type ResetOrigin = VMO<GovernanceCommittee>

Required origin for resetting membership.

type MembershipInitialized = TechnicalCommittee

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. Read more

type MembershipChanged = TechnicalCommittee

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

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait<Instance3> for Runtime[src]

type CommitteeOrigin = VMO<Instance3>

Required origin for changing behaviour of this module.

type VoteThresholdOrigin = Self::CommitteeOrigin

Required origin for changing the voting threshold.

type Event = Event

The outer event type.

type WeightInfo = WeightInfo

Weight computation.

impl Trait<Instance4> for Runtime[src]

type Event = Event

The overarching event type.

type LimitOrigin = EnsureRoot

Required origin for changing the active limit. It's recommended that e.g., in case of a committee, this be an origin that cannot be formed through a committee majority. Read more

type AddOrigin = VMO<Instance4>

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

type RemoveOrigin = Self::AddOrigin

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

type SwapOrigin = Self::AddOrigin

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

type ResetOrigin = VMO<GovernanceCommittee>

Required origin for resetting membership.

type MembershipInitialized = UpgradeCommittee

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. Read more

type MembershipChanged = UpgradeCommittee

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

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait<Instance4> for Runtime[src]

type CommitteeOrigin = VMO<Instance4>

Required origin for changing behaviour of this module.

type VoteThresholdOrigin = Self::CommitteeOrigin

Required origin for changing the voting threshold.

type Event = Event

The outer event type.

type WeightInfo = WeightInfo

Weight computation.

impl Trait for Runtime[src]

type Event = Event

Event type

type NetworkShareInFee = NetworkShareInFee

Percentage distribution of instantiation fee to the validators and treasury.

type WeightInfo = WeightInfo

Weight information for extrinsic in this pallet.

impl Trait for Runtime[src]

type FullIdentification = Exposure<AccountId, Balance>

Full identification of the validator.

type FullIdentificationOf = ExposureOf<Runtime>

A conversion from validator ID to full identification. Read more

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type ValidatorId = AccountId

A stable ID for a validator.

type ValidatorIdOf = StashOf<Self>

A conversion from account ID to validator ID. Read more

type ShouldEndSession = Babe

Indicator for when to end the session.

type NextSessionRotation = Babe

Something that can predict the next session rotation. This should typically come from the same logical unit that provides [ShouldEndSession], yet, it gives a best effort estimate. It is helpful to implement [EstimateNextNewSession]. Read more

type SessionManager = NoteHistoricalRoot<Self, Staking>

Handler for managing new session.

type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

Handler when a session has changed.

type Keys = SessionKeys

The keys.

type DisabledValidatorsThreshold = DisabledValidatorsThreshold

The fraction of validators set that is safe to be disabled. Read more

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type Moment = Moment

Type used for expressing timestamp.

type OnTimestampSet = Babe

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. Read more

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Scheduler = Scheduler

Scheduler of multisig proposals.

type SchedulerCall = Call

A call type for identity-mapping the Call enum type. Used by the scheduler.

type WeightInfo = WeightInfo

Weight information for extrinsics in the multisig pallet.

impl Trait for Runtime[src]

type FindAuthor = FindAccountFromAuthorIndex<Self, Babe>

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. Read more

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 = (Staking, ImOnline)

An event handler for authored blocks.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type MaxTargetIds = MaxTargetIds

Max number of DID specified in TargetIdentities.

type MaxDidWhts = MaxDidWhts

Max number of per-DID withholding tax overrides.

type WeightInfo = WeightInfo

Weight information for extrinsics in the corporate actions pallet.

type BallotWeightInfo = WeightInfo

Weight information for extrinsics in the corporate ballot pallet.

type DistWeightInfo = WeightInfo

Weight information for extrinsics in the capital distribution pallet.

impl Trait for Runtime[src]

type Currency = Balances

The currency type in which fees will be paid.

type OnTransactionPayment = DealWithFees

Handler for the unbalanced reduction when taking transaction fees.

type TransactionByteFee = TransactionByteFee

The fee to be paid for making a transaction; the per-byte portion.

type WeightToFee = WeightToFee

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

type FeeMultiplierUpdate = ()

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

type CddHandler = CddHandler

Fetch the signatory to charge fee from. Also sets fee payer and identity in context.

type GovernanceCommittee = PolymeshCommittee

Governance committee.

type CddProviders = CddServiceProviders

CDD providers group.

type Identity = Identity

Identity functionality.

impl Trait for Runtime[src]

type Currency = Balances

The staking balance.

type UnixTime = Timestamp

Time used for computing era duration. Read more

type CurrencyToVote = CurrencyToVoteHandler<Self>

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 [sp_npos_elections] 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. Read more

type RewardRemainder = ()

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

type Event = Event

The overarching event type.

type Slash = Treasury

Handler for the unbalanced reduction when slashing a staker.

type Reward = ()

Handler for the unbalanced increment when rewarding a staker.

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 SlashCancelOrigin = EnsureRoot

The origin which can cancel a deferred slash. Root can always do this.

type SessionInterface = Self

Interface for interacting with a session module.

type RewardCurve = RewardCurve

The NPoS reward curve used to define yearly inflation. See Era payout. Read more

type NextNewSession = Session

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

type ElectionLookahead = ElectionLookahead

The number of blocks before the end of the era from which election submissions are allowed. Read more

type Call = Call

The overarching call type.

type MaxIterations = MaxIterations

Maximum number of balancing iterations to run in the offchain submission. Read more

type MinSolutionScoreBump = MinSolutionScoreBump

The threshold of improvement that should be provided for a new solution to be accepted.

type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator

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

type UnsignedPriority = StakingUnsignedPriority

A configuration for base priority of unsigned transactions. Read more

type RequiredAddOrigin = Self::SlashCancelOrigin

Required origin for adding a potential validator (can always be Root).

type RequiredRemoveOrigin = Self::SlashCancelOrigin

Required origin for removing a validator (can always be Root).

type RequiredComplianceOrigin = Self::SlashCancelOrigin

Required origin for changing compliance status (can always be Root).

type RequiredCommissionOrigin = Self::SlashCancelOrigin

Required origin for changing validator commission.

type RequiredChangeHistoryDepthOrigin = Self::SlashCancelOrigin

Required origin for changing the history depth.

type RewardScheduler = Scheduler

To schedule the rewards for the stakers after the end of era.

type MaxValidatorPerIdentity = MaxValidatorPerIdentity

Maximum amount of validators that can run by an identity. It will be MaxValidatorPerIdentity * Self::validator_count(). Read more

type MaxVariableInflationTotalIssuance = MaxVariableInflationTotalIssuance

Maximum amount of total issuance after which fixed rewards kicks in.

type FixedYearlyReward = FixedYearlyReward

Yearly total reward amount that gets distributed when fixed rewards kicks in.

type PalletsOrigin = OriginCaller

Overarching type of all pallets origins.

type MinimumBond = MinimumBond

Minimum bond amount.

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type WeightInfo = WeightInfo

type EpochDuration = EpochDuration

The amount of time, in slots, that each epoch should last.

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). Read more

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

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

type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::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. Read more

type KeyOwnerIdentification = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::IdentificationTuple

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

type HandleEquivocation = EquivocationHandler<Self::KeyOwnerIdentification, Offences>

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. Read more

impl Trait for Runtime[src]

type Currency = Balances

Currency type for this module.

type VotingMajorityOrigin = VMO<GovernanceCommittee>

Origin for enacting results for PIPs (reject, approve, skip, etc.).

type GovernanceCommittee = PolymeshCommittee

Committee

type TechnicalCommitteeVMO = VMO<Instance3>

Voting majority origin for Technical Committee.

type UpgradeCommitteeVMO = VMO<Instance4>

Voting majority origin for Upgrade Committee.

type Event = Event

The overarching event type.

type WeightInfo = WeightInfo

Weight calaculation.

type Scheduler = Scheduler

Scheduler of executed or expired proposals. Since the scheduler module does not have instances, the names of scheduled tasks should be guaranteed to be unique in this pallet. Names cannot be just PIP IDs because names of executed and expired PIPs should be different. Read more

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type MaxLen = MaxLen

The maximum length governing TooLong. Read more

impl Trait for Runtime[src]

type Event = Event

type Proposal = Call

type Scheduler = Scheduler

Scheduler of timelocked bridge transactions.

impl Trait for Runtime[src]

type Event = Event

type WeightInfo = WeightInfo

Weight information for extrinsics in the identity pallet.

impl Trait for Runtime[src]

type OnFinalizationStalled = ()

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

type WindowSize = WindowSize

The number of recent samples to keep from this chain. Default is 101.

type ReportLatency = ReportLatency

The delay after which point things become suspicious. Default is 1000.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Asset = Asset

Asset module

type WeightInfo = WeightInfo

Weight details of all extrinsic

type MaxConditionComplexity = MaxConditionComplexity

The maximum claim reads that are allowed to happen in worst case of a condition resolution

impl Trait for Runtime[src]

type WeightInfo = WeightInfo

Weights for this pallet.

type Event = Event

The event type of this module.

type Call = Call

The function call.

type KeyOwnerProofSystem = Historical

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

type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::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. Read more

type KeyOwnerIdentification = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::IdentificationTuple

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

type HandleEquivocation = EquivocationHandler<Self::KeyOwnerIdentification, Offences>

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. Read more

impl Trait for Runtime[src]

type AuthorityId = AuthorityId

The identifier type for an authority.

type Event = Event

The overarching event type.

type UnsignedPriority = ImOnlineUnsignedPriority

A configuration for base priority of unsigned transactions. Read more

type ReportUnresponsiveness = Offences

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

type SessionDuration = SessionDuration

An expected duration of the session. Read more

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type AccountIndex = AccountIndex

Type used for storing an account's index; implies the maximum number of accounts the system can hold. Read more

type Currency = Balances

The currency trait.

type Deposit = IndexDeposit

The deposit needed for reserving an index.

type Event = Event

The overarching event type.

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type Event = Event

type Currency = Balances

The currency type in which fees will be paid.

type OnProtocolFeePayment = DealWithFees

Handler for the unbalanced reduction when taking protocol fees.

type WeightInfo = WeightInfo

Weight calaculation.

impl Trait for Runtime[src]

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

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

type ScheduleOrigin = EnsureRoot

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. Read more

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Scheduler = Scheduler

Scheduler of settlement instructions.

type WeightInfo = WeightInfo

Weight information for extrinsic of the settlement pallet.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Proposal = Call

An extrinsic call.

type MultiSig = MultiSig

MultiSig module

type Portfolio = Portfolio

Portfolio module. Required to accept portfolio custody transfers.

type CddServiceProviders = CddServiceProviders

Group module

type Balances = Module<Runtime>

Balances module

type ChargeTxFeeTarget = TransactionPayment

Charges fee for forwarded call

type CddHandler = CddHandler

Used to check and update CDD

type Public = <MultiSignature as Verify>::Signer

type OffChainSignature = MultiSignature

type ProtocolFee = Module<Runtime>

type GCVotingMajorityOrigin = VMO<GovernanceCommittee>

Origin for Governance Committee voting majority origin.

type WeightInfo = WeightInfo

Weight information for extrinsics in the identity pallet.

type ExternalAgents = ExternalAgents

Negotiates between External Agents and the Identity pallet.

type IdentityFn = Module<Runtime>

Identity functions

type SchedulerOrigin = OriginCaller

A type for identity-mapping the Origin type. Used by the scheduler.

type InitialPOLYX = InitialPOLYX

POLYX given to primary keys of all new Identities

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type WeightInfo = WeightInfo

Weight information for extrinsic of the sto pallet.

impl Trait for Runtime[src]

type Event = Event

type Currency = Balances

The native currency.

type WeightInfo = WeightInfo

Weight information for extrinsics in the identity pallet.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Call = Call

The overarching call type.

type WeightInfo = WeightInfo

impl Trait for Runtime[src]

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Call = Call

A sudo-able call.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type IdentificationTuple = IdentificationTuple<Self>

Full identification of the validator.

type OnOffenceHandler = Staking

A handler called for every offence report.

type WeightSoftLimit = OffencesWeightSoftLimit

The a soft limit on maximum weight that may be consumed while dispatching deferred offences in on_initialize. Note it's going to be exceeded before we stop adding to it, so it has to be set conservatively. Read more

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type WeightInfo = WeightInfo

impl Trait for Runtime[src]

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Asset = Asset

Asset module

type MaxTransferManagersPerAsset = MaxTransferManagersPerAsset

Maximum transfer managers that can be enabled for an Asset

type WeightInfo = WeightInfo

Weights for extrinsics

impl Trait for Runtime[src]

type MaxLocks = MaxLocks

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

type DustRemoval = ()

Handler for the unbalanced reduction when removing a dust account.

type Event = Event

The overarching event type.

type ExistentialDeposit = ExistentialDeposit

This type is no longer needed but kept for compatibility reasons. The minimum amount required to keep an account open. Read more

type AccountStore = Module<Runtime>

The means of storing the balances of an account.

type CddChecker = CddChecker<Runtime>

Used to check if an account is linked to a CDD'd identity

type WeightInfo = WeightInfo

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type BaseCallFilter = ()

The basic call filter to use in dispatchable.

type AccountId = AccountId

The identifier used to distinguish between accounts.

type Call = Call

The aggregated dispatch type that is available for extrinsics.

type Lookup = Indices

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

type Index = Index

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

type BlockNumber = BlockNumber

The index type for blocks.

type Hash = Hash

The type for hashing blocks and tries.

type Hashing = BlakeTwo256

The hashing algorithm used.

type Header = Header<BlockNumber, BlakeTwo256>

The header type.

type Event = Event

The ubiquitous event type.

type Origin = Origin

The ubiquitous origin type.

type BlockHashCount = BlockHashCount

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

type MaximumBlockWeight = MaximumBlockWeight

Maximum weight of each block.

type DbWeight = RocksDbWeight

The weight of database operations that the runtime can invoke.

type BlockExecutionWeight = BlockExecutionWeight

The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.

type ExtrinsicBaseWeight = ExtrinsicBaseWeight

The base weight of any extrinsic processed by the runtime, independent of the logic of that extrinsic. (Signature verification, nonce increment, fee, etc...)

type MaximumExtrinsicWeight = MaximumExtrinsicWeight

The maximum weight that a single extrinsic of Normal dispatch class can have, idependent of the logic of that extrinsics. (Roughly max block weight - average on initialize cost).

type MaximumBlockLength = MaximumBlockLength

Maximum size of all encoded transactions (in bytes) that are allowed in one block.

type AvailableBlockRatio = AvailableBlockRatio

Portion of the block weight that is available to all normal transactions.

type Version = Version

Version of the runtime.

type PalletInfo = PalletInfo

Converts a module to the index of the module in construct_runtime!.

This type is being generated by construct_runtime!.

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 AccountData = AccountData<Balance>

The data to be stored in an account.

type SystemWeightInfo = WeightInfo

impl Trait for Runtime[src]

type Time = Timestamp

type Randomness = RandomnessCollectiveFlip

type Currency = Balances

The currency in which fees are paid and contract balances are held.

type Event = Event

The overarching event type.

type DetermineContractAddress = NonceBasedAddressDeterminer<Runtime>

A function type to get the contract address given the instantiator.

type TrieIdGenerator = TrieIdFromParentCounter<Runtime>

trie id generator

type RentPayment = ()

Handler for rent payments.

type SignedClaimHandicap = DefaultSignedClaimHandicap

Number of block delay an extrinsic claim surcharge has. Read more

type TombstoneDeposit = TombstoneDeposit

The minimum amount required to generate a tombstone.

type StorageSizeOffset = DefaultStorageSizeOffset

A size offset for an contract. A just created account with untouched storage will have that much of storage from the perspective of the state rent. Read more

type RentByteFee = RentByteFee

Price of a byte of storage per one block interval. Should be greater than 0.

type RentDepositOffset = RentDepositOffset

The amount of funds a contract should deposit in order to offset the cost of one byte. Read more

type SurchargeReward = SurchargeReward

Reward that is received by the party whose touch has led to removal of a contract. Read more

type MaxDepth = DefaultMaxDepth

The maximum nesting level of a call/instantiate stack.

type MaxValueSize = DefaultMaxValueSize

The maximum size of a storage value in bytes.

type WeightPrice = Module<Self>

Used to answer contracts's queries regarding the current weight price. This is not used to calculate the actual fee and is only for informational purposes. Read more

impl TransactionPaymentApi<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>>, u128, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>> for Runtime[src]

impl ValidateUnsigned for Runtime[src]

type Call = Call

The call to validate

Auto Trait Implementations

impl RefUnwindSafe for Runtime[src]

impl Send for Runtime[src]

impl Sync for Runtime[src]

impl Unpin for Runtime[src]

impl UnwindSafe for Runtime[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> CheckedConversion for T

impl<T> DynClone for T where
    T: Clone
[src]

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

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> IsType<T> for T

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

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

Get a reference to the inner from the outer.

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

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

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

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