Modules§
Structs§
- Block
Hash Count - Channel
FeeModel - Channel
Init Reserve Portion - Channel
Reserve Fee - Domain
Chain Byte Fee - Dust
Removal Handler DustRemovalHandler
used to collect all the SSC dust left when the account is reaped.- EVMCurrency
Adapter - Existential
Deposit - Extrinsic
Storage Fees - Final
Domain Transaction Byte Fee - Find
Author Truncated - Hold
Identifier Wrapper - Hold identifier for balances for this runtime.
- Into
Runtime Call - MaxLocks
- MaxOutgoing
Messages - MaxReserves
- Message
Version - MmrProof
Verifier - OnXDM
Rewards - Operational
FeeMultiplier - Pallet
Info - Provides an implementation of
PalletInfo
to 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].
- Post
Only Block Hash - Precompiles
Value - Runtime
- Runtime
Api - Runtime
ApiImpl - Implements all runtime apis for the client side.
- Runtime
Block Length - Runtime
Block Weights - Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- Self
Chain Id - Session
Keys - Storage
Keys - Transaction
Converter - Transaction
Weight Fee - Transporter
Endpoint Id - Version
Enums§
- 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
Task
enums across all pallets included in the current runtime.
Constants§
- EXISTENTIAL_
DEPOSIT - Computed as ED = Account data size * Price per byte, where Price per byte = Min Number of validators * Storage duration (years) * Storage cost per year Account data size (80 bytes) Min Number of redundant validators (10) - For a stable and redundant blockchain we need at least a certain number of full nodes/collators. Storage duration (1 year) - It is theoretically unlimited, accounts will stay around while the chain is alive. Storage cost per year of (12 * 1e-9 * 0.1 ) - SSD storage on cloud hosting costs about 0.1 USD per Gb per month
- RUNTIME_
API_ VERSIONS - VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Functions§
- block_
weights - extract_
signer - maximum_
block_ length - Maximum block length for all dispatches. This is set to 3.75 MiB since consensus chain supports on 3.75 MiB for normal
- maximum_
domain_ block_ weight - The maximum domain block weight with 3.25 MiB as proof size Consensus allows 3.75 MiB but Fraud proof can carry extra size along with proof size So we set the proof size to 3.25 MiB
Type Aliases§
- Account
Id - Some way of identifying an account on the EVM chain. We intentionally make it equivalent to the public key of the EVM 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.
- Balance
- Balance of an account.
- Balances
- Balances
Config - Block
- Block type as expected by this runtime.
- Block
Fees - BlockId
- BlockId type as expected by this runtime.
- Block
Number - An index to a block.
- Checked
Extrinsic - Extrinsic type that has already been checked.
- EVM
- EVMChain
Id - EVMChain
IdConfig - EVMConfig
- EVMNoncetracker
- Ethereum
- Ethereum
Config - EvmGas
Price Calculator - Executive
- Executive: handles dispatch to the various modules.
- Executive
Pallet - Hash
- A hash of some data used by the chain.
- Messenger
- Nonce
- Index of a transaction in the chain.
- Precompiles
- Precompiles we use for EVM
- Self
Domain Id - Self
Domain IdConfig - Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the EVM chain.
- Signed
Block - A Block signed with a Justification
- Signed
Extra - The SignedExtension to the basic transaction logic.
- Sudo
- System
- System
Config - Timestamp
- Transaction
Payment - Transaction
Payment Config - Transporter
- Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Utility