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

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

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

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

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

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

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

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

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

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

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

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

pub fn __module_events_pallet_faucets() -> &'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 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 PostsApi<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 ProfileFollowsApi<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> for Runtime[src]

impl ProfilesApi<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 ReactionsApi<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 RolesApi<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> 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 SpaceFollowsApi<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> for Runtime[src]

impl SpacesApi<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 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 Trait for Runtime[src]

type Event = Event

The event type of this module.

type Call = Call

The function call.

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 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 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 Trait<DefaultInstance> for Runtime[src]

type Balance = Balance

The type for recording an account’s balance.

type DustRemoval = ()

Handler for the unbalanced reduction when removing a dust account.

type Event = Event

The ubiquitous event type.

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

Weight information for extrinsics in this pallet.

type MaxLocks = MaxLocks

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

impl Trait for Runtime[src]

type BaseCallFilter = BaseFilter

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

The identifier used to distinguish between accounts.

type Lookup = AccountIdLookup<AccountId, ()>

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

type Header = Header<BlockNumber, 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 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 AccountData = AccountData<Balance>

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

Weight information for the extrinsics of this pallet.

impl Trait for Runtime[src]

type AuthorityId = AuraId

The identifier type for an authority.

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. This is either one or two separate imbalances, the first is the transaction fee paid, the second is the tip paid, if any. 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 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 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<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. Read more

type WeightInfo = ()

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Call = Call

The overarching call type.

type WeightInfo = ()

Weight information for extrinsics in this pallet.

impl Trait for Runtime[src]

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type BeforeAccountFollowed = Scores

type BeforeAccountUnfollowed = Scores

impl Trait for Runtime[src]

impl Trait for Runtime[src]

impl Trait for Runtime[src]

impl Trait for Runtime[src]

type Moment = Moment

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 Trait for Runtime[src]

type Event = Event

The overarching event type.

impl Trait for Runtime[src]

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Currency = Balances

impl Trait for Runtime[src]

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type Currency = Balances

The currency mechanism.

type MinHandleLen = MinHandleLen

Minimal length of space/profile handle

type MaxHandleLen = MaxHandleLen

Max length of a space handle.

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type MaxCommentDepth = MaxCommentDepth

Max comments depth

type PostScores = Scores

type AfterPostUpdated = PostHistory

type IsPostBlocked = ()

impl Trait for Runtime[src]

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type BeforeSpaceFollowed = Scores

type BeforeSpaceUnfollowed = Scores

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type AfterProfileUpdated = ProfileHistory

impl Trait for Runtime[src]

type Event = Event

The overarching event type.

type PostReactionScores = Scores

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<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 + Clone + PartialEq<T> + Eq + Send + Sync + Debug
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

impl<T, I> Subtrait<I> for T where
    T: Trait<I>,
    I: Instance
[src]

type Balance = <T as Trait<I>>::Balance

The balance of an account.

type ExistentialDeposit = <T as Trait<I>>::ExistentialDeposit

The minimum amount required to keep an account open.

type AccountStore = <T as Trait<I>>::AccountStore

The means of storing the balances of an account.

type WeightInfo = <T as Trait<I>>::WeightInfo

Weight information for the extrinsics in this pallet.

type MaxLocks = <T as Trait<I>>::MaxLocks

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

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]