Ensure generation of Call/Event enums (#4226)
This commit is contained in:
@@ -18,7 +18,6 @@ import { isString, stringify } from '@polkadot/util';
|
||||
import { createImports, exportType, initMeta, readTemplate, writeFile } from '../util';
|
||||
import { typeEncoders } from './tsDef';
|
||||
|
||||
const MAP_ENUMS = ['Call', 'Event', 'Error', 'RawEvent'];
|
||||
const WITH_TYPEDEF = false;
|
||||
|
||||
const generateLookupDefsTmpl = Handlebars.compile(readTemplate('lookup/defs'));
|
||||
@@ -131,33 +130,7 @@ function expandDefToString ({ lookupNameRoot, type }: TypeDef, indent: number):
|
||||
}
|
||||
|
||||
function getFilteredTypes (lookup: PortableRegistry, exclude: string[] = []): [PortableType, TypeDef][] {
|
||||
const named = lookup.types.filter(({ id, type: { path } }) => {
|
||||
const typeDef = lookup.getTypeDef(id);
|
||||
|
||||
return (
|
||||
// We actually only want those with lookupName set
|
||||
!!typeDef.lookupName &&
|
||||
!(
|
||||
path.length === 2 &&
|
||||
(
|
||||
(
|
||||
// Ensure that we match {node, kusama, *}_runtime
|
||||
path[0].toString().split('_')[1] === 'runtime' &&
|
||||
!['Call', 'Event'].includes(path[1].toString())
|
||||
) ||
|
||||
path[0].toString().startsWith('pallet_')
|
||||
) &&
|
||||
// Ensure we strip generics, e.g. Event<T>
|
||||
MAP_ENUMS.includes(path[1].toString().split('<')[0])
|
||||
) &&
|
||||
!(
|
||||
path.length >= 3 &&
|
||||
path[path.length - 2].toString() === 'pallet' &&
|
||||
// As above, cater for generics
|
||||
MAP_ENUMS.includes(path[path.length - 1].toString().split('<')[0])
|
||||
)
|
||||
);
|
||||
});
|
||||
const named = lookup.types.filter(({ id }) => !!lookup.getTypeDef(id).lookupName);
|
||||
const names = named.map(({ id }) => lookup.getName(id));
|
||||
|
||||
return named
|
||||
|
||||
@@ -12,6 +12,29 @@ export default {
|
||||
KusamaRuntimeProxyType: {
|
||||
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
|
||||
},
|
||||
/**
|
||||
* Lookup107: pallet_xcm::pallet::Event<T>
|
||||
**/
|
||||
PalletXcmEvent: {
|
||||
_enum: {
|
||||
Attempted: 'XcmV2TraitsOutcome',
|
||||
Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',
|
||||
UnexpectedResponse: '(XcmV1MultiLocation,u64)',
|
||||
ResponseReady: '(u64,XcmV2Response)',
|
||||
Notified: '(u64,u8,u8)',
|
||||
NotifyOverweight: '(u64,u8,u8,u64,u64)',
|
||||
NotifyDispatchError: '(u64,u8,u8)',
|
||||
NotifyDecodeFailed: '(u64,u8,u8)',
|
||||
InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',
|
||||
InvalidResponderVersion: '(XcmV1MultiLocation,u64)',
|
||||
ResponseTaken: 'u64',
|
||||
AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',
|
||||
VersionChangeNotified: '(XcmV1MultiLocation,u32)',
|
||||
SupportedVersionChanged: '(XcmV1MultiLocation,u32)',
|
||||
NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',
|
||||
NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup108: xcm::v1::multilocation::MultiLocation
|
||||
**/
|
||||
@@ -573,6 +596,60 @@ export default {
|
||||
votes23: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);22],Compact<u16>)>',
|
||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||
},
|
||||
/**
|
||||
* Lookup511: pallet_xcm::pallet::Call<T>
|
||||
**/
|
||||
PalletXcmCall: {
|
||||
_enum: {
|
||||
send: {
|
||||
dest: 'XcmVersionedMultiLocation',
|
||||
message: 'XcmVersionedXcm',
|
||||
},
|
||||
teleport_assets: {
|
||||
dest: 'XcmVersionedMultiLocation',
|
||||
beneficiary: 'XcmVersionedMultiLocation',
|
||||
assets: 'XcmVersionedMultiAssets',
|
||||
feeAssetItem: 'u32',
|
||||
},
|
||||
reserve_transfer_assets: {
|
||||
dest: 'XcmVersionedMultiLocation',
|
||||
beneficiary: 'XcmVersionedMultiLocation',
|
||||
assets: 'XcmVersionedMultiAssets',
|
||||
feeAssetItem: 'u32',
|
||||
},
|
||||
execute: {
|
||||
message: 'XcmVersionedXcm',
|
||||
maxWeight: 'u64',
|
||||
},
|
||||
force_xcm_version: {
|
||||
location: 'XcmV1MultiLocation',
|
||||
xcmVersion: 'u32',
|
||||
},
|
||||
force_default_xcm_version: {
|
||||
maybeXcmVersion: 'Option<u32>',
|
||||
},
|
||||
force_subscribe_version_notify: {
|
||||
location: 'XcmVersionedMultiLocation',
|
||||
},
|
||||
force_unsubscribe_version_notify: {
|
||||
location: 'XcmVersionedMultiLocation',
|
||||
},
|
||||
limited_reserve_transfer_assets: {
|
||||
dest: 'XcmVersionedMultiLocation',
|
||||
beneficiary: 'XcmVersionedMultiLocation',
|
||||
assets: 'XcmVersionedMultiAssets',
|
||||
feeAssetItem: 'u32',
|
||||
weightLimit: 'XcmV2WeightLimit',
|
||||
},
|
||||
limited_teleport_assets: {
|
||||
dest: 'XcmVersionedMultiLocation',
|
||||
beneficiary: 'XcmVersionedMultiLocation',
|
||||
assets: 'XcmVersionedMultiAssets',
|
||||
feeAssetItem: 'u32',
|
||||
weightLimit: 'XcmV2WeightLimit'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup512: xcm::VersionedXcm<Call>
|
||||
**/
|
||||
@@ -842,6 +919,12 @@ export default {
|
||||
MigrateAndNotifyOldTargets: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup700: pallet_xcm::pallet::Error<T>
|
||||
**/
|
||||
PalletXcmError: {
|
||||
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
|
||||
},
|
||||
/**
|
||||
* Lookup711: kusama_runtime::Runtime
|
||||
**/
|
||||
|
||||
@@ -6,12 +6,30 @@
|
||||
import type { DefinitionsTypes } from '../../types';
|
||||
|
||||
export default {
|
||||
/**
|
||||
* Lookup65: polkadot_runtime_common::claims::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonClaimsPalletEvent: {
|
||||
_enum: {
|
||||
Claimed: '(AccountId32,EthereumAddress,u128)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup72: polkadot_runtime::ProxyType
|
||||
**/
|
||||
PolkadotRuntimeProxyType: {
|
||||
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'IdentityJudgement', 'CancelProxy', 'Auction']
|
||||
},
|
||||
/**
|
||||
* Lookup82: polkadot_runtime_parachains::inclusion::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsInclusionPalletEvent: {
|
||||
_enum: {
|
||||
CandidateBacked: '(PolkadotPrimitivesV1CandidateReceipt,Bytes,u32,u32)',
|
||||
CandidateIncluded: '(PolkadotPrimitivesV1CandidateReceipt,Bytes,u32,u32)',
|
||||
CandidateTimedOut: '(PolkadotPrimitivesV1CandidateReceipt,Bytes,u32)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup83: polkadot_primitives::v1::CandidateReceipt<primitive_types::H256>
|
||||
**/
|
||||
@@ -41,6 +59,32 @@ export default {
|
||||
* Lookup87: polkadot_primitives::v0::collator_app::Signature
|
||||
**/
|
||||
PolkadotPrimitivesV0CollatorAppSignature: 'SpCoreSr25519Signature',
|
||||
/**
|
||||
* Lookup94: polkadot_runtime_parachains::paras::pallet::Event
|
||||
**/
|
||||
PolkadotRuntimeParachainsParasPalletEvent: {
|
||||
_enum: {
|
||||
CurrentCodeUpdated: 'u32',
|
||||
CurrentHeadUpdated: 'u32',
|
||||
CodeUpgradeScheduled: 'u32',
|
||||
NewHeadNoted: 'u32',
|
||||
ActionQueued: '(u32,u32)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup95: polkadot_runtime_parachains::ump::pallet::Event
|
||||
**/
|
||||
PolkadotRuntimeParachainsUmpPalletEvent: {
|
||||
_enum: {
|
||||
InvalidFormat: '[u8;32]',
|
||||
UnsupportedVersion: '[u8;32]',
|
||||
ExecutedUpward: '([u8;32],XcmV2TraitsOutcome)',
|
||||
WeightExhausted: '([u8;32],u64,u64)',
|
||||
UpwardMessagesReceived: '(u32,u32,u32)',
|
||||
OverweightEnqueued: '(u32,[u8;32],u64,u64)',
|
||||
OverweightServiced: '(u64,u64)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup96: xcm::v2::traits::Outcome
|
||||
**/
|
||||
@@ -84,6 +128,17 @@ export default {
|
||||
WeightNotComputable: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup98: polkadot_runtime_parachains::hrmp::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsHrmpPalletEvent: {
|
||||
_enum: {
|
||||
OpenChannelRequested: '(u32,u32,u32,u32)',
|
||||
OpenChannelCanceled: '(u32,PolkadotParachainPrimitivesHrmpChannelId)',
|
||||
OpenChannelAccepted: '(u32,u32)',
|
||||
ChannelClosed: '(u32,PolkadotParachainPrimitivesHrmpChannelId)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup99: polkadot_parachain::primitives::HrmpChannelId
|
||||
**/
|
||||
@@ -91,6 +146,56 @@ export default {
|
||||
sender: 'u32',
|
||||
recipient: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup100: polkadot_runtime_common::paras_registrar::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonParasRegistrarPalletEvent: {
|
||||
_enum: {
|
||||
Registered: '(u32,AccountId32)',
|
||||
Deregistered: 'u32',
|
||||
Reserved: '(u32,AccountId32)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup101: polkadot_runtime_common::slots::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonSlotsPalletEvent: {
|
||||
_enum: {
|
||||
NewLeasePeriod: 'u32',
|
||||
Leased: '(u32,AccountId32,u32,u32,u128,u128)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup102: polkadot_runtime_common::auctions::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonAuctionsPalletEvent: {
|
||||
_enum: {
|
||||
AuctionStarted: '(u32,u32,u32)',
|
||||
AuctionClosed: 'u32',
|
||||
Reserved: '(AccountId32,u128,u128)',
|
||||
Unreserved: '(AccountId32,u128)',
|
||||
ReserveConfiscated: '(u32,AccountId32,u128)',
|
||||
BidAccepted: '(AccountId32,u32,u128,u32,u32)',
|
||||
WinningOffset: '(u32,u32)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup103: polkadot_runtime_common::crowdloan::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonCrowdloanPalletEvent: {
|
||||
_enum: {
|
||||
Created: 'u32',
|
||||
Contributed: '(AccountId32,u32,u128)',
|
||||
Withdrew: '(AccountId32,u32,u128)',
|
||||
PartiallyRefunded: 'u32',
|
||||
AllRefunded: 'u32',
|
||||
Dissolved: 'u32',
|
||||
HandleBidResult: '(u32,Result<Null, SpRuntimeDispatchError>)',
|
||||
Edited: 'u32',
|
||||
MemoUpdated: '(AccountId32,u32,Bytes)',
|
||||
AddedToNewRaise: 'u32'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup162: polkadot_runtime::SessionKeys
|
||||
**/
|
||||
@@ -110,6 +215,39 @@ export default {
|
||||
* Lookup164: polkadot_primitives::v1::assignment_app::Public
|
||||
**/
|
||||
PolkadotPrimitivesV1AssignmentAppPublic: 'SpCoreSr25519Public',
|
||||
/**
|
||||
* Lookup195: polkadot_runtime_common::claims::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonClaimsPalletCall: {
|
||||
_enum: {
|
||||
claim: {
|
||||
dest: 'AccountId32',
|
||||
ethereumSignature: 'PolkadotRuntimeCommonClaimsEcdsaSignature',
|
||||
},
|
||||
mint_claim: {
|
||||
who: 'EthereumAddress',
|
||||
value: 'u128',
|
||||
vestingSchedule: 'Option<(u128,u128,u32)>',
|
||||
statement: 'Option<PolkadotRuntimeCommonClaimsStatementKind>',
|
||||
},
|
||||
claim_attest: {
|
||||
dest: 'AccountId32',
|
||||
ethereumSignature: 'PolkadotRuntimeCommonClaimsEcdsaSignature',
|
||||
statement: 'Bytes',
|
||||
},
|
||||
attest: {
|
||||
statement: 'Bytes',
|
||||
},
|
||||
move_claim: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
old: 'EthereumAddress',
|
||||
new_: 'EthereumAddress',
|
||||
maybePreclaim: 'Option<AccountId32>'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup196: polkadot_runtime_common::claims::EcdsaSignature
|
||||
**/
|
||||
@@ -207,6 +345,277 @@ export default {
|
||||
votes15: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);14],Compact<u16>)>',
|
||||
votes16: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);15],Compact<u16>)>'
|
||||
},
|
||||
/**
|
||||
* Lookup319: polkadot_runtime_parachains::configuration::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsConfigurationPalletCall: {
|
||||
_enum: {
|
||||
set_validation_upgrade_frequency: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_validation_upgrade_delay: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_code_retention_period: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_code_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_pov_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_head_data_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_parathread_cores: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_parathread_retries: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_group_rotation_frequency: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_chain_availability_period: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_thread_availability_period: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_scheduling_lookahead: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_validators_per_core: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'Option<u32>',
|
||||
},
|
||||
set_max_validators: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'Option<u32>',
|
||||
},
|
||||
set_dispute_period: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_dispute_post_conclusion_acceptance_period: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_dispute_max_spam_slots: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_dispute_conclusion_by_time_out_period: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_no_show_slots: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_n_delay_tranches: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_zeroth_delay_tranche_width: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_needed_approvals: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_relay_vrf_modulo_samples: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_upward_queue_count: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_upward_queue_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_downward_message_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_ump_service_total_weight: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u64',
|
||||
},
|
||||
set_max_upward_message_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_max_upward_message_num_per_candidate: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_open_request_ttl: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_sender_deposit: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u128',
|
||||
},
|
||||
set_hrmp_recipient_deposit: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u128',
|
||||
},
|
||||
set_hrmp_channel_max_capacity: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_channel_max_total_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_max_parachain_inbound_channels: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_max_parathread_inbound_channels: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_channel_max_message_size: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_max_parachain_outbound_channels: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_max_parathread_outbound_channels: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_hrmp_max_message_num_per_candidate: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32',
|
||||
},
|
||||
set_ump_max_individual_weight: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u64'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup320: polkadot_runtime_parachains::shared::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsSharedPalletCall: 'Null',
|
||||
/**
|
||||
* Lookup321: polkadot_runtime_parachains::inclusion::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsInclusionPalletCall: 'Null',
|
||||
/**
|
||||
* Lookup322: polkadot_runtime_parachains::paras_inherent::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsParasInherentPalletCall: {
|
||||
_enum: {
|
||||
enter: {
|
||||
data: 'PolkadotPrimitivesV1InherentData'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup323: polkadot_primitives::v1::InherentData<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>>
|
||||
**/
|
||||
@@ -309,6 +718,198 @@ export default {
|
||||
PolkadotPrimitivesV1InvalidDisputeStatementKind: {
|
||||
_enum: ['Explicit']
|
||||
},
|
||||
/**
|
||||
* Lookup349: polkadot_runtime_parachains::paras::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsParasPalletCall: {
|
||||
_enum: {
|
||||
force_set_current_code: {
|
||||
para: 'u32',
|
||||
newCode: 'Bytes',
|
||||
},
|
||||
force_set_current_head: {
|
||||
para: 'u32',
|
||||
newHead: 'Bytes',
|
||||
},
|
||||
force_schedule_code_upgrade: {
|
||||
para: 'u32',
|
||||
newCode: 'Bytes',
|
||||
relayParentNumber: 'u32',
|
||||
},
|
||||
force_note_new_head: {
|
||||
para: 'u32',
|
||||
newHead: 'Bytes',
|
||||
},
|
||||
force_queue_action: {
|
||||
para: 'u32'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup350: polkadot_runtime_parachains::initializer::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsInitializerPalletCall: {
|
||||
_enum: {
|
||||
force_approve: {
|
||||
upTo: 'u32'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup351: polkadot_runtime_parachains::dmp::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsDmpPalletCall: 'Null',
|
||||
/**
|
||||
* Lookup352: polkadot_runtime_parachains::ump::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsUmpPalletCall: {
|
||||
_enum: {
|
||||
service_overweight: {
|
||||
index: 'u64',
|
||||
weightLimit: 'u64'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup353: polkadot_runtime_parachains::hrmp::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsHrmpPalletCall: {
|
||||
_enum: {
|
||||
hrmp_init_open_channel: {
|
||||
recipient: 'u32',
|
||||
proposedMaxCapacity: 'u32',
|
||||
proposedMaxMessageSize: 'u32',
|
||||
},
|
||||
hrmp_accept_open_channel: {
|
||||
sender: 'u32',
|
||||
},
|
||||
hrmp_close_channel: {
|
||||
channelId: 'PolkadotParachainPrimitivesHrmpChannelId',
|
||||
},
|
||||
force_clean_hrmp: {
|
||||
para: 'u32',
|
||||
},
|
||||
force_process_hrmp_open: 'Null',
|
||||
force_process_hrmp_close: 'Null',
|
||||
hrmp_cancel_open_request: {
|
||||
channelId: 'PolkadotParachainPrimitivesHrmpChannelId'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup354: polkadot_runtime_common::paras_registrar::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonParasRegistrarPalletCall: {
|
||||
_enum: {
|
||||
register: {
|
||||
id: 'u32',
|
||||
genesisHead: 'Bytes',
|
||||
validationCode: 'Bytes',
|
||||
},
|
||||
force_register: {
|
||||
who: 'AccountId32',
|
||||
deposit: 'u128',
|
||||
id: 'u32',
|
||||
genesisHead: 'Bytes',
|
||||
validationCode: 'Bytes',
|
||||
},
|
||||
deregister: {
|
||||
id: 'u32',
|
||||
},
|
||||
swap: {
|
||||
id: 'u32',
|
||||
other: 'u32',
|
||||
},
|
||||
force_remove_lock: {
|
||||
para: 'u32',
|
||||
},
|
||||
reserve: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup355: polkadot_runtime_common::slots::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonSlotsPalletCall: {
|
||||
_enum: {
|
||||
force_lease: {
|
||||
para: 'u32',
|
||||
leaser: 'AccountId32',
|
||||
amount: 'u128',
|
||||
periodBegin: 'u32',
|
||||
periodCount: 'u32',
|
||||
},
|
||||
clear_all_leases: {
|
||||
para: 'u32',
|
||||
},
|
||||
trigger_onboard: {
|
||||
para: 'u32'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup356: polkadot_runtime_common::auctions::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonAuctionsPalletCall: {
|
||||
_enum: {
|
||||
new_auction: {
|
||||
duration: 'Compact<u32>',
|
||||
leasePeriodIndex: 'Compact<u32>',
|
||||
},
|
||||
bid: {
|
||||
para: 'Compact<u32>',
|
||||
auctionIndex: 'Compact<u32>',
|
||||
firstSlot: 'Compact<u32>',
|
||||
lastSlot: 'Compact<u32>',
|
||||
amount: 'Compact<u128>',
|
||||
},
|
||||
cancel_auction: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup358: polkadot_runtime_common::crowdloan::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonCrowdloanPalletCall: {
|
||||
_enum: {
|
||||
create: {
|
||||
index: 'Compact<u32>',
|
||||
cap: 'Compact<u128>',
|
||||
firstPeriod: 'Compact<u32>',
|
||||
lastPeriod: 'Compact<u32>',
|
||||
end: 'Compact<u32>',
|
||||
verifier: 'Option<SpRuntimeMultiSigner>',
|
||||
},
|
||||
contribute: {
|
||||
index: 'Compact<u32>',
|
||||
value: 'Compact<u128>',
|
||||
signature: 'Option<SpRuntimeMultiSignature>',
|
||||
},
|
||||
withdraw: {
|
||||
who: 'AccountId32',
|
||||
index: 'Compact<u32>',
|
||||
},
|
||||
refund: {
|
||||
index: 'Compact<u32>',
|
||||
},
|
||||
dissolve: {
|
||||
index: 'Compact<u32>',
|
||||
},
|
||||
edit: {
|
||||
index: 'Compact<u32>',
|
||||
cap: 'Compact<u128>',
|
||||
firstPeriod: 'Compact<u32>',
|
||||
lastPeriod: 'Compact<u32>',
|
||||
end: 'Compact<u32>',
|
||||
verifier: 'Option<SpRuntimeMultiSigner>',
|
||||
},
|
||||
add_memo: {
|
||||
index: 'u32',
|
||||
memo: 'Bytes',
|
||||
},
|
||||
poke: {
|
||||
index: 'u32'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup360: sp_runtime::MultiSigner
|
||||
**/
|
||||
@@ -323,6 +924,12 @@ export default {
|
||||
* Lookup361: sp_core::ecdsa::Public
|
||||
**/
|
||||
SpCoreEcdsaPublic: '[u8;33]',
|
||||
/**
|
||||
* Lookup464: polkadot_runtime_common::claims::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonClaimsPalletError: {
|
||||
_enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']
|
||||
},
|
||||
/**
|
||||
* Lookup514: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
|
||||
**/
|
||||
@@ -368,6 +975,12 @@ export default {
|
||||
relayVrfModuloSamples: 'u32',
|
||||
umpMaxIndividualWeight: 'u64'
|
||||
},
|
||||
/**
|
||||
* Lookup515: polkadot_runtime_parachains::configuration::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsConfigurationPalletError: {
|
||||
_enum: ['InvalidNewValue']
|
||||
},
|
||||
/**
|
||||
* Lookup518: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
|
||||
**/
|
||||
@@ -391,6 +1004,12 @@ export default {
|
||||
backedInNumber: 'u32',
|
||||
backingGroup: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup520: polkadot_runtime_parachains::inclusion::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsInclusionPalletError: {
|
||||
_enum: ['WrongBitfieldSize', 'BitfieldDuplicateOrUnordered', 'ValidatorIndexOutOfBounds', 'InvalidBitfieldSignature', 'UnscheduledCandidate', 'CandidateScheduledBeforeParaFree', 'WrongCollator', 'ScheduledOutOfOrder', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'CandidateNotInParentContext', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'NotCollatorSigned', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch']
|
||||
},
|
||||
/**
|
||||
* Lookup521: polkadot_primitives::v1::ScrapedOnChainVotes<primitive_types::H256>
|
||||
**/
|
||||
@@ -399,6 +1018,12 @@ export default {
|
||||
backingValidatorsPerCandidate: 'Vec<(PolkadotPrimitivesV1CandidateReceipt,Vec<(u32,PolkadotPrimitivesV0ValidityAttestation)>)>',
|
||||
disputes: 'Vec<PolkadotPrimitivesV1DisputeStatementSet>'
|
||||
},
|
||||
/**
|
||||
* Lookup526: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsParasInherentPalletError: {
|
||||
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'CandidateConcludedInvalid']
|
||||
},
|
||||
/**
|
||||
* Lookup528: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
|
||||
**/
|
||||
@@ -491,6 +1116,12 @@ export default {
|
||||
validationCode: 'Bytes',
|
||||
parachain: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup549: polkadot_runtime_parachains::paras::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsParasPalletError: {
|
||||
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade']
|
||||
},
|
||||
/**
|
||||
* Lookup551: polkadot_runtime_parachains::initializer::BufferedSessionChange
|
||||
**/
|
||||
@@ -506,6 +1137,12 @@ export default {
|
||||
sentAt: 'u32',
|
||||
msg: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup555: polkadot_runtime_parachains::ump::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsUmpPalletError: {
|
||||
_enum: ['UnknownMessageIndex', 'WeightOverLimit']
|
||||
},
|
||||
/**
|
||||
* Lookup556: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
|
||||
**/
|
||||
@@ -537,6 +1174,12 @@ export default {
|
||||
sentAt: 'u32',
|
||||
data: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup564: polkadot_runtime_parachains::hrmp::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsHrmpPalletError: {
|
||||
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed']
|
||||
},
|
||||
/**
|
||||
* Lookup566: polkadot_primitives::v1::SessionInfo
|
||||
**/
|
||||
@@ -560,6 +1203,24 @@ export default {
|
||||
deposit: 'u128',
|
||||
locked: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup569: polkadot_runtime_common::paras_registrar::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonParasRegistrarPalletError: {
|
||||
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved']
|
||||
},
|
||||
/**
|
||||
* Lookup572: polkadot_runtime_common::slots::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonSlotsPalletError: {
|
||||
_enum: ['ParaNotOnboarding', 'LeaseError']
|
||||
},
|
||||
/**
|
||||
* Lookup577: polkadot_runtime_common::auctions::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonAuctionsPalletError: {
|
||||
_enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut']
|
||||
},
|
||||
/**
|
||||
* Lookup578: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
|
||||
**/
|
||||
@@ -585,6 +1246,12 @@ export default {
|
||||
Ending: 'u32'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup580: polkadot_runtime_common::crowdloan::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonCrowdloanPalletError: {
|
||||
_enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod']
|
||||
},
|
||||
/**
|
||||
* Lookup591: polkadot_runtime_common::claims::PrevalidateAttests<T>
|
||||
**/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
|
||||
import type { PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
import type { H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
import type { ITuple } from '@polkadot/types/types';
|
||||
|
||||
declare module '@polkadot/types/lookup' {
|
||||
@@ -18,6 +18,42 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isAuction: boolean;
|
||||
}
|
||||
|
||||
/** @name PalletXcmEvent (107) */
|
||||
export interface PalletXcmEvent extends Enum {
|
||||
readonly isAttempted: boolean;
|
||||
readonly asAttempted: XcmV2TraitsOutcome;
|
||||
readonly isSent: boolean;
|
||||
readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
|
||||
readonly isUnexpectedResponse: boolean;
|
||||
readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
|
||||
readonly isResponseReady: boolean;
|
||||
readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
|
||||
readonly isNotified: boolean;
|
||||
readonly asNotified: ITuple<[u64, u8, u8]>;
|
||||
readonly isNotifyOverweight: boolean;
|
||||
readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;
|
||||
readonly isNotifyDispatchError: boolean;
|
||||
readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;
|
||||
readonly isNotifyDecodeFailed: boolean;
|
||||
readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
|
||||
readonly isInvalidResponder: boolean;
|
||||
readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
|
||||
readonly isInvalidResponderVersion: boolean;
|
||||
readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
|
||||
readonly isResponseTaken: boolean;
|
||||
readonly asResponseTaken: u64;
|
||||
readonly isAssetsTrapped: boolean;
|
||||
readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
|
||||
readonly isVersionChangeNotified: boolean;
|
||||
readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
|
||||
readonly isSupportedVersionChanged: boolean;
|
||||
readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
|
||||
readonly isNotifyTargetSendFail: boolean;
|
||||
readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
|
||||
readonly isNotifyTargetMigrationFail: boolean;
|
||||
readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
|
||||
}
|
||||
|
||||
/** @name XcmV1MultiLocation (108) */
|
||||
export interface XcmV1MultiLocation extends Struct {
|
||||
readonly parents: u8;
|
||||
@@ -519,6 +555,67 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name PalletXcmCall (511) */
|
||||
export interface PalletXcmCall extends Enum {
|
||||
readonly isSend: boolean;
|
||||
readonly asSend: {
|
||||
readonly dest: XcmVersionedMultiLocation;
|
||||
readonly message: XcmVersionedXcm;
|
||||
} & Struct;
|
||||
readonly isTeleportAssets: boolean;
|
||||
readonly asTeleportAssets: {
|
||||
readonly dest: XcmVersionedMultiLocation;
|
||||
readonly beneficiary: XcmVersionedMultiLocation;
|
||||
readonly assets: XcmVersionedMultiAssets;
|
||||
readonly feeAssetItem: u32;
|
||||
} & Struct;
|
||||
readonly isReserveTransferAssets: boolean;
|
||||
readonly asReserveTransferAssets: {
|
||||
readonly dest: XcmVersionedMultiLocation;
|
||||
readonly beneficiary: XcmVersionedMultiLocation;
|
||||
readonly assets: XcmVersionedMultiAssets;
|
||||
readonly feeAssetItem: u32;
|
||||
} & Struct;
|
||||
readonly isExecute: boolean;
|
||||
readonly asExecute: {
|
||||
readonly message: XcmVersionedXcm;
|
||||
readonly maxWeight: u64;
|
||||
} & Struct;
|
||||
readonly isForceXcmVersion: boolean;
|
||||
readonly asForceXcmVersion: {
|
||||
readonly location: XcmV1MultiLocation;
|
||||
readonly xcmVersion: u32;
|
||||
} & Struct;
|
||||
readonly isForceDefaultXcmVersion: boolean;
|
||||
readonly asForceDefaultXcmVersion: {
|
||||
readonly maybeXcmVersion: Option<u32>;
|
||||
} & Struct;
|
||||
readonly isForceSubscribeVersionNotify: boolean;
|
||||
readonly asForceSubscribeVersionNotify: {
|
||||
readonly location: XcmVersionedMultiLocation;
|
||||
} & Struct;
|
||||
readonly isForceUnsubscribeVersionNotify: boolean;
|
||||
readonly asForceUnsubscribeVersionNotify: {
|
||||
readonly location: XcmVersionedMultiLocation;
|
||||
} & Struct;
|
||||
readonly isLimitedReserveTransferAssets: boolean;
|
||||
readonly asLimitedReserveTransferAssets: {
|
||||
readonly dest: XcmVersionedMultiLocation;
|
||||
readonly beneficiary: XcmVersionedMultiLocation;
|
||||
readonly assets: XcmVersionedMultiAssets;
|
||||
readonly feeAssetItem: u32;
|
||||
readonly weightLimit: XcmV2WeightLimit;
|
||||
} & Struct;
|
||||
readonly isLimitedTeleportAssets: boolean;
|
||||
readonly asLimitedTeleportAssets: {
|
||||
readonly dest: XcmVersionedMultiLocation;
|
||||
readonly beneficiary: XcmVersionedMultiLocation;
|
||||
readonly assets: XcmVersionedMultiAssets;
|
||||
readonly feeAssetItem: u32;
|
||||
readonly weightLimit: XcmV2WeightLimit;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name XcmVersionedXcm (512) */
|
||||
export interface XcmVersionedXcm extends Enum {
|
||||
readonly isV0: boolean;
|
||||
@@ -808,6 +905,23 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isMigrateAndNotifyOldTargets: boolean;
|
||||
}
|
||||
|
||||
/** @name PalletXcmError (700) */
|
||||
export interface PalletXcmError extends Enum {
|
||||
readonly isUnreachable: boolean;
|
||||
readonly isSendFailure: boolean;
|
||||
readonly isFiltered: boolean;
|
||||
readonly isUnweighableMessage: boolean;
|
||||
readonly isDestinationNotInvertible: boolean;
|
||||
readonly isEmpty: boolean;
|
||||
readonly isCannotReanchor: boolean;
|
||||
readonly isTooManyAssets: boolean;
|
||||
readonly isInvalidOrigin: boolean;
|
||||
readonly isBadVersion: boolean;
|
||||
readonly isBadLocation: boolean;
|
||||
readonly isNoSubscription: boolean;
|
||||
readonly isAlreadySubscribed: boolean;
|
||||
}
|
||||
|
||||
/** @name KusamaRuntimeRuntime (711) */
|
||||
export type KusamaRuntimeRuntime = Null;
|
||||
|
||||
|
||||
@@ -1,12 +1,19 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BitVec, Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
|
||||
import type { BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
import type { ITuple } from '@polkadot/types/types';
|
||||
|
||||
declare module '@polkadot/types/lookup' {
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletEvent (65) */
|
||||
export interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
|
||||
readonly isClaimed: boolean;
|
||||
readonly asClaimed: ITuple<[AccountId32, EthereumAddress, u128]>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeProxyType (72) */
|
||||
export interface PolkadotRuntimeProxyType extends Enum {
|
||||
readonly isAny: boolean;
|
||||
@@ -18,6 +25,16 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isAuction: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (82) */
|
||||
export interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum {
|
||||
readonly isCandidateBacked: boolean;
|
||||
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesV1CandidateReceipt, Bytes, u32, u32]>;
|
||||
readonly isCandidateIncluded: boolean;
|
||||
readonly asCandidateIncluded: ITuple<[PolkadotPrimitivesV1CandidateReceipt, Bytes, u32, u32]>;
|
||||
readonly isCandidateTimedOut: boolean;
|
||||
readonly asCandidateTimedOut: ITuple<[PolkadotPrimitivesV1CandidateReceipt, Bytes, u32]>;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV1CandidateReceipt (83) */
|
||||
export interface PolkadotPrimitivesV1CandidateReceipt extends Struct {
|
||||
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
|
||||
@@ -43,6 +60,38 @@ declare module '@polkadot/types/lookup' {
|
||||
/** @name PolkadotPrimitivesV0CollatorAppSignature (87) */
|
||||
export interface PolkadotPrimitivesV0CollatorAppSignature extends SpCoreSr25519Signature {}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsParasPalletEvent (94) */
|
||||
export interface PolkadotRuntimeParachainsParasPalletEvent extends Enum {
|
||||
readonly isCurrentCodeUpdated: boolean;
|
||||
readonly asCurrentCodeUpdated: u32;
|
||||
readonly isCurrentHeadUpdated: boolean;
|
||||
readonly asCurrentHeadUpdated: u32;
|
||||
readonly isCodeUpgradeScheduled: boolean;
|
||||
readonly asCodeUpgradeScheduled: u32;
|
||||
readonly isNewHeadNoted: boolean;
|
||||
readonly asNewHeadNoted: u32;
|
||||
readonly isActionQueued: boolean;
|
||||
readonly asActionQueued: ITuple<[u32, u32]>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsUmpPalletEvent (95) */
|
||||
export interface PolkadotRuntimeParachainsUmpPalletEvent extends Enum {
|
||||
readonly isInvalidFormat: boolean;
|
||||
readonly asInvalidFormat: U8aFixed;
|
||||
readonly isUnsupportedVersion: boolean;
|
||||
readonly asUnsupportedVersion: U8aFixed;
|
||||
readonly isExecutedUpward: boolean;
|
||||
readonly asExecutedUpward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
|
||||
readonly isWeightExhausted: boolean;
|
||||
readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;
|
||||
readonly isUpwardMessagesReceived: boolean;
|
||||
readonly asUpwardMessagesReceived: ITuple<[u32, u32, u32]>;
|
||||
readonly isOverweightEnqueued: boolean;
|
||||
readonly asOverweightEnqueued: ITuple<[u32, U8aFixed, u64, u64]>;
|
||||
readonly isOverweightServiced: boolean;
|
||||
readonly asOverweightServiced: ITuple<[u64, u64]>;
|
||||
}
|
||||
|
||||
/** @name XcmV2TraitsOutcome (96) */
|
||||
export interface XcmV2TraitsOutcome extends Enum {
|
||||
readonly isComplete: boolean;
|
||||
@@ -85,12 +134,84 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isWeightNotComputable: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (98) */
|
||||
export interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum {
|
||||
readonly isOpenChannelRequested: boolean;
|
||||
readonly asOpenChannelRequested: ITuple<[u32, u32, u32, u32]>;
|
||||
readonly isOpenChannelCanceled: boolean;
|
||||
readonly asOpenChannelCanceled: ITuple<[u32, PolkadotParachainPrimitivesHrmpChannelId]>;
|
||||
readonly isOpenChannelAccepted: boolean;
|
||||
readonly asOpenChannelAccepted: ITuple<[u32, u32]>;
|
||||
readonly isChannelClosed: boolean;
|
||||
readonly asChannelClosed: ITuple<[u32, PolkadotParachainPrimitivesHrmpChannelId]>;
|
||||
}
|
||||
|
||||
/** @name PolkadotParachainPrimitivesHrmpChannelId (99) */
|
||||
export interface PolkadotParachainPrimitivesHrmpChannelId extends Struct {
|
||||
readonly sender: u32;
|
||||
readonly recipient: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (100) */
|
||||
export interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum {
|
||||
readonly isRegistered: boolean;
|
||||
readonly asRegistered: ITuple<[u32, AccountId32]>;
|
||||
readonly isDeregistered: boolean;
|
||||
readonly asDeregistered: u32;
|
||||
readonly isReserved: boolean;
|
||||
readonly asReserved: ITuple<[u32, AccountId32]>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonSlotsPalletEvent (101) */
|
||||
export interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum {
|
||||
readonly isNewLeasePeriod: boolean;
|
||||
readonly asNewLeasePeriod: u32;
|
||||
readonly isLeased: boolean;
|
||||
readonly asLeased: ITuple<[u32, AccountId32, u32, u32, u128, u128]>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (102) */
|
||||
export interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum {
|
||||
readonly isAuctionStarted: boolean;
|
||||
readonly asAuctionStarted: ITuple<[u32, u32, u32]>;
|
||||
readonly isAuctionClosed: boolean;
|
||||
readonly asAuctionClosed: u32;
|
||||
readonly isReserved: boolean;
|
||||
readonly asReserved: ITuple<[AccountId32, u128, u128]>;
|
||||
readonly isUnreserved: boolean;
|
||||
readonly asUnreserved: ITuple<[AccountId32, u128]>;
|
||||
readonly isReserveConfiscated: boolean;
|
||||
readonly asReserveConfiscated: ITuple<[u32, AccountId32, u128]>;
|
||||
readonly isBidAccepted: boolean;
|
||||
readonly asBidAccepted: ITuple<[AccountId32, u32, u128, u32, u32]>;
|
||||
readonly isWinningOffset: boolean;
|
||||
readonly asWinningOffset: ITuple<[u32, u32]>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (103) */
|
||||
export interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum {
|
||||
readonly isCreated: boolean;
|
||||
readonly asCreated: u32;
|
||||
readonly isContributed: boolean;
|
||||
readonly asContributed: ITuple<[AccountId32, u32, u128]>;
|
||||
readonly isWithdrew: boolean;
|
||||
readonly asWithdrew: ITuple<[AccountId32, u32, u128]>;
|
||||
readonly isPartiallyRefunded: boolean;
|
||||
readonly asPartiallyRefunded: u32;
|
||||
readonly isAllRefunded: boolean;
|
||||
readonly asAllRefunded: u32;
|
||||
readonly isDissolved: boolean;
|
||||
readonly asDissolved: u32;
|
||||
readonly isHandleBidResult: boolean;
|
||||
readonly asHandleBidResult: ITuple<[u32, Result<Null, SpRuntimeDispatchError>]>;
|
||||
readonly isEdited: boolean;
|
||||
readonly asEdited: u32;
|
||||
readonly isMemoUpdated: boolean;
|
||||
readonly asMemoUpdated: ITuple<[AccountId32, u32, Bytes]>;
|
||||
readonly isAddedToNewRaise: boolean;
|
||||
readonly asAddedToNewRaise: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeSessionKeys (162) */
|
||||
export interface PolkadotRuntimeSessionKeys extends Struct {
|
||||
readonly grandpa: SpFinalityGrandpaAppPublic;
|
||||
@@ -107,6 +228,38 @@ declare module '@polkadot/types/lookup' {
|
||||
/** @name PolkadotPrimitivesV1AssignmentAppPublic (164) */
|
||||
export interface PolkadotPrimitivesV1AssignmentAppPublic extends SpCoreSr25519Public {}
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletCall (195) */
|
||||
export interface PolkadotRuntimeCommonClaimsPalletCall extends Enum {
|
||||
readonly isClaim: boolean;
|
||||
readonly asClaim: {
|
||||
readonly dest: AccountId32;
|
||||
readonly ethereumSignature: PolkadotRuntimeCommonClaimsEcdsaSignature;
|
||||
} & Struct;
|
||||
readonly isMintClaim: boolean;
|
||||
readonly asMintClaim: {
|
||||
readonly who: EthereumAddress;
|
||||
readonly value: u128;
|
||||
readonly vestingSchedule: Option<ITuple<[u128, u128, u32]>>;
|
||||
readonly statement: Option<PolkadotRuntimeCommonClaimsStatementKind>;
|
||||
} & Struct;
|
||||
readonly isClaimAttest: boolean;
|
||||
readonly asClaimAttest: {
|
||||
readonly dest: AccountId32;
|
||||
readonly ethereumSignature: PolkadotRuntimeCommonClaimsEcdsaSignature;
|
||||
readonly statement: Bytes;
|
||||
} & Struct;
|
||||
readonly isAttest: boolean;
|
||||
readonly asAttest: {
|
||||
readonly statement: Bytes;
|
||||
} & Struct;
|
||||
readonly isMoveClaim: boolean;
|
||||
readonly asMoveClaim: {
|
||||
readonly old: EthereumAddress;
|
||||
readonly new_: EthereumAddress;
|
||||
readonly maybePreclaim: Option<AccountId32>;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsEcdsaSignature (196) */
|
||||
export interface PolkadotRuntimeCommonClaimsEcdsaSignature extends U8aFixed {}
|
||||
|
||||
@@ -155,6 +308,188 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly votes16: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsConfigurationPalletCall (319) */
|
||||
export interface PolkadotRuntimeParachainsConfigurationPalletCall extends Enum {
|
||||
readonly isSetValidationUpgradeFrequency: boolean;
|
||||
readonly asSetValidationUpgradeFrequency: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetValidationUpgradeDelay: boolean;
|
||||
readonly asSetValidationUpgradeDelay: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetCodeRetentionPeriod: boolean;
|
||||
readonly asSetCodeRetentionPeriod: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxCodeSize: boolean;
|
||||
readonly asSetMaxCodeSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxPovSize: boolean;
|
||||
readonly asSetMaxPovSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxHeadDataSize: boolean;
|
||||
readonly asSetMaxHeadDataSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetParathreadCores: boolean;
|
||||
readonly asSetParathreadCores: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetParathreadRetries: boolean;
|
||||
readonly asSetParathreadRetries: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetGroupRotationFrequency: boolean;
|
||||
readonly asSetGroupRotationFrequency: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetChainAvailabilityPeriod: boolean;
|
||||
readonly asSetChainAvailabilityPeriod: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetThreadAvailabilityPeriod: boolean;
|
||||
readonly asSetThreadAvailabilityPeriod: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetSchedulingLookahead: boolean;
|
||||
readonly asSetSchedulingLookahead: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxValidatorsPerCore: boolean;
|
||||
readonly asSetMaxValidatorsPerCore: {
|
||||
readonly new_: Option<u32>;
|
||||
} & Struct;
|
||||
readonly isSetMaxValidators: boolean;
|
||||
readonly asSetMaxValidators: {
|
||||
readonly new_: Option<u32>;
|
||||
} & Struct;
|
||||
readonly isSetDisputePeriod: boolean;
|
||||
readonly asSetDisputePeriod: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetDisputePostConclusionAcceptancePeriod: boolean;
|
||||
readonly asSetDisputePostConclusionAcceptancePeriod: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetDisputeMaxSpamSlots: boolean;
|
||||
readonly asSetDisputeMaxSpamSlots: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetDisputeConclusionByTimeOutPeriod: boolean;
|
||||
readonly asSetDisputeConclusionByTimeOutPeriod: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetNoShowSlots: boolean;
|
||||
readonly asSetNoShowSlots: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetNDelayTranches: boolean;
|
||||
readonly asSetNDelayTranches: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetZerothDelayTrancheWidth: boolean;
|
||||
readonly asSetZerothDelayTrancheWidth: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetNeededApprovals: boolean;
|
||||
readonly asSetNeededApprovals: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetRelayVrfModuloSamples: boolean;
|
||||
readonly asSetRelayVrfModuloSamples: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxUpwardQueueCount: boolean;
|
||||
readonly asSetMaxUpwardQueueCount: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxUpwardQueueSize: boolean;
|
||||
readonly asSetMaxUpwardQueueSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxDownwardMessageSize: boolean;
|
||||
readonly asSetMaxDownwardMessageSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetUmpServiceTotalWeight: boolean;
|
||||
readonly asSetUmpServiceTotalWeight: {
|
||||
readonly new_: u64;
|
||||
} & Struct;
|
||||
readonly isSetMaxUpwardMessageSize: boolean;
|
||||
readonly asSetMaxUpwardMessageSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetMaxUpwardMessageNumPerCandidate: boolean;
|
||||
readonly asSetMaxUpwardMessageNumPerCandidate: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpOpenRequestTtl: boolean;
|
||||
readonly asSetHrmpOpenRequestTtl: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpSenderDeposit: boolean;
|
||||
readonly asSetHrmpSenderDeposit: {
|
||||
readonly new_: u128;
|
||||
} & Struct;
|
||||
readonly isSetHrmpRecipientDeposit: boolean;
|
||||
readonly asSetHrmpRecipientDeposit: {
|
||||
readonly new_: u128;
|
||||
} & Struct;
|
||||
readonly isSetHrmpChannelMaxCapacity: boolean;
|
||||
readonly asSetHrmpChannelMaxCapacity: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpChannelMaxTotalSize: boolean;
|
||||
readonly asSetHrmpChannelMaxTotalSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpMaxParachainInboundChannels: boolean;
|
||||
readonly asSetHrmpMaxParachainInboundChannels: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpMaxParathreadInboundChannels: boolean;
|
||||
readonly asSetHrmpMaxParathreadInboundChannels: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpChannelMaxMessageSize: boolean;
|
||||
readonly asSetHrmpChannelMaxMessageSize: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpMaxParachainOutboundChannels: boolean;
|
||||
readonly asSetHrmpMaxParachainOutboundChannels: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpMaxParathreadOutboundChannels: boolean;
|
||||
readonly asSetHrmpMaxParathreadOutboundChannels: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetHrmpMaxMessageNumPerCandidate: boolean;
|
||||
readonly asSetHrmpMaxMessageNumPerCandidate: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetUmpMaxIndividualWeight: boolean;
|
||||
readonly asSetUmpMaxIndividualWeight: {
|
||||
readonly new_: u64;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsSharedPalletCall (320) */
|
||||
export type PolkadotRuntimeParachainsSharedPalletCall = Null;
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInclusionPalletCall (321) */
|
||||
export type PolkadotRuntimeParachainsInclusionPalletCall = Null;
|
||||
|
||||
/** @name PolkadotRuntimeParachainsParasInherentPalletCall (322) */
|
||||
export interface PolkadotRuntimeParachainsParasInherentPalletCall extends Enum {
|
||||
readonly isEnter: boolean;
|
||||
readonly asEnter: {
|
||||
readonly data: PolkadotPrimitivesV1InherentData;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV1InherentData (323) */
|
||||
export interface PolkadotPrimitivesV1InherentData extends Struct {
|
||||
readonly bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>;
|
||||
@@ -243,6 +578,203 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isExplicit: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsParasPalletCall (349) */
|
||||
export interface PolkadotRuntimeParachainsParasPalletCall extends Enum {
|
||||
readonly isForceSetCurrentCode: boolean;
|
||||
readonly asForceSetCurrentCode: {
|
||||
readonly para: u32;
|
||||
readonly newCode: Bytes;
|
||||
} & Struct;
|
||||
readonly isForceSetCurrentHead: boolean;
|
||||
readonly asForceSetCurrentHead: {
|
||||
readonly para: u32;
|
||||
readonly newHead: Bytes;
|
||||
} & Struct;
|
||||
readonly isForceScheduleCodeUpgrade: boolean;
|
||||
readonly asForceScheduleCodeUpgrade: {
|
||||
readonly para: u32;
|
||||
readonly newCode: Bytes;
|
||||
readonly relayParentNumber: u32;
|
||||
} & Struct;
|
||||
readonly isForceNoteNewHead: boolean;
|
||||
readonly asForceNoteNewHead: {
|
||||
readonly para: u32;
|
||||
readonly newHead: Bytes;
|
||||
} & Struct;
|
||||
readonly isForceQueueAction: boolean;
|
||||
readonly asForceQueueAction: {
|
||||
readonly para: u32;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInitializerPalletCall (350) */
|
||||
export interface PolkadotRuntimeParachainsInitializerPalletCall extends Enum {
|
||||
readonly isForceApprove: boolean;
|
||||
readonly asForceApprove: {
|
||||
readonly upTo: u32;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDmpPalletCall (351) */
|
||||
export type PolkadotRuntimeParachainsDmpPalletCall = Null;
|
||||
|
||||
/** @name PolkadotRuntimeParachainsUmpPalletCall (352) */
|
||||
export interface PolkadotRuntimeParachainsUmpPalletCall extends Enum {
|
||||
readonly isServiceOverweight: boolean;
|
||||
readonly asServiceOverweight: {
|
||||
readonly index: u64;
|
||||
readonly weightLimit: u64;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsHrmpPalletCall (353) */
|
||||
export interface PolkadotRuntimeParachainsHrmpPalletCall extends Enum {
|
||||
readonly isHrmpInitOpenChannel: boolean;
|
||||
readonly asHrmpInitOpenChannel: {
|
||||
readonly recipient: u32;
|
||||
readonly proposedMaxCapacity: u32;
|
||||
readonly proposedMaxMessageSize: u32;
|
||||
} & Struct;
|
||||
readonly isHrmpAcceptOpenChannel: boolean;
|
||||
readonly asHrmpAcceptOpenChannel: {
|
||||
readonly sender: u32;
|
||||
} & Struct;
|
||||
readonly isHrmpCloseChannel: boolean;
|
||||
readonly asHrmpCloseChannel: {
|
||||
readonly channelId: PolkadotParachainPrimitivesHrmpChannelId;
|
||||
} & Struct;
|
||||
readonly isForceCleanHrmp: boolean;
|
||||
readonly asForceCleanHrmp: {
|
||||
readonly para: u32;
|
||||
} & Struct;
|
||||
readonly isForceProcessHrmpOpen: boolean;
|
||||
readonly isForceProcessHrmpClose: boolean;
|
||||
readonly isHrmpCancelOpenRequest: boolean;
|
||||
readonly asHrmpCancelOpenRequest: {
|
||||
readonly channelId: PolkadotParachainPrimitivesHrmpChannelId;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletCall (354) */
|
||||
export interface PolkadotRuntimeCommonParasRegistrarPalletCall extends Enum {
|
||||
readonly isRegister: boolean;
|
||||
readonly asRegister: {
|
||||
readonly id: u32;
|
||||
readonly genesisHead: Bytes;
|
||||
readonly validationCode: Bytes;
|
||||
} & Struct;
|
||||
readonly isForceRegister: boolean;
|
||||
readonly asForceRegister: {
|
||||
readonly who: AccountId32;
|
||||
readonly deposit: u128;
|
||||
readonly id: u32;
|
||||
readonly genesisHead: Bytes;
|
||||
readonly validationCode: Bytes;
|
||||
} & Struct;
|
||||
readonly isDeregister: boolean;
|
||||
readonly asDeregister: {
|
||||
readonly id: u32;
|
||||
} & Struct;
|
||||
readonly isSwap: boolean;
|
||||
readonly asSwap: {
|
||||
readonly id: u32;
|
||||
readonly other: u32;
|
||||
} & Struct;
|
||||
readonly isForceRemoveLock: boolean;
|
||||
readonly asForceRemoveLock: {
|
||||
readonly para: u32;
|
||||
} & Struct;
|
||||
readonly isReserve: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonSlotsPalletCall (355) */
|
||||
export interface PolkadotRuntimeCommonSlotsPalletCall extends Enum {
|
||||
readonly isForceLease: boolean;
|
||||
readonly asForceLease: {
|
||||
readonly para: u32;
|
||||
readonly leaser: AccountId32;
|
||||
readonly amount: u128;
|
||||
readonly periodBegin: u32;
|
||||
readonly periodCount: u32;
|
||||
} & Struct;
|
||||
readonly isClearAllLeases: boolean;
|
||||
readonly asClearAllLeases: {
|
||||
readonly para: u32;
|
||||
} & Struct;
|
||||
readonly isTriggerOnboard: boolean;
|
||||
readonly asTriggerOnboard: {
|
||||
readonly para: u32;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonAuctionsPalletCall (356) */
|
||||
export interface PolkadotRuntimeCommonAuctionsPalletCall extends Enum {
|
||||
readonly isNewAuction: boolean;
|
||||
readonly asNewAuction: {
|
||||
readonly duration: Compact<u32>;
|
||||
readonly leasePeriodIndex: Compact<u32>;
|
||||
} & Struct;
|
||||
readonly isBid: boolean;
|
||||
readonly asBid: {
|
||||
readonly para: Compact<u32>;
|
||||
readonly auctionIndex: Compact<u32>;
|
||||
readonly firstSlot: Compact<u32>;
|
||||
readonly lastSlot: Compact<u32>;
|
||||
readonly amount: Compact<u128>;
|
||||
} & Struct;
|
||||
readonly isCancelAuction: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonCrowdloanPalletCall (358) */
|
||||
export interface PolkadotRuntimeCommonCrowdloanPalletCall extends Enum {
|
||||
readonly isCreate: boolean;
|
||||
readonly asCreate: {
|
||||
readonly index: Compact<u32>;
|
||||
readonly cap: Compact<u128>;
|
||||
readonly firstPeriod: Compact<u32>;
|
||||
readonly lastPeriod: Compact<u32>;
|
||||
readonly end: Compact<u32>;
|
||||
readonly verifier: Option<SpRuntimeMultiSigner>;
|
||||
} & Struct;
|
||||
readonly isContribute: boolean;
|
||||
readonly asContribute: {
|
||||
readonly index: Compact<u32>;
|
||||
readonly value: Compact<u128>;
|
||||
readonly signature: Option<SpRuntimeMultiSignature>;
|
||||
} & Struct;
|
||||
readonly isWithdraw: boolean;
|
||||
readonly asWithdraw: {
|
||||
readonly who: AccountId32;
|
||||
readonly index: Compact<u32>;
|
||||
} & Struct;
|
||||
readonly isRefund: boolean;
|
||||
readonly asRefund: {
|
||||
readonly index: Compact<u32>;
|
||||
} & Struct;
|
||||
readonly isDissolve: boolean;
|
||||
readonly asDissolve: {
|
||||
readonly index: Compact<u32>;
|
||||
} & Struct;
|
||||
readonly isEdit: boolean;
|
||||
readonly asEdit: {
|
||||
readonly index: Compact<u32>;
|
||||
readonly cap: Compact<u128>;
|
||||
readonly firstPeriod: Compact<u32>;
|
||||
readonly lastPeriod: Compact<u32>;
|
||||
readonly end: Compact<u32>;
|
||||
readonly verifier: Option<SpRuntimeMultiSigner>;
|
||||
} & Struct;
|
||||
readonly isAddMemo: boolean;
|
||||
readonly asAddMemo: {
|
||||
readonly index: u32;
|
||||
readonly memo: Bytes;
|
||||
} & Struct;
|
||||
readonly isPoke: boolean;
|
||||
readonly asPoke: {
|
||||
readonly index: u32;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name SpRuntimeMultiSigner (360) */
|
||||
export interface SpRuntimeMultiSigner extends Enum {
|
||||
readonly isEd25519: boolean;
|
||||
@@ -256,6 +788,16 @@ declare module '@polkadot/types/lookup' {
|
||||
/** @name SpCoreEcdsaPublic (361) */
|
||||
export interface SpCoreEcdsaPublic extends U8aFixed {}
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletError (464) */
|
||||
export interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
|
||||
readonly isInvalidEthereumSignature: boolean;
|
||||
readonly isSignerHasNoClaim: boolean;
|
||||
readonly isSenderHasNoClaim: boolean;
|
||||
readonly isPotUnderflow: boolean;
|
||||
readonly isInvalidStatement: boolean;
|
||||
readonly isVestedBalanceExists: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (514) */
|
||||
export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
|
||||
readonly maxCodeSize: u32;
|
||||
@@ -300,6 +842,11 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly umpMaxIndividualWeight: u64;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsConfigurationPalletError (515) */
|
||||
export interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
|
||||
readonly isInvalidNewValue: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (518) */
|
||||
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
|
||||
readonly bitfield: BitVec;
|
||||
@@ -318,6 +865,33 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly backingGroup: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInclusionPalletError (520) */
|
||||
export interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
|
||||
readonly isWrongBitfieldSize: boolean;
|
||||
readonly isBitfieldDuplicateOrUnordered: boolean;
|
||||
readonly isValidatorIndexOutOfBounds: boolean;
|
||||
readonly isInvalidBitfieldSignature: boolean;
|
||||
readonly isUnscheduledCandidate: boolean;
|
||||
readonly isCandidateScheduledBeforeParaFree: boolean;
|
||||
readonly isWrongCollator: boolean;
|
||||
readonly isScheduledOutOfOrder: boolean;
|
||||
readonly isHeadDataTooLarge: boolean;
|
||||
readonly isPrematureCodeUpgrade: boolean;
|
||||
readonly isNewCodeTooLarge: boolean;
|
||||
readonly isCandidateNotInParentContext: boolean;
|
||||
readonly isInvalidGroupIndex: boolean;
|
||||
readonly isInsufficientBacking: boolean;
|
||||
readonly isInvalidBacking: boolean;
|
||||
readonly isNotCollatorSigned: boolean;
|
||||
readonly isValidationDataHashMismatch: boolean;
|
||||
readonly isIncorrectDownwardMessageHandling: boolean;
|
||||
readonly isInvalidUpwardMessages: boolean;
|
||||
readonly isHrmpWatermarkMishandling: boolean;
|
||||
readonly isInvalidOutboundHrmp: boolean;
|
||||
readonly isInvalidValidationCodeHash: boolean;
|
||||
readonly isParaHeadMismatch: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV1ScrapedOnChainVotes (521) */
|
||||
export interface PolkadotPrimitivesV1ScrapedOnChainVotes extends Struct {
|
||||
readonly session: u32;
|
||||
@@ -325,6 +899,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly disputes: Vec<PolkadotPrimitivesV1DisputeStatementSet>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsParasInherentPalletError (526) */
|
||||
export interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
|
||||
readonly isTooManyInclusionInherents: boolean;
|
||||
readonly isInvalidParentHeader: boolean;
|
||||
readonly isCandidateConcludedInvalid: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (528) */
|
||||
export interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
|
||||
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
|
||||
@@ -409,6 +990,15 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly parachain: bool;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsParasPalletError (549) */
|
||||
export interface PolkadotRuntimeParachainsParasPalletError extends Enum {
|
||||
readonly isNotRegistered: boolean;
|
||||
readonly isCannotOnboard: boolean;
|
||||
readonly isCannotOffboard: boolean;
|
||||
readonly isCannotUpgrade: boolean;
|
||||
readonly isCannotDowngrade: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (551) */
|
||||
export interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
|
||||
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
||||
@@ -422,6 +1012,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly msg: Bytes;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsUmpPalletError (555) */
|
||||
export interface PolkadotRuntimeParachainsUmpPalletError extends Enum {
|
||||
readonly isUnknownMessageIndex: boolean;
|
||||
readonly isWeightOverLimit: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (556) */
|
||||
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
|
||||
readonly confirmed: bool;
|
||||
@@ -450,6 +1046,28 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly data: Bytes;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsHrmpPalletError (564) */
|
||||
export interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
|
||||
readonly isOpenHrmpChannelToSelf: boolean;
|
||||
readonly isOpenHrmpChannelInvalidRecipient: boolean;
|
||||
readonly isOpenHrmpChannelZeroCapacity: boolean;
|
||||
readonly isOpenHrmpChannelCapacityExceedsLimit: boolean;
|
||||
readonly isOpenHrmpChannelZeroMessageSize: boolean;
|
||||
readonly isOpenHrmpChannelMessageSizeExceedsLimit: boolean;
|
||||
readonly isOpenHrmpChannelAlreadyExists: boolean;
|
||||
readonly isOpenHrmpChannelAlreadyRequested: boolean;
|
||||
readonly isOpenHrmpChannelLimitExceeded: boolean;
|
||||
readonly isAcceptHrmpChannelDoesntExist: boolean;
|
||||
readonly isAcceptHrmpChannelAlreadyConfirmed: boolean;
|
||||
readonly isAcceptHrmpChannelLimitExceeded: boolean;
|
||||
readonly isCloseHrmpChannelUnauthorized: boolean;
|
||||
readonly isCloseHrmpChannelDoesntExist: boolean;
|
||||
readonly isCloseHrmpChannelAlreadyUnderway: boolean;
|
||||
readonly isCancelHrmpOpenChannelUnauthorized: boolean;
|
||||
readonly isOpenHrmpChannelDoesntExist: boolean;
|
||||
readonly isOpenHrmpChannelAlreadyConfirmed: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV1SessionInfo (566) */
|
||||
export interface PolkadotPrimitivesV1SessionInfo extends Struct {
|
||||
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
||||
@@ -471,6 +1089,39 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly locked: bool;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (569) */
|
||||
export interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
|
||||
readonly isNotRegistered: boolean;
|
||||
readonly isAlreadyRegistered: boolean;
|
||||
readonly isNotOwner: boolean;
|
||||
readonly isCodeTooLarge: boolean;
|
||||
readonly isHeadDataTooLarge: boolean;
|
||||
readonly isNotParachain: boolean;
|
||||
readonly isNotParathread: boolean;
|
||||
readonly isCannotDeregister: boolean;
|
||||
readonly isCannotDowngrade: boolean;
|
||||
readonly isCannotUpgrade: boolean;
|
||||
readonly isParaLocked: boolean;
|
||||
readonly isNotReserved: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonSlotsPalletError (572) */
|
||||
export interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
|
||||
readonly isParaNotOnboarding: boolean;
|
||||
readonly isLeaseError: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonAuctionsPalletError (577) */
|
||||
export interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
|
||||
readonly isAuctionInProgress: boolean;
|
||||
readonly isLeasePeriodInPast: boolean;
|
||||
readonly isParaNotRegistered: boolean;
|
||||
readonly isNotCurrentAuction: boolean;
|
||||
readonly isNotAuction: boolean;
|
||||
readonly isAuctionEnded: boolean;
|
||||
readonly isAlreadyLeasedOut: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (578) */
|
||||
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
|
||||
readonly depositor: AccountId32;
|
||||
@@ -494,6 +1145,33 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asEnding: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonCrowdloanPalletError (580) */
|
||||
export interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
|
||||
readonly isFirstPeriodInPast: boolean;
|
||||
readonly isFirstPeriodTooFarInFuture: boolean;
|
||||
readonly isLastPeriodBeforeFirstPeriod: boolean;
|
||||
readonly isLastPeriodTooFarInFuture: boolean;
|
||||
readonly isCannotEndInPast: boolean;
|
||||
readonly isEndTooFarInFuture: boolean;
|
||||
readonly isOverflow: boolean;
|
||||
readonly isContributionTooSmall: boolean;
|
||||
readonly isInvalidParaId: boolean;
|
||||
readonly isCapExceeded: boolean;
|
||||
readonly isContributionPeriodOver: boolean;
|
||||
readonly isInvalidOrigin: boolean;
|
||||
readonly isNotParachain: boolean;
|
||||
readonly isLeaseActive: boolean;
|
||||
readonly isBidOrLeaseActive: boolean;
|
||||
readonly isFundNotEnded: boolean;
|
||||
readonly isNoContributions: boolean;
|
||||
readonly isNotReadyToDissolve: boolean;
|
||||
readonly isInvalidSignature: boolean;
|
||||
readonly isMemoTooLarge: boolean;
|
||||
readonly isAlreadyInNewRaise: boolean;
|
||||
readonly isVrfDelayInProgress: boolean;
|
||||
readonly isNoLeasePeriod: boolean;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (591) */
|
||||
export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user