Struct node_template_runtime::Runtime [−][src]
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]
fn account_nonce(account: AccountId) -> Index
[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]
fn slot_duration() -> u64
[src]
fn authorities() -> Vec<AuraId>
[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]
fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic
) -> ApplyExtrinsicResult
[src]
extrinsic: <Block as BlockT>::Extrinsic
) -> ApplyExtrinsicResult
fn finalize_block() -> <Block as BlockT>::Header
[src]
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
[src]
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
[src]
fn random_seed() -> <Block as BlockT>::Hash
[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]
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]
type Event = Event
type RandomnessSource = RandomnessCollectiveFlip
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]
fn version() -> RuntimeVersion
[src]
fn execute_block(block: Block)
[src]
fn initialize_block(header: &<Block as BlockT>::Header)
[src]
impl Debug for Runtime
[src]
impl Eq for Runtime
[src]
impl GetNodeBlockType for Runtime
[src]
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]
fn grandpa_authorities() -> GrandpaAuthorityList
[src]
fn submit_report_equivocation_unsigned_extrinsic(
_equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>,
_key_owner_proof: OpaqueKeyOwnershipProof
) -> Option<()>
[src]
_equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>,
_key_owner_proof: OpaqueKeyOwnershipProof
) -> Option<()>
fn generate_key_ownership_proof(
_set_id: SetId,
_authority_id: GrandpaId
) -> Option<OpaqueKeyOwnershipProof>
[src]
_set_id: SetId,
_authority_id: GrandpaId
) -> Option<OpaqueKeyOwnershipProof>
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]
fn metadata() -> OpaqueMetadata
[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]
fn offchain_worker(header: &<Block as BlockT>::Header)
[src]
impl PartialEq<Runtime> for Runtime
[src]
fn eq(&self, other: &Runtime) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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]
fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8>
[src]
fn decode_session_keys(encoded: Vec<u8>) -> Option<Vec<(Vec<u8>, KeyTypeId)>>
[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]
fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic
) -> TransactionValidity
[src]
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic
) -> TransactionValidity
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]
fn query_info(
uxt: <Block as BlockT>::Extrinsic,
len: u32
) -> RuntimeDispatchInfo<Balance>
[src]
uxt: <Block as BlockT>::Extrinsic,
len: u32
) -> RuntimeDispatchInfo<Balance>
fn query_fee_details(
uxt: <Block as BlockT>::Extrinsic,
len: u32
) -> FeeDetails<Balance>
[src]
uxt: <Block as BlockT>::Extrinsic,
len: u32
) -> FeeDetails<Balance>
impl ValidateUnsigned for Runtime
[src]
type Call = Call
The call to validate
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
[src]
fn validate_unsigned(
source: TransactionSource,
call: &Self::Call
) -> TransactionValidity
[src]
source: TransactionSource,
call: &Self::Call
) -> TransactionValidity
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CheckedConversion for T
[src]
pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
Self: TryInto<T>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IsType<T> for T
[src]
pub fn from_ref(t: &T) -> &T
[src]
pub fn into_ref(&self) -> &T
[src]
pub fn from_mut(t: &mut T) -> &mut T
[src]
pub fn into_mut(&mut self) -> &mut T
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
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]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[src]
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Member for T where
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
[src]
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
[src]
pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
[src]
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
[src]
Self: UniqueSaturatedInto<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
T: UncheckedFrom<S>,
pub fn unchecked_into(self) -> T
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]
T: Bounded,
S: TryInto<T>,
pub fn unique_saturated_into(self) -> T
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,