Expand description
Primitives for domains pallet.
Modules§
- bundle
- bundle_
producer_ election - core_
api - execution_
receipt - extrinsics
- merkle_
tree - proof_
provider_ and_ verifier - storage
- valued_
trie
Structs§
- Auto
IdDomain Runtime Config - AutoId-specific domain runtime config.
- Bundle
AndExecution Receipt Version - Bundle and Execution Versions.
- Domain
Allowlist Updates - Domain chains allowlist updates.
- Domain
Bundle Limit - Domain
Id - Unique identifier of a domain.
- Domain
Instance Data DomainInstanceData
is used to construct the genesis storage of domain instance chain- Domain
Sudo Call - Domain Sudo runtime call.
- EvmDomain
Contract Creation Allowed ByCall - EVM Domain “update contract creation allowed by” runtime call.
- EvmDomain
Runtime Config - EVM-specific domain runtime config.
- Genesis
Domain - Nominator
Position - Complete nominator position information for a specific operator
- Operator
Key - A type that implements
BoundToRuntimeAppPublic
, used for operator signing key. - Pending
Deposit - Represents a nominator’s pending deposit that hasn’t been converted to shares yet
- Pending
Withdrawal - Represents a nominator’s pending withdrawal with unlock timing
- Proof
OfElection - Runtime
Object - Storage
FeeDeposit - Represents a nominator’s storage fee deposit information
Enums§
- ChainId
- Identifier of a chain.
- Domain
Digest Item - Domains specific digest item.
- Domain
Runtime Config - Configurations for specific domain runtime kinds.
- EvmType
- EVM-specific domain type (and associated data).
- Extrinsic
Digest - Represents the extrinsic either as full data or hash of the data.
- Invalid
Receipt - Receipt invalidity type.
- Operator
Allow List - Type that represents an operator allow list for Domains.
- Operator
Reward Source - Permissioned
Action Allowed By - Permissioned actions allowed by either specific accounts or anyone.
- Receipt
Validity - Runtime
Type - Types of runtime pallet domains currently supports
Constants§
- DOMAIN_
EXTRINSICS_ SHUFFLING_ SEED_ SUBJECT - Extrinsics shuffling seed
- DOMAIN_
STORAGE_ FEE_ MULTIPLIER - EMPTY_
EXTRINSIC_ ROOT - Empty extrinsics root.
- INITIAL_
DOMAIN_ TX_ RANGE - Initial tx range = U256::MAX / INITIAL_DOMAIN_TX_RANGE.
- KEY_
TYPE - Key type for Operator.
Traits§
- Bundle
Producer Election Api - Domain
Bundle Submitted - Post hook to know if the domain had bundle submitted in the previous block.
- Domain
Owner - Trait to check domain owner.
- Domains
Api - APIs used to access the domains pallet.
- Domains
Digest Item - Domains specific digest items.
- Domains
Transfers Tracker - Trait that tracks the balances on Domains.
- OnChain
Rewards - Hook to handle chain rewards.
- OnDomain
Instantiated - A hook to call after a domain is instantiated
Functions§
- calculate_
max_ bundle_ weight_ and_ size - Calculates the max bundle weight and size
- derive_
domain_ block_ hash - domain_
account_ storage_ key - Account info on frame_system on Domains
- domain_
total_ issuance_ storage_ key - Total issuance storage key for Domains.
- self_
domain_ id_ storage_ key - The storage key of the
SelfDomainId
storage item inpallet-domain-id
- signer_
in_ tx_ range - Checks if the signer Id hash is within the tx range
- system_
digest_ final_ key - Digest storage key in frame_system. Unfortunately, the digest storage is private and not possible to derive the key from it directly.
Type Aliases§
- Channel
Id - Channel identity.
- Epoch
Index - Type representing domain epoch.
- Extrinsics
Root - The Trie root of all extrinsics included in a bundle.
- Header
Hash For - Type alias for Header hash.
- Header
Hashing For - Type alias for Header Hashing.
- Header
Number For - Type alias for Header number.
- Operator
Id - Type representing operator ID
- Operator
Pair - An operator authority keypair. Necessarily equivalent to the schnorrkel public key used in the main executor module. If that ever changes, then this must, too.
- Operator
Public Key - An operator authority identifier.
- Operator
Signature - An operator authority signature.
- Runtime
Id - Type representing the runtime ID.
- Stake
Weight - Stake weight in the domain bundle election.