difftreelog
refactor(identity) rename insert_identities > set + regenerate types
in: master
6 files changed
pallets/data-management/src/lib.rsdiffbeforeafterboth--- a/pallets/data-management/src/lib.rs
+++ b/pallets/data-management/src/lib.rs
@@ -154,7 +154,7 @@
/// Insert or remove identities.
#[pallet::call_index(5)]
#[pallet::weight(<SelfWeightOf<T>>::insert_events(identities.len() as u32))] // todo:collator weight
- pub fn insert_identities(
+ pub fn set_identities(
origin: OriginFor<T>,
identities: Vec<(
T::AccountId,
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -10,7 +10,7 @@
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Permill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -313,6 +313,10 @@
**/
insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
/**
+ * Insert or remove identities.
+ **/
+ insertIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
+ /**
* Insert items into contract storage, this method can be called
* multiple times
**/
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1477,7 +1477,11 @@
readonly asInsertEvents: {
readonly events: Vec<Bytes>;
} & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
+ readonly isInsertIdentities: boolean;
+ readonly asInsertIdentities: {
+ readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
+ } & Struct;
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'InsertIdentities';
}
/** @name PalletDataManagementError */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -3225,18 +3225,21 @@
logs: 'Vec<EthereumLog>',
},
insert_events: {
- events: 'Vec<Bytes>'
+ events: 'Vec<Bytes>',
+ },
+ set_identities: {
+ identities: 'Vec<(AccountId32,Option<PalletIdentityRegistration>)>'
}
}
},
/**
- * Lookup415: pallet_maintenance::pallet::Call<T>
+ * Lookup418: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: ['enable', 'disable']
},
/**
- * Lookup416: pallet_test_utils::pallet::Call<T>
+ * Lookup419: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -3255,32 +3258,32 @@
}
},
/**
- * Lookup418: pallet_sudo::pallet::Error<T>
+ * Lookup421: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup420: orml_vesting::module::Error<T>
+ * Lookup423: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup421: orml_xtokens::module::Error<T>
+ * Lookup424: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup424: orml_tokens::BalanceLock<Balance>
+ * Lookup427: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup426: orml_tokens::AccountData<Balance>
+ * Lookup429: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -3288,20 +3291,20 @@
frozen: 'u128'
},
/**
- * Lookup428: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup431: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup430: orml_tokens::module::Error<T>
+ * Lookup433: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup432: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup435: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -3309,19 +3312,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup433: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup436: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup436: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup439: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup439: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup442: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -3331,13 +3334,13 @@
lastIndex: 'u16'
},
/**
- * Lookup440: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup443: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup442: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup445: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3348,29 +3351,29 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup444: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup447: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup445: pallet_xcm::pallet::Error<T>
+ * Lookup448: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup446: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup449: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup447: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup450: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup448: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup451: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3378,25 +3381,25 @@
overweightCount: 'u64'
},
/**
- * Lookup451: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup454: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup455: pallet_unique::Error<T>
+ * Lookup458: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup456: pallet_configuration::pallet::Error<T>
+ * Lookup459: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup457: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup460: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3410,7 +3413,7 @@
flags: '[u8;1]'
},
/**
- * Lookup458: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup461: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3420,7 +3423,7 @@
}
},
/**
- * Lookup459: up_data_structs::Properties
+ * Lookup462: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3428,15 +3431,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup460: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup463: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup465: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup468: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup472: up_data_structs::CollectionStats
+ * Lookup475: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3444,18 +3447,18 @@
alive: 'u32'
},
/**
- * Lookup473: up_data_structs::TokenChild
+ * Lookup476: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup474: PhantomType::up_data_structs<T>
+ * Lookup477: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]',
/**
- * Lookup476: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup479: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3463,7 +3466,7 @@
pieces: 'u128'
},
/**
- * Lookup478: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup481: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3480,14 +3483,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup479: up_data_structs::RpcCollectionFlags
+ * Lookup482: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup480: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup483: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -3497,7 +3500,7 @@
nftsCount: 'u32'
},
/**
- * Lookup481: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup484: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3507,14 +3510,14 @@
pending: 'bool'
},
/**
- * Lookup483: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup486: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup484: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup487: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3523,14 +3526,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup485: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup488: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup486: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup489: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3538,14 +3541,14 @@
symbol: 'Bytes'
},
/**
- * Lookup487: rmrk_traits::nft::NftChild
+ * Lookup490: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup488: up_pov_estimate_rpc::PovInfo
+ * Lookup491: up_pov_estimate_rpc::PovInfo
**/
UpPovEstimateRpcPovInfo: {
proofSize: 'u64',
@@ -3555,7 +3558,7 @@
keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'
},
/**
- * Lookup491: sp_runtime::transaction_validity::TransactionValidityError
+ * Lookup494: sp_runtime::transaction_validity::TransactionValidityError
**/
SpRuntimeTransactionValidityTransactionValidityError: {
_enum: {
@@ -3564,7 +3567,7 @@
}
},
/**
- * Lookup492: sp_runtime::transaction_validity::InvalidTransaction
+ * Lookup495: sp_runtime::transaction_validity::InvalidTransaction
**/
SpRuntimeTransactionValidityInvalidTransaction: {
_enum: {
@@ -3582,7 +3585,7 @@
}
},
/**
- * Lookup493: sp_runtime::transaction_validity::UnknownTransaction
+ * Lookup496: sp_runtime::transaction_validity::UnknownTransaction
**/
SpRuntimeTransactionValidityUnknownTransaction: {
_enum: {
@@ -3592,86 +3595,86 @@
}
},
/**
- * Lookup495: up_pov_estimate_rpc::TrieKeyValue
+ * Lookup498: up_pov_estimate_rpc::TrieKeyValue
**/
UpPovEstimateRpcTrieKeyValue: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup497: pallet_common::pallet::Error<T>
+ * Lookup500: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup499: pallet_fungible::pallet::Error<T>
+ * Lookup502: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup503: pallet_refungible::pallet::Error<T>
+ * Lookup506: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup504: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup507: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup506: up_data_structs::PropertyScope
+ * Lookup509: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup509: pallet_nonfungible::pallet::Error<T>
+ * Lookup512: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup510: pallet_structure::pallet::Error<T>
+ * Lookup513: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup511: pallet_rmrk_core::pallet::Error<T>
+ * Lookup514: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
},
/**
- * Lookup513: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup516: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup519: pallet_app_promotion::pallet::Error<T>
+ * Lookup522: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup520: pallet_foreign_assets::module::Error<T>
+ * Lookup523: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup522: pallet_evm::pallet::Error<T>
+ * Lookup525: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
},
/**
- * Lookup525: fp_rpc::TransactionStatus
+ * Lookup528: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3683,11 +3686,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup527: ethbloom::Bloom
+ * Lookup530: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup529: ethereum::receipt::ReceiptV3
+ * Lookup532: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3697,7 +3700,7 @@
}
},
/**
- * Lookup530: ethereum::receipt::EIP658ReceiptData
+ * Lookup533: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3706,7 +3709,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup531: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup534: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3714,7 +3717,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup532: ethereum::header::Header
+ * Lookup535: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3734,23 +3737,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup533: ethereum_types::hash::H64
+ * Lookup536: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup538: pallet_ethereum::pallet::Error<T>
+ * Lookup541: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup539: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup542: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup540: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup543: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3760,35 +3763,35 @@
}
},
/**
- * Lookup541: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup544: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup547: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup550: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup548: pallet_data_management::pallet::Error<T>
+ * Lookup551: pallet_data_management::pallet::Error<T>
**/
PalletDataManagementError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup549: pallet_maintenance::pallet::Error<T>
+ * Lookup552: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup550: pallet_test_utils::pallet::Error<T>
+ * Lookup553: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup552: sp_runtime::MultiSignature
+ * Lookup555: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3798,55 +3801,55 @@
}
},
/**
- * Lookup553: sp_core::ed25519::Signature
+ * Lookup556: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup555: sp_core::sr25519::Signature
+ * Lookup558: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup556: sp_core::ecdsa::Signature
+ * Lookup559: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup559: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup562: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup560: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup563: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup561: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup564: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup564: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup567: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup565: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup568: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup566: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup569: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup567: opal_runtime::runtime_common::data_management::FilterIdentity
+ * Lookup570: opal_runtime::runtime_common::data_management::FilterIdentity
**/
OpalRuntimeRuntimeCommonDataManagementFilterIdentity: 'Null',
/**
- * Lookup568: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup571: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup569: opal_runtime::Runtime
+ * Lookup572: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup570: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup573: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth3513 readonly asInsertEvents: {3513 readonly asInsertEvents: {3514 readonly events: Vec<Bytes>;3514 readonly events: Vec<Bytes>;3515 } & Struct;3515 } & Struct;3516 readonly isInsertIdentities: boolean;3517 readonly asInsertIdentities: {3518 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;3519 } & Struct;3516 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3520 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'InsertIdentities';3517 }3521 }351835223519 /** @name PalletMaintenanceCall (415) */3523 /** @name PalletMaintenanceCall (418) */3520 interface PalletMaintenanceCall extends Enum {3524 interface PalletMaintenanceCall extends Enum {3521 readonly isEnable: boolean;3525 readonly isEnable: boolean;3522 readonly isDisable: boolean;3526 readonly isDisable: boolean;3523 readonly type: 'Enable' | 'Disable';3527 readonly type: 'Enable' | 'Disable';3524 }3528 }352535293526 /** @name PalletTestUtilsCall (416) */3530 /** @name PalletTestUtilsCall (419) */3527 interface PalletTestUtilsCall extends Enum {3531 interface PalletTestUtilsCall extends Enum {3528 readonly isEnable: boolean;3532 readonly isEnable: boolean;3529 readonly isSetTestValue: boolean;3533 readonly isSetTestValue: boolean;3543 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3547 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3544 }3548 }354535493546 /** @name PalletSudoError (418) */3550 /** @name PalletSudoError (421) */3547 interface PalletSudoError extends Enum {3551 interface PalletSudoError extends Enum {3548 readonly isRequireSudo: boolean;3552 readonly isRequireSudo: boolean;3549 readonly type: 'RequireSudo';3553 readonly type: 'RequireSudo';3550 }3554 }355135553552 /** @name OrmlVestingModuleError (420) */3556 /** @name OrmlVestingModuleError (423) */3553 interface OrmlVestingModuleError extends Enum {3557 interface OrmlVestingModuleError extends Enum {3554 readonly isZeroVestingPeriod: boolean;3558 readonly isZeroVestingPeriod: boolean;3555 readonly isZeroVestingPeriodCount: boolean;3559 readonly isZeroVestingPeriodCount: boolean;3560 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3564 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3561 }3565 }356235663563 /** @name OrmlXtokensModuleError (421) */3567 /** @name OrmlXtokensModuleError (424) */3564 interface OrmlXtokensModuleError extends Enum {3568 interface OrmlXtokensModuleError extends Enum {3565 readonly isAssetHasNoReserve: boolean;3569 readonly isAssetHasNoReserve: boolean;3566 readonly isNotCrossChainTransfer: boolean;3570 readonly isNotCrossChainTransfer: boolean;3584 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3588 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3585 }3589 }358635903587 /** @name OrmlTokensBalanceLock (424) */3591 /** @name OrmlTokensBalanceLock (427) */3588 interface OrmlTokensBalanceLock extends Struct {3592 interface OrmlTokensBalanceLock extends Struct {3589 readonly id: U8aFixed;3593 readonly id: U8aFixed;3590 readonly amount: u128;3594 readonly amount: u128;3591 }3595 }359235963593 /** @name OrmlTokensAccountData (426) */3597 /** @name OrmlTokensAccountData (429) */3594 interface OrmlTokensAccountData extends Struct {3598 interface OrmlTokensAccountData extends Struct {3595 readonly free: u128;3599 readonly free: u128;3596 readonly reserved: u128;3600 readonly reserved: u128;3597 readonly frozen: u128;3601 readonly frozen: u128;3598 }3602 }359936033600 /** @name OrmlTokensReserveData (428) */3604 /** @name OrmlTokensReserveData (431) */3601 interface OrmlTokensReserveData extends Struct {3605 interface OrmlTokensReserveData extends Struct {3602 readonly id: Null;3606 readonly id: Null;3603 readonly amount: u128;3607 readonly amount: u128;3604 }3608 }360536093606 /** @name OrmlTokensModuleError (430) */3610 /** @name OrmlTokensModuleError (433) */3607 interface OrmlTokensModuleError extends Enum {3611 interface OrmlTokensModuleError extends Enum {3608 readonly isBalanceTooLow: boolean;3612 readonly isBalanceTooLow: boolean;3609 readonly isAmountIntoBalanceFailed: boolean;3613 readonly isAmountIntoBalanceFailed: boolean;3616 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3620 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3617 }3621 }361836223619 /** @name CumulusPalletXcmpQueueInboundChannelDetails (432) */3623 /** @name CumulusPalletXcmpQueueInboundChannelDetails (435) */3620 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3624 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3621 readonly sender: u32;3625 readonly sender: u32;3622 readonly state: CumulusPalletXcmpQueueInboundState;3626 readonly state: CumulusPalletXcmpQueueInboundState;3623 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3627 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3624 }3628 }362536293626 /** @name CumulusPalletXcmpQueueInboundState (433) */3630 /** @name CumulusPalletXcmpQueueInboundState (436) */3627 interface CumulusPalletXcmpQueueInboundState extends Enum {3631 interface CumulusPalletXcmpQueueInboundState extends Enum {3628 readonly isOk: boolean;3632 readonly isOk: boolean;3629 readonly isSuspended: boolean;3633 readonly isSuspended: boolean;3630 readonly type: 'Ok' | 'Suspended';3634 readonly type: 'Ok' | 'Suspended';3631 }3635 }363236363633 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (436) */3637 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (439) */3634 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3638 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3635 readonly isConcatenatedVersionedXcm: boolean;3639 readonly isConcatenatedVersionedXcm: boolean;3636 readonly isConcatenatedEncodedBlob: boolean;3640 readonly isConcatenatedEncodedBlob: boolean;3637 readonly isSignals: boolean;3641 readonly isSignals: boolean;3638 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3642 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3639 }3643 }364036443641 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (439) */3645 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (442) */3642 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3646 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3643 readonly recipient: u32;3647 readonly recipient: u32;3644 readonly state: CumulusPalletXcmpQueueOutboundState;3648 readonly state: CumulusPalletXcmpQueueOutboundState;3647 readonly lastIndex: u16;3651 readonly lastIndex: u16;3648 }3652 }364936533650 /** @name CumulusPalletXcmpQueueOutboundState (440) */3654 /** @name CumulusPalletXcmpQueueOutboundState (443) */3651 interface CumulusPalletXcmpQueueOutboundState extends Enum {3655 interface CumulusPalletXcmpQueueOutboundState extends Enum {3652 readonly isOk: boolean;3656 readonly isOk: boolean;3653 readonly isSuspended: boolean;3657 readonly isSuspended: boolean;3654 readonly type: 'Ok' | 'Suspended';3658 readonly type: 'Ok' | 'Suspended';3655 }3659 }365636603657 /** @name CumulusPalletXcmpQueueQueueConfigData (442) */3661 /** @name CumulusPalletXcmpQueueQueueConfigData (445) */3658 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3662 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3659 readonly suspendThreshold: u32;3663 readonly suspendThreshold: u32;3660 readonly dropThreshold: u32;3664 readonly dropThreshold: u32;3664 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3668 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3665 }3669 }366636703667 /** @name CumulusPalletXcmpQueueError (444) */3671 /** @name CumulusPalletXcmpQueueError (447) */3668 interface CumulusPalletXcmpQueueError extends Enum {3672 interface CumulusPalletXcmpQueueError extends Enum {3669 readonly isFailedToSend: boolean;3673 readonly isFailedToSend: boolean;3670 readonly isBadXcmOrigin: boolean;3674 readonly isBadXcmOrigin: boolean;3674 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3678 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3675 }3679 }367636803677 /** @name PalletXcmError (445) */3681 /** @name PalletXcmError (448) */3678 interface PalletXcmError extends Enum {3682 interface PalletXcmError extends Enum {3679 readonly isUnreachable: boolean;3683 readonly isUnreachable: boolean;3680 readonly isSendFailure: boolean;3684 readonly isSendFailure: boolean;3692 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3696 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3693 }3697 }369436983695 /** @name CumulusPalletXcmError (446) */3699 /** @name CumulusPalletXcmError (449) */3696 type CumulusPalletXcmError = Null;3700 type CumulusPalletXcmError = Null;369737013698 /** @name CumulusPalletDmpQueueConfigData (447) */3702 /** @name CumulusPalletDmpQueueConfigData (450) */3699 interface CumulusPalletDmpQueueConfigData extends Struct {3703 interface CumulusPalletDmpQueueConfigData extends Struct {3700 readonly maxIndividual: SpWeightsWeightV2Weight;3704 readonly maxIndividual: SpWeightsWeightV2Weight;3701 }3705 }370237063703 /** @name CumulusPalletDmpQueuePageIndexData (448) */3707 /** @name CumulusPalletDmpQueuePageIndexData (451) */3704 interface CumulusPalletDmpQueuePageIndexData extends Struct {3708 interface CumulusPalletDmpQueuePageIndexData extends Struct {3705 readonly beginUsed: u32;3709 readonly beginUsed: u32;3706 readonly endUsed: u32;3710 readonly endUsed: u32;3707 readonly overweightCount: u64;3711 readonly overweightCount: u64;3708 }3712 }370937133710 /** @name CumulusPalletDmpQueueError (451) */3714 /** @name CumulusPalletDmpQueueError (454) */3711 interface CumulusPalletDmpQueueError extends Enum {3715 interface CumulusPalletDmpQueueError extends Enum {3712 readonly isUnknown: boolean;3716 readonly isUnknown: boolean;3713 readonly isOverLimit: boolean;3717 readonly isOverLimit: boolean;3714 readonly type: 'Unknown' | 'OverLimit';3718 readonly type: 'Unknown' | 'OverLimit';3715 }3719 }371637203717 /** @name PalletUniqueError (455) */3721 /** @name PalletUniqueError (458) */3718 interface PalletUniqueError extends Enum {3722 interface PalletUniqueError extends Enum {3719 readonly isCollectionDecimalPointLimitExceeded: boolean;3723 readonly isCollectionDecimalPointLimitExceeded: boolean;3720 readonly isEmptyArgument: boolean;3724 readonly isEmptyArgument: boolean;3721 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3725 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3722 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3726 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3723 }3727 }372437283725 /** @name PalletConfigurationError (456) */3729 /** @name PalletConfigurationError (459) */3726 interface PalletConfigurationError extends Enum {3730 interface PalletConfigurationError extends Enum {3727 readonly isInconsistentConfiguration: boolean;3731 readonly isInconsistentConfiguration: boolean;3728 readonly type: 'InconsistentConfiguration';3732 readonly type: 'InconsistentConfiguration';3729 }3733 }373037343731 /** @name UpDataStructsCollection (457) */3735 /** @name UpDataStructsCollection (460) */3732 interface UpDataStructsCollection extends Struct {3736 interface UpDataStructsCollection extends Struct {3733 readonly owner: AccountId32;3737 readonly owner: AccountId32;3734 readonly mode: UpDataStructsCollectionMode;3738 readonly mode: UpDataStructsCollectionMode;3741 readonly flags: U8aFixed;3745 readonly flags: U8aFixed;3742 }3746 }374337473744 /** @name UpDataStructsSponsorshipStateAccountId32 (458) */3748 /** @name UpDataStructsSponsorshipStateAccountId32 (461) */3745 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3749 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3746 readonly isDisabled: boolean;3750 readonly isDisabled: boolean;3747 readonly isUnconfirmed: boolean;3751 readonly isUnconfirmed: boolean;3751 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3755 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3752 }3756 }375337573754 /** @name UpDataStructsProperties (459) */3758 /** @name UpDataStructsProperties (462) */3755 interface UpDataStructsProperties extends Struct {3759 interface UpDataStructsProperties extends Struct {3756 readonly map: UpDataStructsPropertiesMapBoundedVec;3760 readonly map: UpDataStructsPropertiesMapBoundedVec;3757 readonly consumedSpace: u32;3761 readonly consumedSpace: u32;3758 readonly spaceLimit: u32;3762 readonly spaceLimit: u32;3759 }3763 }376037643761 /** @name UpDataStructsPropertiesMapBoundedVec (460) */3765 /** @name UpDataStructsPropertiesMapBoundedVec (463) */3762 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3766 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}376337673764 /** @name UpDataStructsPropertiesMapPropertyPermission (465) */3768 /** @name UpDataStructsPropertiesMapPropertyPermission (468) */3765 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3769 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}376637703767 /** @name UpDataStructsCollectionStats (472) */3771 /** @name UpDataStructsCollectionStats (475) */3768 interface UpDataStructsCollectionStats extends Struct {3772 interface UpDataStructsCollectionStats extends Struct {3769 readonly created: u32;3773 readonly created: u32;3770 readonly destroyed: u32;3774 readonly destroyed: u32;3771 readonly alive: u32;3775 readonly alive: u32;3772 }3776 }377337773774 /** @name UpDataStructsTokenChild (473) */3778 /** @name UpDataStructsTokenChild (476) */3775 interface UpDataStructsTokenChild extends Struct {3779 interface UpDataStructsTokenChild extends Struct {3776 readonly token: u32;3780 readonly token: u32;3777 readonly collection: u32;3781 readonly collection: u32;3778 }3782 }377937833780 /** @name PhantomTypeUpDataStructs (474) */3784 /** @name PhantomTypeUpDataStructs (477) */3781 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}3785 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}378237863783 /** @name UpDataStructsTokenData (476) */3787 /** @name UpDataStructsTokenData (479) */3784 interface UpDataStructsTokenData extends Struct {3788 interface UpDataStructsTokenData extends Struct {3785 readonly properties: Vec<UpDataStructsProperty>;3789 readonly properties: Vec<UpDataStructsProperty>;3786 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3790 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3787 readonly pieces: u128;3791 readonly pieces: u128;3788 }3792 }378937933790 /** @name UpDataStructsRpcCollection (478) */3794 /** @name UpDataStructsRpcCollection (481) */3791 interface UpDataStructsRpcCollection extends Struct {3795 interface UpDataStructsRpcCollection extends Struct {3792 readonly owner: AccountId32;3796 readonly owner: AccountId32;3793 readonly mode: UpDataStructsCollectionMode;3797 readonly mode: UpDataStructsCollectionMode;3803 readonly flags: UpDataStructsRpcCollectionFlags;3807 readonly flags: UpDataStructsRpcCollectionFlags;3804 }3808 }380538093806 /** @name UpDataStructsRpcCollectionFlags (479) */3810 /** @name UpDataStructsRpcCollectionFlags (482) */3807 interface UpDataStructsRpcCollectionFlags extends Struct {3811 interface UpDataStructsRpcCollectionFlags extends Struct {3808 readonly foreign: bool;3812 readonly foreign: bool;3809 readonly erc721metadata: bool;3813 readonly erc721metadata: bool;3810 }3814 }381138153812 /** @name RmrkTraitsCollectionCollectionInfo (480) */3816 /** @name RmrkTraitsCollectionCollectionInfo (483) */3813 interface RmrkTraitsCollectionCollectionInfo extends Struct {3817 interface RmrkTraitsCollectionCollectionInfo extends Struct {3814 readonly issuer: AccountId32;3818 readonly issuer: AccountId32;3815 readonly metadata: Bytes;3819 readonly metadata: Bytes;3818 readonly nftsCount: u32;3822 readonly nftsCount: u32;3819 }3823 }382038243821 /** @name RmrkTraitsNftNftInfo (481) */3825 /** @name RmrkTraitsNftNftInfo (484) */3822 interface RmrkTraitsNftNftInfo extends Struct {3826 interface RmrkTraitsNftNftInfo extends Struct {3823 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3827 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3824 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3828 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3827 readonly pending: bool;3831 readonly pending: bool;3828 }3832 }382938333830 /** @name RmrkTraitsNftRoyaltyInfo (483) */3834 /** @name RmrkTraitsNftRoyaltyInfo (486) */3831 interface RmrkTraitsNftRoyaltyInfo extends Struct {3835 interface RmrkTraitsNftRoyaltyInfo extends Struct {3832 readonly recipient: AccountId32;3836 readonly recipient: AccountId32;3833 readonly amount: Permill;3837 readonly amount: Permill;3834 }3838 }383538393836 /** @name RmrkTraitsResourceResourceInfo (484) */3840 /** @name RmrkTraitsResourceResourceInfo (487) */3837 interface RmrkTraitsResourceResourceInfo extends Struct {3841 interface RmrkTraitsResourceResourceInfo extends Struct {3838 readonly id: u32;3842 readonly id: u32;3839 readonly resource: RmrkTraitsResourceResourceTypes;3843 readonly resource: RmrkTraitsResourceResourceTypes;3840 readonly pending: bool;3844 readonly pending: bool;3841 readonly pendingRemoval: bool;3845 readonly pendingRemoval: bool;3842 }3846 }384338473844 /** @name RmrkTraitsPropertyPropertyInfo (485) */3848 /** @name RmrkTraitsPropertyPropertyInfo (488) */3845 interface RmrkTraitsPropertyPropertyInfo extends Struct {3849 interface RmrkTraitsPropertyPropertyInfo extends Struct {3846 readonly key: Bytes;3850 readonly key: Bytes;3847 readonly value: Bytes;3851 readonly value: Bytes;3848 }3852 }384938533850 /** @name RmrkTraitsBaseBaseInfo (486) */3854 /** @name RmrkTraitsBaseBaseInfo (489) */3851 interface RmrkTraitsBaseBaseInfo extends Struct {3855 interface RmrkTraitsBaseBaseInfo extends Struct {3852 readonly issuer: AccountId32;3856 readonly issuer: AccountId32;3853 readonly baseType: Bytes;3857 readonly baseType: Bytes;3854 readonly symbol: Bytes;3858 readonly symbol: Bytes;3855 }3859 }385638603857 /** @name RmrkTraitsNftNftChild (487) */3861 /** @name RmrkTraitsNftNftChild (490) */3858 interface RmrkTraitsNftNftChild extends Struct {3862 interface RmrkTraitsNftNftChild extends Struct {3859 readonly collectionId: u32;3863 readonly collectionId: u32;3860 readonly nftId: u32;3864 readonly nftId: u32;3861 }3865 }386238663863 /** @name UpPovEstimateRpcPovInfo (488) */3867 /** @name UpPovEstimateRpcPovInfo (491) */3864 interface UpPovEstimateRpcPovInfo extends Struct {3868 interface UpPovEstimateRpcPovInfo extends Struct {3865 readonly proofSize: u64;3869 readonly proofSize: u64;3866 readonly compactProofSize: u64;3870 readonly compactProofSize: u64;3869 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3873 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3870 }3874 }387138753872 /** @name SpRuntimeTransactionValidityTransactionValidityError (491) */3876 /** @name SpRuntimeTransactionValidityTransactionValidityError (494) */3873 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3877 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3874 readonly isInvalid: boolean;3878 readonly isInvalid: boolean;3875 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3879 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3878 readonly type: 'Invalid' | 'Unknown';3882 readonly type: 'Invalid' | 'Unknown';3879 }3883 }388038843881 /** @name SpRuntimeTransactionValidityInvalidTransaction (492) */3885 /** @name SpRuntimeTransactionValidityInvalidTransaction (495) */3882 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3886 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3883 readonly isCall: boolean;3887 readonly isCall: boolean;3884 readonly isPayment: boolean;3888 readonly isPayment: boolean;3895 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3899 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3896 }3900 }389739013898 /** @name SpRuntimeTransactionValidityUnknownTransaction (493) */3902 /** @name SpRuntimeTransactionValidityUnknownTransaction (496) */3899 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3903 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3900 readonly isCannotLookup: boolean;3904 readonly isCannotLookup: boolean;3901 readonly isNoUnsignedValidator: boolean;3905 readonly isNoUnsignedValidator: boolean;3904 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3908 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3905 }3909 }390639103907 /** @name UpPovEstimateRpcTrieKeyValue (495) */3911 /** @name UpPovEstimateRpcTrieKeyValue (498) */3908 interface UpPovEstimateRpcTrieKeyValue extends Struct {3912 interface UpPovEstimateRpcTrieKeyValue extends Struct {3909 readonly key: Bytes;3913 readonly key: Bytes;3910 readonly value: Bytes;3914 readonly value: Bytes;3911 }3915 }391239163913 /** @name PalletCommonError (497) */3917 /** @name PalletCommonError (500) */3914 interface PalletCommonError extends Enum {3918 interface PalletCommonError extends Enum {3915 readonly isCollectionNotFound: boolean;3919 readonly isCollectionNotFound: boolean;3916 readonly isMustBeTokenOwner: boolean;3920 readonly isMustBeTokenOwner: boolean;3951 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3955 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3952 }3956 }395339573954 /** @name PalletFungibleError (499) */3958 /** @name PalletFungibleError (502) */3955 interface PalletFungibleError extends Enum {3959 interface PalletFungibleError extends Enum {3956 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3960 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3957 readonly isFungibleItemsHaveNoId: boolean;3961 readonly isFungibleItemsHaveNoId: boolean;3963 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3967 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3964 }3968 }396539693966 /** @name PalletRefungibleError (503) */3970 /** @name PalletRefungibleError (506) */3967 interface PalletRefungibleError extends Enum {3971 interface PalletRefungibleError extends Enum {3968 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3972 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3969 readonly isWrongRefungiblePieces: boolean;3973 readonly isWrongRefungiblePieces: boolean;3973 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3977 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3974 }3978 }397539793976 /** @name PalletNonfungibleItemData (504) */3980 /** @name PalletNonfungibleItemData (507) */3977 interface PalletNonfungibleItemData extends Struct {3981 interface PalletNonfungibleItemData extends Struct {3978 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3982 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3979 }3983 }398039843981 /** @name UpDataStructsPropertyScope (506) */3985 /** @name UpDataStructsPropertyScope (509) */3982 interface UpDataStructsPropertyScope extends Enum {3986 interface UpDataStructsPropertyScope extends Enum {3983 readonly isNone: boolean;3987 readonly isNone: boolean;3984 readonly isRmrk: boolean;3988 readonly isRmrk: boolean;3985 readonly type: 'None' | 'Rmrk';3989 readonly type: 'None' | 'Rmrk';3986 }3990 }398739913988 /** @name PalletNonfungibleError (509) */3992 /** @name PalletNonfungibleError (512) */3989 interface PalletNonfungibleError extends Enum {3993 interface PalletNonfungibleError extends Enum {3990 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3994 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3991 readonly isNonfungibleItemsHaveNoAmount: boolean;3995 readonly isNonfungibleItemsHaveNoAmount: boolean;3992 readonly isCantBurnNftWithChildren: boolean;3996 readonly isCantBurnNftWithChildren: boolean;3993 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3997 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3994 }3998 }399539993996 /** @name PalletStructureError (510) */4000 /** @name PalletStructureError (513) */3997 interface PalletStructureError extends Enum {4001 interface PalletStructureError extends Enum {3998 readonly isOuroborosDetected: boolean;4002 readonly isOuroborosDetected: boolean;3999 readonly isDepthLimit: boolean;4003 readonly isDepthLimit: boolean;4002 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';4006 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';4003 }4007 }400440084005 /** @name PalletRmrkCoreError (511) */4009 /** @name PalletRmrkCoreError (514) */4006 interface PalletRmrkCoreError extends Enum {4010 interface PalletRmrkCoreError extends Enum {4007 readonly isCorruptedCollectionType: boolean;4011 readonly isCorruptedCollectionType: boolean;4008 readonly isRmrkPropertyKeyIsTooLong: boolean;4012 readonly isRmrkPropertyKeyIsTooLong: boolean;4026 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';4030 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';4027 }4031 }402840324029 /** @name PalletRmrkEquipError (513) */4033 /** @name PalletRmrkEquipError (516) */4030 interface PalletRmrkEquipError extends Enum {4034 interface PalletRmrkEquipError extends Enum {4031 readonly isPermissionError: boolean;4035 readonly isPermissionError: boolean;4032 readonly isNoAvailableBaseId: boolean;4036 readonly isNoAvailableBaseId: boolean;4038 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';4042 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';4039 }4043 }404040444041 /** @name PalletAppPromotionError (519) */4045 /** @name PalletAppPromotionError (522) */4042 interface PalletAppPromotionError extends Enum {4046 interface PalletAppPromotionError extends Enum {4043 readonly isAdminNotSet: boolean;4047 readonly isAdminNotSet: boolean;4044 readonly isNoPermission: boolean;4048 readonly isNoPermission: boolean;4049 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';4053 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';4050 }4054 }405140554052 /** @name PalletForeignAssetsModuleError (520) */4056 /** @name PalletForeignAssetsModuleError (523) */4053 interface PalletForeignAssetsModuleError extends Enum {4057 interface PalletForeignAssetsModuleError extends Enum {4054 readonly isBadLocation: boolean;4058 readonly isBadLocation: boolean;4055 readonly isMultiLocationExisted: boolean;4059 readonly isMultiLocationExisted: boolean;4058 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';4062 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';4059 }4063 }406040644061 /** @name PalletEvmError (522) */4065 /** @name PalletEvmError (525) */4062 interface PalletEvmError extends Enum {4066 interface PalletEvmError extends Enum {4063 readonly isBalanceLow: boolean;4067 readonly isBalanceLow: boolean;4064 readonly isFeeOverflow: boolean;4068 readonly isFeeOverflow: boolean;4074 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';4078 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';4075 }4079 }407640804077 /** @name FpRpcTransactionStatus (525) */4081 /** @name FpRpcTransactionStatus (528) */4078 interface FpRpcTransactionStatus extends Struct {4082 interface FpRpcTransactionStatus extends Struct {4079 readonly transactionHash: H256;4083 readonly transactionHash: H256;4080 readonly transactionIndex: u32;4084 readonly transactionIndex: u32;4085 readonly logsBloom: EthbloomBloom;4089 readonly logsBloom: EthbloomBloom;4086 }4090 }408740914088 /** @name EthbloomBloom (527) */4092 /** @name EthbloomBloom (530) */4089 interface EthbloomBloom extends U8aFixed {}4093 interface EthbloomBloom extends U8aFixed {}409040944091 /** @name EthereumReceiptReceiptV3 (529) */4095 /** @name EthereumReceiptReceiptV3 (532) */4092 interface EthereumReceiptReceiptV3 extends Enum {4096 interface EthereumReceiptReceiptV3 extends Enum {4093 readonly isLegacy: boolean;4097 readonly isLegacy: boolean;4094 readonly asLegacy: EthereumReceiptEip658ReceiptData;4098 readonly asLegacy: EthereumReceiptEip658ReceiptData;4099 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4103 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4100 }4104 }410141054102 /** @name EthereumReceiptEip658ReceiptData (530) */4106 /** @name EthereumReceiptEip658ReceiptData (533) */4103 interface EthereumReceiptEip658ReceiptData extends Struct {4107 interface EthereumReceiptEip658ReceiptData extends Struct {4104 readonly statusCode: u8;4108 readonly statusCode: u8;4105 readonly usedGas: U256;4109 readonly usedGas: U256;4106 readonly logsBloom: EthbloomBloom;4110 readonly logsBloom: EthbloomBloom;4107 readonly logs: Vec<EthereumLog>;4111 readonly logs: Vec<EthereumLog>;4108 }4112 }410941134110 /** @name EthereumBlock (531) */4114 /** @name EthereumBlock (534) */4111 interface EthereumBlock extends Struct {4115 interface EthereumBlock extends Struct {4112 readonly header: EthereumHeader;4116 readonly header: EthereumHeader;4113 readonly transactions: Vec<EthereumTransactionTransactionV2>;4117 readonly transactions: Vec<EthereumTransactionTransactionV2>;4114 readonly ommers: Vec<EthereumHeader>;4118 readonly ommers: Vec<EthereumHeader>;4115 }4119 }411641204117 /** @name EthereumHeader (532) */4121 /** @name EthereumHeader (535) */4118 interface EthereumHeader extends Struct {4122 interface EthereumHeader extends Struct {4119 readonly parentHash: H256;4123 readonly parentHash: H256;4120 readonly ommersHash: H256;4124 readonly ommersHash: H256;4133 readonly nonce: EthereumTypesHashH64;4137 readonly nonce: EthereumTypesHashH64;4134 }4138 }413541394136 /** @name EthereumTypesHashH64 (533) */4140 /** @name EthereumTypesHashH64 (536) */4137 interface EthereumTypesHashH64 extends U8aFixed {}4141 interface EthereumTypesHashH64 extends U8aFixed {}413841424139 /** @name PalletEthereumError (538) */4143 /** @name PalletEthereumError (541) */4140 interface PalletEthereumError extends Enum {4144 interface PalletEthereumError extends Enum {4141 readonly isInvalidSignature: boolean;4145 readonly isInvalidSignature: boolean;4142 readonly isPreLogExists: boolean;4146 readonly isPreLogExists: boolean;4143 readonly type: 'InvalidSignature' | 'PreLogExists';4147 readonly type: 'InvalidSignature' | 'PreLogExists';4144 }4148 }414541494146 /** @name PalletEvmCoderSubstrateError (539) */4150 /** @name PalletEvmCoderSubstrateError (542) */4147 interface PalletEvmCoderSubstrateError extends Enum {4151 interface PalletEvmCoderSubstrateError extends Enum {4148 readonly isOutOfGas: boolean;4152 readonly isOutOfGas: boolean;4149 readonly isOutOfFund: boolean;4153 readonly isOutOfFund: boolean;4150 readonly type: 'OutOfGas' | 'OutOfFund';4154 readonly type: 'OutOfGas' | 'OutOfFund';4151 }4155 }415241564153 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (540) */4157 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (543) */4154 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4158 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4155 readonly isDisabled: boolean;4159 readonly isDisabled: boolean;4156 readonly isUnconfirmed: boolean;4160 readonly isUnconfirmed: boolean;4160 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4164 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4161 }4165 }416241664163 /** @name PalletEvmContractHelpersSponsoringModeT (541) */4167 /** @name PalletEvmContractHelpersSponsoringModeT (544) */4164 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4168 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4165 readonly isDisabled: boolean;4169 readonly isDisabled: boolean;4166 readonly isAllowlisted: boolean;4170 readonly isAllowlisted: boolean;4167 readonly isGenerous: boolean;4171 readonly isGenerous: boolean;4168 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4172 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4169 }4173 }417041744171 /** @name PalletEvmContractHelpersError (547) */4175 /** @name PalletEvmContractHelpersError (550) */4172 interface PalletEvmContractHelpersError extends Enum {4176 interface PalletEvmContractHelpersError extends Enum {4173 readonly isNoPermission: boolean;4177 readonly isNoPermission: boolean;4174 readonly isNoPendingSponsor: boolean;4178 readonly isNoPendingSponsor: boolean;4175 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4179 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4176 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4180 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4177 }4181 }417841824179 /** @name PalletDataManagementError (548) */4183 /** @name PalletDataManagementError (551) */4180 interface PalletDataManagementError extends Enum {4184 interface PalletDataManagementError extends Enum {4181 readonly isAccountNotEmpty: boolean;4185 readonly isAccountNotEmpty: boolean;4182 readonly isAccountIsNotMigrating: boolean;4186 readonly isAccountIsNotMigrating: boolean;4183 readonly isBadEvent: boolean;4187 readonly isBadEvent: boolean;4184 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4188 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4185 }4189 }418641904187 /** @name PalletMaintenanceError (549) */4191 /** @name PalletMaintenanceError (552) */4188 type PalletMaintenanceError = Null;4192 type PalletMaintenanceError = Null;418941934190 /** @name PalletTestUtilsError (550) */4194 /** @name PalletTestUtilsError (553) */4191 interface PalletTestUtilsError extends Enum {4195 interface PalletTestUtilsError extends Enum {4192 readonly isTestPalletDisabled: boolean;4196 readonly isTestPalletDisabled: boolean;4193 readonly isTriggerRollback: boolean;4197 readonly isTriggerRollback: boolean;4194 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4198 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4195 }4199 }419642004197 /** @name SpRuntimeMultiSignature (552) */4201 /** @name SpRuntimeMultiSignature (555) */4198 interface SpRuntimeMultiSignature extends Enum {4202 interface SpRuntimeMultiSignature extends Enum {4199 readonly isEd25519: boolean;4203 readonly isEd25519: boolean;4200 readonly asEd25519: SpCoreEd25519Signature;4204 readonly asEd25519: SpCoreEd25519Signature;4205 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4209 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4206 }4210 }420742114208 /** @name SpCoreEd25519Signature (553) */4212 /** @name SpCoreEd25519Signature (556) */4209 interface SpCoreEd25519Signature extends U8aFixed {}4213 interface SpCoreEd25519Signature extends U8aFixed {}421042144211 /** @name SpCoreSr25519Signature (555) */4215 /** @name SpCoreSr25519Signature (558) */4212 interface SpCoreSr25519Signature extends U8aFixed {}4216 interface SpCoreSr25519Signature extends U8aFixed {}421342174214 /** @name SpCoreEcdsaSignature (556) */4218 /** @name SpCoreEcdsaSignature (559) */4215 interface SpCoreEcdsaSignature extends U8aFixed {}4219 interface SpCoreEcdsaSignature extends U8aFixed {}421642204217 /** @name FrameSystemExtensionsCheckSpecVersion (559) */4221 /** @name FrameSystemExtensionsCheckSpecVersion (562) */4218 type FrameSystemExtensionsCheckSpecVersion = Null;4222 type FrameSystemExtensionsCheckSpecVersion = Null;421942234220 /** @name FrameSystemExtensionsCheckTxVersion (560) */4224 /** @name FrameSystemExtensionsCheckTxVersion (563) */4221 type FrameSystemExtensionsCheckTxVersion = Null;4225 type FrameSystemExtensionsCheckTxVersion = Null;422242264223 /** @name FrameSystemExtensionsCheckGenesis (561) */4227 /** @name FrameSystemExtensionsCheckGenesis (564) */4224 type FrameSystemExtensionsCheckGenesis = Null;4228 type FrameSystemExtensionsCheckGenesis = Null;422542294226 /** @name FrameSystemExtensionsCheckNonce (564) */4230 /** @name FrameSystemExtensionsCheckNonce (567) */4227 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}4231 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}422842324229 /** @name FrameSystemExtensionsCheckWeight (565) */4233 /** @name FrameSystemExtensionsCheckWeight (568) */4230 type FrameSystemExtensionsCheckWeight = Null;4234 type FrameSystemExtensionsCheckWeight = Null;423142354232 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (566) */4236 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (569) */4233 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;4237 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;423442384235 /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (567) */4239 /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (570) */4236 type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;4240 type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;423742414238 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (568) */4242 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (571) */4239 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}4243 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}424042444241 /** @name OpalRuntimeRuntime (569) */4245 /** @name OpalRuntimeRuntime (572) */4242 type OpalRuntimeRuntime = Null;4246 type OpalRuntimeRuntime = Null;424342474244 /** @name PalletEthereumFakeTransactionFinalizer (570) */4248 /** @name PalletEthereumFakeTransactionFinalizer (573) */4245 type PalletEthereumFakeTransactionFinalizer = Null;4249 type PalletEthereumFakeTransactionFinalizer = Null;424642504247} // declare module4251} // declare moduletests/src/util/index.tsdiffbeforeafterboth--- a/tests/src/util/index.ts
+++ b/tests/src/util/index.ts
@@ -111,6 +111,8 @@
Scheduler = 'scheduler',
AppPromotion = 'apppromotion',
CollatorSelection = 'collatorselection',
+ Session = 'session',
+ Identity = 'identity',
TestUtils = 'testutils',
}