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.
- Allowed
Default Share Price Epoch - TODO: remove after all “missing-share-price” withdrawal is unlocked on Taurus Storage that hold a domain epoch, for epoch that happen before it, the share price may be missing due to https://github.com/autonomys/subspace/issues/3459, in this case, we use the current share price as the default.
- 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
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. - 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.
- Nominator
Count - Tracks the nominator count under given operator.
This storage is necessary since CountedStorageNMap does not support prefix key count, so
cannot use that storage type for
Nominators
storage. Note: The count is incremented for new nominators and decremented when the nominator withdraws all the stake. Since Operator themselves are first nominator, they are not counted. - 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.
- Runtime
Registry - Warning: Doc-Only
- Scheduled
Runtime Upgrades - Warning: Doc-Only
- Skip
Balance Checks - TODO: remove once https://github.com/autonomys/subspace/issues/3466 is resolved Storage that hold a list of all domains for which balance checks are ignored.
- Successful
Bundles - Bundles submitted successfully in current block.
- Withdrawals
- List of all withdrawals for a given operator.