Upgrade Polkadot types to 1.5.0 (#6140)

This commit is contained in:
Valentin Fernandez
2025-05-13 09:22:24 -03:00
committed by GitHub
parent 6903c002df
commit 175ac888fc
16 changed files with 11519 additions and 11091 deletions
-542
View File
@@ -4,88 +4,6 @@
/* eslint-disable sort-keys */
export default {
/**
* Lookup77: staging_xcm::v5::location::Location
**/
StagingXcmV5Location: {
parents: 'u8',
interior: 'StagingXcmV5Junctions'
},
/**
* Lookup78: staging_xcm::v5::junctions::Junctions
**/
StagingXcmV5Junctions: {
_enum: {
Here: 'Null',
X1: '[Lookup80;1]',
X2: '[Lookup80;2]',
X3: '[Lookup80;3]',
X4: '[Lookup80;4]',
X5: '[Lookup80;5]',
X6: '[Lookup80;6]',
X7: '[Lookup80;7]',
X8: '[Lookup80;8]'
}
},
/**
* Lookup80: staging_xcm::v5::junction::Junction
**/
StagingXcmV5Junction: {
_enum: {
Parachain: 'Compact<u32>',
AccountId32: {
network: 'Option<StagingXcmV5JunctionNetworkId>',
id: '[u8;32]',
},
AccountIndex64: {
network: 'Option<StagingXcmV5JunctionNetworkId>',
index: 'Compact<u64>',
},
AccountKey20: {
network: 'Option<StagingXcmV5JunctionNetworkId>',
key: '[u8;20]',
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
GeneralKey: {
length: 'u8',
data: '[u8;32]',
},
OnlyChild: 'Null',
Plurality: {
id: 'XcmV3JunctionBodyId',
part: 'XcmV3JunctionBodyPart',
},
GlobalConsensus: 'StagingXcmV5JunctionNetworkId'
}
},
/**
* Lookup82: staging_xcm::v5::junction::NetworkId
**/
StagingXcmV5JunctionNetworkId: {
_enum: {
ByGenesis: '[u8;32]',
ByFork: {
blockNumber: 'u64',
blockHash: '[u8;32]',
},
Polkadot: 'Null',
Kusama: 'Null',
__Unused4: 'Null',
__Unused5: 'Null',
__Unused6: 'Null',
Ethereum: {
chainId: 'Compact<u64>',
},
BitcoinCore: 'Null',
BitcoinCash: 'Null',
PolkadotBulletin: 'Null'
}
},
/**
* Lookup90: staging_xcm::v5::asset::AssetId
**/
StagingXcmV5AssetAssetId: 'StagingXcmV5Location',
/**
* Lookup136: staging_kusama_runtime::SessionKeys
**/
@@ -307,376 +225,6 @@ export default {
votes23: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);22],Compact<u16>)>',
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
},
/**
* Lookup328: polkadot_primitives::vstaging::InherentData<sp_runtime::generic::header::Header<Number, Hash>>
**/
PolkadotPrimitivesVstagingInherentData: {
bitfields: 'Vec<PolkadotPrimitivesV8SignedUncheckedSigned>',
backedCandidates: 'Vec<PolkadotPrimitivesVstagingBackedCandidate>',
disputes: 'Vec<PolkadotPrimitivesV8DisputeStatementSet>',
parentHeader: 'SpRuntimeHeader'
},
/**
* Lookup337: polkadot_primitives::vstaging::BackedCandidate<primitive_types::H256>
**/
PolkadotPrimitivesVstagingBackedCandidate: {
candidate: 'PolkadotPrimitivesVstagingCommittedCandidateReceiptV2',
validityVotes: 'Vec<PolkadotPrimitivesV8ValidityAttestation>',
validatorIndices: 'BitVec'
},
/**
* Lookup338: polkadot_primitives::vstaging::CommittedCandidateReceiptV2<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCommittedCandidateReceiptV2: {
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
commitments: 'PolkadotPrimitivesV8CandidateCommitments'
},
/**
* Lookup339: polkadot_primitives::vstaging::CandidateDescriptorV2<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateDescriptorV2: {
paraId: 'u32',
relayParent: 'H256',
version: 'u8',
coreIndex: 'u16',
sessionIndex: 'u32',
reserved1: '[u8;25]',
persistedValidationDataHash: 'H256',
povHash: 'H256',
erasureRoot: 'H256',
reserved2: '[u8;64]',
paraHead: 'H256',
validationCodeHash: 'H256'
},
/**
* Lookup434: staging_xcm::v5::Xcm<Call>
**/
StagingXcmV5Xcm: 'Vec<StagingXcmV5Instruction>',
/**
* Lookup436: staging_xcm::v5::Instruction<Call>
**/
StagingXcmV5Instruction: {
_enum: {
WithdrawAsset: 'StagingXcmV5AssetAssets',
ReserveAssetDeposited: 'StagingXcmV5AssetAssets',
ReceiveTeleportedAsset: 'StagingXcmV5AssetAssets',
QueryResponse: {
queryId: 'Compact<u64>',
response: 'StagingXcmV5Response',
maxWeight: 'SpWeightsWeightV2Weight',
querier: 'Option<StagingXcmV5Location>',
},
TransferAsset: {
assets: 'StagingXcmV5AssetAssets',
beneficiary: 'StagingXcmV5Location',
},
TransferReserveAsset: {
assets: 'StagingXcmV5AssetAssets',
dest: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
Transact: {
originKind: 'XcmV3OriginKind',
fallbackMaxWeight: 'Option<SpWeightsWeightV2Weight>',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
sender: 'Compact<u32>',
maxMessageSize: 'Compact<u32>',
maxCapacity: 'Compact<u32>',
},
HrmpChannelAccepted: {
recipient: 'Compact<u32>',
},
HrmpChannelClosing: {
initiator: 'Compact<u32>',
sender: 'Compact<u32>',
recipient: 'Compact<u32>',
},
ClearOrigin: 'Null',
DescendOrigin: 'StagingXcmV5Junctions',
ReportError: 'StagingXcmV5QueryResponseInfo',
DepositAsset: {
assets: 'StagingXcmV5AssetAssetFilter',
beneficiary: 'StagingXcmV5Location',
},
DepositReserveAsset: {
assets: 'StagingXcmV5AssetAssetFilter',
dest: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
ExchangeAsset: {
give: 'StagingXcmV5AssetAssetFilter',
want: 'StagingXcmV5AssetAssets',
maximal: 'bool',
},
InitiateReserveWithdraw: {
assets: 'StagingXcmV5AssetAssetFilter',
reserve: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
InitiateTeleport: {
assets: 'StagingXcmV5AssetAssetFilter',
dest: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
ReportHolding: {
responseInfo: 'StagingXcmV5QueryResponseInfo',
assets: 'StagingXcmV5AssetAssetFilter',
},
BuyExecution: {
fees: 'StagingXcmV5Asset',
weightLimit: 'XcmV3WeightLimit',
},
RefundSurplus: 'Null',
SetErrorHandler: 'StagingXcmV5Xcm',
SetAppendix: 'StagingXcmV5Xcm',
ClearError: 'Null',
ClaimAsset: {
assets: 'StagingXcmV5AssetAssets',
ticket: 'StagingXcmV5Location',
},
Trap: 'Compact<u64>',
SubscribeVersion: {
queryId: 'Compact<u64>',
maxResponseWeight: 'SpWeightsWeightV2Weight',
},
UnsubscribeVersion: 'Null',
BurnAsset: 'StagingXcmV5AssetAssets',
ExpectAsset: 'StagingXcmV5AssetAssets',
ExpectOrigin: 'Option<StagingXcmV5Location>',
ExpectError: 'Option<(u32,XcmV5TraitsError)>',
ExpectTransactStatus: 'XcmV3MaybeErrorCode',
QueryPallet: {
moduleName: 'Bytes',
responseInfo: 'StagingXcmV5QueryResponseInfo',
},
ExpectPallet: {
index: 'Compact<u32>',
name: 'Bytes',
moduleName: 'Bytes',
crateMajor: 'Compact<u32>',
minCrateMinor: 'Compact<u32>',
},
ReportTransactStatus: 'StagingXcmV5QueryResponseInfo',
ClearTransactStatus: 'Null',
UniversalOrigin: 'StagingXcmV5Junction',
ExportMessage: {
network: 'StagingXcmV5JunctionNetworkId',
destination: 'StagingXcmV5Junctions',
xcm: 'StagingXcmV5Xcm',
},
LockAsset: {
asset: 'StagingXcmV5Asset',
unlocker: 'StagingXcmV5Location',
},
UnlockAsset: {
asset: 'StagingXcmV5Asset',
target: 'StagingXcmV5Location',
},
NoteUnlockable: {
asset: 'StagingXcmV5Asset',
owner: 'StagingXcmV5Location',
},
RequestUnlock: {
asset: 'StagingXcmV5Asset',
locker: 'StagingXcmV5Location',
},
SetFeesMode: {
jitWithdraw: 'bool',
},
SetTopic: '[u8;32]',
ClearTopic: 'Null',
AliasOrigin: 'StagingXcmV5Location',
UnpaidExecution: {
weightLimit: 'XcmV3WeightLimit',
checkOrigin: 'Option<StagingXcmV5Location>',
},
PayFees: {
asset: 'StagingXcmV5Asset',
},
InitiateTransfer: {
destination: 'StagingXcmV5Location',
remoteFees: 'Option<StagingXcmV5AssetAssetTransferFilter>',
preserveOrigin: 'bool',
assets: 'Vec<StagingXcmV5AssetAssetTransferFilter>',
remoteXcm: 'StagingXcmV5Xcm',
},
ExecuteWithOrigin: {
descendantOrigin: 'Option<StagingXcmV5Junctions>',
xcm: 'StagingXcmV5Xcm',
},
SetHints: {
hints: 'Vec<StagingXcmV5Hint>'
}
}
},
/**
* Lookup437: staging_xcm::v5::asset::Assets
**/
StagingXcmV5AssetAssets: 'Vec<StagingXcmV5Asset>',
/**
* Lookup439: staging_xcm::v5::asset::Asset
**/
StagingXcmV5Asset: {
id: 'StagingXcmV5AssetAssetId',
fun: 'StagingXcmV5AssetFungibility'
},
/**
* Lookup440: staging_xcm::v5::asset::Fungibility
**/
StagingXcmV5AssetFungibility: {
_enum: {
Fungible: 'Compact<u128>',
NonFungible: 'StagingXcmV5AssetAssetInstance'
}
},
/**
* Lookup441: staging_xcm::v5::asset::AssetInstance
**/
StagingXcmV5AssetAssetInstance: {
_enum: {
Undefined: 'Null',
Index: 'Compact<u128>',
Array4: '[u8;4]',
Array8: '[u8;8]',
Array16: '[u8;16]',
Array32: '[u8;32]'
}
},
/**
* Lookup442: staging_xcm::v5::Response
**/
StagingXcmV5Response: {
_enum: {
Null: 'Null',
Assets: 'StagingXcmV5AssetAssets',
ExecutionResult: 'Option<(u32,XcmV5TraitsError)>',
Version: 'u32',
PalletsInfo: 'Vec<StagingXcmV5PalletInfo>',
DispatchResult: 'XcmV3MaybeErrorCode'
}
},
/**
* Lookup445: xcm::v5::traits::Error
**/
XcmV5TraitsError: {
_enum: {
Overflow: 'Null',
Unimplemented: 'Null',
UntrustedReserveLocation: 'Null',
UntrustedTeleportLocation: 'Null',
LocationFull: 'Null',
LocationNotInvertible: 'Null',
BadOrigin: 'Null',
InvalidLocation: 'Null',
AssetNotFound: 'Null',
FailedToTransactAsset: 'Null',
NotWithdrawable: 'Null',
LocationCannotHold: 'Null',
ExceedsMaxMessageSize: 'Null',
DestinationUnsupported: 'Null',
Transport: 'Null',
Unroutable: 'Null',
UnknownClaim: 'Null',
FailedToDecode: 'Null',
MaxWeightInvalid: 'Null',
NotHoldingFees: 'Null',
TooExpensive: 'Null',
Trap: 'u64',
ExpectationFalse: 'Null',
PalletNotFound: 'Null',
NameMismatch: 'Null',
VersionIncompatible: 'Null',
HoldingWouldOverflow: 'Null',
ExportError: 'Null',
ReanchorFailed: 'Null',
NoDeal: 'Null',
FeesNotMet: 'Null',
LockError: 'Null',
NoPermission: 'Null',
Unanchored: 'Null',
NotDepositable: 'Null',
TooManyAssets: 'Null',
UnhandledXcmVersion: 'Null',
WeightLimitReached: 'SpWeightsWeightV2Weight',
Barrier: 'Null',
WeightNotComputable: 'Null',
ExceedsStackLimit: 'Null'
}
},
/**
* Lookup447: staging_xcm::v5::PalletInfo
**/
StagingXcmV5PalletInfo: {
index: 'Compact<u32>',
name: 'Bytes',
moduleName: 'Bytes',
major: 'Compact<u32>',
minor: 'Compact<u32>',
patch: 'Compact<u32>'
},
/**
* Lookup452: staging_xcm::v5::QueryResponseInfo
**/
StagingXcmV5QueryResponseInfo: {
destination: 'StagingXcmV5Location',
queryId: 'Compact<u64>',
maxWeight: 'SpWeightsWeightV2Weight'
},
/**
* Lookup453: staging_xcm::v5::asset::AssetFilter
**/
StagingXcmV5AssetAssetFilter: {
_enum: {
Definite: 'StagingXcmV5AssetAssets',
Wild: 'StagingXcmV5AssetWildAsset'
}
},
/**
* Lookup454: staging_xcm::v5::asset::WildAsset
**/
StagingXcmV5AssetWildAsset: {
_enum: {
All: 'Null',
AllOf: {
id: 'StagingXcmV5AssetAssetId',
fun: 'StagingXcmV5AssetWildFungibility',
},
AllCounted: 'Compact<u32>',
AllOfCounted: {
id: 'StagingXcmV5AssetAssetId',
fun: 'StagingXcmV5AssetWildFungibility',
count: 'Compact<u32>'
}
}
},
/**
* Lookup455: staging_xcm::v5::asset::WildFungibility
**/
StagingXcmV5AssetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
* Lookup457: staging_xcm::v5::asset::AssetTransferFilter
**/
StagingXcmV5AssetAssetTransferFilter: {
_enum: {
Teleport: 'StagingXcmV5AssetAssetFilter',
ReserveDeposit: 'StagingXcmV5AssetAssetFilter',
ReserveWithdraw: 'StagingXcmV5AssetAssetFilter'
}
},
/**
* Lookup462: staging_xcm::v5::Hint
**/
StagingXcmV5Hint: {
_enum: {
AssetClaimer: {
location: 'StagingXcmV5Location'
}
}
},
/**
* Lookup509: staging_kusama_runtime::RuntimeParametersKey
**/
@@ -728,30 +276,6 @@ export default {
BurnDestination: 'StagingKusamaRuntimeBurnDestinationAccount'
}
},
/**
* Lookup541: polkadot_primitives::vstaging::CandidateReceiptV2<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateReceiptV2: {
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
commitmentsHash: 'H256'
},
/**
* Lookup556: staging_xcm::v5::traits::Outcome
**/
StagingXcmV5TraitsOutcome: {
_enum: {
Complete: {
used: 'SpWeightsWeightV2Weight',
},
Incomplete: {
used: 'SpWeightsWeightV2Weight',
error: 'XcmV5TraitsError',
},
Error: {
error: 'XcmV5TraitsError'
}
}
},
/**
* Lookup604: staging_kusama_runtime::RuntimeHoldReason
**/
@@ -863,76 +387,10 @@ export default {
id: 'Null',
amount: 'u128'
},
/**
* Lookup824: polkadot_runtime_parachains::shared::RelayParentInfo<primitive_types::H256>
**/
PolkadotRuntimeParachainsSharedRelayParentInfo: {
relayParent: 'H256',
stateRoot: 'H256',
claimQueue: 'BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>'
},
/**
* Lookup836: polkadot_primitives::vstaging::ScrapedOnChainVotes<primitive_types::H256>
**/
PolkadotPrimitivesVstagingScrapedOnChainVotes: {
session: 'u32',
backingValidatorsPerCandidate: 'Vec<(PolkadotPrimitivesVstagingCandidateReceiptV2,Vec<(u32,PolkadotPrimitivesV8ValidityAttestation)>)>',
disputes: 'Vec<PolkadotPrimitivesV8DisputeStatementSet>'
},
/**
* Lookup970: staging_kusama_runtime::Runtime
**/
StagingKusamaRuntimeRuntime: 'Null',
/**
* Lookup994: polkadot_primitives::vstaging::CoreState<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingCoreState: {
_enum: {
Occupied: 'PolkadotPrimitivesVstagingOccupiedCore',
Scheduled: 'PolkadotPrimitivesV8ScheduledCore',
Free: 'Null'
}
},
/**
* Lookup995: polkadot_primitives::vstaging::OccupiedCore<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingOccupiedCore: {
nextUpOnAvailable: 'Option<PolkadotPrimitivesV8ScheduledCore>',
occupiedSince: 'u32',
timeOutAt: 'u32',
nextUpOnTimeOut: 'Option<PolkadotPrimitivesV8ScheduledCore>',
availability: 'BitVec',
groupResponsible: 'u32',
candidateHash: 'H256',
candidateDescriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2'
},
/**
* Lookup1007: polkadot_primitives::vstaging::CandidateEvent<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateEvent: {
_enum: {
CandidateBacked: '(PolkadotPrimitivesVstagingCandidateReceiptV2,Bytes,u32,u32)',
CandidateIncluded: '(PolkadotPrimitivesVstagingCandidateReceiptV2,Bytes,u32,u32)',
CandidateTimedOut: '(PolkadotPrimitivesVstagingCandidateReceiptV2,Bytes,u32)'
}
},
/**
* Lookup1023: polkadot_primitives::vstaging::async_backing::BackingState<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingAsyncBackingBackingState: {
constraints: 'PolkadotPrimitivesV8AsyncBackingConstraints',
pendingAvailability: 'Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>'
},
/**
* Lookup1033: polkadot_primitives::vstaging::async_backing::CandidatePendingAvailability<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability: {
candidateHash: 'H256',
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
commitments: 'PolkadotPrimitivesV8CandidateCommitments',
relayParentNumber: 'u32',
maxPovSize: 'u32'
},
/**
* Lookup1084: staging_kusama_runtime::RuntimeError
**/
File diff suppressed because it is too large Load Diff
@@ -5,102 +5,11 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup';
import type { BTreeMap, BTreeSet, BitVec, Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Compact, Enum, Null, Option, Struct, Vec, bool, u128, u16, u32 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { AccountId32, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
declare module '@polkadot/types/lookup' {
/** @name StagingXcmV5Location (77) */
interface StagingXcmV5Location extends Struct {
readonly parents: u8;
readonly interior: StagingXcmV5Junctions;
}
/** @name StagingXcmV5Junctions (78) */
interface StagingXcmV5Junctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: StagingXcmV5Junction;
readonly isX2: boolean;
readonly asX2: StagingXcmV5Junction;
readonly isX3: boolean;
readonly asX3: StagingXcmV5Junction;
readonly isX4: boolean;
readonly asX4: StagingXcmV5Junction;
readonly isX5: boolean;
readonly asX5: StagingXcmV5Junction;
readonly isX6: boolean;
readonly asX6: StagingXcmV5Junction;
readonly isX7: boolean;
readonly asX7: StagingXcmV5Junction;
readonly isX8: boolean;
readonly asX8: StagingXcmV5Junction;
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
/** @name StagingXcmV5Junction (80) */
interface StagingXcmV5Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: Option<StagingXcmV5JunctionNetworkId>;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: Option<StagingXcmV5JunctionNetworkId>;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: Option<StagingXcmV5JunctionNetworkId>;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: {
readonly length: u8;
readonly data: U8aFixed;
} & Struct;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: XcmV3JunctionBodyId;
readonly part: XcmV3JunctionBodyPart;
} & Struct;
readonly isGlobalConsensus: boolean;
readonly asGlobalConsensus: StagingXcmV5JunctionNetworkId;
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
}
/** @name StagingXcmV5JunctionNetworkId (82) */
interface StagingXcmV5JunctionNetworkId extends Enum {
readonly isByGenesis: boolean;
readonly asByGenesis: U8aFixed;
readonly isByFork: boolean;
readonly asByFork: {
readonly blockNumber: u64;
readonly blockHash: U8aFixed;
} & Struct;
readonly isPolkadot: boolean;
readonly isKusama: boolean;
readonly isEthereum: boolean;
readonly asEthereum: {
readonly chainId: Compact<u64>;
} & Struct;
readonly isBitcoinCore: boolean;
readonly isBitcoinCash: boolean;
readonly isPolkadotBulletin: boolean;
readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash' | 'PolkadotBulletin';
}
/** @name StagingXcmV5AssetAssetId (90) */
interface StagingXcmV5AssetAssetId extends StagingXcmV5Location {}
/** @name StagingKusamaRuntimeSessionKeys (136) */
interface StagingKusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpConsensusGrandpaAppPublic;
@@ -257,419 +166,6 @@ declare module '@polkadot/types/lookup' {
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name PolkadotPrimitivesVstagingInherentData (328) */
interface PolkadotPrimitivesVstagingInherentData extends Struct {
readonly bitfields: Vec<PolkadotPrimitivesV8SignedUncheckedSigned>;
readonly backedCandidates: Vec<PolkadotPrimitivesVstagingBackedCandidate>;
readonly disputes: Vec<PolkadotPrimitivesV8DisputeStatementSet>;
readonly parentHeader: SpRuntimeHeader;
}
/** @name PolkadotPrimitivesVstagingBackedCandidate (337) */
interface PolkadotPrimitivesVstagingBackedCandidate extends Struct {
readonly candidate: PolkadotPrimitivesVstagingCommittedCandidateReceiptV2;
readonly validityVotes: Vec<PolkadotPrimitivesV8ValidityAttestation>;
readonly validatorIndices: BitVec;
}
/** @name PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 (338) */
interface PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 extends Struct {
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
readonly commitments: PolkadotPrimitivesV8CandidateCommitments;
}
/** @name PolkadotPrimitivesVstagingCandidateDescriptorV2 (339) */
interface PolkadotPrimitivesVstagingCandidateDescriptorV2 extends Struct {
readonly paraId: u32;
readonly relayParent: H256;
readonly version: u8;
readonly coreIndex: u16;
readonly sessionIndex: u32;
readonly reserved1: U8aFixed;
readonly persistedValidationDataHash: H256;
readonly povHash: H256;
readonly erasureRoot: H256;
readonly reserved2: U8aFixed;
readonly paraHead: H256;
readonly validationCodeHash: H256;
}
/** @name StagingXcmV5Xcm (434) */
interface StagingXcmV5Xcm extends Vec<StagingXcmV5Instruction> {}
/** @name StagingXcmV5Instruction (436) */
interface StagingXcmV5Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: StagingXcmV5AssetAssets;
readonly isReserveAssetDeposited: boolean;
readonly asReserveAssetDeposited: StagingXcmV5AssetAssets;
readonly isReceiveTeleportedAsset: boolean;
readonly asReceiveTeleportedAsset: StagingXcmV5AssetAssets;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: StagingXcmV5Response;
readonly maxWeight: SpWeightsWeightV2Weight;
readonly querier: Option<StagingXcmV5Location>;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: StagingXcmV5AssetAssets;
readonly beneficiary: StagingXcmV5Location;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: StagingXcmV5AssetAssets;
readonly dest: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originKind: XcmV3OriginKind;
readonly fallbackMaxWeight: Option<SpWeightsWeightV2Weight>;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isClearOrigin: boolean;
readonly isDescendOrigin: boolean;
readonly asDescendOrigin: StagingXcmV5Junctions;
readonly isReportError: boolean;
readonly asReportError: StagingXcmV5QueryResponseInfo;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly beneficiary: StagingXcmV5Location;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly dest: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: StagingXcmV5AssetAssetFilter;
readonly want: StagingXcmV5AssetAssets;
readonly maximal: bool;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly reserve: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly dest: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isReportHolding: boolean;
readonly asReportHolding: {
readonly responseInfo: StagingXcmV5QueryResponseInfo;
readonly assets: StagingXcmV5AssetAssetFilter;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: StagingXcmV5Asset;
readonly weightLimit: XcmV3WeightLimit;
} & Struct;
readonly isRefundSurplus: boolean;
readonly isSetErrorHandler: boolean;
readonly asSetErrorHandler: StagingXcmV5Xcm;
readonly isSetAppendix: boolean;
readonly asSetAppendix: StagingXcmV5Xcm;
readonly isClearError: boolean;
readonly isClaimAsset: boolean;
readonly asClaimAsset: {
readonly assets: StagingXcmV5AssetAssets;
readonly ticket: StagingXcmV5Location;
} & Struct;
readonly isTrap: boolean;
readonly asTrap: Compact<u64>;
readonly isSubscribeVersion: boolean;
readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
readonly maxResponseWeight: SpWeightsWeightV2Weight;
} & Struct;
readonly isUnsubscribeVersion: boolean;
readonly isBurnAsset: boolean;
readonly asBurnAsset: StagingXcmV5AssetAssets;
readonly isExpectAsset: boolean;
readonly asExpectAsset: StagingXcmV5AssetAssets;
readonly isExpectOrigin: boolean;
readonly asExpectOrigin: Option<StagingXcmV5Location>;
readonly isExpectError: boolean;
readonly asExpectError: Option<ITuple<[u32, XcmV5TraitsError]>>;
readonly isExpectTransactStatus: boolean;
readonly asExpectTransactStatus: XcmV3MaybeErrorCode;
readonly isQueryPallet: boolean;
readonly asQueryPallet: {
readonly moduleName: Bytes;
readonly responseInfo: StagingXcmV5QueryResponseInfo;
} & Struct;
readonly isExpectPallet: boolean;
readonly asExpectPallet: {
readonly index: Compact<u32>;
readonly name: Bytes;
readonly moduleName: Bytes;
readonly crateMajor: Compact<u32>;
readonly minCrateMinor: Compact<u32>;
} & Struct;
readonly isReportTransactStatus: boolean;
readonly asReportTransactStatus: StagingXcmV5QueryResponseInfo;
readonly isClearTransactStatus: boolean;
readonly isUniversalOrigin: boolean;
readonly asUniversalOrigin: StagingXcmV5Junction;
readonly isExportMessage: boolean;
readonly asExportMessage: {
readonly network: StagingXcmV5JunctionNetworkId;
readonly destination: StagingXcmV5Junctions;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isLockAsset: boolean;
readonly asLockAsset: {
readonly asset: StagingXcmV5Asset;
readonly unlocker: StagingXcmV5Location;
} & Struct;
readonly isUnlockAsset: boolean;
readonly asUnlockAsset: {
readonly asset: StagingXcmV5Asset;
readonly target: StagingXcmV5Location;
} & Struct;
readonly isNoteUnlockable: boolean;
readonly asNoteUnlockable: {
readonly asset: StagingXcmV5Asset;
readonly owner: StagingXcmV5Location;
} & Struct;
readonly isRequestUnlock: boolean;
readonly asRequestUnlock: {
readonly asset: StagingXcmV5Asset;
readonly locker: StagingXcmV5Location;
} & Struct;
readonly isSetFeesMode: boolean;
readonly asSetFeesMode: {
readonly jitWithdraw: bool;
} & Struct;
readonly isSetTopic: boolean;
readonly asSetTopic: U8aFixed;
readonly isClearTopic: boolean;
readonly isAliasOrigin: boolean;
readonly asAliasOrigin: StagingXcmV5Location;
readonly isUnpaidExecution: boolean;
readonly asUnpaidExecution: {
readonly weightLimit: XcmV3WeightLimit;
readonly checkOrigin: Option<StagingXcmV5Location>;
} & Struct;
readonly isPayFees: boolean;
readonly asPayFees: {
readonly asset: StagingXcmV5Asset;
} & Struct;
readonly isInitiateTransfer: boolean;
readonly asInitiateTransfer: {
readonly destination: StagingXcmV5Location;
readonly remoteFees: Option<StagingXcmV5AssetAssetTransferFilter>;
readonly preserveOrigin: bool;
readonly assets: Vec<StagingXcmV5AssetAssetTransferFilter>;
readonly remoteXcm: StagingXcmV5Xcm;
} & Struct;
readonly isExecuteWithOrigin: boolean;
readonly asExecuteWithOrigin: {
readonly descendantOrigin: Option<StagingXcmV5Junctions>;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isSetHints: boolean;
readonly asSetHints: {
readonly hints: Vec<StagingXcmV5Hint>;
} & Struct;
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution' | 'PayFees' | 'InitiateTransfer' | 'ExecuteWithOrigin' | 'SetHints';
}
/** @name StagingXcmV5AssetAssets (437) */
interface StagingXcmV5AssetAssets extends Vec<StagingXcmV5Asset> {}
/** @name StagingXcmV5Asset (439) */
interface StagingXcmV5Asset extends Struct {
readonly id: StagingXcmV5AssetAssetId;
readonly fun: StagingXcmV5AssetFungibility;
}
/** @name StagingXcmV5AssetFungibility (440) */
interface StagingXcmV5AssetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
readonly isNonFungible: boolean;
readonly asNonFungible: StagingXcmV5AssetAssetInstance;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name StagingXcmV5AssetAssetInstance (441) */
interface StagingXcmV5AssetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
readonly asIndex: Compact<u128>;
readonly isArray4: boolean;
readonly asArray4: U8aFixed;
readonly isArray8: boolean;
readonly asArray8: U8aFixed;
readonly isArray16: boolean;
readonly asArray16: U8aFixed;
readonly isArray32: boolean;
readonly asArray32: U8aFixed;
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32';
}
/** @name StagingXcmV5Response (442) */
interface StagingXcmV5Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
readonly asAssets: StagingXcmV5AssetAssets;
readonly isExecutionResult: boolean;
readonly asExecutionResult: Option<ITuple<[u32, XcmV5TraitsError]>>;
readonly isVersion: boolean;
readonly asVersion: u32;
readonly isPalletsInfo: boolean;
readonly asPalletsInfo: Vec<StagingXcmV5PalletInfo>;
readonly isDispatchResult: boolean;
readonly asDispatchResult: XcmV3MaybeErrorCode;
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult';
}
/** @name XcmV5TraitsError (445) */
interface XcmV5TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
readonly isLocationFull: boolean;
readonly isLocationNotInvertible: boolean;
readonly isBadOrigin: boolean;
readonly isInvalidLocation: boolean;
readonly isAssetNotFound: boolean;
readonly isFailedToTransactAsset: boolean;
readonly isNotWithdrawable: boolean;
readonly isLocationCannotHold: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isDestinationUnsupported: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isUnknownClaim: boolean;
readonly isFailedToDecode: boolean;
readonly isMaxWeightInvalid: boolean;
readonly isNotHoldingFees: boolean;
readonly isTooExpensive: boolean;
readonly isTrap: boolean;
readonly asTrap: u64;
readonly isExpectationFalse: boolean;
readonly isPalletNotFound: boolean;
readonly isNameMismatch: boolean;
readonly isVersionIncompatible: boolean;
readonly isHoldingWouldOverflow: boolean;
readonly isExportError: boolean;
readonly isReanchorFailed: boolean;
readonly isNoDeal: boolean;
readonly isFeesNotMet: boolean;
readonly isLockError: boolean;
readonly isNoPermission: boolean;
readonly isUnanchored: boolean;
readonly isNotDepositable: boolean;
readonly isTooManyAssets: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isWeightLimitReached: boolean;
readonly asWeightLimitReached: SpWeightsWeightV2Weight;
readonly isBarrier: boolean;
readonly isWeightNotComputable: boolean;
readonly isExceedsStackLimit: boolean;
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'TooManyAssets' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit';
}
/** @name StagingXcmV5PalletInfo (447) */
interface StagingXcmV5PalletInfo extends Struct {
readonly index: Compact<u32>;
readonly name: Bytes;
readonly moduleName: Bytes;
readonly major: Compact<u32>;
readonly minor: Compact<u32>;
readonly patch: Compact<u32>;
}
/** @name StagingXcmV5QueryResponseInfo (452) */
interface StagingXcmV5QueryResponseInfo extends Struct {
readonly destination: StagingXcmV5Location;
readonly queryId: Compact<u64>;
readonly maxWeight: SpWeightsWeightV2Weight;
}
/** @name StagingXcmV5AssetAssetFilter (453) */
interface StagingXcmV5AssetAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: StagingXcmV5AssetAssets;
readonly isWild: boolean;
readonly asWild: StagingXcmV5AssetWildAsset;
readonly type: 'Definite' | 'Wild';
}
/** @name StagingXcmV5AssetWildAsset (454) */
interface StagingXcmV5AssetWildAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
readonly asAllOf: {
readonly id: StagingXcmV5AssetAssetId;
readonly fun: StagingXcmV5AssetWildFungibility;
} & Struct;
readonly isAllCounted: boolean;
readonly asAllCounted: Compact<u32>;
readonly isAllOfCounted: boolean;
readonly asAllOfCounted: {
readonly id: StagingXcmV5AssetAssetId;
readonly fun: StagingXcmV5AssetWildFungibility;
readonly count: Compact<u32>;
} & Struct;
readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted';
}
/** @name StagingXcmV5AssetWildFungibility (455) */
interface StagingXcmV5AssetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name StagingXcmV5AssetAssetTransferFilter (457) */
interface StagingXcmV5AssetAssetTransferFilter extends Enum {
readonly isTeleport: boolean;
readonly asTeleport: StagingXcmV5AssetAssetFilter;
readonly isReserveDeposit: boolean;
readonly asReserveDeposit: StagingXcmV5AssetAssetFilter;
readonly isReserveWithdraw: boolean;
readonly asReserveWithdraw: StagingXcmV5AssetAssetFilter;
readonly type: 'Teleport' | 'ReserveDeposit' | 'ReserveWithdraw';
}
/** @name StagingXcmV5Hint (462) */
interface StagingXcmV5Hint extends Enum {
readonly isAssetClaimer: boolean;
readonly asAssetClaimer: {
readonly location: StagingXcmV5Location;
} & Struct;
readonly type: 'AssetClaimer';
}
/** @name StagingKusamaRuntimeRuntimeParametersKey (509) */
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
readonly isInflation: boolean;
@@ -729,30 +225,6 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BurnPortion' | 'BurnDestination';
}
/** @name PolkadotPrimitivesVstagingCandidateReceiptV2 (541) */
interface PolkadotPrimitivesVstagingCandidateReceiptV2 extends Struct {
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
readonly commitmentsHash: H256;
}
/** @name StagingXcmV5TraitsOutcome (556) */
interface StagingXcmV5TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: {
readonly used: SpWeightsWeightV2Weight;
} & Struct;
readonly isIncomplete: boolean;
readonly asIncomplete: {
readonly used: SpWeightsWeightV2Weight;
readonly error: XcmV5TraitsError;
} & Struct;
readonly isError: boolean;
readonly asError: {
readonly error: XcmV5TraitsError;
} & Struct;
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
/** @name StagingKusamaRuntimeRuntimeHoldReason (604) */
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
readonly isPreimage: boolean;
@@ -777,71 +249,9 @@ declare module '@polkadot/types/lookup' {
readonly amount: u128;
}
/** @name PolkadotRuntimeParachainsSharedRelayParentInfo (824) */
interface PolkadotRuntimeParachainsSharedRelayParentInfo extends Struct {
readonly relayParent: H256;
readonly stateRoot: H256;
readonly claimQueue: BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>;
}
/** @name PolkadotPrimitivesVstagingScrapedOnChainVotes (836) */
interface PolkadotPrimitivesVstagingScrapedOnChainVotes extends Struct {
readonly session: u32;
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Vec<ITuple<[u32, PolkadotPrimitivesV8ValidityAttestation]>>]>>;
readonly disputes: Vec<PolkadotPrimitivesV8DisputeStatementSet>;
}
/** @name StagingKusamaRuntimeRuntime (970) */
type StagingKusamaRuntimeRuntime = Null;
/** @name PolkadotPrimitivesVstagingCoreState (994) */
interface PolkadotPrimitivesVstagingCoreState extends Enum {
readonly isOccupied: boolean;
readonly asOccupied: PolkadotPrimitivesVstagingOccupiedCore;
readonly isScheduled: boolean;
readonly asScheduled: PolkadotPrimitivesV8ScheduledCore;
readonly isFree: boolean;
readonly type: 'Occupied' | 'Scheduled' | 'Free';
}
/** @name PolkadotPrimitivesVstagingOccupiedCore (995) */
interface PolkadotPrimitivesVstagingOccupiedCore extends Struct {
readonly nextUpOnAvailable: Option<PolkadotPrimitivesV8ScheduledCore>;
readonly occupiedSince: u32;
readonly timeOutAt: u32;
readonly nextUpOnTimeOut: Option<PolkadotPrimitivesV8ScheduledCore>;
readonly availability: BitVec;
readonly groupResponsible: u32;
readonly candidateHash: H256;
readonly candidateDescriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
}
/** @name PolkadotPrimitivesVstagingCandidateEvent (1007) */
interface PolkadotPrimitivesVstagingCandidateEvent extends Enum {
readonly isCandidateBacked: boolean;
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
readonly isCandidateIncluded: boolean;
readonly asCandidateIncluded: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
readonly isCandidateTimedOut: boolean;
readonly asCandidateTimedOut: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut';
}
/** @name PolkadotPrimitivesVstagingAsyncBackingBackingState (1023) */
interface PolkadotPrimitivesVstagingAsyncBackingBackingState extends Struct {
readonly constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
readonly pendingAvailability: Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
}
/** @name PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability (1033) */
interface PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability extends Struct {
readonly candidateHash: H256;
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
readonly commitments: PolkadotPrimitivesV8CandidateCommitments;
readonly relayParentNumber: u32;
readonly maxPovSize: u32;
}
/** @name StagingKusamaRuntimeRuntimeError (1084) */
interface StagingKusamaRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
File diff suppressed because it is too large Load Diff
+1 -34
View File
@@ -5,24 +5,12 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
import type { FrameSupportTokensMiscIdAmount, KusamaRuntimeConstantsProxyProxyType, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability, PolkadotPrimitivesVstagingBackedCandidate, PolkadotPrimitivesVstagingCandidateDescriptorV2, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingInherentData, PolkadotPrimitivesVstagingOccupiedCore, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeParachainsSharedRelayParentInfo, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError } from '@polkadot/types/lookup';
import type { FrameSupportTokensMiscIdAmount, KusamaRuntimeConstantsProxyProxyType, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount;
KusamaRuntimeConstantsProxyProxyType: KusamaRuntimeConstantsProxyProxyType;
PolkadotPrimitivesVstagingAsyncBackingBackingState: PolkadotPrimitivesVstagingAsyncBackingBackingState;
PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability: PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability;
PolkadotPrimitivesVstagingBackedCandidate: PolkadotPrimitivesVstagingBackedCandidate;
PolkadotPrimitivesVstagingCandidateDescriptorV2: PolkadotPrimitivesVstagingCandidateDescriptorV2;
PolkadotPrimitivesVstagingCandidateEvent: PolkadotPrimitivesVstagingCandidateEvent;
PolkadotPrimitivesVstagingCandidateReceiptV2: PolkadotPrimitivesVstagingCandidateReceiptV2;
PolkadotPrimitivesVstagingCommittedCandidateReceiptV2: PolkadotPrimitivesVstagingCommittedCandidateReceiptV2;
PolkadotPrimitivesVstagingCoreState: PolkadotPrimitivesVstagingCoreState;
PolkadotPrimitivesVstagingInherentData: PolkadotPrimitivesVstagingInherentData;
PolkadotPrimitivesVstagingOccupiedCore: PolkadotPrimitivesVstagingOccupiedCore;
PolkadotPrimitivesVstagingScrapedOnChainVotes: PolkadotPrimitivesVstagingScrapedOnChainVotes;
PolkadotRuntimeParachainsSharedRelayParentInfo: PolkadotRuntimeParachainsSharedRelayParentInfo;
StagingKusamaRuntimeBurnDestinationAccount: StagingKusamaRuntimeBurnDestinationAccount;
StagingKusamaRuntimeDynamicParamsInflationFalloff: StagingKusamaRuntimeDynamicParamsInflationFalloff;
StagingKusamaRuntimeDynamicParamsInflationIdealStake: StagingKusamaRuntimeDynamicParamsInflationIdealStake;
@@ -48,26 +36,5 @@ declare module '@polkadot/types/types/registry' {
StagingKusamaRuntimeRuntimeParametersKey: StagingKusamaRuntimeRuntimeParametersKey;
StagingKusamaRuntimeRuntimeParametersValue: StagingKusamaRuntimeRuntimeParametersValue;
StagingKusamaRuntimeSessionKeys: StagingKusamaRuntimeSessionKeys;
StagingXcmV5Asset: StagingXcmV5Asset;
StagingXcmV5AssetAssetFilter: StagingXcmV5AssetAssetFilter;
StagingXcmV5AssetAssetId: StagingXcmV5AssetAssetId;
StagingXcmV5AssetAssetInstance: StagingXcmV5AssetAssetInstance;
StagingXcmV5AssetAssetTransferFilter: StagingXcmV5AssetAssetTransferFilter;
StagingXcmV5AssetAssets: StagingXcmV5AssetAssets;
StagingXcmV5AssetFungibility: StagingXcmV5AssetFungibility;
StagingXcmV5AssetWildAsset: StagingXcmV5AssetWildAsset;
StagingXcmV5AssetWildFungibility: StagingXcmV5AssetWildFungibility;
StagingXcmV5Hint: StagingXcmV5Hint;
StagingXcmV5Instruction: StagingXcmV5Instruction;
StagingXcmV5Junction: StagingXcmV5Junction;
StagingXcmV5JunctionNetworkId: StagingXcmV5JunctionNetworkId;
StagingXcmV5Junctions: StagingXcmV5Junctions;
StagingXcmV5Location: StagingXcmV5Location;
StagingXcmV5PalletInfo: StagingXcmV5PalletInfo;
StagingXcmV5QueryResponseInfo: StagingXcmV5QueryResponseInfo;
StagingXcmV5Response: StagingXcmV5Response;
StagingXcmV5TraitsOutcome: StagingXcmV5TraitsOutcome;
StagingXcmV5Xcm: StagingXcmV5Xcm;
XcmV5TraitsError: XcmV5TraitsError;
} // InterfaceTypes
} // declare module
File diff suppressed because one or more lines are too long