diff --git a/types/kusuma_ah_storage_types.yaml b/types/kusuma_ah_storage_types.yaml new file mode 100644 index 0000000..d1483fc --- /dev/null +++ b/types/kusuma_ah_storage_types.yaml @@ -0,0 +1,945 @@ +# This file provides all the type information necessary to decode historic blocks and storage entries on the +# Polkadot relay chain. See https://docs.rs/scale-info-legacy/0.2.0/scale_info_legacy/chain_types/struct.ChainTypeRegistry.html +# for more information, or check out the documentation for this crate to see example usage. +global: + types: + # Babe + EquivocationProof
: + offender: AuthorityId + slotNumber: u64 + firstHeader: Header + secondHeader: Header + BabeAuthorityWeight: u64 + schnorrkel::Randomness: Hash + Slot: u64 + BabeEpochConfiguration: + c: (u64, u64) + allowedSlots: AllowedSlots + AllowedSlots: + _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'] + MaybeRandomness: Option + + # System + Perbill: u32 + ChangesTrieConfiguration: + digestInterval: u32 + digestLevels: u32 + KeyValue: '(StorageKey, StorageData)' + Key: Bytes + StorageKey: Bytes # Unsure about this: storage keys can vary in shape based on hashers etc. + StorageData: Bytes + RefCount: u8 + AccountInfo: + nonce: Index + refcount: RefCount + data: AccountData + T::Index: Index + T::AccountData: + free: Balance + reserved: Balance + miscFrozen: Balance + feeFrozen: Balance + LastRuntimeUpgradeInfo: + specVersion: Compact + specName: Text + Text: String + ExtrinsicsWeight: + normal: Weight + operational: Weight + EventRecord: + phase: Phase + event: Event + topics: Vec + Phase: + _enum: + ApplyExtrinsic: u32 + Finalization: [] + Initialization: [] + T::Event: builtin::Event + DispatchInfo: + weight: Weight + class: DispatchClass + paysFee: Pays + DispatchClass: + _enum: ['Normal', 'Operational', 'Mandatory'] + Pays: + _enum: ['Yes', 'No'] + DispatchResult: Result<(), DispatchError> + DispatchError: + _enum: + Other: [] + CannotLookup: [] + BadOrigin: [] + Module: DispatchErrorModule + ConsumerRemaining: [] + NoProviders: [] + TooManyConsumers: [] + Token: TokenError + Arithmetic: ArithmeticError + Transactional: TransactionalError + Exhausted: [] + Corruption: [] + Unavailable: [] + DispatchErrorModule: + index: u8 + error: u8 + TokenError: + _enum: + - NoFunds + - WouldDie + - BelowMinimum + - CannotCreate + - UnknownAsset + - Frozen + - Unsupported + # these are dropped, but still in older versions + # (if this adjusts, will need to take a re-look) + - Underflow + - Overflow + ArithmeticError: + _enum: ['Underflow', 'Overflow', 'DivisionByZero'] + TransactionError: + _enum: ['LimitReached', 'NoLayer'] + EventIndex: u32 + weights::ExtrinsicsWeight: + normal: Weight + operational: Weight + ConsumedWeight: + normal: Weight + operational: Weight + mandatory: Weight + DigestOf: Digest + + # Scheduler + T::BlockNumber: u32 + BlockNumber: u32 + schedule::Period: (BlockNumber, u32) + schedule::Priority: u8 + ::Call: builtin::Call + ::Call: builtin::Call + Scheduled: + maybeId: Option + priority: schedule::Priority + call: Call + maybePeriodic: Option> + # origin: T::PalletsOrigin + TaskAddress: (BlockNumber, u32) + Scheduled: + maybeId: Option + priority: schedule::Priority + call: Call + maybePeriodic: Option<(BlockNumber, u32)> + origin: PalletsOrigin + T::PalletsOrigin: + # This should be built from metadata in an ideal world. + _enum: + System: SystemOrigin + SystemOrigin: + _enum: + Root: [] + Signed: AccountId + None: [] + + # Timestamp + T::Moment: u64 + + # Indices + T::AccountIndex: u32 + T::AccountId: AccountId32 + AccountIndex: u32 + + # Balances + ::Source: AccountId + T::Balance: Balance + Releases: + _enum: ['V1', 'V2', 'V3', 'V4', 'V5', 'V6', 'V7', 'V8', 'V9', 'V10'] + BalanceLock: + id: LockIdentifier + amount: Balance + reasons: Reasons + LockIdentifier: '[u8; 8]' + Reasons: + _enum: ['Fee', 'Misc', 'All'] + Multiplier: u128 + + # Authorship + T::Header: + parentHash: Hash + number: Compact + stateRoot: Hash + extrinsicsRoot: Hash + digest: Digest + Digest: + logs: Vec + Hash: H256 + DigestItem: + _enum: + Other: Bytes + AuthoritiesChange: Vec + ChangesTrieRoot: Hash + SealV0: SealV0 + Consensus: Consensus + Seal: Seal + PreRuntime: PreRuntime + ChangesTrieSignal: ChangesTrieSignal + RuntimeEnvironmentUpdated: [] + AuthorityId: AccountId32 + SealV0: (u64, Signature) + Consensus: (ConsensusEngineId, Bytes) + Seal: Consensus + PreRuntime: Consensus + ChangesTrieSignal: + _enum: + NewConfiguration: Option + ChangesTrieConfiguration: + digestInterval: u32 + digestLevels: u32 + Signature: H512 + ConsensusEngineId: '[u8; 4]' + + # Staking + RewardDestination: + _enum: + Staked: [] + Stash: [] + Controller: [] + Account: AccountId + None: [] + RewardDestination: + _enum: + Staked: [] + Stash: [] + Controller: [] + Account: AccountId + None: [] + ValidatorPrefs: + commission: Compact + EraIndex: u32 + ValidatorIndex: u32 + CompactAssignments: + votes1: 'Vec<(NominatorIndex, [CompactScore; 0], ValidatorIndex)>' + votes2: 'Vec<(NominatorIndex, [CompactScore; 1], ValidatorIndex)>' + votes3: 'Vec<(NominatorIndex, [CompactScore; 2], ValidatorIndex)>' + votes4: 'Vec<(NominatorIndex, [CompactScore; 3], ValidatorIndex)>' + votes5: 'Vec<(NominatorIndex, [CompactScore; 4], ValidatorIndex)>' + votes6: 'Vec<(NominatorIndex, [CompactScore; 5], ValidatorIndex)>' + votes7: 'Vec<(NominatorIndex, [CompactScore; 6], ValidatorIndex)>' + votes8: 'Vec<(NominatorIndex, [CompactScore; 7], ValidatorIndex)>' + votes9: 'Vec<(NominatorIndex, [CompactScore; 8], ValidatorIndex)>' + votes10: 'Vec<(NominatorIndex, [CompactScore; 9], ValidatorIndex)>' + votes11: 'Vec<(NominatorIndex, [CompactScore; 10], ValidatorIndex)>' + votes12: 'Vec<(NominatorIndex, [CompactScore; 11], ValidatorIndex)>' + votes13: 'Vec<(NominatorIndex, [CompactScore; 12], ValidatorIndex)>' + votes14: 'Vec<(NominatorIndex, [CompactScore; 13], ValidatorIndex)>' + votes15: 'Vec<(NominatorIndex, [CompactScore; 14], ValidatorIndex)>' + votes16: 'Vec<(NominatorIndex, [CompactScore; 15], ValidatorIndex)>' + PhragmenScore: '[u128; 3]' + ElectionSize: + validators: Compact + nominators: Compact + NominatorIndex: u32 + CompactScore: (ValidatorIndex, OffchainAccuracy) + ValidatorIndex: u16 + OffchainAccuracy: PerU16 + PerU16: u16 + ElectionScore: '[u128; 3]' + Percent: u8 + ActiveEraInfo: + index: EraIndex + start: Option + Forcing: + _enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways'] + StakingLedger: + stash: AccountId + total: Compact + active: Compact + unlocking: Vec> + claimedRewards: Vec + UnlockChunk: + value: Compact + era: Compact + EraIndex: u32 + Nominations: + targets: Vec + submittedIn: EraIndex + suppressed: bool + Moment: u64 + EraRewardPoints: + total: u32 + individual: BTreeMap + ElectionResult: + electedStashes: Vec + exposures: Vec<(AccountId, Exposure)> + compute: ElectionCompute + ElectionCompute: + # in previous versions the last entry was "AuthorityId" + # (since no data attached, and it is via SCALE can rename) + _enum: ['OnChain', 'Signed', 'Unsigned'] + Exposure: + total: Compact + own: Compact + others: Vec> + IndividualExposure: + who: AccountId + value: Compact + ElectionStatus: + _enum: + Close: [] + Open: BlockNumber + slashing::SlashingSpans: + spanIndex: slashing::SpanIndex + lastStart: EraIndex + lastNonzeroSlash: EraIndex + prior: Vec + slashing::SpanIndex: u32 + UnappliedSlash: + validator: AccountId + own: Balance + others: Vec<(AccountId, Balance)> + reporters: Vec + payout: Balance + slashing::SlashingSpans: + spanIndex: slashing::SpanIndex + lastStart: EraIndex + lastNonzeroSlash: EraIndex + prior: Vec + slashing::SpanRecord: + slashed: Balance + paidOut: Balance + + # Offences + ReportIdOf: Hash + OffenceDetails: + offender: IdentificationTuple + reporters: Vec + T::IdentificationTuple: (ValidatorId, FullIdentification) + FullIdentification: + total: Compact + own: Compact + others: Vec> + Kind: '[u8; 16]' + OpaqueTimeSlot: Bytes + + # ElectionProviderMultiPhase + RawSolution: + compact: CompactAssignments + score: ElectionScore + round: u32 + SolutionOrSnapshotSize: + voters: Compact + targets: Compact + Phase: + _enum: + Off: [] + Signed: [] + Unsigned: (bool, BlockNumber) + Emergency: [] + ReadySolution: + supports: Vec<(AccountId, SolutionSupport)> + score: ElectionScore + compute: ElectionCompute + ElectionCompute: + # in previous versions the last entry was "AuthorityId" + # (since no data attached, and it is via SCALE can rename) + _enum: ['OnChain', 'Signed', 'Unsigned'] + SolutionSupport: + total: ExtendedBalance + voters: Vec<(AccountId, ExtendedBalance)> + ExtendedBalance: u128 + SubmissionIndicesOf: BTreeMap + SignedSubmissionOf: + who: AccountId + deposit: Balance + solution: RawSolution + reward: Balance + + # Session + T::Keys: (AccountId, AccountId, AccountId, AccountId, AccountId) + T::ValidatorId: AccountId + KeyTypeId: u32 + + # Grandpa + T::Hash: H256 + T::KeyOwnerProof: MembershipProof + MembershipProof: + session: SessionIndex + trieNodes: Vec + validatorCount: ValidatorCount + ValidatorCount: u32 + EquivocationProof: + setId: u64 + equivocation: GrandpaEquivocation + GrandpaEquivocation: + _enum: + Prevote: GrandpaEquivocationValue + Precommit: GrandpaEquivocationValue + GrandpaEquivocationValue: + roundNumber: u64 + identity: AuthorityId + first: '(GrandpaPrevote, AuthoritySignature)' + second: '(GrandpaPrevote, AuthoritySignature)' + GrandpaPrevote: + targetHash: Hash, + targetNumber: BlockNumber + SetId: u64 + + # ImOnline + Heartbeat: + blockNumber: BN + networkState: OpaqueNetworkState + sessionIndex: SessionIndex + authorityIndex: AuthIndex + validatorsLen: u32 + ::Signature: H512 + T::AuthorityId: AccountId + ValidatorId: AccountId + + + # Democracy + PropIndex: u32 + ReferendumIndex: u32 + AccountVote: + _enum: + Standard: + vote: Vote + balance: Balance + Split: + aye: Balance + nay: Balance + Vote: u8 # most significant bit for "aye", conviction 0001-0101 + Conviction: + _enum: + # 0.1x votes, unlocked. + - None + # 1x votes, locked for an enactment period following a successful vote. + - Locked1x + # 2x votes, locked for 2x enactment periods following a successful vote. + - Locked2x + # 3x votes, locked for 4x... + - Locked3x + # 4x votes, locked for 8x... + - Locked4x + # 5x votes, locked for 16x... + - Locked5x, + # 6x votes,locked for 32x... + - Locked6x + ReferendumInfo: + _enum: + Ongoing: ReferendumStatus + Finished: ReferendumInfoFinished + ReferendumStatus: + end: BlockNumber + proposalHash: Hash + threshold: VoteThreshold + delay: BlockNumber + tally: Tally + Tally: + ayes: Balance + nays: Balance + turnout: Balance + VoteThreshold: + _enum: [ + 'Super Majority Approve', + 'Super Majority Against', + 'Simple Majority' + ] + ReferendumInfoFinished: + approved: bool + end: BlockNumber + Voting: + _enum: + Direct: VotingDirect + Delegating: VotingDelegating + VotingDirect: + votes: Vec<(ReferendumIndex, AccountVote)> + delegations: Delegations + prior: (BlockNumber, Balance) + VotingDelegating: + balance: Balance + target: AccountId + conviction: Conviction + delegations: Delegations + prior: (BlockNumber, Balance) + Delegations: + votes: Balance + capital: Balance + PreimageStatus: + _enum: + Missing: BlockNumber + Available: PreimageStatusAvailable + PreimageStatusAvailable: + data: Bytes + provider: AccountId + deposit: Balance + since: BlockNumber + expiry: Option + + # Council + MemberCount: u32 + >::Proposal: builtin::Call + >::Proposal: builtin::Call + ProposalIndex: u32 + Weight: u64 # v1 = u32? but we seem to need u64 on block 29231. v2 = u64, v3 = { refTime: Compact, proofSize: Compact } + + # ElectionsPhragmen + DefunctVoter: + who: Source, + voteCount: Compact + candidateCount: Compact + ::Source: AccountId + Renouncing: + _enum: + Member: [] + RunnerUp: [] + Candidate: Compact + SeatHolder: + who: AccountId + stake: Balance + deposit: Balance + Voter: + votes: Vec + stake: Balance + deposit: Balance + + # Parachains + AttestedCandidate: + candidate: AbridgedCandidateReceipt + validityVotes: Vec + validatorIndices: BitVec + DoubleVoteReport: + identity: ValidatorId + first: (Statement, ValidatorSignature) + second: (Statement, ValidatorSignature) + proof: Proof + signingContext: SigningContext + >::Proof: MembershipProof + ValidatorId: AccountId + ValidatorSignature: Signature + Statement: + _enum: + Never: [] # index starts at 1 + Candidate: Hash + Valid: Hash + Invalid: Hash + SigningContext: + sessionIndex: SessionIndex + parentHash: Hash + + # Attestations + MoreAttestations: {} + + # Slots + LeasePeriodOf: T::BlockNumber + SubId: u32 + AuctionIndex: u32 + ParaId: u32 + HeadData: Bytes + ValidationCode: Bytes + relay_chain::v1::BlockNumber: BlockNumber + + # Storage proof used in parachain inherent + StorageProof: + trieNodes: Vec + # Inbound message types + InboundDownwardMessage: + sentAt: BlockNumber + msg: Bytes + InboundHrmpMessage: + sentAt: BlockNumber + data: Bytes + InboundHrmpMessages: Vec + # Persisted validation data from relay chain + PersistedValidationData: + parentHead: HeadData + relayParentNumber: BlockNumber + relayParentStorageRoot: Hash + maxPovSize: u32 + # Inherent data passed to parachains each block + ParachainInherentData: + validationData: PersistedValidationData + relayChainState: StorageProof + downwardMessages: Vec + horizontalMessages: BTreeMap> + + # Registrar + ParaInfo: + manager: AccountId + deposit: Balance + locked: bool + CollatorId: H256 + + # Claims + EcdsaSignature: '[u8; 65]' + EthereumAddress: '[u8; 20]' + StatementKind: + _enum: ['Regular', 'Saft'] + + # Vesting + VestingInfo: + locked: Balance + perBlock: Balance + startingBlock: BlockNumber + + # Utility + Timepoint: + height: BlockNumber + index: u32 + + # Identity + IdentityInfo: + additional: Vec + display: Data + legal: Data + web: Data + riot: Data + email: Data + pgpFingerprint: Option + image: Data + twitter: Data + IdentityInfo: IdentityInfo + IdentityInfoAdditional: (Data, Data) + RegistrarIndex: u32 + Judgement: + _enum: + Unknown: [] + FeePaid: Balance + Reasonable: [] + KnownGood: [] + OutOfDate: [] + LowQuality: [] + Erroneous: [] + IdentityFields: u64 # from least significant bit to most, 1 bit enabled for Display, Legal, Web, Riot, Email, PgpFingerprint, Image, Twitter + Registration: + judgements: Vec + deposit: Balance + info: IdentityInfo + Registration: Registration + RegistrationJudgement: (RegistrarIndex, IdentityJudgement) + IdentityJudgement: + _enum: + Unknown: [] + FeePaid: Balance + Reasonable: [] + KnownGood: [] + OutOfDate: [] + LowQuality: [] + Erroneous: [] + RegistrarIndex: u32 + RegistrarInfo: + account: AccountId + fee: Balance + fields: IdentityFields + + + # Poll + Approvals: "[bool; 4]" + Data: + _enum: + None: [] # 0 + # Custom encode/decode means that conceptually + # there is a variant for each size of raw data + # from 0-32 bytes: + Raw0: "[u8; 0]" # 1 + Raw1: "[u8; 1]" # 2 + Raw2: "[u8; 2]" # 3 + Raw3: "[u8; 3]" # 4 + Raw4: "[u8; 4]" # 5 + Raw5: "[u8; 5]" # 6 + Raw6: "[u8; 6]" # 7 + Raw7: "[u8; 7]" # 8 + Raw8: "[u8; 8]" # 9 + Raw9: "[u8; 9]" # 10 + Raw10: "[u8; 10]" # 11 + Raw11: "[u8; 11]" # 12 + Raw12: "[u8; 12]" # 13 + Raw13: "[u8; 13]" # 14 + Raw14: "[u8; 14]" # 15 + Raw15: "[u8; 15]" # 16 + Raw16: "[u8; 16]" # 17 + Raw17: "[u8; 17]" # 18 + Raw18: "[u8; 18]" # 19 + Raw19: "[u8; 19]" # 20 + Raw20: "[u8; 20]" # 21 + Raw21: "[u8; 21]" # 22 + Raw22: "[u8; 22]" # 23 + Raw23: "[u8; 23]" # 24 + Raw24: "[u8; 24]" # 25 + Raw25: "[u8; 25]" # 26 + Raw26: "[u8; 26]" # 27 + Raw27: "[u8; 27]" # 28 + Raw28: "[u8; 28]" # 29 + Raw29: "[u8; 29]" # 30 + Raw30: "[u8; 30]" # 31 + Raw31: "[u8; 31]" # 32 + Raw32: "[u8; 32]" # 33 + BlakeTwo256: H256 # 34 + Sha256: H256 # 35 + Keccak256: H256 # 36 + ShaThree256: H256 # 37 + + # Proxy + T::ProxyType: + _enum: + - Any + - NonTransfer + - Governance + - Staking + - UnusedSudoBalances + - IdentityJudgement + - CancelProxy + - Auction + AccountValidity: + _enum: + - Invalid + - Initiated + - Pending + - ValidLow + - ValidHigh + - Completed + Permill: u32 + CallHashOf: Hash + ProxyDefinition: + delegate: AccountId + proxyType: ProxyType + delay: BlockNumber + Announcement: + real: AccountId + callHash: CallHash + height: BlockNumber + + # MultiSig + OpaqueCall: Vec + Multisig: + when: Timepoint + deposit: Balance + depositor: AccountId + approvals: Vec + Timepoint: + height: BlockNumber + index: u32 + + # Treasury + BountyIndex: u32 + Proposal: + proposer: AccountId + value: Balance + beneficiary: AccountId + bond: Balance + OpenTip: + reason: Hash + who: AccountId + finder: AccountId + deposit: Balance + closes: Option + tips: Vec<(AccountId, Balance)> + findersFee: bool + Bounty: + proposer: AccountId + value: Balance + fee: Balance + curatorDeposit: Balance + bond: Balance + status: BountyStatus + BountyStatus: + _enum: + Proposed: [] + Approved: [] + Funded: [] + CuratorProposed: BountyStatusCuratorProposed + Active: BountyStatusActive + PendingPayout: BountyStatusPendingPayout + BountyStatusActive: + curator: AccountId + updateDue: BlockNumber + BountyStatusCuratorProposed: + curator: AccountId + BountyStatusPendingPayout: + curator: AccountId + beneficiary: AccountId + unlockAt: BlockNumber + + # Purchase + AccountStatus: + validity: AccountValidity + freeBalance: Balance + lockedBalance: Balance + signature: Vec + vat: Permill + AccountValidity: + _enum: ['Invalid', 'Initiated', 'Pending', 'ValidLow', 'ValidHigh', 'Completed'] + + # imOnline + OpaqueNetworkState: + peerId: OpaquePeerId + externalAddresses: Vec + OpaquePeerId: Bytes + OpaqueMultiaddr: Bytes + AuthIndex: u32 + AuthoritySignature: Signature + + # Manually defined types below: + + WeakBoundedVec: Vec + BoundedVec: Vec + + Balance: u128 + BalanceOf: Balance + BalanceOf: Balance + + Index: u32 + AccountId32: "[u8; 32]" + AccountId: AccountId32 + SessionIndex: u32 + Bytes: Vec + EcdsaSignature: '[u8; 65]' + Ed25519Signature: '[u8; 64]' + Sr25519Signature: '[u8; 64]' + BitVec: bitvec::vec::BitVec + + H32: '[u8; 4]' + H64: '[u8; 8]' + H128: '[u8; 16]' + H160: '[u8; 20]' + H256: '[u8; 32]' + H512: '[u8; 64]' + H1024: '[u8; 128]' + H2048: '[u8; 256]' + Hash: H256 + Era: + # This has a dumb representation because it's encoded in a custom way. + # This representation matches the TypeInfo generated for it in newer metadatas. + _enum: {"Immortal":[],"Mortal1":"u8","Mortal2":"u8","Mortal3":"u8","Mortal4":"u8","Mortal5":"u8","Mortal6":"u8","Mortal7":"u8","Mortal8":"u8","Mortal9":"u8","Mortal10":"u8","Mortal11":"u8","Mortal12":"u8","Mortal13":"u8","Mortal14":"u8","Mortal15":"u8","Mortal16":"u8","Mortal17":"u8","Mortal18":"u8","Mortal19":"u8","Mortal20":"u8","Mortal21":"u8","Mortal22":"u8","Mortal23":"u8","Mortal24":"u8","Mortal25":"u8","Mortal26":"u8","Mortal27":"u8","Mortal28":"u8","Mortal29":"u8","Mortal30":"u8","Mortal31":"u8","Mortal32":"u8","Mortal33":"u8","Mortal34":"u8","Mortal35":"u8","Mortal36":"u8","Mortal37":"u8","Mortal38":"u8","Mortal39":"u8","Mortal40":"u8","Mortal41":"u8","Mortal42":"u8","Mortal43":"u8","Mortal44":"u8","Mortal45":"u8","Mortal46":"u8","Mortal47":"u8","Mortal48":"u8","Mortal49":"u8","Mortal50":"u8","Mortal51":"u8","Mortal52":"u8","Mortal53":"u8","Mortal54":"u8","Mortal55":"u8","Mortal56":"u8","Mortal57":"u8","Mortal58":"u8","Mortal59":"u8","Mortal60":"u8","Mortal61":"u8","Mortal62":"u8","Mortal63":"u8","Mortal64":"u8","Mortal65":"u8","Mortal66":"u8","Mortal67":"u8","Mortal68":"u8","Mortal69":"u8","Mortal70":"u8","Mortal71":"u8","Mortal72":"u8","Mortal73":"u8","Mortal74":"u8","Mortal75":"u8","Mortal76":"u8","Mortal77":"u8","Mortal78":"u8","Mortal79":"u8","Mortal80":"u8","Mortal81":"u8","Mortal82":"u8","Mortal83":"u8","Mortal84":"u8","Mortal85":"u8","Mortal86":"u8","Mortal87":"u8","Mortal88":"u8","Mortal89":"u8","Mortal90":"u8","Mortal91":"u8","Mortal92":"u8","Mortal93":"u8","Mortal94":"u8","Mortal95":"u8","Mortal96":"u8","Mortal97":"u8","Mortal98":"u8","Mortal99":"u8","Mortal100":"u8","Mortal101":"u8","Mortal102":"u8","Mortal103":"u8","Mortal104":"u8","Mortal105":"u8","Mortal106":"u8","Mortal107":"u8","Mortal108":"u8","Mortal109":"u8","Mortal110":"u8","Mortal111":"u8","Mortal112":"u8","Mortal113":"u8","Mortal114":"u8","Mortal115":"u8","Mortal116":"u8","Mortal117":"u8","Mortal118":"u8","Mortal119":"u8","Mortal120":"u8","Mortal121":"u8","Mortal122":"u8","Mortal123":"u8","Mortal124":"u8","Mortal125":"u8","Mortal126":"u8","Mortal127":"u8","Mortal128":"u8","Mortal129":"u8","Mortal130":"u8","Mortal131":"u8","Mortal132":"u8","Mortal133":"u8","Mortal134":"u8","Mortal135":"u8","Mortal136":"u8","Mortal137":"u8","Mortal138":"u8","Mortal139":"u8","Mortal140":"u8","Mortal141":"u8","Mortal142":"u8","Mortal143":"u8","Mortal144":"u8","Mortal145":"u8","Mortal146":"u8","Mortal147":"u8","Mortal148":"u8","Mortal149":"u8","Mortal150":"u8","Mortal151":"u8","Mortal152":"u8","Mortal153":"u8","Mortal154":"u8","Mortal155":"u8","Mortal156":"u8","Mortal157":"u8","Mortal158":"u8","Mortal159":"u8","Mortal160":"u8","Mortal161":"u8","Mortal162":"u8","Mortal163":"u8","Mortal164":"u8","Mortal165":"u8","Mortal166":"u8","Mortal167":"u8","Mortal168":"u8","Mortal169":"u8","Mortal170":"u8","Mortal171":"u8","Mortal172":"u8","Mortal173":"u8","Mortal174":"u8","Mortal175":"u8","Mortal176":"u8","Mortal177":"u8","Mortal178":"u8","Mortal179":"u8","Mortal180":"u8","Mortal181":"u8","Mortal182":"u8","Mortal183":"u8","Mortal184":"u8","Mortal185":"u8","Mortal186":"u8","Mortal187":"u8","Mortal188":"u8","Mortal189":"u8","Mortal190":"u8","Mortal191":"u8","Mortal192":"u8","Mortal193":"u8","Mortal194":"u8","Mortal195":"u8","Mortal196":"u8","Mortal197":"u8","Mortal198":"u8","Mortal199":"u8","Mortal200":"u8","Mortal201":"u8","Mortal202":"u8","Mortal203":"u8","Mortal204":"u8","Mortal205":"u8","Mortal206":"u8","Mortal207":"u8","Mortal208":"u8","Mortal209":"u8","Mortal210":"u8","Mortal211":"u8","Mortal212":"u8","Mortal213":"u8","Mortal214":"u8","Mortal215":"u8","Mortal216":"u8","Mortal217":"u8","Mortal218":"u8","Mortal219":"u8","Mortal220":"u8","Mortal221":"u8","Mortal222":"u8","Mortal223":"u8","Mortal224":"u8","Mortal225":"u8","Mortal226":"u8","Mortal227":"u8","Mortal228":"u8","Mortal229":"u8","Mortal230":"u8","Mortal231":"u8","Mortal232":"u8","Mortal233":"u8","Mortal234":"u8","Mortal235":"u8","Mortal236":"u8","Mortal237":"u8","Mortal238":"u8","Mortal239":"u8","Mortal240":"u8","Mortal241":"u8","Mortal242":"u8","Mortal243":"u8","Mortal244":"u8","Mortal245":"u8","Mortal246":"u8","Mortal247":"u8","Mortal248":"u8","Mortal249":"u8","Mortal250":"u8","Mortal251":"u8","Mortal252":"u8","Mortal253":"u8","Mortal254":"u8","Mortal255":"u8"} + + MultiAddress: + _enum: + Id: AccountId + Index: AccountIndex + Raw: Bytes + Address32: H256 + Address20: H160 + + MultiSignature: + _enum: + Ed25519: Ed25519Signature + Sr25519: Sr25519Signature + Ecdsa: EcdsaSignature + + # Hardcoded types for old metadatas that don't know about them. + hardcoded::ExtrinsicAddress: AccountId32 + hardcoded::ExtrinsicSignature: MultiSignature + + # signed exts + ChargeAssetTxPayment: + tip: Compact + assetId: Option + ChargeTransactionPayment: + tip: Compact + CheckBlockGasLimit: [] + CheckEra: CheckMortality + CheckGenesis: [] + CheckMortality: + era: Era + CheckNonZeroSender: [] + CheckNonce: + nonce: Compact + CheckSpecVersion: [] + CheckTxVersion: [] + CheckVersion: [] + CheckWeight: [] + LockStakingStatus: [] + ValidateEquivocationReport: [] + TransactionCallFilter: [] + LimitParathreadCommits: [] + OnlyStakingAndClaims: [] + PrevalidateAttests: [] + RestrictFunctionality: [] + ValidateDoubleVoteReports: [] + DisallowSigned: [] + + AbridgedHrmpChannel: + maxCapacity: u32 + maxTotalSize: u32 + maxMessageSize: u32 + msgCount: u32 + totalSize: u32 + mqcHead: Option + + MessagingStateSnapshotEgressEntry: (ParaId, AbridgedHrmpChannel) + MessagingStateSnapshot: + relayDispatchQueueSize: (u32, u32) + egressChannels: Vec + dmqMqcHead: Option + relayDispatchQueueMqcHead: Hash + + # Additional ParachainSystem storage-related types + MessageQueueChain: Hash + AbridgedHostConfiguration: + maxCodeSize: Compact + maxHeadDataSize: Compact + maxUpwardQueueCount: Compact + maxUpwardQueueSize: Compact + maxUpwardMessageSize: Compact + maxUpwardMessageNumPerCandidate: Compact + hrmpMaxMessageNumPerCandidate: Compact + umpServiceTotalWeight: Weight + hrmpMaxParachainOutboundChannels: Compact + hrmpMaxParathreadOutboundChannels: Compact + hrmpOpenRequestTtl: Compact + hrmpChannelMaxCapacity: Compact + hrmpChannelMaxTotalSize: Compact + hrmpMaxParachainInboundChannels: u32 + hrmpMaxParathreadInboundChannels: u32 + hrmpChannelMaxMessageSize: u32 + codeRetentionPeriod: u32 + UpwardMessage: Bytes + OutboundHrmpMessage: + recipient: ParaId + data: Bytes + +forSpec: + - range: [23, null] + types: + CompactScoreCompact: (Compact, Compact) + CompactAssignments: + votes1: Vec<(Compact, Compact)> + votes2: Vec<(Compact, CompactScoreCompact, Compact)> + votes3: Vec<(Compact, [CompactScoreCompact; 2], Compact)> + votes4: Vec<(Compact, [CompactScoreCompact; 3], Compact)> + votes5: Vec<(Compact, [CompactScoreCompact; 4], Compact)> + votes6: Vec<(Compact, [CompactScoreCompact; 5], Compact)> + votes7: Vec<(Compact, [CompactScoreCompact; 6], Compact)> + votes8: Vec<(Compact, [CompactScoreCompact; 7], Compact)> + votes9: Vec<(Compact, [CompactScoreCompact; 8], Compact)> + votes10: Vec<(Compact, [CompactScoreCompact; 9], Compact)> + votes11: Vec<(Compact, [CompactScoreCompact; 10], Compact)> + votes12: Vec<(Compact, [CompactScoreCompact; 11], Compact)> + votes13: Vec<(Compact, [CompactScoreCompact; 12], Compact)> + votes14: Vec<(Compact, [CompactScoreCompact; 13], Compact)> + votes15: Vec<(Compact, [CompactScoreCompact; 14], Compact)> + votes16: Vec<(Compact, [CompactScoreCompact; 15], Compact)> + - range: [25, null] + types: + RefCount: u32 + - range: [28, null] + types: + hardcoded::ExtrinsicAddress: MultiAddress + ::Source: MultiAddress + T::Keys: (AccountId, AccountId, AccountId, AccountId, AccountId, AccountId) + ValidatorPrefs: + commission: Compact + blocked: bool + - range: [28, 29] + types: + AccountInfo: + nonce: Index + consumers: RefCount + providers: RefCount + data: AccountData + - range: [30, null] + types: + AccountInfo: + nonce: Index + consumers: RefCount + providers: RefCount + sufficients: RefCount + data: AccountData