difftreelog
test add test for createMultipleItemsEx
in: master
6 files changed
tests/src/createMultipleItemsEx.test.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/createMultipleItemsEx.test.ts
@@ -0,0 +1,58 @@
+import {expect} from 'chai';
+import privateKey from './substrate/privateKey';
+import usingApi, {executeTransaction} from './substrate/substrate-api';
+import {createCollectionExpectSuccess} from './util/helpers';
+
+describe('createMultipleItemsEx', () => {
+ it('can initialize multiple NFT with different owners', async () => {
+ const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
+ const alice = privateKey('//Alice');
+ const bob = privateKey('//Bob');
+ const charlie = privateKey('//Charlie');
+ await usingApi(async (api) => {
+ const data = [
+ {
+ owner: {substrate: alice.address},
+ constData: '0x0000',
+ variableData: '0x1111',
+ }, {
+ owner: {substrate: bob.address},
+ constData: '0x2222',
+ variableData: '0x3333',
+ }, {
+ owner: {substrate: charlie.address},
+ constData: '0x4444',
+ variableData: '0x5555',
+ },
+ ];
+
+ await executeTransaction(api, alice, api.tx.unique.createMultipleItemsEx(collection, {
+ NFT: data,
+ }));
+ const tokens = await api.query.nonfungible.tokenData.entries(collection);
+ const json = tokens.map(([, token]) => token.toJSON());
+ expect(json).to.be.deep.equal(data);
+ });
+ });
+
+ it('fails when trying to set multiple owners when creating multiple refungibles', async () => {
+ const collection = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});
+ const alice = privateKey('//Alice');
+ const bob = privateKey('//Bob');
+
+ await usingApi(async (api) => {
+ // Polkadot requires map, and yet requires keys to be JSON encoded
+ const users = new Map();
+ users.set(JSON.stringify({substrate: alice.address}), 1);
+ users.set(JSON.stringify({substrate: bob.address}), 1);
+
+ // TODO: better error message?
+ await expect(executeTransaction(api, alice, api.tx.unique.createMultipleItemsEx(collection, {
+ RefungibleMultipleItems: [
+ {users},
+ {users},
+ ],
+ }))).to.be.rejectedWith(/^refungible\.NotRefungibleDataUsedToMintFungibleCollectionToken$/);
+ });
+ });
+});
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -5,7 +5,7 @@
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -710,6 +710,7 @@
* * owner: Address, initial owner of the NFT.
**/
createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;
+ createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;
/**
* **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.
*
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateNftData, UpDataStructsCreateReFungibleData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -1159,8 +1159,11 @@
UpDataStructsCreateCollectionData: UpDataStructsCreateCollectionData;
UpDataStructsCreateFungibleData: UpDataStructsCreateFungibleData;
UpDataStructsCreateItemData: UpDataStructsCreateItemData;
+ UpDataStructsCreateItemExData: UpDataStructsCreateItemExData;
UpDataStructsCreateNftData: UpDataStructsCreateNftData;
+ UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
+ UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;
UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1300,6 +1300,10 @@
owner: 'PalletCommonAccountBasicCrossAccountIdRepr',
itemsData: 'Vec<UpDataStructsCreateItemData>',
},
+ create_multiple_items_ex: {
+ collectionId: 'u32',
+ data: 'UpDataStructsCreateItemExData',
+ },
set_transfers_enabled_flag: {
collectionId: 'u32',
value: 'bool',
@@ -1474,11 +1478,38 @@
pieces: 'u128'
},
/**
- * Lookup181: pallet_template_transaction_payment::Call<T>
+ * Lookup180: up_data_structs::CreateItemExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
+ UpDataStructsCreateItemExData: {
+ _enum: {
+ NFT: 'Vec<UpDataStructsCreateNftExData>',
+ Fungible: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>',
+ RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',
+ RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'
+ }
+ },
+ /**
+ * Lookup182: up_data_structs::CreateNftExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ UpDataStructsCreateNftExData: {
+ constData: 'Bytes',
+ variableData: 'Bytes',
+ owner: 'PalletCommonAccountBasicCrossAccountIdRepr'
+ },
+ /**
+ * Lookup189: up_data_structs::CreateRefungibleExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ UpDataStructsCreateRefungibleExData: {
+ constData: 'Bytes',
+ variableData: 'Bytes',
+ users: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>'
+ },
+ /**
+ * Lookup192: pallet_template_transaction_payment::Call<T>
+ **/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup182: pallet_evm::pallet::Call<T>
+ * Lookup193: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -1521,7 +1552,7 @@
}
},
/**
- * Lookup188: pallet_ethereum::pallet::Call<T>
+ * Lookup199: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1531,7 +1562,7 @@
}
},
/**
- * Lookup189: ethereum::transaction::TransactionV2
+ * Lookup200: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1541,7 +1572,7 @@
}
},
/**
- * Lookup190: ethereum::transaction::LegacyTransaction
+ * Lookup201: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1553,7 +1584,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup191: ethereum::transaction::TransactionAction
+ * Lookup202: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1562,7 +1593,7 @@
}
},
/**
- * Lookup192: ethereum::transaction::TransactionSignature
+ * Lookup203: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1570,7 +1601,7 @@
s: 'H256'
},
/**
- * Lookup194: ethereum::transaction::EIP2930Transaction
+ * Lookup205: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1586,14 +1617,14 @@
s: 'H256'
},
/**
- * Lookup196: ethereum::transaction::AccessListItem
+ * Lookup207: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
slots: 'Vec<H256>'
},
/**
- * Lookup197: ethereum::transaction::EIP1559Transaction
+ * Lookup208: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1610,7 +1641,7 @@
s: 'H256'
},
/**
- * Lookup198: pallet_evm_migration::pallet::Call<T>
+ * Lookup209: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1628,7 +1659,7 @@
}
},
/**
- * Lookup201: pallet_sudo::pallet::Event<T>
+ * Lookup212: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1644,7 +1675,7 @@
}
},
/**
- * Lookup203: sp_runtime::DispatchError
+ * Lookup214: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
@@ -1660,32 +1691,32 @@
}
},
/**
- * Lookup204: sp_runtime::ModuleError
+ * Lookup215: sp_runtime::ModuleError
**/
SpRuntimeModuleError: {
index: 'u8',
error: 'u8'
},
/**
- * Lookup205: sp_runtime::TokenError
+ * Lookup216: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup206: sp_runtime::ArithmeticError
+ * Lookup217: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup207: pallet_sudo::pallet::Error<T>
+ * Lookup218: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup208: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup219: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -1695,7 +1726,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup209: frame_support::weights::PerDispatchClass<T>
+ * Lookup220: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -1703,13 +1734,13 @@
mandatory: 'u64'
},
/**
- * Lookup210: sp_runtime::generic::digest::Digest
+ * Lookup221: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup212: sp_runtime::generic::digest::DigestItem
+ * Lookup223: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -1725,7 +1756,7 @@
}
},
/**
- * Lookup214: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>
+ * Lookup225: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -1733,7 +1764,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup216: frame_system::pallet::Event<T>
+ * Lookup227: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -1761,7 +1792,7 @@
}
},
/**
- * Lookup217: frame_support::weights::DispatchInfo
+ * Lookup228: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -1769,19 +1800,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup218: frame_support::weights::DispatchClass
+ * Lookup229: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup219: frame_support::weights::Pays
+ * Lookup230: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup220: orml_vesting::module::Event<T>
+ * Lookup231: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -1800,7 +1831,7 @@
}
},
/**
- * Lookup221: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup232: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -1815,7 +1846,7 @@
}
},
/**
- * Lookup222: pallet_xcm::pallet::Event<T>
+ * Lookup233: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -1838,7 +1869,7 @@
}
},
/**
- * Lookup223: xcm::v2::traits::Outcome
+ * Lookup234: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -1848,7 +1879,7 @@
}
},
/**
- * Lookup225: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup236: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -1858,7 +1889,7 @@
}
},
/**
- * Lookup226: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup237: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1871,7 +1902,7 @@
}
},
/**
- * Lookup227: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup238: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -1893,7 +1924,7 @@
}
},
/**
- * Lookup228: pallet_common::pallet::Event<T>
+ * Lookup239: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1906,7 +1937,7 @@
}
},
/**
- * Lookup229: pallet_evm::pallet::Event<T>
+ * Lookup240: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1920,7 +1951,7 @@
}
},
/**
- * Lookup230: ethereum::log::Log
+ * Lookup241: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1928,7 +1959,7 @@
data: 'Bytes'
},
/**
- * Lookup231: pallet_ethereum::pallet::Event
+ * Lookup242: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1936,7 +1967,7 @@
}
},
/**
- * Lookup232: evm_core::error::ExitReason
+ * Lookup243: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1947,13 +1978,13 @@
}
},
/**
- * Lookup233: evm_core::error::ExitSucceed
+ * Lookup244: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup234: evm_core::error::ExitError
+ * Lookup245: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1975,13 +2006,13 @@
}
},
/**
- * Lookup237: evm_core::error::ExitRevert
+ * Lookup248: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup238: evm_core::error::ExitFatal
+ * Lookup249: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1992,7 +2023,7 @@
}
},
/**
- * Lookup239: frame_system::Phase
+ * Lookup250: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -2002,14 +2033,14 @@
}
},
/**
- * Lookup241: frame_system::LastRuntimeUpgradeInfo
+ * Lookup252: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup242: frame_system::limits::BlockWeights
+ * Lookup253: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -2017,7 +2048,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup243: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup254: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -2025,7 +2056,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup244: frame_system::limits::WeightsPerClass
+ * Lookup255: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -2034,13 +2065,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup246: frame_system::limits::BlockLength
+ * Lookup257: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup247: frame_support::weights::PerDispatchClass<T>
+ * Lookup258: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -2048,14 +2079,14 @@
mandatory: 'u32'
},
/**
- * Lookup248: frame_support::weights::RuntimeDbWeight
+ * Lookup259: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup249: sp_version::RuntimeVersion
+ * Lookup260: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2068,19 +2099,19 @@
stateVersion: 'u8'
},
/**
- * Lookup253: frame_system::pallet::Error<T>
+ * Lookup264: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup255: orml_vesting::module::Error<T>
+ * Lookup266: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup257: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup268: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2088,19 +2119,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup258: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup269: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup261: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup272: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup264: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup275: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2110,13 +2141,13 @@
lastIndex: 'u16'
},
/**
- * Lookup265: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup276: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup267: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup278: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2127,29 +2158,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup269: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup280: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup270: pallet_xcm::pallet::Error<T>
+ * Lookup281: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup271: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup282: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup272: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup283: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup273: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup284: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2157,19 +2188,19 @@
overweightCount: 'u64'
},
/**
- * Lookup276: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup287: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup280: pallet_unique::Error<T>
+ * Lookup291: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
},
/**
- * Lookup281: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup292: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2188,7 +2219,7 @@
metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
},
/**
- * Lookup282: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup293: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2198,7 +2229,7 @@
}
},
/**
- * Lookup285: up_data_structs::CollectionStats
+ * Lookup296: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2206,32 +2237,32 @@
alive: 'u32'
},
/**
- * Lookup286: pallet_common::pallet::Error<T>
+ * Lookup297: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation']
},
/**
- * Lookup288: pallet_fungible::pallet::Error<T>
+ * Lookup299: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']
},
/**
- * Lookup289: pallet_refungible::ItemData
+ * Lookup300: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes',
variableData: 'Bytes'
},
/**
- * Lookup293: pallet_refungible::pallet::Error<T>
+ * Lookup304: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']
},
/**
- * Lookup294: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup305: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
constData: 'Bytes',
@@ -2239,19 +2270,19 @@
owner: 'PalletCommonAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup295: pallet_nonfungible::pallet::Error<T>
+ * Lookup306: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
},
/**
- * Lookup297: pallet_evm::pallet::Error<T>
+ * Lookup308: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup300: fp_rpc::TransactionStatus
+ * Lookup311: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -2263,11 +2294,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup303: ethbloom::Bloom
+ * Lookup314: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup305: ethereum::receipt::ReceiptV3
+ * Lookup316: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -2277,7 +2308,7 @@
}
},
/**
- * Lookup306: ethereum::receipt::EIP658ReceiptData
+ * Lookup317: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -2286,7 +2317,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup307: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup318: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -2294,7 +2325,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup308: ethereum::header::Header
+ * Lookup319: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -2314,41 +2345,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup309: ethereum_types::hash::H64
+ * Lookup320: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup314: pallet_ethereum::pallet::Error<T>
+ * Lookup325: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup315: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup326: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup316: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup327: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup318: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup329: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup319: pallet_evm_migration::pallet::Error<T>
+ * Lookup330: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup321: sp_runtime::MultiSignature
+ * Lookup332: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -2358,39 +2389,39 @@
}
},
/**
- * Lookup322: sp_core::ed25519::Signature
+ * Lookup333: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup324: sp_core::sr25519::Signature
+ * Lookup335: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup325: sp_core::ecdsa::Signature
+ * Lookup336: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup328: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup339: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup329: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup340: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup332: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup343: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup333: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup344: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup334: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>
+ * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup335: unique_runtime::Runtime
+ * Lookup346: unique_runtime::Runtime
**/
UniqueRuntimeRuntime: 'Null'
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1421 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1421 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1422 readonly itemsData: Vec<UpDataStructsCreateItemData>;1422 readonly itemsData: Vec<UpDataStructsCreateItemData>;1423 } & Struct;1423 } & Struct;1424 readonly isCreateMultipleItemsEx: boolean;1425 readonly asCreateMultipleItemsEx: {1426 readonly collectionId: u32;1427 readonly data: UpDataStructsCreateItemExData;1428 } & Struct;1424 readonly isSetTransfersEnabledFlag: boolean;1429 readonly isSetTransfersEnabledFlag: boolean;1425 readonly asSetTransfersEnabledFlag: {1430 readonly asSetTransfersEnabledFlag: {1426 readonly collectionId: u32;1431 readonly collectionId: u32;1497 readonly collectionId: u32;1502 readonly collectionId: u32;1498 readonly newLimit: UpDataStructsCollectionLimits;1503 readonly newLimit: UpDataStructsCollectionLimits;1499 } & Struct;1504 } & Struct;1500 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1505 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1501 }1506 }150215071503 /** @name UpDataStructsCollectionMode (155) */1508 /** @name UpDataStructsCollectionMode (155) */1606 readonly pieces: u128;1611 readonly pieces: u128;1607 }1612 }16131614 /** @name UpDataStructsCreateItemExData (180) */1615 export interface UpDataStructsCreateItemExData extends Enum {1616 readonly isNft: boolean;1617 readonly asNft: Vec<UpDataStructsCreateNftExData>;1618 readonly isFungible: boolean;1619 readonly asFungible: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1620 readonly isRefungibleMultipleItems: boolean;1621 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1622 readonly isRefungibleMultipleOwners: boolean;1623 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1624 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1625 }16261627 /** @name UpDataStructsCreateNftExData (182) */1628 export interface UpDataStructsCreateNftExData extends Struct {1629 readonly constData: Bytes;1630 readonly variableData: Bytes;1631 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1632 }16331634 /** @name UpDataStructsCreateRefungibleExData (189) */1635 export interface UpDataStructsCreateRefungibleExData extends Struct {1636 readonly constData: Bytes;1637 readonly variableData: Bytes;1638 readonly users: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1639 }160816401609 /** @name PalletTemplateTransactionPaymentCall (181) */1641 /** @name PalletTemplateTransactionPaymentCall (192) */1610 export type PalletTemplateTransactionPaymentCall = Null;1642 export type PalletTemplateTransactionPaymentCall = Null;161116431612 /** @name PalletEvmCall (182) */1644 /** @name PalletEvmCall (193) */1613 export interface PalletEvmCall extends Enum {1645 export interface PalletEvmCall extends Enum {1614 readonly isWithdraw: boolean;1646 readonly isWithdraw: boolean;1615 readonly asWithdraw: {1647 readonly asWithdraw: {1654 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1686 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1655 }1687 }165616881657 /** @name PalletEthereumCall (188) */1689 /** @name PalletEthereumCall (199) */1658 export interface PalletEthereumCall extends Enum {1690 export interface PalletEthereumCall extends Enum {1659 readonly isTransact: boolean;1691 readonly isTransact: boolean;1660 readonly asTransact: {1692 readonly asTransact: {1663 readonly type: 'Transact';1695 readonly type: 'Transact';1664 }1696 }166516971666 /** @name EthereumTransactionTransactionV2 (189) */1698 /** @name EthereumTransactionTransactionV2 (200) */1667 export interface EthereumTransactionTransactionV2 extends Enum {1699 export interface EthereumTransactionTransactionV2 extends Enum {1668 readonly isLegacy: boolean;1700 readonly isLegacy: boolean;1669 readonly asLegacy: EthereumTransactionLegacyTransaction;1701 readonly asLegacy: EthereumTransactionLegacyTransaction;1674 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1706 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1675 }1707 }167617081677 /** @name EthereumTransactionLegacyTransaction (190) */1709 /** @name EthereumTransactionLegacyTransaction (201) */1678 export interface EthereumTransactionLegacyTransaction extends Struct {1710 export interface EthereumTransactionLegacyTransaction extends Struct {1679 readonly nonce: U256;1711 readonly nonce: U256;1680 readonly gasPrice: U256;1712 readonly gasPrice: U256;1685 readonly signature: EthereumTransactionTransactionSignature;1717 readonly signature: EthereumTransactionTransactionSignature;1686 }1718 }168717191688 /** @name EthereumTransactionTransactionAction (191) */1720 /** @name EthereumTransactionTransactionAction (202) */1689 export interface EthereumTransactionTransactionAction extends Enum {1721 export interface EthereumTransactionTransactionAction extends Enum {1690 readonly isCall: boolean;1722 readonly isCall: boolean;1691 readonly asCall: H160;1723 readonly asCall: H160;1692 readonly isCreate: boolean;1724 readonly isCreate: boolean;1693 readonly type: 'Call' | 'Create';1725 readonly type: 'Call' | 'Create';1694 }1726 }169517271696 /** @name EthereumTransactionTransactionSignature (192) */1728 /** @name EthereumTransactionTransactionSignature (203) */1697 export interface EthereumTransactionTransactionSignature extends Struct {1729 export interface EthereumTransactionTransactionSignature extends Struct {1698 readonly v: u64;1730 readonly v: u64;1699 readonly r: H256;1731 readonly r: H256;1700 readonly s: H256;1732 readonly s: H256;1701 }1733 }170217341703 /** @name EthereumTransactionEip2930Transaction (194) */1735 /** @name EthereumTransactionEip2930Transaction (205) */1704 export interface EthereumTransactionEip2930Transaction extends Struct {1736 export interface EthereumTransactionEip2930Transaction extends Struct {1705 readonly chainId: u64;1737 readonly chainId: u64;1706 readonly nonce: U256;1738 readonly nonce: U256;1715 readonly s: H256;1747 readonly s: H256;1716 }1748 }171717491718 /** @name EthereumTransactionAccessListItem (196) */1750 /** @name EthereumTransactionAccessListItem (207) */1719 export interface EthereumTransactionAccessListItem extends Struct {1751 export interface EthereumTransactionAccessListItem extends Struct {1720 readonly address: H160;1752 readonly address: H160;1721 readonly slots: Vec<H256>;1753 readonly slots: Vec<H256>;1722 }1754 }172317551724 /** @name EthereumTransactionEip1559Transaction (197) */1756 /** @name EthereumTransactionEip1559Transaction (208) */1725 export interface EthereumTransactionEip1559Transaction extends Struct {1757 export interface EthereumTransactionEip1559Transaction extends Struct {1726 readonly chainId: u64;1758 readonly chainId: u64;1727 readonly nonce: U256;1759 readonly nonce: U256;1737 readonly s: H256;1769 readonly s: H256;1738 }1770 }173917711740 /** @name PalletEvmMigrationCall (198) */1772 /** @name PalletEvmMigrationCall (209) */1741 export interface PalletEvmMigrationCall extends Enum {1773 export interface PalletEvmMigrationCall extends Enum {1742 readonly isBegin: boolean;1774 readonly isBegin: boolean;1743 readonly asBegin: {1775 readonly asBegin: {1756 readonly type: 'Begin' | 'SetData' | 'Finish';1788 readonly type: 'Begin' | 'SetData' | 'Finish';1757 }1789 }175817901759 /** @name PalletSudoEvent (201) */1791 /** @name PalletSudoEvent (212) */1760 export interface PalletSudoEvent extends Enum {1792 export interface PalletSudoEvent extends Enum {1761 readonly isSudid: boolean;1793 readonly isSudid: boolean;1762 readonly asSudid: {1794 readonly asSudid: {1773 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1805 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1774 }1806 }177518071776 /** @name SpRuntimeDispatchError (203) */1808 /** @name SpRuntimeDispatchError (214) */1777 export interface SpRuntimeDispatchError extends Enum {1809 export interface SpRuntimeDispatchError extends Enum {1778 readonly isOther: boolean;1810 readonly isOther: boolean;1779 readonly isCannotLookup: boolean;1811 readonly isCannotLookup: boolean;1790 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';1822 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';1791 }1823 }179218241793 /** @name SpRuntimeModuleError (204) */1825 /** @name SpRuntimeModuleError (215) */1794 export interface SpRuntimeModuleError extends Struct {1826 export interface SpRuntimeModuleError extends Struct {1795 readonly index: u8;1827 readonly index: u8;1796 readonly error: u8;1828 readonly error: u8;1797 }1829 }179818301799 /** @name SpRuntimeTokenError (205) */1831 /** @name SpRuntimeTokenError (216) */1800 export interface SpRuntimeTokenError extends Enum {1832 export interface SpRuntimeTokenError extends Enum {1801 readonly isNoFunds: boolean;1833 readonly isNoFunds: boolean;1802 readonly isWouldDie: boolean;1834 readonly isWouldDie: boolean;1808 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1840 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1809 }1841 }181018421811 /** @name SpRuntimeArithmeticError (206) */1843 /** @name SpRuntimeArithmeticError (217) */1812 export interface SpRuntimeArithmeticError extends Enum {1844 export interface SpRuntimeArithmeticError extends Enum {1813 readonly isUnderflow: boolean;1845 readonly isUnderflow: boolean;1814 readonly isOverflow: boolean;1846 readonly isOverflow: boolean;1815 readonly isDivisionByZero: boolean;1847 readonly isDivisionByZero: boolean;1816 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1848 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1817 }1849 }181818501819 /** @name PalletSudoError (207) */1851 /** @name PalletSudoError (218) */1820 export interface PalletSudoError extends Enum {1852 export interface PalletSudoError extends Enum {1821 readonly isRequireSudo: boolean;1853 readonly isRequireSudo: boolean;1822 readonly type: 'RequireSudo';1854 readonly type: 'RequireSudo';1823 }1855 }182418561825 /** @name FrameSystemAccountInfo (208) */1857 /** @name FrameSystemAccountInfo (219) */1826 export interface FrameSystemAccountInfo extends Struct {1858 export interface FrameSystemAccountInfo extends Struct {1827 readonly nonce: u32;1859 readonly nonce: u32;1828 readonly consumers: u32;1860 readonly consumers: u32;1831 readonly data: PalletBalancesAccountData;1863 readonly data: PalletBalancesAccountData;1832 }1864 }183318651834 /** @name FrameSupportWeightsPerDispatchClassU64 (209) */1866 /** @name FrameSupportWeightsPerDispatchClassU64 (220) */1835 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {1867 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {1836 readonly normal: u64;1868 readonly normal: u64;1837 readonly operational: u64;1869 readonly operational: u64;1838 readonly mandatory: u64;1870 readonly mandatory: u64;1839 }1871 }184018721841 /** @name SpRuntimeDigest (210) */1873 /** @name SpRuntimeDigest (221) */1842 export interface SpRuntimeDigest extends Struct {1874 export interface SpRuntimeDigest extends Struct {1843 readonly logs: Vec<SpRuntimeDigestDigestItem>;1875 readonly logs: Vec<SpRuntimeDigestDigestItem>;1844 }1876 }184518771846 /** @name SpRuntimeDigestDigestItem (212) */1878 /** @name SpRuntimeDigestDigestItem (223) */1847 export interface SpRuntimeDigestDigestItem extends Enum {1879 export interface SpRuntimeDigestDigestItem extends Enum {1848 readonly isOther: boolean;1880 readonly isOther: boolean;1849 readonly asOther: Bytes;1881 readonly asOther: Bytes;1857 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1889 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1858 }1890 }185918911860 /** @name FrameSystemEventRecord (214) */1892 /** @name FrameSystemEventRecord (225) */1861 export interface FrameSystemEventRecord extends Struct {1893 export interface FrameSystemEventRecord extends Struct {1862 readonly phase: FrameSystemPhase;1894 readonly phase: FrameSystemPhase;1863 readonly event: Event;1895 readonly event: Event;1864 readonly topics: Vec<H256>;1896 readonly topics: Vec<H256>;1865 }1897 }186618981867 /** @name FrameSystemEvent (216) */1899 /** @name FrameSystemEvent (227) */1868 export interface FrameSystemEvent extends Enum {1900 export interface FrameSystemEvent extends Enum {1869 readonly isExtrinsicSuccess: boolean;1901 readonly isExtrinsicSuccess: boolean;1870 readonly asExtrinsicSuccess: {1902 readonly asExtrinsicSuccess: {1892 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';1924 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';1893 }1925 }189419261895 /** @name FrameSupportWeightsDispatchInfo (217) */1927 /** @name FrameSupportWeightsDispatchInfo (228) */1896 export interface FrameSupportWeightsDispatchInfo extends Struct {1928 export interface FrameSupportWeightsDispatchInfo extends Struct {1897 readonly weight: u64;1929 readonly weight: u64;1898 readonly class: FrameSupportWeightsDispatchClass;1930 readonly class: FrameSupportWeightsDispatchClass;1899 readonly paysFee: FrameSupportWeightsPays;1931 readonly paysFee: FrameSupportWeightsPays;1900 }1932 }190119331902 /** @name FrameSupportWeightsDispatchClass (218) */1934 /** @name FrameSupportWeightsDispatchClass (229) */1903 export interface FrameSupportWeightsDispatchClass extends Enum {1935 export interface FrameSupportWeightsDispatchClass extends Enum {1904 readonly isNormal: boolean;1936 readonly isNormal: boolean;1905 readonly isOperational: boolean;1937 readonly isOperational: boolean;1906 readonly isMandatory: boolean;1938 readonly isMandatory: boolean;1907 readonly type: 'Normal' | 'Operational' | 'Mandatory';1939 readonly type: 'Normal' | 'Operational' | 'Mandatory';1908 }1940 }190919411910 /** @name FrameSupportWeightsPays (219) */1942 /** @name FrameSupportWeightsPays (230) */1911 export interface FrameSupportWeightsPays extends Enum {1943 export interface FrameSupportWeightsPays extends Enum {1912 readonly isYes: boolean;1944 readonly isYes: boolean;1913 readonly isNo: boolean;1945 readonly isNo: boolean;1914 readonly type: 'Yes' | 'No';1946 readonly type: 'Yes' | 'No';1915 }1947 }191619481917 /** @name OrmlVestingModuleEvent (220) */1949 /** @name OrmlVestingModuleEvent (231) */1918 export interface OrmlVestingModuleEvent extends Enum {1950 export interface OrmlVestingModuleEvent extends Enum {1919 readonly isVestingScheduleAdded: boolean;1951 readonly isVestingScheduleAdded: boolean;1920 readonly asVestingScheduleAdded: {1952 readonly asVestingScheduleAdded: {1934 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';1966 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';1935 }1967 }193619681937 /** @name CumulusPalletXcmpQueueEvent (221) */1969 /** @name CumulusPalletXcmpQueueEvent (232) */1938 export interface CumulusPalletXcmpQueueEvent extends Enum {1970 export interface CumulusPalletXcmpQueueEvent extends Enum {1939 readonly isSuccess: boolean;1971 readonly isSuccess: boolean;1940 readonly asSuccess: Option<H256>;1972 readonly asSuccess: Option<H256>;1955 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';1987 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';1956 }1988 }195719891958 /** @name PalletXcmEvent (222) */1990 /** @name PalletXcmEvent (233) */1959 export interface PalletXcmEvent extends Enum {1991 export interface PalletXcmEvent extends Enum {1960 readonly isAttempted: boolean;1992 readonly isAttempted: boolean;1961 readonly asAttempted: XcmV2TraitsOutcome;1993 readonly asAttempted: XcmV2TraitsOutcome;1992 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2024 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1993 }2025 }199420261995 /** @name XcmV2TraitsOutcome (223) */2027 /** @name XcmV2TraitsOutcome (234) */1996 export interface XcmV2TraitsOutcome extends Enum {2028 export interface XcmV2TraitsOutcome extends Enum {1997 readonly isComplete: boolean;2029 readonly isComplete: boolean;1998 readonly asComplete: u64;2030 readonly asComplete: u64;2003 readonly type: 'Complete' | 'Incomplete' | 'Error';2035 readonly type: 'Complete' | 'Incomplete' | 'Error';2004 }2036 }200520372006 /** @name CumulusPalletXcmEvent (225) */2038 /** @name CumulusPalletXcmEvent (236) */2007 export interface CumulusPalletXcmEvent extends Enum {2039 export interface CumulusPalletXcmEvent extends Enum {2008 readonly isInvalidFormat: boolean;2040 readonly isInvalidFormat: boolean;2009 readonly asInvalidFormat: U8aFixed;2041 readonly asInvalidFormat: U8aFixed;2014 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2046 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2015 }2047 }201620482017 /** @name CumulusPalletDmpQueueEvent (226) */2049 /** @name CumulusPalletDmpQueueEvent (237) */2018 export interface CumulusPalletDmpQueueEvent extends Enum {2050 export interface CumulusPalletDmpQueueEvent extends Enum {2019 readonly isInvalidFormat: boolean;2051 readonly isInvalidFormat: boolean;2020 readonly asInvalidFormat: U8aFixed;2052 readonly asInvalidFormat: U8aFixed;2031 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2063 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2032 }2064 }203320652034 /** @name PalletUniqueRawEvent (227) */2066 /** @name PalletUniqueRawEvent (238) */2035 export interface PalletUniqueRawEvent extends Enum {2067 export interface PalletUniqueRawEvent extends Enum {2036 readonly isCollectionSponsorRemoved: boolean;2068 readonly isCollectionSponsorRemoved: boolean;2037 readonly asCollectionSponsorRemoved: u32;2069 readonly asCollectionSponsorRemoved: u32;2066 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';2098 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';2067 }2099 }206821002069 /** @name PalletCommonEvent (228) */2101 /** @name PalletCommonEvent (239) */2070 export interface PalletCommonEvent extends Enum {2102 export interface PalletCommonEvent extends Enum {2071 readonly isCollectionCreated: boolean;2103 readonly isCollectionCreated: boolean;2072 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2104 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2083 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';2115 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';2084 }2116 }208521172086 /** @name PalletEvmEvent (229) */2118 /** @name PalletEvmEvent (240) */2087 export interface PalletEvmEvent extends Enum {2119 export interface PalletEvmEvent extends Enum {2088 readonly isLog: boolean;2120 readonly isLog: boolean;2089 readonly asLog: EthereumLog;2121 readonly asLog: EthereumLog;2102 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2134 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2103 }2135 }210421362105 /** @name EthereumLog (230) */2137 /** @name EthereumLog (241) */2106 export interface EthereumLog extends Struct {2138 export interface EthereumLog extends Struct {2107 readonly address: H160;2139 readonly address: H160;2108 readonly topics: Vec<H256>;2140 readonly topics: Vec<H256>;2109 readonly data: Bytes;2141 readonly data: Bytes;2110 }2142 }211121432112 /** @name PalletEthereumEvent (231) */2144 /** @name PalletEthereumEvent (242) */2113 export interface PalletEthereumEvent extends Enum {2145 export interface PalletEthereumEvent extends Enum {2114 readonly isExecuted: boolean;2146 readonly isExecuted: boolean;2115 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2147 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2116 readonly type: 'Executed';2148 readonly type: 'Executed';2117 }2149 }211821502119 /** @name EvmCoreErrorExitReason (232) */2151 /** @name EvmCoreErrorExitReason (243) */2120 export interface EvmCoreErrorExitReason extends Enum {2152 export interface EvmCoreErrorExitReason extends Enum {2121 readonly isSucceed: boolean;2153 readonly isSucceed: boolean;2122 readonly asSucceed: EvmCoreErrorExitSucceed;2154 readonly asSucceed: EvmCoreErrorExitSucceed;2129 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2161 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2130 }2162 }213121632132 /** @name EvmCoreErrorExitSucceed (233) */2164 /** @name EvmCoreErrorExitSucceed (244) */2133 export interface EvmCoreErrorExitSucceed extends Enum {2165 export interface EvmCoreErrorExitSucceed extends Enum {2134 readonly isStopped: boolean;2166 readonly isStopped: boolean;2135 readonly isReturned: boolean;2167 readonly isReturned: boolean;2136 readonly isSuicided: boolean;2168 readonly isSuicided: boolean;2137 readonly type: 'Stopped' | 'Returned' | 'Suicided';2169 readonly type: 'Stopped' | 'Returned' | 'Suicided';2138 }2170 }213921712140 /** @name EvmCoreErrorExitError (234) */2172 /** @name EvmCoreErrorExitError (245) */2141 export interface EvmCoreErrorExitError extends Enum {2173 export interface EvmCoreErrorExitError extends Enum {2142 readonly isStackUnderflow: boolean;2174 readonly isStackUnderflow: boolean;2143 readonly isStackOverflow: boolean;2175 readonly isStackOverflow: boolean;2158 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other';2190 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other';2159 }2191 }216021922161 /** @name EvmCoreErrorExitRevert (237) */2193 /** @name EvmCoreErrorExitRevert (248) */2162 export interface EvmCoreErrorExitRevert extends Enum {2194 export interface EvmCoreErrorExitRevert extends Enum {2163 readonly isReverted: boolean;2195 readonly isReverted: boolean;2164 readonly type: 'Reverted';2196 readonly type: 'Reverted';2165 }2197 }216621982167 /** @name EvmCoreErrorExitFatal (238) */2199 /** @name EvmCoreErrorExitFatal (249) */2168 export interface EvmCoreErrorExitFatal extends Enum {2200 export interface EvmCoreErrorExitFatal extends Enum {2169 readonly isNotSupported: boolean;2201 readonly isNotSupported: boolean;2170 readonly isUnhandledInterrupt: boolean;2202 readonly isUnhandledInterrupt: boolean;2175 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2207 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2176 }2208 }217722092178 /** @name FrameSystemPhase (239) */2210 /** @name FrameSystemPhase (250) */2179 export interface FrameSystemPhase extends Enum {2211 export interface FrameSystemPhase extends Enum {2180 readonly isApplyExtrinsic: boolean;2212 readonly isApplyExtrinsic: boolean;2181 readonly asApplyExtrinsic: u32;2213 readonly asApplyExtrinsic: u32;2184 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2216 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2185 }2217 }218622182187 /** @name FrameSystemLastRuntimeUpgradeInfo (241) */2219 /** @name FrameSystemLastRuntimeUpgradeInfo (252) */2188 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2220 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2189 readonly specVersion: Compact<u32>;2221 readonly specVersion: Compact<u32>;2190 readonly specName: Text;2222 readonly specName: Text;2191 }2223 }219222242193 /** @name FrameSystemLimitsBlockWeights (242) */2225 /** @name FrameSystemLimitsBlockWeights (253) */2194 export interface FrameSystemLimitsBlockWeights extends Struct {2226 export interface FrameSystemLimitsBlockWeights extends Struct {2195 readonly baseBlock: u64;2227 readonly baseBlock: u64;2196 readonly maxBlock: u64;2228 readonly maxBlock: u64;2197 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2229 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2198 }2230 }219922312200 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (243) */2232 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (254) */2201 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2233 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2202 readonly normal: FrameSystemLimitsWeightsPerClass;2234 readonly normal: FrameSystemLimitsWeightsPerClass;2203 readonly operational: FrameSystemLimitsWeightsPerClass;2235 readonly operational: FrameSystemLimitsWeightsPerClass;2204 readonly mandatory: FrameSystemLimitsWeightsPerClass;2236 readonly mandatory: FrameSystemLimitsWeightsPerClass;2205 }2237 }220622382207 /** @name FrameSystemLimitsWeightsPerClass (244) */2239 /** @name FrameSystemLimitsWeightsPerClass (255) */2208 export interface FrameSystemLimitsWeightsPerClass extends Struct {2240 export interface FrameSystemLimitsWeightsPerClass extends Struct {2209 readonly baseExtrinsic: u64;2241 readonly baseExtrinsic: u64;2210 readonly maxExtrinsic: Option<u64>;2242 readonly maxExtrinsic: Option<u64>;2211 readonly maxTotal: Option<u64>;2243 readonly maxTotal: Option<u64>;2212 readonly reserved: Option<u64>;2244 readonly reserved: Option<u64>;2213 }2245 }221422462215 /** @name FrameSystemLimitsBlockLength (246) */2247 /** @name FrameSystemLimitsBlockLength (257) */2216 export interface FrameSystemLimitsBlockLength extends Struct {2248 export interface FrameSystemLimitsBlockLength extends Struct {2217 readonly max: FrameSupportWeightsPerDispatchClassU32;2249 readonly max: FrameSupportWeightsPerDispatchClassU32;2218 }2250 }221922512220 /** @name FrameSupportWeightsPerDispatchClassU32 (247) */2252 /** @name FrameSupportWeightsPerDispatchClassU32 (258) */2221 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2253 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2222 readonly normal: u32;2254 readonly normal: u32;2223 readonly operational: u32;2255 readonly operational: u32;2224 readonly mandatory: u32;2256 readonly mandatory: u32;2225 }2257 }222622582227 /** @name FrameSupportWeightsRuntimeDbWeight (248) */2259 /** @name FrameSupportWeightsRuntimeDbWeight (259) */2228 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2260 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2229 readonly read: u64;2261 readonly read: u64;2230 readonly write: u64;2262 readonly write: u64;2231 }2263 }223222642233 /** @name SpVersionRuntimeVersion (249) */2265 /** @name SpVersionRuntimeVersion (260) */2234 export interface SpVersionRuntimeVersion extends Struct {2266 export interface SpVersionRuntimeVersion extends Struct {2235 readonly specName: Text;2267 readonly specName: Text;2236 readonly implName: Text;2268 readonly implName: Text;2242 readonly stateVersion: u8;2274 readonly stateVersion: u8;2243 }2275 }224422762245 /** @name FrameSystemError (253) */2277 /** @name FrameSystemError (264) */2246 export interface FrameSystemError extends Enum {2278 export interface FrameSystemError extends Enum {2247 readonly isInvalidSpecName: boolean;2279 readonly isInvalidSpecName: boolean;2248 readonly isSpecVersionNeedsToIncrease: boolean;2280 readonly isSpecVersionNeedsToIncrease: boolean;2253 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2285 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2254 }2286 }225522872256 /** @name OrmlVestingModuleError (255) */2288 /** @name OrmlVestingModuleError (266) */2257 export interface OrmlVestingModuleError extends Enum {2289 export interface OrmlVestingModuleError extends Enum {2258 readonly isZeroVestingPeriod: boolean;2290 readonly isZeroVestingPeriod: boolean;2259 readonly isZeroVestingPeriodCount: boolean;2291 readonly isZeroVestingPeriodCount: boolean;2264 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2296 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2265 }2297 }226622982267 /** @name CumulusPalletXcmpQueueInboundChannelDetails (257) */2299 /** @name CumulusPalletXcmpQueueInboundChannelDetails (268) */2268 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2300 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2269 readonly sender: u32;2301 readonly sender: u32;2270 readonly state: CumulusPalletXcmpQueueInboundState;2302 readonly state: CumulusPalletXcmpQueueInboundState;2271 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2303 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2272 }2304 }227323052274 /** @name CumulusPalletXcmpQueueInboundState (258) */2306 /** @name CumulusPalletXcmpQueueInboundState (269) */2275 export interface CumulusPalletXcmpQueueInboundState extends Enum {2307 export interface CumulusPalletXcmpQueueInboundState extends Enum {2276 readonly isOk: boolean;2308 readonly isOk: boolean;2277 readonly isSuspended: boolean;2309 readonly isSuspended: boolean;2278 readonly type: 'Ok' | 'Suspended';2310 readonly type: 'Ok' | 'Suspended';2279 }2311 }228023122281 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (261) */2313 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (272) */2282 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2314 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2283 readonly isConcatenatedVersionedXcm: boolean;2315 readonly isConcatenatedVersionedXcm: boolean;2284 readonly isConcatenatedEncodedBlob: boolean;2316 readonly isConcatenatedEncodedBlob: boolean;2285 readonly isSignals: boolean;2317 readonly isSignals: boolean;2286 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2318 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2287 }2319 }228823202289 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (264) */2321 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (275) */2290 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2322 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2291 readonly recipient: u32;2323 readonly recipient: u32;2292 readonly state: CumulusPalletXcmpQueueOutboundState;2324 readonly state: CumulusPalletXcmpQueueOutboundState;2295 readonly lastIndex: u16;2327 readonly lastIndex: u16;2296 }2328 }229723292298 /** @name CumulusPalletXcmpQueueOutboundState (265) */2330 /** @name CumulusPalletXcmpQueueOutboundState (276) */2299 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2331 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2300 readonly isOk: boolean;2332 readonly isOk: boolean;2301 readonly isSuspended: boolean;2333 readonly isSuspended: boolean;2302 readonly type: 'Ok' | 'Suspended';2334 readonly type: 'Ok' | 'Suspended';2303 }2335 }230423362305 /** @name CumulusPalletXcmpQueueQueueConfigData (267) */2337 /** @name CumulusPalletXcmpQueueQueueConfigData (278) */2306 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2338 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2307 readonly suspendThreshold: u32;2339 readonly suspendThreshold: u32;2308 readonly dropThreshold: u32;2340 readonly dropThreshold: u32;2312 readonly xcmpMaxIndividualWeight: u64;2344 readonly xcmpMaxIndividualWeight: u64;2313 }2345 }231423462315 /** @name CumulusPalletXcmpQueueError (269) */2347 /** @name CumulusPalletXcmpQueueError (280) */2316 export interface CumulusPalletXcmpQueueError extends Enum {2348 export interface CumulusPalletXcmpQueueError extends Enum {2317 readonly isFailedToSend: boolean;2349 readonly isFailedToSend: boolean;2318 readonly isBadXcmOrigin: boolean;2350 readonly isBadXcmOrigin: boolean;2322 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2354 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2323 }2355 }232423562325 /** @name PalletXcmError (270) */2357 /** @name PalletXcmError (281) */2326 export interface PalletXcmError extends Enum {2358 export interface PalletXcmError extends Enum {2327 readonly isUnreachable: boolean;2359 readonly isUnreachable: boolean;2328 readonly isSendFailure: boolean;2360 readonly isSendFailure: boolean;2340 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2372 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2341 }2373 }234223742343 /** @name CumulusPalletXcmError (271) */2375 /** @name CumulusPalletXcmError (282) */2344 export type CumulusPalletXcmError = Null;2376 export type CumulusPalletXcmError = Null;234523772346 /** @name CumulusPalletDmpQueueConfigData (272) */2378 /** @name CumulusPalletDmpQueueConfigData (283) */2347 export interface CumulusPalletDmpQueueConfigData extends Struct {2379 export interface CumulusPalletDmpQueueConfigData extends Struct {2348 readonly maxIndividual: u64;2380 readonly maxIndividual: u64;2349 }2381 }235023822351 /** @name CumulusPalletDmpQueuePageIndexData (273) */2383 /** @name CumulusPalletDmpQueuePageIndexData (284) */2352 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2384 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2353 readonly beginUsed: u32;2385 readonly beginUsed: u32;2354 readonly endUsed: u32;2386 readonly endUsed: u32;2355 readonly overweightCount: u64;2387 readonly overweightCount: u64;2356 }2388 }235723892358 /** @name CumulusPalletDmpQueueError (276) */2390 /** @name CumulusPalletDmpQueueError (287) */2359 export interface CumulusPalletDmpQueueError extends Enum {2391 export interface CumulusPalletDmpQueueError extends Enum {2360 readonly isUnknown: boolean;2392 readonly isUnknown: boolean;2361 readonly isOverLimit: boolean;2393 readonly isOverLimit: boolean;2362 readonly type: 'Unknown' | 'OverLimit';2394 readonly type: 'Unknown' | 'OverLimit';2363 }2395 }236423962365 /** @name PalletUniqueError (280) */2397 /** @name PalletUniqueError (291) */2366 export interface PalletUniqueError extends Enum {2398 export interface PalletUniqueError extends Enum {2367 readonly isCollectionDecimalPointLimitExceeded: boolean;2399 readonly isCollectionDecimalPointLimitExceeded: boolean;2368 readonly isConfirmUnsetSponsorFail: boolean;2400 readonly isConfirmUnsetSponsorFail: boolean;2369 readonly isEmptyArgument: boolean;2401 readonly isEmptyArgument: boolean;2370 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2402 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2371 }2403 }237224042373 /** @name UpDataStructsCollection (281) */2405 /** @name UpDataStructsCollection (292) */2374 export interface UpDataStructsCollection extends Struct {2406 export interface UpDataStructsCollection extends Struct {2375 readonly owner: AccountId32;2407 readonly owner: AccountId32;2376 readonly mode: UpDataStructsCollectionMode;2408 readonly mode: UpDataStructsCollectionMode;2388 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;2420 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;2389 }2421 }239024222391 /** @name UpDataStructsSponsorshipState (282) */2423 /** @name UpDataStructsSponsorshipState (293) */2392 export interface UpDataStructsSponsorshipState extends Enum {2424 export interface UpDataStructsSponsorshipState extends Enum {2393 readonly isDisabled: boolean;2425 readonly isDisabled: boolean;2394 readonly isUnconfirmed: boolean;2426 readonly isUnconfirmed: boolean;2398 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2430 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2399 }2431 }240024322401 /** @name UpDataStructsCollectionStats (285) */2433 /** @name UpDataStructsCollectionStats (296) */2402 export interface UpDataStructsCollectionStats extends Struct {2434 export interface UpDataStructsCollectionStats extends Struct {2403 readonly created: u32;2435 readonly created: u32;2404 readonly destroyed: u32;2436 readonly destroyed: u32;2405 readonly alive: u32;2437 readonly alive: u32;2406 }2438 }240724392408 /** @name PalletCommonError (286) */2440 /** @name PalletCommonError (297) */2409 export interface PalletCommonError extends Enum {2441 export interface PalletCommonError extends Enum {2410 readonly isCollectionNotFound: boolean;2442 readonly isCollectionNotFound: boolean;2411 readonly isMustBeTokenOwner: boolean;2443 readonly isMustBeTokenOwner: boolean;2433 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';2465 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';2434 }2466 }243524672436 /** @name PalletFungibleError (288) */2468 /** @name PalletFungibleError (299) */2437 export interface PalletFungibleError extends Enum {2469 export interface PalletFungibleError extends Enum {2438 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2470 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2439 readonly isFungibleItemsHaveNoId: boolean;2471 readonly isFungibleItemsHaveNoId: boolean;2440 readonly isFungibleItemsDontHaveData: boolean;2472 readonly isFungibleItemsDontHaveData: boolean;2441 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';2473 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';2442 }2474 }244324752444 /** @name PalletRefungibleItemData (289) */2476 /** @name PalletRefungibleItemData (300) */2445 export interface PalletRefungibleItemData extends Struct {2477 export interface PalletRefungibleItemData extends Struct {2446 readonly constData: Bytes;2478 readonly constData: Bytes;2447 readonly variableData: Bytes;2479 readonly variableData: Bytes;2448 }2480 }244924812450 /** @name PalletRefungibleError (293) */2482 /** @name PalletRefungibleError (304) */2451 export interface PalletRefungibleError extends Enum {2483 export interface PalletRefungibleError extends Enum {2452 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2484 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2453 readonly isWrongRefungiblePieces: boolean;2485 readonly isWrongRefungiblePieces: boolean;2454 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';2486 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';2455 }2487 }245624882457 /** @name PalletNonfungibleItemData (294) */2489 /** @name PalletNonfungibleItemData (305) */2458 export interface PalletNonfungibleItemData extends Struct {2490 export interface PalletNonfungibleItemData extends Struct {2459 readonly constData: Bytes;2491 readonly constData: Bytes;2460 readonly variableData: Bytes;2492 readonly variableData: Bytes;2461 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;2493 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;2462 }2494 }246324952464 /** @name PalletNonfungibleError (295) */2496 /** @name PalletNonfungibleError (306) */2465 export interface PalletNonfungibleError extends Enum {2497 export interface PalletNonfungibleError extends Enum {2466 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2498 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2467 readonly isNonfungibleItemsHaveNoAmount: boolean;2499 readonly isNonfungibleItemsHaveNoAmount: boolean;2468 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2500 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2469 }2501 }247025022471 /** @name PalletEvmError (297) */2503 /** @name PalletEvmError (308) */2472 export interface PalletEvmError extends Enum {2504 export interface PalletEvmError extends Enum {2473 readonly isBalanceLow: boolean;2505 readonly isBalanceLow: boolean;2474 readonly isFeeOverflow: boolean;2506 readonly isFeeOverflow: boolean;2479 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2511 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2480 }2512 }248125132482 /** @name FpRpcTransactionStatus (300) */2514 /** @name FpRpcTransactionStatus (311) */2483 export interface FpRpcTransactionStatus extends Struct {2515 export interface FpRpcTransactionStatus extends Struct {2484 readonly transactionHash: H256;2516 readonly transactionHash: H256;2485 readonly transactionIndex: u32;2517 readonly transactionIndex: u32;2490 readonly logsBloom: EthbloomBloom;2522 readonly logsBloom: EthbloomBloom;2491 }2523 }249225242493 /** @name EthbloomBloom (303) */2525 /** @name EthbloomBloom (314) */2494 export interface EthbloomBloom extends U8aFixed {}2526 export interface EthbloomBloom extends U8aFixed {}249525272496 /** @name EthereumReceiptReceiptV3 (305) */2528 /** @name EthereumReceiptReceiptV3 (316) */2497 export interface EthereumReceiptReceiptV3 extends Enum {2529 export interface EthereumReceiptReceiptV3 extends Enum {2498 readonly isLegacy: boolean;2530 readonly isLegacy: boolean;2499 readonly asLegacy: EthereumReceiptEip658ReceiptData;2531 readonly asLegacy: EthereumReceiptEip658ReceiptData;2504 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2536 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2505 }2537 }250625382507 /** @name EthereumReceiptEip658ReceiptData (306) */2539 /** @name EthereumReceiptEip658ReceiptData (317) */2508 export interface EthereumReceiptEip658ReceiptData extends Struct {2540 export interface EthereumReceiptEip658ReceiptData extends Struct {2509 readonly statusCode: u8;2541 readonly statusCode: u8;2510 readonly usedGas: U256;2542 readonly usedGas: U256;2511 readonly logsBloom: EthbloomBloom;2543 readonly logsBloom: EthbloomBloom;2512 readonly logs: Vec<EthereumLog>;2544 readonly logs: Vec<EthereumLog>;2513 }2545 }251425462515 /** @name EthereumBlock (307) */2547 /** @name EthereumBlock (318) */2516 export interface EthereumBlock extends Struct {2548 export interface EthereumBlock extends Struct {2517 readonly header: EthereumHeader;2549 readonly header: EthereumHeader;2518 readonly transactions: Vec<EthereumTransactionTransactionV2>;2550 readonly transactions: Vec<EthereumTransactionTransactionV2>;2519 readonly ommers: Vec<EthereumHeader>;2551 readonly ommers: Vec<EthereumHeader>;2520 }2552 }252125532522 /** @name EthereumHeader (308) */2554 /** @name EthereumHeader (319) */2523 export interface EthereumHeader extends Struct {2555 export interface EthereumHeader extends Struct {2524 readonly parentHash: H256;2556 readonly parentHash: H256;2525 readonly ommersHash: H256;2557 readonly ommersHash: H256;2538 readonly nonce: EthereumTypesHashH64;2570 readonly nonce: EthereumTypesHashH64;2539 }2571 }254025722541 /** @name EthereumTypesHashH64 (309) */2573 /** @name EthereumTypesHashH64 (320) */2542 export interface EthereumTypesHashH64 extends U8aFixed {}2574 export interface EthereumTypesHashH64 extends U8aFixed {}254325752544 /** @name PalletEthereumError (314) */2576 /** @name PalletEthereumError (325) */2545 export interface PalletEthereumError extends Enum {2577 export interface PalletEthereumError extends Enum {2546 readonly isInvalidSignature: boolean;2578 readonly isInvalidSignature: boolean;2547 readonly isPreLogExists: boolean;2579 readonly isPreLogExists: boolean;2548 readonly type: 'InvalidSignature' | 'PreLogExists';2580 readonly type: 'InvalidSignature' | 'PreLogExists';2549 }2581 }255025822551 /** @name PalletEvmCoderSubstrateError (315) */2583 /** @name PalletEvmCoderSubstrateError (326) */2552 export interface PalletEvmCoderSubstrateError extends Enum {2584 export interface PalletEvmCoderSubstrateError extends Enum {2553 readonly isOutOfGas: boolean;2585 readonly isOutOfGas: boolean;2554 readonly isOutOfFund: boolean;2586 readonly isOutOfFund: boolean;2555 readonly type: 'OutOfGas' | 'OutOfFund';2587 readonly type: 'OutOfGas' | 'OutOfFund';2556 }2588 }255725892558 /** @name PalletEvmContractHelpersSponsoringModeT (316) */2590 /** @name PalletEvmContractHelpersSponsoringModeT (327) */2559 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2591 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2560 readonly isDisabled: boolean;2592 readonly isDisabled: boolean;2561 readonly isAllowlisted: boolean;2593 readonly isAllowlisted: boolean;2562 readonly isGenerous: boolean;2594 readonly isGenerous: boolean;2563 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2595 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2564 }2596 }256525972566 /** @name PalletEvmContractHelpersError (318) */2598 /** @name PalletEvmContractHelpersError (329) */2567 export interface PalletEvmContractHelpersError extends Enum {2599 export interface PalletEvmContractHelpersError extends Enum {2568 readonly isNoPermission: boolean;2600 readonly isNoPermission: boolean;2569 readonly type: 'NoPermission';2601 readonly type: 'NoPermission';2570 }2602 }257126032572 /** @name PalletEvmMigrationError (319) */2604 /** @name PalletEvmMigrationError (330) */2573 export interface PalletEvmMigrationError extends Enum {2605 export interface PalletEvmMigrationError extends Enum {2574 readonly isAccountNotEmpty: boolean;2606 readonly isAccountNotEmpty: boolean;2575 readonly isAccountIsNotMigrating: boolean;2607 readonly isAccountIsNotMigrating: boolean;2576 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2608 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2577 }2609 }257826102579 /** @name SpRuntimeMultiSignature (321) */2611 /** @name SpRuntimeMultiSignature (332) */2580 export interface SpRuntimeMultiSignature extends Enum {2612 export interface SpRuntimeMultiSignature extends Enum {2581 readonly isEd25519: boolean;2613 readonly isEd25519: boolean;2582 readonly asEd25519: SpCoreEd25519Signature;2614 readonly asEd25519: SpCoreEd25519Signature;2587 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2619 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2588 }2620 }258926212590 /** @name SpCoreEd25519Signature (322) */2622 /** @name SpCoreEd25519Signature (333) */2591 export interface SpCoreEd25519Signature extends U8aFixed {}2623 export interface SpCoreEd25519Signature extends U8aFixed {}259226242593 /** @name SpCoreSr25519Signature (324) */2625 /** @name SpCoreSr25519Signature (335) */2594 export interface SpCoreSr25519Signature extends U8aFixed {}2626 export interface SpCoreSr25519Signature extends U8aFixed {}259526272596 /** @name SpCoreEcdsaSignature (325) */2628 /** @name SpCoreEcdsaSignature (336) */2597 export interface SpCoreEcdsaSignature extends U8aFixed {}2629 export interface SpCoreEcdsaSignature extends U8aFixed {}259826302599 /** @name FrameSystemExtensionsCheckSpecVersion (328) */2631 /** @name FrameSystemExtensionsCheckSpecVersion (339) */2600 export type FrameSystemExtensionsCheckSpecVersion = Null;2632 export type FrameSystemExtensionsCheckSpecVersion = Null;260126332602 /** @name FrameSystemExtensionsCheckGenesis (329) */2634 /** @name FrameSystemExtensionsCheckGenesis (340) */2603 export type FrameSystemExtensionsCheckGenesis = Null;2635 export type FrameSystemExtensionsCheckGenesis = Null;260426362605 /** @name FrameSystemExtensionsCheckNonce (332) */2637 /** @name FrameSystemExtensionsCheckNonce (343) */2606 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}2638 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}260726392608 /** @name FrameSystemExtensionsCheckWeight (333) */2640 /** @name FrameSystemExtensionsCheckWeight (344) */2609 export type FrameSystemExtensionsCheckWeight = Null;2641 export type FrameSystemExtensionsCheckWeight = Null;261026422611 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (334) */2643 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (345) */2612 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}2644 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}261326452614 /** @name UniqueRuntimeRuntime (335) */2646 /** @name UniqueRuntimeRuntime (346) */2615 export type UniqueRuntimeRuntime = Null;2647 export type UniqueRuntimeRuntime = Null;261626482617} // declare module2649} // declare moduletests/src/interfaces/unique/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -1316,6 +1316,11 @@
readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;
readonly itemsData: Vec<UpDataStructsCreateItemData>;
} & Struct;
+ readonly isCreateMultipleItemsEx: boolean;
+ readonly asCreateMultipleItemsEx: {
+ readonly collectionId: u32;
+ readonly data: UpDataStructsCreateItemExData;
+ } & Struct;
readonly isSetTransfersEnabledFlag: boolean;
readonly asSetTransfersEnabledFlag: {
readonly collectionId: u32;
@@ -1392,7 +1397,7 @@
readonly collectionId: u32;
readonly newLimit: UpDataStructsCollectionLimits;
} & Struct;
- readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';
+ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';
}
/** @name PalletUniqueError */
@@ -1806,12 +1811,32 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
+/** @name UpDataStructsCreateItemExData */
+export interface UpDataStructsCreateItemExData extends Enum {
+ readonly isNft: boolean;
+ readonly asNft: Vec<UpDataStructsCreateNftExData>;
+ readonly isFungible: boolean;
+ readonly asFungible: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr,u128>;
+ readonly isRefungibleMultipleItems: boolean;
+ readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;
+ readonly isRefungibleMultipleOwners: boolean;
+ readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;
+ readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
+}
+
/** @name UpDataStructsCreateNftData */
export interface UpDataStructsCreateNftData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
}
+/** @name UpDataStructsCreateNftExData */
+export interface UpDataStructsCreateNftExData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;
+}
+
/** @name UpDataStructsCreateReFungibleData */
export interface UpDataStructsCreateReFungibleData extends Struct {
readonly constData: Bytes;
@@ -1819,6 +1844,13 @@
readonly pieces: u128;
}
+/** @name UpDataStructsCreateRefungibleExData */
+export interface UpDataStructsCreateRefungibleExData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ readonly users: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;
+}
+
/** @name UpDataStructsMetaUpdatePermission */
export interface UpDataStructsMetaUpdatePermission extends Enum {
readonly isItemOwner: boolean;