Struct node_template_runtime::Runtime[][src]

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_grandpa() -> &'static [EventMetadata][src]

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

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

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

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

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

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

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

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

impl Runtime[src]

pub fn metadata() -> RuntimeMetadataPrefixed[src]

Trait Implementations

impl AccountNonceApi<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>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime[src]

impl AuraApi<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>)>>, Public> for Runtime[src]

impl BlockBuilder<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>)>>> for Runtime[src]

impl Clone for Runtime[src]

impl Config for Runtime[src]

type Event = Event

The event type of this module.

type Call = Call

The function call.

type KeyOwnerProofSystem = ()

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, GrandpaId)>>::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, GrandpaId)>>::IdentificationTuple

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

type HandleEquivocation = ()

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

type WeightInfo = ()

Weights for this pallet.

impl Config<()> 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 Balance = Balance

The type for recording an account’s balance.

type Event = Event

The ubiquitous event type.

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

The means of storing the balances of an account.

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.

impl Config for Runtime[src]

type BaseCallFilter = ()

The basic call filter to use in dispatchable.

type BlockWeights = BlockWeights

Block & extrinsics weights: base values and limits.

type BlockLength = BlockLength

The maximum length of a block (in bytes).

type AccountId = AccountId

The identifier used to distinguish between accounts.

type Call = Call

The aggregated dispatch type that is available for extrinsics.

type Lookup = AccountIdLookup<AccountId, ()>

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 DbWeight = RocksDbWeight

The weight of database operations that the runtime can invoke.

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 = ()

Weight information for the extrinsics of this pallet.

type SS58Prefix = SS58Prefix

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

impl Config for Runtime[src]

type AuthorityId = AuraId

The identifier type for an authority.

impl Config for Runtime[src]

type Event = Event

The overarching event type.

type Call = Call

A sudo-able call.

impl Config for Runtime[src]

type Moment = u64

A timestamp: milliseconds since the unix epoch.

type OnTimestampSet = Aura

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 = ()

Weight information for extrinsics in this pallet.

impl Config for Runtime[src]

type OnChargeTransaction = CurrencyAdapter<Balances, ()>

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

type TransactionByteFee = TransactionByteFee

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

type WeightToFee = IdentityFee<Balance>

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.

impl Config for Runtime[src]

impl Config for Runtime[src]

type Event = Event

Because this pallet emits events, it depends on the runtime’s definition of an event.

type Currency = Balances

type Collection = CollectionModule

type NFT = NFTModule

impl Config for Runtime[src]

type Collection = CollectionModule

type Event = Event

Because this pallet emits events, it depends on the runtime’s definition of an event.

impl Config for Runtime[src]

impl Config for Runtime[src]

impl Config for Runtime[src]

type Event = Event

Because this pallet emits events, it depends on the runtime’s definition of an event.

type Action = Call

type RandomnessSource = RandomnessCollectiveFlip

type Currency = Balances

type NFT = NFTModule

impl Copy for Runtime[src]

impl Core<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>)>>> for Runtime[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<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime[src]

impl Metadata<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>)>>> for Runtime[src]

impl OffchainWorkerApi<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>)>>> for Runtime[src]

impl PartialEq<Runtime> for Runtime[src]

impl SessionKeys<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>)>>> for Runtime[src]

impl StructuralEq for Runtime[src]

impl StructuralPartialEq for Runtime[src]

impl TaggedTransactionQueue<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>)>>> for Runtime[src]

impl TransactionPaymentApi<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>)>>, u128> for Runtime[src]

impl ValidateUnsigned for Runtime[src]

type Call = Call

The call to validate

Auto Trait Implementations

impl RefUnwindSafe for Runtime

impl Send for Runtime

impl Sync for Runtime

impl Unpin for Runtime

impl UnwindSafe for Runtime

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> CheckedConversion for T[src]

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

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

Get a reference to the inner from the outer.

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

Get a mutable reference to the inner from the outer.

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe
[src]

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

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

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

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>, 
[src]

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]