Expand description
Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.
§Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation purposes.
To see the actual storage type, find a struct with the same name at the root of the pallet, in the list of Type Definitions.
Structs§
- Accumulated
Treasury Funds - Accumulate treasury funds temporarily until the funds are above Existential deposit. We do this to ensure minting small amounts into treasury would not fail.
- Block
Inherent Extrinsic Data - Combined fraud proof data for the InvalidInherentExtrinsic fraud proof
- Block
Tree - The domain block tree, map (
domain_id
,domain_block_number
) to the hash of ER, which can be used get the block tree node inBlockTreeNodes
- Block
Tree Nodes - Mapping of block tree node hash to the node, each node represent a domain block
- Consensus
Block Hash - Map of consensus block hashes.
- Deposit
OnHold - The amount of balance the nominator hold for a given operator
- Deposits
- List of all deposits for given Operator.
- Domain
Chain Rewards - Storage for chain rewards specific to each domain. These rewards to equally distributed to active operators during epoch migration.
- Domain
Genesis Block Execution Receipt - Storage to hold all the domain’s genesis execution receipt.
- Domain
Registry - The domain registry
- Domain
Runtime Upgrade Records - Storage used to keep track of which consensus block each domain runtime upgrade happens in.
- Domain
Runtime Upgrades - Temporary storage to keep track of domain runtime upgrades which happened in the parent block. Cleared in the current block’s initialization.
- Domain
Staking Summary - Warning: Doc-Only
- Domain
Sudo Calls - Temporary storage to hold the sudo calls meant for domains.
- Domain
TxRange State - Warning: Doc-Only
- EvmDomain
Contract Creation Allowed ByCalls - Temporary storage to hold the “set contract creation allowed by” calls meant for EVM Domains.
- Execution
Inbox - A set of
BundleDigest
from all bundles that successfully submitted to the consensus block, these bundles will be used to construct the domain block andExecutionInbox
is used to: - Frozen
Domains - Storage that hold a list of all frozen domains.
- Head
Domain Number - The block number of the best domain block, increase by one when the first bundle of the domain is
successfully submitted to current consensus block, which mean a new domain block with this block
number will be produce. Used as a pointer in
ExecutionInbox
to identify the current under building domain block, also used as a mapping of consensus block number to domain block number. - Head
Receipt Number - The head receipt number of each domain
- Inboxed
Bundle Author - A mapping of
bundle_header_hash
->bundle_author
for all the successfully submitted bundles of the lastBlockTreePruningDepth
domain blocks. Used to verify the invalid bundle fraud proof and slash malicious operator who have submitted invalid bundle. - Invalid
Bundle Authors - Storage for operators who are marked as invalid bundle authors in the current epoch. Will be cleared once epoch is transitioned.
- Last
Epoch Staking Distribution - A temporary storage to hold any previous epoch details for a given domain
if the epoch transitioned in this block so that all the submitted bundles
within this block are verified.
TODO: The storage is cleared on block finalization that means this storage is already cleared when
verifying the
submit_bundle
extrinsic and not used at all - Latest
Confirmed Domain Execution Receipt - Storage to hold all the domain’s latest confirmed block.
- Latest
SubmittedER - The latest ER submitted by the operator for a given domain. It is used to determine if the operator has submitted bad ER and is pending to slash.
- NewAdded
Head Receipt - The hash of the new head receipt added in the current consensus block
- Next
Domain Id - Stores the next domain id.
- NextEVM
Chain Id - Stores the next evm chain id.
- Next
Operator Id - Warning: Doc-Only
- Next
Runtime Id - Stores the next runtime id.
- Operator
Bundle Slot - The set of slot of the bundle submitted by an operator in the current block, cleared at the next block initialization
- Operator
Epoch Share Price - Share price for the operator pool at the end of Domain epoch.
- Operator
Highest Slot - The highest slot of the bundle submitted by an operator
- Operator
IdOwner - Warning: Doc-Only
- Operators
- List of all registered operators and their configuration.
- Pending
Slashes - A list operators who were slashed during the current epoch associated with the domain. When the epoch for a given domain is complete, operator total stake is moved to treasury and then deleted.
- Pending
Staking Operation Count - The pending staking operation count of the current epoch, it should not larger than
MaxPendingStakingOperation
and will be resetted to 0 upon epoch transition. - Permissioned
Action Allowed By - Storage for PermissionedActions for domain instantiation and other permissioned calls.
- Previous
Bundle AndExecution Receipt Versions - Storage that hold a previous versions of Bundle and Execution Receipt. Unfortunately, it adds a new item for every runtime upgrade if the versions change between runtime upgrades. If the versions does not change, then same version is set with higher block number. Pruning this storage is not quiet straight forward since each domain may submit an ER with a gap as well and also introduces the loop to find the correct block number.
- Runtime
Registry - Warning: Doc-Only
- Scheduled
Runtime Upgrades - Warning: Doc-Only
- Successful
Bundles - Bundles submitted successfully in current block.
- Withdrawals
- List of all withdrawals for a given operator.