git.delta.rocks / unique-network / refs/commits / 755170ea07c5

difftreelog

update unique-types-js

Igor Kozyrev2021-11-24parent: #14a916c.patch.diff
in: master

24 files changed

modifiedtests/README.mddiffbeforeafterboth
--- a/tests/README.md
+++ b/tests/README.md
@@ -5,7 +5,7 @@
 1. Checkout polkadot in sibling folder with this project
 ```bash
 git clone https://github.com/paritytech/polkadot.git && cd polkadot
-git checkout release-v0.9.9
+git checkout release-v0.9.12
 ```
 
 2. Build with nightly-2021-06-28
modifiedtests/src/check-event/burnItemEvent.test.tsdiffbeforeafterboth
--- a/tests/src/check-event/burnItemEvent.test.ts
+++ b/tests/src/check-event/burnItemEvent.test.ts
@@ -10,7 +10,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from '../substrate/privateKey';
 import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import {createCollectionExpectSuccess, createItemExpectSuccess, nftEventMessage} from '../util/helpers';
+import {createCollectionExpectSuccess, createItemExpectSuccess, uniqueEventMessage} from '../util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -31,7 +31,7 @@
       const itemID = await createItemExpectSuccess(alice, collectionID, 'NFT');
       const burnItem = api.tx.unique.burnItem(collectionID, itemID, 1);
       const events = await submitTransactionAsync(alice, burnItem);
-      const msg = JSON.stringify(nftEventMessage(events));
+      const msg = JSON.stringify(uniqueEventMessage(events));
       expect(msg).to.be.contain(checkSection);
       expect(msg).to.be.contain(checkTreasury);
       expect(msg).to.be.contain(checkSystem);
modifiedtests/src/check-event/createCollectionEvent.test.tsdiffbeforeafterboth
--- a/tests/src/check-event/createCollectionEvent.test.ts
+++ b/tests/src/check-event/createCollectionEvent.test.ts
@@ -10,7 +10,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from '../substrate/privateKey';
 import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import {nftEventMessage} from '../util/helpers';
+import {uniqueEventMessage} from '../util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -29,7 +29,7 @@
     await usingApi(async (api: ApiPromise) => {
       const tx = api.tx.unique.createCollection([0x31], [0x32], '0x33', 'NFT');
       const events = await submitTransactionAsync(alice, tx);
-      const msg = JSON.stringify(nftEventMessage(events));
+      const msg = JSON.stringify(uniqueEventMessage(events));
       expect(msg).to.be.contain(checkSection);
       expect(msg).to.be.contain(checkTreasury);
       expect(msg).to.be.contain(checkSystem);
modifiedtests/src/check-event/createItemEvent.test.tsdiffbeforeafterboth
--- a/tests/src/check-event/createItemEvent.test.ts
+++ b/tests/src/check-event/createItemEvent.test.ts
@@ -10,7 +10,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from '../substrate/privateKey';
 import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import {createCollectionExpectSuccess, nftEventMessage, normalizeAccountId} from '../util/helpers';
+import {createCollectionExpectSuccess, uniqueEventMessage, normalizeAccountId} from '../util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -30,7 +30,7 @@
       const collectionID = await createCollectionExpectSuccess();
       const createItem = api.tx.unique.createItem(collectionID, normalizeAccountId(alice.address), 'NFT');
       const events = await submitTransactionAsync(alice, createItem);
-      const msg = JSON.stringify(nftEventMessage(events));
+      const msg = JSON.stringify(uniqueEventMessage(events));
       expect(msg).to.be.contain(checkSection);
       expect(msg).to.be.contain(checkTreasury);
       expect(msg).to.be.contain(checkSystem);
modifiedtests/src/check-event/createMultipleItemsEvent.test.tsdiffbeforeafterboth
--- a/tests/src/check-event/createMultipleItemsEvent.test.ts
+++ b/tests/src/check-event/createMultipleItemsEvent.test.ts
@@ -10,7 +10,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from '../substrate/privateKey';
 import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import {createCollectionExpectSuccess, nftEventMessage, normalizeAccountId} from '../util/helpers';
+import {createCollectionExpectSuccess, uniqueEventMessage, normalizeAccountId} from '../util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -31,7 +31,7 @@
       const args = [{NFT: ['0x31', '0x31']}, {NFT: ['0x32', '0x32']}, {NFT: ['0x33', '0x33']}];
       const createMultipleItems = api.tx.unique.createMultipleItems(collectionID, normalizeAccountId(alice.address), args);
       const events = await submitTransactionAsync(alice, createMultipleItems);
-      const msg = JSON.stringify(nftEventMessage(events));
+      const msg = JSON.stringify(uniqueEventMessage(events));
       expect(msg).to.be.contain(checkSection);
       expect(msg).to.be.contain(checkTreasury);
       expect(msg).to.be.contain(checkSystem);
modifiedtests/src/check-event/destroyCollectionEvent.test.tsdiffbeforeafterboth
--- a/tests/src/check-event/destroyCollectionEvent.test.ts
+++ b/tests/src/check-event/destroyCollectionEvent.test.ts
@@ -10,7 +10,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from '../substrate/privateKey';
 import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import {createCollectionExpectSuccess, nftEventMessage} from '../util/helpers';
+import {createCollectionExpectSuccess, uniqueEventMessage} from '../util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -29,7 +29,7 @@
       const collectionID = await createCollectionExpectSuccess();
       const destroyCollection = api.tx.unique.destroyCollection(collectionID);
       const events = await submitTransactionAsync(alice, destroyCollection);
-      const msg = JSON.stringify(nftEventMessage(events));
+      const msg = JSON.stringify(uniqueEventMessage(events));
       expect(msg).to.be.contain(checkTreasury);
       expect(msg).to.be.contain(checkSystem);
     });
modifiedtests/src/check-event/transferEvent.test.tsdiffbeforeafterboth
--- a/tests/src/check-event/transferEvent.test.ts
+++ b/tests/src/check-event/transferEvent.test.ts
@@ -10,7 +10,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from '../substrate/privateKey';
 import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import {createCollectionExpectSuccess, createItemExpectSuccess, nftEventMessage, normalizeAccountId} from '../util/helpers';
+import {createCollectionExpectSuccess, createItemExpectSuccess, uniqueEventMessage, normalizeAccountId} from '../util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -33,7 +33,7 @@
       const itemID = await createItemExpectSuccess(alice, collectionID, 'NFT');
       const transfer = api.tx.unique.transfer(normalizeAccountId(bob.address), collectionID, itemID, 1);
       const events = await submitTransactionAsync(alice, transfer);
-      const msg = JSON.stringify(nftEventMessage(events));
+      const msg = JSON.stringify(uniqueEventMessage(events));
       expect(msg).to.be.contain(checkSection);
       expect(msg).to.be.contain(checkTreasury);
       expect(msg).to.be.contain(checkSystem);
modifiedtests/src/check-event/transferFromEvent.test.tsdiffbeforeafterboth
--- a/tests/src/check-event/transferFromEvent.test.ts
+++ b/tests/src/check-event/transferFromEvent.test.ts
@@ -10,7 +10,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from '../substrate/privateKey';
 import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import {createCollectionExpectSuccess, createItemExpectSuccess, nftEventMessage, normalizeAccountId} from '../util/helpers';
+import {createCollectionExpectSuccess, createItemExpectSuccess, uniqueEventMessage, normalizeAccountId} from '../util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -33,7 +33,7 @@
       const itemID = await createItemExpectSuccess(alice, collectionID, 'NFT');
       const transferFrom = api.tx.unique.transferFrom(normalizeAccountId(alice.address), normalizeAccountId(bob.address), collectionID, itemID, 1);
       const events = await submitTransactionAsync(alice, transferFrom);
-      const msg = JSON.stringify(nftEventMessage(events));
+      const msg = JSON.stringify(uniqueEventMessage(events));
       expect(msg).to.be.contain(checkSection);
       expect(msg).to.be.contain(checkTreasury);
       expect(msg).to.be.contain(checkSystem);
modifiedtests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -159,7 +159,6 @@
       [key: string]: Codec;
     };
     vesting: {
-      maxVestingSchedules: u32 & AugmentedConst<ApiType>;
       /**
        * The minimum amount transferred to call `vested_transfer`.
        **/
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -241,32 +241,6 @@
        **/
       [key: string]: AugmentedError<ApiType>;
     };
-    nft: {
-      /**
-       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.
-       **/
-      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;
-      /**
-       * Collection limit bounds per collection exceeded
-       **/
-      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;
-      /**
-       * This address is not set as sponsor, use setCollectionSponsor first.
-       **/
-      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;
-      /**
-       * Length of items properties must be greater than 0.
-       **/
-      EmptyArgument: AugmentedError<ApiType>;
-      /**
-       * Tried to enable permissions which are only permitted to be disabled
-       **/
-      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;
-      /**
-       * Generic error
-       **/
-      [key: string]: AugmentedError<ApiType>;
-    };
     nonfungible: {
       /**
        * Used amount > 1 with NFT
@@ -390,28 +364,6 @@
        * Maximum refungibility exceeded
        **/
       WrongRefungiblePieces: AugmentedError<ApiType>;
-      /**
-       * Generic error
-       **/
-      [key: string]: AugmentedError<ApiType>;
-    };
-    scheduler: {
-      /**
-       * Failed to schedule a call
-       **/
-      FailedToSchedule: AugmentedError<ApiType>;
-      /**
-       * Cannot find the scheduled call.
-       **/
-      NotFound: AugmentedError<ApiType>;
-      /**
-       * Reschedule failed because it does not change scheduled time.
-       **/
-      RescheduleNoChange: AugmentedError<ApiType>;
-      /**
-       * Given target block number is in the past.
-       **/
-      TargetBlockNumberInPast: AugmentedError<ApiType>;
       /**
        * Generic error
        **/
@@ -475,28 +427,57 @@
        **/
       [key: string]: AugmentedError<ApiType>;
     };
+    unique: {
+      /**
+       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.
+       **/
+      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;
+      /**
+       * Collection limit bounds per collection exceeded
+       **/
+      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;
+      /**
+       * This address is not set as sponsor, use setCollectionSponsor first.
+       **/
+      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;
+      /**
+       * Length of items properties must be greater than 0.
+       **/
+      EmptyArgument: AugmentedError<ApiType>;
+      /**
+       * Tried to enable permissions which are only permitted to be disabled
+       **/
+      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;
+      /**
+       * Generic error
+       **/
+      [key: string]: AugmentedError<ApiType>;
+    };
     vesting: {
       /**
-       * Amount being transferred is too low to create a vesting schedule.
+       * The vested transfer amount is too low
        **/
       AmountLow: AugmentedError<ApiType>;
       /**
-       * The account already has `MaxVestingSchedules` count of schedules and thus
-       * cannot add another one. Consider merging existing schedules in order to add another.
+       * Insufficient amount of balance to lock
+       **/
+      InsufficientBalanceToLock: AugmentedError<ApiType>;
+      /**
+       * Failed because the maximum vesting schedules was exceeded
        **/
-      AtMaxVestingSchedules: AugmentedError<ApiType>;
+      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;
       /**
-       * Failed to create a new schedule because some parameter was invalid.
+       * This account have too many vesting schedules
        **/
-      InvalidScheduleParams: AugmentedError<ApiType>;
+      TooManyVestingSchedules: AugmentedError<ApiType>;
       /**
-       * The account given is not vesting.
+       * Vesting period is zero
        **/
-      NotVesting: AugmentedError<ApiType>;
+      ZeroVestingPeriod: AugmentedError<ApiType>;
       /**
-       * An index was out of bounds of the vesting schedules.
+       * Number of vests is zero
        **/
-      ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
+      ZeroVestingPeriodCount: AugmentedError<ApiType>;
       /**
        * Generic error
        **/
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -2,12 +2,11 @@
 /* eslint-disable */
 
 import type { EthereumLog, EvmCoreErrorExitReason } from './ethereum';
-import type { PalletCommonAccountBasicCrossAccountIdRepr } from './nft';
+import type { PalletCommonAccountBasicCrossAccountIdRepr } from './unique';
 import type { ApiTypes } from '@polkadot/api/types';
-import type { Bytes, Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types';
+import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types';
 import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
 import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
-import type { ITuple } from '@polkadot/types/types';
 
 declare module '@polkadot/api/types/events' {
   export interface AugmentedEvents<ApiType> {
@@ -389,24 +388,6 @@
        **/
       [key: string]: AugmentedEvent<ApiType>;
     };
-    scheduler: {
-      /**
-       * Canceled some task. \[when, index\]
-       **/
-      Canceled: AugmentedEvent<ApiType, [u32, u32]>;
-      /**
-       * Dispatched some task. \[task, id, result\]
-       **/
-      Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<Bytes>, Result<Null, SpRuntimeDispatchError>]>;
-      /**
-       * Scheduled some task. \[when, index\]
-       **/
-      Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
-      /**
-       * Generic event
-       **/
-      [key: string]: AugmentedEvent<ApiType>;
-    };
     sudo: {
       /**
        * The \[sudoer\] just switched identity; the old key is supplied.
@@ -492,15 +473,17 @@
     };
     vesting: {
       /**
-       * An \[account\] has become fully vested.
+       * Claimed vesting. \[who, locked_amount\]
+       **/
+      Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;
+      /**
+       * Added new vesting schedule. \[from, to, vesting_schedule\]
        **/
-      VestingCompleted: AugmentedEvent<ApiType, [AccountId32]>;
+      VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;
       /**
-       * The amount vested has been updated. This could indicate a change in funds available.
-       * The balance given is the amount which is left unvested (and thus locked).
-       * \[account, unvested\]
+       * Updated vesting schedules. \[who\]
        **/
-      VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>;
+      VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;
       /**
        * Generic event
        **/
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -2,12 +2,12 @@
 /* eslint-disable */
 
 import type { EthereumBlock, EthereumReceipt, EthereumTransactionLegacyTransaction, FpRpcTransactionStatus } from './ethereum';
-import type { NftDataStructsCollection, PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, PalletUnqSchedulerCallSpec, PalletUnqSchedulerReleases, PalletUnqSchedulerScheduledV2 } from './nft';
 import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';
+import type { PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';
 import type { ApiTypes } from '@polkadot/api/types';
 import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
 import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeGenericDigest } from '@polkadot/types/lookup';
+import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeGenericDigest } from '@polkadot/types/lookup';
 import type { AnyNumber, ITuple, Observable } from '@polkadot/types/types';
 
 declare module '@polkadot/api/types/storage' {
@@ -58,10 +58,14 @@
       /**
        * Collection info
        **/
-      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<NftDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
       createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
       destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
       /**
+       * Not used by code, exists only to provide some types to metadata
+       **/
+      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
+      /**
        * List of collection admins
        **/
       isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;
@@ -171,44 +175,6 @@
        **/
       [key: string]: QueryableStorageEntry<ApiType>;
     };
-    nft: {
-      /**
-       * Used for migrations
-       **/
-      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
-      /**
-       * (Collection id (controlled?2), who created (real))
-       * TODO: Off chain worker should remove from this map when collection gets removed
-       **/
-      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<u32>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;
-      /**
-       * Collection id (controlled?2), owning user (real)
-       **/
-      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
-      /**
-       * Collection id (controlled?2), token id (controlled?2)
-       **/
-      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
-      /**
-       * Collection id (controlled?2), token id (controlled?2)
-       **/
-      reFungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
-      /**
-       * Variable metadata sponsoring
-       * Collection id (controlled?2), token id (controlled?2)
-       **/
-      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
-      /**
-       * Generic query
-       **/
-      [key: string]: QueryableStorageEntry<ApiType>;
-    };
-    nftPayment: {
-      /**
-       * Generic query
-       **/
-      [key: string]: QueryableStorageEntry<ApiType>;
-    };
     nonfungible: {
       accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;
       allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCommonAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
@@ -383,27 +349,6 @@
        **/
       [key: string]: QueryableStorageEntry<ApiType>;
     };
-    scheduler: {
-      /**
-       * Items to be executed, indexed by the block number that they should be executed on.
-       **/
-      agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUnqSchedulerScheduledV2>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
-      /**
-       * Lookup from identity to the block number and index of the task.
-       **/
-      lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
-      specAgenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUnqSchedulerCallSpec>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
-      /**
-       * Storage version of the pallet.
-       * 
-       * New networks start with last version.
-       **/
-      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletUnqSchedulerReleases>, []> & QueryableStorageEntry<ApiType, []>;
-      /**
-       * Generic query
-       **/
-      [key: string]: QueryableStorageEntry<ApiType>;
-    };
     sudo: {
       /**
        * The `AccountId` of the sudo key.
@@ -537,17 +482,51 @@
        **/
       [key: string]: QueryableStorageEntry<ApiType>;
     };
+    unique: {
+      /**
+       * Used for migrations
+       **/
+      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
+      /**
+       * (Collection id (controlled?2), who created (real))
+       * TODO: Off chain worker should remove from this map when collection gets removed
+       **/
+      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;
+      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
+      /**
+       * Collection id (controlled?2), owning user (real)
+       **/
+      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
+      /**
+       * Approval sponsoring
+       **/
+      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
+      /**
+       * Collection id (controlled?2), token id (controlled?2)
+       **/
+      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
+      refungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
+      /**
+       * Collection id (controlled?2), token id (controlled?2)
+       **/
+      reFungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
+      /**
+       * Variable metadata sponsoring
+       * Collection id (controlled?2), token id (controlled?2)
+       **/
+      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
+      /**
+       * Generic query
+       **/
+      [key: string]: QueryableStorageEntry<ApiType>;
+    };
     vesting: {
       /**
-       * Storage version of the pallet.
+       * Vesting schedules of an account.
        * 
-       * New networks start with latest version, as determined by the genesis build.
+       * VestingSchedules: map AccountId => Vec<VestingSchedule>
        **/
-      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
-      /**
-       * Information regarding the vesting of a given account.
-       **/
-      vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
       /**
        * Generic query
        **/
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
 // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
 /* eslint-disable */
 
-import type { NftDataStructsCollection, NftDataStructsCollectionId, NftDataStructsCollectionStats, NftDataStructsTokenId, PalletCommonAccountBasicCrossAccountIdRepr } from './nft';
+import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionId, UpDataStructsCollectionStats, UpDataStructsTokenId } from './unique';
 import type { Bytes, HashMap, Json, Metadata, Null, Option, StorageKey, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types';
 import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
 import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
@@ -354,68 +354,6 @@
        * Returns protocol version.
        **/
       version: AugmentedRpc<() => Observable<Text>>;
-    };
-    nft: {
-      /**
-       * Get amount of different user tokens
-       **/
-      accountBalance: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
-      /**
-       * Get tokens owned by account
-       **/
-      accountTokens: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<NftDataStructsTokenId>>>;
-      /**
-       * Get admin list
-       **/
-      adminlist: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;
-      /**
-       * Get allowed amount
-       **/
-      allowance: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, sender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
-      /**
-       * Check if user is allowed to use collection
-       **/
-      allowed: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
-      /**
-       * Get allowlist
-       **/
-      allowlist: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;
-      /**
-       * Get amount of specific account token
-       **/
-      balance: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
-      /**
-       * Get collection by specified id
-       **/
-      collectionById: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<NftDataStructsCollection>>>;
-      /**
-       * Get collection stats
-       **/
-      collectionStats: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<NftDataStructsCollectionStats>>;
-      /**
-       * Get tokens contained in collection
-       **/
-      collectionTokens: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<NftDataStructsTokenId>>>;
-      /**
-       * Get token constant metadata
-       **/
-      constMetadata: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
-      /**
-       * Get last token id
-       **/
-      lastTokenId: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<NftDataStructsTokenId>>;
-      /**
-       * Check if token exists
-       **/
-      tokenExists: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
-      /**
-       * Get token owner
-       **/
-      tokenOwner: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletCommonAccountBasicCrossAccountIdRepr>>;
-      /**
-       * Get token variable metadata
-       **/
-      variableMetadata: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
     };
     offchain: {
       /**
@@ -609,6 +547,68 @@
        **/
       version: AugmentedRpc<() => Observable<Text>>;
     };
+    unique: {
+      /**
+       * Get amount of different user tokens
+       **/
+      accountBalance: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
+      /**
+       * Get tokens owned by account
+       **/
+      accountTokens: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsTokenId>>>;
+      /**
+       * Get admin list
+       **/
+      adminlist: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;
+      /**
+       * Get allowed amount
+       **/
+      allowance: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, sender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: UpDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+      /**
+       * Check if user is allowed to use collection
+       **/
+      allowed: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
+      /**
+       * Get allowlist
+       **/
+      allowlist: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;
+      /**
+       * Get amount of specific account token
+       **/
+      balance: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: UpDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+      /**
+       * Get collection by specified id
+       **/
+      collectionById: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollection>>>;
+      /**
+       * Get collection stats
+       **/
+      collectionStats: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<UpDataStructsCollectionStats>>;
+      /**
+       * Get tokens contained in collection
+       **/
+      collectionTokens: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsTokenId>>>;
+      /**
+       * Get token constant metadata
+       **/
+      constMetadata: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: UpDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
+      /**
+       * Get last token id
+       **/
+      lastTokenId: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<UpDataStructsTokenId>>;
+      /**
+       * Check if token exists
+       **/
+      tokenExists: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: UpDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
+      /**
+       * Get token owner
+       **/
+      tokenOwner: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: UpDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletCommonAccountBasicCrossAccountIdRepr>>;
+      /**
+       * Get token variable metadata
+       **/
+      variableMetadata: AugmentedRpc<(collection: UpDataStructsCollectionId | AnyNumber | Uint8Array, tokenId: UpDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
+    };
     web3: {
       /**
        * Returns current client version.
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
before · tests/src/interfaces/augment-api-tx.ts
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { EthereumTransactionLegacyTransaction } from './ethereum';5import type { NftDataStructsAccessMode, NftDataStructsCollectionLimits, NftDataStructsCollectionMode, NftDataStructsCreateItemData, NftDataStructsMetaUpdatePermission, NftDataStructsSchemaVersion, PalletCommonAccountBasicCrossAccountIdRepr } from './nft';6import type { CumulusPrimitivesParachainInherentParachainInherentData } from './polkadot';7import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';8import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';9import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';11import type { PalletVestingVestingInfo, SpCoreChangesTrieChangesTrieConfiguration, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';12import type { AnyNumber, ITuple } from '@polkadot/types/types';1314declare module '@polkadot/api/types/submittable' {15  export interface AugmentedSubmittables<ApiType> {16    balances: {17      /**18       * Exactly as `transfer`, except the origin must be root and the source account may be19       * specified.20       * # <weight>21       * - Same as transfer, but additional read and write because the source account is not22       * assumed to be in the overlay.23       * # </weight>24       **/25      forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;26      /**27       * Unreserve some balance from a user by force.28       * 29       * Can only be called by ROOT.30       **/31      forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;32      /**33       * Set the balances of a given account.34       * 35       * This will alter `FreeBalance` and `ReservedBalance` in storage. it will36       * also decrease the total issuance of the system (`TotalIssuance`).37       * If the new free or reserved balance is below the existential deposit,38       * it will reset the account nonce (`frame_system::AccountNonce`).39       * 40       * The dispatch origin for this call is `root`.41       * 42       * # <weight>43       * - Independent of the arguments.44       * - Contains a limited number of reads and writes.45       * ---------------------46       * - Base Weight:47       * - Creating: 27.56 µs48       * - Killing: 35.11 µs49       * - DB Weight: 1 Read, 1 Write to `who`50       * # </weight>51       **/52      setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;53      /**54       * Transfer some liquid free balance to another account.55       * 56       * `transfer` will set the `FreeBalance` of the sender and receiver.57       * It will decrease the total issuance of the system by the `TransferFee`.58       * If the sender's account is below the existential deposit as a result59       * of the transfer, the account will be reaped.60       * 61       * The dispatch origin for this call must be `Signed` by the transactor.62       * 63       * # <weight>64       * - Dependent on arguments but not critical, given proper implementations for input config65       * types. See related functions below.66       * - It contains a limited number of reads and writes internally and no complex67       * computation.68       * 69       * Related functions:70       * 71       * - `ensure_can_withdraw` is always called internally but has a bounded complexity.72       * - Transferring balances to accounts that did not exist before will cause73       * `T::OnNewAccount::on_new_account` to be called.74       * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.75       * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check76       * that the transfer will not kill the origin account.77       * ---------------------------------78       * - Base Weight: 73.64 µs, worst case scenario (account created, account removed)79       * - DB Weight: 1 Read and 1 Write to destination account80       * - Origin account is already in memory, so no DB operations for them.81       * # </weight>82       **/83      transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;84      /**85       * Transfer the entire transferable balance from the caller account.86       * 87       * NOTE: This function only attempts to transfer _transferable_ balances. This means that88       * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be89       * transferred by this function. To ensure that this function results in a killed account,90       * you might need to prepare the account by removing any reference counters, storage91       * deposits, etc...92       * 93       * The dispatch origin of this call must be Signed.94       * 95       * - `dest`: The recipient of the transfer.96       * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all97       * of the funds the account has, causing the sender account to be killed (false), or98       * transfer everything except at least the existential deposit, which will guarantee to99       * keep the sender account alive (true). # <weight>100       * - O(1). Just like transfer, but reading the user's transferable balance first.101       * #</weight>102       **/103      transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;104      /**105       * Same as the [`transfer`] call, but with a check that the transfer will not kill the106       * origin account.107       * 108       * 99% of the time you want [`transfer`] instead.109       * 110       * [`transfer`]: struct.Pallet.html#method.transfer111       * # <weight>112       * - Cheaper than transfer because account cannot be killed.113       * - Base Weight: 51.4 µs114       * - DB Weight: 1 Read and 1 Write to dest (sender is in overlay already)115       * #</weight>116       **/117      transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;118      /**119       * Generic tx120       **/121      [key: string]: SubmittableExtrinsicFunction<ApiType>;122    };123    charging: {124      /**125       * Generic tx126       **/127      [key: string]: SubmittableExtrinsicFunction<ApiType>;128    };129    cumulusXcm: {130      /**131       * Generic tx132       **/133      [key: string]: SubmittableExtrinsicFunction<ApiType>;134    };135    dmpQueue: {136      /**137       * Service a single overweight message.138       * 139       * - `origin`: Must pass `ExecuteOverweightOrigin`.140       * - `index`: The index of the overweight message to service.141       * - `weight_limit`: The amount of weight that message execution may take.142       * 143       * Errors:144       * - `Unknown`: Message of `index` is unknown.145       * - `OverLimit`: Message execution may use greater than `weight_limit`.146       * 147       * Events:148       * - `OverweightServiced`: On success.149       **/150      serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;151      /**152       * Generic tx153       **/154      [key: string]: SubmittableExtrinsicFunction<ApiType>;155    };156    ethereum: {157      /**158       * Transact an Ethereum transaction.159       **/160      transact: AugmentedSubmittable<(transaction: EthereumTransactionLegacyTransaction | { nonce?: any; gasPrice?: any; gasLimit?: any; action?: any; value?: any; input?: any; signature?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionLegacyTransaction]>;161      /**162       * Generic tx163       **/164      [key: string]: SubmittableExtrinsicFunction<ApiType>;165    };166    evm: {167      /**168       * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.169       **/170      call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>]>;171      /**172       * Issue an EVM create operation. This is similar to a contract creation transaction in173       * Ethereum.174       **/175      create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>]>;176      /**177       * Issue an EVM create2 operation.178       **/179      create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>]>;180      /**181       * Withdraw balance from EVM into currency/balances pallet.182       **/183      withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;184      /**185       * Generic tx186       **/187      [key: string]: SubmittableExtrinsicFunction<ApiType>;188    };189    evmMigration: {190      begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;191      finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;192      setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;193      /**194       * Generic tx195       **/196      [key: string]: SubmittableExtrinsicFunction<ApiType>;197    };198    inflation: {199      /**200       * Generic tx201       **/202      [key: string]: SubmittableExtrinsicFunction<ApiType>;203    };204    nft: {205      /**206       * Adds an admin of the Collection.207       * NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.208       * 209       * # Permissions210       * 211       * * Collection Owner.212       * * Collection Admin.213       * 214       * # Arguments215       * 216       * * collection_id: ID of the Collection to add admin for.217       * 218       * * new_admin_id: Address of new admin to add.219       **/220      addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;221      /**222       * Add an address to allow list.223       * 224       * # Permissions225       * 226       * * Collection Owner227       * * Collection Admin228       * 229       * # Arguments230       * 231       * * collection_id.232       * 233       * * address.234       **/235      addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;236      /**237       * Set, change, or remove approved address to transfer the ownership of the NFT.238       * 239       * # Permissions240       * 241       * * Collection Owner242       * * Collection Admin243       * * Current NFT owner244       * 245       * # Arguments246       * 247       * * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).248       * 249       * * collection_id.250       * 251       * * item_id: ID of the item.252       **/253      approve: AugmentedSubmittable<(spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;254      /**255       * Destroys a concrete instance of NFT on behalf of the owner256       * See also: [`approve`]257       * 258       * # Permissions259       * 260       * * Collection Owner.261       * * Collection Admin.262       * * Current NFT Owner.263       * 264       * # Arguments265       * 266       * * collection_id: ID of the collection.267       * 268       * * item_id: ID of NFT to burn.269       * 270       * * from: owner of item271       **/272      burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32, u128]>;273      /**274       * Destroys a concrete instance of NFT.275       * 276       * # Permissions277       * 278       * * Collection Owner.279       * * Collection Admin.280       * * Current NFT Owner.281       * 282       * # Arguments283       * 284       * * collection_id: ID of the collection.285       * 286       * * item_id: ID of NFT to burn.287       **/288      burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;289      /**290       * Change the owner of the collection.291       * 292       * # Permissions293       * 294       * * Collection Owner.295       * 296       * # Arguments297       * 298       * * collection_id.299       * 300       * * new_owner.301       **/302      changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;303      /**304       * # Permissions305       * 306       * * Sponsor.307       * 308       * # Arguments309       * 310       * * collection_id.311       **/312      confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;313      /**314       * This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner and admin of the collection are set to the address that signed the transaction. Both addresses can be changed later.315       * 316       * # Permissions317       * 318       * * Anyone.319       * 320       * # Arguments321       * 322       * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.323       * 324       * * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.325       * 326       * * token_prefix: UTF-8 string with token prefix.327       * 328       * * mode: [CollectionMode] collection type and type dependent data.329       **/330      createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: NftDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, NftDataStructsCollectionMode]>;331      /**332       * This method creates a concrete instance of NFT Collection created with CreateCollection method.333       * 334       * # Permissions335       * 336       * * Collection Owner.337       * * Collection Admin.338       * * Anyone if339       * * Allow List is enabled, and340       * * Address is added to allow list, and341       * * MintPermission is enabled (see SetMintPermission method)342       * 343       * # Arguments344       * 345       * * collection_id: ID of the collection.346       * 347       * * owner: Address, initial owner of the NFT.348       * 349       * * data: Token data to store on chain.350       **/351      createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: NftDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, NftDataStructsCreateItemData]>;352      /**353       * This method creates multiple items in a collection created with CreateCollection method.354       * 355       * # Permissions356       * 357       * * Collection Owner.358       * * Collection Admin.359       * * Anyone if360       * * Allow List is enabled, and361       * * Address is added to allow list, and362       * * MintPermission is enabled (see SetMintPermission method)363       * 364       * # Arguments365       * 366       * * collection_id: ID of the collection.367       * 368       * * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].369       * 370       * * owner: Address, initial owner of the NFT.371       **/372      createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<NftDataStructsCreateItemData> | (NftDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, Vec<NftDataStructsCreateItemData>]>;373      /**374       * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.375       * 376       * # Permissions377       * 378       * * Collection Owner.379       * 380       * # Arguments381       * 382       * * collection_id: collection to destroy.383       **/384      destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;385      /**386       * Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.387       * 388       * # Permissions389       * 390       * * Collection Owner.391       * * Collection Admin.392       * 393       * # Arguments394       * 395       * * collection_id: ID of the Collection to remove admin for.396       * 397       * * account_id: Address of admin to remove.398       **/399      removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;400      /**401       * Switch back to pay-per-own-transaction model.402       * 403       * # Permissions404       * 405       * * Collection owner.406       * 407       * # Arguments408       * 409       * * collection_id.410       **/411      removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;412      /**413       * Remove an address from allow list.414       * 415       * # Permissions416       * 417       * * Collection Owner418       * * Collection Admin419       * 420       * # Arguments421       * 422       * * collection_id.423       * 424       * * address.425       **/426      removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;427      setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: NftDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, NftDataStructsCollectionLimits]>;428      /**429       * # Permissions430       * 431       * * Collection Owner432       * 433       * # Arguments434       * 435       * * collection_id.436       * 437       * * new_sponsor.438       **/439      setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;440      /**441       * Set const on-chain data schema.442       * 443       * # Permissions444       * 445       * * Collection Owner446       * * Collection Admin447       * 448       * # Arguments449       * 450       * * collection_id.451       * 452       * * schema: String representing the const on-chain data schema.453       **/454      setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;455      /**456       * Set meta_update_permission value for particular collection457       * 458       * # Permissions459       * 460       * * Collection Owner.461       * 462       * # Arguments463       * 464       * * collection_id: ID of the collection.465       * 466       * * value: New flag value.467       **/468      setMetaUpdatePermissionFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: NftDataStructsMetaUpdatePermission | 'ItemOwner' | 'Admin' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, NftDataStructsMetaUpdatePermission]>;469      /**470       * Allows Anyone to create tokens if:471       * * Allow List is enabled, and472       * * Address is added to allow list, and473       * * This method was called with True parameter474       * 475       * # Permissions476       * * Collection Owner477       * 478       * # Arguments479       * 480       * * collection_id.481       * 482       * * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.483       **/484      setMintPermission: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mintPermission: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;485      /**486       * Set off-chain data schema.487       * 488       * # Permissions489       * 490       * * Collection Owner491       * * Collection Admin492       * 493       * # Arguments494       * 495       * * collection_id.496       * 497       * * schema: String representing the offchain data schema.498       **/499      setOffchainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;500      /**501       * Toggle between normal and allow list access for the methods with access for `Anyone`.502       * 503       * # Permissions504       * 505       * * Collection Owner.506       * 507       * # Arguments508       * 509       * * collection_id.510       * 511       * * mode: [AccessMode]512       **/513      setPublicAccessMode: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mode: NftDataStructsAccessMode | 'Normal' | 'AllowList' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, NftDataStructsAccessMode]>;514      /**515       * Set schema standard516       * ImageURL517       * Unique518       * 519       * # Permissions520       * 521       * * Collection Owner522       * * Collection Admin523       * 524       * # Arguments525       * 526       * * collection_id.527       * 528       * * schema: SchemaVersion: enum529       **/530      setSchemaVersion: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, version: NftDataStructsSchemaVersion | 'ImageURL' | 'Unique' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, NftDataStructsSchemaVersion]>;531      /**532       * Set transfers_enabled value for particular collection533       * 534       * # Permissions535       * 536       * * Collection Owner.537       * 538       * # Arguments539       * 540       * * collection_id: ID of the collection.541       * 542       * * value: New flag value.543       **/544      setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;545      /**546       * Set off-chain data schema.547       * 548       * # Permissions549       * 550       * * Collection Owner551       * * Collection Admin552       * 553       * # Arguments554       * 555       * * collection_id.556       * 557       * * schema: String representing the offchain data schema.558       **/559      setVariableMetaData: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;560      /**561       * Set variable on-chain data schema.562       * 563       * # Permissions564       * 565       * * Collection Owner566       * * Collection Admin567       * 568       * # Arguments569       * 570       * * collection_id.571       * 572       * * schema: String representing the variable on-chain data schema.573       **/574      setVariableOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;575      /**576       * Change ownership of the token.577       * 578       * # Permissions579       * 580       * * Collection Owner581       * * Collection Admin582       * * Current NFT owner583       * 584       * # Arguments585       * 586       * * recipient: Address of token recipient.587       * 588       * * collection_id.589       * 590       * * item_id: ID of the item591       * * Non-Fungible Mode: Required.592       * * Fungible Mode: Ignored.593       * * Re-Fungible Mode: Required.594       * 595       * * value: Amount to transfer.596       * * Non-Fungible Mode: Ignored597       * * Fungible Mode: Must specify transferred amount598       * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)599       **/600      transfer: AugmentedSubmittable<(recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;601      /**602       * Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.603       * 604       * # Permissions605       * * Collection Owner606       * * Collection Admin607       * * Current NFT owner608       * * Address approved by current NFT owner609       * 610       * # Arguments611       * 612       * * from: Address that owns token.613       * 614       * * recipient: Address of token recipient.615       * 616       * * collection_id.617       * 618       * * item_id: ID of the item.619       * 620       * * value: Amount to transfer.621       **/622      transferFrom: AugmentedSubmittable<(from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;623      /**624       * Generic tx625       **/626      [key: string]: SubmittableExtrinsicFunction<ApiType>;627    };628    nftPayment: {629      /**630       * Generic tx631       **/632      [key: string]: SubmittableExtrinsicFunction<ApiType>;633    };634    parachainSystem: {635      authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;636      enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;637      /**638       * Set the current validation data.639       * 640       * This should be invoked exactly once per block. It will panic at the finalization641       * phase if the call was not invoked.642       * 643       * The dispatch origin for this call must be `Inherent`644       * 645       * As a side effect, this function upgrades the current validation function646       * if the appropriate time has come.647       **/648      setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;649      sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;650      /**651       * Generic tx652       **/653      [key: string]: SubmittableExtrinsicFunction<ApiType>;654    };655    polkadotXcm: {656      /**657       * Execute an XCM message from a local, signed, origin.658       * 659       * An event is deposited indicating whether `msg` could be executed completely or only660       * partially.661       * 662       * No more than `max_weight` will be used in its attempted execution. If this is less than the663       * maximum amount of weight that the message could take to be executed, then no execution664       * attempt will be made.665       * 666       * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully667       * to completion; only that *some* of it was executed.668       **/669      execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;670      /**671       * Set a safe XCM version (the version that XCM should be encoded with if the most recent672       * version a destination can accept is unknown).673       * 674       * - `origin`: Must be Root.675       * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.676       **/677      forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;678      /**679       * Ask a location to notify us regarding their XCM version and any changes to it.680       * 681       * - `origin`: Must be Root.682       * - `location`: The location to which we should subscribe for XCM version notifications.683       **/684      forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;685      /**686       * Require that a particular destination should no longer notify us regarding any XCM687       * version changes.688       * 689       * - `origin`: Must be Root.690       * - `location`: The location to which we are currently subscribed for XCM version691       * notifications which we no longer desire.692       **/693      forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;694      /**695       * Extoll that a particular destination can be communicated with through a particular696       * version of XCM.697       * 698       * - `origin`: Must be Root.699       * - `location`: The destination that is being described.700       * - `xcm_version`: The latest version of XCM that `location` supports.701       **/702      forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;703      /**704       * Transfer some assets from the local chain to the sovereign account of a destination chain and forward705       * a notification XCM.706       * 707       * Fee payment on the destination side is made from the first asset listed in the `assets` vector.708       * 709       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.710       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send711       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.712       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be713       * an `AccountId32` value.714       * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the715       * `dest` side.716       * - `fee_asset_item`: The index into `assets` of the item which should be used to pay717       * fees.718       * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.719       **/720      limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;721      /**722       * Teleport some assets from the local chain to some destination chain.723       * 724       * Fee payment on the destination side is made from the first asset listed in the `assets` vector.725       * 726       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.727       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send728       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.729       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be730       * an `AccountId32` value.731       * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the732       * `dest` side. May not be empty.733       * - `dest_weight`: Equal to the total weight on `dest` of the XCM message734       * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.735       * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.736       **/737      limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;738      /**739       * Transfer some assets from the local chain to the sovereign account of a destination chain and forward740       * a notification XCM.741       * 742       * Fee payment on the destination side is made from the first asset listed in the `assets` vector and743       * fee-weight is calculated locally and thus remote weights are assumed to be equal to744       * local weights.745       * 746       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.747       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send748       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.749       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be750       * an `AccountId32` value.751       * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the752       * `dest` side.753       * - `fee_asset_item`: The index into `assets` of the item which should be used to pay754       * fees.755       **/756      reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;757      send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;758      /**759       * Teleport some assets from the local chain to some destination chain.760       * 761       * Fee payment on the destination side is made from the first asset listed in the `assets` vector and762       * fee-weight is calculated locally and thus remote weights are assumed to be equal to763       * local weights.764       * 765       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.766       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send767       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.768       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be769       * an `AccountId32` value.770       * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the771       * `dest` side. May not be empty.772       * - `dest_weight`: Equal to the total weight on `dest` of the XCM message773       * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.774       **/775      teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;776      /**777       * Generic tx778       **/779      [key: string]: SubmittableExtrinsicFunction<ApiType>;780    };781    scheduler: {782      /**783       * Cancel an anonymously scheduled task.784       * 785       * # <weight>786       * - S = Number of already scheduled calls787       * - Base Weight: 22.15 + 2.869 * S µs788       * - DB Weight:789       * - Read: Agenda790       * - Write: Agenda, Lookup791       * - Will use base weight of 100 which should be good for up to 30 scheduled calls792       * # </weight>793       **/794      cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;795      /**796       * Cancel a named scheduled task.797       * 798       * # <weight>799       * - S = Number of already scheduled calls800       * - Base Weight: 24.91 + 2.907 * S µs801       * - DB Weight:802       * - Read: Agenda, Lookup803       * - Write: Agenda, Lookup804       * - Will use base weight of 100 which should be good for up to 30 scheduled calls805       * # </weight>806       **/807      cancelNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;808      /**809       * Anonymously schedule a task.810       * 811       * # <weight>812       * - S = Number of already scheduled calls813       * - Base Weight: 22.29 + .126 * S µs814       * - DB Weight:815       * - Read: Agenda816       * - Write: Agenda817       * - Will use base weight of 25 which should be good for up to 30 scheduled calls818       * # </weight>819       **/820      schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;821      /**822       * Anonymously schedule a task after a delay.823       * 824       * # <weight>825       * Same as [`schedule`].826       * # </weight>827       **/828      scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;829      /**830       * Schedule a named task.831       * 832       * # <weight>833       * - S = Number of already scheduled calls834       * - Base Weight: 29.6 + .159 * S µs835       * - DB Weight:836       * - Read: Agenda, Lookup837       * - Write: Agenda, Lookup838       * - Will use base weight of 35 which should be good for more than 30 scheduled calls839       * # </weight>840       **/841      scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call) => SubmittableExtrinsic<ApiType>, [Bytes, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;842      /**843       * Schedule a named task after a delay.844       * 845       * # <weight>846       * Same as [`schedule_named`].847       * # </weight>848       **/849      scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call) => SubmittableExtrinsic<ApiType>, [Bytes, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;850      /**851       * Generic tx852       **/853      [key: string]: SubmittableExtrinsicFunction<ApiType>;854    };855    sudo: {856      /**857       * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo858       * key.859       * 860       * The dispatch origin for this call must be _Signed_.861       * 862       * # <weight>863       * - O(1).864       * - Limited storage reads.865       * - One DB change.866       * # </weight>867       **/868      setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;869      /**870       * Authenticates the sudo key and dispatches a function call with `Root` origin.871       * 872       * The dispatch origin for this call must be _Signed_.873       * 874       * # <weight>875       * - O(1).876       * - Limited storage reads.877       * - One DB write (event).878       * - Weight of derivative `call` execution + 10,000.879       * # </weight>880       **/881      sudo: AugmentedSubmittable<(call: Call) => SubmittableExtrinsic<ApiType>, [Call]>;882      /**883       * Authenticates the sudo key and dispatches a function call with `Signed` origin from884       * a given account.885       * 886       * The dispatch origin for this call must be _Signed_.887       * 888       * # <weight>889       * - O(1).890       * - Limited storage reads.891       * - One DB write (event).892       * - Weight of derivative `call` execution + 10,000.893       * # </weight>894       **/895      sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;896      /**897       * Authenticates the sudo key and dispatches a function call with `Root` origin.898       * This function does not check the weight of the call, and instead allows the899       * Sudo user to specify the weight of the call.900       * 901       * The dispatch origin for this call must be _Signed_.902       * 903       * # <weight>904       * - O(1).905       * - The weight of this call is defined by the caller.906       * # </weight>907       **/908      sudoUncheckedWeight: AugmentedSubmittable<(call: Call, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;909      /**910       * Generic tx911       **/912      [key: string]: SubmittableExtrinsicFunction<ApiType>;913    };914    system: {915      /**916       * A dispatch that will fill the block weight up to the given ratio.917       **/918      fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;919      /**920       * Kill all storage items with a key that starts with the given prefix.921       * 922       * **NOTE:** We rely on the Root origin to provide us the number of subkeys under923       * the prefix we are removing to accurately calculate the weight of this function.924       * 925       * # <weight>926       * - `O(P)` where `P` amount of keys with prefix `prefix`927       * - `P` storage deletions.928       * - Base Weight: 0.834 * P µs929       * - Writes: Number of subkeys + 1930       * # </weight>931       **/932      killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;933      /**934       * Kill some items from storage.935       * 936       * # <weight>937       * - `O(IK)` where `I` length of `keys` and `K` length of one key938       * - `I` storage deletions.939       * - Base Weight: .378 * i µs940       * - Writes: Number of items941       * # </weight>942       **/943      killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;944      /**945       * Make some on-chain remark.946       * 947       * # <weight>948       * - `O(1)`949       * # </weight>950       **/951      remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;952      /**953       * Make some on-chain remark and emit event.954       * 955       * # <weight>956       * - `O(b)` where b is the length of the remark.957       * - 1 event.958       * # </weight>959       **/960      remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;961      /**962       * Set the new changes trie configuration.963       * 964       * # <weight>965       * - `O(1)`966       * - 1 storage write or delete (codec `O(1)`).967       * - 1 call to `deposit_log`: Uses `append` API, so O(1)968       * - Base Weight: 7.218 µs969       * - DB Weight:970       * - Writes: Changes Trie, System Digest971       * # </weight>972       **/973      setChangesTrieConfig: AugmentedSubmittable<(changesTrieConfig: Option<SpCoreChangesTrieChangesTrieConfiguration> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpCoreChangesTrieChangesTrieConfiguration>]>;974      /**975       * Set the new runtime code.976       * 977       * # <weight>978       * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`979       * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is980       * expensive).981       * - 1 storage write (codec `O(C)`).982       * - 1 digest item.983       * - 1 event.984       * The weight of this function is dependent on the runtime, but generally this is very985       * expensive. We will treat this as a full block.986       * # </weight>987       **/988      setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;989      /**990       * Set the new runtime code without doing any checks of the given `code`.991       * 992       * # <weight>993       * - `O(C)` where `C` length of `code`994       * - 1 storage write (codec `O(C)`).995       * - 1 digest item.996       * - 1 event.997       * The weight of this function is dependent on the runtime. We will treat this as a full998       * block. # </weight>999       **/1000      setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1001      /**1002       * Set the number of pages in the WebAssembly environment's heap.1003       * 1004       * # <weight>1005       * - `O(1)`1006       * - 1 storage write.1007       * - Base Weight: 1.405 µs1008       * - 1 write to HEAP_PAGES1009       * - 1 digest item1010       * # </weight>1011       **/1012      setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1013      /**1014       * Set some items of storage.1015       * 1016       * # <weight>1017       * - `O(I)` where `I` length of `items`1018       * - `I` storage writes (`O(1)`).1019       * - Base Weight: 0.568 * i µs1020       * - Writes: Number of items1021       * # </weight>1022       **/1023      setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1024      /**1025       * Generic tx1026       **/1027      [key: string]: SubmittableExtrinsicFunction<ApiType>;1028    };1029    timestamp: {1030      /**1031       * Set the current time.1032       * 1033       * This call should be invoked exactly once per block. It will panic at the finalization1034       * phase, if this call hasn't been invoked by that time.1035       * 1036       * The timestamp should be greater than the previous one by the amount specified by1037       * `MinimumPeriod`.1038       * 1039       * The dispatch origin for this call must be `Inherent`.1040       * 1041       * # <weight>1042       * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1043       * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1044       * `on_finalize`)1045       * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1046       * # </weight>1047       **/1048      set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1049      /**1050       * Generic tx1051       **/1052      [key: string]: SubmittableExtrinsicFunction<ApiType>;1053    };1054    treasury: {1055      /**1056       * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1057       * and the original deposit will be returned.1058       * 1059       * May only be called from `T::ApproveOrigin`.1060       * 1061       * # <weight>1062       * - Complexity: O(1).1063       * - DbReads: `Proposals`, `Approvals`1064       * - DbWrite: `Approvals`1065       * # </weight>1066       **/1067      approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1068      /**1069       * Put forward a suggestion for spending. A deposit proportional to the value1070       * is reserved and slashed if the proposal is rejected. It is returned once the1071       * proposal is awarded.1072       * 1073       * # <weight>1074       * - Complexity: O(1)1075       * - DbReads: `ProposalCount`, `origin account`1076       * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1077       * # </weight>1078       **/1079      proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1080      /**1081       * Reject a proposed spend. The original deposit will be slashed.1082       * 1083       * May only be called from `T::RejectOrigin`.1084       * 1085       * # <weight>1086       * - Complexity: O(1)1087       * - DbReads: `Proposals`, `rejected proposer account`1088       * - DbWrites: `Proposals`, `rejected proposer account`1089       * # </weight>1090       **/1091      rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1092      /**1093       * Generic tx1094       **/1095      [key: string]: SubmittableExtrinsicFunction<ApiType>;1096    };1097    vesting: {1098      /**1099       * Force a vested transfer.1100       * 1101       * The dispatch origin for this call must be _Root_.1102       * 1103       * - `source`: The account whose funds should be transferred.1104       * - `target`: The account that should be transferred the vested funds.1105       * - `schedule`: The vesting schedule attached to the transfer.1106       * 1107       * Emits `VestingCreated`.1108       * 1109       * NOTE: This will unlock all schedules through the current block.1110       * 1111       * # <weight>1112       * - `O(1)`.1113       * - DbWeight: 4 Reads, 4 Writes1114       * - Reads: Vesting Storage, Balances Locks, Target Account, Source Account1115       * - Writes: Vesting Storage, Balances Locks, Target Account, Source Account1116       * # </weight>1117       **/1118      forceVestedTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PalletVestingVestingInfo | { locked?: any; perBlock?: any; startingBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletVestingVestingInfo]>;1119      /**1120       * Merge two vesting schedules together, creating a new vesting schedule that unlocks over1121       * the highest possible start and end blocks. If both schedules have already started the1122       * current block will be used as the schedule start; with the caveat that if one schedule1123       * is finished by the current block, the other will be treated as the new merged schedule,1124       * unmodified.1125       * 1126       * NOTE: If `schedule1_index == schedule2_index` this is a no-op.1127       * NOTE: This will unlock all schedules through the current block prior to merging.1128       * NOTE: If both schedules have ended by the current block, no new schedule will be created1129       * and both will be removed.1130       * 1131       * Merged schedule attributes:1132       * - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,1133       * current_block)`.1134       * - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.1135       * - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.1136       * 1137       * The dispatch origin for this call must be _Signed_.1138       * 1139       * - `schedule1_index`: index of the first schedule to merge.1140       * - `schedule2_index`: index of the second schedule to merge.1141       **/1142      mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1143      /**1144       * Unlock any vested funds of the sender account.1145       * 1146       * The dispatch origin for this call must be _Signed_ and the sender must have funds still1147       * locked under this pallet.1148       * 1149       * Emits either `VestingCompleted` or `VestingUpdated`.1150       * 1151       * # <weight>1152       * - `O(1)`.1153       * - DbWeight: 2 Reads, 2 Writes1154       * - Reads: Vesting Storage, Balances Locks, [Sender Account]1155       * - Writes: Vesting Storage, Balances Locks, [Sender Account]1156       * # </weight>1157       **/1158      vest: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1159      /**1160       * Create a vested transfer.1161       * 1162       * The dispatch origin for this call must be _Signed_.1163       * 1164       * - `target`: The account receiving the vested funds.1165       * - `schedule`: The vesting schedule attached to the transfer.1166       * 1167       * Emits `VestingCreated`.1168       * 1169       * NOTE: This will unlock all schedules through the current block.1170       * 1171       * # <weight>1172       * - `O(1)`.1173       * - DbWeight: 3 Reads, 3 Writes1174       * - Reads: Vesting Storage, Balances Locks, Target Account, [Sender Account]1175       * - Writes: Vesting Storage, Balances Locks, Target Account, [Sender Account]1176       * # </weight>1177       **/1178      vestedTransfer: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PalletVestingVestingInfo | { locked?: any; perBlock?: any; startingBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletVestingVestingInfo]>;1179      /**1180       * Unlock any vested funds of a `target` account.1181       * 1182       * The dispatch origin for this call must be _Signed_.1183       * 1184       * - `target`: The account whose vested funds should be unlocked. Must have funds still1185       * locked under this pallet.1186       * 1187       * Emits either `VestingCompleted` or `VestingUpdated`.1188       * 1189       * # <weight>1190       * - `O(1)`.1191       * - DbWeight: 3 Reads, 3 Writes1192       * - Reads: Vesting Storage, Balances Locks, Target Account1193       * - Writes: Vesting Storage, Balances Locks, Target Account1194       * # </weight>1195       **/1196      vestOther: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1197      /**1198       * Generic tx1199       **/1200      [key: string]: SubmittableExtrinsicFunction<ApiType>;1201    };1202    xcmpQueue: {1203      /**1204       * Generic tx1205       **/1206      [key: string]: SubmittableExtrinsicFunction<ApiType>;1207    };1208  }12091210  export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {1211    (extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;1212    [key: string]: SubmittableModuleExtrinsics<ApiType>;1213  }1214}
after · tests/src/interfaces/augment-api-tx.ts
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { EthereumTransactionLegacyTransaction } from './ethereum';5import type { CumulusPrimitivesParachainInherentParachainInherentData } from './polkadot';6import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion } from './unique';7import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';8import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';9import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';11import type { SpCoreChangesTrieChangesTrieConfiguration, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';12import type { AnyNumber, ITuple } from '@polkadot/types/types';1314declare module '@polkadot/api/types/submittable' {15  export interface AugmentedSubmittables<ApiType> {16    balances: {17      /**18       * Exactly as `transfer`, except the origin must be root and the source account may be19       * specified.20       * # <weight>21       * - Same as transfer, but additional read and write because the source account is not22       * assumed to be in the overlay.23       * # </weight>24       **/25      forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;26      /**27       * Unreserve some balance from a user by force.28       * 29       * Can only be called by ROOT.30       **/31      forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;32      /**33       * Set the balances of a given account.34       * 35       * This will alter `FreeBalance` and `ReservedBalance` in storage. it will36       * also decrease the total issuance of the system (`TotalIssuance`).37       * If the new free or reserved balance is below the existential deposit,38       * it will reset the account nonce (`frame_system::AccountNonce`).39       * 40       * The dispatch origin for this call is `root`.41       * 42       * # <weight>43       * - Independent of the arguments.44       * - Contains a limited number of reads and writes.45       * ---------------------46       * - Base Weight:47       * - Creating: 27.56 µs48       * - Killing: 35.11 µs49       * - DB Weight: 1 Read, 1 Write to `who`50       * # </weight>51       **/52      setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;53      /**54       * Transfer some liquid free balance to another account.55       * 56       * `transfer` will set the `FreeBalance` of the sender and receiver.57       * It will decrease the total issuance of the system by the `TransferFee`.58       * If the sender's account is below the existential deposit as a result59       * of the transfer, the account will be reaped.60       * 61       * The dispatch origin for this call must be `Signed` by the transactor.62       * 63       * # <weight>64       * - Dependent on arguments but not critical, given proper implementations for input config65       * types. See related functions below.66       * - It contains a limited number of reads and writes internally and no complex67       * computation.68       * 69       * Related functions:70       * 71       * - `ensure_can_withdraw` is always called internally but has a bounded complexity.72       * - Transferring balances to accounts that did not exist before will cause73       * `T::OnNewAccount::on_new_account` to be called.74       * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.75       * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check76       * that the transfer will not kill the origin account.77       * ---------------------------------78       * - Base Weight: 73.64 µs, worst case scenario (account created, account removed)79       * - DB Weight: 1 Read and 1 Write to destination account80       * - Origin account is already in memory, so no DB operations for them.81       * # </weight>82       **/83      transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;84      /**85       * Transfer the entire transferable balance from the caller account.86       * 87       * NOTE: This function only attempts to transfer _transferable_ balances. This means that88       * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be89       * transferred by this function. To ensure that this function results in a killed account,90       * you might need to prepare the account by removing any reference counters, storage91       * deposits, etc...92       * 93       * The dispatch origin of this call must be Signed.94       * 95       * - `dest`: The recipient of the transfer.96       * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all97       * of the funds the account has, causing the sender account to be killed (false), or98       * transfer everything except at least the existential deposit, which will guarantee to99       * keep the sender account alive (true). # <weight>100       * - O(1). Just like transfer, but reading the user's transferable balance first.101       * #</weight>102       **/103      transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;104      /**105       * Same as the [`transfer`] call, but with a check that the transfer will not kill the106       * origin account.107       * 108       * 99% of the time you want [`transfer`] instead.109       * 110       * [`transfer`]: struct.Pallet.html#method.transfer111       * # <weight>112       * - Cheaper than transfer because account cannot be killed.113       * - Base Weight: 51.4 µs114       * - DB Weight: 1 Read and 1 Write to dest (sender is in overlay already)115       * #</weight>116       **/117      transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;118      /**119       * Generic tx120       **/121      [key: string]: SubmittableExtrinsicFunction<ApiType>;122    };123    charging: {124      /**125       * Generic tx126       **/127      [key: string]: SubmittableExtrinsicFunction<ApiType>;128    };129    cumulusXcm: {130      /**131       * Generic tx132       **/133      [key: string]: SubmittableExtrinsicFunction<ApiType>;134    };135    dmpQueue: {136      /**137       * Service a single overweight message.138       * 139       * - `origin`: Must pass `ExecuteOverweightOrigin`.140       * - `index`: The index of the overweight message to service.141       * - `weight_limit`: The amount of weight that message execution may take.142       * 143       * Errors:144       * - `Unknown`: Message of `index` is unknown.145       * - `OverLimit`: Message execution may use greater than `weight_limit`.146       * 147       * Events:148       * - `OverweightServiced`: On success.149       **/150      serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;151      /**152       * Generic tx153       **/154      [key: string]: SubmittableExtrinsicFunction<ApiType>;155    };156    ethereum: {157      /**158       * Transact an Ethereum transaction.159       **/160      transact: AugmentedSubmittable<(transaction: EthereumTransactionLegacyTransaction | { nonce?: any; gasPrice?: any; gasLimit?: any; action?: any; value?: any; input?: any; signature?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionLegacyTransaction]>;161      /**162       * Generic tx163       **/164      [key: string]: SubmittableExtrinsicFunction<ApiType>;165    };166    evm: {167      /**168       * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.169       **/170      call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>]>;171      /**172       * Issue an EVM create operation. This is similar to a contract creation transaction in173       * Ethereum.174       **/175      create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>]>;176      /**177       * Issue an EVM create2 operation.178       **/179      create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>]>;180      /**181       * Withdraw balance from EVM into currency/balances pallet.182       **/183      withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;184      /**185       * Generic tx186       **/187      [key: string]: SubmittableExtrinsicFunction<ApiType>;188    };189    evmMigration: {190      begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;191      finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;192      setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;193      /**194       * Generic tx195       **/196      [key: string]: SubmittableExtrinsicFunction<ApiType>;197    };198    inflation: {199      /**200       * Generic tx201       **/202      [key: string]: SubmittableExtrinsicFunction<ApiType>;203    };204    parachainSystem: {205      authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;206      enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;207      /**208       * Set the current validation data.209       * 210       * This should be invoked exactly once per block. It will panic at the finalization211       * phase if the call was not invoked.212       * 213       * The dispatch origin for this call must be `Inherent`214       * 215       * As a side effect, this function upgrades the current validation function216       * if the appropriate time has come.217       **/218      setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;219      sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;220      /**221       * Generic tx222       **/223      [key: string]: SubmittableExtrinsicFunction<ApiType>;224    };225    polkadotXcm: {226      /**227       * Execute an XCM message from a local, signed, origin.228       * 229       * An event is deposited indicating whether `msg` could be executed completely or only230       * partially.231       * 232       * No more than `max_weight` will be used in its attempted execution. If this is less than the233       * maximum amount of weight that the message could take to be executed, then no execution234       * attempt will be made.235       * 236       * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully237       * to completion; only that *some* of it was executed.238       **/239      execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;240      /**241       * Set a safe XCM version (the version that XCM should be encoded with if the most recent242       * version a destination can accept is unknown).243       * 244       * - `origin`: Must be Root.245       * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.246       **/247      forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;248      /**249       * Ask a location to notify us regarding their XCM version and any changes to it.250       * 251       * - `origin`: Must be Root.252       * - `location`: The location to which we should subscribe for XCM version notifications.253       **/254      forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;255      /**256       * Require that a particular destination should no longer notify us regarding any XCM257       * version changes.258       * 259       * - `origin`: Must be Root.260       * - `location`: The location to which we are currently subscribed for XCM version261       * notifications which we no longer desire.262       **/263      forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;264      /**265       * Extoll that a particular destination can be communicated with through a particular266       * version of XCM.267       * 268       * - `origin`: Must be Root.269       * - `location`: The destination that is being described.270       * - `xcm_version`: The latest version of XCM that `location` supports.271       **/272      forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;273      /**274       * Transfer some assets from the local chain to the sovereign account of a destination chain and forward275       * a notification XCM.276       * 277       * Fee payment on the destination side is made from the first asset listed in the `assets` vector.278       * 279       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.280       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send281       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.282       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be283       * an `AccountId32` value.284       * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the285       * `dest` side.286       * - `fee_asset_item`: The index into `assets` of the item which should be used to pay287       * fees.288       * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.289       **/290      limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;291      /**292       * Teleport some assets from the local chain to some destination chain.293       * 294       * Fee payment on the destination side is made from the first asset listed in the `assets` vector.295       * 296       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.297       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send298       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.299       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be300       * an `AccountId32` value.301       * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the302       * `dest` side. May not be empty.303       * - `dest_weight`: Equal to the total weight on `dest` of the XCM message304       * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.305       * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.306       **/307      limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;308      /**309       * Transfer some assets from the local chain to the sovereign account of a destination chain and forward310       * a notification XCM.311       * 312       * Fee payment on the destination side is made from the first asset listed in the `assets` vector and313       * fee-weight is calculated locally and thus remote weights are assumed to be equal to314       * local weights.315       * 316       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.317       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send318       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.319       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be320       * an `AccountId32` value.321       * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the322       * `dest` side.323       * - `fee_asset_item`: The index into `assets` of the item which should be used to pay324       * fees.325       **/326      reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;327      send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;328      /**329       * Teleport some assets from the local chain to some destination chain.330       * 331       * Fee payment on the destination side is made from the first asset listed in the `assets` vector and332       * fee-weight is calculated locally and thus remote weights are assumed to be equal to333       * local weights.334       * 335       * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.336       * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send337       * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.338       * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be339       * an `AccountId32` value.340       * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the341       * `dest` side. May not be empty.342       * - `dest_weight`: Equal to the total weight on `dest` of the XCM message343       * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.344       **/345      teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;346      /**347       * Generic tx348       **/349      [key: string]: SubmittableExtrinsicFunction<ApiType>;350    };351    sudo: {352      /**353       * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo354       * key.355       * 356       * The dispatch origin for this call must be _Signed_.357       * 358       * # <weight>359       * - O(1).360       * - Limited storage reads.361       * - One DB change.362       * # </weight>363       **/364      setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;365      /**366       * Authenticates the sudo key and dispatches a function call with `Root` origin.367       * 368       * The dispatch origin for this call must be _Signed_.369       * 370       * # <weight>371       * - O(1).372       * - Limited storage reads.373       * - One DB write (event).374       * - Weight of derivative `call` execution + 10,000.375       * # </weight>376       **/377      sudo: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, [Call]>;378      /**379       * Authenticates the sudo key and dispatches a function call with `Signed` origin from380       * a given account.381       * 382       * The dispatch origin for this call must be _Signed_.383       * 384       * # <weight>385       * - O(1).386       * - Limited storage reads.387       * - One DB write (event).388       * - Weight of derivative `call` execution + 10,000.389       * # </weight>390       **/391      sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, ) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;392      /**393       * Authenticates the sudo key and dispatches a function call with `Root` origin.394       * This function does not check the weight of the call, and instead allows the395       * Sudo user to specify the weight of the call.396       * 397       * The dispatch origin for this call must be _Signed_.398       * 399       * # <weight>400       * - O(1).401       * - The weight of this call is defined by the caller.402       * # </weight>403       **/404      sudoUncheckedWeight: AugmentedSubmittable<(, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;405      /**406       * Generic tx407       **/408      [key: string]: SubmittableExtrinsicFunction<ApiType>;409    };410    system: {411      /**412       * A dispatch that will fill the block weight up to the given ratio.413       **/414      fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;415      /**416       * Kill all storage items with a key that starts with the given prefix.417       * 418       * **NOTE:** We rely on the Root origin to provide us the number of subkeys under419       * the prefix we are removing to accurately calculate the weight of this function.420       * 421       * # <weight>422       * - `O(P)` where `P` amount of keys with prefix `prefix`423       * - `P` storage deletions.424       * - Base Weight: 0.834 * P µs425       * - Writes: Number of subkeys + 1426       * # </weight>427       **/428      killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;429      /**430       * Kill some items from storage.431       * 432       * # <weight>433       * - `O(IK)` where `I` length of `keys` and `K` length of one key434       * - `I` storage deletions.435       * - Base Weight: .378 * i µs436       * - Writes: Number of items437       * # </weight>438       **/439      killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;440      /**441       * Make some on-chain remark.442       * 443       * # <weight>444       * - `O(1)`445       * # </weight>446       **/447      remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;448      /**449       * Make some on-chain remark and emit event.450       * 451       * # <weight>452       * - `O(b)` where b is the length of the remark.453       * - 1 event.454       * # </weight>455       **/456      remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;457      /**458       * Set the new changes trie configuration.459       * 460       * # <weight>461       * - `O(1)`462       * - 1 storage write or delete (codec `O(1)`).463       * - 1 call to `deposit_log`: Uses `append` API, so O(1)464       * - Base Weight: 7.218 µs465       * - DB Weight:466       * - Writes: Changes Trie, System Digest467       * # </weight>468       **/469      setChangesTrieConfig: AugmentedSubmittable<(changesTrieConfig: Option<SpCoreChangesTrieChangesTrieConfiguration> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpCoreChangesTrieChangesTrieConfiguration>]>;470      /**471       * Set the new runtime code.472       * 473       * # <weight>474       * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`475       * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is476       * expensive).477       * - 1 storage write (codec `O(C)`).478       * - 1 digest item.479       * - 1 event.480       * The weight of this function is dependent on the runtime, but generally this is very481       * expensive. We will treat this as a full block.482       * # </weight>483       **/484      setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;485      /**486       * Set the new runtime code without doing any checks of the given `code`.487       * 488       * # <weight>489       * - `O(C)` where `C` length of `code`490       * - 1 storage write (codec `O(C)`).491       * - 1 digest item.492       * - 1 event.493       * The weight of this function is dependent on the runtime. We will treat this as a full494       * block. # </weight>495       **/496      setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;497      /**498       * Set the number of pages in the WebAssembly environment's heap.499       * 500       * # <weight>501       * - `O(1)`502       * - 1 storage write.503       * - Base Weight: 1.405 µs504       * - 1 write to HEAP_PAGES505       * - 1 digest item506       * # </weight>507       **/508      setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;509      /**510       * Set some items of storage.511       * 512       * # <weight>513       * - `O(I)` where `I` length of `items`514       * - `I` storage writes (`O(1)`).515       * - Base Weight: 0.568 * i µs516       * - Writes: Number of items517       * # </weight>518       **/519      setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;520      /**521       * Generic tx522       **/523      [key: string]: SubmittableExtrinsicFunction<ApiType>;524    };525    timestamp: {526      /**527       * Set the current time.528       * 529       * This call should be invoked exactly once per block. It will panic at the finalization530       * phase, if this call hasn't been invoked by that time.531       * 532       * The timestamp should be greater than the previous one by the amount specified by533       * `MinimumPeriod`.534       * 535       * The dispatch origin for this call must be `Inherent`.536       * 537       * # <weight>538       * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)539       * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in540       * `on_finalize`)541       * - 1 event handler `on_timestamp_set`. Must be `O(1)`.542       * # </weight>543       **/544      set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;545      /**546       * Generic tx547       **/548      [key: string]: SubmittableExtrinsicFunction<ApiType>;549    };550    treasury: {551      /**552       * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary553       * and the original deposit will be returned.554       * 555       * May only be called from `T::ApproveOrigin`.556       * 557       * # <weight>558       * - Complexity: O(1).559       * - DbReads: `Proposals`, `Approvals`560       * - DbWrite: `Approvals`561       * # </weight>562       **/563      approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;564      /**565       * Put forward a suggestion for spending. A deposit proportional to the value566       * is reserved and slashed if the proposal is rejected. It is returned once the567       * proposal is awarded.568       * 569       * # <weight>570       * - Complexity: O(1)571       * - DbReads: `ProposalCount`, `origin account`572       * - DbWrites: `ProposalCount`, `Proposals`, `origin account`573       * # </weight>574       **/575      proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;576      /**577       * Reject a proposed spend. The original deposit will be slashed.578       * 579       * May only be called from `T::RejectOrigin`.580       * 581       * # <weight>582       * - Complexity: O(1)583       * - DbReads: `Proposals`, `rejected proposer account`584       * - DbWrites: `Proposals`, `rejected proposer account`585       * # </weight>586       **/587      rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;588      /**589       * Generic tx590       **/591      [key: string]: SubmittableExtrinsicFunction<ApiType>;592    };593    unique: {594      /**595       * Adds an admin of the Collection.596       * NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.597       * 598       * # Permissions599       * 600       * * Collection Owner.601       * * Collection Admin.602       * 603       * # Arguments604       * 605       * * collection_id: ID of the Collection to add admin for.606       * 607       * * new_admin_id: Address of new admin to add.608       **/609      addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;610      /**611       * Add an address to allow list.612       * 613       * # Permissions614       * 615       * * Collection Owner616       * * Collection Admin617       * 618       * # Arguments619       * 620       * * collection_id.621       * 622       * * address.623       **/624      addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;625      /**626       * Set, change, or remove approved address to transfer the ownership of the NFT.627       * 628       * # Permissions629       * 630       * * Collection Owner631       * * Collection Admin632       * * Current NFT owner633       * 634       * # Arguments635       * 636       * * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).637       * 638       * * collection_id.639       * 640       * * item_id: ID of the item.641       **/642      approve: AugmentedSubmittable<(spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;643      /**644       * Destroys a concrete instance of NFT on behalf of the owner645       * See also: [`approve`]646       * 647       * # Permissions648       * 649       * * Collection Owner.650       * * Collection Admin.651       * * Current NFT Owner.652       * 653       * # Arguments654       * 655       * * collection_id: ID of the collection.656       * 657       * * item_id: ID of NFT to burn.658       * 659       * * from: owner of item660       **/661      burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32, u128]>;662      /**663       * Destroys a concrete instance of NFT.664       * 665       * # Permissions666       * 667       * * Collection Owner.668       * * Collection Admin.669       * * Current NFT Owner.670       * 671       * # Arguments672       * 673       * * collection_id: ID of the collection.674       * 675       * * item_id: ID of NFT to burn.676       **/677      burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;678      /**679       * Change the owner of the collection.680       * 681       * # Permissions682       * 683       * * Collection Owner.684       * 685       * # Arguments686       * 687       * * collection_id.688       * 689       * * new_owner.690       **/691      changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;692      /**693       * # Permissions694       * 695       * * Sponsor.696       * 697       * # Arguments698       * 699       * * collection_id.700       **/701      confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;702      /**703       * This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner of the collection is set to the address that signed the transaction and can be changed later.704       * 705       * # Permissions706       * 707       * * Anyone.708       * 709       * # Arguments710       * 711       * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.712       * 713       * * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.714       * 715       * * token_prefix: UTF-8 string with token prefix.716       * 717       * * mode: [CollectionMode] collection type and type dependent data.718       **/719      createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;720      /**721       * This method creates a concrete instance of NFT Collection created with CreateCollection method.722       * 723       * # Permissions724       * 725       * * Collection Owner.726       * * Collection Admin.727       * * Anyone if728       * * Allow List is enabled, and729       * * Address is added to allow list, and730       * * MintPermission is enabled (see SetMintPermission method)731       * 732       * # Arguments733       * 734       * * collection_id: ID of the collection.735       * 736       * * owner: Address, initial owner of the NFT.737       * 738       * * data: Token data to store on chain.739       **/740      createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;741      /**742       * This method creates multiple items in a collection created with CreateCollection method.743       * 744       * # Permissions745       * 746       * * Collection Owner.747       * * Collection Admin.748       * * Anyone if749       * * Allow List is enabled, and750       * * Address is added to allow list, and751       * * MintPermission is enabled (see SetMintPermission method)752       * 753       * # Arguments754       * 755       * * collection_id: ID of the collection.756       * 757       * * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].758       * 759       * * owner: Address, initial owner of the NFT.760       **/761      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>]>;762      /**763       * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.764       * 765       * # Permissions766       * 767       * * Collection Owner.768       * 769       * # Arguments770       * 771       * * collection_id: collection to destroy.772       **/773      destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;774      /**775       * Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.776       * 777       * # Permissions778       * 779       * * Collection Owner.780       * * Collection Admin.781       * 782       * # Arguments783       * 784       * * collection_id: ID of the Collection to remove admin for.785       * 786       * * account_id: Address of admin to remove.787       **/788      removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;789      /**790       * Switch back to pay-per-own-transaction model.791       * 792       * # Permissions793       * 794       * * Collection owner.795       * 796       * # Arguments797       * 798       * * collection_id.799       **/800      removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;801      /**802       * Remove an address from allow list.803       * 804       * # Permissions805       * 806       * * Collection Owner807       * * Collection Admin808       * 809       * # Arguments810       * 811       * * collection_id.812       * 813       * * address.814       **/815      removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;816      setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;817      /**818       * # Permissions819       * 820       * * Collection Owner821       * 822       * # Arguments823       * 824       * * collection_id.825       * 826       * * new_sponsor.827       **/828      setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;829      /**830       * Set const on-chain data schema.831       * 832       * # Permissions833       * 834       * * Collection Owner835       * * Collection Admin836       * 837       * # Arguments838       * 839       * * collection_id.840       * 841       * * schema: String representing the const on-chain data schema.842       **/843      setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;844      /**845       * Set meta_update_permission value for particular collection846       * 847       * # Permissions848       * 849       * * Collection Owner.850       * 851       * # Arguments852       * 853       * * collection_id: ID of the collection.854       * 855       * * value: New flag value.856       **/857      setMetaUpdatePermissionFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: UpDataStructsMetaUpdatePermission | 'ItemOwner' | 'Admin' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsMetaUpdatePermission]>;858      /**859       * Allows Anyone to create tokens if:860       * * Allow List is enabled, and861       * * Address is added to allow list, and862       * * This method was called with True parameter863       * 864       * # Permissions865       * * Collection Owner866       * 867       * # Arguments868       * 869       * * collection_id.870       * 871       * * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.872       **/873      setMintPermission: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mintPermission: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;874      /**875       * Set off-chain data schema.876       * 877       * # Permissions878       * 879       * * Collection Owner880       * * Collection Admin881       * 882       * # Arguments883       * 884       * * collection_id.885       * 886       * * schema: String representing the offchain data schema.887       **/888      setOffchainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;889      /**890       * Toggle between normal and allow list access for the methods with access for `Anyone`.891       * 892       * # Permissions893       * 894       * * Collection Owner.895       * 896       * # Arguments897       * 898       * * collection_id.899       * 900       * * mode: [AccessMode]901       **/902      setPublicAccessMode: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mode: UpDataStructsAccessMode | 'Normal' | 'AllowList' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsAccessMode]>;903      /**904       * Set schema standard905       * ImageURL906       * Unique907       * 908       * # Permissions909       * 910       * * Collection Owner911       * * Collection Admin912       * 913       * # Arguments914       * 915       * * collection_id.916       * 917       * * schema: SchemaVersion: enum918       **/919      setSchemaVersion: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, version: UpDataStructsSchemaVersion | 'ImageURL' | 'Unique' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsSchemaVersion]>;920      /**921       * Set transfers_enabled value for particular collection922       * 923       * # Permissions924       * 925       * * Collection Owner.926       * 927       * # Arguments928       * 929       * * collection_id: ID of the collection.930       * 931       * * value: New flag value.932       **/933      setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;934      /**935       * Set off-chain data schema.936       * 937       * # Permissions938       * 939       * * Collection Owner940       * * Collection Admin941       * 942       * # Arguments943       * 944       * * collection_id.945       * 946       * * schema: String representing the offchain data schema.947       **/948      setVariableMetaData: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;949      /**950       * Set variable on-chain data schema.951       * 952       * # Permissions953       * 954       * * Collection Owner955       * * Collection Admin956       * 957       * # Arguments958       * 959       * * collection_id.960       * 961       * * schema: String representing the variable on-chain data schema.962       **/963      setVariableOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;964      /**965       * Change ownership of the token.966       * 967       * # Permissions968       * 969       * * Collection Owner970       * * Collection Admin971       * * Current NFT owner972       * 973       * # Arguments974       * 975       * * recipient: Address of token recipient.976       * 977       * * collection_id.978       * 979       * * item_id: ID of the item980       * * Non-Fungible Mode: Required.981       * * Fungible Mode: Ignored.982       * * Re-Fungible Mode: Required.983       * 984       * * value: Amount to transfer.985       * * Non-Fungible Mode: Ignored986       * * Fungible Mode: Must specify transferred amount987       * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)988       **/989      transfer: AugmentedSubmittable<(recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;990      /**991       * Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.992       * 993       * # Permissions994       * * Collection Owner995       * * Collection Admin996       * * Current NFT owner997       * * Address approved by current NFT owner998       * 999       * # Arguments1000       * 1001       * * from: Address that owns token.1002       * 1003       * * recipient: Address of token recipient.1004       * 1005       * * collection_id.1006       * 1007       * * item_id: ID of the item.1008       * 1009       * * value: Amount to transfer.1010       **/1011      transferFrom: AugmentedSubmittable<(from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1012      /**1013       * Generic tx1014       **/1015      [key: string]: SubmittableExtrinsicFunction<ApiType>;1016    };1017    vesting: {1018      claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1019      claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1020      updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec<OrmlVestingVestingSchedule> | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [MultiAddress, Vec<OrmlVestingVestingSchedule>]>;1021      vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, OrmlVestingVestingSchedule]>;1022      /**1023       * Generic tx1024       **/1025      [key: string]: SubmittableExtrinsicFunction<ApiType>;1026    };1027    xcmpQueue: {1028      /**1029       * Generic tx1030       **/1031      [key: string]: SubmittableExtrinsicFunction<ApiType>;1032    };1033  }10341035  export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {1036    (extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;1037    [key: string]: SubmittableModuleExtrinsics<ApiType>;1038  }1039}
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -2,8 +2,8 @@
 /* eslint-disable */
 
 import type { EthereumBlock, EthereumLog, EthereumReceipt, EthereumTransactionLegacyTransaction, EvmCoreErrorExitReason, FpRpcTransactionStatus } from './ethereum';
-import type { NftDataStructsAccessMode, NftDataStructsCollection, NftDataStructsCollectionId, NftDataStructsCollectionLimits, NftDataStructsCollectionMode, NftDataStructsCollectionStats, NftDataStructsCreateItemData, NftDataStructsMetaUpdatePermission, NftDataStructsSchemaVersion, NftDataStructsSponsorshipState, NftDataStructsTokenId, PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, PalletUnqSchedulerCallSpec, PalletUnqSchedulerReleases, PalletUnqSchedulerScheduledV2 } from './nft';
 import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';
+import type { PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, PalletUnqSchedulerCallSpec, PalletUnqSchedulerReleases, PalletUnqSchedulerScheduledV2, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionId, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsorshipState, UpDataStructsTokenId } from './unique';
 import type { BitVec, Bool, Bytes, Data, I128, I16, I256, I32, I64, I8, Json, Null, Raw, StorageKey, 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';
 import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
 import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
@@ -622,17 +622,6 @@
     NextAuthority: NextAuthority;
     NextConfigDescriptor: NextConfigDescriptor;
     NextConfigDescriptorV1: NextConfigDescriptorV1;
-    NftDataStructsAccessMode: NftDataStructsAccessMode;
-    NftDataStructsCollection: NftDataStructsCollection;
-    NftDataStructsCollectionId: NftDataStructsCollectionId;
-    NftDataStructsCollectionLimits: NftDataStructsCollectionLimits;
-    NftDataStructsCollectionMode: NftDataStructsCollectionMode;
-    NftDataStructsCollectionStats: NftDataStructsCollectionStats;
-    NftDataStructsCreateItemData: NftDataStructsCreateItemData;
-    NftDataStructsMetaUpdatePermission: NftDataStructsMetaUpdatePermission;
-    NftDataStructsSchemaVersion: NftDataStructsSchemaVersion;
-    NftDataStructsSponsorshipState: NftDataStructsSponsorshipState;
-    NftDataStructsTokenId: NftDataStructsTokenId;
     NodeRole: NodeRole;
     Nominations: Nominations;
     NominatorIndex: NominatorIndex;
@@ -1026,6 +1015,17 @@
     UnlockChunk: UnlockChunk;
     UnrewardedRelayer: UnrewardedRelayer;
     UnrewardedRelayersState: UnrewardedRelayersState;
+    UpDataStructsAccessMode: UpDataStructsAccessMode;
+    UpDataStructsCollection: UpDataStructsCollection;
+    UpDataStructsCollectionId: UpDataStructsCollectionId;
+    UpDataStructsCollectionLimits: UpDataStructsCollectionLimits;
+    UpDataStructsCollectionMode: UpDataStructsCollectionMode;
+    UpDataStructsCollectionStats: UpDataStructsCollectionStats;
+    UpDataStructsCreateItemData: UpDataStructsCreateItemData;
+    UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;
+    UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
+    UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
+    UpDataStructsTokenId: UpDataStructsTokenId;
     UpgradeGoAhead: UpgradeGoAhead;
     UpgradeRestriction: UpgradeRestriction;
     UpwardMessage: UpwardMessage;
modifiedtests/src/interfaces/definitions.tsdiffbeforeafterboth
--- a/tests/src/interfaces/definitions.ts
+++ b/tests/src/interfaces/definitions.ts
@@ -1,3 +1,3 @@
-export {default as nft} from './nft/definitions';
+export {default as unique} from './unique/definitions';
 export {default as ethereum} from './ethereum/definitions';
 export {default as polkadot} from './polkadot/definitions';
deletedtests/src/interfaces/nft/definitions.tsdiffbeforeafterboth
--- a/tests/src/interfaces/nft/definitions.ts
+++ /dev/null
@@ -1,110 +0,0 @@
-function mkDummy(name: string) {
-  return {
-    ['dummy' + name]: 'u32',
-  };
-}
-
-type RpcParam = {
-  name: string;
-  type: string;
-  isOptional?: true;
-};
-
-const CROSS_ACCOUNT_ID_TYPE = 'PalletCommonAccountBasicCrossAccountIdRepr';
-const TOKEN_ID_TYPE = 'NftDataStructsTokenId';
-
-const collectionParam = {name: 'collection', type: 'NftDataStructsCollectionId'};
-const tokenParam = {name: 'tokenId', type: TOKEN_ID_TYPE};
-const crossAccountParam = (name = 'account') => ({name, type: CROSS_ACCOUNT_ID_TYPE});
-const atParam = {name: 'at', type: 'Hash', isOptional: true};
-
-const fun = (description: string, params: RpcParam[], type: string) => ({
-  description,
-  params: [...params, atParam],
-  type,
-});
-
-export default {
-  rpc: {
-    adminlist: fun('Get admin list', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),
-    allowlist: fun('Get allowlist', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),
-
-    accountTokens: fun('Get tokens owned by account', [collectionParam, crossAccountParam()], 'Vec<NftDataStructsTokenId>'),
-    collectionTokens: fun('Get tokens contained in collection', [collectionParam], 'Vec<NftDataStructsTokenId>'),
-
-    lastTokenId: fun('Get last token id', [collectionParam], TOKEN_ID_TYPE),
-    accountBalance: fun('Get amount of different user tokens', [collectionParam, crossAccountParam()], 'u32'),
-    balance: fun('Get amount of specific account token', [collectionParam, crossAccountParam(), tokenParam], 'u128'),
-    allowance: fun('Get allowed amount', [collectionParam, crossAccountParam('sender'), crossAccountParam('spender'), tokenParam], 'u128'),
-    tokenOwner: fun('Get token owner', [collectionParam, tokenParam], CROSS_ACCOUNT_ID_TYPE),
-    constMetadata: fun('Get token constant metadata', [collectionParam, tokenParam], 'Vec<u8>'),
-    variableMetadata: fun('Get token variable metadata', [collectionParam, tokenParam], 'Vec<u8>'),
-    tokenExists: fun('Check if token exists', [collectionParam, tokenParam], 'bool'),
-    collectionById: fun('Get collection by specified id', [collectionParam], 'Option<NftDataStructsCollection>'),
-    collectionStats: fun('Get collection stats', [], 'NftDataStructsCollectionStats'),
-    allowed: fun('Check if user is allowed to use collection', [collectionParam, crossAccountParam()], 'bool'),
-  },
-  types: {
-    PalletCommonAccountBasicCrossAccountIdRepr: {
-      _enum: {
-        Substrate: 'AccountId',
-        Ethereum: 'H160',
-      },
-    },
-    NftDataStructsCollection: {
-      owner: 'AccountId',
-      mode: 'NftDataStructsCollectionMode',
-      access: 'NftDataStructsAccessMode',
-      name: 'Vec<u16>',
-      description: 'Vec<u16>',
-      tokenPrefix: 'Vec<u8>',
-      mintMode: 'bool',
-      offchainSchema: 'Vec<u8>',
-      schemaVersion: 'NftDataStructsSchemaVersion',
-      sponsorship: 'NftDataStructsSponsorshipState',
-      limits: 'NftDataStructsCollectionLimits',
-      variableOnChainSchema: 'Vec<u8>',
-      constOnChainSchema: 'Vec<u8>',
-      metaUpdatePermission: 'NftDataStructsMetaUpdatePermission',
-    },
-    NftDataStructsCollectionStats: {
-      created: 'u32',
-      destroyed: 'u32',
-      alive: 'u32',
-    },
-    NftDataStructsCollectionId: 'u32',
-    NftDataStructsTokenId: 'u32',
-    PalletNonfungibleItemData: mkDummy('NftItemData'),
-    PalletRefungibleItemData: mkDummy('RftItemData'),
-    NftDataStructsCollectionMode: mkDummy('CollectionMode'),
-    NftDataStructsCreateItemData: mkDummy('CreateItemData'),
-    NftDataStructsCollectionLimits: {
-      accountTokenOwnershipLimit: 'Option<u32>',
-      sponsoredDataSize: 'Option<u32>',
-      sponsoredDataRateLimit: 'Option<u32>',
-      tokenLimit: 'Option<u32>',
-      sponsorTransferTimeout: 'Option<u32>',
-      ownerCanTransfer: 'Option<bool>',
-      ownerCanDestroy: 'Option<bool>',
-      transfersEnabled: 'Option<bool>',
-    },
-    NftDataStructsMetaUpdatePermission: {
-      _enum: ['ItemOwner', 'Admin', 'None'],
-    },
-    NftDataStructsSponsorshipState: {
-      _enum: {
-        Disabled: null,
-        Unconfirmed: 'AccountId',
-        Confirmed: 'AccountId',
-      },
-    },
-    NftDataStructsAccessMode: {
-      _enum: ['Normal', 'AllowList'],
-    },
-    NftDataStructsSchemaVersion: mkDummy('SchemaVersion'),
-
-    PalletUnqSchedulerScheduledV2: mkDummy('ScheduledV2'),
-    PalletUnqSchedulerCallSpec: mkDummy('CallSpec'),
-    PalletUnqSchedulerReleases: mkDummy('Releases'),
-  },
-};
deletedtests/src/interfaces/nft/index.tsdiffbeforeafterboth
--- a/tests/src/interfaces/nft/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
-/* eslint-disable */
-
-export * from './types';
deletedtests/src/interfaces/nft/types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/nft/types.ts
+++ /dev/null
@@ -1,120 +0,0 @@
-// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
-/* eslint-disable */
-
-import type { Bytes, Enum, Option, Struct, Vec, bool, u16, u32 } from '@polkadot/types';
-import type { AccountId, H160 } from '@polkadot/types/interfaces/runtime';
-
-/** @name NftDataStructsAccessMode */
-export interface NftDataStructsAccessMode extends Enum {
-  readonly isNormal: boolean;
-  readonly isAllowList: boolean;
-}
-
-/** @name NftDataStructsCollection */
-export interface NftDataStructsCollection extends Struct {
-  readonly owner: AccountId;
-  readonly mode: NftDataStructsCollectionMode;
-  readonly access: NftDataStructsAccessMode;
-  readonly name: Vec<u16>;
-  readonly description: Vec<u16>;
-  readonly tokenPrefix: Bytes;
-  readonly mintMode: bool;
-  readonly offchainSchema: Bytes;
-  readonly schemaVersion: NftDataStructsSchemaVersion;
-  readonly sponsorship: NftDataStructsSponsorshipState;
-  readonly limits: NftDataStructsCollectionLimits;
-  readonly variableOnChainSchema: Bytes;
-  readonly constOnChainSchema: Bytes;
-  readonly metaUpdatePermission: NftDataStructsMetaUpdatePermission;
-}
-
-/** @name NftDataStructsCollectionId */
-export interface NftDataStructsCollectionId extends u32 {}
-
-/** @name NftDataStructsCollectionLimits */
-export interface NftDataStructsCollectionLimits extends Struct {
-  readonly accountTokenOwnershipLimit: Option<u32>;
-  readonly sponsoredDataSize: Option<u32>;
-  readonly sponsoredDataRateLimit: Option<u32>;
-  readonly tokenLimit: Option<u32>;
-  readonly sponsorTransferTimeout: Option<u32>;
-  readonly ownerCanTransfer: Option<bool>;
-  readonly ownerCanDestroy: Option<bool>;
-  readonly transfersEnabled: Option<bool>;
-}
-
-/** @name NftDataStructsCollectionMode */
-export interface NftDataStructsCollectionMode extends Struct {
-  readonly dummyCollectionMode: u32;
-}
-
-/** @name NftDataStructsCollectionStats */
-export interface NftDataStructsCollectionStats extends Struct {
-  readonly created: u32;
-  readonly destroyed: u32;
-  readonly alive: u32;
-}
-
-/** @name NftDataStructsCreateItemData */
-export interface NftDataStructsCreateItemData extends Struct {
-  readonly dummyCreateItemData: u32;
-}
-
-/** @name NftDataStructsMetaUpdatePermission */
-export interface NftDataStructsMetaUpdatePermission extends Enum {
-  readonly isItemOwner: boolean;
-  readonly isAdmin: boolean;
-  readonly isNone: boolean;
-}
-
-/** @name NftDataStructsSchemaVersion */
-export interface NftDataStructsSchemaVersion extends Struct {
-  readonly dummySchemaVersion: u32;
-}
-
-/** @name NftDataStructsSponsorshipState */
-export interface NftDataStructsSponsorshipState extends Enum {
-  readonly isDisabled: boolean;
-  readonly isUnconfirmed: boolean;
-  readonly asUnconfirmed: AccountId;
-  readonly isConfirmed: boolean;
-  readonly asConfirmed: AccountId;
-}
-
-/** @name NftDataStructsTokenId */
-export interface NftDataStructsTokenId extends u32 {}
-
-/** @name PalletCommonAccountBasicCrossAccountIdRepr */
-export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {
-  readonly isSubstrate: boolean;
-  readonly asSubstrate: AccountId;
-  readonly isEthereum: boolean;
-  readonly asEthereum: H160;
-}
-
-/** @name PalletNonfungibleItemData */
-export interface PalletNonfungibleItemData extends Struct {
-  readonly dummyNftItemData: u32;
-}
-
-/** @name PalletRefungibleItemData */
-export interface PalletRefungibleItemData extends Struct {
-  readonly dummyRftItemData: u32;
-}
-
-/** @name PalletUnqSchedulerCallSpec */
-export interface PalletUnqSchedulerCallSpec extends Struct {
-  readonly dummyCallSpec: u32;
-}
-
-/** @name PalletUnqSchedulerReleases */
-export interface PalletUnqSchedulerReleases extends Struct {
-  readonly dummyReleases: u32;
-}
-
-/** @name PalletUnqSchedulerScheduledV2 */
-export interface PalletUnqSchedulerScheduledV2 extends Struct {
-  readonly dummyScheduledV2: u32;
-}
-
-export type PHANTOM_NFT = 'nft';
modifiedtests/src/interfaces/types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/types.ts
+++ b/tests/src/interfaces/types.ts
@@ -1,6 +1,6 @@
 // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
 /* eslint-disable */
 
-export * from './nft/types';
+export * from './unique/types';
 export * from './ethereum/types';
 export * from './polkadot/types';
addedtests/src/interfaces/unique/definitions.tsdiffbeforeafterboth
--- /dev/null
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -0,0 +1,110 @@
+function mkDummy(name: string) {
+  return {
+    ['dummy' + name]: 'u32',
+  };
+}
+
+type RpcParam = {
+  name: string;
+  type: string;
+  isOptional?: true;
+};
+
+const CROSS_ACCOUNT_ID_TYPE = 'PalletCommonAccountBasicCrossAccountIdRepr';
+const TOKEN_ID_TYPE = 'UpDataStructsTokenId';
+
+const collectionParam = {name: 'collection', type: 'UpDataStructsCollectionId'};
+const tokenParam = {name: 'tokenId', type: TOKEN_ID_TYPE};
+const crossAccountParam = (name = 'account') => ({name, type: CROSS_ACCOUNT_ID_TYPE});
+const atParam = {name: 'at', type: 'Hash', isOptional: true};
+
+const fun = (description: string, params: RpcParam[], type: string) => ({
+  description,
+  params: [...params, atParam],
+  type,
+});
+
+export default {
+  rpc: {
+    adminlist: fun('Get admin list', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),
+    allowlist: fun('Get allowlist', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),
+
+    accountTokens: fun('Get tokens owned by account', [collectionParam, crossAccountParam()], 'Vec<UpDataStructsTokenId>'),
+    collectionTokens: fun('Get tokens contained in collection', [collectionParam], 'Vec<UpDataStructsTokenId>'),
+
+    lastTokenId: fun('Get last token id', [collectionParam], TOKEN_ID_TYPE),
+    accountBalance: fun('Get amount of different user tokens', [collectionParam, crossAccountParam()], 'u32'),
+    balance: fun('Get amount of specific account token', [collectionParam, crossAccountParam(), tokenParam], 'u128'),
+    allowance: fun('Get allowed amount', [collectionParam, crossAccountParam('sender'), crossAccountParam('spender'), tokenParam], 'u128'),
+    tokenOwner: fun('Get token owner', [collectionParam, tokenParam], CROSS_ACCOUNT_ID_TYPE),
+    constMetadata: fun('Get token constant metadata', [collectionParam, tokenParam], 'Vec<u8>'),
+    variableMetadata: fun('Get token variable metadata', [collectionParam, tokenParam], 'Vec<u8>'),
+    tokenExists: fun('Check if token exists', [collectionParam, tokenParam], 'bool'),
+    collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsCollection>'),
+    collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),
+    allowed: fun('Check if user is allowed to use collection', [collectionParam, crossAccountParam()], 'bool'),
+  },
+  types: {
+    PalletCommonAccountBasicCrossAccountIdRepr: {
+      _enum: {
+        Substrate: 'AccountId',
+        Ethereum: 'H160',
+      },
+    },
+    UpDataStructsCollection: {
+      owner: 'AccountId',
+      mode: 'UpDataStructsCollectionMode',
+      access: 'UpDataStructsAccessMode',
+      name: 'Vec<u16>',
+      description: 'Vec<u16>',
+      tokenPrefix: 'Vec<u8>',
+      mintMode: 'bool',
+      offchainSchema: 'Vec<u8>',
+      schemaVersion: 'UpDataStructsSchemaVersion',
+      sponsorship: 'UpDataStructsSponsorshipState',
+      limits: 'UpDataStructsCollectionLimits',
+      variableOnChainSchema: 'Vec<u8>',
+      constOnChainSchema: 'Vec<u8>',
+      metaUpdatePermission: 'UpDataStructsMetaUpdatePermission',
+    },
+    UpDataStructsCollectionStats: {
+      created: 'u32',
+      destroyed: 'u32',
+      alive: 'u32',
+    },
+    UpDataStructsCollectionId: 'u32',
+    UpDataStructsTokenId: 'u32',
+    PalletNonfungibleItemData: mkDummy('NftItemData'),
+    PalletRefungibleItemData: mkDummy('RftItemData'),
+    UpDataStructsCollectionMode: mkDummy('CollectionMode'),
+    UpDataStructsCreateItemData: mkDummy('CreateItemData'),
+    UpDataStructsCollectionLimits: {
+      accountTokenOwnershipLimit: 'Option<u32>',
+      sponsoredDataSize: 'Option<u32>',
+      sponsoredDataRateLimit: 'Option<u32>',
+      tokenLimit: 'Option<u32>',
+      sponsorTransferTimeout: 'Option<u32>',
+      ownerCanTransfer: 'Option<bool>',
+      ownerCanDestroy: 'Option<bool>',
+      transfersEnabled: 'Option<bool>',
+    },
+    UpDataStructsMetaUpdatePermission: {
+      _enum: ['ItemOwner', 'Admin', 'None'],
+    },
+    UpDataStructsSponsorshipState: {
+      _enum: {
+        Disabled: null,
+        Unconfirmed: 'AccountId',
+        Confirmed: 'AccountId',
+      },
+    },
+    UpDataStructsAccessMode: {
+      _enum: ['Normal', 'AllowList'],
+    },
+    UpDataStructsSchemaVersion: mkDummy('SchemaVersion'),
+
+    PalletUnqSchedulerScheduledV2: mkDummy('ScheduledV2'),
+    PalletUnqSchedulerCallSpec: mkDummy('CallSpec'),
+    PalletUnqSchedulerReleases: mkDummy('Releases'),
+  },
+};
addedtests/src/interfaces/unique/index.tsdiffbeforeafterboth
--- /dev/null
+++ b/tests/src/interfaces/unique/index.ts
@@ -0,0 +1,4 @@
+// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
+/* eslint-disable */
+
+export * from './types';
addedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
--- /dev/null
+++ b/tests/src/interfaces/unique/types.ts
@@ -0,0 +1,120 @@
+// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
+/* eslint-disable */
+
+import type { Bytes, Enum, Option, Struct, Vec, bool, u16, u32 } from '@polkadot/types';
+import type { AccountId, H160 } from '@polkadot/types/interfaces/runtime';
+
+/** @name PalletCommonAccountBasicCrossAccountIdRepr */
+export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {
+  readonly isSubstrate: boolean;
+  readonly asSubstrate: AccountId;
+  readonly isEthereum: boolean;
+  readonly asEthereum: H160;
+}
+
+/** @name PalletNonfungibleItemData */
+export interface PalletNonfungibleItemData extends Struct {
+  readonly dummyNftItemData: u32;
+}
+
+/** @name PalletRefungibleItemData */
+export interface PalletRefungibleItemData extends Struct {
+  readonly dummyRftItemData: u32;
+}
+
+/** @name PalletUnqSchedulerCallSpec */
+export interface PalletUnqSchedulerCallSpec extends Struct {
+  readonly dummyCallSpec: u32;
+}
+
+/** @name PalletUnqSchedulerReleases */
+export interface PalletUnqSchedulerReleases extends Struct {
+  readonly dummyReleases: u32;
+}
+
+/** @name PalletUnqSchedulerScheduledV2 */
+export interface PalletUnqSchedulerScheduledV2 extends Struct {
+  readonly dummyScheduledV2: u32;
+}
+
+/** @name UpDataStructsAccessMode */
+export interface UpDataStructsAccessMode extends Enum {
+  readonly isNormal: boolean;
+  readonly isAllowList: boolean;
+}
+
+/** @name UpDataStructsCollection */
+export interface UpDataStructsCollection extends Struct {
+  readonly owner: AccountId;
+  readonly mode: UpDataStructsCollectionMode;
+  readonly access: UpDataStructsAccessMode;
+  readonly name: Vec<u16>;
+  readonly description: Vec<u16>;
+  readonly tokenPrefix: Bytes;
+  readonly mintMode: bool;
+  readonly offchainSchema: Bytes;
+  readonly schemaVersion: UpDataStructsSchemaVersion;
+  readonly sponsorship: UpDataStructsSponsorshipState;
+  readonly limits: UpDataStructsCollectionLimits;
+  readonly variableOnChainSchema: Bytes;
+  readonly constOnChainSchema: Bytes;
+  readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
+}
+
+/** @name UpDataStructsCollectionId */
+export interface UpDataStructsCollectionId extends u32 {}
+
+/** @name UpDataStructsCollectionLimits */
+export interface UpDataStructsCollectionLimits extends Struct {
+  readonly accountTokenOwnershipLimit: Option<u32>;
+  readonly sponsoredDataSize: Option<u32>;
+  readonly sponsoredDataRateLimit: Option<u32>;
+  readonly tokenLimit: Option<u32>;
+  readonly sponsorTransferTimeout: Option<u32>;
+  readonly ownerCanTransfer: Option<bool>;
+  readonly ownerCanDestroy: Option<bool>;
+  readonly transfersEnabled: Option<bool>;
+}
+
+/** @name UpDataStructsCollectionMode */
+export interface UpDataStructsCollectionMode extends Struct {
+  readonly dummyCollectionMode: u32;
+}
+
+/** @name UpDataStructsCollectionStats */
+export interface UpDataStructsCollectionStats extends Struct {
+  readonly created: u32;
+  readonly destroyed: u32;
+  readonly alive: u32;
+}
+
+/** @name UpDataStructsCreateItemData */
+export interface UpDataStructsCreateItemData extends Struct {
+  readonly dummyCreateItemData: u32;
+}
+
+/** @name UpDataStructsMetaUpdatePermission */
+export interface UpDataStructsMetaUpdatePermission extends Enum {
+  readonly isItemOwner: boolean;
+  readonly isAdmin: boolean;
+  readonly isNone: boolean;
+}
+
+/** @name UpDataStructsSchemaVersion */
+export interface UpDataStructsSchemaVersion extends Struct {
+  readonly dummySchemaVersion: u32;
+}
+
+/** @name UpDataStructsSponsorshipState */
+export interface UpDataStructsSponsorshipState extends Enum {
+  readonly isDisabled: boolean;
+  readonly isUnconfirmed: boolean;
+  readonly asUnconfirmed: AccountId;
+  readonly isConfirmed: boolean;
+  readonly asConfirmed: AccountId;
+}
+
+/** @name UpDataStructsTokenId */
+export interface UpDataStructsTokenId extends u32 {}
+
+export type PHANTOM_UNIQUE = 'unique';
modifiedtests/src/util/helpers.tsdiffbeforeafterboth
--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -11,7 +11,7 @@
 import chai from 'chai';
 import chaiAsPromised from 'chai-as-promised';
 import {alicesPublicKey} from '../accounts';
-import {NftDataStructsCollection} from '../interfaces';
+import {UpDataStructsCollection} from '../interfaces';
 import privateKey from '../substrate/privateKey';
 import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from '../substrate/substrate-api';
 import {hexToStr, strToUTF16, utf16ToStr} from './util';
@@ -105,7 +105,7 @@
 }
 
 interface IGetMessage {
-  checkMsgNftMethod: string;
+  checkMsgUnqMethod: string;
   checkMsgTrsMethod: string;
   checkMsgSysMethod: string;
 }
@@ -133,13 +133,13 @@
   variableData: number[];
 }
 
-export function nftEventMessage(events: EventRecord[]): IGetMessage {
-  let checkMsgNftMethod = '';
+export function uniqueEventMessage(events: EventRecord[]): IGetMessage {
+  let checkMsgUnqMethod = '';
   let checkMsgTrsMethod = '';
   let checkMsgSysMethod = '';
   events.forEach(({event: {method, section}}) => {
     if (section === 'common') {
-      checkMsgNftMethod = method;
+      checkMsgUnqMethod = method;
     } else if (section === 'treasury') {
       checkMsgTrsMethod = method;
     } else if (section === 'system') {
@@ -147,7 +147,7 @@
     } else { return null; }
   });
   const result: IGetMessage = {
-    checkMsgNftMethod,
+    checkMsgUnqMethod,
     checkMsgTrsMethod,
     checkMsgSysMethod,
   };
@@ -716,8 +716,8 @@
   tokenId: number, owner: IKeyringPair, approved: CrossAccountId | string, amount: number | bigint = 1,
 ) {
   await usingApi(async (api: ApiPromise) => {
-    const approveNftTx = api.tx.unique.approve(normalizeAccountId(approved), collectionId, tokenId, amount);
-    const events = await submitTransactionAsync(owner, approveNftTx);
+    const approveUniqueTx = api.tx.unique.approve(normalizeAccountId(approved), collectionId, tokenId, amount);
+    const events = await submitTransactionAsync(owner, approveUniqueTx);
     const result = getGenericResult(events);
     expect(result.success).to.be.true;
 
@@ -730,8 +730,8 @@
   tokenId: number, admin: IKeyringPair, owner: CrossAccountId | string, approved: CrossAccountId | string, amount: number | bigint = 1,
 ) {
   await usingApi(async (api: ApiPromise) => {
-    const approveNftTx = api.tx.unique.approve(normalizeAccountId(approved), collectionId, tokenId, amount);
-    const events = await submitTransactionAsync(admin, approveNftTx);
+    const approveUniqueTx = api.tx.unique.approve(normalizeAccountId(approved), collectionId, tokenId, amount);
+    const events = await submitTransactionAsync(admin, approveUniqueTx);
     const result = getGenericResult(events);
     expect(result.success).to.be.true;
 
@@ -920,8 +920,8 @@
   tokenId: number, owner: IKeyringPair, approved: IKeyringPair, amount: number | bigint = 1,
 ) {
   await usingApi(async (api: ApiPromise) => {
-    const approveNftTx = api.tx.unique.approve(normalizeAccountId(approved.address), collectionId, tokenId, amount);
-    const events = await expect(submitTransactionExpectFailAsync(owner, approveNftTx)).to.be.rejected;
+    const approveUniqueTx = api.tx.unique.approve(normalizeAccountId(approved.address), collectionId, tokenId, amount);
+    const events = await expect(submitTransactionExpectFailAsync(owner, approveUniqueTx)).to.be.rejected;
     const result = getCreateCollectionResult(events);
     // tslint:disable-next-line:no-unused-expression
     expect(result.success).to.be.false;
@@ -1212,7 +1212,7 @@
 }
 
 export const getDetailedCollectionInfo = async (api: ApiPromise, collectionId: number)
-  : Promise<NftDataStructsCollection | null> => {
+  : Promise<UpDataStructsCollection | null> => {
   return (await api.rpc.unique.collectionById(collectionId)).unwrapOr(null);
 };
 
@@ -1221,7 +1221,7 @@
   return (await api.rpc.unique.collectionStats()).created.toNumber();
 };
 
-export async function queryCollectionExpectSuccess(api: ApiPromise, collectionId: number): Promise<NftDataStructsCollection> {
+export async function queryCollectionExpectSuccess(api: ApiPromise, collectionId: number): Promise<UpDataStructsCollection> {
   return (await api.rpc.unique.collectionById(collectionId)).unwrap();
 }