Bump metadata (#3996)

* Bump metadata

* Ensure WrapperOquaque is applied

* Use field for mapping

* Handle WrapperOpaque

* Adjust
This commit is contained in:
Jaco
2021-09-27 13:02:18 +02:00
committed by GitHub
parent eb96371e59
commit 04058fe95e
23 changed files with 16184 additions and 5017 deletions
+16 -481
View File
@@ -7,98 +7,11 @@ import type { DefinitionsTypes } from '../../types';
export default {
/**
* Lookup75: kusama_runtime::ProxyType
* Lookup74: kusama_runtime::ProxyType
**/
KusamaRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
},
/**
* Lookup86: polkadot_primitives::v1::CandidateReceipt<primitive_types::H256>
**/
PolkadotPrimitivesV1CandidateReceipt: {
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
commitmentsHash: 'H256'
},
/**
* Lookup87: polkadot_primitives::v1::CandidateDescriptor<primitive_types::H256>
**/
PolkadotPrimitivesV1CandidateDescriptor: {
paraId: 'u32',
relayParent: 'H256',
collator: 'PolkadotPrimitivesV0CollatorAppPublic',
persistedValidationDataHash: 'H256',
povHash: 'H256',
erasureRoot: 'H256',
signature: 'PolkadotPrimitivesV0CollatorAppSignature',
paraHead: 'H256',
validationCodeHash: 'H256'
},
/**
* Lookup89: polkadot_primitives::v0::collator_app::Public
**/
PolkadotPrimitivesV0CollatorAppPublic: 'SpCoreSr25519Public',
/**
* Lookup90: polkadot_primitives::v0::collator_app::Signature
**/
PolkadotPrimitivesV0CollatorAppSignature: 'SpCoreSr25519Signature',
/**
* Lookup99: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
Complete: 'u64',
Incomplete: '(u64,XcmV2TraitsError)',
Error: 'XcmV2TraitsError'
}
},
/**
* Lookup100: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
Undefined: 'Null',
Overflow: 'Null',
Unimplemented: 'Null',
UnhandledXcmVersion: 'Null',
UnhandledXcmMessage: 'Null',
UnhandledEffect: 'Null',
EscalationOfPrivilege: 'Null',
UntrustedReserveLocation: 'Null',
UntrustedTeleportLocation: 'Null',
DestinationBufferOverflow: 'Null',
MultiLocationFull: 'Null',
MultiLocationNotInvertible: 'Null',
FailedToDecode: 'Null',
BadOrigin: 'Null',
ExceedsMaxMessageSize: 'Null',
FailedToTransactAsset: 'Null',
WeightLimitReached: 'u64',
Wildcard: 'Null',
TooMuchWeightRequired: 'Null',
NotHoldingFees: 'Null',
WeightNotComputable: 'Null',
Barrier: 'Null',
NotWithdrawable: 'Null',
LocationCannotHold: 'Null',
TooExpensive: 'Null',
AssetNotFound: 'Null',
DestinationUnsupported: 'Null',
RecursionLimitReached: 'Null',
Transport: 'Null',
Unroutable: 'Null',
UnknownWeightRequired: 'Null',
Trap: 'u64',
UnknownClaim: 'Null',
InvalidLocation: 'Null'
}
},
/**
* Lookup102: polkadot_parachain::primitives::HrmpChannelId
**/
PolkadotParachainPrimitivesHrmpChannelId: {
sender: 'u32',
recipient: 'u32'
},
/**
* Lookup108: xcm::v1::multilocation::MultiLocation
**/
@@ -508,7 +421,7 @@ export default {
}
},
/**
* Lookup237: kusama_runtime::SessionKeys
* Lookup239: kusama_runtime::SessionKeys
**/
KusamaRuntimeSessionKeys: {
grandpa: 'SpFinalityGrandpaAppPublic',
@@ -519,7 +432,7 @@ export default {
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
},
/**
* Lookup360: kusama_runtime::NposCompactSolution24
* Lookup369: kusama_runtime::NposCompactSolution24
**/
KusamaRuntimeNposCompactSolution24: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -548,123 +461,7 @@ export default {
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
},
/**
* Lookup448: polkadot_primitives::v1::InherentData<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>>
**/
PolkadotPrimitivesV1InherentData: {
bitfields: 'Vec<PolkadotPrimitivesV1SignedUncheckedSigned>',
backedCandidates: 'Vec<PolkadotPrimitivesV1BackedCandidate>',
disputes: 'Vec<PolkadotPrimitivesV1DisputeStatementSet>',
parentHeader: 'SpRuntimeGenericHeader'
},
/**
* Lookup450: polkadot_primitives::v1::signed::UncheckedSigned<polkadot_primitives::v1::AvailabilityBitfield, polkadot_primitives::v1::AvailabilityBitfield>
**/
PolkadotPrimitivesV1SignedUncheckedSigned: {
payload: 'BitVec',
validatorIndex: 'u32',
signature: 'PolkadotPrimitivesV0ValidatorAppSignature'
},
/**
* Lookup453: bitvec::order::Lsb0
**/
BitvecOrderLsb0: 'Null',
/**
* Lookup455: polkadot_primitives::v0::validator_app::Signature
**/
PolkadotPrimitivesV0ValidatorAppSignature: 'SpCoreSr25519Signature',
/**
* Lookup457: polkadot_primitives::v1::BackedCandidate<primitive_types::H256>
**/
PolkadotPrimitivesV1BackedCandidate: {
candidate: 'PolkadotPrimitivesV1CommittedCandidateReceipt',
validityVotes: 'Vec<PolkadotPrimitivesV0ValidityAttestation>',
validatorIndices: 'BitVec'
},
/**
* Lookup458: polkadot_primitives::v1::CommittedCandidateReceipt<primitive_types::H256>
**/
PolkadotPrimitivesV1CommittedCandidateReceipt: {
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
commitments: 'PolkadotPrimitivesV1CandidateCommitments'
},
/**
* Lookup459: polkadot_primitives::v1::CandidateCommitments<N>
**/
PolkadotPrimitivesV1CandidateCommitments: {
upwardMessages: 'Vec<Bytes>',
horizontalMessages: 'Vec<PolkadotCorePrimitivesOutboundHrmpMessage>',
newValidationCode: 'Option<Bytes>',
headData: 'Bytes',
processedDownwardMessages: 'u32',
hrmpWatermark: 'u32'
},
/**
* Lookup461: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
* Lookup465: polkadot_primitives::v0::ValidityAttestation
**/
PolkadotPrimitivesV0ValidityAttestation: {
_enum: {
Unused0: 'Null',
Implicit: 'PolkadotPrimitivesV0ValidatorAppSignature',
Explicit: 'PolkadotPrimitivesV0ValidatorAppSignature'
}
},
/**
* Lookup467: polkadot_primitives::v1::DisputeStatementSet
**/
PolkadotPrimitivesV1DisputeStatementSet: {
candidateHash: 'H256',
session: 'u32',
statements: 'Vec<(PolkadotPrimitivesV1DisputeStatement,u32,PolkadotPrimitivesV0ValidatorAppSignature)>'
},
/**
* Lookup471: polkadot_primitives::v1::DisputeStatement
**/
PolkadotPrimitivesV1DisputeStatement: {
_enum: {
Valid: 'PolkadotPrimitivesV1ValidDisputeStatementKind',
Invalid: 'PolkadotPrimitivesV1InvalidDisputeStatementKind'
}
},
/**
* Lookup472: polkadot_primitives::v1::ValidDisputeStatementKind
**/
PolkadotPrimitivesV1ValidDisputeStatementKind: {
_enum: {
Explicit: 'Null',
BackingSeconded: 'H256',
BackingValid: 'H256',
ApprovalChecking: 'Null'
}
},
/**
* Lookup473: polkadot_primitives::v1::InvalidDisputeStatementKind
**/
PolkadotPrimitivesV1InvalidDisputeStatementKind: {
_enum: ['Explicit']
},
/**
* Lookup485: sp_runtime::MultiSigner
**/
SpRuntimeMultiSigner: {
_enum: {
Ed25519: 'SpCoreEd25519Public',
Sr25519: 'SpCoreSr25519Public',
Ecdsa: 'SpCoreEcdsaPublic'
}
},
/**
* Lookup486: sp_core::ecdsa::Public
**/
SpCoreEcdsaPublic: '[u8;33]',
/**
* Lookup492: xcm::VersionedXcm<Call>
* Lookup502: xcm::VersionedXcm<Call>
**/
XcmVersionedXcm: {
_enum: {
@@ -674,7 +471,7 @@ export default {
}
},
/**
* Lookup493: xcm::v0::Xcm<Call>
* Lookup503: xcm::v0::Xcm<Call>
**/
XcmV0Xcm: {
_enum: {
@@ -731,7 +528,7 @@ export default {
}
},
/**
* Lookup495: xcm::v0::order::Order<Call>
* Lookup505: xcm::v0::order::Order<Call>
**/
XcmV0Order: {
_enum: {
@@ -774,7 +571,7 @@ export default {
}
},
/**
* Lookup497: xcm::v0::Response
* Lookup507: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -782,7 +579,7 @@ export default {
}
},
/**
* Lookup498: xcm::v1::Xcm<Call>
* Lookup508: xcm::v1::Xcm<Call>
**/
XcmV1Xcm: {
_enum: {
@@ -844,7 +641,7 @@ export default {
}
},
/**
* Lookup500: xcm::v1::order::Order<Call>
* Lookup510: xcm::v1::order::Order<Call>
**/
XcmV1Order: {
_enum: {
@@ -889,7 +686,7 @@ export default {
}
},
/**
* Lookup502: xcm::v1::Response
* Lookup512: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -898,7 +695,7 @@ export default {
}
},
/**
* Lookup563: kusama_runtime::OriginCaller
* Lookup573: kusama_runtime::OriginCaller
**/
KusamaRuntimeOriginCaller: {
_enum: {
@@ -1005,15 +802,7 @@ export default {
}
},
/**
* Lookup567: polkadot_runtime_parachains::origin::pallet::Origin
**/
PolkadotRuntimeParachainsOriginPalletOrigin: {
_enum: {
Parachain: 'u32'
}
},
/**
* Lookup568: pallet_xcm::pallet::Origin
* Lookup578: pallet_xcm::pallet::Origin
**/
PalletXcmOrigin: {
_enum: {
@@ -1022,261 +811,7 @@ export default {
}
},
/**
* Lookup607: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
**/
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
maxCodeSize: 'u32',
maxHeadDataSize: 'u32',
maxUpwardQueueCount: 'u32',
maxUpwardQueueSize: 'u32',
maxUpwardMessageSize: 'u32',
maxUpwardMessageNumPerCandidate: 'u32',
hrmpMaxMessageNumPerCandidate: 'u32',
validationUpgradeFrequency: 'u32',
validationUpgradeDelay: 'u32',
maxPovSize: 'u32',
maxDownwardMessageSize: 'u32',
umpServiceTotalWeight: 'u64',
hrmpMaxParachainOutboundChannels: 'u32',
hrmpMaxParathreadOutboundChannels: 'u32',
hrmpSenderDeposit: 'u128',
hrmpRecipientDeposit: 'u128',
hrmpChannelMaxCapacity: 'u32',
hrmpChannelMaxTotalSize: 'u32',
hrmpMaxParachainInboundChannels: 'u32',
hrmpMaxParathreadInboundChannels: 'u32',
hrmpChannelMaxMessageSize: 'u32',
codeRetentionPeriod: 'u32',
parathreadCores: 'u32',
parathreadRetries: 'u32',
groupRotationFrequency: 'u32',
chainAvailabilityPeriod: 'u32',
threadAvailabilityPeriod: 'u32',
schedulingLookahead: 'u32',
maxValidatorsPerCore: 'Option<u32>',
maxValidators: 'Option<u32>',
disputePeriod: 'u32',
disputePostConclusionAcceptancePeriod: 'u32',
disputeMaxSpamSlots: 'u32',
disputeConclusionByTimeOutPeriod: 'u32',
noShowSlots: 'u32',
nDelayTranches: 'u32',
zerothDelayTrancheWidth: 'u32',
neededApprovals: 'u32',
relayVrfModuloSamples: 'u32',
umpMaxIndividualWeight: 'u64'
},
/**
* Lookup611: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
**/
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
bitfield: 'BitVec',
submittedAt: 'u32'
},
/**
* Lookup612: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
**/
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
_alias: {
hash_: 'hash'
},
core: 'u32',
hash_: 'H256',
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
availabilityVotes: 'BitVec',
backers: 'BitVec',
relayParentNumber: 'u32',
backedInNumber: 'u32',
backingGroup: 'u32'
},
/**
* Lookup616: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
**/
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
nextCoreOffset: 'u32'
},
/**
* Lookup618: polkadot_runtime_parachains::scheduler::QueuedParathread
**/
PolkadotRuntimeParachainsSchedulerQueuedParathread: {
claim: 'PolkadotPrimitivesV1ParathreadEntry',
coreOffset: 'u32'
},
/**
* Lookup619: polkadot_primitives::v1::ParathreadEntry
**/
PolkadotPrimitivesV1ParathreadEntry: {
claim: 'PolkadotPrimitivesV1ParathreadClaim',
retries: 'u32'
},
/**
* Lookup620: polkadot_primitives::v1::ParathreadClaim
**/
PolkadotPrimitivesV1ParathreadClaim: '(u32,PolkadotPrimitivesV0CollatorAppPublic)',
/**
* Lookup623: polkadot_primitives::v1::CoreOccupied
**/
PolkadotPrimitivesV1CoreOccupied: {
_enum: {
Parathread: 'PolkadotPrimitivesV1ParathreadEntry',
Parachain: 'Null'
}
},
/**
* Lookup626: polkadot_runtime_parachains::scheduler::CoreAssignment
**/
PolkadotRuntimeParachainsSchedulerCoreAssignment: {
core: 'u32',
paraId: 'u32',
kind: 'PolkadotRuntimeParachainsSchedulerAssignmentKind',
groupIdx: 'u32'
},
/**
* Lookup627: polkadot_runtime_parachains::scheduler::AssignmentKind
**/
PolkadotRuntimeParachainsSchedulerAssignmentKind: {
_enum: {
Parachain: 'Null',
Parathread: '(PolkadotPrimitivesV0CollatorAppPublic,u32)'
}
},
/**
* Lookup628: polkadot_runtime_parachains::paras::ParaLifecycle
**/
PolkadotRuntimeParachainsParasParaLifecycle: {
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
},
/**
* Lookup630: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
**/
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
lastPruned: 'Option<u32>'
},
/**
* Lookup632: polkadot_runtime_parachains::paras::ReplacementTimes<N>
**/
PolkadotRuntimeParachainsParasReplacementTimes: {
expectedAt: 'u32',
activatedAt: 'u32'
},
/**
* Lookup634: polkadot_primitives::v1::UpgradeGoAhead
**/
PolkadotPrimitivesV1UpgradeGoAhead: {
_enum: ['Abort', 'GoAhead']
},
/**
* Lookup635: polkadot_primitives::v1::UpgradeRestriction
**/
PolkadotPrimitivesV1UpgradeRestriction: {
_enum: ['Present']
},
/**
* Lookup636: polkadot_runtime_parachains::paras::ParaGenesisArgs
**/
PolkadotRuntimeParachainsParasParaGenesisArgs: {
genesisHead: 'Bytes',
validationCode: 'Bytes',
parachain: 'bool'
},
/**
* Lookup639: polkadot_runtime_parachains::initializer::BufferedSessionChange
**/
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
queued: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
sessionIndex: 'u32'
},
/**
* Lookup641: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
* Lookup644: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
age: 'u32',
senderDeposit: 'u128',
maxMessageSize: 'u32',
maxCapacity: 'u32',
maxTotalSize: 'u32'
},
/**
* Lookup646: polkadot_runtime_parachains::hrmp::HrmpChannel
**/
PolkadotRuntimeParachainsHrmpHrmpChannel: {
maxCapacity: 'u32',
maxTotalSize: 'u32',
maxMessageSize: 'u32',
msgCount: 'u32',
totalSize: 'u32',
mqcHead: 'Option<H256>',
senderDeposit: 'u128',
recipientDeposit: 'u128'
},
/**
* Lookup649: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
* Lookup654: polkadot_primitives::v1::SessionInfo
**/
PolkadotPrimitivesV1SessionInfo: {
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
discoveryKeys: 'Vec<SpAuthorityDiscoveryAppPublic>',
assignmentKeys: 'Vec<PolkadotPrimitivesV1AssignmentAppPublic>',
validatorGroups: 'Vec<Vec<u32>>',
nCores: 'u32',
zerothDelayTrancheWidth: 'u32',
relayVrfModuloSamples: 'u32',
nDelayTranches: 'u32',
noShowSlots: 'u32',
neededApprovals: 'u32'
},
/**
* Lookup656: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
**/
PolkadotRuntimeCommonParasRegistrarParaInfo: {
manager: 'AccountId32',
deposit: 'u128',
locked: 'bool'
},
/**
* Lookup666: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
**/
PolkadotRuntimeCommonCrowdloanFundInfo: {
depositor: 'AccountId32',
verifier: 'Option<SpRuntimeMultiSigner>',
deposit: 'u128',
raised: 'u128',
end: 'u32',
cap: 'u128',
lastContribution: 'PolkadotRuntimeCommonCrowdloanLastContribution',
firstPeriod: 'u32',
lastPeriod: 'u32',
trieIndex: 'u32'
},
/**
* Lookup667: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
**/
PolkadotRuntimeCommonCrowdloanLastContribution: {
_enum: {
Never: 'Null',
PreEnding: 'u32',
Ending: 'u32'
}
},
/**
* Lookup669: pallet_xcm::pallet::QueryStatus<BlockNumber>
* Lookup682: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
PalletXcmQueryStatus: {
_enum: {
@@ -1296,7 +831,7 @@ export default {
}
},
/**
* Lookup672: xcm::VersionedResponse
* Lookup685: xcm::VersionedResponse
**/
XcmVersionedResponse: {
_enum: {
@@ -1306,7 +841,7 @@ export default {
}
},
/**
* Lookup678: pallet_xcm::pallet::VersionMigrationStage
* Lookup691: pallet_xcm::pallet::VersionMigrationStage
**/
PalletXcmVersionMigrationStage: {
_enum: {
@@ -1317,7 +852,7 @@ export default {
}
},
/**
* Lookup690: kusama_runtime::Runtime
* Lookup703: kusama_runtime::Runtime
**/
KusamaRuntimeRuntime: 'Null'
} as DefinitionsTypes;
+511 -12
View File
@@ -14,10 +14,97 @@ export default {
* Lookup72: polkadot_runtime::ProxyType
**/
PolkadotRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'Unused4', 'IdentityJudgement', 'CancelProxy']
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'Unused4', 'IdentityJudgement', 'CancelProxy', 'Auction']
},
/**
* Lookup139: polkadot_runtime::SessionKeys
* Lookup82: polkadot_primitives::v1::CandidateReceipt<primitive_types::H256>
**/
PolkadotPrimitivesV1CandidateReceipt: {
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
commitmentsHash: 'H256'
},
/**
* Lookup83: polkadot_primitives::v1::CandidateDescriptor<primitive_types::H256>
**/
PolkadotPrimitivesV1CandidateDescriptor: {
paraId: 'u32',
relayParent: 'H256',
collator: 'PolkadotPrimitivesV0CollatorAppPublic',
persistedValidationDataHash: 'H256',
povHash: 'H256',
erasureRoot: 'H256',
signature: 'PolkadotPrimitivesV0CollatorAppSignature',
paraHead: 'H256',
validationCodeHash: 'H256'
},
/**
* Lookup85: polkadot_primitives::v0::collator_app::Public
**/
PolkadotPrimitivesV0CollatorAppPublic: 'SpCoreSr25519Public',
/**
* Lookup86: polkadot_primitives::v0::collator_app::Signature
**/
PolkadotPrimitivesV0CollatorAppSignature: 'SpCoreSr25519Signature',
/**
* Lookup95: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
Complete: 'u64',
Incomplete: '(u64,XcmV2TraitsError)',
Error: 'XcmV2TraitsError'
}
},
/**
* Lookup96: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
Undefined: 'Null',
Overflow: 'Null',
Unimplemented: 'Null',
UnhandledXcmVersion: 'Null',
UnhandledXcmMessage: 'Null',
UnhandledEffect: 'Null',
EscalationOfPrivilege: 'Null',
UntrustedReserveLocation: 'Null',
UntrustedTeleportLocation: 'Null',
DestinationBufferOverflow: 'Null',
MultiLocationFull: 'Null',
MultiLocationNotInvertible: 'Null',
FailedToDecode: 'Null',
BadOrigin: 'Null',
ExceedsMaxMessageSize: 'Null',
FailedToTransactAsset: 'Null',
WeightLimitReached: 'u64',
Wildcard: 'Null',
TooMuchWeightRequired: 'Null',
NotHoldingFees: 'Null',
WeightNotComputable: 'Null',
Barrier: 'Null',
NotWithdrawable: 'Null',
LocationCannotHold: 'Null',
TooExpensive: 'Null',
AssetNotFound: 'Null',
DestinationUnsupported: 'Null',
RecursionLimitReached: 'Null',
Transport: 'Null',
Unroutable: 'Null',
UnknownWeightRequired: 'Null',
Trap: 'u64',
UnknownClaim: 'Null',
InvalidLocation: 'Null'
}
},
/**
* Lookup98: polkadot_parachain::primitives::HrmpChannelId
**/
PolkadotParachainPrimitivesHrmpChannelId: {
sender: 'u32',
recipient: 'u32'
},
/**
* Lookup161: polkadot_runtime::SessionKeys
**/
PolkadotRuntimeSessionKeys: {
grandpa: 'SpFinalityGrandpaAppPublic',
@@ -28,25 +115,25 @@ export default {
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
},
/**
* Lookup140: polkadot_primitives::v0::validator_app::Public
* Lookup162: polkadot_primitives::v0::validator_app::Public
**/
PolkadotPrimitivesV0ValidatorAppPublic: 'SpCoreSr25519Public',
/**
* Lookup141: polkadot_primitives::v1::assignment_app::Public
* Lookup163: polkadot_primitives::v1::assignment_app::Public
**/
PolkadotPrimitivesV1AssignmentAppPublic: 'SpCoreSr25519Public',
/**
* Lookup175: polkadot_runtime_common::claims::EcdsaSignature
* Lookup195: polkadot_runtime_common::claims::EcdsaSignature
**/
PolkadotRuntimeCommonClaimsEcdsaSignature: '[u8;65]',
/**
* Lookup180: polkadot_runtime_common::claims::StatementKind
* Lookup200: polkadot_runtime_common::claims::StatementKind
**/
PolkadotRuntimeCommonClaimsStatementKind: {
_enum: ['Regular', 'Saft']
},
/**
* Lookup233: polkadot_runtime::NposCompactSolution16
* Lookup253: polkadot_runtime::NposCompactSolution16
**/
PolkadotRuntimeNposCompactSolution16: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -67,15 +154,131 @@ export default {
votes16: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);15],Compact<u16>)>'
},
/**
* Lookup290: polkadot_runtime::OriginCaller
* Lookup314: polkadot_primitives::v1::InherentData<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>>
**/
PolkadotPrimitivesV1InherentData: {
bitfields: 'Vec<PolkadotPrimitivesV1SignedUncheckedSigned>',
backedCandidates: 'Vec<PolkadotPrimitivesV1BackedCandidate>',
disputes: 'Vec<PolkadotPrimitivesV1DisputeStatementSet>',
parentHeader: 'SpRuntimeGenericHeader'
},
/**
* Lookup316: polkadot_primitives::v1::signed::UncheckedSigned<polkadot_primitives::v1::AvailabilityBitfield, polkadot_primitives::v1::AvailabilityBitfield>
**/
PolkadotPrimitivesV1SignedUncheckedSigned: {
payload: 'BitVec',
validatorIndex: 'u32',
signature: 'PolkadotPrimitivesV0ValidatorAppSignature'
},
/**
* Lookup319: bitvec::order::Lsb0
**/
BitvecOrderLsb0: 'Null',
/**
* Lookup321: polkadot_primitives::v0::validator_app::Signature
**/
PolkadotPrimitivesV0ValidatorAppSignature: 'SpCoreSr25519Signature',
/**
* Lookup323: polkadot_primitives::v1::BackedCandidate<primitive_types::H256>
**/
PolkadotPrimitivesV1BackedCandidate: {
candidate: 'PolkadotPrimitivesV1CommittedCandidateReceipt',
validityVotes: 'Vec<PolkadotPrimitivesV0ValidityAttestation>',
validatorIndices: 'BitVec'
},
/**
* Lookup324: polkadot_primitives::v1::CommittedCandidateReceipt<primitive_types::H256>
**/
PolkadotPrimitivesV1CommittedCandidateReceipt: {
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
commitments: 'PolkadotPrimitivesV1CandidateCommitments'
},
/**
* Lookup325: polkadot_primitives::v1::CandidateCommitments<N>
**/
PolkadotPrimitivesV1CandidateCommitments: {
upwardMessages: 'Vec<Bytes>',
horizontalMessages: 'Vec<PolkadotCorePrimitivesOutboundHrmpMessage>',
newValidationCode: 'Option<Bytes>',
headData: 'Bytes',
processedDownwardMessages: 'u32',
hrmpWatermark: 'u32'
},
/**
* Lookup327: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
* Lookup331: polkadot_primitives::v0::ValidityAttestation
**/
PolkadotPrimitivesV0ValidityAttestation: {
_enum: {
Unused0: 'Null',
Implicit: 'PolkadotPrimitivesV0ValidatorAppSignature',
Explicit: 'PolkadotPrimitivesV0ValidatorAppSignature'
}
},
/**
* Lookup333: polkadot_primitives::v1::DisputeStatementSet
**/
PolkadotPrimitivesV1DisputeStatementSet: {
candidateHash: 'H256',
session: 'u32',
statements: 'Vec<(PolkadotPrimitivesV1DisputeStatement,u32,PolkadotPrimitivesV0ValidatorAppSignature)>'
},
/**
* Lookup337: polkadot_primitives::v1::DisputeStatement
**/
PolkadotPrimitivesV1DisputeStatement: {
_enum: {
Valid: 'PolkadotPrimitivesV1ValidDisputeStatementKind',
Invalid: 'PolkadotPrimitivesV1InvalidDisputeStatementKind'
}
},
/**
* Lookup338: polkadot_primitives::v1::ValidDisputeStatementKind
**/
PolkadotPrimitivesV1ValidDisputeStatementKind: {
_enum: {
Explicit: 'Null',
BackingSeconded: 'H256',
BackingValid: 'H256',
ApprovalChecking: 'Null'
}
},
/**
* Lookup339: polkadot_primitives::v1::InvalidDisputeStatementKind
**/
PolkadotPrimitivesV1InvalidDisputeStatementKind: {
_enum: ['Explicit']
},
/**
* Lookup351: sp_runtime::MultiSigner
**/
SpRuntimeMultiSigner: {
_enum: {
Ed25519: 'SpCoreEd25519Public',
Sr25519: 'SpCoreSr25519Public',
Ecdsa: 'SpCoreEcdsaPublic'
}
},
/**
* Lookup352: sp_core::ecdsa::Public
**/
SpCoreEcdsaPublic: '[u8;33]',
/**
* Lookup357: polkadot_runtime::OriginCaller
**/
PolkadotRuntimeOriginCaller: {
_enum: {
system: 'FrameSystemRawOrigin',
Unused1: 'Null',
Unused2: 'Null',
Unused3: 'Null',
Void: 'SpCoreVoid',
Unused4: 'Null',
Unused5: 'Null',
Unused6: 'Null',
Unused7: 'Null',
@@ -87,15 +290,311 @@ export default {
Unused13: 'Null',
Unused14: 'Null',
Council: 'PalletCollectiveRawOrigin',
TechnicalCommittee: 'PalletCollectiveRawOrigin'
TechnicalCommittee: 'PalletCollectiveRawOrigin',
Unused17: 'Null',
Unused18: 'Null',
Unused19: 'Null',
Unused20: 'Null',
Unused21: 'Null',
Unused22: 'Null',
Unused23: 'Null',
Unused24: 'Null',
Unused25: 'Null',
Unused26: 'Null',
Unused27: 'Null',
Unused28: 'Null',
Unused29: 'Null',
Unused30: 'Null',
Unused31: 'Null',
Unused32: 'Null',
Unused33: 'Null',
Unused34: 'Null',
Unused35: 'Null',
Unused36: 'Null',
Unused37: 'Null',
Unused38: 'Null',
Unused39: 'Null',
Unused40: 'Null',
Unused41: 'Null',
Unused42: 'Null',
Unused43: 'Null',
Unused44: 'Null',
Unused45: 'Null',
Unused46: 'Null',
Unused47: 'Null',
Unused48: 'Null',
Unused49: 'Null',
ParachainsOrigin: 'PolkadotRuntimeParachainsOriginPalletOrigin'
}
},
/**
* Lookup441: polkadot_runtime_common::claims::PrevalidateAttests<T>
* Lookup361: polkadot_runtime_parachains::origin::pallet::Origin
**/
PolkadotRuntimeParachainsOriginPalletOrigin: {
_enum: {
Parachain: 'u32'
}
},
/**
* Lookup506: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
**/
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
maxCodeSize: 'u32',
maxHeadDataSize: 'u32',
maxUpwardQueueCount: 'u32',
maxUpwardQueueSize: 'u32',
maxUpwardMessageSize: 'u32',
maxUpwardMessageNumPerCandidate: 'u32',
hrmpMaxMessageNumPerCandidate: 'u32',
validationUpgradeFrequency: 'u32',
validationUpgradeDelay: 'u32',
maxPovSize: 'u32',
maxDownwardMessageSize: 'u32',
umpServiceTotalWeight: 'u64',
hrmpMaxParachainOutboundChannels: 'u32',
hrmpMaxParathreadOutboundChannels: 'u32',
hrmpSenderDeposit: 'u128',
hrmpRecipientDeposit: 'u128',
hrmpChannelMaxCapacity: 'u32',
hrmpChannelMaxTotalSize: 'u32',
hrmpMaxParachainInboundChannels: 'u32',
hrmpMaxParathreadInboundChannels: 'u32',
hrmpChannelMaxMessageSize: 'u32',
codeRetentionPeriod: 'u32',
parathreadCores: 'u32',
parathreadRetries: 'u32',
groupRotationFrequency: 'u32',
chainAvailabilityPeriod: 'u32',
threadAvailabilityPeriod: 'u32',
schedulingLookahead: 'u32',
maxValidatorsPerCore: 'Option<u32>',
maxValidators: 'Option<u32>',
disputePeriod: 'u32',
disputePostConclusionAcceptancePeriod: 'u32',
disputeMaxSpamSlots: 'u32',
disputeConclusionByTimeOutPeriod: 'u32',
noShowSlots: 'u32',
nDelayTranches: 'u32',
zerothDelayTrancheWidth: 'u32',
neededApprovals: 'u32',
relayVrfModuloSamples: 'u32',
umpMaxIndividualWeight: 'u64'
},
/**
* Lookup510: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
**/
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
bitfield: 'BitVec',
submittedAt: 'u32'
},
/**
* Lookup511: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
**/
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
_alias: {
hash_: 'hash'
},
core: 'u32',
hash_: 'H256',
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
availabilityVotes: 'BitVec',
backers: 'BitVec',
relayParentNumber: 'u32',
backedInNumber: 'u32',
backingGroup: 'u32'
},
/**
* Lookup515: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
**/
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
nextCoreOffset: 'u32'
},
/**
* Lookup517: polkadot_runtime_parachains::scheduler::QueuedParathread
**/
PolkadotRuntimeParachainsSchedulerQueuedParathread: {
claim: 'PolkadotPrimitivesV1ParathreadEntry',
coreOffset: 'u32'
},
/**
* Lookup518: polkadot_primitives::v1::ParathreadEntry
**/
PolkadotPrimitivesV1ParathreadEntry: {
claim: 'PolkadotPrimitivesV1ParathreadClaim',
retries: 'u32'
},
/**
* Lookup519: polkadot_primitives::v1::ParathreadClaim
**/
PolkadotPrimitivesV1ParathreadClaim: '(u32,PolkadotPrimitivesV0CollatorAppPublic)',
/**
* Lookup522: polkadot_primitives::v1::CoreOccupied
**/
PolkadotPrimitivesV1CoreOccupied: {
_enum: {
Parathread: 'PolkadotPrimitivesV1ParathreadEntry',
Parachain: 'Null'
}
},
/**
* Lookup525: polkadot_runtime_parachains::scheduler::CoreAssignment
**/
PolkadotRuntimeParachainsSchedulerCoreAssignment: {
core: 'u32',
paraId: 'u32',
kind: 'PolkadotRuntimeParachainsSchedulerAssignmentKind',
groupIdx: 'u32'
},
/**
* Lookup526: polkadot_runtime_parachains::scheduler::AssignmentKind
**/
PolkadotRuntimeParachainsSchedulerAssignmentKind: {
_enum: {
Parachain: 'Null',
Parathread: '(PolkadotPrimitivesV0CollatorAppPublic,u32)'
}
},
/**
* Lookup527: polkadot_runtime_parachains::paras::ParaLifecycle
**/
PolkadotRuntimeParachainsParasParaLifecycle: {
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
},
/**
* Lookup529: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
**/
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
lastPruned: 'Option<u32>'
},
/**
* Lookup531: polkadot_runtime_parachains::paras::ReplacementTimes<N>
**/
PolkadotRuntimeParachainsParasReplacementTimes: {
expectedAt: 'u32',
activatedAt: 'u32'
},
/**
* Lookup533: polkadot_primitives::v1::UpgradeGoAhead
**/
PolkadotPrimitivesV1UpgradeGoAhead: {
_enum: ['Abort', 'GoAhead']
},
/**
* Lookup534: polkadot_primitives::v1::UpgradeRestriction
**/
PolkadotPrimitivesV1UpgradeRestriction: {
_enum: ['Present']
},
/**
* Lookup535: polkadot_runtime_parachains::paras::ParaGenesisArgs
**/
PolkadotRuntimeParachainsParasParaGenesisArgs: {
genesisHead: 'Bytes',
validationCode: 'Bytes',
parachain: 'bool'
},
/**
* Lookup538: polkadot_runtime_parachains::initializer::BufferedSessionChange
**/
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
queued: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
sessionIndex: 'u32'
},
/**
* Lookup540: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
* Lookup543: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
age: 'u32',
senderDeposit: 'u128',
maxMessageSize: 'u32',
maxCapacity: 'u32',
maxTotalSize: 'u32'
},
/**
* Lookup545: polkadot_runtime_parachains::hrmp::HrmpChannel
**/
PolkadotRuntimeParachainsHrmpHrmpChannel: {
maxCapacity: 'u32',
maxTotalSize: 'u32',
maxMessageSize: 'u32',
msgCount: 'u32',
totalSize: 'u32',
mqcHead: 'Option<H256>',
senderDeposit: 'u128',
recipientDeposit: 'u128'
},
/**
* Lookup548: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
* Lookup553: polkadot_primitives::v1::SessionInfo
**/
PolkadotPrimitivesV1SessionInfo: {
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
discoveryKeys: 'Vec<SpAuthorityDiscoveryAppPublic>',
assignmentKeys: 'Vec<PolkadotPrimitivesV1AssignmentAppPublic>',
validatorGroups: 'Vec<Vec<u32>>',
nCores: 'u32',
zerothDelayTrancheWidth: 'u32',
relayVrfModuloSamples: 'u32',
nDelayTranches: 'u32',
noShowSlots: 'u32',
neededApprovals: 'u32'
},
/**
* Lookup555: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
**/
PolkadotRuntimeCommonParasRegistrarParaInfo: {
manager: 'AccountId32',
deposit: 'u128',
locked: 'bool'
},
/**
* Lookup565: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
**/
PolkadotRuntimeCommonCrowdloanFundInfo: {
depositor: 'AccountId32',
verifier: 'Option<SpRuntimeMultiSigner>',
deposit: 'u128',
raised: 'u128',
end: 'u32',
cap: 'u128',
lastContribution: 'PolkadotRuntimeCommonCrowdloanLastContribution',
firstPeriod: 'u32',
lastPeriod: 'u32',
trieIndex: 'u32'
},
/**
* Lookup566: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
**/
PolkadotRuntimeCommonCrowdloanLastContribution: {
_enum: {
Never: 'Null',
PreEnding: 'u32',
Ending: 'u32'
}
},
/**
* Lookup578: polkadot_runtime_common::claims::PrevalidateAttests<T>
**/
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
/**
* Lookup442: polkadot_runtime::Runtime
* Lookup579: polkadot_runtime::Runtime
**/
PolkadotRuntimeRuntime: 'Null'
} as DefinitionsTypes;
+115 -96
View File
@@ -178,17 +178,13 @@ export default {
value: 'Compact<u128>'
},
/**
* Lookup70: pallet_society::DefaultInstance
**/
PalletSocietyDefaultInstance: 'Null',
/**
* Lookup77: node_runtime::ProxyType
* Lookup76: node_runtime::ProxyType
**/
NodeRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking']
},
/**
* Lookup80: pallet_multisig::Timepoint<BlockNumber>
* Lookup79: pallet_multisig::Timepoint<BlockNumber>
**/
PalletMultisigTimepoint: {
height: 'u32',
@@ -595,14 +591,14 @@ export default {
proof: 'Vec<Bytes>'
},
/**
* Lookup310: sp_consensus_babe::BabeEpochConfiguration
* Lookup313: sp_consensus_babe::BabeEpochConfiguration
**/
SpConsensusBabeBabeEpochConfiguration: {
c: '(u64,u64)',
allowedSlots: 'SpConsensusBabeAllowedSlots'
},
/**
* Lookup313: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
* Lookup316: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
**/
PalletAuthorshipUncleEntryItem: {
_enum: {
@@ -611,7 +607,7 @@ export default {
}
},
/**
* Lookup318: pallet_balances::BalanceLock<Balance>
* Lookup321: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -619,32 +615,32 @@ export default {
reasons: 'PalletBalancesReasons'
},
/**
* Lookup319: pallet_balances::Reasons
* Lookup322: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
* Lookup322: pallet_balances::ReserveData<ReserveIdentifier, Balance>
* Lookup325: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;8]',
amount: 'u128'
},
/**
* Lookup324: pallet_balances::Releases
* Lookup327: pallet_balances::Releases
**/
PalletBalancesReleases: {
_enum: ['V1_0_0', 'V2_0_0']
},
/**
* Lookup327: pallet_transaction_payment::Releases
* Lookup330: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
* Lookup329: frame_support::weights::WeightToFeeCoefficient<Balance>
* Lookup332: frame_support::weights::WeightToFeeCoefficient<Balance>
**/
FrameSupportWeightsWeightToFeeCoefficient: {
coeffInteger: 'u128',
@@ -653,7 +649,7 @@ export default {
degree: 'u8'
},
/**
* Lookup330: pallet_election_provider_multi_phase::Phase<Bn>
* Lookup333: pallet_election_provider_multi_phase::Phase<Bn>
**/
PalletElectionProviderMultiPhasePhase: {
_enum: {
@@ -664,7 +660,7 @@ export default {
}
},
/**
* Lookup332: pallet_election_provider_multi_phase::ReadySolution<sp_core::crypto::AccountId32>
* Lookup335: pallet_election_provider_multi_phase::ReadySolution<sp_core::crypto::AccountId32>
**/
PalletElectionProviderMultiPhaseReadySolution: {
supports: 'Vec<(AccountId32,SpNposElectionsSupport)>',
@@ -672,14 +668,14 @@ export default {
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
},
/**
* Lookup333: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32>
* Lookup336: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32>
**/
PalletElectionProviderMultiPhaseRoundSnapshot: {
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
targets: 'Vec<AccountId32>'
},
/**
* Lookup340: pallet_election_provider_multi_phase::signed::SignedSubmission<sp_core::crypto::AccountId32, Balance, node_runtime::NposSolution16>
* Lookup343: pallet_election_provider_multi_phase::signed::SignedSubmission<sp_core::crypto::AccountId32, Balance, node_runtime::NposSolution16>
**/
PalletElectionProviderMultiPhaseSignedSignedSubmission: {
who: 'AccountId32',
@@ -688,7 +684,7 @@ export default {
reward: 'u128'
},
/**
* Lookup342: pallet_staking::StakingLedger<sp_core::crypto::AccountId32, Balance>
* Lookup345: pallet_staking::StakingLedger<sp_core::crypto::AccountId32, Balance>
**/
PalletStakingStakingLedger: {
stash: 'AccountId32',
@@ -698,14 +694,14 @@ export default {
claimedRewards: 'Vec<u32>'
},
/**
* Lookup344: pallet_staking::UnlockChunk<Balance>
* Lookup347: pallet_staking::UnlockChunk<Balance>
**/
PalletStakingUnlockChunk: {
value: 'Compact<u128>',
era: 'Compact<u32>'
},
/**
* Lookup345: pallet_staking::Nominations<sp_core::crypto::AccountId32>
* Lookup348: pallet_staking::Nominations<sp_core::crypto::AccountId32>
**/
PalletStakingNominations: {
targets: 'Vec<AccountId32>',
@@ -713,27 +709,27 @@ export default {
suppressed: 'bool'
},
/**
* Lookup346: pallet_staking::ActiveEraInfo
* Lookup349: pallet_staking::ActiveEraInfo
**/
PalletStakingActiveEraInfo: {
index: 'u32',
start: 'Option<u64>'
},
/**
* Lookup348: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
* Lookup351: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
**/
PalletStakingEraRewardPoints: {
total: 'u32',
individual: 'BTreeMap<AccountId32, u32>'
},
/**
* Lookup352: pallet_staking::Forcing
* Lookup355: pallet_staking::Forcing
**/
PalletStakingForcing: {
_enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways']
},
/**
* Lookup354: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
* Lookup357: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
**/
PalletStakingUnappliedSlash: {
validator: 'AccountId32',
@@ -743,7 +739,7 @@ export default {
payout: 'u128'
},
/**
* Lookup356: pallet_staking::slashing::SlashingSpans
* Lookup359: pallet_staking::slashing::SlashingSpans
**/
PalletStakingSlashingSlashingSpans: {
spanIndex: 'u32',
@@ -752,24 +748,24 @@ export default {
prior: 'Vec<u32>'
},
/**
* Lookup357: pallet_staking::slashing::SpanRecord<Balance>
* Lookup360: pallet_staking::slashing::SpanRecord<Balance>
**/
PalletStakingSlashingSpanRecord: {
slashed: 'u128',
paidOut: 'u128'
},
/**
* Lookup358: pallet_staking::Releases
* Lookup361: pallet_staking::Releases
**/
PalletStakingReleases: {
_enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V7_0_0']
_enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V7_0_0', 'V8_0_0']
},
/**
* Lookup363: sp_core::crypto::KeyTypeId
* Lookup366: sp_core::crypto::KeyTypeId
**/
SpCoreCryptoKeyTypeId: '[u8;4]',
/**
* Lookup368: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
* Lookup371: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
**/
PalletDemocracyPreimageStatus: {
_enum: {
@@ -784,7 +780,7 @@ export default {
}
},
/**
* Lookup369: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
* Lookup372: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
**/
PalletDemocracyReferendumInfo: {
_enum: {
@@ -796,7 +792,7 @@ export default {
}
},
/**
* Lookup370: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
* Lookup373: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
**/
PalletDemocracyReferendumStatus: {
end: 'u32',
@@ -806,7 +802,7 @@ export default {
tally: 'PalletDemocracyTally'
},
/**
* Lookup371: pallet_democracy::types::Tally<Balance>
* Lookup374: pallet_democracy::types::Tally<Balance>
**/
PalletDemocracyTally: {
ayes: 'u128',
@@ -814,7 +810,7 @@ export default {
turnout: 'u128'
},
/**
* Lookup372: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
* Lookup375: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
**/
PalletDemocracyVoteVoting: {
_enum: {
@@ -833,24 +829,24 @@ export default {
}
},
/**
* Lookup375: pallet_democracy::types::Delegations<Balance>
* Lookup378: pallet_democracy::types::Delegations<Balance>
**/
PalletDemocracyDelegations: {
votes: 'u128',
capital: 'u128'
},
/**
* Lookup376: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
* Lookup379: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
**/
PalletDemocracyVotePriorLock: '(u32,u128)',
/**
* Lookup379: pallet_democracy::Releases
* Lookup382: pallet_democracy::Releases
**/
PalletDemocracyReleases: {
_enum: ['V1']
},
/**
* Lookup382: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
* Lookup385: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
**/
PalletCollectiveVotes: {
index: 'u32',
@@ -860,7 +856,7 @@ export default {
end: 'u32'
},
/**
* Lookup387: pallet_elections_phragmen::SeatHolder<sp_core::crypto::AccountId32, Balance>
* Lookup390: pallet_elections_phragmen::SeatHolder<sp_core::crypto::AccountId32, Balance>
**/
PalletElectionsPhragmenSeatHolder: {
who: 'AccountId32',
@@ -868,7 +864,7 @@ export default {
deposit: 'u128'
},
/**
* Lookup388: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
* Lookup391: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
**/
PalletElectionsPhragmenVoter: {
votes: 'Vec<AccountId32>',
@@ -876,7 +872,7 @@ export default {
deposit: 'u128'
},
/**
* Lookup391: pallet_grandpa::StoredState<N>
* Lookup394: pallet_grandpa::StoredState<N>
**/
PalletGrandpaStoredState: {
_enum: {
@@ -893,7 +889,7 @@ export default {
}
},
/**
* Lookup392: pallet_grandpa::StoredPendingChange<N>
* Lookup395: pallet_grandpa::StoredPendingChange<N, Limit>
**/
PalletGrandpaStoredPendingChange: {
scheduledAt: 'u32',
@@ -902,7 +898,7 @@ export default {
forced: 'Option<u32>'
},
/**
* Lookup394: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
* Lookup398: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -911,11 +907,11 @@ export default {
bond: 'u128'
},
/**
* Lookup397: frame_support::PalletId
* Lookup401: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
* Lookup399: pallet_contracts::wasm::PrefabWasmModule<T>
* Lookup403: pallet_contracts::wasm::PrefabWasmModule<T>
**/
PalletContractsWasmPrefabWasmModule: {
instructionWeightsVersion: 'Compact<u32>',
@@ -927,7 +923,7 @@ export default {
originalCodeLen: 'u32'
},
/**
* Lookup401: pallet_contracts::storage::RawContractInfo<primitive_types::H256>
* Lookup405: pallet_contracts::storage::RawContractInfo<primitive_types::H256>
**/
PalletContractsStorageRawContractInfo: {
trieId: 'Bytes',
@@ -935,13 +931,13 @@ export default {
reserved: 'Option<Null>'
},
/**
* Lookup403: pallet_contracts::storage::DeletedContract
* Lookup407: pallet_contracts::storage::DeletedContract
**/
PalletContractsStorageDeletedContract: {
trieId: 'Bytes'
},
/**
* Lookup404: pallet_contracts::schedule::Schedule<T>
* Lookup408: pallet_contracts::schedule::Schedule<T>
**/
PalletContractsSchedule: {
limits: 'PalletContractsScheduleLimits',
@@ -949,7 +945,7 @@ export default {
hostFnWeights: 'PalletContractsScheduleHostFnWeights'
},
/**
* Lookup405: pallet_contracts::schedule::Limits
* Lookup409: pallet_contracts::schedule::Limits
**/
PalletContractsScheduleLimits: {
eventTopics: 'u32',
@@ -965,7 +961,7 @@ export default {
codeLen: 'u32'
},
/**
* Lookup406: pallet_contracts::schedule::InstructionWeights<T>
* Lookup410: pallet_contracts::schedule::InstructionWeights<T>
**/
PalletContractsScheduleInstructionWeights: {
_alias: {
@@ -1026,7 +1022,7 @@ export default {
i64Rotr: 'u32'
},
/**
* Lookup407: pallet_contracts::schedule::HostFnWeights<T>
* Lookup411: pallet_contracts::schedule::HostFnWeights<T>
**/
PalletContractsScheduleHostFnWeights: {
_alias: {
@@ -1079,14 +1075,21 @@ export default {
ecdsaRecover: 'u64'
},
/**
* Lookup412: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
* Lookup417: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
**/
PalletImOnlineBoundedOpaqueNetworkState: {
peerId: 'Bytes',
externalAddresses: 'Vec<Bytes>'
},
/**
* Lookup422: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
**/
SpStakingOffenceOffenceDetails: {
offender: '(AccountId32,PalletStakingExposure)',
reporters: 'Vec<AccountId32>'
},
/**
* Lookup414: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
* Lookup424: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
**/
PalletIdentityRegistration: {
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
@@ -1094,7 +1097,7 @@ export default {
info: 'PalletIdentityIdentityInfo'
},
/**
* Lookup422: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
* Lookup432: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
**/
PalletIdentityRegistrarInfo: {
account: 'AccountId32',
@@ -1102,7 +1105,7 @@ export default {
fields: 'PalletIdentityBitFlags'
},
/**
* Lookup426: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
* Lookup436: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
**/
PalletSocietyBid: {
who: 'AccountId32',
@@ -1110,7 +1113,7 @@ export default {
value: 'u128'
},
/**
* Lookup427: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
* Lookup437: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
**/
PalletSocietyBidKind: {
_enum: {
@@ -1119,19 +1122,19 @@ export default {
}
},
/**
* Lookup429: pallet_society::VouchingStatus
* Lookup439: pallet_society::VouchingStatus
**/
PalletSocietyVouchingStatus: {
_enum: ['Vouching', 'Banned']
},
/**
* Lookup433: pallet_society::Vote
* Lookup443: pallet_society::Vote
**/
PalletSocietyVote: {
_enum: ['Skeptic', 'Reject', 'Approve']
},
/**
* Lookup435: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
* Lookup445: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
**/
PalletRecoveryRecoveryConfig: {
delayPeriod: 'u32',
@@ -1140,7 +1143,7 @@ export default {
threshold: 'u16'
},
/**
* Lookup436: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
* Lookup446: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
**/
PalletRecoveryActiveRecovery: {
created: 'u32',
@@ -1148,13 +1151,13 @@ export default {
friends: 'Vec<AccountId32>'
},
/**
* Lookup440: pallet_vesting::Releases
* Lookup450: pallet_vesting::Releases
**/
PalletVestingReleases: {
_enum: ['V0', 'V1']
},
/**
* Lookup444: pallet_scheduler::ScheduledV2<node_runtime::Call, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
* Lookup454: pallet_scheduler::ScheduledV2<node_runtime::Call, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/
PalletSchedulerScheduledV2: {
_alias: {
@@ -1167,7 +1170,7 @@ export default {
origin: 'NodeRuntimeOriginCaller'
},
/**
* Lookup445: node_runtime::OriginCaller
* Lookup455: node_runtime::OriginCaller
**/
NodeRuntimeOriginCaller: {
_enum: {
@@ -1188,7 +1191,7 @@ export default {
}
},
/**
* Lookup446: frame_system::RawOrigin<sp_core::crypto::AccountId32>
* Lookup456: frame_system::RawOrigin<sp_core::crypto::AccountId32>
**/
FrameSystemRawOrigin: {
_enum: {
@@ -1198,7 +1201,7 @@ export default {
}
},
/**
* Lookup447: pallet_collective::RawOrigin<sp_core::crypto::AccountId32, I>
* Lookup457: pallet_collective::RawOrigin<sp_core::crypto::AccountId32, I>
**/
PalletCollectiveRawOrigin: {
_enum: {
@@ -1208,17 +1211,17 @@ export default {
}
},
/**
* Lookup449: sp_core::Void
* Lookup459: sp_core::Void
**/
SpCoreVoid: 'Null',
/**
* Lookup450: pallet_scheduler::Releases
* Lookup460: pallet_scheduler::Releases
**/
PalletSchedulerReleases: {
_enum: ['V1', 'V2']
},
/**
* Lookup454: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, node_runtime::ProxyType, BlockNumber>
* Lookup464: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, node_runtime::ProxyType, BlockNumber>
**/
PalletProxyProxyDefinition: {
delegate: 'AccountId32',
@@ -1226,7 +1229,7 @@ export default {
delay: 'u32'
},
/**
* Lookup458: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber>
* Lookup468: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber>
**/
PalletProxyAnnouncement: {
real: 'AccountId32',
@@ -1234,7 +1237,7 @@ export default {
height: 'u32'
},
/**
* Lookup462: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32>
* Lookup472: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32>
**/
PalletMultisigMultisig: {
when: 'PalletMultisigTimepoint',
@@ -1243,7 +1246,7 @@ export default {
approvals: 'Vec<AccountId32>'
},
/**
* Lookup465: pallet_bounties::Bounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
* Lookup475: pallet_bounties::Bounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
**/
PalletBountiesBounty: {
proposer: 'AccountId32',
@@ -1254,7 +1257,7 @@ export default {
status: 'PalletBountiesBountyStatus'
},
/**
* Lookup466: pallet_bounties::BountyStatus<sp_core::crypto::AccountId32, BlockNumber>
* Lookup476: pallet_bounties::BountyStatus<sp_core::crypto::AccountId32, BlockNumber>
**/
PalletBountiesBountyStatus: {
_enum: {
@@ -1276,7 +1279,7 @@ export default {
}
},
/**
* Lookup468: pallet_tips::OpenTip<sp_core::crypto::AccountId32, Balance, BlockNumber, primitive_types::H256>
* Lookup478: pallet_tips::OpenTip<sp_core::crypto::AccountId32, Balance, BlockNumber, primitive_types::H256>
**/
PalletTipsOpenTip: {
reason: 'H256',
@@ -1288,7 +1291,7 @@ export default {
findersFee: 'bool'
},
/**
* Lookup470: pallet_assets::types::AssetDetails<Balance, sp_core::crypto::AccountId32, DepositBalance>
* Lookup480: pallet_assets::types::AssetDetails<Balance, sp_core::crypto::AccountId32, DepositBalance>
**/
PalletAssetsAssetDetails: {
owner: 'AccountId32',
@@ -1305,7 +1308,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup471: pallet_assets::types::AssetBalance<Balance, Extra>
* Lookup481: pallet_assets::types::AssetBalance<Balance, Extra>
**/
PalletAssetsAssetBalance: {
balance: 'u64',
@@ -1314,14 +1317,14 @@ export default {
extra: 'Null'
},
/**
* Lookup473: pallet_assets::types::Approval<Balance, DepositBalance>
* Lookup483: pallet_assets::types::Approval<Balance, DepositBalance>
**/
PalletAssetsApproval: {
amount: 'u64',
deposit: 'u128'
},
/**
* Lookup474: pallet_assets::types::AssetMetadata<DepositBalance, frame_support::storage::bounded_vec::BoundedVec<T, S>>
* Lookup484: pallet_assets::types::AssetMetadata<DepositBalance, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
PalletAssetsAssetMetadata: {
deposit: 'u128',
@@ -1331,7 +1334,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup476: pallet_lottery::LotteryConfig<BlockNumber, Balance>
* Lookup486: pallet_lottery::LotteryConfig<BlockNumber, Balance>
**/
PalletLotteryLotteryConfig: {
price: 'u128',
@@ -1341,14 +1344,14 @@ export default {
repeat: 'bool'
},
/**
* Lookup481: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32>
* Lookup491: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32>
**/
PalletGiltGiltBid: {
amount: 'u128',
who: 'AccountId32'
},
/**
* Lookup482: pallet_gilt::pallet::ActiveGiltsTotal<Balance>
* Lookup492: pallet_gilt::pallet::ActiveGiltsTotal<Balance>
**/
PalletGiltActiveGiltsTotal: {
frozen: 'u128',
@@ -1357,7 +1360,7 @@ export default {
target: 'Perquintill'
},
/**
* Lookup483: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber>
* Lookup493: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber>
**/
PalletGiltActiveGilt: {
proportion: 'Perquintill',
@@ -1366,7 +1369,7 @@ export default {
expiry: 'u32'
},
/**
* Lookup485: pallet_uniques::types::ClassDetails<sp_core::crypto::AccountId32, DepositBalance>
* Lookup495: pallet_uniques::types::ClassDetails<sp_core::crypto::AccountId32, DepositBalance>
**/
PalletUniquesClassDetails: {
owner: 'AccountId32',
@@ -1381,7 +1384,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup487: pallet_uniques::types::InstanceDetails<sp_core::crypto::AccountId32, DepositBalance>
* Lookup497: pallet_uniques::types::InstanceDetails<sp_core::crypto::AccountId32, DepositBalance>
**/
PalletUniquesInstanceDetails: {
owner: 'AccountId32',
@@ -1390,7 +1393,7 @@ export default {
deposit: 'u128'
},
/**
* Lookup488: pallet_uniques::types::ClassMetadata<DepositBalance, StringLimit>
* Lookup498: pallet_uniques::types::ClassMetadata<DepositBalance, StringLimit>
**/
PalletUniquesClassMetadata: {
deposit: 'u128',
@@ -1398,7 +1401,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup489: pallet_uniques::types::InstanceMetadata<DepositBalance, StringLimit>
* Lookup499: pallet_uniques::types::InstanceMetadata<DepositBalance, StringLimit>
**/
PalletUniquesInstanceMetadata: {
deposit: 'u128',
@@ -1406,7 +1409,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup494: pallet_transaction_storage::TransactionInfo
* Lookup504: pallet_transaction_storage::TransactionInfo
**/
PalletTransactionStorageTransactionInfo: {
_alias: {
@@ -1418,7 +1421,23 @@ export default {
blockChunks: 'u32'
},
/**
* Lookup497: sp_runtime::MultiSignature
* Lookup506: pallet_bags_list::list::Node<T>
**/
PalletBagsListListNode: {
id: 'AccountId32',
prev: 'Option<AccountId32>',
next: 'Option<AccountId32>',
bagUpper: 'u64'
},
/**
* Lookup507: pallet_bags_list::list::Bag<T>
**/
PalletBagsListListBag: {
head: 'Option<AccountId32>',
tail: 'Option<AccountId32>'
},
/**
* Lookup510: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -1428,35 +1447,35 @@ export default {
}
},
/**
* Lookup498: sp_core::ecdsa::Signature
* Lookup511: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
* Lookup501: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
* Lookup514: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
* Lookup502: frame_system::extensions::check_tx_version::CheckTxVersion<T>
* Lookup515: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
* Lookup503: frame_system::extensions::check_genesis::CheckGenesis<T>
* Lookup516: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
* Lookup506: frame_system::extensions::check_nonce::CheckNonce<T>
* Lookup519: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
* Lookup507: frame_system::extensions::check_weight::CheckWeight<T>
* Lookup520: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
* Lookup508: pallet_transaction_payment::ChargeTransactionPayment<T>
* Lookup521: pallet_transaction_payment::ChargeTransactionPayment<T>
**/
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
* Lookup509: node_runtime::Runtime
* Lookup522: node_runtime::Runtime
**/
NodeRuntimeRuntime: 'Null'
} as DefinitionsTypes;
+18 -438
View File
@@ -1,13 +1,13 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
import type { BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
declare module '@polkadot/types/lookup' {
/** @name KusamaRuntimeProxyType (75) */
/** @name KusamaRuntimeProxyType (74) */
export interface KusamaRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -18,87 +18,6 @@ declare module '@polkadot/types/lookup' {
readonly isAuction: boolean;
}
/** @name PolkadotPrimitivesV1CandidateReceipt (86) */
export interface PolkadotPrimitivesV1CandidateReceipt extends Struct {
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly commitmentsHash: H256;
}
/** @name PolkadotPrimitivesV1CandidateDescriptor (87) */
export interface PolkadotPrimitivesV1CandidateDescriptor extends Struct {
readonly paraId: u32;
readonly relayParent: H256;
readonly collator: PolkadotPrimitivesV0CollatorAppPublic;
readonly persistedValidationDataHash: H256;
readonly povHash: H256;
readonly erasureRoot: H256;
readonly signature: PolkadotPrimitivesV0CollatorAppSignature;
readonly paraHead: H256;
readonly validationCodeHash: H256;
}
/** @name PolkadotPrimitivesV0CollatorAppPublic (89) */
export interface PolkadotPrimitivesV0CollatorAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotPrimitivesV0CollatorAppSignature (90) */
export interface PolkadotPrimitivesV0CollatorAppSignature extends SpCoreSr25519Signature {}
/** @name XcmV2TraitsOutcome (99) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
readonly isIncomplete: boolean;
readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
readonly isError: boolean;
readonly asError: XcmV2TraitsError;
}
/** @name XcmV2TraitsError (100) */
export interface XcmV2TraitsError extends Enum {
readonly isUndefined: boolean;
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isUnhandledXcmMessage: boolean;
readonly isUnhandledEffect: boolean;
readonly isEscalationOfPrivilege: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
readonly isDestinationBufferOverflow: boolean;
readonly isMultiLocationFull: boolean;
readonly isMultiLocationNotInvertible: boolean;
readonly isFailedToDecode: boolean;
readonly isBadOrigin: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isFailedToTransactAsset: boolean;
readonly isWeightLimitReached: boolean;
readonly asWeightLimitReached: u64;
readonly isWildcard: boolean;
readonly isTooMuchWeightRequired: boolean;
readonly isNotHoldingFees: boolean;
readonly isWeightNotComputable: boolean;
readonly isBarrier: boolean;
readonly isNotWithdrawable: boolean;
readonly isLocationCannotHold: boolean;
readonly isTooExpensive: boolean;
readonly isAssetNotFound: boolean;
readonly isDestinationUnsupported: boolean;
readonly isRecursionLimitReached: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isUnknownWeightRequired: boolean;
readonly isTrap: boolean;
readonly asTrap: u64;
readonly isUnknownClaim: boolean;
readonly isInvalidLocation: boolean;
}
/** @name PolkadotParachainPrimitivesHrmpChannelId (102) */
export interface PolkadotParachainPrimitivesHrmpChannelId extends Struct {
readonly sender: u32;
readonly recipient: u32;
}
/** @name XcmV1MultiLocation (108) */
export interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
@@ -535,7 +454,7 @@ declare module '@polkadot/types/lookup' {
readonly asV1: XcmV1MultiLocation;
}
/** @name KusamaRuntimeSessionKeys (237) */
/** @name KusamaRuntimeSessionKeys (239) */
export interface KusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpFinalityGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic;
@@ -545,7 +464,7 @@ declare module '@polkadot/types/lookup' {
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
}
/** @name KusamaRuntimeNposCompactSolution24 (360) */
/** @name KusamaRuntimeNposCompactSolution24 (369) */
export interface KusamaRuntimeNposCompactSolution24 extends Struct {
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
@@ -573,109 +492,7 @@ declare module '@polkadot/types/lookup' {
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name PolkadotPrimitivesV1InherentData (448) */
export interface PolkadotPrimitivesV1InherentData extends Struct {
readonly bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>;
readonly backedCandidates: Vec<PolkadotPrimitivesV1BackedCandidate>;
readonly disputes: Vec<PolkadotPrimitivesV1DisputeStatementSet>;
readonly parentHeader: SpRuntimeGenericHeader;
}
/** @name PolkadotPrimitivesV1SignedUncheckedSigned (450) */
export interface PolkadotPrimitivesV1SignedUncheckedSigned extends Struct {
readonly payload: BitVec;
readonly validatorIndex: u32;
readonly signature: PolkadotPrimitivesV0ValidatorAppSignature;
}
/** @name BitvecOrderLsb0 (453) */
export type BitvecOrderLsb0 = Null;
/** @name PolkadotPrimitivesV0ValidatorAppSignature (455) */
export interface PolkadotPrimitivesV0ValidatorAppSignature extends SpCoreSr25519Signature {}
/** @name PolkadotPrimitivesV1BackedCandidate (457) */
export interface PolkadotPrimitivesV1BackedCandidate extends Struct {
readonly candidate: PolkadotPrimitivesV1CommittedCandidateReceipt;
readonly validityVotes: Vec<PolkadotPrimitivesV0ValidityAttestation>;
readonly validatorIndices: BitVec;
}
/** @name PolkadotPrimitivesV1CommittedCandidateReceipt (458) */
export interface PolkadotPrimitivesV1CommittedCandidateReceipt extends Struct {
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly commitments: PolkadotPrimitivesV1CandidateCommitments;
}
/** @name PolkadotPrimitivesV1CandidateCommitments (459) */
export interface PolkadotPrimitivesV1CandidateCommitments extends Struct {
readonly upwardMessages: Vec<Bytes>;
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
readonly newValidationCode: Option<Bytes>;
readonly headData: Bytes;
readonly processedDownwardMessages: u32;
readonly hrmpWatermark: u32;
}
/** @name PolkadotCorePrimitivesOutboundHrmpMessage (461) */
export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
/** @name PolkadotPrimitivesV0ValidityAttestation (465) */
export interface PolkadotPrimitivesV0ValidityAttestation extends Enum {
readonly isUnused0: boolean;
readonly isImplicit: boolean;
readonly asImplicit: PolkadotPrimitivesV0ValidatorAppSignature;
readonly isExplicit: boolean;
readonly asExplicit: PolkadotPrimitivesV0ValidatorAppSignature;
}
/** @name PolkadotPrimitivesV1DisputeStatementSet (467) */
export interface PolkadotPrimitivesV1DisputeStatementSet extends Struct {
readonly candidateHash: H256;
readonly session: u32;
readonly statements: Vec<ITuple<[PolkadotPrimitivesV1DisputeStatement, u32, PolkadotPrimitivesV0ValidatorAppSignature]>>;
}
/** @name PolkadotPrimitivesV1DisputeStatement (471) */
export interface PolkadotPrimitivesV1DisputeStatement extends Enum {
readonly isValid: boolean;
readonly asValid: PolkadotPrimitivesV1ValidDisputeStatementKind;
readonly isInvalid: boolean;
readonly asInvalid: PolkadotPrimitivesV1InvalidDisputeStatementKind;
}
/** @name PolkadotPrimitivesV1ValidDisputeStatementKind (472) */
export interface PolkadotPrimitivesV1ValidDisputeStatementKind extends Enum {
readonly isExplicit: boolean;
readonly isBackingSeconded: boolean;
readonly asBackingSeconded: H256;
readonly isBackingValid: boolean;
readonly asBackingValid: H256;
readonly isApprovalChecking: boolean;
}
/** @name PolkadotPrimitivesV1InvalidDisputeStatementKind (473) */
export interface PolkadotPrimitivesV1InvalidDisputeStatementKind extends Enum {
readonly isExplicit: boolean;
}
/** @name SpRuntimeMultiSigner (485) */
export interface SpRuntimeMultiSigner extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Public;
readonly isSr25519: boolean;
readonly asSr25519: SpCoreSr25519Public;
readonly isEcdsa: boolean;
readonly asEcdsa: SpCoreEcdsaPublic;
}
/** @name SpCoreEcdsaPublic (486) */
export interface SpCoreEcdsaPublic extends U8aFixed {}
/** @name XcmVersionedXcm (492) */
/** @name XcmVersionedXcm (502) */
export interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -685,7 +502,7 @@ declare module '@polkadot/types/lookup' {
readonly asV2: XcmV2Xcm;
}
/** @name XcmV0Xcm (493) */
/** @name XcmV0Xcm (503) */
export interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -747,7 +564,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name XcmV0Order (495) */
/** @name XcmV0Order (505) */
export interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -794,13 +611,13 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name XcmV0Response (497) */
/** @name XcmV0Response (507) */
export interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
}
/** @name XcmV1Xcm (498) */
/** @name XcmV1Xcm (508) */
export interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -868,7 +685,7 @@ declare module '@polkadot/types/lookup' {
readonly isUnsubscribeVersion: boolean;
}
/** @name XcmV1Order (500) */
/** @name XcmV1Order (510) */
export interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -917,7 +734,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name XcmV1Response (502) */
/** @name XcmV1Response (512) */
export interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -925,7 +742,7 @@ declare module '@polkadot/types/lookup' {
readonly asVersion: u32;
}
/** @name KusamaRuntimeOriginCaller (563) */
/** @name KusamaRuntimeOriginCaller (573) */
export interface KusamaRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemRawOrigin;
@@ -1034,13 +851,7 @@ declare module '@polkadot/types/lookup' {
readonly asXcmPallet: PalletXcmOrigin;
}
/** @name PolkadotRuntimeParachainsOriginPalletOrigin (567) */
export interface PolkadotRuntimeParachainsOriginPalletOrigin extends Enum {
readonly isParachain: boolean;
readonly asParachain: u32;
}
/** @name PalletXcmOrigin (568) */
/** @name PalletXcmOrigin (578) */
export interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
@@ -1048,238 +859,7 @@ declare module '@polkadot/types/lookup' {
readonly asResponse: XcmV1MultiLocation;
}
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (607) */
export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
readonly maxUpwardQueueCount: u32;
readonly maxUpwardQueueSize: u32;
readonly maxUpwardMessageSize: u32;
readonly maxUpwardMessageNumPerCandidate: u32;
readonly hrmpMaxMessageNumPerCandidate: u32;
readonly validationUpgradeFrequency: u32;
readonly validationUpgradeDelay: u32;
readonly maxPovSize: u32;
readonly maxDownwardMessageSize: u32;
readonly umpServiceTotalWeight: u64;
readonly hrmpMaxParachainOutboundChannels: u32;
readonly hrmpMaxParathreadOutboundChannels: u32;
readonly hrmpSenderDeposit: u128;
readonly hrmpRecipientDeposit: u128;
readonly hrmpChannelMaxCapacity: u32;
readonly hrmpChannelMaxTotalSize: u32;
readonly hrmpMaxParachainInboundChannels: u32;
readonly hrmpMaxParathreadInboundChannels: u32;
readonly hrmpChannelMaxMessageSize: u32;
readonly codeRetentionPeriod: u32;
readonly parathreadCores: u32;
readonly parathreadRetries: u32;
readonly groupRotationFrequency: u32;
readonly chainAvailabilityPeriod: u32;
readonly threadAvailabilityPeriod: u32;
readonly schedulingLookahead: u32;
readonly maxValidatorsPerCore: Option<u32>;
readonly maxValidators: Option<u32>;
readonly disputePeriod: u32;
readonly disputePostConclusionAcceptancePeriod: u32;
readonly disputeMaxSpamSlots: u32;
readonly disputeConclusionByTimeOutPeriod: u32;
readonly noShowSlots: u32;
readonly nDelayTranches: u32;
readonly zerothDelayTrancheWidth: u32;
readonly neededApprovals: u32;
readonly relayVrfModuloSamples: u32;
readonly umpMaxIndividualWeight: u64;
}
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (611) */
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
readonly bitfield: BitVec;
readonly submittedAt: u32;
}
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (612) */
export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
readonly core: u32;
readonly hash_: H256;
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly availabilityVotes: BitVec;
readonly backers: BitVec;
readonly relayParentNumber: u32;
readonly backedInNumber: u32;
readonly backingGroup: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (616) */
export interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
readonly nextCoreOffset: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (618) */
export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadEntry;
readonly coreOffset: u32;
}
/** @name PolkadotPrimitivesV1ParathreadEntry (619) */
export interface PolkadotPrimitivesV1ParathreadEntry extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadClaim;
readonly retries: u32;
}
/** @name PolkadotPrimitivesV1ParathreadClaim (620) */
export interface PolkadotPrimitivesV1ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV0CollatorAppPublic]> {}
/** @name PolkadotPrimitivesV1CoreOccupied (623) */
export interface PolkadotPrimitivesV1CoreOccupied extends Enum {
readonly isParathread: boolean;
readonly asParathread: PolkadotPrimitivesV1ParathreadEntry;
readonly isParachain: boolean;
}
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (626) */
export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
readonly core: u32;
readonly paraId: u32;
readonly kind: PolkadotRuntimeParachainsSchedulerAssignmentKind;
readonly groupIdx: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (627) */
export interface PolkadotRuntimeParachainsSchedulerAssignmentKind extends Enum {
readonly isParachain: boolean;
readonly isParathread: boolean;
readonly asParathread: ITuple<[PolkadotPrimitivesV0CollatorAppPublic, u32]>;
}
/** @name PolkadotRuntimeParachainsParasParaLifecycle (628) */
export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
readonly isOnboarding: boolean;
readonly isParathread: boolean;
readonly isParachain: boolean;
readonly isUpgradingParathread: boolean;
readonly isDowngradingParachain: boolean;
readonly isOffboardingParathread: boolean;
readonly isOffboardingParachain: boolean;
}
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (630) */
export interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
readonly lastPruned: Option<u32>;
}
/** @name PolkadotRuntimeParachainsParasReplacementTimes (632) */
export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
readonly expectedAt: u32;
readonly activatedAt: u32;
}
/** @name PolkadotPrimitivesV1UpgradeGoAhead (634) */
export interface PolkadotPrimitivesV1UpgradeGoAhead extends Enum {
readonly isAbort: boolean;
readonly isGoAhead: boolean;
}
/** @name PolkadotPrimitivesV1UpgradeRestriction (635) */
export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum {
readonly isPresent: boolean;
}
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (636) */
export interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
readonly genesisHead: Bytes;
readonly validationCode: Bytes;
readonly parachain: bool;
}
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (639) */
export interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly queued: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly sessionIndex: u32;
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (641) */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (644) */
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly age: u32;
readonly senderDeposit: u128;
readonly maxMessageSize: u32;
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (646) */
export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
readonly maxMessageSize: u32;
readonly msgCount: u32;
readonly totalSize: u32;
readonly mqcHead: Option<H256>;
readonly senderDeposit: u128;
readonly recipientDeposit: u128;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (649) */
export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name PolkadotPrimitivesV1SessionInfo (654) */
export interface PolkadotPrimitivesV1SessionInfo extends Struct {
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly discoveryKeys: Vec<SpAuthorityDiscoveryAppPublic>;
readonly assignmentKeys: Vec<PolkadotPrimitivesV1AssignmentAppPublic>;
readonly validatorGroups: Vec<Vec<u32>>;
readonly nCores: u32;
readonly zerothDelayTrancheWidth: u32;
readonly relayVrfModuloSamples: u32;
readonly nDelayTranches: u32;
readonly noShowSlots: u32;
readonly neededApprovals: u32;
}
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (656) */
export interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
readonly manager: AccountId32;
readonly deposit: u128;
readonly locked: bool;
}
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (666) */
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
readonly depositor: AccountId32;
readonly verifier: Option<SpRuntimeMultiSigner>;
readonly deposit: u128;
readonly raised: u128;
readonly end: u32;
readonly cap: u128;
readonly lastContribution: PolkadotRuntimeCommonCrowdloanLastContribution;
readonly firstPeriod: u32;
readonly lastPeriod: u32;
readonly trieIndex: u32;
}
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (667) */
export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
readonly isNever: boolean;
readonly isPreEnding: boolean;
readonly asPreEnding: u32;
readonly isEnding: boolean;
readonly asEnding: u32;
}
/** @name PalletXcmQueryStatus (669) */
/** @name PalletXcmQueryStatus (682) */
export interface PalletXcmQueryStatus extends Enum {
readonly isPending: boolean;
readonly asPending: {
@@ -1299,7 +879,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name XcmVersionedResponse (672) */
/** @name XcmVersionedResponse (685) */
export interface XcmVersionedResponse extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Response;
@@ -1309,7 +889,7 @@ declare module '@polkadot/types/lookup' {
readonly asV2: XcmV2Response;
}
/** @name PalletXcmVersionMigrationStage (678) */
/** @name PalletXcmVersionMigrationStage (691) */
export interface PalletXcmVersionMigrationStage extends Enum {
readonly isMigrateSupportedVersion: boolean;
readonly isMigrateVersionNotifiers: boolean;
@@ -1318,7 +898,7 @@ declare module '@polkadot/types/lookup' {
readonly isMigrateAndNotifyOldTargets: boolean;
}
/** @name KusamaRuntimeRuntime (690) */
/** @name KusamaRuntimeRuntime (703) */
export type KusamaRuntimeRuntime = Null;
}
@@ -1,8 +1,8 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
import type { Compact, Enum, Null, Struct, U8aFixed, Vec, u16, u32 } from '@polkadot/types';
import type { PerU16 } from '@polkadot/types/interfaces/runtime';
import type { BitVec, Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
declare module '@polkadot/types/lookup' {
@@ -19,9 +19,91 @@ declare module '@polkadot/types/lookup' {
readonly isUnused4: boolean;
readonly isIdentityJudgement: boolean;
readonly isCancelProxy: boolean;
readonly isAuction: boolean;
}
/** @name PolkadotRuntimeSessionKeys (139) */
/** @name PolkadotPrimitivesV1CandidateReceipt (82) */
export interface PolkadotPrimitivesV1CandidateReceipt extends Struct {
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly commitmentsHash: H256;
}
/** @name PolkadotPrimitivesV1CandidateDescriptor (83) */
export interface PolkadotPrimitivesV1CandidateDescriptor extends Struct {
readonly paraId: u32;
readonly relayParent: H256;
readonly collator: PolkadotPrimitivesV0CollatorAppPublic;
readonly persistedValidationDataHash: H256;
readonly povHash: H256;
readonly erasureRoot: H256;
readonly signature: PolkadotPrimitivesV0CollatorAppSignature;
readonly paraHead: H256;
readonly validationCodeHash: H256;
}
/** @name PolkadotPrimitivesV0CollatorAppPublic (85) */
export interface PolkadotPrimitivesV0CollatorAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotPrimitivesV0CollatorAppSignature (86) */
export interface PolkadotPrimitivesV0CollatorAppSignature extends SpCoreSr25519Signature {}
/** @name XcmV2TraitsOutcome (95) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
readonly isIncomplete: boolean;
readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
readonly isError: boolean;
readonly asError: XcmV2TraitsError;
}
/** @name XcmV2TraitsError (96) */
export interface XcmV2TraitsError extends Enum {
readonly isUndefined: boolean;
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isUnhandledXcmMessage: boolean;
readonly isUnhandledEffect: boolean;
readonly isEscalationOfPrivilege: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
readonly isDestinationBufferOverflow: boolean;
readonly isMultiLocationFull: boolean;
readonly isMultiLocationNotInvertible: boolean;
readonly isFailedToDecode: boolean;
readonly isBadOrigin: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isFailedToTransactAsset: boolean;
readonly isWeightLimitReached: boolean;
readonly asWeightLimitReached: u64;
readonly isWildcard: boolean;
readonly isTooMuchWeightRequired: boolean;
readonly isNotHoldingFees: boolean;
readonly isWeightNotComputable: boolean;
readonly isBarrier: boolean;
readonly isNotWithdrawable: boolean;
readonly isLocationCannotHold: boolean;
readonly isTooExpensive: boolean;
readonly isAssetNotFound: boolean;
readonly isDestinationUnsupported: boolean;
readonly isRecursionLimitReached: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isUnknownWeightRequired: boolean;
readonly isTrap: boolean;
readonly asTrap: u64;
readonly isUnknownClaim: boolean;
readonly isInvalidLocation: boolean;
}
/** @name PolkadotParachainPrimitivesHrmpChannelId (98) */
export interface PolkadotParachainPrimitivesHrmpChannelId extends Struct {
readonly sender: u32;
readonly recipient: u32;
}
/** @name PolkadotRuntimeSessionKeys (161) */
export interface PolkadotRuntimeSessionKeys extends Struct {
readonly grandpa: SpFinalityGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic;
@@ -31,22 +113,22 @@ declare module '@polkadot/types/lookup' {
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
}
/** @name PolkadotPrimitivesV0ValidatorAppPublic (140) */
/** @name PolkadotPrimitivesV0ValidatorAppPublic (162) */
export interface PolkadotPrimitivesV0ValidatorAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotPrimitivesV1AssignmentAppPublic (141) */
/** @name PolkadotPrimitivesV1AssignmentAppPublic (163) */
export interface PolkadotPrimitivesV1AssignmentAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotRuntimeCommonClaimsEcdsaSignature (175) */
/** @name PolkadotRuntimeCommonClaimsEcdsaSignature (195) */
export interface PolkadotRuntimeCommonClaimsEcdsaSignature extends U8aFixed {}
/** @name PolkadotRuntimeCommonClaimsStatementKind (180) */
/** @name PolkadotRuntimeCommonClaimsStatementKind (200) */
export interface PolkadotRuntimeCommonClaimsStatementKind extends Enum {
readonly isRegular: boolean;
readonly isSaft: boolean;
}
/** @name PolkadotRuntimeNposCompactSolution16 (233) */
/** @name PolkadotRuntimeNposCompactSolution16 (253) */
export interface PolkadotRuntimeNposCompactSolution16 extends Struct {
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
@@ -66,14 +148,116 @@ declare module '@polkadot/types/lookup' {
readonly votes16: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name PolkadotRuntimeOriginCaller (290) */
/** @name PolkadotPrimitivesV1InherentData (314) */
export interface PolkadotPrimitivesV1InherentData extends Struct {
readonly bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>;
readonly backedCandidates: Vec<PolkadotPrimitivesV1BackedCandidate>;
readonly disputes: Vec<PolkadotPrimitivesV1DisputeStatementSet>;
readonly parentHeader: SpRuntimeGenericHeader;
}
/** @name PolkadotPrimitivesV1SignedUncheckedSigned (316) */
export interface PolkadotPrimitivesV1SignedUncheckedSigned extends Struct {
readonly payload: BitVec;
readonly validatorIndex: u32;
readonly signature: PolkadotPrimitivesV0ValidatorAppSignature;
}
/** @name BitvecOrderLsb0 (319) */
export type BitvecOrderLsb0 = Null;
/** @name PolkadotPrimitivesV0ValidatorAppSignature (321) */
export interface PolkadotPrimitivesV0ValidatorAppSignature extends SpCoreSr25519Signature {}
/** @name PolkadotPrimitivesV1BackedCandidate (323) */
export interface PolkadotPrimitivesV1BackedCandidate extends Struct {
readonly candidate: PolkadotPrimitivesV1CommittedCandidateReceipt;
readonly validityVotes: Vec<PolkadotPrimitivesV0ValidityAttestation>;
readonly validatorIndices: BitVec;
}
/** @name PolkadotPrimitivesV1CommittedCandidateReceipt (324) */
export interface PolkadotPrimitivesV1CommittedCandidateReceipt extends Struct {
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly commitments: PolkadotPrimitivesV1CandidateCommitments;
}
/** @name PolkadotPrimitivesV1CandidateCommitments (325) */
export interface PolkadotPrimitivesV1CandidateCommitments extends Struct {
readonly upwardMessages: Vec<Bytes>;
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
readonly newValidationCode: Option<Bytes>;
readonly headData: Bytes;
readonly processedDownwardMessages: u32;
readonly hrmpWatermark: u32;
}
/** @name PolkadotCorePrimitivesOutboundHrmpMessage (327) */
export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
/** @name PolkadotPrimitivesV0ValidityAttestation (331) */
export interface PolkadotPrimitivesV0ValidityAttestation extends Enum {
readonly isUnused0: boolean;
readonly isImplicit: boolean;
readonly asImplicit: PolkadotPrimitivesV0ValidatorAppSignature;
readonly isExplicit: boolean;
readonly asExplicit: PolkadotPrimitivesV0ValidatorAppSignature;
}
/** @name PolkadotPrimitivesV1DisputeStatementSet (333) */
export interface PolkadotPrimitivesV1DisputeStatementSet extends Struct {
readonly candidateHash: H256;
readonly session: u32;
readonly statements: Vec<ITuple<[PolkadotPrimitivesV1DisputeStatement, u32, PolkadotPrimitivesV0ValidatorAppSignature]>>;
}
/** @name PolkadotPrimitivesV1DisputeStatement (337) */
export interface PolkadotPrimitivesV1DisputeStatement extends Enum {
readonly isValid: boolean;
readonly asValid: PolkadotPrimitivesV1ValidDisputeStatementKind;
readonly isInvalid: boolean;
readonly asInvalid: PolkadotPrimitivesV1InvalidDisputeStatementKind;
}
/** @name PolkadotPrimitivesV1ValidDisputeStatementKind (338) */
export interface PolkadotPrimitivesV1ValidDisputeStatementKind extends Enum {
readonly isExplicit: boolean;
readonly isBackingSeconded: boolean;
readonly asBackingSeconded: H256;
readonly isBackingValid: boolean;
readonly asBackingValid: H256;
readonly isApprovalChecking: boolean;
}
/** @name PolkadotPrimitivesV1InvalidDisputeStatementKind (339) */
export interface PolkadotPrimitivesV1InvalidDisputeStatementKind extends Enum {
readonly isExplicit: boolean;
}
/** @name SpRuntimeMultiSigner (351) */
export interface SpRuntimeMultiSigner extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Public;
readonly isSr25519: boolean;
readonly asSr25519: SpCoreSr25519Public;
readonly isEcdsa: boolean;
readonly asEcdsa: SpCoreEcdsaPublic;
}
/** @name SpCoreEcdsaPublic (352) */
export interface SpCoreEcdsaPublic extends U8aFixed {}
/** @name PolkadotRuntimeOriginCaller (357) */
export interface PolkadotRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemRawOrigin;
readonly isUnused1: boolean;
readonly isUnused2: boolean;
readonly isUnused3: boolean;
readonly isVoid: boolean;
readonly isUnused4: boolean;
readonly isUnused5: boolean;
readonly isUnused6: boolean;
readonly isUnused7: boolean;
@@ -88,12 +272,284 @@ declare module '@polkadot/types/lookup' {
readonly asCouncil: PalletCollectiveRawOrigin;
readonly isTechnicalCommittee: boolean;
readonly asTechnicalCommittee: PalletCollectiveRawOrigin;
readonly isUnused17: boolean;
readonly isUnused18: boolean;
readonly isUnused19: boolean;
readonly isUnused20: boolean;
readonly isUnused21: boolean;
readonly isUnused22: boolean;
readonly isUnused23: boolean;
readonly isUnused24: boolean;
readonly isUnused25: boolean;
readonly isUnused26: boolean;
readonly isUnused27: boolean;
readonly isUnused28: boolean;
readonly isUnused29: boolean;
readonly isUnused30: boolean;
readonly isUnused31: boolean;
readonly isUnused32: boolean;
readonly isUnused33: boolean;
readonly isUnused34: boolean;
readonly isUnused35: boolean;
readonly isUnused36: boolean;
readonly isUnused37: boolean;
readonly isUnused38: boolean;
readonly isUnused39: boolean;
readonly isUnused40: boolean;
readonly isUnused41: boolean;
readonly isUnused42: boolean;
readonly isUnused43: boolean;
readonly isUnused44: boolean;
readonly isUnused45: boolean;
readonly isUnused46: boolean;
readonly isUnused47: boolean;
readonly isUnused48: boolean;
readonly isUnused49: boolean;
readonly isParachainsOrigin: boolean;
readonly asParachainsOrigin: PolkadotRuntimeParachainsOriginPalletOrigin;
}
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (441) */
/** @name PolkadotRuntimeParachainsOriginPalletOrigin (361) */
export interface PolkadotRuntimeParachainsOriginPalletOrigin extends Enum {
readonly isParachain: boolean;
readonly asParachain: u32;
}
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (506) */
export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
readonly maxUpwardQueueCount: u32;
readonly maxUpwardQueueSize: u32;
readonly maxUpwardMessageSize: u32;
readonly maxUpwardMessageNumPerCandidate: u32;
readonly hrmpMaxMessageNumPerCandidate: u32;
readonly validationUpgradeFrequency: u32;
readonly validationUpgradeDelay: u32;
readonly maxPovSize: u32;
readonly maxDownwardMessageSize: u32;
readonly umpServiceTotalWeight: u64;
readonly hrmpMaxParachainOutboundChannels: u32;
readonly hrmpMaxParathreadOutboundChannels: u32;
readonly hrmpSenderDeposit: u128;
readonly hrmpRecipientDeposit: u128;
readonly hrmpChannelMaxCapacity: u32;
readonly hrmpChannelMaxTotalSize: u32;
readonly hrmpMaxParachainInboundChannels: u32;
readonly hrmpMaxParathreadInboundChannels: u32;
readonly hrmpChannelMaxMessageSize: u32;
readonly codeRetentionPeriod: u32;
readonly parathreadCores: u32;
readonly parathreadRetries: u32;
readonly groupRotationFrequency: u32;
readonly chainAvailabilityPeriod: u32;
readonly threadAvailabilityPeriod: u32;
readonly schedulingLookahead: u32;
readonly maxValidatorsPerCore: Option<u32>;
readonly maxValidators: Option<u32>;
readonly disputePeriod: u32;
readonly disputePostConclusionAcceptancePeriod: u32;
readonly disputeMaxSpamSlots: u32;
readonly disputeConclusionByTimeOutPeriod: u32;
readonly noShowSlots: u32;
readonly nDelayTranches: u32;
readonly zerothDelayTrancheWidth: u32;
readonly neededApprovals: u32;
readonly relayVrfModuloSamples: u32;
readonly umpMaxIndividualWeight: u64;
}
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (510) */
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
readonly bitfield: BitVec;
readonly submittedAt: u32;
}
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (511) */
export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
readonly core: u32;
readonly hash_: H256;
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly availabilityVotes: BitVec;
readonly backers: BitVec;
readonly relayParentNumber: u32;
readonly backedInNumber: u32;
readonly backingGroup: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (515) */
export interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
readonly nextCoreOffset: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (517) */
export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadEntry;
readonly coreOffset: u32;
}
/** @name PolkadotPrimitivesV1ParathreadEntry (518) */
export interface PolkadotPrimitivesV1ParathreadEntry extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadClaim;
readonly retries: u32;
}
/** @name PolkadotPrimitivesV1ParathreadClaim (519) */
export interface PolkadotPrimitivesV1ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV0CollatorAppPublic]> {}
/** @name PolkadotPrimitivesV1CoreOccupied (522) */
export interface PolkadotPrimitivesV1CoreOccupied extends Enum {
readonly isParathread: boolean;
readonly asParathread: PolkadotPrimitivesV1ParathreadEntry;
readonly isParachain: boolean;
}
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (525) */
export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
readonly core: u32;
readonly paraId: u32;
readonly kind: PolkadotRuntimeParachainsSchedulerAssignmentKind;
readonly groupIdx: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (526) */
export interface PolkadotRuntimeParachainsSchedulerAssignmentKind extends Enum {
readonly isParachain: boolean;
readonly isParathread: boolean;
readonly asParathread: ITuple<[PolkadotPrimitivesV0CollatorAppPublic, u32]>;
}
/** @name PolkadotRuntimeParachainsParasParaLifecycle (527) */
export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
readonly isOnboarding: boolean;
readonly isParathread: boolean;
readonly isParachain: boolean;
readonly isUpgradingParathread: boolean;
readonly isDowngradingParachain: boolean;
readonly isOffboardingParathread: boolean;
readonly isOffboardingParachain: boolean;
}
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (529) */
export interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
readonly lastPruned: Option<u32>;
}
/** @name PolkadotRuntimeParachainsParasReplacementTimes (531) */
export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
readonly expectedAt: u32;
readonly activatedAt: u32;
}
/** @name PolkadotPrimitivesV1UpgradeGoAhead (533) */
export interface PolkadotPrimitivesV1UpgradeGoAhead extends Enum {
readonly isAbort: boolean;
readonly isGoAhead: boolean;
}
/** @name PolkadotPrimitivesV1UpgradeRestriction (534) */
export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum {
readonly isPresent: boolean;
}
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (535) */
export interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
readonly genesisHead: Bytes;
readonly validationCode: Bytes;
readonly parachain: bool;
}
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (538) */
export interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly queued: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly sessionIndex: u32;
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (540) */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (543) */
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly age: u32;
readonly senderDeposit: u128;
readonly maxMessageSize: u32;
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (545) */
export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
readonly maxMessageSize: u32;
readonly msgCount: u32;
readonly totalSize: u32;
readonly mqcHead: Option<H256>;
readonly senderDeposit: u128;
readonly recipientDeposit: u128;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (548) */
export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name PolkadotPrimitivesV1SessionInfo (553) */
export interface PolkadotPrimitivesV1SessionInfo extends Struct {
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly discoveryKeys: Vec<SpAuthorityDiscoveryAppPublic>;
readonly assignmentKeys: Vec<PolkadotPrimitivesV1AssignmentAppPublic>;
readonly validatorGroups: Vec<Vec<u32>>;
readonly nCores: u32;
readonly zerothDelayTrancheWidth: u32;
readonly relayVrfModuloSamples: u32;
readonly nDelayTranches: u32;
readonly noShowSlots: u32;
readonly neededApprovals: u32;
}
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (555) */
export interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
readonly manager: AccountId32;
readonly deposit: u128;
readonly locked: bool;
}
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (565) */
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
readonly depositor: AccountId32;
readonly verifier: Option<SpRuntimeMultiSigner>;
readonly deposit: u128;
readonly raised: u128;
readonly end: u32;
readonly cap: u128;
readonly lastContribution: PolkadotRuntimeCommonCrowdloanLastContribution;
readonly firstPeriod: u32;
readonly lastPeriod: u32;
readonly trieIndex: u32;
}
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (566) */
export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
readonly isNever: boolean;
readonly isPreEnding: boolean;
readonly asPreEnding: u32;
readonly isEnding: boolean;
readonly asEnding: u32;
}
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (578) */
export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
/** @name PolkadotRuntimeRuntime (442) */
/** @name PolkadotRuntimeRuntime (579) */
export type PolkadotRuntimeRuntime = Null;
}
@@ -179,10 +179,7 @@ declare module '@polkadot/types/lookup' {
readonly value: Compact<u128>;
}
/** @name PalletSocietyDefaultInstance (70) */
export type PalletSocietyDefaultInstance = Null;
/** @name NodeRuntimeProxyType (77) */
/** @name NodeRuntimeProxyType (76) */
export interface NodeRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -190,7 +187,7 @@ declare module '@polkadot/types/lookup' {
readonly isStaking: boolean;
}
/** @name PalletMultisigTimepoint (80) */
/** @name PalletMultisigTimepoint (79) */
export interface PalletMultisigTimepoint extends Struct {
readonly height: u32;
readonly index: u32;
@@ -680,13 +677,13 @@ declare module '@polkadot/types/lookup' {
readonly proof: Vec<Bytes>;
}
/** @name SpConsensusBabeBabeEpochConfiguration (310) */
/** @name SpConsensusBabeBabeEpochConfiguration (313) */
export interface SpConsensusBabeBabeEpochConfiguration extends Struct {
readonly c: ITuple<[u64, u64]>;
readonly allowedSlots: SpConsensusBabeAllowedSlots;
}
/** @name PalletAuthorshipUncleEntryItem (313) */
/** @name PalletAuthorshipUncleEntryItem (316) */
export interface PalletAuthorshipUncleEntryItem extends Enum {
readonly isInclusionHeight: boolean;
readonly asInclusionHeight: u32;
@@ -694,39 +691,39 @@ declare module '@polkadot/types/lookup' {
readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
}
/** @name PalletBalancesBalanceLock (318) */
/** @name PalletBalancesBalanceLock (321) */
export interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
/** @name PalletBalancesReasons (319) */
/** @name PalletBalancesReasons (322) */
export interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
readonly isAll: boolean;
}
/** @name PalletBalancesReserveData (322) */
/** @name PalletBalancesReserveData (325) */
export interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
/** @name PalletBalancesReleases (324) */
/** @name PalletBalancesReleases (327) */
export interface PalletBalancesReleases extends Enum {
readonly isV100: boolean;
readonly isV200: boolean;
}
/** @name PalletTransactionPaymentReleases (327) */
/** @name PalletTransactionPaymentReleases (330) */
export interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
}
/** @name FrameSupportWeightsWeightToFeeCoefficient (329) */
/** @name FrameSupportWeightsWeightToFeeCoefficient (332) */
export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {
readonly coeffInteger: u128;
readonly coeffFrac: Perbill;
@@ -734,7 +731,7 @@ declare module '@polkadot/types/lookup' {
readonly degree: u8;
}
/** @name PalletElectionProviderMultiPhasePhase (330) */
/** @name PalletElectionProviderMultiPhasePhase (333) */
export interface PalletElectionProviderMultiPhasePhase extends Enum {
readonly isOff: boolean;
readonly isSigned: boolean;
@@ -743,20 +740,20 @@ declare module '@polkadot/types/lookup' {
readonly isEmergency: boolean;
}
/** @name PalletElectionProviderMultiPhaseReadySolution (332) */
/** @name PalletElectionProviderMultiPhaseReadySolution (335) */
export interface PalletElectionProviderMultiPhaseReadySolution extends Struct {
readonly supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>;
readonly score: Vec<u128>;
readonly compute: PalletElectionProviderMultiPhaseElectionCompute;
}
/** @name PalletElectionProviderMultiPhaseRoundSnapshot (333) */
/** @name PalletElectionProviderMultiPhaseRoundSnapshot (336) */
export interface PalletElectionProviderMultiPhaseRoundSnapshot extends Struct {
readonly voters: Vec<ITuple<[AccountId32, u64, Vec<AccountId32>]>>;
readonly targets: Vec<AccountId32>;
}
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (340) */
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (343) */
export interface PalletElectionProviderMultiPhaseSignedSignedSubmission extends Struct {
readonly who: AccountId32;
readonly deposit: u128;
@@ -764,7 +761,7 @@ declare module '@polkadot/types/lookup' {
readonly reward: u128;
}
/** @name PalletStakingStakingLedger (342) */
/** @name PalletStakingStakingLedger (345) */
export interface PalletStakingStakingLedger extends Struct {
readonly stash: AccountId32;
readonly total: Compact<u128>;
@@ -773,32 +770,32 @@ declare module '@polkadot/types/lookup' {
readonly claimedRewards: Vec<u32>;
}
/** @name PalletStakingUnlockChunk (344) */
/** @name PalletStakingUnlockChunk (347) */
export interface PalletStakingUnlockChunk extends Struct {
readonly value: Compact<u128>;
readonly era: Compact<u32>;
}
/** @name PalletStakingNominations (345) */
/** @name PalletStakingNominations (348) */
export interface PalletStakingNominations extends Struct {
readonly targets: Vec<AccountId32>;
readonly submittedIn: u32;
readonly suppressed: bool;
}
/** @name PalletStakingActiveEraInfo (346) */
/** @name PalletStakingActiveEraInfo (349) */
export interface PalletStakingActiveEraInfo extends Struct {
readonly index: u32;
readonly start: Option<u64>;
}
/** @name PalletStakingEraRewardPoints (348) */
/** @name PalletStakingEraRewardPoints (351) */
export interface PalletStakingEraRewardPoints extends Struct {
readonly total: u32;
readonly individual: BTreeMap<AccountId32, u32>;
}
/** @name PalletStakingForcing (352) */
/** @name PalletStakingForcing (355) */
export interface PalletStakingForcing extends Enum {
readonly isNotForcing: boolean;
readonly isForceNew: boolean;
@@ -806,7 +803,7 @@ declare module '@polkadot/types/lookup' {
readonly isForceAlways: boolean;
}
/** @name PalletStakingUnappliedSlash (354) */
/** @name PalletStakingUnappliedSlash (357) */
export interface PalletStakingUnappliedSlash extends Struct {
readonly validator: AccountId32;
readonly own: u128;
@@ -815,7 +812,7 @@ declare module '@polkadot/types/lookup' {
readonly payout: u128;
}
/** @name PalletStakingSlashingSlashingSpans (356) */
/** @name PalletStakingSlashingSlashingSpans (359) */
export interface PalletStakingSlashingSlashingSpans extends Struct {
readonly spanIndex: u32;
readonly lastStart: u32;
@@ -823,13 +820,13 @@ declare module '@polkadot/types/lookup' {
readonly prior: Vec<u32>;
}
/** @name PalletStakingSlashingSpanRecord (357) */
/** @name PalletStakingSlashingSpanRecord (360) */
export interface PalletStakingSlashingSpanRecord extends Struct {
readonly slashed: u128;
readonly paidOut: u128;
}
/** @name PalletStakingReleases (358) */
/** @name PalletStakingReleases (361) */
export interface PalletStakingReleases extends Enum {
readonly isV100Ancient: boolean;
readonly isV200: boolean;
@@ -838,12 +835,13 @@ declare module '@polkadot/types/lookup' {
readonly isV500: boolean;
readonly isV600: boolean;
readonly isV700: boolean;
readonly isV800: boolean;
}
/** @name SpCoreCryptoKeyTypeId (363) */
/** @name SpCoreCryptoKeyTypeId (366) */
export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
/** @name PalletDemocracyPreimageStatus (368) */
/** @name PalletDemocracyPreimageStatus (371) */
export interface PalletDemocracyPreimageStatus extends Enum {
readonly isMissing: boolean;
readonly asMissing: u32;
@@ -857,7 +855,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name PalletDemocracyReferendumInfo (369) */
/** @name PalletDemocracyReferendumInfo (372) */
export interface PalletDemocracyReferendumInfo extends Enum {
readonly isOngoing: boolean;
readonly asOngoing: PalletDemocracyReferendumStatus;
@@ -868,7 +866,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name PalletDemocracyReferendumStatus (370) */
/** @name PalletDemocracyReferendumStatus (373) */
export interface PalletDemocracyReferendumStatus extends Struct {
readonly end: u32;
readonly proposalHash: H256;
@@ -877,14 +875,14 @@ declare module '@polkadot/types/lookup' {
readonly tally: PalletDemocracyTally;
}
/** @name PalletDemocracyTally (371) */
/** @name PalletDemocracyTally (374) */
export interface PalletDemocracyTally extends Struct {
readonly ayes: u128;
readonly nays: u128;
readonly turnout: u128;
}
/** @name PalletDemocracyVoteVoting (372) */
/** @name PalletDemocracyVoteVoting (375) */
export interface PalletDemocracyVoteVoting extends Enum {
readonly isDirect: boolean;
readonly asDirect: {
@@ -902,21 +900,21 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name PalletDemocracyDelegations (375) */
/** @name PalletDemocracyDelegations (378) */
export interface PalletDemocracyDelegations extends Struct {
readonly votes: u128;
readonly capital: u128;
}
/** @name PalletDemocracyVotePriorLock (376) */
/** @name PalletDemocracyVotePriorLock (379) */
export interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {}
/** @name PalletDemocracyReleases (379) */
/** @name PalletDemocracyReleases (382) */
export interface PalletDemocracyReleases extends Enum {
readonly isV1: boolean;
}
/** @name PalletCollectiveVotes (382) */
/** @name PalletCollectiveVotes (385) */
export interface PalletCollectiveVotes extends Struct {
readonly index: u32;
readonly threshold: u32;
@@ -925,21 +923,21 @@ declare module '@polkadot/types/lookup' {
readonly end: u32;
}
/** @name PalletElectionsPhragmenSeatHolder (387) */
/** @name PalletElectionsPhragmenSeatHolder (390) */
export interface PalletElectionsPhragmenSeatHolder extends Struct {
readonly who: AccountId32;
readonly stake: u128;
readonly deposit: u128;
}
/** @name PalletElectionsPhragmenVoter (388) */
/** @name PalletElectionsPhragmenVoter (391) */
export interface PalletElectionsPhragmenVoter extends Struct {
readonly votes: Vec<AccountId32>;
readonly stake: u128;
readonly deposit: u128;
}
/** @name PalletGrandpaStoredState (391) */
/** @name PalletGrandpaStoredState (394) */
export interface PalletGrandpaStoredState extends Enum {
readonly isLive: boolean;
readonly isPendingPause: boolean;
@@ -955,7 +953,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name PalletGrandpaStoredPendingChange (392) */
/** @name PalletGrandpaStoredPendingChange (395) */
export interface PalletGrandpaStoredPendingChange extends Struct {
readonly scheduledAt: u32;
readonly delay: u32;
@@ -963,7 +961,7 @@ declare module '@polkadot/types/lookup' {
readonly forced: Option<u32>;
}
/** @name PalletTreasuryProposal (394) */
/** @name PalletTreasuryProposal (398) */
export interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -971,10 +969,10 @@ declare module '@polkadot/types/lookup' {
readonly bond: u128;
}
/** @name FrameSupportPalletId (397) */
/** @name FrameSupportPalletId (401) */
export interface FrameSupportPalletId extends U8aFixed {}
/** @name PalletContractsWasmPrefabWasmModule (399) */
/** @name PalletContractsWasmPrefabWasmModule (403) */
export interface PalletContractsWasmPrefabWasmModule extends Struct {
readonly instructionWeightsVersion: Compact<u32>;
readonly initial: Compact<u32>;
@@ -985,26 +983,26 @@ declare module '@polkadot/types/lookup' {
readonly originalCodeLen: u32;
}
/** @name PalletContractsStorageRawContractInfo (401) */
/** @name PalletContractsStorageRawContractInfo (405) */
export interface PalletContractsStorageRawContractInfo extends Struct {
readonly trieId: Bytes;
readonly codeHash: H256;
readonly reserved: Option<Null>;
}
/** @name PalletContractsStorageDeletedContract (403) */
/** @name PalletContractsStorageDeletedContract (407) */
export interface PalletContractsStorageDeletedContract extends Struct {
readonly trieId: Bytes;
}
/** @name PalletContractsSchedule (404) */
/** @name PalletContractsSchedule (408) */
export interface PalletContractsSchedule extends Struct {
readonly limits: PalletContractsScheduleLimits;
readonly instructionWeights: PalletContractsScheduleInstructionWeights;
readonly hostFnWeights: PalletContractsScheduleHostFnWeights;
}
/** @name PalletContractsScheduleLimits (405) */
/** @name PalletContractsScheduleLimits (409) */
export interface PalletContractsScheduleLimits extends Struct {
readonly eventTopics: u32;
readonly stackHeight: u32;
@@ -1019,7 +1017,7 @@ declare module '@polkadot/types/lookup' {
readonly codeLen: u32;
}
/** @name PalletContractsScheduleInstructionWeights (406) */
/** @name PalletContractsScheduleInstructionWeights (410) */
export interface PalletContractsScheduleInstructionWeights extends Struct {
readonly version: u32;
readonly i64Const: u32;
@@ -1075,7 +1073,7 @@ declare module '@polkadot/types/lookup' {
readonly i64Rotr: u32;
}
/** @name PalletContractsScheduleHostFnWeights (407) */
/** @name PalletContractsScheduleHostFnWeights (411) */
export interface PalletContractsScheduleHostFnWeights extends Struct {
readonly caller: u64;
readonly address: u64;
@@ -1123,34 +1121,40 @@ declare module '@polkadot/types/lookup' {
readonly ecdsaRecover: u64;
}
/** @name SpStakingOffenceOffenceDetails (412) */
/** @name PalletImOnlineBoundedOpaqueNetworkState (417) */
export interface PalletImOnlineBoundedOpaqueNetworkState extends Struct {
readonly peerId: Bytes;
readonly externalAddresses: Vec<Bytes>;
}
/** @name SpStakingOffenceOffenceDetails (422) */
export interface SpStakingOffenceOffenceDetails extends Struct {
readonly offender: ITuple<[AccountId32, PalletStakingExposure]>;
readonly reporters: Vec<AccountId32>;
}
/** @name PalletIdentityRegistration (414) */
/** @name PalletIdentityRegistration (424) */
export interface PalletIdentityRegistration extends Struct {
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
readonly deposit: u128;
readonly info: PalletIdentityIdentityInfo;
}
/** @name PalletIdentityRegistrarInfo (422) */
/** @name PalletIdentityRegistrarInfo (432) */
export interface PalletIdentityRegistrarInfo extends Struct {
readonly account: AccountId32;
readonly fee: u128;
readonly fields: PalletIdentityBitFlags;
}
/** @name PalletSocietyBid (426) */
/** @name PalletSocietyBid (436) */
export interface PalletSocietyBid extends Struct {
readonly who: AccountId32;
readonly kind: PalletSocietyBidKind;
readonly value: u128;
}
/** @name PalletSocietyBidKind (427) */
/** @name PalletSocietyBidKind (437) */
export interface PalletSocietyBidKind extends Enum {
readonly isDeposit: boolean;
readonly asDeposit: u128;
@@ -1158,20 +1162,20 @@ declare module '@polkadot/types/lookup' {
readonly asVouch: ITuple<[AccountId32, u128]>;
}
/** @name PalletSocietyVouchingStatus (429) */
/** @name PalletSocietyVouchingStatus (439) */
export interface PalletSocietyVouchingStatus extends Enum {
readonly isVouching: boolean;
readonly isBanned: boolean;
}
/** @name PalletSocietyVote (433) */
/** @name PalletSocietyVote (443) */
export interface PalletSocietyVote extends Enum {
readonly isSkeptic: boolean;
readonly isReject: boolean;
readonly isApprove: boolean;
}
/** @name PalletRecoveryRecoveryConfig (435) */
/** @name PalletRecoveryRecoveryConfig (445) */
export interface PalletRecoveryRecoveryConfig extends Struct {
readonly delayPeriod: u32;
readonly deposit: u128;
@@ -1179,20 +1183,20 @@ declare module '@polkadot/types/lookup' {
readonly threshold: u16;
}
/** @name PalletRecoveryActiveRecovery (436) */
/** @name PalletRecoveryActiveRecovery (446) */
export interface PalletRecoveryActiveRecovery extends Struct {
readonly created: u32;
readonly deposit: u128;
readonly friends: Vec<AccountId32>;
}
/** @name PalletVestingReleases (440) */
/** @name PalletVestingReleases (450) */
export interface PalletVestingReleases extends Enum {
readonly isV0: boolean;
readonly isV1: boolean;
}
/** @name PalletSchedulerScheduledV2 (444) */
/** @name PalletSchedulerScheduledV2 (454) */
export interface PalletSchedulerScheduledV2 extends Struct {
readonly maybeId: Option<Bytes>;
readonly priority: u8;
@@ -1201,7 +1205,7 @@ declare module '@polkadot/types/lookup' {
readonly origin: NodeRuntimeOriginCaller;
}
/** @name NodeRuntimeOriginCaller (445) */
/** @name NodeRuntimeOriginCaller (455) */
export interface NodeRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemRawOrigin;
@@ -1222,7 +1226,7 @@ declare module '@polkadot/types/lookup' {
readonly asTechnicalCommittee: PalletCollectiveRawOrigin;
}
/** @name FrameSystemRawOrigin (446) */
/** @name FrameSystemRawOrigin (456) */
export interface FrameSystemRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
@@ -1230,7 +1234,7 @@ declare module '@polkadot/types/lookup' {
readonly isNone: boolean;
}
/** @name PalletCollectiveRawOrigin (447) */
/** @name PalletCollectiveRawOrigin (457) */
export interface PalletCollectiveRawOrigin extends Enum {
readonly isMembers: boolean;
readonly asMembers: ITuple<[u32, u32]>;
@@ -1239,30 +1243,30 @@ declare module '@polkadot/types/lookup' {
readonly isPhantom: boolean;
}
/** @name SpCoreVoid (449) */
/** @name SpCoreVoid (459) */
export type SpCoreVoid = Null;
/** @name PalletSchedulerReleases (450) */
/** @name PalletSchedulerReleases (460) */
export interface PalletSchedulerReleases extends Enum {
readonly isV1: boolean;
readonly isV2: boolean;
}
/** @name PalletProxyProxyDefinition (454) */
/** @name PalletProxyProxyDefinition (464) */
export interface PalletProxyProxyDefinition extends Struct {
readonly delegate: AccountId32;
readonly proxyType: NodeRuntimeProxyType;
readonly delay: u32;
}
/** @name PalletProxyAnnouncement (458) */
/** @name PalletProxyAnnouncement (468) */
export interface PalletProxyAnnouncement extends Struct {
readonly real: AccountId32;
readonly callHash: H256;
readonly height: u32;
}
/** @name PalletMultisigMultisig (462) */
/** @name PalletMultisigMultisig (472) */
export interface PalletMultisigMultisig extends Struct {
readonly when: PalletMultisigTimepoint;
readonly deposit: u128;
@@ -1270,7 +1274,7 @@ declare module '@polkadot/types/lookup' {
readonly approvals: Vec<AccountId32>;
}
/** @name PalletBountiesBounty (465) */
/** @name PalletBountiesBounty (475) */
export interface PalletBountiesBounty extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1280,7 +1284,7 @@ declare module '@polkadot/types/lookup' {
readonly status: PalletBountiesBountyStatus;
}
/** @name PalletBountiesBountyStatus (466) */
/** @name PalletBountiesBountyStatus (476) */
export interface PalletBountiesBountyStatus extends Enum {
readonly isProposed: boolean;
readonly isApproved: boolean;
@@ -1302,7 +1306,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
}
/** @name PalletTipsOpenTip (468) */
/** @name PalletTipsOpenTip (478) */
export interface PalletTipsOpenTip extends Struct {
readonly reason: H256;
readonly who: AccountId32;
@@ -1313,7 +1317,7 @@ declare module '@polkadot/types/lookup' {
readonly findersFee: bool;
}
/** @name PalletAssetsAssetDetails (470) */
/** @name PalletAssetsAssetDetails (480) */
export interface PalletAssetsAssetDetails extends Struct {
readonly owner: AccountId32;
readonly issuer: AccountId32;
@@ -1329,7 +1333,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool;
}
/** @name PalletAssetsAssetBalance (471) */
/** @name PalletAssetsAssetBalance (481) */
export interface PalletAssetsAssetBalance extends Struct {
readonly balance: u64;
readonly isFrozen: bool;
@@ -1337,13 +1341,13 @@ declare module '@polkadot/types/lookup' {
readonly extra: Null;
}
/** @name PalletAssetsApproval (473) */
/** @name PalletAssetsApproval (483) */
export interface PalletAssetsApproval extends Struct {
readonly amount: u64;
readonly deposit: u128;
}
/** @name PalletAssetsAssetMetadata (474) */
/** @name PalletAssetsAssetMetadata (484) */
export interface PalletAssetsAssetMetadata extends Struct {
readonly deposit: u128;
readonly name: Bytes;
@@ -1352,7 +1356,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool;
}
/** @name PalletLotteryLotteryConfig (476) */
/** @name PalletLotteryLotteryConfig (486) */
export interface PalletLotteryLotteryConfig extends Struct {
readonly price: u128;
readonly start: u32;
@@ -1361,13 +1365,13 @@ declare module '@polkadot/types/lookup' {
readonly repeat: bool;
}
/** @name PalletGiltGiltBid (481) */
/** @name PalletGiltGiltBid (491) */
export interface PalletGiltGiltBid extends Struct {
readonly amount: u128;
readonly who: AccountId32;
}
/** @name PalletGiltActiveGiltsTotal (482) */
/** @name PalletGiltActiveGiltsTotal (492) */
export interface PalletGiltActiveGiltsTotal extends Struct {
readonly frozen: u128;
readonly proportion: Perquintill;
@@ -1375,7 +1379,7 @@ declare module '@polkadot/types/lookup' {
readonly target: Perquintill;
}
/** @name PalletGiltActiveGilt (483) */
/** @name PalletGiltActiveGilt (493) */
export interface PalletGiltActiveGilt extends Struct {
readonly proportion: Perquintill;
readonly amount: u128;
@@ -1383,7 +1387,7 @@ declare module '@polkadot/types/lookup' {
readonly expiry: u32;
}
/** @name PalletUniquesClassDetails (485) */
/** @name PalletUniquesClassDetails (495) */
export interface PalletUniquesClassDetails extends Struct {
readonly owner: AccountId32;
readonly issuer: AccountId32;
@@ -1397,7 +1401,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool;
}
/** @name PalletUniquesInstanceDetails (487) */
/** @name PalletUniquesInstanceDetails (497) */
export interface PalletUniquesInstanceDetails extends Struct {
readonly owner: AccountId32;
readonly approved: Option<AccountId32>;
@@ -1405,21 +1409,21 @@ declare module '@polkadot/types/lookup' {
readonly deposit: u128;
}
/** @name PalletUniquesClassMetadata (488) */
/** @name PalletUniquesClassMetadata (498) */
export interface PalletUniquesClassMetadata extends Struct {
readonly deposit: u128;
readonly data: Bytes;
readonly isFrozen: bool;
}
/** @name PalletUniquesInstanceMetadata (489) */
/** @name PalletUniquesInstanceMetadata (499) */
export interface PalletUniquesInstanceMetadata extends Struct {
readonly deposit: u128;
readonly data: Bytes;
readonly isFrozen: bool;
}
/** @name PalletTransactionStorageTransactionInfo (494) */
/** @name PalletTransactionStorageTransactionInfo (504) */
export interface PalletTransactionStorageTransactionInfo extends Struct {
readonly chunkRoot: H256;
readonly contentHash: H256;
@@ -1427,7 +1431,21 @@ declare module '@polkadot/types/lookup' {
readonly blockChunks: u32;
}
/** @name SpRuntimeMultiSignature (497) */
/** @name PalletBagsListListNode (506) */
export interface PalletBagsListListNode extends Struct {
readonly id: AccountId32;
readonly prev: Option<AccountId32>;
readonly next: Option<AccountId32>;
readonly bagUpper: u64;
}
/** @name PalletBagsListListBag (507) */
export interface PalletBagsListListBag extends Struct {
readonly head: Option<AccountId32>;
readonly tail: Option<AccountId32>;
}
/** @name SpRuntimeMultiSignature (510) */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -1437,28 +1455,28 @@ declare module '@polkadot/types/lookup' {
readonly asEcdsa: SpCoreEcdsaSignature;
}
/** @name SpCoreEcdsaSignature (498) */
/** @name SpCoreEcdsaSignature (511) */
export interface SpCoreEcdsaSignature extends U8aFixed {}
/** @name FrameSystemExtensionsCheckSpecVersion (501) */
/** @name FrameSystemExtensionsCheckSpecVersion (514) */
export type FrameSystemExtensionsCheckSpecVersion = Null;
/** @name FrameSystemExtensionsCheckTxVersion (502) */
/** @name FrameSystemExtensionsCheckTxVersion (515) */
export type FrameSystemExtensionsCheckTxVersion = Null;
/** @name FrameSystemExtensionsCheckGenesis (503) */
/** @name FrameSystemExtensionsCheckGenesis (516) */
export type FrameSystemExtensionsCheckGenesis = Null;
/** @name FrameSystemExtensionsCheckNonce (506) */
/** @name FrameSystemExtensionsCheckNonce (519) */
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
/** @name FrameSystemExtensionsCheckWeight (507) */
/** @name FrameSystemExtensionsCheckWeight (520) */
export type FrameSystemExtensionsCheckWeight = Null;
/** @name PalletTransactionPaymentChargeTransactionPayment (508) */
/** @name PalletTransactionPaymentChargeTransactionPayment (521) */
export interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
/** @name NodeRuntimeRuntime (509) */
/** @name NodeRuntimeRuntime (522) */
export type NodeRuntimeRuntime = Null;
}
@@ -415,10 +415,10 @@ export class GenericPortableRegistry extends Struct {
...this.#createSiDef(type)
}))
});
} else if (specialVariant === 'WrapperOpaque') {
} else if (path.length && path[path.length - 1].toString() === 'WrapperOpaque') {
return withTypeString(this.registry, {
info: TypeDefInfo.WrapperOpaque,
sub: this.#createSiDef(params[0].type.unwrap())
sub: this.#createSiDef(fields[0].type)
});
}
@@ -9,6 +9,14 @@ import { TypeDefInfo } from '../../create/types';
type Extracted = string | Extracted[];
function extractSubSingle ({ lookupName, type }: TypeDef): Extracted[] {
return extractTypes([lookupName || type]);
}
function extractSubArray (types: TypeDef[]): Extracted[] {
return extractTypes(types.map(({ lookupName, type }) => lookupName || type));
}
/** @internal */
export function extractTypes (types: string[]): Extracted[] {
return types.map((type): Extracted => {
@@ -16,14 +24,15 @@ export function extractTypes (types: string[]): Extracted[] {
switch (decoded.info) {
case TypeDefInfo.Plain:
return decoded.type;
return decoded.lookupName || decoded.type;
case TypeDefInfo.BTreeSet:
case TypeDefInfo.Compact:
case TypeDefInfo.Option:
case TypeDefInfo.Vec:
case TypeDefInfo.VecFixed:
return extractTypes([(decoded.sub as TypeDef).type]);
case TypeDefInfo.WrapperOpaque:
return extractSubSingle(decoded.sub as TypeDef);
case TypeDefInfo.BTreeMap:
case TypeDefInfo.Enum:
@@ -32,10 +41,10 @@ export function extractTypes (types: string[]): Extracted[] {
case TypeDefInfo.Set:
case TypeDefInfo.Struct:
case TypeDefInfo.Tuple:
return extractTypes((decoded.sub as TypeDef[]).map(({ type }) => type));
return extractSubArray(decoded.sub as TypeDef[]);
default:
throw new Error(`Unhandled: Unable to create and validate type from ${type} (info=${decoded.info})`);
throw new Error(`Unhandled: Unable to create and validate type from ${type} (info=${TypeDefInfo[decoded.info]})`);
}
});
}