pub struct Runtime;

Implementations§

Trait Implementations§

Get current account nonce of given AccountId.
Returns the slot duration for Aura. Read more
Apply the given extrinsic. Read more
Finish the current block.
Generate inherent extrinsics. The inherent data will vary from chain to chain.
Check that the inherents are valid. The inherent data will vary from chain to chain.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

The type for recording an account’s balance.

The ubiquitous event type.

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation. Read more
The maximum number of named reserves that can exist on an account.
The id type for named reserves.
Handler for the unbalanced reduction when removing a dust account.
The minimum amount required to keep an account open.
The means of storing the balances of an account.
Weight information for extrinsics in this pallet.
The overarching event type.
Identifier for the collection of item.
The type used to identify a unique item within a collection.
The currency mechanism, used for paying for reserves.
The origin which may forcibly create or destroy an item or otherwise alter privileged attributes. Read more
The basic amount of funds that must be reserved for collection.
The basic amount of funds that must be reserved for an item.
The basic amount of funds that must be reserved when adding metadata to your item.
The basic amount of funds that must be reserved when adding an attribute to an item.
The additional funds that must be reserved for the number of bytes store in metadata, either “normal” metadata or attribute metadata. Read more
The maximum length of data stored on-chain.
The maximum length of an attribute key.
The maximum length of an attribute value.
Weight information for extrinsics in this pallet.
Standard collection creation is only allowed if the origin attempting it and the collection are in this set. Read more
Locker trait to enable Locking mechanism downstream.
The treasury’s pallet id, used for deriving its sovereign account ID.
The staking balance.
Origin from which approvals must come.
Origin from which rejections must come.
The overarching event type.
Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not. Read more
Minimum amount of funds that should be placed in a deposit for making a proposal.
Maximum amount of funds that should be placed in a deposit for making a proposal.
Period between successive spends.
Percentage of spare funds (if any) that are burnt per spend period.
Handler for the unbalanced decrease when treasury funds are burned.
Runtime hooks to external pallet using treasury to compute spend funds.
The origin required for approving spends from the treasury outside of the proposal process. The Success value is the maximum amount that this origin is allowed to spend at a time. Read more
Weight information for extrinsics in this pallet.
The maximum number of approvals that can wait in the spending queue. Read more
The overarching event type.
The units in which we record balances.
Identifier for the class of asset.
The currency mechanism.
The origin which may forcibly create or destroy an asset or otherwise alter privileged attributes. Read more
The basic amount of funds that must be reserved for an asset.
The amount of funds that must be reserved for a non-provider asset account to be maintained. Read more
The basic amount of funds that must be reserved when adding metadata to your asset.
The additional funds that must be reserved for the number of bytes you store in your metadata. Read more
The amount of funds that must be reserved when creating a new approval.
The maximum length of a name or symbol stored on-chain.
A hook to allow a per-asset, per-account minimum balance to be enforced. This must be respected in all permissionless operations. Read more
Additional data to be stored with an account’s asset balance.
Weight information for extrinsics in this pallet.
The outer origin type.
The outer call dispatch type.
The outer event type.
The time-out for council motions.
Maximum number of proposals allowed to be active in parallel.
The maximum number of members supported by the pallet. Used for weight estimation. Read more
Default vote strategy of this collective.
Weight information for extrinsics in this pallet.

The basic call filter to use in dispatchable.

Block & extrinsics weights: base values and limits.

The maximum length of a block (in bytes).

The identifier used to distinguish between accounts.

The aggregated dispatch type that is available for extrinsics.

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

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

The index type for blocks.

The type for hashing blocks and tries.

The hashing algorithm used.

The header type.

The ubiquitous event type.

The ubiquitous origin type.

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

The weight of database operations that the runtime can invoke.

Version of the runtime.

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

This type is being generated by construct_runtime!.

What to do if a new account is created.

What to do if an account is fully reaped from the system.

The data to be stored in an account.

Weight information for the extrinsics of this pallet.

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

The set code logic, just the default since we’re not a parachain.

The maximum number of consumers allowed on a single account.

Configure the pallet-housing_fund in pallets/housing_fund.

Because this pallet emits events, it depends on the runtime’s definition of an event.
Weight information for extrinsics in this pallet.
Collection IDs reserved for runtime up to the following constant
Because this pallet emits events, it depends on the runtime’s definition of an event.
The Weight information for this pallet.
The overarching event type.
Currency type for this pallet.
An origin that can request a preimage be placed on-chain without a deposit or fee, or manage existing preimages. Read more
Max size allowed for a preimage.
The base deposit for placing a preimage on chain.
The per-byte deposit for placing a preimage on chain.
The overarching event type.
The aggregated origin which the dispatch will take.
The caller origin, overarching type of all pallets origins.
The aggregated call type.
The maximum weight that may be scheduled per block for any dispatchables of less priority than schedule::HARD_DEADLINE. Read more
Required origin to schedule or cancel calls.
The maximum number of scheduled calls in the queue for a single block. Not strictly enforced, but used for weight estimation. Read more
Weight information for extrinsics in this pallet.
Compare the privileges of origins. Read more
The preimage provider with which we look up call hashes to get the call.
If Some then the number of blocks to postpone execution for when the item is delayed.

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

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

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

Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote be tabled immediately and with a shorter voting/enactment period.

Currency type for this pallet.
The period between a proposal being approved and enacted. Read more
How often (in blocks) new public referenda are launched.
How often (in blocks) to check for new votes.
The minimum period of vote locking. Read more
The minimum amount to be used as a deposit for a public referendum proposal.
Origin from which the next majority-carries (or more permissive) referendum may be tabled to vote immediately and asynchronously in a similar manner to the emergency origin. It retains its threshold method. Read more
Indicator for whether an emergency origin is even allowed to happen. Some chains may want to set this permanently to false, others may want to condition it on things such as an upgrade having happened recently. Read more
Minimum voting period allowed for a fast-track referendum.
Origin from which any referendum may be cancelled in an emergency.
Origin from which a proposal may be cancelled and its backers slashed.
Origin from which proposals may be blacklisted.
Origin for anyone able to veto proposals. Read more
Period in blocks where an external proposal may not be re-submitted after being vetoed.
The amount of balance that must be deposited per byte of preimage stored.
An origin that can provide a preimage using operational extrinsics.
Handler for the unbalanced reduction when slashing a preimage deposit.
The Scheduler.
Overarching type of all pallets origins.
The maximum number of votes for an account. Read more
Weight information for extrinsics in this pallet.
The maximum number of public proposals that can exist at any time.
Because this pallet emits events, it depends on the runtime’s definition of an event.
Because this pallet emits events, it depends on the runtime’s definition of an event.
Because this pallet emits events, it depends on the runtime’s definition of an event.
Period between check of Referendum status
Period between check of rent payment status for active tenants
Fees payed to the Representative by the tenant, to provide a judgement
Number of months for the guaranty deposit
Lease period in number of blocks
Return on Rent
Lease period in number of months
Maintenance fees percentage taken on monthly rent
The identifier type for an authority.
A way to check whether a given validator is disabled and should not be authoring blocks. Blocks authored by a disabled validator will lead to a panic as part of this module’s initialization. Read more
The maximum number of authorities that the pallet can hold.
Because this pallet emits events, it depends on the runtime’s definition of an event.
Because this pallet emits events, it depends on the runtime’s definition of an event.
Because this pallet emits events, it depends on the runtime’s definition of an event.
Dispute resolution account
Incentive percentage - amount witheld from sender
Fee handler trait
Maximum permitted size of Remark
Buffer period - number of blocks to wait before user can claim canceled payment Read more
Buffer period - number of blocks to wait before user can claim canceled payment Read more
The event type of this module.
The function call.
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
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
The identification of a key owner, used when reporting equivocations.
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
Weights for this pallet.
Max Authorities in use

A timestamp: milliseconds since the unix epoch.

Something which can be notified when the timestamp is set. Set this to () if not needed. Read more
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
Weight information for extrinsics in this pallet.
The overarching event type.
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
A fee mulitplier for Operational extrinsics to compute “virtual tip” to boost their priority Read more
Convert a weight value into a deductible fee based on the currency type.
Convert a length value into a deductible fee based on the currency type.
Update the multiplier of the next block, based on the previous block’s weight.
The overarching event type.
A sudo-able call.
The overarching event type.
The currency trait.
The amount held on deposit for a registered identity
The amount held on deposit per additional field for a registered identity.
Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements. Read more
The origin which may forcibly set or remove a name. Root can always do this.
The origin which may add or remove registrars. Root can always do this.
Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O required to access an identity, but can be pretty high. Read more
The maximum number of sub-accounts allowed per identified account.
What to do with slashed funds.
The amount held on deposit for a registered subaccount. This should account for the fact that one storage item’s value will increase by the size of an account ID, and there will be another trie item whose value is the size of an account ID plus 32 bytes. Read more
Weight information for extrinsics in this pallet.
The overarching event type.
The overarching call type.
The caller origin, overarching type of all pallets origins.
Weight information for extrinsics in this pallet.

Configure the pallet-roles in pallets/roles.

Because this pallet emits events, it depends on the runtime’s definition of an event.
Returns the version of the runtime.
Execute the given block.
Initialize a block with the given header.
Formats the value using the given formatter. Read more
Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
Get the distribution of fees to marketplace participants
The NodeBlock type.
The RuntimeBlock type.
Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. Read more
Get current GRANDPA authority set id.
Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context. Read more
Generates a proof of key ownership for the given authority in the given set. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a set_id as parameter the current implementations ignore this parameter and instead rely on this method being called at the correct block height, i.e. any point at which the given set id is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available. Read more
Returns the metadata of a runtime.
Starts the off-chain task for given block header.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities. Read more
Decode the given public session keys. Read more
Validate the transaction. Read more
Query information of a dispatch class, weight, and fee of a given encoded Call.
Query fee details of a given encoded Call.
The type identifying for which type info is provided. Read more
Returns the static type identifier for Self.
The call to validate
Validate the call right before dispatch. Read more
Return the validity of the call Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Convert from a value of T into an equivalent instance of Option<Self>. Read more
Consume self to return Some equivalent value of Option<T>. Read more
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Cast reference.
Cast reference.
Cast mutable reference.
Cast mutable reference.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
Convert from a value of T into an equivalent instance of Self. Read more
Consume self to return an equivalent value of T. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The counterpart to unchecked_from.
Consume self to return an equivalent value of T.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more