difftreelog
CORE-324 Use CrossAccountId in Runner::call
in: master
17 files changed
runtime/common/src/runtime_apis.rsdiffbeforeafterboth181 };181 };182182183 <Runtime as pallet_evm::Config>::Runner::call(183 <Runtime as pallet_evm::Config>::Runner::call(184 from,184 CrossAccountId::from_eth(from),185 to,185 to,186 data,186 data,187 value,187 value,215 };215 };216216217 <Runtime as pallet_evm::Config>::Runner::create(217 <Runtime as pallet_evm::Config>::Runner::create(218 from,218 CrossAccountId::from_eth(from),219 data,219 data,220 value,220 value,221 gas_limit.low_u64(),221 gas_limit.low_u64(),runtime/opal/src/lib.rsdiffbeforeafterboth48};48};49// A few exports that help ease life for downstream crates.49// A few exports that help ease life for downstream crates.50pub use pallet_balances::Call as BalancesCall;50pub use pallet_balances::Call as BalancesCall;51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _};52pub use frame_support::{52pub use frame_support::{53 construct_runtime, match_type,53 construct_runtime, match_type,54 dispatch::DispatchResult,54 dispatch::DispatchResult,runtime/quartz/src/lib.rsdiffbeforeafterboth48};48};49// A few exports that help ease life for downstream crates.49// A few exports that help ease life for downstream crates.50pub use pallet_balances::Call as BalancesCall;50pub use pallet_balances::Call as BalancesCall;51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _};52pub use frame_support::{52pub use frame_support::{53 construct_runtime, match_type,53 construct_runtime, match_type,54 dispatch::DispatchResult,54 dispatch::DispatchResult,runtime/unique/src/lib.rsdiffbeforeafterboth48};48};49// A few exports that help ease life for downstream crates.49// A few exports that help ease life for downstream crates.50pub use pallet_balances::Call as BalancesCall;50pub use pallet_balances::Call as BalancesCall;51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _};52pub use frame_support::{52pub use frame_support::{53 construct_runtime, match_type,53 construct_runtime, match_type,54 dispatch::DispatchResult,54 dispatch::DispatchResult,tests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth27 collectionIdToAddress,27 collectionIdToAddress,28 GAS_ARGS,28 GAS_ARGS,29 normalizeEvents,29 normalizeEvents,30 subToEth,31 executeEthTxOnSub,30} from './util/helpers';32} from './util/helpers';31import {33import {34 addCollectionAdminExpectSuccess,32 createCollectionExpectSuccess,35 createCollectionExpectSuccess,33 getCreateCollectionResult,36 getCreateCollectionResult,37 transferBalanceTo,34} from '../util/helpers';38} from '../util/helpers';35import nonFungibleAbi from './nonFungibleAbi.json';39import nonFungibleAbi from './nonFungibleAbi.json';36import {40import {295 });299 });300301302 itWeb3('Check that transaction via EVM spend money from substrate address', async ({api, web3}) => {303 const owner = privateKey('//Alice');304 const user = privateKey(`//User/${Date.now()}`);305 const userEth = subToEth(user.address);306 const collectionId = await createCollectionExpectSuccess();307 await addCollectionAdminExpectSuccess(owner, collectionId, {Ethereum: userEth});308 await transferBalanceTo(api, owner, user.address);309310 const address = collectionIdToAddress(collectionId);311 const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: userEth, ...GAS_ARGS});312313 const [userBalanceBefore] = await getBalance(api, [user.address]);314315 {316 const nextTokenId = await contract.methods.nextTokenId().call();317 expect(nextTokenId).to.be.equal('1');318 await executeEthTxOnSub(web3, api, user, contract, m => m.mintWithTokenURI(319 userEth,320 nextTokenId,321 'Test URI',322 ));323324 expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');325 }326327 const [userBalanceAfter] = await getBalance(api, [user.address]);328 expect(userBalanceAfter < userBalanceBefore).to.be.true;329 });296});330});297331tests/src/eth/marketplace/marketplace.test.tsdiffbeforeafterboth15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.161617import {readFile} from 'fs/promises';17import {readFile} from 'fs/promises';18import {getBalanceSingle, transferBalanceExpectSuccess} from '../../substrate/get-balance';18import {getBalanceSingle} from '../../substrate/get-balance';19import privateKey from '../../substrate/privateKey';19import privateKey from '../../substrate/privateKey';20import {addToAllowListExpectSuccess, confirmSponsorshipExpectSuccess, createCollectionExpectSuccess, createFungibleItemExpectSuccess, createItemExpectSuccess, getTokenOwner, setCollectionLimitsExpectSuccess, setCollectionSponsorExpectSuccess, transferExpectSuccess, transferFromExpectSuccess} from '../../util/helpers';20import {21 addToAllowListExpectSuccess, 22 confirmSponsorshipExpectSuccess, 23 createCollectionExpectSuccess, 24 createItemExpectSuccess, 25 getTokenOwner,26 setCollectionLimitsExpectSuccess, 27 setCollectionSponsorExpectSuccess, 28 transferExpectSuccess, 29 transferFromExpectSuccess,30 transferBalanceTo,31} from '../../util/helpers';21import {collectionIdToAddress, contractHelpers, createEthAccountWithBalance, executeEthTxOnSub, GAS_ARGS, itWeb3, SponsoringMode, subToEth, subToEthLowercase, transferBalanceToEth} from '../util/helpers';32import {collectionIdToAddress, contractHelpers, createEthAccountWithBalance, executeEthTxOnSub, GAS_ARGS, itWeb3, SponsoringMode, subToEth, subToEthLowercase, transferBalanceToEth} from '../util/helpers';22import {evmToAddress} from '@polkadot/util-crypto';33import {evmToAddress} from '@polkadot/util-crypto';23import nonFungibleAbi from '../nonFungibleAbi.json';34import nonFungibleAbi from '../nonFungibleAbi.json';24import fungibleAbi from '../fungibleAbi.json';3525import {expect} from 'chai';36import {expect} from 'chai';263727const PRICE = 2000n;38const PRICE = 2000n;283929describe('Matcher contract usage', () => {40describe.only('Matcher contract usage', () => {30 itWeb3('With UNQ', async ({api, web3}) => {41 itWeb3('With UNQ', async ({api, web3}) => {31 const alice = privateKey('//Alice');42 const alice = privateKey('//Alice');32 const matcherOwner = await createEthAccountWithBalance(api, web3);43 const matcherOwner = await createEthAccountWithBalance(api, web3);87 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});98 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});88 });99 });8910090 // selling for custom tokens excluded from release10191 itWeb3.skip('With custom ERC20', async ({api, web3}) => {102 itWeb3('With escrow', async ({api, web3}) => {92 const alice = privateKey('//Alice');103 const alice = privateKey('//Alice');93 const matcherOwner = await createEthAccountWithBalance(api, web3);104 const matcherOwner = await createEthAccountWithBalance(api, web3);105 const escrow = await createEthAccountWithBalance(api, web3);94 const matcherContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/MarketPlace.abi`)).toString()), undefined, {106 const matcherContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/MarketPlace.abi`)).toString()), undefined, {95 from: matcherOwner,107 from: matcherOwner,96 ...GAS_ARGS,108 ...GAS_ARGS,97 });109 });98 const matcher = await matcherContract.deploy({data: (await readFile(`${__dirname}/MarketPlace.bin`)).toString(), arguments: [matcherOwner]}).send({from: matcherOwner});110 const matcher = await matcherContract.deploy({data: (await readFile(`${__dirname}/MarketPlace.bin`)).toString(), arguments: [matcherOwner]}).send({from: matcherOwner, gas: 10000000});111 await matcher.methods.setEscrow(escrow).send({from: matcherOwner});112 const helpers = contractHelpers(web3, matcherOwner);113 await helpers.methods.setSponsoringMode(matcher.options.address, SponsoringMode.Allowlisted).send({from: matcherOwner});114 await helpers.methods.setSponsoringRateLimit(matcher.options.address, 1).send({from: matcherOwner});115 await transferBalanceToEth(api, alice, matcher.options.address);99116100 const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});117 const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});118 await setCollectionLimitsExpectSuccess(alice, collectionId, {sponsorApproveTimeout: 1});101 const evmCollection = new web3.eth.Contract(nonFungibleAbi as any, collectionIdToAddress(collectionId), {from: matcherOwner});119 const evmCollection = new web3.eth.Contract(nonFungibleAbi as any, collectionIdToAddress(collectionId), {from: matcherOwner});120 await setCollectionSponsorExpectSuccess(collectionId, alice.address);121 await transferBalanceToEth(api, alice, subToEth(alice.address));122 await confirmSponsorshipExpectSuccess(collectionId);102123103 const fungibleId = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});124 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(alice.address), true).send({from: matcherOwner});104 const evmFungible = new web3.eth.Contract(fungibleAbi as any, collectionIdToAddress(fungibleId), {from: matcherOwner, ...GAS_ARGS});105 await createFungibleItemExpectSuccess(alice, fungibleId, {Value: PRICE}, {Ethereum: subToEth(alice.address)});125 await addToAllowListExpectSuccess(alice, collectionId, evmToAddress(subToEth(alice.address)));106126107 const seller = privateKey('//Bob');127 const seller = privateKey(`//Seller/${Date.now()}`);128 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(seller.address), true).send({from: matcherOwner});108129109 const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', seller.address);130 const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', seller.address);110131111 // To transfer item to matcher it first needs to be transfered to EVM account of bob132 // To transfer item to matcher it first needs to be transfered to EVM account of bob112 await transferExpectSuccess(collectionId, tokenId, seller, {Ethereum: subToEth(seller.address)});133 await transferExpectSuccess(collectionId, tokenId, seller, {Ethereum: subToEth(seller.address)});113 // Fees will be paid from EVM account, so we should have some balance here114 await transferBalanceExpectSuccess(api, seller, evmToAddress(subToEth(seller.address)), 10n ** 18n);115 await transferBalanceExpectSuccess(api, alice, evmToAddress(subToEth(alice.address)), 10n ** 18n);116134117 // Token is owned by seller initially135 // Token is owned by seller initially118 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(seller.address)});136 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(seller.address)});119137120 // Ask138 // Ask121 {139 {122 await executeEthTxOnSub(web3, api, seller, evmCollection, m => m.approve(matcher.options.address, tokenId));140 await executeEthTxOnSub(web3, api, seller, evmCollection, m => m.approve(matcher.options.address, tokenId));123 await executeEthTxOnSub(web3, api, seller, matcher, m => m.addAsk(PRICE, evmFungible.options.address, evmCollection.options.address, tokenId, 1));141 await executeEthTxOnSub(web3, api, seller, matcher, m => m.addAsk(PRICE, '0x0000000000000000000000000000000000000001', evmCollection.options.address, tokenId));124 }142 }125143126 // Token is transferred to matcher144 // Token is transferred to matcher127 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: matcher.options.address.toLowerCase()});145 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: matcher.options.address.toLowerCase()});128146147 // Give buyer KSM148 await matcher.methods.depositKSM(PRICE, subToEth(alice.address)).send({from: escrow});149129 // Buy150 // Buy130 {151 {131 const sellerBalanceBeforePurchase = BigInt(await evmFungible.methods.balanceOf(subToEth(seller.address)).call());152 expect(await matcher.methods.balanceKSM(subToEth(seller.address)).call()).to.be.equal('0');132 const buyerBalanceBeforePurchase = BigInt(await evmFungible.methods.balanceOf(subToEth(alice.address)).call());153 expect(await matcher.methods.balanceKSM(subToEth(alice.address)).call()).to.be.equal(PRICE.toString());133154134 await executeEthTxOnSub(web3, api, alice, evmFungible, m => m.approve(matcher.options.address, PRICE));155 await executeEthTxOnSub(web3, api, alice, matcher, m => m.buyKSM(evmCollection.options.address, tokenId, subToEth(alice.address), subToEth(alice.address)));135 // There is two functions named 'buy', so we should provide full signature136 await executeEthTxOnSub(web3, api, alice, matcher, m =>137 m['buy(address,uint256,address,uint256)'](evmCollection.options.address, tokenId, evmFungible.options.address, PRICE));138156139 // Approved price is removed from buyer balance, and added to seller157 // Price is removed from buyer balance, and added to seller140 expect(BigInt(await evmFungible.methods.balanceOf(subToEth(seller.address)).call()) - sellerBalanceBeforePurchase === PRICE);158 expect(await matcher.methods.balanceKSM(subToEth(alice.address)).call()).to.be.equal('0');141 expect(buyerBalanceBeforePurchase - BigInt(await evmFungible.methods.balanceOf(subToEth(alice.address)).call()) === PRICE);159 expect(await matcher.methods.balanceKSM(subToEth(seller.address)).call()).to.be.equal(PRICE.toString());142 }160 }143161144 // Token is transferred to evm account of alice162 // Token is transferred to evm account of alice145 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(alice.address)});163 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(alice.address)});146164147148 // Transfer token to substrate side of alice165 // Transfer token to substrate side of alice149 await transferFromExpectSuccess(collectionId, tokenId, alice, {Ethereum: subToEth(alice.address)}, {Substrate: alice.address});166 await transferFromExpectSuccess(collectionId, tokenId, alice, {Ethereum: subToEth(alice.address)}, {Substrate: alice.address});150167151 // Token is transferred to substrate account of alice168 // Token is transferred to substrate account of alice, seller received funds152 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});169 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});153 });170 });154171172155 itWeb3('With escrow', async ({api, web3}) => {173 itWeb3('Sell tokens from substrate user via EVM contract', async ({api, web3}) => {156 const alice = privateKey('//Alice');174 const alice = privateKey('//Alice');157 const matcherOwner = await createEthAccountWithBalance(api, web3);175 const matcherOwner = await createEthAccountWithBalance(api, web3);158 const escrow = await createEthAccountWithBalance(api, web3);159 const matcherContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/MarketPlace.abi`)).toString()), undefined, {176 const matcherContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/MarketPlace.abi`)).toString()), undefined, {160 from: matcherOwner,177 from: matcherOwner,161 ...GAS_ARGS,178 ...GAS_ARGS,162 });179 });163 const matcher = await matcherContract.deploy({data: (await readFile(`${__dirname}/MarketPlace.bin`)).toString(), arguments: [matcherOwner]}).send({from: matcherOwner, gas: 10000000});180 const matcher = await matcherContract.deploy({data: (await readFile(`${__dirname}/MarketPlace.bin`)).toString(), arguments:[matcherOwner]}).send({from: matcherOwner});164 await matcher.methods.setEscrow(escrow).send({from: matcherOwner});165 const helpers = contractHelpers(web3, matcherOwner);166 await helpers.methods.setSponsoringMode(matcher.options.address, SponsoringMode.Allowlisted).send({from: matcherOwner});167 await helpers.methods.setSponsoringRateLimit(matcher.options.address, 1).send({from: matcherOwner});168 await transferBalanceToEth(api, alice, matcher.options.address);181 await transferBalanceToEth(api, alice, matcher.options.address);169182170 const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});183 const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});171 await setCollectionLimitsExpectSuccess(alice, collectionId, {sponsorApproveTimeout: 1});184 await setCollectionLimitsExpectSuccess(alice, collectionId, {sponsorApproveTimeout: 1});172 const evmCollection = new web3.eth.Contract(nonFungibleAbi as any, collectionIdToAddress(collectionId), {from: matcherOwner});185 const evmCollection = new web3.eth.Contract(nonFungibleAbi as any, collectionIdToAddress(collectionId), {from: matcherOwner});173 await setCollectionSponsorExpectSuccess(collectionId, alice.address);174 await transferBalanceToEth(api, alice, subToEth(alice.address));175 await confirmSponsorshipExpectSuccess(collectionId);176186177 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(alice.address), true).send({from: matcherOwner});178 await addToAllowListExpectSuccess(alice, collectionId, evmToAddress(subToEth(alice.address)));179180 const seller = privateKey(`//Seller/${Date.now()}`);187 const seller = privateKey(`//Seller/${Date.now()}`);181 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(seller.address), true).send({from: matcherOwner});188 await transferBalanceTo(api, alice, seller.address);182189 183 const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', seller.address);190 const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', seller.address);184191185 // To transfer item to matcher it first needs to be transfered to EVM account of bob192 // To transfer item to matcher it first needs to be transfered to EVM account of bob197 // Token is transferred to matcher204 // Token is transferred to matcher198 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: matcher.options.address.toLowerCase()});205 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: matcher.options.address.toLowerCase()});199206200 // Give buyer KSM201 await matcher.methods.depositKSM(PRICE, subToEth(alice.address)).send({from: escrow});202203 // Buy207 // Buy204 {208 {205 expect(await matcher.methods.balanceKSM(subToEth(seller.address)).call()).to.be.equal('0');209 const sellerBalanceBeforePurchase = await getBalanceSingle(api, seller.address);206 expect(await matcher.methods.balanceKSM(subToEth(alice.address)).call()).to.be.equal(PRICE.toString());207208 await executeEthTxOnSub(web3, api, alice, matcher, m => m.buyKSM(evmCollection.options.address, tokenId, subToEth(alice.address), subToEth(alice.address)));210 await executeEthTxOnSub(web3, api, alice, matcher, m => m.buy(evmCollection.options.address, tokenId), {value: PRICE});209210 // Price is removed from buyer balance, and added to seller211 expect(await getBalanceSingle(api, seller.address) - sellerBalanceBeforePurchase === PRICE);211 expect(await matcher.methods.balanceKSM(subToEth(alice.address)).call()).to.be.equal('0');212 expect(await matcher.methods.balanceKSM(subToEth(seller.address)).call()).to.be.equal(PRICE.toString());213 }212 }214213215 // Token is transferred to evm account of alice214 // Token is transferred to evm account of alicetests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth104 * No permission to perform action104 * No permission to perform action105 **/105 **/106 NoPermission: AugmentedError<ApiType>;106 NoPermission: AugmentedError<ApiType>;107 /**108 * Not sufficient founds to perform action109 **/110 NotSufficientFounds: AugmentedError<ApiType>;107 /**111 /**108 * Tried to enable permissions which are only permitted to be disabled112 * Tried to enable permissions which are only permitted to be disabled109 **/113 **/tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth4import type { ApiTypes } from '@polkadot/api-base/types';4import type { ApiTypes } from '@polkadot/api-base/types';5import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types-codec';5import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types-codec';6import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';6import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';7import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletCommonAccountBasicCrossAccountIdRepr, SpRuntimeDispatchError, UpDataStructsAccessMode, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';7import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, SpRuntimeDispatchError, UpDataStructsAccessMode, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';889declare module '@polkadot/api-base/types/events' {9declare module '@polkadot/api-base/types/events' {10 export interface AugmentedEvents<ApiType extends ApiTypes> {10 export interface AugmentedEvents<ApiType extends ApiTypes> {68 * 68 * 69 * * amount69 * * amount70 **/70 **/71 Approved: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;71 Approved: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;72 /**72 /**73 * New collection was created73 * New collection was created74 * 74 * 102 * 102 * 103 * * amount: Always 1 for NFT103 * * amount: Always 1 for NFT104 **/104 **/105 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;105 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;106 /**106 /**107 * Collection item was burned.107 * Collection item was burned.108 * 108 * 116 * 116 * 117 * * amount: Always 1 for NFT117 * * amount: Always 1 for NFT118 **/118 **/119 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;119 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;120 /**120 /**121 * Item was transferred121 * Item was transferred122 * 122 * 130 * 130 * 131 * * amount: Always 1 for NFT131 * * amount: Always 1 for NFT132 **/132 **/133 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;133 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;134 /**134 /**135 * Generic event135 * Generic event136 **/136 **/483 * 483 * 484 * * user: Address.484 * * user: Address.485 **/485 **/486 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;486 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;487 /**487 /**488 * Address was remove from allow list488 * Address was remove from allow list489 * 489 * 493 * 493 * 494 * * user: Address.494 * * user: Address.495 **/495 **/496 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;496 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;497 /**497 /**498 * Collection admin was added498 * Collection admin was added499 * 499 * 503 * 503 * 504 * * admin: Admin address.504 * * admin: Admin address.505 **/505 **/506 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;506 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;507 /**507 /**508 * Collection admin was removed508 * Collection admin was removed509 * 509 * 513 * 513 * 514 * * admin: Admin address.514 * * admin: Admin address.515 **/515 **/516 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;516 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;517 /**517 /**518 * Collection limits was set518 * Collection limits was set519 * 519 * tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, UpDataStructsCollection, UpDataStructsCollectionStats } from '@polkadot/types/lookup';8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, UpDataStructsCollection, UpDataStructsCollectionStats } from '@polkadot/types/lookup';9import type { Observable } from '@polkadot/types/types';9import type { Observable } from '@polkadot/types/types';101011declare module '@polkadot/api-base/types/storage' {11declare module '@polkadot/api-base/types/storage' {73 /**73 /**74 * Allowlisted collection users74 * Allowlisted collection users75 **/75 **/76 allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;76 allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;77 /**77 /**78 * Collection info78 * Collection info79 **/79 **/87 /**87 /**88 * List of collection admins88 * List of collection admins89 **/89 **/90 isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;90 isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;91 /**91 /**92 * Generic query92 * Generic query93 **/93 **/173 [key: string]: QueryableStorageEntry<ApiType>;173 [key: string]: QueryableStorageEntry<ApiType>;174 };174 };175 fungible: {175 fungible: {176 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]>;176 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;177 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;177 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;178 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;178 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;179 /**179 /**180 * Generic query180 * Generic query208 [key: string]: QueryableStorageEntry<ApiType>;208 [key: string]: QueryableStorageEntry<ApiType>;209 };209 };210 nonfungible: {210 nonfungible: {211 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;211 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;212 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCommonAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;212 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;213 /**213 /**214 * Used to enumerate tokens owned by account214 * Used to enumerate tokens owned by account215 **/215 **/216 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]>;216 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;217 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;217 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;218 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;218 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;219 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;219 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;371 [key: string]: QueryableStorageEntry<ApiType>;371 [key: string]: QueryableStorageEntry<ApiType>;372 };372 };373 refungible: {373 refungible: {374 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;374 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;375 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]>;375 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;376 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr]>;376 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;377 /**377 /**378 * Used to enumerate tokens owned by account378 * Used to enumerate tokens owned by account379 **/379 **/380 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]>;380 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;381 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;381 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;382 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;382 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;383 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;383 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */2/* eslint-disable */334import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';4import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';5import type { AugmentedRpc } from '@polkadot/rpc-core/types';5import type { AugmentedRpc } from '@polkadot/rpc-core/types';6import type { Metadata, StorageKey } from '@polkadot/types';6import type { Metadata, StorageKey } from '@polkadot/types';7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';562 /**562 /**563 * Get amount of different user tokens563 * Get amount of different user tokens564 **/564 **/565 accountBalance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;565 accountBalance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;566 /**566 /**567 * Get tokens owned by account567 * Get tokens owned by account568 **/568 **/569 accountTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;569 accountTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;570 /**570 /**571 * Get admin list571 * Get admin list572 **/572 **/573 adminlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;573 adminlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;574 /**574 /**575 * Get allowed amount575 * Get allowed amount576 **/576 **/577 allowance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, sender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;577 allowance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, sender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;578 /**578 /**579 * Check if user is allowed to use collection579 * Check if user is allowed to use collection580 **/580 **/581 allowed: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;581 allowed: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;582 /**582 /**583 * Get allowlist583 * Get allowlist584 **/584 **/585 allowlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;585 allowlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;586 /**586 /**587 * Get amount of specific account token587 * Get amount of specific account token588 **/588 **/589 balance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;589 balance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;590 /**590 /**591 * Get collection by specified id591 * Get collection by specified id592 **/592 **/614 /**614 /**615 * Get token owner615 * Get token owner616 **/616 **/617 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletCommonAccountBasicCrossAccountIdRepr>>;617 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletEvmAccountBasicCrossAccountIdRepr>>;618 /**618 /**619 * Get token variable metadata619 * Get token variable metadata620 **/620 **/tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';9910declare module '@polkadot/api-base/types/submittable' {10declare module '@polkadot/api-base/types/submittable' {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {551 * 551 * 552 * * new_admin_id: Address of new admin to add.552 * * new_admin_id: Address of new admin to add.553 **/553 **/554 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;554 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;555 /**555 /**556 * Add an address to allow list.556 * Add an address to allow list.557 * 557 * 566 * 566 * 567 * * address.567 * * address.568 **/568 **/569 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;569 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;570 /**570 /**571 * Set, change, or remove approved address to transfer the ownership of the NFT.571 * Set, change, or remove approved address to transfer the ownership of the NFT.572 * 572 * 584 * 584 * 585 * * item_id: ID of the item.585 * * item_id: ID of the item.586 **/586 **/587 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]>;587 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;588 /**588 /**589 * Destroys a concrete instance of NFT on behalf of the owner589 * Destroys a concrete instance of NFT on behalf of the owner590 * See also: [`approve`]590 * See also: [`approve`]603 * 603 * 604 * * from: owner of item604 * * from: owner of item605 **/605 **/606 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]>;606 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;607 /**607 /**608 * Destroys a concrete instance of NFT.608 * Destroys a concrete instance of NFT.609 * 609 * 688 * 688 * 689 * * data: Token data to store on chain.689 * * data: Token data to store on chain.690 **/690 **/691 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]>;691 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;692 /**692 /**693 * This method creates multiple items in a collection created with CreateCollection method.693 * This method creates multiple items in a collection created with CreateCollection method.694 * 694 * 709 * 709 * 710 * * owner: Address, initial owner of the NFT.710 * * owner: Address, initial owner of the NFT.711 **/711 **/712 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>]>;712 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;713 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;713 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;714 /**714 /**715 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.715 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.737 * 737 * 738 * * account_id: Address of admin to remove.738 * * account_id: Address of admin to remove.739 **/739 **/740 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;740 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;741 /**741 /**742 * Switch back to pay-per-own-transaction model.742 * Switch back to pay-per-own-transaction model.743 * 743 * 764 * 764 * 765 * * address.765 * * address.766 **/766 **/767 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;767 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;768 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]>;768 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]>;769 /**769 /**770 * # Permissions770 * # Permissions938 * * Fungible Mode: Must specify transferred amount938 * * Fungible Mode: Must specify transferred amount939 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)939 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)940 **/940 **/941 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]>;941 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;942 /**942 /**943 * 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.943 * 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.944 * 944 * 960 * 960 * 961 * * value: Amount to transfer.961 * * value: Amount to transfer.962 **/962 **/963 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]>;963 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;964 /**964 /**965 * Generic tx965 * Generic tx966 **/966 **/tests/src/interfaces/augment-types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */2/* eslint-disable */334import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';5import type { Data, StorageKey } from '@polkadot/types';5import type { Data, StorageKey } from '@polkadot/types';6import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';6import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';18import type { StatementKind } from '@polkadot/types/interfaces/claims';18import type { StatementKind } from '@polkadot/types/interfaces/claims';19import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';19import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';20import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';20import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';21import type { AliveContractInfo, CodeHash, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';21import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';22import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';22import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';198 ClassMetadata: ClassMetadata;198 ClassMetadata: ClassMetadata;199 CodecHash: CodecHash;199 CodecHash: CodecHash;200 CodeHash: CodeHash;200 CodeHash: CodeHash;201 CodeSource: CodeSource;201 CodeUploadRequest: CodeUploadRequest;202 CodeUploadRequest: CodeUploadRequest;202 CodeUploadResult: CodeUploadResult;203 CodeUploadResult: CodeUploadResult;203 CodeUploadResultValue: CodeUploadResultValue;204 CodeUploadResultValue: CodeUploadResultValue;250 ContractInfo: ContractInfo;251 ContractInfo: ContractInfo;251 ContractInstantiateResult: ContractInstantiateResult;252 ContractInstantiateResult: ContractInstantiateResult;252 ContractInstantiateResultTo267: ContractInstantiateResultTo267;253 ContractInstantiateResultTo267: ContractInstantiateResultTo267;254 ContractInstantiateResultTo299: ContractInstantiateResultTo299;253 ContractLayoutArray: ContractLayoutArray;255 ContractLayoutArray: ContractLayoutArray;254 ContractLayoutCell: ContractLayoutCell;256 ContractLayoutCell: ContractLayoutCell;255 ContractLayoutEnum: ContractLayoutEnum;257 ContractLayoutEnum: ContractLayoutEnum;591 InstanceId: InstanceId;593 InstanceId: InstanceId;592 InstanceMetadata: InstanceMetadata;594 InstanceMetadata: InstanceMetadata;593 InstantiateRequest: InstantiateRequest;595 InstantiateRequest: InstantiateRequest;596 InstantiateRequestV1: InstantiateRequestV1;597 InstantiateRequestV2: InstantiateRequestV2;594 InstantiateReturnValue: InstantiateReturnValue;598 InstantiateReturnValue: InstantiateReturnValue;599 InstantiateReturnValueOk: InstantiateReturnValueOk;595 InstantiateReturnValueTo267: InstantiateReturnValueTo267;600 InstantiateReturnValueTo267: InstantiateReturnValueTo267;596 InstructionV2: InstructionV2;601 InstructionV2: InstructionV2;597 InstructionWeights: InstructionWeights;602 InstructionWeights: InstructionWeights;707 OffchainAccuracyCompact: OffchainAccuracyCompact;712 OffchainAccuracyCompact: OffchainAccuracyCompact;708 OffenceDetails: OffenceDetails;713 OffenceDetails: OffenceDetails;709 Offender: Offender;714 Offender: Offender;715 OpalRuntimeRuntime: OpalRuntimeRuntime;710 OpaqueCall: OpaqueCall;716 OpaqueCall: OpaqueCall;711 OpaqueMultiaddr: OpaqueMultiaddr;717 OpaqueMultiaddr: OpaqueMultiaddr;712 OpaqueNetworkState: OpaqueNetworkState;718 OpaqueNetworkState: OpaqueNetworkState;746 PalletBalancesReserveData: PalletBalancesReserveData;752 PalletBalancesReserveData: PalletBalancesReserveData;747 PalletCallMetadataLatest: PalletCallMetadataLatest;753 PalletCallMetadataLatest: PalletCallMetadataLatest;748 PalletCallMetadataV14: PalletCallMetadataV14;754 PalletCallMetadataV14: PalletCallMetadataV14;749 PalletCommonAccountBasicCrossAccountIdRepr: PalletCommonAccountBasicCrossAccountIdRepr;750 PalletCommonError: PalletCommonError;755 PalletCommonError: PalletCommonError;751 PalletCommonEvent: PalletCommonEvent;756 PalletCommonEvent: PalletCommonEvent;752 PalletConstantMetadataLatest: PalletConstantMetadataLatest;757 PalletConstantMetadataLatest: PalletConstantMetadataLatest;758 PalletEthereumEvent: PalletEthereumEvent;763 PalletEthereumEvent: PalletEthereumEvent;759 PalletEventMetadataLatest: PalletEventMetadataLatest;764 PalletEventMetadataLatest: PalletEventMetadataLatest;760 PalletEventMetadataV14: PalletEventMetadataV14;765 PalletEventMetadataV14: PalletEventMetadataV14;766 PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;761 PalletEvmCall: PalletEvmCall;767 PalletEvmCall: PalletEvmCall;762 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;768 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;763 PalletEvmContractHelpersError: PalletEvmContractHelpersError;769 PalletEvmContractHelpersError: PalletEvmContractHelpersError;1146 UnappliedSlash: UnappliedSlash;1152 UnappliedSlash: UnappliedSlash;1147 UnappliedSlashOther: UnappliedSlashOther;1153 UnappliedSlashOther: UnappliedSlashOther;1148 UncleEntryItem: UncleEntryItem;1154 UncleEntryItem: UncleEntryItem;1149 UniqueRuntimeRuntime: UniqueRuntimeRuntime;1150 UnknownTransaction: UnknownTransaction;1155 UnknownTransaction: UnknownTransaction;1151 UnlockChunk: UnlockChunk;1156 UnlockChunk: UnlockChunk;1152 UnrewardedRelayer: UnrewardedRelayer;1157 UnrewardedRelayer: UnrewardedRelayer;tests/src/interfaces/lookup.tsdiffbeforeafterboth1254 },1254 },1255 add_to_allow_list: {1255 add_to_allow_list: {1256 collectionId: 'u32',1256 collectionId: 'u32',1257 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1257 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1258 },1258 },1259 remove_from_allow_list: {1259 remove_from_allow_list: {1260 collectionId: 'u32',1260 collectionId: 'u32',1261 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1261 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1262 },1262 },1263 set_public_access_mode: {1263 set_public_access_mode: {1264 collectionId: 'u32',1264 collectionId: 'u32',1274 },1274 },1275 add_collection_admin: {1275 add_collection_admin: {1276 collectionId: 'u32',1276 collectionId: 'u32',1277 newAdminId: 'PalletCommonAccountBasicCrossAccountIdRepr',1277 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1278 },1278 },1279 remove_collection_admin: {1279 remove_collection_admin: {1280 collectionId: 'u32',1280 collectionId: 'u32',1281 accountId: 'PalletCommonAccountBasicCrossAccountIdRepr',1281 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1282 },1282 },1283 set_collection_sponsor: {1283 set_collection_sponsor: {1284 collectionId: 'u32',1284 collectionId: 'u32',1292 },1292 },1293 create_item: {1293 create_item: {1294 collectionId: 'u32',1294 collectionId: 'u32',1295 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1295 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1296 data: 'UpDataStructsCreateItemData',1296 data: 'UpDataStructsCreateItemData',1297 },1297 },1298 create_multiple_items: {1298 create_multiple_items: {1299 collectionId: 'u32',1299 collectionId: 'u32',1300 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1300 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1301 itemsData: 'Vec<UpDataStructsCreateItemData>',1301 itemsData: 'Vec<UpDataStructsCreateItemData>',1302 },1302 },1303 create_multiple_items_ex: {1303 create_multiple_items_ex: {1315 },1315 },1316 burn_from: {1316 burn_from: {1317 collectionId: 'u32',1317 collectionId: 'u32',1318 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1318 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1319 itemId: 'u32',1319 itemId: 'u32',1320 value: 'u128',1320 value: 'u128',1321 },1321 },1322 transfer: {1322 transfer: {1323 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1323 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1324 collectionId: 'u32',1324 collectionId: 'u32',1325 itemId: 'u32',1325 itemId: 'u32',1326 value: 'u128',1326 value: 'u128',1327 },1327 },1328 approve: {1328 approve: {1329 spender: 'PalletCommonAccountBasicCrossAccountIdRepr',1329 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',1330 collectionId: 'u32',1330 collectionId: 'u32',1331 itemId: 'u32',1331 itemId: 'u32',1332 amount: 'u128',1332 amount: 'u128',1333 },1333 },1334 transfer_from: {1334 transfer_from: {1335 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1335 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1336 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1336 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1337 collectionId: 'u32',1337 collectionId: 'u32',1338 itemId: 'u32',1338 itemId: 'u32',1339 value: 'u128',1339 value: 'u128',1437 UpDataStructsMetaUpdatePermission: {1437 UpDataStructsMetaUpdatePermission: {1438 _enum: ['ItemOwner', 'Admin', 'None']1438 _enum: ['ItemOwner', 'Admin', 'None']1439 },1439 },1440 /**1440 /**1441 * Lookup172: pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1441 * Lookup172: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1442 **/1442 **/1443 PalletCommonAccountBasicCrossAccountIdRepr: {1443 PalletEvmAccountBasicCrossAccountIdRepr: {1444 _enum: {1444 _enum: {1445 Substrate: 'AccountId32',1445 Substrate: 'AccountId32',1446 Ethereum: 'H160'1446 Ethereum: 'H160'1477 variableData: 'Bytes',1477 variableData: 'Bytes',1478 pieces: 'u128'1478 pieces: 'u128'1479 },1479 },1480 /**1480 /**1481 * Lookup180: up_data_structs::CreateItemExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1481 * Lookup180: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1482 **/1482 **/1483 UpDataStructsCreateItemExData: {1483 UpDataStructsCreateItemExData: {1484 _enum: {1484 _enum: {1485 NFT: 'Vec<UpDataStructsCreateNftExData>',1485 NFT: 'Vec<UpDataStructsCreateNftExData>',1486 Fungible: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>',1486 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1487 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1487 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1488 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1488 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1489 }1489 }1490 },1490 },1491 /**1491 /**1492 * Lookup182: up_data_structs::CreateNftExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1492 * Lookup182: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1493 **/1493 **/1494 UpDataStructsCreateNftExData: {1494 UpDataStructsCreateNftExData: {1495 constData: 'Bytes',1495 constData: 'Bytes',1496 variableData: 'Bytes',1496 variableData: 'Bytes',1497 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'1497 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1498 },1498 },1499 /**1499 /**1500 * Lookup189: up_data_structs::CreateRefungibleExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1500 * Lookup189: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1501 **/1501 **/1502 UpDataStructsCreateRefungibleExData: {1502 UpDataStructsCreateRefungibleExData: {1503 constData: 'Bytes',1503 constData: 'Bytes',1504 variableData: 'Bytes',1504 variableData: 'Bytes',1505 users: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>'1505 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'1506 },1506 },1507 /**1507 /**1508 * Lookup192: pallet_template_transaction_payment::Call<T>1508 * Lookup192: pallet_template_transaction_payment::Call<T>1755 RuntimeEnvironmentUpdated: 'Null'1755 RuntimeEnvironmentUpdated: 'Null'1756 }1756 }1757 },1757 },1758 /**1758 /**1759 * Lookup225: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>1759 * Lookup225: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>1760 **/1760 **/1761 FrameSystemEventRecord: {1761 FrameSystemEventRecord: {1762 phase: 'FrameSystemPhase',1762 phase: 'FrameSystemPhase',1763 event: 'Event',1763 event: 'Event',1901 OverweightServiced: '(u64,u64)'1901 OverweightServiced: '(u64,u64)'1902 }1902 }1903 },1903 },1904 /**1904 /**1905 * Lookup238: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1905 * Lookup238: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1906 **/1906 **/1907 PalletUniqueRawEvent: {1907 PalletUniqueRawEvent: {1908 _enum: {1908 _enum: {1909 CollectionSponsorRemoved: 'u32',1909 CollectionSponsorRemoved: 'u32',1910 CollectionAdminAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1910 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1911 CollectionOwnedChanged: '(u32,AccountId32)',1911 CollectionOwnedChanged: '(u32,AccountId32)',1912 CollectionSponsorSet: '(u32,AccountId32)',1912 CollectionSponsorSet: '(u32,AccountId32)',1913 ConstOnChainSchemaSet: 'u32',1913 ConstOnChainSchemaSet: 'u32',1914 SponsorshipConfirmed: '(u32,AccountId32)',1914 SponsorshipConfirmed: '(u32,AccountId32)',1915 CollectionAdminRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1915 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1916 AllowListAddressRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1916 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1917 AllowListAddressAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1917 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1918 CollectionLimitSet: 'u32',1918 CollectionLimitSet: 'u32',1919 MintPermissionSet: 'u32',1919 MintPermissionSet: 'u32',1920 OffchainSchemaSet: 'u32',1920 OffchainSchemaSet: 'u32',1930 _enum: {1930 _enum: {1931 CollectionCreated: '(u32,u8,AccountId32)',1931 CollectionCreated: '(u32,u8,AccountId32)',1932 CollectionDestroyed: 'u32',1932 CollectionDestroyed: 'u32',1933 ItemCreated: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1933 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',1934 ItemDestroyed: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1934 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',1935 Transfer: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1935 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',1936 Approved: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)'1936 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)'1937 }1937 }1938 },1938 },1939 /**1939 /**2240 * Lookup297: pallet_common::pallet::Error<T>2240 * Lookup297: pallet_common::pallet::Error<T>2241 **/2241 **/2242 PalletCommonError: {2242 PalletCommonError: {2243 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation']2243 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds']2244 },2244 },2245 /**2245 /**2246 * Lookup299: pallet_fungible::pallet::Error<T>2246 * Lookup299: pallet_fungible::pallet::Error<T>2261 PalletRefungibleError: {2261 PalletRefungibleError: {2262 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']2262 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']2263 },2263 },2264 /**2264 /**2265 * Lookup305: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2265 * Lookup305: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2266 **/2266 **/2267 PalletNonfungibleItemData: {2267 PalletNonfungibleItemData: {2268 constData: 'Bytes',2268 constData: 'Bytes',2269 variableData: 'Bytes',2269 variableData: 'Bytes',2270 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'2270 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2271 },2271 },2272 /**2272 /**2273 * Lookup306: pallet_nonfungible::pallet::Error<T>2273 * Lookup306: pallet_nonfungible::pallet::Error<T>2416 * Lookup344: frame_system::extensions::check_weight::CheckWeight<T>2416 * Lookup344: frame_system::extensions::check_weight::CheckWeight<T>2417 **/2417 **/2418 FrameSystemExtensionsCheckWeight: 'Null',2418 FrameSystemExtensionsCheckWeight: 'Null',2419 /**2419 /**2420 * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>2420 * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>2421 **/2421 **/2422 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2422 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2423 /**2423 /**2424 * Lookup346: unique_runtime::Runtime2424 * Lookup346: opal_runtime::Runtime2425 **/2425 **/2426 UniqueRuntimeRuntime: 'Null'2426 OpalRuntimeRuntime: 'Null'2427};2427};24282428tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1364 readonly isAddToAllowList: boolean;1364 readonly isAddToAllowList: boolean;1365 readonly asAddToAllowList: {1365 readonly asAddToAllowList: {1366 readonly collectionId: u32;1366 readonly collectionId: u32;1367 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1367 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1368 } & Struct;1368 } & Struct;1369 readonly isRemoveFromAllowList: boolean;1369 readonly isRemoveFromAllowList: boolean;1370 readonly asRemoveFromAllowList: {1370 readonly asRemoveFromAllowList: {1371 readonly collectionId: u32;1371 readonly collectionId: u32;1372 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1372 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1373 } & Struct;1373 } & Struct;1374 readonly isSetPublicAccessMode: boolean;1374 readonly isSetPublicAccessMode: boolean;1375 readonly asSetPublicAccessMode: {1375 readonly asSetPublicAccessMode: {1389 readonly isAddCollectionAdmin: boolean;1389 readonly isAddCollectionAdmin: boolean;1390 readonly asAddCollectionAdmin: {1390 readonly asAddCollectionAdmin: {1391 readonly collectionId: u32;1391 readonly collectionId: u32;1392 readonly newAdminId: PalletCommonAccountBasicCrossAccountIdRepr;1392 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1393 } & Struct;1393 } & Struct;1394 readonly isRemoveCollectionAdmin: boolean;1394 readonly isRemoveCollectionAdmin: boolean;1395 readonly asRemoveCollectionAdmin: {1395 readonly asRemoveCollectionAdmin: {1396 readonly collectionId: u32;1396 readonly collectionId: u32;1397 readonly accountId: PalletCommonAccountBasicCrossAccountIdRepr;1397 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1398 } & Struct;1398 } & Struct;1399 readonly isSetCollectionSponsor: boolean;1399 readonly isSetCollectionSponsor: boolean;1400 readonly asSetCollectionSponsor: {1400 readonly asSetCollectionSponsor: {1412 readonly isCreateItem: boolean;1412 readonly isCreateItem: boolean;1413 readonly asCreateItem: {1413 readonly asCreateItem: {1414 readonly collectionId: u32;1414 readonly collectionId: u32;1415 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1415 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1416 readonly data: UpDataStructsCreateItemData;1416 readonly data: UpDataStructsCreateItemData;1417 } & Struct;1417 } & Struct;1418 readonly isCreateMultipleItems: boolean;1418 readonly isCreateMultipleItems: boolean;1419 readonly asCreateMultipleItems: {1419 readonly asCreateMultipleItems: {1420 readonly collectionId: u32;1420 readonly collectionId: u32;1421 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1421 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1422 readonly itemsData: Vec<UpDataStructsCreateItemData>;1422 readonly itemsData: Vec<UpDataStructsCreateItemData>;1423 } & Struct;1423 } & Struct;1424 readonly isCreateMultipleItemsEx: boolean;1424 readonly isCreateMultipleItemsEx: boolean;1440 readonly isBurnFrom: boolean;1440 readonly isBurnFrom: boolean;1441 readonly asBurnFrom: {1441 readonly asBurnFrom: {1442 readonly collectionId: u32;1442 readonly collectionId: u32;1443 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1443 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1444 readonly itemId: u32;1444 readonly itemId: u32;1445 readonly value: u128;1445 readonly value: u128;1446 } & Struct;1446 } & Struct;1447 readonly isTransfer: boolean;1447 readonly isTransfer: boolean;1448 readonly asTransfer: {1448 readonly asTransfer: {1449 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1449 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1450 readonly collectionId: u32;1450 readonly collectionId: u32;1451 readonly itemId: u32;1451 readonly itemId: u32;1452 readonly value: u128;1452 readonly value: u128;1453 } & Struct;1453 } & Struct;1454 readonly isApprove: boolean;1454 readonly isApprove: boolean;1455 readonly asApprove: {1455 readonly asApprove: {1456 readonly spender: PalletCommonAccountBasicCrossAccountIdRepr;1456 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1457 readonly collectionId: u32;1457 readonly collectionId: u32;1458 readonly itemId: u32;1458 readonly itemId: u32;1459 readonly amount: u128;1459 readonly amount: u128;1460 } & Struct;1460 } & Struct;1461 readonly isTransferFrom: boolean;1461 readonly isTransferFrom: boolean;1462 readonly asTransferFrom: {1462 readonly asTransferFrom: {1463 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1463 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1464 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1464 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1465 readonly collectionId: u32;1465 readonly collectionId: u32;1466 readonly itemId: u32;1466 readonly itemId: u32;1467 readonly value: u128;1467 readonly value: u128;1573 readonly type: 'ItemOwner' | 'Admin' | 'None';1573 readonly type: 'ItemOwner' | 'Admin' | 'None';1574 }1574 }157515751576 /** @name PalletCommonAccountBasicCrossAccountIdRepr (172) */1576 /** @name PalletEvmAccountBasicCrossAccountIdRepr (172) */1577 export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {1577 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1578 readonly isSubstrate: boolean;1578 readonly isSubstrate: boolean;1579 readonly asSubstrate: AccountId32;1579 readonly asSubstrate: AccountId32;1580 readonly isEthereum: boolean;1580 readonly isEthereum: boolean;1616 readonly isNft: boolean;1616 readonly isNft: boolean;1617 readonly asNft: Vec<UpDataStructsCreateNftExData>;1617 readonly asNft: Vec<UpDataStructsCreateNftExData>;1618 readonly isFungible: boolean;1618 readonly isFungible: boolean;1619 readonly asFungible: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1619 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1620 readonly isRefungibleMultipleItems: boolean;1620 readonly isRefungibleMultipleItems: boolean;1621 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1621 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1622 readonly isRefungibleMultipleOwners: boolean;1622 readonly isRefungibleMultipleOwners: boolean;1628 export interface UpDataStructsCreateNftExData extends Struct {1628 export interface UpDataStructsCreateNftExData extends Struct {1629 readonly constData: Bytes;1629 readonly constData: Bytes;1630 readonly variableData: Bytes;1630 readonly variableData: Bytes;1631 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1631 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1632 }1632 }163316331634 /** @name UpDataStructsCreateRefungibleExData (189) */1634 /** @name UpDataStructsCreateRefungibleExData (189) */1635 export interface UpDataStructsCreateRefungibleExData extends Struct {1635 export interface UpDataStructsCreateRefungibleExData extends Struct {1636 readonly constData: Bytes;1636 readonly constData: Bytes;1637 readonly variableData: Bytes;1637 readonly variableData: Bytes;1638 readonly users: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1638 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1639 }1639 }164016401641 /** @name PalletTemplateTransactionPaymentCall (192) */1641 /** @name PalletTemplateTransactionPaymentCall (192) */2068 readonly isCollectionSponsorRemoved: boolean;2068 readonly isCollectionSponsorRemoved: boolean;2069 readonly asCollectionSponsorRemoved: u32;2069 readonly asCollectionSponsorRemoved: u32;2070 readonly isCollectionAdminAdded: boolean;2070 readonly isCollectionAdminAdded: boolean;2071 readonly asCollectionAdminAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2071 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2072 readonly isCollectionOwnedChanged: boolean;2072 readonly isCollectionOwnedChanged: boolean;2073 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2073 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2074 readonly isCollectionSponsorSet: boolean;2074 readonly isCollectionSponsorSet: boolean;2078 readonly isSponsorshipConfirmed: boolean;2078 readonly isSponsorshipConfirmed: boolean;2079 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2079 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2080 readonly isCollectionAdminRemoved: boolean;2080 readonly isCollectionAdminRemoved: boolean;2081 readonly asCollectionAdminRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2081 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2082 readonly isAllowListAddressRemoved: boolean;2082 readonly isAllowListAddressRemoved: boolean;2083 readonly asAllowListAddressRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2083 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2084 readonly isAllowListAddressAdded: boolean;2084 readonly isAllowListAddressAdded: boolean;2085 readonly asAllowListAddressAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2085 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2086 readonly isCollectionLimitSet: boolean;2086 readonly isCollectionLimitSet: boolean;2087 readonly asCollectionLimitSet: u32;2087 readonly asCollectionLimitSet: u32;2088 readonly isMintPermissionSet: boolean;2088 readonly isMintPermissionSet: boolean;2105 readonly isCollectionDestroyed: boolean;2105 readonly isCollectionDestroyed: boolean;2106 readonly asCollectionDestroyed: u32;2106 readonly asCollectionDestroyed: u32;2107 readonly isItemCreated: boolean;2107 readonly isItemCreated: boolean;2108 readonly asItemCreated: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2108 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2109 readonly isItemDestroyed: boolean;2109 readonly isItemDestroyed: boolean;2110 readonly asItemDestroyed: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2110 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2111 readonly isTransfer: boolean;2111 readonly isTransfer: boolean;2112 readonly asTransfer: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2112 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2113 readonly isApproved: boolean;2113 readonly isApproved: boolean;2114 readonly asApproved: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2114 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2115 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';2115 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';2116 }2116 }211721172462 readonly isCantApproveMoreThanOwned: boolean;2462 readonly isCantApproveMoreThanOwned: boolean;2463 readonly isAddressIsZero: boolean;2463 readonly isAddressIsZero: boolean;2464 readonly isUnsupportedOperation: boolean;2464 readonly isUnsupportedOperation: boolean;2465 readonly isNotSufficientFounds: boolean;2465 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';2466 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';2466 }2467 }246724682468 /** @name PalletFungibleError (299) */2469 /** @name PalletFungibleError (299) */2490 export interface PalletNonfungibleItemData extends Struct {2491 export interface PalletNonfungibleItemData extends Struct {2491 readonly constData: Bytes;2492 readonly constData: Bytes;2492 readonly variableData: Bytes;2493 readonly variableData: Bytes;2493 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;2494 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2494 }2495 }249524962496 /** @name PalletNonfungibleError (306) */2497 /** @name PalletNonfungibleError (306) */2643 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (345) */2644 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (345) */2644 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}2645 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}264526462646 /** @name UniqueRuntimeRuntime (346) */2647 /** @name OpalRuntimeRuntime (346) */2647 export type UniqueRuntimeRuntime = Null;2648 export type OpalRuntimeRuntime = Null;264826492649} // declare module2650} // declare module26502651tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth22 isOptional?: true;22 isOptional?: true;23};23};242425const CROSS_ACCOUNT_ID_TYPE = 'PalletCommonAccountBasicCrossAccountIdRepr';25const CROSS_ACCOUNT_ID_TYPE = 'PalletEvmAccountBasicCrossAccountIdRepr';262627const collectionParam = {name: 'collection', type: 'u32'};27const collectionParam = {name: 'collection', type: 'u32'};28const tokenParam = {name: 'tokenId', type: 'u32'};28const tokenParam = {name: 'tokenId', type: 'u32'};38export default {38export default {39 types,39 types,40 rpc: {40 rpc: {41 adminlist: fun('Get admin list', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),41 adminlist: fun('Get admin list', [collectionParam], 'Vec<PalletEvmAccountBasicCrossAccountIdRepr>'),42 allowlist: fun('Get allowlist', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),42 allowlist: fun('Get allowlist', [collectionParam], 'Vec<PalletEvmAccountBasicCrossAccountIdRepr>'),434344 accountTokens: fun('Get tokens owned by account', [collectionParam, crossAccountParam()], 'Vec<u32>'),44 accountTokens: fun('Get tokens owned by account', [collectionParam, crossAccountParam()], 'Vec<u32>'),45 collectionTokens: fun('Get tokens contained in collection', [collectionParam], 'Vec<u32>'),45 collectionTokens: fun('Get tokens contained in collection', [collectionParam], 'Vec<u32>'),tests/src/interfaces/unique/types.tsdiffbeforeafterboth654 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';654 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';655}655}656657/** @name OpalRuntimeRuntime */658export interface OpalRuntimeRuntime extends Null {}656659657/** @name OrmlVestingModuleCall */660/** @name OrmlVestingModuleCall */658export interface OrmlVestingModuleCall extends Enum {661export interface OrmlVestingModuleCall extends Enum {858 readonly amount: u128;861 readonly amount: u128;859}862}860861/** @name PalletCommonAccountBasicCrossAccountIdRepr */862export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {863 readonly isSubstrate: boolean;864 readonly asSubstrate: AccountId32;865 readonly isEthereum: boolean;866 readonly asEthereum: H160;867 readonly type: 'Substrate' | 'Ethereum';868}869863870/** @name PalletCommonError */864/** @name PalletCommonError */871export interface PalletCommonError extends Enum {865export interface PalletCommonError extends Enum {892 readonly isCantApproveMoreThanOwned: boolean;886 readonly isCantApproveMoreThanOwned: boolean;893 readonly isAddressIsZero: boolean;887 readonly isAddressIsZero: boolean;894 readonly isUnsupportedOperation: boolean;888 readonly isUnsupportedOperation: boolean;889 readonly isNotSufficientFounds: boolean;895 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';890 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';896}891}897892898/** @name PalletCommonEvent */893/** @name PalletCommonEvent */902 readonly isCollectionDestroyed: boolean;897 readonly isCollectionDestroyed: boolean;903 readonly asCollectionDestroyed: u32;898 readonly asCollectionDestroyed: u32;904 readonly isItemCreated: boolean;899 readonly isItemCreated: boolean;905 readonly asItemCreated: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;900 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;906 readonly isItemDestroyed: boolean;901 readonly isItemDestroyed: boolean;907 readonly asItemDestroyed: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;902 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;908 readonly isTransfer: boolean;903 readonly isTransfer: boolean;909 readonly asTransfer: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;904 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;910 readonly isApproved: boolean;905 readonly isApproved: boolean;911 readonly asApproved: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;906 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;912 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';907 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';913}908}914909935 readonly type: 'Executed';930 readonly type: 'Executed';936}931}932933/** @name PalletEvmAccountBasicCrossAccountIdRepr */934export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {935 readonly isSubstrate: boolean;936 readonly asSubstrate: AccountId32;937 readonly isEthereum: boolean;938 readonly asEthereum: H160;939 readonly type: 'Substrate' | 'Ethereum';940}937941938/** @name PalletEvmCall */942/** @name PalletEvmCall */939export interface PalletEvmCall extends Enum {943export interface PalletEvmCall extends Enum {1085export interface PalletNonfungibleItemData extends Struct {1089export interface PalletNonfungibleItemData extends Struct {1086 readonly constData: Bytes;1090 readonly constData: Bytes;1087 readonly variableData: Bytes;1091 readonly variableData: Bytes;1088 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1092 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1089}1093}109010941091/** @name PalletRefungibleError */1095/** @name PalletRefungibleError */1259 readonly isAddToAllowList: boolean;1263 readonly isAddToAllowList: boolean;1260 readonly asAddToAllowList: {1264 readonly asAddToAllowList: {1261 readonly collectionId: u32;1265 readonly collectionId: u32;1262 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1266 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1263 } & Struct;1267 } & Struct;1264 readonly isRemoveFromAllowList: boolean;1268 readonly isRemoveFromAllowList: boolean;1265 readonly asRemoveFromAllowList: {1269 readonly asRemoveFromAllowList: {1266 readonly collectionId: u32;1270 readonly collectionId: u32;1267 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1271 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1268 } & Struct;1272 } & Struct;1269 readonly isSetPublicAccessMode: boolean;1273 readonly isSetPublicAccessMode: boolean;1270 readonly asSetPublicAccessMode: {1274 readonly asSetPublicAccessMode: {1284 readonly isAddCollectionAdmin: boolean;1288 readonly isAddCollectionAdmin: boolean;1285 readonly asAddCollectionAdmin: {1289 readonly asAddCollectionAdmin: {1286 readonly collectionId: u32;1290 readonly collectionId: u32;1287 readonly newAdminId: PalletCommonAccountBasicCrossAccountIdRepr;1291 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1288 } & Struct;1292 } & Struct;1289 readonly isRemoveCollectionAdmin: boolean;1293 readonly isRemoveCollectionAdmin: boolean;1290 readonly asRemoveCollectionAdmin: {1294 readonly asRemoveCollectionAdmin: {1291 readonly collectionId: u32;1295 readonly collectionId: u32;1292 readonly accountId: PalletCommonAccountBasicCrossAccountIdRepr;1296 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1293 } & Struct;1297 } & Struct;1294 readonly isSetCollectionSponsor: boolean;1298 readonly isSetCollectionSponsor: boolean;1295 readonly asSetCollectionSponsor: {1299 readonly asSetCollectionSponsor: {1307 readonly isCreateItem: boolean;1311 readonly isCreateItem: boolean;1308 readonly asCreateItem: {1312 readonly asCreateItem: {1309 readonly collectionId: u32;1313 readonly collectionId: u32;1310 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1314 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1311 readonly data: UpDataStructsCreateItemData;1315 readonly data: UpDataStructsCreateItemData;1312 } & Struct;1316 } & Struct;1313 readonly isCreateMultipleItems: boolean;1317 readonly isCreateMultipleItems: boolean;1314 readonly asCreateMultipleItems: {1318 readonly asCreateMultipleItems: {1315 readonly collectionId: u32;1319 readonly collectionId: u32;1316 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1320 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1317 readonly itemsData: Vec<UpDataStructsCreateItemData>;1321 readonly itemsData: Vec<UpDataStructsCreateItemData>;1318 } & Struct;1322 } & Struct;1319 readonly isCreateMultipleItemsEx: boolean;1323 readonly isCreateMultipleItemsEx: boolean;1335 readonly isBurnFrom: boolean;1339 readonly isBurnFrom: boolean;1336 readonly asBurnFrom: {1340 readonly asBurnFrom: {1337 readonly collectionId: u32;1341 readonly collectionId: u32;1338 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1342 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1339 readonly itemId: u32;1343 readonly itemId: u32;1340 readonly value: u128;1344 readonly value: u128;1341 } & Struct;1345 } & Struct;1342 readonly isTransfer: boolean;1346 readonly isTransfer: boolean;1343 readonly asTransfer: {1347 readonly asTransfer: {1344 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1348 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1345 readonly collectionId: u32;1349 readonly collectionId: u32;1346 readonly itemId: u32;1350 readonly itemId: u32;1347 readonly value: u128;1351 readonly value: u128;1348 } & Struct;1352 } & Struct;1349 readonly isApprove: boolean;1353 readonly isApprove: boolean;1350 readonly asApprove: {1354 readonly asApprove: {1351 readonly spender: PalletCommonAccountBasicCrossAccountIdRepr;1355 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1352 readonly collectionId: u32;1356 readonly collectionId: u32;1353 readonly itemId: u32;1357 readonly itemId: u32;1354 readonly amount: u128;1358 readonly amount: u128;1355 } & Struct;1359 } & Struct;1356 readonly isTransferFrom: boolean;1360 readonly isTransferFrom: boolean;1357 readonly asTransferFrom: {1361 readonly asTransferFrom: {1358 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1362 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1359 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1363 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1360 readonly collectionId: u32;1364 readonly collectionId: u32;1361 readonly itemId: u32;1365 readonly itemId: u32;1362 readonly value: u128;1366 readonly value: u128;1413 readonly isCollectionSponsorRemoved: boolean;1417 readonly isCollectionSponsorRemoved: boolean;1414 readonly asCollectionSponsorRemoved: u32;1418 readonly asCollectionSponsorRemoved: u32;1415 readonly isCollectionAdminAdded: boolean;1419 readonly isCollectionAdminAdded: boolean;1416 readonly asCollectionAdminAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1420 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1417 readonly isCollectionOwnedChanged: boolean;1421 readonly isCollectionOwnedChanged: boolean;1418 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1422 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1419 readonly isCollectionSponsorSet: boolean;1423 readonly isCollectionSponsorSet: boolean;1423 readonly isSponsorshipConfirmed: boolean;1427 readonly isSponsorshipConfirmed: boolean;1424 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1428 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1425 readonly isCollectionAdminRemoved: boolean;1429 readonly isCollectionAdminRemoved: boolean;1426 readonly asCollectionAdminRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1430 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1427 readonly isAllowListAddressRemoved: boolean;1431 readonly isAllowListAddressRemoved: boolean;1428 readonly asAllowListAddressRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1432 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1429 readonly isAllowListAddressAdded: boolean;1433 readonly isAllowListAddressAdded: boolean;1430 readonly asAllowListAddressAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1434 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1431 readonly isCollectionLimitSet: boolean;1435 readonly isCollectionLimitSet: boolean;1432 readonly asCollectionLimitSet: u32;1436 readonly asCollectionLimitSet: u32;1433 readonly isMintPermissionSet: boolean;1437 readonly isMintPermissionSet: boolean;1722 readonly stateVersion: u8;1726 readonly stateVersion: u8;1723}1727}17241725/** @name UniqueRuntimeRuntime */1726export interface UniqueRuntimeRuntime extends Null {}172717281728/** @name UpDataStructsAccessMode */1729/** @name UpDataStructsAccessMode */1729export interface UpDataStructsAccessMode extends Enum {1730export interface UpDataStructsAccessMode extends Enum {1816 readonly isNft: boolean;1817 readonly isNft: boolean;1817 readonly asNft: Vec<UpDataStructsCreateNftExData>;1818 readonly asNft: Vec<UpDataStructsCreateNftExData>;1818 readonly isFungible: boolean;1819 readonly isFungible: boolean;1819 readonly asFungible: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr,u128>;1820 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;1820 readonly isRefungibleMultipleItems: boolean;1821 readonly isRefungibleMultipleItems: boolean;1821 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1822 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1822 readonly isRefungibleMultipleOwners: boolean;1823 readonly isRefungibleMultipleOwners: boolean;1834export interface UpDataStructsCreateNftExData extends Struct {1835export interface UpDataStructsCreateNftExData extends Struct {1835 readonly constData: Bytes;1836 readonly constData: Bytes;1836 readonly variableData: Bytes;1837 readonly variableData: Bytes;1837 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1838 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1838}1839}183918401840/** @name UpDataStructsCreateReFungibleData */1841/** @name UpDataStructsCreateReFungibleData */1848export interface UpDataStructsCreateRefungibleExData extends Struct {1849export interface UpDataStructsCreateRefungibleExData extends Struct {1849 readonly constData: Bytes;1850 readonly constData: Bytes;1850 readonly variableData: Bytes;1851 readonly variableData: Bytes;1851 readonly users: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1852 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1852}1853}185318541854/** @name UpDataStructsMetaUpdatePermission */1855/** @name UpDataStructsMetaUpdatePermission */tests/src/util/helpers.tsdiffbeforeafterboth839 return balance;839 return balance;840}840}841842export async function transferBalanceTo(api: ApiPromise, source: IKeyringPair, target: string, amount = 1000n * UNIQUE) {843 const tx = api.tx.balances.transfer(target, amount);844 const events = await submitTransactionAsync(source, tx);845 const result = getGenericResult(events);846 expect(result.success).to.be.true;847}841848842export async function849export async function843scheduleTransferExpectSuccess(850scheduleTransferExpectSuccess(