Modules§
- apis
- configs
- constants
- Constants for the IDN Runtime
- opaque
- Opaque types. These are used by the CLI to instantiate machinery that don’t need to know the specifics of the runtime. They can then be made to be agnostic over specific formats of data like extrinsics, allowing for them to continue syncing the network through upgrades to even the core data structures.
Structs§
- Pallet
Info - Provides an implementation of
PalletInfoto provide information about the pallet setup in the runtime. - Perbill
- A fixed point representation of a number in the range [0, 1].
- Permill
- A fixed point representation of a number in the range [0, 1].
- Runtime
- Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- Session
Keys - Treasury
Account - The IDN Treasury Account for fee collection. Fees collected for subscriptions, transaction fees and dusted balances are sent to this account. This account should be funded with at least the existential deposit of the native currency, to be able to collect fees lower than the existential deposit.
- Weight
ToFee - Handles converting a weight scalar to a fee value, based on the scale and granularity of the node’s balance type.
Enums§
- Balances
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Multi
Address - A multi-format address wrapper for on-chain accounts.
- Origin
Caller - Runtime
Call - The aggregated runtime call type.
- Runtime
Error - Runtime
Event - Runtime
Freeze Reason - A reason for placing a freeze on funds.
- Runtime
Hold Reason - A reason for placing a hold on funds.
- Runtime
Lock Id - An identifier for each lock placed on funds.
- Runtime
Slash Reason - A reason for slashing funds.
- Runtime
Task - An aggregation of all
Taskenums across all pallets included in the current runtime.
Constants§
- CENTIUNIT
- DAYS
- EXISTENTIAL_
DEPOSIT - The existential deposit. Set to 1/10 of the Connected Relay Chain.
- HOURS
- MICROUNIT
- MILLISECS_
PER_ BLOCK - This determines the average expected block time that we are targeting.
Blocks will be produced at a minimum duration defined by
SLOT_DURATION.SLOT_DURATIONis picked up bypallet_timestampwhich is in turn picked up bypallet_aurato implementfn slot_duration(). - MILLIUNIT
- MINUTES
- SLOT_
DURATION - UNIT
- VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Traits§
- Build
Storage - Complex storage builder stuff.
Functions§
- native_
version - The version information used to identify this runtime when compiled natively.
Type Aliases§
- Account
Id - Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- Address
- The address format for describing accounts.
- AllPallets
With System - All pallets included in the runtime as a nested tuple of types.
- AllPallets
Without System - All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- Aura
- Aura
Config - AuraExt
- Aura
ExtConfig - AuraId
- An Aura authority identifier using S/R 25519 as its crypto.
- Authorship
- Balance
- Balance of an account.
- Balances
- Balances
Config - Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Block
Number - An index to a block.
- Collator
Selection - Collator
Selection Config - Contracts
- Cumulus
Xcm - Executive
- Executive: handles dispatch to the various modules.
- Hash
- A hash of some data used by the chain.
- Header
- Block header type as expected by this runtime.
- IdnManager
- Message
Queue - Migrations
- Migrations to apply on runtime upgrade.
- Nonce
- Index of a transaction in the chain.
- Parachain
Info - Parachain
Info Config - Parachain
System - Parachain
System Config - Polkadot
Xcm - Polkadot
XcmConfig - Rand
Beacon - Rand
Beacon Config - Randomness
Collective Flip - Session
- Session
Config - Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.
- Signed
Block - A Block signed with a Justification
- Sudo
- Sudo
Config - System
- System
Config - Timestamp
- Transaction
Payment - Transaction
Payment Config - TxExtension
- The SignedExtension to the basic transaction logic.
- Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Xcmp
Queue