Modules§
- parachains
- Primitives of polkadot-like chains, that are related to parachains functionality.
- time_
units - Human readable time units defined in terms of number of blocks.
Structs§
- Account
Info Storage MapKey Provider - Provides a storage key for account data.
- Block
Length - All Polkadot-like chains have maximal block size set to 5MB.
- Block
Weights - All Polkadot-like chains have the same block weights.
- Extrinsic
Base Weight - Time to execute a NO-OP extrinsic, for example
System::remark. Calculated by multiplying the Average with1.0and adding0. - Perbill
- A fixed point representation of a number in the range [0, 1].
- Polkadot
Like - Polkadot-like chain.
- SS58
Prefix - Wococo
- Wococo Chain
Constants§
- AVERAGE_
HEADER_ SIZE_ IN_ JUSTIFICATION - Approximate average header size in
votes_ancestriesfield of justification on Polkadot-like chains. - AVERAGE_
ON_ INITIALIZE_ RATIO - All Polkadot-like chains assume that an on-initialize consumes 1 percent of the weight on
average, hence a single extrinsic will not be allowed to consume more than
AvailableBlockRatio - 1 percent. - BEST_
FINALIZED_ WOCOCO_ HEADER_ METHOD - Name of the
<ThisChain>FinalityApi::best_finalizedruntime method. - DAYS
- EXTRA_
STORAGE_ PROOF_ SIZE - Number of extra bytes (excluding size of storage value itself) of storage proof, built at Polkadot-like chain. This mostly depends on number of entries in the storage trie. Some reserve is reserved to account future chain growth.
- HOURS
- MAXIMUM_
BLOCK_ WEIGHT - All Polkadot-like chains allow 2 seconds of compute with a 6-second average block time.
- MAX_
AUTHORITIES_ COUNT - Maximal number of GRANDPA authorities at Polkadot-like chains.
- MAX_
HEADER_ SIZE - Approximate maximal header size on Polkadot-like chains.
- MAX_
MESSAGES_ IN_ DELIVERY_ TRANSACTION - Maximal number of messages in single delivery transaction.
- MAX_
NESTED_ PARACHAIN_ HEAD_ DATA_ SIZE - Maximal size of encoded
bp_parachains::ParaStoredHeaderDatastructure among all Rococo parachains. - MILLISECS_
PER_ BLOCK - MINUTES
- PARAS_
PALLET_ NAME - Name of the parachains pallet in the Rococo runtime.
- REASONABLE_
HEADERS_ IN_ JUSTIFICATON_ ANCESTRY - Reasonable number of headers in the
votes_ancestrieson Polkadot-like chains. - SLOT_
DURATION - TX_
EXTRA_ BYTES - Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.
- WITH_
WOCOCO_ GRANDPA_ PALLET_ NAME - Name of the With-Wococo GRANDPA pallet instance that is deployed at bridged chains.
- WOCOCO_
SYNCED_ HEADERS_ GRANDPA_ INFO_ METHOD - Name of the
<ThisChain>FinalityApi::accepted_<consensus>_finality_proofsruntime method.
Traits§
- Convert
- Infallible conversion trait. Generic over both source and destination types.
- Parameter
- A type that can be used as a parameter in a dispatchable function.
- Suffixed
Common Signed Extension Ext - Helper trait to define some extra methods on
SuffixedCommonSignedExtension. - Wococo
Finality Api - API for querying information about the finalized chain headers.
Type Aliases§
- Account
Address - Address of account on Polkadot-like chains.
- Account
Id - Id of account on Polkadot-like chains.
- Account
Public - Public key of account on Polkadot-like chains.
- Address
- Account address, used by the Polkadot-like chain.
- Balance
- The balance of an account on Polkadot-like chain.
- Block
- Block type of Polkadot-like chains.
- Block
Number - Block number type used in Polkadot-like chains.
- Common
Signed Extension - Signed extension that is used by most chains.
- Common
Signed Extra - Extra signed extension data that is used by most chains.
- Hash
- Hash type used in Polkadot-like chains.
- Hasher
- The type of object that can produce hashes on Polkadot-like chains.
- Hashing
- Hashing type.
- Header
- The header type used by Polkadot-like chains.
- Nonce
- Nonce of a transaction on the Polkadot-like chains.
- Signature
- Signature type used by Polkadot-like chains.
- Signed
Block - Polkadot-like block signed with a Justification.
- Signed
Extension - Signed extension that is used by most chains.
- Suffixed
Common Signed Extension - Extra signed extension data that starts with
CommonSignedExtra. - Unchecked
Extrinsic - Unchecked Extrinsic type.