difftreelog
test replace references to __dirname/__filename with import.meta
in: master
121 files changed
tests/src/addCollectionAdmin.test.tsdiffbeforeafterboth--- a/tests/src/addCollectionAdmin.test.ts
+++ b/tests/src/addCollectionAdmin.test.ts
@@ -22,7 +22,7 @@
before(async () => {
await usingPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -45,7 +45,7 @@
before(async () => {
await usingPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/adminTransferAndBurn.test.tsdiffbeforeafterboth--- a/tests/src/adminTransferAndBurn.test.ts
+++ b/tests/src/adminTransferAndBurn.test.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
});
tests/src/allowLists.test.tsdiffbeforeafterboth--- a/tests/src/allowLists.test.ts
+++ b/tests/src/allowLists.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([30n, 10n, 10n], donor);
});
});
@@ -87,7 +87,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([30n, 10n, 10n], donor);
});
});
@@ -163,7 +163,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([30n, 10n, 10n], donor);
});
});
@@ -291,7 +291,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/approve.test.tsdiffbeforeafterboth--- a/tests/src/approve.test.ts
+++ b/tests/src/approve.test.ts
@@ -31,7 +31,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -110,7 +110,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -147,7 +147,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -190,7 +190,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -241,7 +241,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie, dave] = await helper.arrange.createAccounts([100n, 100n, 100n, 100n], donor);
});
});
@@ -271,7 +271,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -326,7 +326,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -362,7 +362,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -383,7 +383,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -498,7 +498,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
@@ -542,7 +542,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie, dave] = await helper.arrange.createAccounts([100n, 100n, 100n, 100n], donor);
});
});
@@ -608,7 +608,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie, dave] = await helper.arrange.createAccounts([100n, 100n, 100n, 100n], donor);
});
});
tests/src/benchmarks/mintFee/index.tsdiffbeforeafterboth--- a/tests/src/benchmarks/mintFee/index.ts
+++ b/tests/src/benchmarks/mintFee/index.ts
@@ -8,27 +8,30 @@
import {Contract} from 'web3-eth-contract';
import {createObjectCsvWriter} from 'csv-writer';
import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES} from '../utils/common';
+import {makeNames} from '../utils';
import {ContractImports} from '../../eth/util/playgrounds/types';
+const {dirname} = makeNames(import.meta.url);
+
export const CONTRACT_IMPORT: ContractImports[] = [
{
- fsPath: `${__dirname}/../../eth/api/CollectionHelpers.sol`,
+ fsPath: `${dirname}/../../eth/api/CollectionHelpers.sol`,
solPath: 'eth/api/CollectionHelpers.sol',
},
{
- fsPath: `${__dirname}/../../eth/api/ContractHelpers.sol`,
+ fsPath: `${dirname}/../../eth/api/ContractHelpers.sol`,
solPath: 'eth/api/ContractHelpers.sol',
},
{
- fsPath: `${__dirname}/../../eth/api/UniqueRefungibleToken.sol`,
+ fsPath: `${dirname}/../../eth/api/UniqueRefungibleToken.sol`,
solPath: 'eth/api/UniqueRefungibleToken.sol',
},
{
- fsPath: `${__dirname}/../../eth/api/UniqueRefungible.sol`,
+ fsPath: `${dirname}/../../eth/api/UniqueRefungible.sol`,
solPath: 'eth/api/UniqueRefungible.sol',
},
{
- fsPath: `${__dirname}/../../eth/api/UniqueNFT.sol`,
+ fsPath: `${dirname}/../../eth/api/UniqueNFT.sol`,
solPath: 'eth/api/UniqueNFT.sol',
},
];
@@ -65,7 +68,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
const CONTRACT_SOURCE = (
- await readFile(`${__dirname}/proxyContract.sol`)
+ await readFile(`${dirname}/proxyContract.sol`)
).toString();
const donor = await privateKey('//Alice'); // Seed from account with balance on this network
tests/src/benchmarks/opsFee/index.tsdiffbeforeafterboth--- a/tests/src/benchmarks/opsFee/index.ts
+++ b/tests/src/benchmarks/opsFee/index.ts
@@ -74,8 +74,8 @@
const helperContract = await helper.ethNativeContract.collectionHelpers(ethSigner);
let zeppelelinContract: Contract | null = null;
- const ZEPPELIN_OBJECT = '0x' + (await readFile(`${__dirname}/../utils/openZeppelin/ERC721/bin/ZeppelinContract.bin`)).toString();
- const ZEPPELIN_ABI = JSON.parse((await readFile(`${__dirname}/../utils/openZeppelin/ERC721/bin/ZeppelinContract.abi`)).toString());
+ const ZEPPELIN_OBJECT = '0x' + (await readFile(`${dirname}/../utils/openZeppelin/ERC721/bin/ZeppelinContract.bin`)).toString();
+ const ZEPPELIN_ABI = JSON.parse((await readFile(`${dirname}/../utils/openZeppelin/ERC721/bin/ZeppelinContract.abi`)).toString());
const evmContract = await helper.ethNativeContract.collection(
helper.ethAddress.fromCollectionId(collection.collectionId),
@@ -534,8 +534,8 @@
const helperContract = await helper.ethNativeContract.collectionHelpers(ethSigner);
let zeppelelinContract: Contract | null = null;
- const ZEPPELIN_OBJECT = '0x' + (await readFile(`${__dirname}/../utils/openZeppelin/ERC20/bin/ZeppelinContract.bin`)).toString();
- const ZEPPELIN_ABI = JSON.parse((await readFile(`${__dirname}/../utils/openZeppelin/ERC20/bin/ZeppelinContract.abi`)).toString());
+ const ZEPPELIN_OBJECT = '0x' + (await readFile(`${dirname}/../utils/openZeppelin/ERC20/bin/ZeppelinContract.bin`)).toString();
+ const ZEPPELIN_ABI = JSON.parse((await readFile(`${dirname}/../utils/openZeppelin/ERC20/bin/ZeppelinContract.abi`)).toString());
const evmContract = await helper.ethNativeContract.collection(
helper.ethAddress.fromCollectionId(collection.collectionId),
@@ -885,4 +885,4 @@
)));
return res;
-}
\ No newline at end of file
+}
tests/src/burnItem.test.tsdiffbeforeafterboth--- a/tests/src/burnItem.test.ts
+++ b/tests/src/burnItem.test.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
@@ -53,7 +53,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
@@ -86,7 +86,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/calibrateApply.tsdiffbeforeafterboth--- a/tests/src/calibrateApply.ts
+++ b/tests/src/calibrateApply.ts
@@ -1,6 +1,9 @@
import {readFile, writeFile} from 'fs/promises';
import path from 'path';
import usingApi from './.outdated/substrate/substrate-api';
+import {makeNames} from './util';
+
+const {dirname} = makeNames(import.meta.url);
const formatNumber = (num: string): string => num.split('').reverse().join('').replace(/([0-9]{3})/g, '$1_').split('').reverse().join('').replace(/^_/, '');
@@ -11,7 +14,7 @@
weightToFeeCoefficientOverride = (await api.query.configuration.weightToFeeCoefficientOverride() as any).toBigInt().toString();
minGasPriceOverride = (await api.query.configuration.minGasPriceOverride() as any).toBigInt().toString();
});
- const constantsFile = path.resolve(__dirname, '../../primitives/common/src/constants.rs');
+ const constantsFile = path.resolve(dirname, '../../primitives/common/src/constants.rs');
let constants = (await readFile(constantsFile)).toString();
let weight2feeFound = false;
tests/src/change-collection-owner.test.tsdiffbeforeafterboth--- a/tests/src/change-collection-owner.test.ts
+++ b/tests/src/change-collection-owner.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
@@ -46,7 +46,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -108,7 +108,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
tests/src/check-event/burnItemEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/burnItemEvent.test.ts
+++ b/tests/src/check-event/burnItemEvent.test.ts
@@ -24,7 +24,7 @@
let alice: IKeyringPair;
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/check-event/createCollectionEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/createCollectionEvent.test.ts
+++ b/tests/src/check-event/createCollectionEvent.test.ts
@@ -23,7 +23,7 @@
let alice: IKeyringPair;
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/check-event/createItemEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/createItemEvent.test.ts
+++ b/tests/src/check-event/createItemEvent.test.ts
@@ -23,7 +23,7 @@
let alice: IKeyringPair;
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/check-event/createMultipleItemsEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/createMultipleItemsEvent.test.ts
+++ b/tests/src/check-event/createMultipleItemsEvent.test.ts
@@ -23,7 +23,7 @@
let alice: IKeyringPair;
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/check-event/destroyCollectionEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/destroyCollectionEvent.test.ts
+++ b/tests/src/check-event/destroyCollectionEvent.test.ts
@@ -23,7 +23,7 @@
let alice: IKeyringPair;
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/check-event/transferEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/transferEvent.test.ts
+++ b/tests/src/check-event/transferEvent.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([10n, 10n], donor);
});
});
tests/src/check-event/transferFromEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/transferFromEvent.test.ts
+++ b/tests/src/check-event/transferFromEvent.test.ts
@@ -24,7 +24,7 @@
let bob: IKeyringPair;
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([10n, 10n], donor);
});
});
tests/src/confirmSponsorship.test.tsdiffbeforeafterboth--- a/tests/src/confirmSponsorship.test.ts
+++ b/tests/src/confirmSponsorship.test.ts
@@ -37,7 +37,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie, zeroBalance] = await helper.arrange.createAccounts([100n, 100n, 100n, 0n], donor);
});
});
@@ -192,7 +192,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie, ownerZeroBalance, senderZeroBalance] = await helper.arrange.createAccounts([100n, 100n, 100n, 0n, 0n], donor);
});
});
tests/src/createCollection.test.tsdiffbeforeafterboth--- a/tests/src/createCollection.test.ts
+++ b/tests/src/createCollection.test.ts
@@ -49,7 +49,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
@@ -110,7 +110,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
tests/src/createItem.test.tsdiffbeforeafterboth--- a/tests/src/createItem.test.ts
+++ b/tests/src/createItem.test.ts
@@ -50,7 +50,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
@@ -179,7 +179,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/createMultipleItems.test.tsdiffbeforeafterboth--- a/tests/src/createMultipleItems.test.ts
+++ b/tests/src/createMultipleItems.test.ts
@@ -22,7 +22,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
@@ -168,7 +168,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/createMultipleItemsEx.test.tsdiffbeforeafterboth--- a/tests/src/createMultipleItemsEx.test.ts
+++ b/tests/src/createMultipleItemsEx.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -264,7 +264,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
tests/src/creditFeesToTreasury.seqtest.tsdiffbeforeafterboth--- a/tests/src/creditFeesToTreasury.seqtest.ts
+++ b/tests/src/creditFeesToTreasury.seqtest.ts
@@ -50,7 +50,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/destroyCollection.test.tsdiffbeforeafterboth--- a/tests/src/destroyCollection.test.ts
+++ b/tests/src/destroyCollection.test.ts
@@ -22,7 +22,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
@@ -62,7 +62,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/enableDisableTransfer.test.tsdiffbeforeafterboth--- a/tests/src/enableDisableTransfer.test.ts
+++ b/tests/src/enableDisableTransfer.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
@@ -62,7 +62,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/eth/allowlist.test.tsdiffbeforeafterboth--- a/tests/src/eth/allowlist.test.ts
+++ b/tests/src/eth/allowlist.test.ts
@@ -23,7 +23,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -71,7 +71,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/base.test.tsdiffbeforeafterboth--- a/tests/src/eth/base.test.ts
+++ b/tests/src/eth/base.test.ts
@@ -23,7 +23,7 @@
before(async function () {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -88,7 +88,7 @@
before(async () => {
await usingEthPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
const [alice] = await helper.arrange.createAccounts([10n], donor);
({collectionId: simpleNftCollectionId} = await helper.nft.mintCollection(alice, {name: 'test', description: 'test', tokenPrefix: 'test'}));
minter = await helper.eth.createAccountWithBalance(donor);
tests/src/eth/collectionAdmin.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionAdmin.test.ts
+++ b/tests/src/eth/collectionAdmin.test.ts
@@ -36,7 +36,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -227,7 +227,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -374,7 +374,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -416,7 +416,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/collectionHelperAddress.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionHelperAddress.test.ts
+++ b/tests/src/eth/collectionHelperAddress.test.ts
@@ -23,7 +23,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/collectionLimits.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionLimits.test.ts
+++ b/tests/src/eth/collectionLimits.test.ts
@@ -9,7 +9,7 @@
before(async () => {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -80,7 +80,7 @@
before(async () => {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/collectionProperties.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionProperties.test.ts
+++ b/tests/src/eth/collectionProperties.test.ts
@@ -25,7 +25,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await _helper.arrange.createAccounts([50n], donor);
});
});
@@ -139,7 +139,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionSponsoring.test.ts
+++ b/tests/src/eth/collectionSponsoring.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
nominal = helper.balance.getOneTokenNominal();
});
@@ -327,7 +327,7 @@
before(async function() {
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
nominal = helper.balance.getOneTokenNominal();
});
@@ -739,7 +739,7 @@
before(async function() {
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/contractSponsoring.test.ts
+++ b/tests/src/eth/contractSponsoring.test.ts
@@ -26,7 +26,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
nominal = helper.balance.getOneTokenNominal();
});
});
@@ -444,7 +444,7 @@
before(async () => {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
tests/src/eth/createFTCollection.seqtest.tsdiffbeforeafterboth--- a/tests/src/eth/createFTCollection.seqtest.ts
+++ b/tests/src/eth/createFTCollection.seqtest.ts
@@ -26,7 +26,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.Fungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/createFTCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createFTCollection.test.ts
+++ b/tests/src/eth/createFTCollection.test.ts
@@ -28,7 +28,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.Fungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -136,7 +136,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.Fungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
nominal = helper.balance.getOneTokenNominal();
});
});
tests/src/eth/createNFTCollection.seqtest.tsdiffbeforeafterboth--- a/tests/src/eth/createNFTCollection.seqtest.ts
+++ b/tests/src/eth/createNFTCollection.seqtest.ts
@@ -23,7 +23,7 @@
before(async function () {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/createNFTCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createNFTCollection.test.ts
+++ b/tests/src/eth/createNFTCollection.test.ts
@@ -26,7 +26,7 @@
before(async function () {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -149,7 +149,7 @@
before(async function () {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
nominal = helper.balance.getOneTokenNominal();
});
});
tests/src/eth/createRFTCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createRFTCollection.test.ts
+++ b/tests/src/eth/createRFTCollection.test.ts
@@ -27,7 +27,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -160,7 +160,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
nominal = helper.balance.getOneTokenNominal();
});
});
tests/src/eth/crossTransfer.test.tsdiffbeforeafterboth--- a/tests/src/eth/crossTransfer.test.ts
+++ b/tests/src/eth/crossTransfer.test.ts
@@ -26,7 +26,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
});
@@ -69,7 +69,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
});
tests/src/eth/destroyCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/destroyCollection.test.ts
+++ b/tests/src/eth/destroyCollection.test.ts
@@ -28,7 +28,7 @@
before(async function() {
await usingEthPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/ethFeesAreCorrect.test.tsdiffbeforeafterboth--- a/tests/src/eth/ethFeesAreCorrect.test.ts
+++ b/tests/src/eth/ethFeesAreCorrect.test.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[minter, alice] = await helper.arrange.createAccounts([100n, 200n], donor);
});
});
tests/src/eth/events.test.tsdiffbeforeafterboth--- a/tests/src/eth/events.test.ts
+++ b/tests/src/eth/events.test.ts
@@ -25,7 +25,7 @@
before(async function () {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -499,7 +499,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- const _donor = await privateKey({filename: __filename});
+ const _donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/evmCoder.test.tsdiffbeforeafterboth--- a/tests/src/eth/evmCoder.test.ts
+++ b/tests/src/eth/evmCoder.test.ts
@@ -59,7 +59,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth--- a/tests/src/eth/fractionalizer/fractionalizer.test.ts
+++ b/tests/src/eth/fractionalizer/fractionalizer.test.ts
@@ -24,19 +24,20 @@
import {usingEthPlaygrounds, expect, itEth, EthUniqueHelper} from '../util';
import {CompiledContract} from '../util/playgrounds/types';
-import {requirePalletsOrSkip, Pallets} from '../../util';
+import {requirePalletsOrSkip, Pallets, makeNames} from '../../util';
+const {dirname} = makeNames(import.meta.url);
let compiledFractionalizer: CompiledContract;
const compileContract = async (helper: EthUniqueHelper): Promise<CompiledContract> => {
if(!compiledFractionalizer) {
- compiledFractionalizer = await helper.ethContract.compile('Fractionalizer', (await readFile(`${__dirname}/Fractionalizer.sol`)).toString(), [
- {solPath: 'api/CollectionHelpers.sol', fsPath: `${__dirname}/../api/CollectionHelpers.sol`},
- {solPath: 'api/ContractHelpers.sol', fsPath: `${__dirname}/../api/ContractHelpers.sol`},
- {solPath: 'api/UniqueRefungibleToken.sol', fsPath: `${__dirname}/../api/UniqueRefungibleToken.sol`},
- {solPath: 'api/UniqueRefungible.sol', fsPath: `${__dirname}/../api/UniqueRefungible.sol`},
- {solPath: 'api/UniqueNFT.sol', fsPath: `${__dirname}/../api/UniqueNFT.sol`},
+ compiledFractionalizer = await helper.ethContract.compile('Fractionalizer', (await readFile(`${dirname}/Fractionalizer.sol`)).toString(), [
+ {solPath: 'api/CollectionHelpers.sol', fsPath: `${dirname}/../api/CollectionHelpers.sol`},
+ {solPath: 'api/ContractHelpers.sol', fsPath: `${dirname}/../api/ContractHelpers.sol`},
+ {solPath: 'api/UniqueRefungibleToken.sol', fsPath: `${dirname}/../api/UniqueRefungibleToken.sol`},
+ {solPath: 'api/UniqueRefungible.sol', fsPath: `${dirname}/../api/UniqueRefungible.sol`},
+ {solPath: 'api/UniqueNFT.sol', fsPath: `${dirname}/../api/UniqueNFT.sol`},
]);
}
return compiledFractionalizer;
@@ -85,7 +86,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper: EthUniqueHelper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -226,7 +227,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper: EthUniqueHelper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/fungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/fungible.test.ts
+++ b/tests/src/eth/fungible.test.ts
@@ -24,7 +24,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, owner] = await helper.arrange.createAccounts([30n, 20n], donor);
});
});
@@ -435,7 +435,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([20n], donor);
});
});
@@ -489,7 +489,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, owner] = await helper.arrange.createAccounts([20n, 20n], donor);
});
});
tests/src/eth/getCode.test.tsdiffbeforeafterboth--- a/tests/src/eth/getCode.test.ts
+++ b/tests/src/eth/getCode.test.ts
@@ -23,7 +23,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/helpersSmoke.test.tsdiffbeforeafterboth--- a/tests/src/eth/helpersSmoke.test.ts
+++ b/tests/src/eth/helpersSmoke.test.ts
@@ -22,7 +22,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/marketplace/marketplace.test.tsdiffbeforeafterboth--- a/tests/src/eth/marketplace/marketplace.test.ts
+++ b/tests/src/eth/marketplace/marketplace.test.ts
@@ -17,6 +17,9 @@
import {IKeyringPair} from '@polkadot/types/types';
import {readFile} from 'fs/promises';
import {itEth, usingEthPlaygrounds, expect, SponsoringMode} from '../util';
+import {makeNames} from '../../util';
+
+const {dirname} = makeNames(import.meta.url);
describe('Matcher contract usage', () => {
const PRICE = 2000n;
@@ -29,7 +32,7 @@
before(async () => {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -47,7 +50,7 @@
itEth('With UNQ', async ({helper}) => {
const matcherOwner = await helper.eth.createAccountWithBalance(donor);
- const matcher = await helper.ethContract.deployByCode(matcherOwner, 'MarketPlace', (await readFile(`${__dirname}/MarketPlace.sol`)).toString(), [{solPath: 'api/UniqueNFT.sol', fsPath: `${__dirname}/../api/UniqueNFT.sol`}], helper.eth.DEFAULT_GAS * 2);
+ const matcher = await helper.ethContract.deployByCode(matcherOwner, 'MarketPlace', (await readFile(`${dirname}/MarketPlace.sol`)).toString(), [{solPath: 'api/UniqueNFT.sol', fsPath: `${dirname}/../api/UniqueNFT.sol`}], helper.eth.DEFAULT_GAS * 2);
const sponsor = await helper.eth.createAccountWithBalance(donor);
const helpers = await helper.ethNativeContract.contractHelpers(matcherOwner);
@@ -99,7 +102,7 @@
itEth('With escrow', async ({helper}) => {
const matcherOwner = await helper.eth.createAccountWithBalance(donor);
- const matcher = await helper.ethContract.deployByCode(matcherOwner, 'MarketPlace', (await readFile(`${__dirname}/MarketPlace.sol`)).toString(), [{solPath: 'api/UniqueNFT.sol', fsPath: `${__dirname}/../api/UniqueNFT.sol`}], helper.eth.DEFAULT_GAS * 2);
+ const matcher = await helper.ethContract.deployByCode(matcherOwner, 'MarketPlace', (await readFile(`${dirname}/MarketPlace.sol`)).toString(), [{solPath: 'api/UniqueNFT.sol', fsPath: `${dirname}/../api/UniqueNFT.sol`}], helper.eth.DEFAULT_GAS * 2);
const sponsor = await helper.eth.createAccountWithBalance(donor);
const escrow = await helper.eth.createAccountWithBalance(donor);
@@ -163,7 +166,7 @@
itEth('Sell tokens from substrate user via EVM contract', async ({helper}) => {
const matcherOwner = await helper.eth.createAccountWithBalance(donor);
- const matcher = await helper.ethContract.deployByCode(matcherOwner, 'MarketPlace', (await readFile(`${__dirname}/MarketPlace.sol`)).toString(), [{solPath: 'api/UniqueNFT.sol', fsPath: `${__dirname}/../api/UniqueNFT.sol`}], helper.eth.DEFAULT_GAS * 2);
+ const matcher = await helper.ethContract.deployByCode(matcherOwner, 'MarketPlace', (await readFile(`${dirname}/MarketPlace.sol`)).toString(), [{solPath: 'api/UniqueNFT.sol', fsPath: `${dirname}/../api/UniqueNFT.sol`}], helper.eth.DEFAULT_GAS * 2);
await helper.eth.transferBalanceFromSubstrate(donor, matcher.options.address);
tests/src/eth/nesting/nest.test.tsdiffbeforeafterboth--- a/tests/src/eth/nesting/nest.test.ts
+++ b/tests/src/eth/nesting/nest.test.ts
@@ -21,7 +21,7 @@
before(async function() {
await usingEthPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/nonFungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/nonFungible.test.ts
+++ b/tests/src/eth/nonFungible.test.ts
@@ -24,7 +24,7 @@
before(async function() {
await usingEthPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -83,7 +83,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[minter, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -660,7 +660,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
});
@@ -747,7 +747,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([20n], donor);
});
});
@@ -880,7 +880,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([20n], donor);
});
});
@@ -943,7 +943,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[minter, alice] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/eth/payable.test.tsdiffbeforeafterboth--- a/tests/src/eth/payable.test.ts
+++ b/tests/src/eth/payable.test.ts
@@ -17,13 +17,16 @@
import {IKeyringPair} from '@polkadot/types/types';
import {itEth, expect, usingEthPlaygrounds, EthUniqueHelper} from './util';
+import {makeNames} from '../util';
+
+const {dirname} = makeNames(import.meta.url);
describe('EVM payable contracts', () => {
let donor: IKeyringPair;
before(async function() {
await usingEthPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -110,7 +113,7 @@
before(async function() {
await usingEthPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -257,11 +260,11 @@
[
{
solPath: 'api/CollectionHelpers.sol',
- fsPath: `${__dirname}/api/CollectionHelpers.sol`,
+ fsPath: `${dirname}/api/CollectionHelpers.sol`,
},
{
solPath: 'api/UniqueNFT.sol',
- fsPath: `${__dirname}/api/UniqueNFT.sol`,
+ fsPath: `${dirname}/api/UniqueNFT.sol`,
},
],
);
tests/src/eth/precompile.test.tsdiffbeforeafterboth--- a/tests/src/eth/precompile.test.ts
+++ b/tests/src/eth/precompile.test.ts
@@ -23,7 +23,7 @@
before(async function() {
await usingEthPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -109,4 +109,4 @@
expect(await sr25519Сontract.methods.verifyValid().call({from: owner})).to.be.true;
expect(await sr25519Сontract.methods.verifyInvalid().call({from: owner})).to.be.false;
});
-});
\ No newline at end of file
+});
tests/src/eth/proxy/fungibleProxy.test.tsdiffbeforeafterboth--- a/tests/src/eth/proxy/fungibleProxy.test.ts
+++ b/tests/src/eth/proxy/fungibleProxy.test.ts
@@ -18,16 +18,19 @@
import {readFile} from 'fs/promises';
import {IKeyringPair} from '@polkadot/types/types';
import {EthUniqueHelper, itEth, usingEthPlaygrounds} from '../util';
+import {makeNames} from '../../util';
+
+const {dirname} = makeNames(import.meta.url);
async function proxyWrap(helper: EthUniqueHelper, wrapped: any, donor: IKeyringPair) {
// Proxy owner has no special privilegies, we don't need to reuse them
const owner = await helper.eth.createAccountWithBalance(donor);
const web3 = helper.getWeb3();
- const proxyContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/UniqueFungibleProxy.abi`)).toString()), undefined, {
+ const proxyContract = new web3.eth.Contract(JSON.parse((await readFile(`${dirname}/UniqueFungibleProxy.abi`)).toString()), undefined, {
from: owner,
gas: helper.eth.DEFAULT_GAS,
});
- const proxy = await proxyContract.deploy({data: (await readFile(`${__dirname}/UniqueFungibleProxy.bin`)).toString(), arguments: [wrapped.options.address]}).send({from: owner});
+ const proxy = await proxyContract.deploy({data: (await readFile(`${dirname}/UniqueFungibleProxy.bin`)).toString(), arguments: [wrapped.options.address]}).send({from: owner});
return proxy;
}
@@ -37,7 +40,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
@@ -76,7 +79,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/eth/proxy/nonFungibleProxy.test.tsdiffbeforeafterboth--- a/tests/src/eth/proxy/nonFungibleProxy.test.ts
+++ b/tests/src/eth/proxy/nonFungibleProxy.test.ts
@@ -17,17 +17,20 @@
import {readFile} from 'fs/promises';
import {IKeyringPair} from '@polkadot/types/types';
import {EthUniqueHelper, itEth, usingEthPlaygrounds, expect} from '../util';
+import {makeNames} from '../../util';
+
+const {dirname} = makeNames(import.meta.url);
async function proxyWrap(helper: EthUniqueHelper, wrapped: any, donor: IKeyringPair) {
// Proxy owner has no special privilegies, we don't need to reuse them
const owner = await helper.eth.createAccountWithBalance(donor);
const web3 = helper.getWeb3();
- const proxyContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/UniqueNFTProxy.abi`)).toString()), undefined, {
+ const proxyContract = new web3.eth.Contract(JSON.parse((await readFile(`${dirname}/UniqueNFTProxy.abi`)).toString()), undefined, {
from: owner,
gas: helper.eth.DEFAULT_GAS,
});
- const proxy = await proxyContract.deploy({data: (await readFile(`${__dirname}/UniqueNFTProxy.bin`)).toString(), arguments: [wrapped.options.address]}).send({from: owner});
+ const proxy = await proxyContract.deploy({data: (await readFile(`${dirname}/UniqueNFTProxy.bin`)).toString(), arguments: [wrapped.options.address]}).send({from: owner});
return proxy;
}
@@ -37,7 +40,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
@@ -94,7 +97,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/eth/proxyContract.test.tsdiffbeforeafterboth--- a/tests/src/eth/proxyContract.test.ts
+++ b/tests/src/eth/proxyContract.test.ts
@@ -23,7 +23,7 @@
before(async function() {
await usingEthPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -149,4 +149,4 @@
}
}`);
}
-});
\ No newline at end of file
+});
tests/src/eth/reFungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/reFungible.test.ts
+++ b/tests/src/eth/reFungible.test.ts
@@ -29,7 +29,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[minter, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -593,7 +593,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -634,7 +634,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([20n], donor);
});
});
@@ -699,7 +699,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[minter, alice] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/eth/reFungibleToken.test.tsdiffbeforeafterboth--- a/tests/src/eth/reFungibleToken.test.ts
+++ b/tests/src/eth/reFungibleToken.test.ts
@@ -27,7 +27,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -86,7 +86,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([50n], donor);
});
});
@@ -476,7 +476,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([50n], donor);
});
});
@@ -531,7 +531,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([50n], donor);
});
});
@@ -625,7 +625,7 @@
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/scheduling.test.tsdiffbeforeafterboth--- a/tests/src/eth/scheduling.test.ts
+++ b/tests/src/eth/scheduling.test.ts
@@ -27,7 +27,7 @@
});
itSchedEth.ifWithPallets('Successfully schedules and periodically executes an EVM contract', [Pallets.Scheduler], async (scheduleKind, {helper, privateKey}) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
const [alice] = await helper.arrange.createAccounts([1000n], donor);
const scheduledId = scheduleKind == 'named' ? helper.arrange.makeScheduledId() : undefined;
tests/src/eth/sponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/sponsoring.test.ts
+++ b/tests/src/eth/sponsoring.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (_helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/tokenProperties.test.tsdiffbeforeafterboth--- a/tests/src/eth/tokenProperties.test.ts
+++ b/tests/src/eth/tokenProperties.test.ts
@@ -28,7 +28,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
@@ -347,7 +347,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
tests/src/eth/tokens/callMethodsERC20.test.tsdiffbeforeafterboth--- a/tests/src/eth/tokens/callMethodsERC20.test.ts
+++ b/tests/src/eth/tokens/callMethodsERC20.test.ts
@@ -28,7 +28,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, testCase.requiredPallets);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
@@ -88,4 +88,4 @@
expect(decimals).to.equal(testCase.mode === 'rft' ? '0' : '18');
});
});
-});
\ No newline at end of file
+});
tests/src/eth/tokens/callMethodsERC721.test.tsdiffbeforeafterboth--- a/tests/src/eth/tokens/callMethodsERC721.test.ts
+++ b/tests/src/eth/tokens/callMethodsERC721.test.ts
@@ -24,7 +24,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/eth/tokens/minting.test.tsdiffbeforeafterboth--- a/tests/src/eth/tokens/minting.test.ts
+++ b/tests/src/eth/tokens/minting.test.ts
@@ -25,7 +25,7 @@
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([30n, 20n], donor);
});
});
@@ -164,4 +164,4 @@
// expect(tokenUri).to.be.equal(`https://offchain-service.local/token-info/${nextTokenId}`);
});
});
-});
\ No newline at end of file
+});
tests/src/eth/util/index.tsdiffbeforeafterboth--- a/tests/src/eth/util/index.ts
+++ b/tests/src/eth/util/index.ts
@@ -8,7 +8,7 @@
import {EthUniqueHelper} from './playgrounds/unique.dev';
import {SilentLogger, SilentConsole} from '../../util/playgrounds/unique.dev';
-import {SchedKind} from '../../util';
+import {SchedKind, makeNames} from '../../util';
export {EthUniqueHelper} from './playgrounds/unique.dev';
@@ -27,7 +27,9 @@
Generous = 2,
}
-export const usingEthPlaygrounds = async (code: (helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair>) => Promise<void>) => {
+type PrivateKeyFn = (seed: string | {filename?: string, url?: string}) => Promise<IKeyringPair>;
+
+export const usingEthPlaygrounds = async (code: (helper: EthUniqueHelper, privateKey: PrivateKeyFn) => Promise<void>) => {
const silentConsole = new SilentConsole();
silentConsole.enable();
@@ -37,19 +39,25 @@
await helper.connect(config.substrateUrl);
await helper.connectWeb3(config.substrateUrl);
const ss58Format = helper.chain.getChainProperties().ss58Format;
- const privateKey = async (seed: string | {filename: string}) => {
+ const privateKey: PrivateKeyFn = async (seed) => {
if (typeof seed === 'string') {
return helper.util.fromSeed(seed, ss58Format);
}
- else {
- const actualSeed = getTestSeed(seed.filename);
- let account = helper.util.fromSeed(actualSeed, ss58Format);
- if (await helper.balance.getSubstrate(account.address) < MINIMUM_DONOR_FUND) {
- console.warn(`${path.basename(seed.filename)}: Not enough funds present on the filename account. Using the default one as the donor instead.`);
- account = helper.util.fromSeed('//Alice', ss58Format);
- }
- return account;
+ if (seed.url) {
+ const {filename} = makeNames(seed.url);
+ seed.filename = filename;
+ } else if (seed.filename) {
+ // Pass
+ } else {
+ throw new Error('no url nor filename set');
+ }
+ const actualSeed = getTestSeed(seed.filename);
+ let account = helper.util.fromSeed(actualSeed, ss58Format);
+ if (await helper.balance.getSubstrate(account.address) < MINIMUM_DONOR_FUND) {
+ console.warn(`${path.basename(seed.filename)}: Not enough funds present on the filename account. Using the default one as the donor instead.`);
+ account = helper.util.fromSeed('//Alice', ss58Format);
}
+ return account;
};
await code(helper, privateKey);
}
@@ -59,7 +67,7 @@
}
};
-export function itEth(name: string, cb: (apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any, opts: { only?: boolean, skip?: boolean, requiredPallets?: string[] } = {}) {
+export function itEth(name: string, cb: (apis: { helper: EthUniqueHelper, privateKey: PrivateKeyFn }) => any, opts: { only?: boolean, skip?: boolean, requiredPallets?: string[] } = {}) {
(opts.only ? it.only :
opts.skip ? it.skip : it)(name, async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
@@ -72,20 +80,20 @@
});
}
-export function itEthIfWithPallet(name: string, required: string[], cb: (apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any, opts: { only?: boolean, skip?: boolean, requiredPallets?: string[] } = {}) {
+export function itEthIfWithPallet(name: string, required: string[], cb: (apis: { helper: EthUniqueHelper, privateKey: PrivateKeyFn }) => any, opts: { only?: boolean, skip?: boolean, requiredPallets?: string[] } = {}) {
return itEth(name, cb, {requiredPallets: required, ...opts});
}
-itEth.only = (name: string, cb: (apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any) => itEth(name, cb, {only: true});
+itEth.only = (name: string, cb: (apis: { helper: EthUniqueHelper, privateKey: PrivateKeyFn }) => any) => itEth(name, cb, {only: true});
itEth.skip = (name: string, cb: (apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any) => itEth(name, cb, {skip: true});
-itEthIfWithPallet.only = (name: string, required: string[], cb: (apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any) => itEthIfWithPallet(name, required, cb, {only: true});
-itEthIfWithPallet.skip = (name: string, required: string[], cb: (apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any) => itEthIfWithPallet(name, required, cb, {skip: true});
+itEthIfWithPallet.only = (name: string, required: string[], cb: (apis: { helper: EthUniqueHelper, privateKey: PrivateKeyFn }) => any) => itEthIfWithPallet(name, required, cb, {only: true});
+itEthIfWithPallet.skip = (name: string, required: string[], cb: (apis: { helper: EthUniqueHelper, privateKey: PrivateKeyFn }) => any) => itEthIfWithPallet(name, required, cb, {skip: true});
itEth.ifWithPallets = itEthIfWithPallet;
export function itSchedEth(
name: string,
- cb: (schedKind: SchedKind, apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any,
+ cb: (schedKind: SchedKind, apis: { helper: EthUniqueHelper, privateKey: PrivateKeyFn }) => any,
opts: { only?: boolean, skip?: boolean, requiredPallets?: string[] } = {},
) {
itEth(name + ' (anonymous scheduling)', (apis) => cb('anon', apis), opts);
@@ -95,6 +103,6 @@
itSchedEth.skip = (name: string, cb: (schedKind: SchedKind, apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any) => itSchedEth(name, cb, {skip: true});
itSchedEth.ifWithPallets = itSchedIfWithPallets;
-function itSchedIfWithPallets(name: string, required: string[], cb: (schedKind: SchedKind, apis: { helper: EthUniqueHelper, privateKey: (seed: string | {filename: string}) => Promise<IKeyringPair> }) => any, opts: { only?: boolean, skip?: boolean, requiredPallets?: string[] } = {}) {
+function itSchedIfWithPallets(name: string, required: string[], cb: (schedKind: SchedKind, apis: { helper: EthUniqueHelper, privateKey: PrivateKeyFn }) => any, opts: { only?: boolean, skip?: boolean, requiredPallets?: string[] } = {}) {
return itSchedEth(name, cb, {requiredPallets: required, ...opts});
}
tests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/eth/util/playgrounds/unique.dev.ts
+++ b/tests/src/eth/util/playgrounds/unique.dev.ts
@@ -11,7 +11,7 @@
import {WebsocketProvider} from 'web3-core';
import {Contract} from 'web3-eth-contract';
-import * as solc from 'solc';
+import solc from 'solc';
import {evmToAddress} from '@polkadot/util-crypto';
import {IKeyringPair} from '@polkadot/types/types';
@@ -21,16 +21,16 @@
import {ContractImports, CompiledContract, CrossAddress, NormalizedEvent, EthProperty} from './types';
// Native contracts ABI
-import collectionHelpersAbi from '../../abi/collectionHelpers.json';
-import fungibleAbi from '../../abi/fungible.json';
-import fungibleDeprecatedAbi from '../../abi/fungibleDeprecated.json';
-import nonFungibleAbi from '../../abi/nonFungible.json';
-import nonFungibleDeprecatedAbi from '../../abi/nonFungibleDeprecated.json';
-import refungibleAbi from '../../abi/reFungible.json';
-import refungibleDeprecatedAbi from '../../abi/reFungibleDeprecated.json';
-import refungibleTokenAbi from '../../abi/reFungibleToken.json';
-import refungibleTokenDeprecatedAbi from '../../abi/reFungibleTokenDeprecated.json';
-import contractHelpersAbi from '../../abi/contractHelpers.json';
+import collectionHelpersAbi from '../../abi/collectionHelpers.json' assert {type: 'json'};
+import fungibleAbi from '../../abi/fungible.json' assert {type: 'json'};
+import fungibleDeprecatedAbi from '../../abi/fungibleDeprecated.json' assert {type: 'json'};
+import nonFungibleAbi from '../../abi/nonFungible.json' assert {type: 'json'};
+import nonFungibleDeprecatedAbi from '../../abi/nonFungibleDeprecated.json' assert {type: 'json'};
+import refungibleAbi from '../../abi/reFungible.json' assert {type: 'json'};
+import refungibleDeprecatedAbi from '../../abi/reFungibleDeprecated.json' assert {type: 'json'};
+import refungibleTokenAbi from '../../abi/reFungibleToken.json' assert {type: 'json'};
+import refungibleTokenDeprecatedAbi from '../../abi/reFungibleTokenDeprecated.json' assert {type: 'json'};
+import contractHelpersAbi from '../../abi/contractHelpers.json' assert {type: 'json'};
import {ICrossAccountId, TEthereumAccount} from '../../../util/playgrounds/types';
import {TCollectionMode} from '../../../util/playgrounds/types';
tests/src/fungible.test.tsdiffbeforeafterboth--- a/tests/src/fungible.test.ts
+++ b/tests/src/fungible.test.ts
@@ -26,7 +26,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 10n], donor);
});
});
@@ -156,7 +156,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.Fungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
tests/src/generateEnv.tsdiffbeforeafterboth--- a/tests/src/generateEnv.ts
+++ b/tests/src/generateEnv.ts
@@ -1,6 +1,9 @@
import {ApiPromise, WsProvider} from '@polkadot/api';
import {readFile} from 'fs/promises';
import {join} from 'path';
+import {makeNames} from './util';
+
+const {dirname} = makeNames(import.meta.url);
async function fetchVersion(chain: string): Promise<string> {
const api = await ApiPromise.create({provider: new WsProvider(chain)});
@@ -29,7 +32,7 @@
}
(async () => {
- let env = (await readFile(join(__dirname, '../../.env'))).toString();
+ let env = (await readFile(join(dirname, '../../.env'))).toString();
await Promise.all([
ff('wss://rpc.polkadot.io/', /^(.)(..)(.)$/, 'release-v0.$1.$2').then(v => env = setVar(env, 'POLKADOT_MAINNET_BRANCH', v)),
ff('wss://statemint-rpc.polkadot.io/', /^(....)$/, 'release-parachains-v$1').then(v => env = setVar(env, 'STATEMINT_BUILD_BRANCH', v)),
tests/src/getPropertiesRpc.test.tsdiffbeforeafterboth--- a/tests/src/getPropertiesRpc.test.ts
+++ b/tests/src/getPropertiesRpc.test.ts
@@ -63,7 +63,7 @@
before(async () => {
await usingPlaygrounds(async (_, privateKey) => {
- alice = await privateKey({filename: __filename});
+ alice = await privateKey({url: import.meta.url});
});
});
tests/src/interfaces/appPromotion/index.tsdiffbeforeafterboth--- a/tests/src/interfaces/appPromotion/index.ts
+++ b/tests/src/interfaces/appPromotion/index.ts
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './types';
+export * from './types.js';
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -9,7 +9,7 @@
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
-import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, UpDataStructsCollectionLimits, XcmV1MultiLocation } from '@polkadot/types/lookup';
+import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, XcmV3MultiLocation } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -36,18 +36,6 @@
* In relay blocks.
**/
recalculationInterval: u32 & AugmentedConst<ApiType>;
- /**
- * Generic const
- **/
- [key: string]: Codec;
- };
- authorship: {
- /**
- * The number of blocks back we should accept uncles.
- * This means that we will deal with uncle-parents that are
- * `UncleGenerations + 1` before `now`.
- **/
- uncleGenerations: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -358,11 +346,11 @@
* The actually weight for an XCM message is `T::BaseXcmWeight +
* T::Weigher::weight(&msg)`.
**/
- baseXcmWeight: u64 & AugmentedConst<ApiType>;
+ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* Self chain location.
**/
- selfLocation: XcmV1MultiLocation & AugmentedConst<ApiType>;
+ selfLocation: XcmV3MultiLocation & AugmentedConst<ApiType>;
/**
* Generic const
**/
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -45,40 +45,6 @@
**/
[key: string]: AugmentedError<ApiType>;
};
- authorship: {
- /**
- * The uncle is genesis.
- **/
- GenesisUncle: AugmentedError<ApiType>;
- /**
- * The uncle parent not in the chain.
- **/
- InvalidUncleParent: AugmentedError<ApiType>;
- /**
- * The uncle isn't recent enough to be included.
- **/
- OldUncle: AugmentedError<ApiType>;
- /**
- * The uncle is too high in chain.
- **/
- TooHighUncle: AugmentedError<ApiType>;
- /**
- * Too many uncles.
- **/
- TooManyUncles: AugmentedError<ApiType>;
- /**
- * The uncle is already included.
- **/
- UncleAlreadyIncluded: AugmentedError<ApiType>;
- /**
- * Uncles already set in the block.
- **/
- UnclesAlreadySet: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
balances: {
/**
* Beneficiary account must pre-exist
@@ -664,6 +630,10 @@
};
polkadotXcm: {
/**
+ * The given account is not an identifiable sovereign account for any location.
+ **/
+ AccountNotSovereign: AugmentedError<ApiType>;
+ /**
* The location is invalid since it already has a subscription from us.
**/
AlreadySubscribed: AugmentedError<ApiType>;
@@ -689,14 +659,34 @@
**/
Empty: AugmentedError<ApiType>;
/**
+ * The operation required fees to be paid which the initiator could not meet.
+ **/
+ FeesNotMet: AugmentedError<ApiType>;
+ /**
* The message execution fails the filter.
**/
Filtered: AugmentedError<ApiType>;
/**
+ * The unlock operation cannot succeed because there are still users of the lock.
+ **/
+ InUse: AugmentedError<ApiType>;
+ /**
+ * Invalid asset for the operation.
+ **/
+ InvalidAsset: AugmentedError<ApiType>;
+ /**
* Origin is invalid for sending.
**/
InvalidOrigin: AugmentedError<ApiType>;
/**
+ * A remote lock with the corresponding data could not be found.
+ **/
+ LockNotFound: AugmentedError<ApiType>;
+ /**
+ * The owner does not own (all) of the asset that they wish to do the operation on.
+ **/
+ LowBalance: AugmentedError<ApiType>;
+ /**
* The referenced subscription could not be found.
**/
NoSubscription: AugmentedError<ApiType>;
@@ -710,6 +700,10 @@
**/
TooManyAssets: AugmentedError<ApiType>;
/**
+ * The asset owner has too many locks on the asset.
+ **/
+ TooManyLocks: AugmentedError<ApiType>;
+ /**
* The desired destination was unreachable, generally because there is a no way of routing
* to it.
**/
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -8,7 +8,7 @@
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
+import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -220,7 +220,7 @@
* Downward message executed with the given outcome.
* \[ id, outcome \]
**/
- ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;
+ ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV3TraitsOutcome]>;
/**
* Downward message is invalid XCM.
* \[ id \]
@@ -240,12 +240,16 @@
/**
* Downward message executed with the given outcome.
**/
- ExecutedDownward: AugmentedEvent<ApiType, [messageId: U8aFixed, outcome: XcmV2TraitsOutcome], { messageId: U8aFixed, outcome: XcmV2TraitsOutcome }>;
+ ExecutedDownward: AugmentedEvent<ApiType, [messageId: U8aFixed, outcome: XcmV3TraitsOutcome], { messageId: U8aFixed, outcome: XcmV3TraitsOutcome }>;
/**
* Downward message is invalid XCM.
**/
InvalidFormat: AugmentedEvent<ApiType, [messageId: U8aFixed], { messageId: U8aFixed }>;
/**
+ * The maximum number of downward messages was.
+ **/
+ MaxMessagesExhausted: AugmentedEvent<ApiType, [messageId: U8aFixed], { messageId: U8aFixed }>;
+ /**
* Downward message is overweight and was placed in the overweight queue.
**/
OverweightEnqueued: AugmentedEvent<ApiType, [messageId: U8aFixed, overweightIndex: u64, requiredWeight: SpWeightsWeightV2Weight], { messageId: U8aFixed, overweightIndex: u64, requiredWeight: SpWeightsWeightV2Weight }>;
@@ -342,11 +346,11 @@
/**
* The foreign asset registered.
**/
- ForeignAssetRegistered: AugmentedEvent<ApiType, [assetId: u32, assetAddress: XcmV1MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata], { assetId: u32, assetAddress: XcmV1MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata }>;
+ ForeignAssetRegistered: AugmentedEvent<ApiType, [assetId: u32, assetAddress: XcmV3MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata], { assetId: u32, assetAddress: XcmV3MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata }>;
/**
* The foreign asset updated.
**/
- ForeignAssetUpdated: AugmentedEvent<ApiType, [assetId: u32, assetAddress: XcmV1MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata], { assetId: u32, assetAddress: XcmV1MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata }>;
+ ForeignAssetUpdated: AugmentedEvent<ApiType, [assetId: u32, assetAddress: XcmV3MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata], { assetId: u32, assetAddress: XcmV3MultiLocation, metadata: PalletForeignAssetsModuleAssetMetadata }>;
/**
* Generic event
**/
@@ -433,6 +437,10 @@
**/
UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256], { codeHash: H256 }>;
/**
+ * An upward message was sent to the relay chain.
+ **/
+ UpwardMessageSent: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>], { messageHash: Option<U8aFixed> }>;
+ /**
* The validation function was applied as of the contained relay chain block number.
**/
ValidationFunctionApplied: AugmentedEvent<ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 }>;
@@ -455,27 +463,53 @@
*
* \[ hash, origin, assets \]
**/
- AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
+ AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
/**
* Some assets have been placed in an asset trap.
*
* \[ hash, origin, assets \]
**/
- AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
+ AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
/**
* Execution of an XCM message was attempted.
*
* \[ outcome \]
**/
- Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;
+ Attempted: AugmentedEvent<ApiType, [XcmV3TraitsOutcome]>;
/**
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
+ *
+ * \[ paying location, fees \]
+ **/
+ FeesPaid: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
+ /**
+ * Expected query response has been received but the querier location of the response does
+ * not match the expected. The query remains registered for a later, valid, response to
+ * be received and acted upon.
+ *
+ * \[ origin location, id, expected querier, maybe actual querier \]
+ **/
+ InvalidQuerier: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3MultiLocation, Option<XcmV3MultiLocation>]>;
+ /**
+ * Expected query response has been received but the expected querier location placed in
+ * storage by this runtime previously cannot be decoded. The query remains registered.
+ *
+ * This is unexpected (since a location placed in storage in a previously executing
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
+ * valid response will be dropped. Manual governance intervention is probably going to be
+ * needed.
+ *
+ * \[ origin location, id \]
+ **/
+ InvalidQuerierVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
+ /**
* Expected query response has been received but the origin location of the response does
* not match that expected. The query remains registered for a later, valid, response to
* be received and acted upon.
*
* \[ origin location, id, expected location \]
**/
- InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
+ InvalidResponder: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, Option<XcmV3MultiLocation>]>;
/**
* Expected query response has been received but the expected origin location placed in
* storage by this runtime previously cannot be decoded. The query remains registered.
@@ -487,7 +521,7 @@
*
* \[ origin location, id \]
**/
- InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
+ InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
/**
* Query response has been received and query is removed. The registered notification has
* been dispatched and executed successfully.
@@ -531,14 +565,14 @@
*
* \[ location, query ID, error \]
**/
- NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;
+ NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3TraitsError]>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
*
* \[ id, response \]
**/
- ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;
+ ResponseReady: AugmentedEvent<ApiType, [u64, XcmV3Response]>;
/**
* Received query response has been read and removed.
*
@@ -550,14 +584,14 @@
*
* \[ origin, destination, message \]
**/
- Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
+ Sent: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]>;
/**
* The supported version of a location has been changed. This might be through an
* automatic notification or a manual intervention.
*
* \[ location, XCM version \]
**/
- SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
+ SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32]>;
/**
* Query response received which does not match a registered query. This may be because a
* matching query was never registered, it may be because it is a duplicate response, or
@@ -565,13 +599,34 @@
*
* \[ origin location, id \]
**/
- UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
+ UnexpectedResponse: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
/**
* An XCM version change notification message has been attempted to be sent.
*
- * \[ destination, result \]
+ * The cost of sending it (borne by the chain) is included.
+ *
+ * \[ destination, result, cost \]
+ **/
+ VersionChangeNotified: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]>;
+ /**
+ * We have requested that a remote chain sends us XCM version change notifications.
+ *
+ * \[ destination location, cost \]
+ **/
+ VersionNotifyRequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
+ /**
+ * A remote has requested XCM version change notification from us and we have honored it.
+ * A version information message is sent to them and its cost is included.
+ *
+ * \[ destination location, cost \]
+ **/
+ VersionNotifyStarted: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
+ /**
+ * We have requested that a remote chain stops sending us XCM version change notifications.
+ *
+ * \[ destination location, cost \]
**/
- VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
+ VersionNotifyUnrequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
/**
* Generic event
**/
@@ -692,6 +747,10 @@
**/
Endowed: AugmentedEvent<ApiType, [currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128], { currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128 }>;
/**
+ * Some free balance was locked.
+ **/
+ Locked: AugmentedEvent<ApiType, [currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128], { currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128 }>;
+ /**
* Some locked funds were unlocked
**/
LockRemoved: AugmentedEvent<ApiType, [lockId: U8aFixed, currencyId: PalletForeignAssetsAssetIds, who: AccountId32], { lockId: U8aFixed, currencyId: PalletForeignAssetsAssetIds, who: AccountId32 }>;
@@ -721,6 +780,10 @@
**/
Transfer: AugmentedEvent<ApiType, [currencyId: PalletForeignAssetsAssetIds, from: AccountId32, to: AccountId32, amount: u128], { currencyId: PalletForeignAssetsAssetIds, from: AccountId32, to: AccountId32, amount: u128 }>;
/**
+ * Some locked balance was freed.
+ **/
+ Unlocked: AugmentedEvent<ApiType, [currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128], { currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128 }>;
+ /**
* Some balance was unreserved (moved from reserved to free).
**/
Unreserved: AugmentedEvent<ApiType, [currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128], { currencyId: PalletForeignAssetsAssetIds, who: AccountId32, amount: u128 }>;
@@ -808,15 +871,15 @@
/**
* Bad XCM format used.
**/
- BadFormat: AugmentedEvent<ApiType, [messageHash: Option<H256>], { messageHash: Option<H256> }>;
+ BadFormat: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>], { messageHash: Option<U8aFixed> }>;
/**
* Bad XCM version used.
**/
- BadVersion: AugmentedEvent<ApiType, [messageHash: Option<H256>], { messageHash: Option<H256> }>;
+ BadVersion: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>], { messageHash: Option<U8aFixed> }>;
/**
* Some XCM failed.
**/
- Fail: AugmentedEvent<ApiType, [messageHash: Option<H256>, error: XcmV2TraitsError, weight: SpWeightsWeightV2Weight], { messageHash: Option<H256>, error: XcmV2TraitsError, weight: SpWeightsWeightV2Weight }>;
+ Fail: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>, error: XcmV3TraitsError, weight: SpWeightsWeightV2Weight], { messageHash: Option<U8aFixed>, error: XcmV3TraitsError, weight: SpWeightsWeightV2Weight }>;
/**
* An XCM exceeded the individual message weight budget.
**/
@@ -828,15 +891,11 @@
/**
* Some XCM was executed ok.
**/
- Success: AugmentedEvent<ApiType, [messageHash: Option<H256>, weight: SpWeightsWeightV2Weight], { messageHash: Option<H256>, weight: SpWeightsWeightV2Weight }>;
- /**
- * An upward message was sent to the relay chain.
- **/
- UpwardMessageSent: AugmentedEvent<ApiType, [messageHash: Option<H256>], { messageHash: Option<H256> }>;
+ Success: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>, weight: SpWeightsWeightV2Weight], { messageHash: Option<U8aFixed>, weight: SpWeightsWeightV2Weight }>;
/**
* An HRMP message was sent to a sibling parachain.
**/
- XcmpMessageSent: AugmentedEvent<ApiType, [messageHash: Option<H256>], { messageHash: Option<H256> }>;
+ XcmpMessageSent: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>], { messageHash: Option<U8aFixed> }>;
/**
* Generic event
**/
@@ -846,7 +905,7 @@
/**
* Transferred `MultiAsset` with fee.
**/
- TransferredMultiAssets: AugmentedEvent<ApiType, [sender: AccountId32, assets: XcmV1MultiassetMultiAssets, fee: XcmV1MultiAsset, dest: XcmV1MultiLocation], { sender: AccountId32, assets: XcmV1MultiassetMultiAssets, fee: XcmV1MultiAsset, dest: XcmV1MultiLocation }>;
+ TransferredMultiAssets: AugmentedEvent<ApiType, [sender: AccountId32, assets: XcmV3MultiassetMultiAssets, fee: XcmV3MultiAsset, dest: XcmV3MultiLocation], { sender: AccountId32, assets: XcmV3MultiassetMultiAssets, fee: XcmV3MultiAsset, dest: XcmV3MultiLocation }>;
/**
* Generic event
**/
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -10,7 +10,7 @@
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV3MultiLocation, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -61,19 +61,41 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
- authorship: {
+ aura: {
+ /**
+ * The current authority set.
+ **/
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The current slot of this block.
+ *
+ * This will be set in `on_initialize`.
+ **/
+ currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
+ auraExt: {
/**
- * Author of current block.
+ * Serves as cache for the authorities.
+ *
+ * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session,
+ * but we require the old authorities to verify the seal when validating a PoV. This will always
+ * be updated to the latest AuRa authorities in `on_finalize`.
**/
- author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Whether uncles were already set in this block.
+ * Generic query
**/
- didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
+ authorship: {
/**
- * Uncles
+ * Author of current block.
**/
- uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -177,7 +199,7 @@
/**
* Storage of token property permissions of a collection.
**/
- collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsPropertiesMapPropertyPermission>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Storage of the count of created collections. Essentially contains the last collection ID.
**/
@@ -206,7 +228,6 @@
collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
- xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -218,6 +239,10 @@
**/
configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;
/**
+ * Counter for the related counted storage map
+ **/
+ counterForOverweight: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
* The overweight messages.
**/
overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
@@ -269,12 +294,6 @@
* Should be empty between transactions
**/
currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- evmCoderSubstrate: {
/**
* Generic query
**/
@@ -375,13 +394,13 @@
*
* ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>
**/
- foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV1MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV3MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The storages for CurrencyIds.
*
* LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>
**/
- locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV1MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV1MultiLocation]>;
+ locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV3MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV3MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV3MultiLocation]>;
/**
* Next available Foreign AssetId ID.
*
@@ -679,24 +698,69 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
- preimage: {
- preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
+ polkadotXcm: {
+ /**
+ * The existing asset traps.
+ *
+ * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of
+ * times this pair has been trapped (usually just 1 if it exists at all).
+ **/
+ assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
+ /**
+ * The current migration's stage, if any.
+ **/
+ currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Fungible assets which we know are locked on this chain.
+ **/
+ lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedMultiLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * The ongoing queries.
+ **/
+ queries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletXcmQueryStatus>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
+ /**
+ * The latest available query index.
+ **/
+ queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Fungible assets which we know are locked on a remote chain.
+ **/
+ remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
+ /**
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
+ * then the destinations whose XCM version is unknown are considered unreachable.
+ **/
+ safeXcmVersion: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The Latest versions that we know various locations support.
+ **/
+ supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
+ /**
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
+ * which is used as a prioritization.
+ **/
+ versionDiscoveryQueue: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[XcmVersionedMultiLocation, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * All locations that we have requested version notifications from.
+ **/
+ versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
/**
- * The request status of a given hash.
+ * The target locations that are subscribed to our version changes, as well as the most recent
+ * of our versions we informed them of.
**/
- statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
+ versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
- randomnessCollectiveFlip: {
+ preimage: {
+ preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
/**
- * Series of block headers from the last 81 blocks that acts as random seed material. This
- * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of
- * the oldest hash.
+ * The request status of a given hash.
**/
- randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
+ statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* Generic query
**/
@@ -779,12 +843,6 @@
* The current set of validators.
**/
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- structure: {
/**
* Generic query
**/
@@ -1028,6 +1086,10 @@
};
xcmpQueue: {
/**
+ * Counter for the related counted storage map
+ **/
+ counterForOverweight: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
* Inbound aggregate XCMP messages. It can only be one per ParaId/block.
**/
inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -22,7 +22,7 @@
import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
-import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { MmrHash, MmrLeafBatchProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
@@ -294,7 +294,7 @@
/**
* Returns the number of transactions sent from given address at given time (block number).
**/
- getTransactionCount: AugmentedRpc<(hash: H256 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<U256>>;
+ getTransactionCount: AugmentedRpc<(address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<U256>>;
/**
* Returns transaction receipt by transaction hash.
**/
@@ -392,13 +392,21 @@
};
mmr: {
/**
- * Generate MMR proof for the given leaf indices.
+ * Generate MMR proof for the given block numbers.
+ **/
+ generateProof: AugmentedRpc<(blockNumbers: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], bestKnownBlockNumber?: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafBatchProof>>;
+ /**
+ * Get the MMR root hash for the current best block.
+ **/
+ root: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MmrHash>>;
+ /**
+ * Verify an MMR proof
**/
- generateBatchProof: AugmentedRpc<(leafIndices: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
+ verifyProof: AugmentedRpc<(proof: MmrLeafBatchProof | { blockHash?: any; leaves?: any; proof?: any } | string | Uint8Array) => Observable<bool>>;
/**
- * Generate MMR proof for given leaf index.
+ * Verify an MMR proof statelessly given an mmr_root
**/
- generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafBatchProof>>;
+ verifyProofStateless: AugmentedRpc<(root: MmrHash | string | Uint8Array, proof: MmrLeafBatchProof | { blockHash?: any; leaves?: any; proof?: any } | string | Uint8Array) => Observable<bool>>;
};
net: {
/**
tests/src/interfaces/augment-api-runtime.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-runtime.ts
+++ b/tests/src/interfaces/augment-api-runtime.ts
@@ -17,7 +17,7 @@
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
-import type { AccountId, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration } from '@polkadot/types/interfaces/runtime';
+import type { AccountId, Balance, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime';
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system';
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
@@ -229,7 +229,7 @@
**/
[key: string]: DecoratedCallBase<ApiType>;
};
- /** 0x37c8bb1350a9a2a8/2 */
+ /** 0x37c8bb1350a9a2a8/3 */
transactionPaymentApi: {
/**
* The transaction fee details
@@ -240,6 +240,14 @@
**/
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
/**
+ * Query the output of the current LengthToFee given some input
+ **/
+ queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
+ /**
+ * Query the output of the current WeightToFee given some input
+ **/
+ queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => Observable<Balance>>;
+ /**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -10,7 +10,7 @@
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -130,24 +130,13 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
- authorship: {
- /**
- * Provide a set of uncles.
- **/
- setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;
- /**
- * Generic tx
- **/
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
- };
balances: {
/**
* Exactly as `transfer`, except the origin must be root and the source account may be
* specified.
- * # <weight>
+ * ## Complexity
* - Same as transfer, but additional read and write because the source account is not
* assumed to be in the overlay.
- * # </weight>
**/
forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
/**
@@ -176,7 +165,7 @@
*
* The dispatch origin for this call must be `Signed` by the transactor.
*
- * # <weight>
+ * ## Complexity
* - Dependent on arguments but not critical, given proper implementations for input config
* types. See related functions below.
* - It contains a limited number of reads and writes internally and no complex
@@ -190,9 +179,6 @@
* - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.
* - `transfer_keep_alive` works the same way as `transfer`, but has an additional check
* that the transfer will not kill the origin account.
- * ---------------------------------
- * - Origin account is already in memory, so no DB operations for them.
- * # </weight>
**/
transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
/**
@@ -210,9 +196,8 @@
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
* of the funds the account has, causing the sender account to be killed (false), or
* transfer everything except at least the existential deposit, which will guarantee to
- * keep the sender account alive (true). # <weight>
+ * keep the sender account alive (true). ## Complexity
* - O(1). Just like transfer, but reading the user's transferable balance first.
- * #</weight>
**/
transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
/**
@@ -290,7 +275,6 @@
setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;
setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
- setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;
/**
* Generic tx
**/
@@ -305,19 +289,8 @@
dmpQueue: {
/**
* Service a single overweight message.
- *
- * - `origin`: Must pass `ExecuteOverweightOrigin`.
- * - `index`: The index of the overweight message to service.
- * - `weight_limit`: The amount of weight that message execution may take.
- *
- * Errors:
- * - `Unknown`: Message of `index` is unknown.
- * - `OverLimit`: Message execution may use greater than `weight_limit`.
- *
- * Events:
- * - `OverweightServiced`: On success.
**/
- serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;
+ serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, SpWeightsWeightV2Weight]>;
/**
* Generic tx
**/
@@ -356,6 +329,23 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ evmCoderSubstrate: {
+ emptyCall: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
+ evmContractHelpers: {
+ /**
+ * Migrate contract to use `SponsoringMode` storage instead of `SelfSponsoring`
+ **/
+ migrateFromSelfSponsoring: AugmentedSubmittable<(addresses: Vec<H160> | (H160 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H160>]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
evmMigration: {
/**
* Start contract migration, inserts contract stub at target address,
@@ -391,8 +381,8 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
foreignAssets: {
- registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
- updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
+ registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
+ updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
/**
* Generic tx
**/
@@ -725,6 +715,12 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ parachainInfo: {
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
parachainSystem: {
authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
@@ -760,7 +756,7 @@
* NOTE: A successful return to this does *not* imply that the `msg` was executed successfully
* to completion; only that *some* of it was executed.
**/
- execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;
+ execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, SpWeightsWeightV2Weight]>;
/**
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
* version a destination can accept is unknown).
@@ -775,7 +771,7 @@
* - `origin`: Must be Root.
* - `location`: The location to which we should subscribe for XCM version notifications.
**/
- forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
+ forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
/**
* Require that a particular destination should no longer notify us regarding any XCM
* version changes.
@@ -784,7 +780,7 @@
* - `location`: The location to which we are currently subscribed for XCM version
* notifications which we no longer desire.
**/
- forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
+ forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
/**
* Extoll that a particular destination can be communicated with through a particular
* version of XCM.
@@ -793,7 +789,7 @@
* - `location`: The destination that is being described.
* - `xcm_version`: The latest version of XCM that `location` supports.
**/
- forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;
+ forceXcmVersion: AugmentedSubmittable<(location: XcmV3MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV3MultiLocation, u32]>;
/**
* Transfer some assets from the local chain to the sovereign account of a destination
* chain and forward a notification XCM.
@@ -814,7 +810,7 @@
* fees.
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
- limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;
+ limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>;
/**
* Teleport some assets from the local chain to some destination chain.
*
@@ -834,7 +830,7 @@
* fees.
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
- limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;
+ limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>;
/**
* Transfer some assets from the local chain to the sovereign account of a destination
* chain and forward a notification XCM.
@@ -853,8 +849,8 @@
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
**/
- reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
- send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;
+ reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
+ send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, message: XcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;
/**
* Teleport some assets from the local chain to some destination chain.
*
@@ -872,7 +868,7 @@
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
**/
- teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
+ teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
/**
* Generic tx
**/
@@ -924,13 +920,9 @@
* means being a controller account) or directly convertible into a validator ID (which
* usually means being a stash account).
*
- * # <weight>
- * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length
- * of `T::Keys::key_ids()` which is fixed.
- * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
- * - DbWrites: `NextKeys`, `origin account`
- * - DbWrites per key id: `KeyOwner`
- * # </weight>
+ * ## Complexity
+ * - `O(1)` in number of key types. Actual cost depends on the number of length of
+ * `T::Keys::key_ids()` which is fixed.
**/
purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
@@ -940,14 +932,9 @@
*
* The dispatch origin of this function must be signed.
*
- * # <weight>
- * - Complexity: `O(1)`. Actual cost depends on the number of length of
- * `T::Keys::key_ids()` which is fixed.
- * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
- * - DbWrites: `origin account`, `NextKeys`
- * - DbReads per key id: `KeyOwner`
- * - DbWrites per key id: `KeyOwner`
- * # </weight>
+ * ## Complexity
+ * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
+ * fixed.
**/
setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;
/**
@@ -968,11 +955,8 @@
*
* The dispatch origin for this call must be _Signed_.
*
- * # <weight>
+ * ## Complexity
* - O(1).
- * - Limited storage reads.
- * - One DB change.
- * # </weight>
**/
setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
@@ -980,12 +964,8 @@
*
* The dispatch origin for this call must be _Signed_.
*
- * # <weight>
+ * ## Complexity
* - O(1).
- * - Limited storage reads.
- * - One DB write (event).
- * - Weight of derivative `call` execution + 10,000.
- * # </weight>
**/
sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
/**
@@ -994,12 +974,8 @@
*
* The dispatch origin for this call must be _Signed_.
*
- * # <weight>
+ * ## Complexity
* - O(1).
- * - Limited storage reads.
- * - One DB write (event).
- * - Weight of derivative `call` execution + 10,000.
- * # </weight>
**/
sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
/**
@@ -1009,10 +985,8 @@
*
* The dispatch origin for this call must be _Signed_.
*
- * # <weight>
+ * ## Complexity
* - O(1).
- * - The weight of this call is defined by the caller.
- * # </weight>
**/
sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
/**
@@ -1035,9 +1009,8 @@
/**
* Make some on-chain remark.
*
- * # <weight>
+ * ## Complexity
* - `O(1)`
- * # </weight>
**/
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
@@ -1047,28 +1020,15 @@
/**
* Set the new runtime code.
*
- * # <weight>
+ * ## Complexity
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
- * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is
- * expensive).
- * - 1 storage write (codec `O(C)`).
- * - 1 digest item.
- * - 1 event.
- * The weight of this function is dependent on the runtime, but generally this is very
- * expensive. We will treat this as a full block.
- * # </weight>
**/
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* Set the new runtime code without doing any checks of the given `code`.
*
- * # <weight>
+ * ## Complexity
* - `O(C)` where `C` length of `code`
- * - 1 storage write (codec `O(C)`).
- * - 1 digest item.
- * - 1 event.
- * The weight of this function is dependent on the runtime. We will treat this as a full
- * block. # </weight>
**/
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
@@ -1108,12 +1068,11 @@
*
* The dispatch origin for this call must be `Inherent`.
*
- * # <weight>
+ * ## Complexity
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
* `on_finalize`)
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
- * # </weight>
**/
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
/**
@@ -1209,11 +1168,8 @@
*
* May only be called from `T::ApproveOrigin`.
*
- * # <weight>
- * - Complexity: O(1).
- * - DbReads: `Proposals`, `Approvals`
- * - DbWrite: `Approvals`
- * # </weight>
+ * ## Complexity
+ * - O(1).
**/
approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
@@ -1221,11 +1177,8 @@
* is reserved and slashed if the proposal is rejected. It is returned once the
* proposal is awarded.
*
- * # <weight>
- * - Complexity: O(1)
- * - DbReads: `ProposalCount`, `origin account`
- * - DbWrites: `ProposalCount`, `Proposals`, `origin account`
- * # </weight>
+ * ## Complexity
+ * - O(1)
**/
proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
/**
@@ -1233,11 +1186,8 @@
*
* May only be called from `T::RejectOrigin`.
*
- * # <weight>
- * - Complexity: O(1)
- * - DbReads: `Proposals`, `rejected proposer account`
- * - DbWrites: `Proposals`, `rejected proposer account`
- * # </weight>
+ * ## Complexity
+ * - O(1)
**/
rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
@@ -1247,10 +1197,8 @@
* May only be called from `T::RejectOrigin`.
* - `proposal_id`: The index of a proposal
*
- * # <weight>
- * - Complexity: O(A) where `A` is the number of approvals
- * - Db reads and writes: `Approvals`
- * # </weight>
+ * ## Complexity
+ * - O(A) where `A` is the number of approvals
*
* Errors:
* - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,
@@ -1855,7 +1803,7 @@
* Events:
* - `OverweightServiced`: On success.
**/
- serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;
+ serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, SpWeightsWeightV2Weight]>;
/**
* Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.
*
@@ -1892,7 +1840,7 @@
* - `origin`: Must pass `Root`.
* - `new`: Desired value for `QueueConfigData.threshold_weight`
**/
- updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
+ updateThresholdWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
/**
* Overwrites the speed to which the available weight approaches the maximum weight.
* A lower number results in a faster progression. A value of 1 makes the entire weight available initially.
@@ -1900,7 +1848,7 @@
* - `origin`: Must pass `Root`.
* - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.
**/
- updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
+ updateWeightRestrictDecay: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
/**
* Overwrite the maximum amount of weight any individual message may consume.
* Messages above this weight go into the overweight queue and may only be serviced explicitly.
@@ -1908,7 +1856,7 @@
* - `origin`: Must pass `Root`.
* - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.
**/
- updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
+ updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
/**
* Generic tx
**/
@@ -1929,7 +1877,7 @@
* by the network, and if the receiving chain would handle
* messages correctly.
**/
- transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;
+ transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV3WeightLimit]>;
/**
* Transfer `MultiAsset`.
*
@@ -1944,7 +1892,7 @@
* by the network, and if the receiving chain would handle
* messages correctly.
**/
- transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;
+ transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV3WeightLimit]>;
/**
* Transfer several `MultiAsset` specifying the item to be used as fee
*
@@ -1962,7 +1910,7 @@
* by the network, and if the receiving chain would handle
* messages correctly.
**/
- transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;
+ transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV3WeightLimit]>;
/**
* Transfer `MultiAsset` specifying the fee and amount as separate.
*
@@ -1986,7 +1934,7 @@
* by the network, and if the receiving chain would handle
* messages correctly.
**/
- transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;
+ transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV3WeightLimit]>;
/**
* Transfer several currencies specifying the item to be used as fee
*
@@ -2004,7 +1952,7 @@
* by the network, and if the receiving chain would handle
* messages correctly.
**/
- transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;
+ transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, XcmV3WeightLimit]>;
/**
* Transfer native currencies specifying the fee and amount as
* separate.
@@ -2028,7 +1976,7 @@
* by the network, and if the receiving chain would handle
* messages correctly.
**/
- transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;
+ transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV3WeightLimit]>;
/**
* Generic tx
**/
tests/src/interfaces/augment-api.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api.ts
+++ b/tests/src/interfaces/augment-api.ts
@@ -1,10 +1,10 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import './augment-api-consts';
-import './augment-api-errors';
-import './augment-api-events';
-import './augment-api-query';
-import './augment-api-tx';
-import './augment-api-rpc';
-import './augment-api-runtime';
+import './augment-api-consts.js';
+import './augment-api-errors.js';
+import './augment-api-events.js';
+import './augment-api-query.js';
+import './augment-api-tx.js';
+import './augment-api-rpc.js';
+import './augment-api-runtime.js';
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,9 +5,9 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, 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, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
-import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
+import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
@@ -15,7 +15,7 @@
import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
-import type { BeefyAuthoritySet, BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
+import type { BeefyAuthoritySet, BeefyCommitment, BeefyEquivocationProof, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, BeefyVoteMessage, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark';
import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder';
import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';
@@ -42,18 +42,19 @@
import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
-import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
-import type { NpApiError } from '@polkadot/types/interfaces/nompools';
+import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrHash, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
+import type { NftCollectionId, NftItemId } from '@polkadot/types/interfaces/nfts';
+import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
-import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
+import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
-import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
+import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo';
import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';
import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';
@@ -151,12 +152,14 @@
BalanceStatus: BalanceStatus;
BeefyAuthoritySet: BeefyAuthoritySet;
BeefyCommitment: BeefyCommitment;
+ BeefyEquivocationProof: BeefyEquivocationProof;
BeefyId: BeefyId;
BeefyKey: BeefyKey;
BeefyNextAuthoritySet: BeefyNextAuthoritySet;
BeefyPayload: BeefyPayload;
BeefyPayloadId: BeefyPayloadId;
BeefySignedCommitment: BeefySignedCommitment;
+ BeefyVoteMessage: BeefyVoteMessage;
BenchmarkBatch: BenchmarkBatch;
BenchmarkConfig: BenchmarkConfig;
BenchmarkList: BenchmarkList;
@@ -479,6 +482,9 @@
EvmLog: EvmLog;
EvmVicinity: EvmVicinity;
ExecReturnValue: ExecReturnValue;
+ ExecutorParam: ExecutorParam;
+ ExecutorParams: ExecutorParams;
+ ExecutorParamsHash: ExecutorParamsHash;
ExitError: ExitError;
ExitFatal: ExitFatal;
ExitReason: ExitReason;
@@ -650,6 +656,8 @@
InteriorMultiLocation: InteriorMultiLocation;
InvalidDisputeStatementKind: InvalidDisputeStatementKind;
InvalidTransaction: InvalidTransaction;
+ isize: isize;
+ ISize: ISize;
Json: Json;
Junction: Junction;
Junctions: Junctions;
@@ -708,6 +716,7 @@
MmrBatchProof: MmrBatchProof;
MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf;
MmrError: MmrError;
+ MmrHash: MmrHash;
MmrLeafBatchProof: MmrLeafBatchProof;
MmrLeafIndex: MmrLeafIndex;
MmrLeafProof: MmrLeafProof;
@@ -757,12 +766,15 @@
NextAuthority: NextAuthority;
NextConfigDescriptor: NextConfigDescriptor;
NextConfigDescriptorV1: NextConfigDescriptorV1;
+ NftCollectionId: NftCollectionId;
+ NftItemId: NftItemId;
NodeRole: NodeRole;
Nominations: Nominations;
NominatorIndex: NominatorIndex;
NominatorIndexCompact: NominatorIndexCompact;
NotConnectedPeer: NotConnectedPeer;
NpApiError: NpApiError;
+ NpPoolId: NpPoolId;
Null: Null;
OccupiedCore: OccupiedCore;
OccupiedCoreAssumption: OccupiedCoreAssumption;
@@ -819,9 +831,6 @@
PalletAppPromotionCall: PalletAppPromotionCall;
PalletAppPromotionError: PalletAppPromotionError;
PalletAppPromotionEvent: PalletAppPromotionEvent;
- PalletAuthorshipCall: PalletAuthorshipCall;
- PalletAuthorshipError: PalletAuthorshipError;
- PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
@@ -852,7 +861,9 @@
PalletEventMetadataV14: PalletEventMetadataV14;
PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;
PalletEvmCall: PalletEvmCall;
+ PalletEvmCoderSubstrateCall: PalletEvmCoderSubstrateCall;
PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;
+ PalletEvmContractHelpersCall: PalletEvmContractHelpersCall;
PalletEvmContractHelpersError: PalletEvmContractHelpersError;
PalletEvmContractHelpersEvent: PalletEvmContractHelpersEvent;
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
@@ -921,7 +932,11 @@
PalletXcmCall: PalletXcmCall;
PalletXcmError: PalletXcmError;
PalletXcmEvent: PalletXcmEvent;
+ PalletXcmQueryStatus: PalletXcmQueryStatus;
+ PalletXcmRemoteLockedFungibleRecord: PalletXcmRemoteLockedFungibleRecord;
+ PalletXcmVersionMigrationStage: PalletXcmVersionMigrationStage;
ParachainDispatchOrigin: ParachainDispatchOrigin;
+ ParachainInfoCall: ParachainInfoCall;
ParachainInherentData: ParachainInherentData;
ParachainProposal: ParachainProposal;
ParachainsInherentData: ParachainsInherentData;
@@ -991,6 +1006,8 @@
ProxyState: ProxyState;
ProxyType: ProxyType;
PvfCheckStatement: PvfCheckStatement;
+ PvfExecTimeoutKind: PvfExecTimeoutKind;
+ PvfPrepTimeoutKind: PvfPrepTimeoutKind;
QueryId: QueryId;
QueryStatus: QueryStatus;
QueueConfigData: QueueConfigData;
@@ -1056,10 +1073,12 @@
RoundSnapshot: RoundSnapshot;
RoundState: RoundState;
RpcMethods: RpcMethods;
+ RuntimeCall: RuntimeCall;
RuntimeDbWeight: RuntimeDbWeight;
RuntimeDispatchInfo: RuntimeDispatchInfo;
RuntimeDispatchInfoV1: RuntimeDispatchInfoV1;
RuntimeDispatchInfoV2: RuntimeDispatchInfoV2;
+ RuntimeEvent: RuntimeEvent;
RuntimeVersion: RuntimeVersion;
RuntimeVersionApi: RuntimeVersionApi;
RuntimeVersionPartial: RuntimeVersionPartial;
@@ -1183,11 +1202,9 @@
SpCoreSr25519Public: SpCoreSr25519Public;
SpCoreSr25519Signature: SpCoreSr25519Signature;
SpecVersion: SpecVersion;
- SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
- SpRuntimeHeader: SpRuntimeHeader;
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
@@ -1390,6 +1407,7 @@
WeightMultiplier: WeightMultiplier;
WeightPerClass: WeightPerClass;
WeightToFeeCoefficient: WeightToFeeCoefficient;
+ WeightV0: WeightV0;
WeightV1: WeightV1;
WeightV2: WeightV2;
WildFungibility: WildFungibility;
@@ -1422,42 +1440,57 @@
XcmOriginKind: XcmOriginKind;
XcmpMessageFormat: XcmpMessageFormat;
XcmV0: XcmV0;
- XcmV0Junction: XcmV0Junction;
- XcmV0JunctionBodyId: XcmV0JunctionBodyId;
- XcmV0JunctionBodyPart: XcmV0JunctionBodyPart;
- XcmV0JunctionNetworkId: XcmV0JunctionNetworkId;
- XcmV0MultiAsset: XcmV0MultiAsset;
- XcmV0MultiLocation: XcmV0MultiLocation;
- XcmV0Order: XcmV0Order;
- XcmV0OriginKind: XcmV0OriginKind;
- XcmV0Response: XcmV0Response;
- XcmV0Xcm: XcmV0Xcm;
XcmV1: XcmV1;
- XcmV1Junction: XcmV1Junction;
- XcmV1MultiAsset: XcmV1MultiAsset;
- XcmV1MultiassetAssetId: XcmV1MultiassetAssetId;
- XcmV1MultiassetAssetInstance: XcmV1MultiassetAssetInstance;
- XcmV1MultiassetFungibility: XcmV1MultiassetFungibility;
- XcmV1MultiassetMultiAssetFilter: XcmV1MultiassetMultiAssetFilter;
- XcmV1MultiassetMultiAssets: XcmV1MultiassetMultiAssets;
- XcmV1MultiassetWildFungibility: XcmV1MultiassetWildFungibility;
- XcmV1MultiassetWildMultiAsset: XcmV1MultiassetWildMultiAsset;
- XcmV1MultiLocation: XcmV1MultiLocation;
- XcmV1MultilocationJunctions: XcmV1MultilocationJunctions;
- XcmV1Order: XcmV1Order;
- XcmV1Response: XcmV1Response;
- XcmV1Xcm: XcmV1Xcm;
XcmV2: XcmV2;
+ XcmV2BodyId: XcmV2BodyId;
+ XcmV2BodyPart: XcmV2BodyPart;
XcmV2Instruction: XcmV2Instruction;
+ XcmV2Junction: XcmV2Junction;
+ XcmV2MultiAsset: XcmV2MultiAsset;
+ XcmV2MultiassetAssetId: XcmV2MultiassetAssetId;
+ XcmV2MultiassetAssetInstance: XcmV2MultiassetAssetInstance;
+ XcmV2MultiassetFungibility: XcmV2MultiassetFungibility;
+ XcmV2MultiassetMultiAssetFilter: XcmV2MultiassetMultiAssetFilter;
+ XcmV2MultiassetMultiAssets: XcmV2MultiassetMultiAssets;
+ XcmV2MultiassetWildFungibility: XcmV2MultiassetWildFungibility;
+ XcmV2MultiassetWildMultiAsset: XcmV2MultiassetWildMultiAsset;
+ XcmV2MultiLocation: XcmV2MultiLocation;
+ XcmV2MultilocationJunctions: XcmV2MultilocationJunctions;
+ XcmV2NetworkId: XcmV2NetworkId;
+ XcmV2OriginKind: XcmV2OriginKind;
XcmV2Response: XcmV2Response;
XcmV2TraitsError: XcmV2TraitsError;
- XcmV2TraitsOutcome: XcmV2TraitsOutcome;
XcmV2WeightLimit: XcmV2WeightLimit;
XcmV2Xcm: XcmV2Xcm;
+ XcmV3Instruction: XcmV3Instruction;
+ XcmV3Junction: XcmV3Junction;
+ XcmV3JunctionBodyId: XcmV3JunctionBodyId;
+ XcmV3JunctionBodyPart: XcmV3JunctionBodyPart;
+ XcmV3JunctionNetworkId: XcmV3JunctionNetworkId;
+ XcmV3Junctions: XcmV3Junctions;
+ XcmV3MaybeErrorCode: XcmV3MaybeErrorCode;
+ XcmV3MultiAsset: XcmV3MultiAsset;
+ XcmV3MultiassetAssetId: XcmV3MultiassetAssetId;
+ XcmV3MultiassetAssetInstance: XcmV3MultiassetAssetInstance;
+ XcmV3MultiassetFungibility: XcmV3MultiassetFungibility;
+ XcmV3MultiassetMultiAssetFilter: XcmV3MultiassetMultiAssetFilter;
+ XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets;
+ XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility;
+ XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset;
+ XcmV3MultiLocation: XcmV3MultiLocation;
+ XcmV3PalletInfo: XcmV3PalletInfo;
+ XcmV3QueryResponseInfo: XcmV3QueryResponseInfo;
+ XcmV3Response: XcmV3Response;
+ XcmV3TraitsError: XcmV3TraitsError;
+ XcmV3TraitsOutcome: XcmV3TraitsOutcome;
+ XcmV3WeightLimit: XcmV3WeightLimit;
+ XcmV3Xcm: XcmV3Xcm;
XcmVersion: XcmVersion;
+ XcmVersionedAssetId: XcmVersionedAssetId;
XcmVersionedMultiAsset: XcmVersionedMultiAsset;
XcmVersionedMultiAssets: XcmVersionedMultiAssets;
XcmVersionedMultiLocation: XcmVersionedMultiLocation;
+ XcmVersionedResponse: XcmVersionedResponse;
XcmVersionedXcm: XcmVersionedXcm;
} // InterfaceTypes
} // declare module
tests/src/interfaces/default/index.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/index.ts
+++ b/tests/src/interfaces/default/index.ts
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './types';
+export * from './types.js';
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -12,7 +12,7 @@
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
- readonly weightLimit: u64;
+ readonly weightLimit: SpWeightsWeightV2Weight;
} & Struct;
readonly type: 'ServiceOverweight';
}
@@ -42,7 +42,7 @@
readonly isExecutedDownward: boolean;
readonly asExecutedDownward: {
readonly messageId: U8aFixed;
- readonly outcome: XcmV2TraitsOutcome;
+ readonly outcome: XcmV3TraitsOutcome;
} & Struct;
readonly isWeightExhausted: boolean;
readonly asWeightExhausted: {
@@ -61,7 +61,11 @@
readonly overweightIndex: u64;
readonly weightUsed: SpWeightsWeightV2Weight;
} & Struct;
- readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
+ readonly isMaxMessagesExhausted: boolean;
+ readonly asMaxMessagesExhausted: {
+ readonly messageId: U8aFixed;
+ } & Struct;
+ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced' | 'MaxMessagesExhausted';
}
/** @name CumulusPalletDmpQueuePageIndexData */
@@ -126,7 +130,11 @@
readonly weightUsed: SpWeightsWeightV2Weight;
readonly dmqHead: H256;
} & Struct;
- readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
+ readonly isUpwardMessageSent: boolean;
+ readonly asUpwardMessageSent: {
+ readonly messageHash: Option<U8aFixed>;
+ } & Struct;
+ readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent';
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */
@@ -150,7 +158,7 @@
readonly isUnsupportedVersion: boolean;
readonly asUnsupportedVersion: U8aFixed;
readonly isExecutedDownward: boolean;
- readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
+ readonly asExecutedDownward: ITuple<[U8aFixed, XcmV3TraitsOutcome]>;
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
@@ -159,7 +167,7 @@
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
- readonly weightLimit: u64;
+ readonly weightLimit: SpWeightsWeightV2Weight;
} & Struct;
readonly isSuspendXcmExecution: boolean;
readonly isResumeXcmExecution: boolean;
@@ -177,15 +185,15 @@
} & Struct;
readonly isUpdateThresholdWeight: boolean;
readonly asUpdateThresholdWeight: {
- readonly new_: u64;
+ readonly new_: SpWeightsWeightV2Weight;
} & Struct;
readonly isUpdateWeightRestrictDecay: boolean;
readonly asUpdateWeightRestrictDecay: {
- readonly new_: u64;
+ readonly new_: SpWeightsWeightV2Weight;
} & Struct;
readonly isUpdateXcmpMaxIndividualWeight: boolean;
readonly asUpdateXcmpMaxIndividualWeight: {
- readonly new_: u64;
+ readonly new_: SpWeightsWeightV2Weight;
} & Struct;
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
@@ -204,30 +212,26 @@
export interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: {
- readonly messageHash: Option<H256>;
+ readonly messageHash: Option<U8aFixed>;
readonly weight: SpWeightsWeightV2Weight;
} & Struct;
readonly isFail: boolean;
readonly asFail: {
- readonly messageHash: Option<H256>;
- readonly error: XcmV2TraitsError;
+ readonly messageHash: Option<U8aFixed>;
+ readonly error: XcmV3TraitsError;
readonly weight: SpWeightsWeightV2Weight;
} & Struct;
readonly isBadVersion: boolean;
readonly asBadVersion: {
- readonly messageHash: Option<H256>;
+ readonly messageHash: Option<U8aFixed>;
} & Struct;
readonly isBadFormat: boolean;
readonly asBadFormat: {
- readonly messageHash: Option<H256>;
- } & Struct;
- readonly isUpwardMessageSent: boolean;
- readonly asUpwardMessageSent: {
- readonly messageHash: Option<H256>;
+ readonly messageHash: Option<U8aFixed>;
} & Struct;
readonly isXcmpMessageSent: boolean;
readonly asXcmpMessageSent: {
- readonly messageHash: Option<H256>;
+ readonly messageHash: Option<U8aFixed>;
} & Struct;
readonly isOverweightEnqueued: boolean;
readonly asOverweightEnqueued: {
@@ -241,7 +245,7 @@
readonly index: u64;
readonly used: SpWeightsWeightV2Weight;
} & Struct;
- readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
+ readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
/** @name CumulusPalletXcmpQueueInboundChannelDetails */
@@ -853,7 +857,19 @@
readonly currencyId: PalletForeignAssetsAssetIds;
readonly who: AccountId32;
} & Struct;
- readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';
+ readonly isLocked: boolean;
+ readonly asLocked: {
+ readonly currencyId: PalletForeignAssetsAssetIds;
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isUnlocked: boolean;
+ readonly asUnlocked: {
+ readonly currencyId: PalletForeignAssetsAssetIds;
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked';
}
/** @name OrmlTokensReserveData */
@@ -928,13 +944,13 @@
readonly currencyId: PalletForeignAssetsAssetIds;
readonly amount: u128;
readonly dest: XcmVersionedMultiLocation;
- readonly destWeightLimit: XcmV2WeightLimit;
+ readonly destWeightLimit: XcmV3WeightLimit;
} & Struct;
readonly isTransferMultiasset: boolean;
readonly asTransferMultiasset: {
readonly asset: XcmVersionedMultiAsset;
readonly dest: XcmVersionedMultiLocation;
- readonly destWeightLimit: XcmV2WeightLimit;
+ readonly destWeightLimit: XcmV3WeightLimit;
} & Struct;
readonly isTransferWithFee: boolean;
readonly asTransferWithFee: {
@@ -942,28 +958,28 @@
readonly amount: u128;
readonly fee: u128;
readonly dest: XcmVersionedMultiLocation;
- readonly destWeightLimit: XcmV2WeightLimit;
+ readonly destWeightLimit: XcmV3WeightLimit;
} & Struct;
readonly isTransferMultiassetWithFee: boolean;
readonly asTransferMultiassetWithFee: {
readonly asset: XcmVersionedMultiAsset;
readonly fee: XcmVersionedMultiAsset;
readonly dest: XcmVersionedMultiLocation;
- readonly destWeightLimit: XcmV2WeightLimit;
+ readonly destWeightLimit: XcmV3WeightLimit;
} & Struct;
readonly isTransferMulticurrencies: boolean;
readonly asTransferMulticurrencies: {
readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;
readonly feeItem: u32;
readonly dest: XcmVersionedMultiLocation;
- readonly destWeightLimit: XcmV2WeightLimit;
+ readonly destWeightLimit: XcmV3WeightLimit;
} & Struct;
readonly isTransferMultiassets: boolean;
readonly asTransferMultiassets: {
readonly assets: XcmVersionedMultiAssets;
readonly feeItem: u32;
readonly dest: XcmVersionedMultiLocation;
- readonly destWeightLimit: XcmV2WeightLimit;
+ readonly destWeightLimit: XcmV3WeightLimit;
} & Struct;
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
@@ -997,9 +1013,9 @@
readonly isTransferredMultiAssets: boolean;
readonly asTransferredMultiAssets: {
readonly sender: AccountId32;
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly fee: XcmV1MultiAsset;
- readonly dest: XcmV1MultiLocation;
+ readonly assets: XcmV3MultiassetMultiAssets;
+ readonly fee: XcmV3MultiAsset;
+ readonly dest: XcmV3MultiLocation;
} & Struct;
readonly type: 'TransferredMultiAssets';
}
@@ -1065,36 +1081,6 @@
readonly isSetAdmin: boolean;
readonly asSetAdmin: AccountId32;
readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
-}
-
-/** @name PalletAuthorshipCall */
-export interface PalletAuthorshipCall extends Enum {
- readonly isSetUncles: boolean;
- readonly asSetUncles: {
- readonly newUncles: Vec<SpRuntimeHeader>;
- } & Struct;
- readonly type: 'SetUncles';
-}
-
-/** @name PalletAuthorshipError */
-export interface PalletAuthorshipError extends Enum {
- readonly isInvalidUncleParent: boolean;
- readonly isUnclesAlreadySet: boolean;
- readonly isTooManyUncles: boolean;
- readonly isGenesisUncle: boolean;
- readonly isTooHighUncle: boolean;
- readonly isUncleAlreadyIncluded: boolean;
- readonly isOldUncle: boolean;
- readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
-}
-
-/** @name PalletAuthorshipUncleEntryItem */
-export interface PalletAuthorshipUncleEntryItem extends Enum {
- readonly isInclusionHeight: boolean;
- readonly asInclusionHeight: u32;
- readonly isUncle: boolean;
- readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
- readonly type: 'InclusionHeight' | 'Uncle';
}
/** @name PalletBalancesAccountData */
@@ -1413,10 +1399,6 @@
readonly isSetMinGasPriceOverride: boolean;
readonly asSetMinGasPriceOverride: {
readonly coeff: Option<u64>;
- } & Struct;
- readonly isSetXcmAllowedLocations: boolean;
- readonly asSetXcmAllowedLocations: {
- readonly locations: Option<Vec<XcmV1MultiLocation>>;
} & Struct;
readonly isSetAppPromotionConfigurationOverride: boolean;
readonly asSetAppPromotionConfigurationOverride: {
@@ -1434,7 +1416,7 @@
readonly asSetCollatorSelectionKickThreshold: {
readonly threshold: Option<u32>;
} & Struct;
- readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
+ readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
}
/** @name PalletConfigurationError */
@@ -1545,6 +1527,12 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
+/** @name PalletEvmCoderSubstrateCall */
+export interface PalletEvmCoderSubstrateCall extends Enum {
+ readonly isEmptyCall: boolean;
+ readonly type: 'EmptyCall';
+}
+
/** @name PalletEvmCoderSubstrateError */
export interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
@@ -1552,6 +1540,15 @@
readonly type: 'OutOfGas' | 'OutOfFund';
}
+/** @name PalletEvmContractHelpersCall */
+export interface PalletEvmContractHelpersCall extends Enum {
+ readonly isMigrateFromSelfSponsoring: boolean;
+ readonly asMigrateFromSelfSponsoring: {
+ readonly addresses: Vec<H160>;
+ } & Struct;
+ readonly type: 'MigrateFromSelfSponsoring';
+}
+
/** @name PalletEvmContractHelpersError */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
@@ -1710,13 +1707,13 @@
readonly isForeignAssetRegistered: boolean;
readonly asForeignAssetRegistered: {
readonly assetId: u32;
- readonly assetAddress: XcmV1MultiLocation;
+ readonly assetAddress: XcmV3MultiLocation;
readonly metadata: PalletForeignAssetsModuleAssetMetadata;
} & Struct;
readonly isForeignAssetUpdated: boolean;
readonly asForeignAssetUpdated: {
readonly assetId: u32;
- readonly assetAddress: XcmV1MultiLocation;
+ readonly assetAddress: XcmV3MultiLocation;
readonly metadata: PalletForeignAssetsModuleAssetMetadata;
} & Struct;
readonly isAssetRegistered: boolean;
@@ -2576,11 +2573,11 @@
readonly isExecute: boolean;
readonly asExecute: {
readonly message: XcmVersionedXcm;
- readonly maxWeight: u64;
+ readonly maxWeight: SpWeightsWeightV2Weight;
} & Struct;
readonly isForceXcmVersion: boolean;
readonly asForceXcmVersion: {
- readonly location: XcmV1MultiLocation;
+ readonly location: XcmV3MultiLocation;
readonly xcmVersion: u32;
} & Struct;
readonly isForceDefaultXcmVersion: boolean;
@@ -2601,7 +2598,7 @@
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
- readonly weightLimit: XcmV2WeightLimit;
+ readonly weightLimit: XcmV3WeightLimit;
} & Struct;
readonly isLimitedTeleportAssets: boolean;
readonly asLimitedTeleportAssets: {
@@ -2609,7 +2606,7 @@
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
- readonly weightLimit: XcmV2WeightLimit;
+ readonly weightLimit: XcmV3WeightLimit;
} & Struct;
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
@@ -2629,19 +2626,26 @@
readonly isBadLocation: boolean;
readonly isNoSubscription: boolean;
readonly isAlreadySubscribed: boolean;
- readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
+ readonly isInvalidAsset: boolean;
+ readonly isLowBalance: boolean;
+ readonly isTooManyLocks: boolean;
+ readonly isAccountNotSovereign: boolean;
+ readonly isFeesNotMet: boolean;
+ readonly isLockNotFound: boolean;
+ readonly isInUse: boolean;
+ readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'InvalidAsset' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse';
}
/** @name PalletXcmEvent */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
- readonly asAttempted: XcmV2TraitsOutcome;
+ readonly asAttempted: XcmV3TraitsOutcome;
readonly isSent: boolean;
- readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
+ readonly asSent: ITuple<[XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]>;
readonly isUnexpectedResponse: boolean;
- readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
+ readonly asUnexpectedResponse: ITuple<[XcmV3MultiLocation, u64]>;
readonly isResponseReady: boolean;
- readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
+ readonly asResponseReady: ITuple<[u64, XcmV3Response]>;
readonly isNotified: boolean;
readonly asNotified: ITuple<[u64, u8, u8]>;
readonly isNotifyOverweight: boolean;
@@ -2651,26 +2655,81 @@
readonly isNotifyDecodeFailed: boolean;
readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
readonly isInvalidResponder: boolean;
- readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
+ readonly asInvalidResponder: ITuple<[XcmV3MultiLocation, u64, Option<XcmV3MultiLocation>]>;
readonly isInvalidResponderVersion: boolean;
- readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
+ readonly asInvalidResponderVersion: ITuple<[XcmV3MultiLocation, u64]>;
readonly isResponseTaken: boolean;
readonly asResponseTaken: u64;
readonly isAssetsTrapped: boolean;
- readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
+ readonly asAssetsTrapped: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
readonly isVersionChangeNotified: boolean;
- readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
+ readonly asVersionChangeNotified: ITuple<[XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]>;
readonly isSupportedVersionChanged: boolean;
- readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
+ readonly asSupportedVersionChanged: ITuple<[XcmV3MultiLocation, u32]>;
readonly isNotifyTargetSendFail: boolean;
- readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
+ readonly asNotifyTargetSendFail: ITuple<[XcmV3MultiLocation, u64, XcmV3TraitsError]>;
readonly isNotifyTargetMigrationFail: boolean;
readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
+ readonly isInvalidQuerierVersion: boolean;
+ readonly asInvalidQuerierVersion: ITuple<[XcmV3MultiLocation, u64]>;
+ readonly isInvalidQuerier: boolean;
+ readonly asInvalidQuerier: ITuple<[XcmV3MultiLocation, u64, XcmV3MultiLocation, Option<XcmV3MultiLocation>]>;
+ readonly isVersionNotifyStarted: boolean;
+ readonly asVersionNotifyStarted: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
+ readonly isVersionNotifyRequested: boolean;
+ readonly asVersionNotifyRequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
+ readonly isVersionNotifyUnrequested: boolean;
+ readonly asVersionNotifyUnrequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
+ readonly isFeesPaid: boolean;
+ readonly asFeesPaid: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
readonly isAssetsClaimed: boolean;
- readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
- readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';
+ readonly asAssetsClaimed: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
+ readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed';
+}
+
+/** @name PalletXcmQueryStatus */
+export interface PalletXcmQueryStatus extends Enum {
+ readonly isPending: boolean;
+ readonly asPending: {
+ readonly responder: XcmVersionedMultiLocation;
+ readonly maybeMatchQuerier: Option<XcmVersionedMultiLocation>;
+ readonly maybeNotify: Option<ITuple<[u8, u8]>>;
+ readonly timeout: u32;
+ } & Struct;
+ readonly isVersionNotifier: boolean;
+ readonly asVersionNotifier: {
+ readonly origin: XcmVersionedMultiLocation;
+ readonly isActive: bool;
+ } & Struct;
+ readonly isReady: boolean;
+ readonly asReady: {
+ readonly response: XcmVersionedResponse;
+ readonly at: u32;
+ } & Struct;
+ readonly type: 'Pending' | 'VersionNotifier' | 'Ready';
}
+/** @name PalletXcmRemoteLockedFungibleRecord */
+export interface PalletXcmRemoteLockedFungibleRecord extends Struct {
+ readonly amount: u128;
+ readonly owner: XcmVersionedMultiLocation;
+ readonly locker: XcmVersionedMultiLocation;
+ readonly users: u32;
+}
+
+/** @name PalletXcmVersionMigrationStage */
+export interface PalletXcmVersionMigrationStage extends Enum {
+ readonly isMigrateSupportedVersion: boolean;
+ readonly isMigrateVersionNotifiers: boolean;
+ readonly isNotifyCurrentTargets: boolean;
+ readonly asNotifyCurrentTargets: Option<Bytes>;
+ readonly isMigrateAndNotifyOldTargets: boolean;
+ readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';
+}
+
+/** @name ParachainInfoCall */
+export interface ParachainInfoCall extends Null {}
+
/** @name PhantomTypeUpDataStructs */
export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}
@@ -2763,9 +2822,6 @@
/** @name SpCoreSr25519Signature */
export interface SpCoreSr25519Signature extends U8aFixed {}
-/** @name SpRuntimeBlakeTwo256 */
-export interface SpRuntimeBlakeTwo256 extends Null {}
-
/** @name SpRuntimeDigest */
export interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
@@ -2805,15 +2861,6 @@
readonly isCorruption: boolean;
readonly isUnavailable: boolean;
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';
-}
-
-/** @name SpRuntimeHeader */
-export interface SpRuntimeHeader extends Struct {
- readonly parentHash: H256;
- readonly number: Compact<u32>;
- readonly stateRoot: H256;
- readonly extrinsicsRoot: H256;
- readonly digest: SpRuntimeDigest;
}
/** @name SpRuntimeModuleError */
@@ -3059,7 +3106,7 @@
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
- readonly spaceLimit: u32;
+ readonly reserved: u32;
}
/** @name UpDataStructsPropertiesMapBoundedVec */
@@ -3177,43 +3224,8 @@
readonly encoded: Bytes;
}
-/** @name XcmV0Junction */
-export interface XcmV0Junction extends Enum {
- readonly isParent: boolean;
- readonly isParachain: boolean;
- readonly asParachain: Compact<u32>;
- readonly isAccountId32: boolean;
- readonly asAccountId32: {
- readonly network: XcmV0JunctionNetworkId;
- readonly id: U8aFixed;
- } & Struct;
- readonly isAccountIndex64: boolean;
- readonly asAccountIndex64: {
- readonly network: XcmV0JunctionNetworkId;
- readonly index: Compact<u64>;
- } & Struct;
- readonly isAccountKey20: boolean;
- readonly asAccountKey20: {
- readonly network: XcmV0JunctionNetworkId;
- readonly key: U8aFixed;
- } & Struct;
- readonly isPalletInstance: boolean;
- readonly asPalletInstance: u8;
- readonly isGeneralIndex: boolean;
- readonly asGeneralIndex: Compact<u128>;
- readonly isGeneralKey: boolean;
- readonly asGeneralKey: Bytes;
- readonly isOnlyChild: boolean;
- readonly isPlurality: boolean;
- readonly asPlurality: {
- readonly id: XcmV0JunctionBodyId;
- readonly part: XcmV0JunctionBodyPart;
- } & Struct;
- readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
-}
-
-/** @name XcmV0JunctionBodyId */
-export interface XcmV0JunctionBodyId extends Enum {
+/** @name XcmV2BodyId */
+export interface XcmV2BodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
@@ -3229,8 +3241,8 @@
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
}
-/** @name XcmV0JunctionBodyPart */
-export interface XcmV0JunctionBodyPart extends Enum {
+/** @name XcmV2BodyPart */
+export interface XcmV2BodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
readonly asMembers: {
@@ -3254,227 +3266,143 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
-/** @name XcmV0JunctionNetworkId */
-export interface XcmV0JunctionNetworkId extends Enum {
- readonly isAny: boolean;
- readonly isNamed: boolean;
- readonly asNamed: Bytes;
- readonly isPolkadot: boolean;
- readonly isKusama: boolean;
- readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
-}
-
-/** @name XcmV0MultiAsset */
-export interface XcmV0MultiAsset extends Enum {
- readonly isNone: boolean;
- readonly isAll: boolean;
- readonly isAllFungible: boolean;
- readonly isAllNonFungible: boolean;
- readonly isAllAbstractFungible: boolean;
- readonly asAllAbstractFungible: {
- readonly id: Bytes;
+/** @name XcmV2Instruction */
+export interface XcmV2Instruction extends Enum {
+ readonly isWithdrawAsset: boolean;
+ readonly asWithdrawAsset: XcmV2MultiassetMultiAssets;
+ readonly isReserveAssetDeposited: boolean;
+ readonly asReserveAssetDeposited: XcmV2MultiassetMultiAssets;
+ readonly isReceiveTeleportedAsset: boolean;
+ readonly asReceiveTeleportedAsset: XcmV2MultiassetMultiAssets;
+ readonly isQueryResponse: boolean;
+ readonly asQueryResponse: {
+ readonly queryId: Compact<u64>;
+ readonly response: XcmV2Response;
+ readonly maxWeight: Compact<u64>;
} & Struct;
- readonly isAllAbstractNonFungible: boolean;
- readonly asAllAbstractNonFungible: {
- readonly class: Bytes;
+ readonly isTransferAsset: boolean;
+ readonly asTransferAsset: {
+ readonly assets: XcmV2MultiassetMultiAssets;
+ readonly beneficiary: XcmV2MultiLocation;
} & Struct;
- readonly isAllConcreteFungible: boolean;
- readonly asAllConcreteFungible: {
- readonly id: XcmV0MultiLocation;
+ readonly isTransferReserveAsset: boolean;
+ readonly asTransferReserveAsset: {
+ readonly assets: XcmV2MultiassetMultiAssets;
+ readonly dest: XcmV2MultiLocation;
+ readonly xcm: XcmV2Xcm;
} & Struct;
- readonly isAllConcreteNonFungible: boolean;
- readonly asAllConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
+ readonly isTransact: boolean;
+ readonly asTransact: {
+ readonly originType: XcmV2OriginKind;
+ readonly requireWeightAtMost: Compact<u64>;
+ readonly call: XcmDoubleEncoded;
} & Struct;
- readonly isAbstractFungible: boolean;
- readonly asAbstractFungible: {
- readonly id: Bytes;
- readonly amount: Compact<u128>;
+ readonly isHrmpNewChannelOpenRequest: boolean;
+ readonly asHrmpNewChannelOpenRequest: {
+ readonly sender: Compact<u32>;
+ readonly maxMessageSize: Compact<u32>;
+ readonly maxCapacity: Compact<u32>;
} & Struct;
- readonly isAbstractNonFungible: boolean;
- readonly asAbstractNonFungible: {
- readonly class: Bytes;
- readonly instance: XcmV1MultiassetAssetInstance;
+ readonly isHrmpChannelAccepted: boolean;
+ readonly asHrmpChannelAccepted: {
+ readonly recipient: Compact<u32>;
} & Struct;
- readonly isConcreteFungible: boolean;
- readonly asConcreteFungible: {
- readonly id: XcmV0MultiLocation;
- readonly amount: Compact<u128>;
+ readonly isHrmpChannelClosing: boolean;
+ readonly asHrmpChannelClosing: {
+ readonly initiator: Compact<u32>;
+ readonly sender: Compact<u32>;
+ readonly recipient: Compact<u32>;
} & Struct;
- readonly isConcreteNonFungible: boolean;
- readonly asConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
- readonly instance: XcmV1MultiassetAssetInstance;
+ readonly isClearOrigin: boolean;
+ readonly isDescendOrigin: boolean;
+ readonly asDescendOrigin: XcmV2MultilocationJunctions;
+ readonly isReportError: boolean;
+ readonly asReportError: {
+ readonly queryId: Compact<u64>;
+ readonly dest: XcmV2MultiLocation;
+ readonly maxResponseWeight: Compact<u64>;
} & Struct;
- readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
-}
-
-/** @name XcmV0MultiLocation */
-export interface XcmV0MultiLocation extends Enum {
- readonly isNull: boolean;
- readonly isX1: boolean;
- readonly asX1: XcmV0Junction;
- readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
- readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX8: boolean;
- readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
-}
-
-/** @name XcmV0Order */
-export interface XcmV0Order extends Enum {
- readonly isNull: boolean;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
+ readonly maxAssets: Compact<u32>;
+ readonly beneficiary: XcmV2MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
+ readonly maxAssets: Compact<u32>;
+ readonly dest: XcmV2MultiLocation;
+ readonly xcm: XcmV2Xcm;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
- readonly give: Vec<XcmV0MultiAsset>;
- readonly receive: Vec<XcmV0MultiAsset>;
+ readonly give: XcmV2MultiassetMultiAssetFilter;
+ readonly receive: XcmV2MultiassetMultiAssets;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly reserve: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
+ readonly reserve: XcmV2MultiLocation;
+ readonly xcm: XcmV2Xcm;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
+ readonly dest: XcmV2MultiLocation;
+ readonly xcm: XcmV2Xcm;
} & Struct;
readonly isQueryHolding: boolean;
readonly asQueryHolding: {
readonly queryId: Compact<u64>;
- readonly dest: XcmV0MultiLocation;
- readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV2MultiLocation;
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
+ readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
- readonly fees: XcmV0MultiAsset;
- readonly weight: u64;
- readonly debt: u64;
- readonly haltOnError: bool;
- readonly xcm: Vec<XcmV0Xcm>;
+ readonly fees: XcmV2MultiAsset;
+ readonly weightLimit: XcmV2WeightLimit;
} & Struct;
- readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
-}
-
-/** @name XcmV0OriginKind */
-export interface XcmV0OriginKind extends Enum {
- readonly isNative: boolean;
- readonly isSovereignAccount: boolean;
- readonly isSuperuser: boolean;
- readonly isXcm: boolean;
- readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
-}
-
-/** @name XcmV0Response */
-export interface XcmV0Response extends Enum {
- readonly isAssets: boolean;
- readonly asAssets: Vec<XcmV0MultiAsset>;
- readonly type: 'Assets';
-}
-
-/** @name XcmV0Xcm */
-export interface XcmV0Xcm extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
+ readonly isRefundSurplus: boolean;
+ readonly isSetErrorHandler: boolean;
+ readonly asSetErrorHandler: XcmV2Xcm;
+ readonly isSetAppendix: boolean;
+ readonly asSetAppendix: XcmV2Xcm;
+ readonly isClearError: boolean;
+ readonly isClaimAsset: boolean;
+ readonly asClaimAsset: {
+ readonly assets: XcmV2MultiassetMultiAssets;
+ readonly ticket: XcmV2MultiLocation;
} & Struct;
- readonly isReserveAssetDeposit: boolean;
- readonly asReserveAssetDeposit: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isTeleportAsset: boolean;
- readonly asTeleportAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isQueryResponse: boolean;
- readonly asQueryResponse: {
+ readonly isTrap: boolean;
+ readonly asTrap: Compact<u64>;
+ readonly isSubscribeVersion: boolean;
+ readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
- readonly response: XcmV0Response;
- } & Struct;
- readonly isTransferAsset: boolean;
- readonly asTransferAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
+ readonly maxResponseWeight: Compact<u64>;
} & Struct;
- readonly isTransferReserveAsset: boolean;
- readonly asTransferReserveAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: u64;
- readonly call: XcmDoubleEncoded;
- } & Struct;
- readonly isHrmpNewChannelOpenRequest: boolean;
- readonly asHrmpNewChannelOpenRequest: {
- readonly sender: Compact<u32>;
- readonly maxMessageSize: Compact<u32>;
- readonly maxCapacity: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelAccepted: boolean;
- readonly asHrmpChannelAccepted: {
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelClosing: boolean;
- readonly asHrmpChannelClosing: {
- readonly initiator: Compact<u32>;
- readonly sender: Compact<u32>;
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isRelayedFrom: boolean;
- readonly asRelayedFrom: {
- readonly who: XcmV0MultiLocation;
- readonly message: XcmV0Xcm;
- } & Struct;
- readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
+ readonly isUnsubscribeVersion: boolean;
+ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
-/** @name XcmV1Junction */
-export interface XcmV1Junction extends Enum {
+/** @name XcmV2Junction */
+export interface XcmV2Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
- readonly network: XcmV0JunctionNetworkId;
+ readonly network: XcmV2NetworkId;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
- readonly network: XcmV0JunctionNetworkId;
+ readonly network: XcmV2NetworkId;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
- readonly network: XcmV0JunctionNetworkId;
+ readonly network: XcmV2NetworkId;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
@@ -3486,29 +3414,29 @@
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
- readonly id: XcmV0JunctionBodyId;
- readonly part: XcmV0JunctionBodyPart;
+ readonly id: XcmV2BodyId;
+ readonly part: XcmV2BodyPart;
} & Struct;
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
-/** @name XcmV1MultiAsset */
-export interface XcmV1MultiAsset extends Struct {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetFungibility;
+/** @name XcmV2MultiAsset */
+export interface XcmV2MultiAsset extends Struct {
+ readonly id: XcmV2MultiassetAssetId;
+ readonly fun: XcmV2MultiassetFungibility;
}
-/** @name XcmV1MultiassetAssetId */
-export interface XcmV1MultiassetAssetId extends Enum {
+/** @name XcmV2MultiassetAssetId */
+export interface XcmV2MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
- readonly asConcrete: XcmV1MultiLocation;
+ readonly asConcrete: XcmV2MultiLocation;
readonly isAbstract: boolean;
readonly asAbstract: Bytes;
readonly type: 'Concrete' | 'Abstract';
}
-/** @name XcmV1MultiassetAssetInstance */
-export interface XcmV1MultiassetAssetInstance extends Enum {
+/** @name XcmV2MultiassetAssetInstance */
+export interface XcmV2MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
readonly asIndex: Compact<u128>;
@@ -3525,230 +3453,178 @@
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
-/** @name XcmV1MultiassetFungibility */
-export interface XcmV1MultiassetFungibility extends Enum {
+/** @name XcmV2MultiassetFungibility */
+export interface XcmV2MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
readonly isNonFungible: boolean;
- readonly asNonFungible: XcmV1MultiassetAssetInstance;
+ readonly asNonFungible: XcmV2MultiassetAssetInstance;
readonly type: 'Fungible' | 'NonFungible';
}
-/** @name XcmV1MultiassetMultiAssetFilter */
-export interface XcmV1MultiassetMultiAssetFilter extends Enum {
+/** @name XcmV2MultiassetMultiAssetFilter */
+export interface XcmV2MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
- readonly asDefinite: XcmV1MultiassetMultiAssets;
+ readonly asDefinite: XcmV2MultiassetMultiAssets;
readonly isWild: boolean;
- readonly asWild: XcmV1MultiassetWildMultiAsset;
+ readonly asWild: XcmV2MultiassetWildMultiAsset;
readonly type: 'Definite' | 'Wild';
}
-/** @name XcmV1MultiassetMultiAssets */
-export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
+/** @name XcmV2MultiassetMultiAssets */
+export interface XcmV2MultiassetMultiAssets extends Vec<XcmV2MultiAsset> {}
-/** @name XcmV1MultiassetWildFungibility */
-export interface XcmV1MultiassetWildFungibility extends Enum {
+/** @name XcmV2MultiassetWildFungibility */
+export interface XcmV2MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
-/** @name XcmV1MultiassetWildMultiAsset */
-export interface XcmV1MultiassetWildMultiAsset extends Enum {
+/** @name XcmV2MultiassetWildMultiAsset */
+export interface XcmV2MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
readonly asAllOf: {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetWildFungibility;
+ readonly id: XcmV2MultiassetAssetId;
+ readonly fun: XcmV2MultiassetWildFungibility;
} & Struct;
readonly type: 'All' | 'AllOf';
}
-/** @name XcmV1MultiLocation */
-export interface XcmV1MultiLocation extends Struct {
+/** @name XcmV2MultiLocation */
+export interface XcmV2MultiLocation extends Struct {
readonly parents: u8;
- readonly interior: XcmV1MultilocationJunctions;
+ readonly interior: XcmV2MultilocationJunctions;
}
-/** @name XcmV1MultilocationJunctions */
-export interface XcmV1MultilocationJunctions extends Enum {
+/** @name XcmV2MultilocationJunctions */
+export interface XcmV2MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
- readonly asX1: XcmV1Junction;
+ readonly asX1: XcmV2Junction;
readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
+ readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>;
readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX5: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX6: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX7: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX8: boolean;
- readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX8: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
-/** @name XcmV1Order */
-export interface XcmV1Order extends Enum {
- readonly isNoop: boolean;
- readonly isDepositAsset: boolean;
- readonly asDepositAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: u32;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isDepositReserveAsset: boolean;
- readonly asDepositReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: u32;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isExchangeAsset: boolean;
- readonly asExchangeAsset: {
- readonly give: XcmV1MultiassetMultiAssetFilter;
- readonly receive: XcmV1MultiassetMultiAssets;
- } & Struct;
- readonly isInitiateReserveWithdraw: boolean;
- readonly asInitiateReserveWithdraw: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly reserve: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isInitiateTeleport: boolean;
- readonly asInitiateTeleport: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isQueryHolding: boolean;
- readonly asQueryHolding: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV1MultiLocation;
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- } & Struct;
- readonly isBuyExecution: boolean;
- readonly asBuyExecution: {
- readonly fees: XcmV1MultiAsset;
- readonly weight: u64;
- readonly debt: u64;
- readonly haltOnError: bool;
- readonly instructions: Vec<XcmV1Xcm>;
- } & Struct;
- readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
+/** @name XcmV2NetworkId */
+export interface XcmV2NetworkId extends Enum {
+ readonly isAny: boolean;
+ readonly isNamed: boolean;
+ readonly asNamed: Bytes;
+ readonly isPolkadot: boolean;
+ readonly isKusama: boolean;
+ readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
+}
+
+/** @name XcmV2OriginKind */
+export interface XcmV2OriginKind extends Enum {
+ readonly isNative: boolean;
+ readonly isSovereignAccount: boolean;
+ readonly isSuperuser: boolean;
+ readonly isXcm: boolean;
+ readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
-/** @name XcmV1Response */
-export interface XcmV1Response extends Enum {
+/** @name XcmV2Response */
+export interface XcmV2Response extends Enum {
+ readonly isNull: boolean;
readonly isAssets: boolean;
- readonly asAssets: XcmV1MultiassetMultiAssets;
+ readonly asAssets: XcmV2MultiassetMultiAssets;
+ readonly isExecutionResult: boolean;
+ readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
readonly isVersion: boolean;
readonly asVersion: u32;
- readonly type: 'Assets' | 'Version';
+ readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
-/** @name XcmV1Xcm */
-export interface XcmV1Xcm extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isReserveAssetDeposited: boolean;
- readonly asReserveAssetDeposited: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isReceiveTeleportedAsset: boolean;
- readonly asReceiveTeleportedAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isQueryResponse: boolean;
- readonly asQueryResponse: {
- readonly queryId: Compact<u64>;
- readonly response: XcmV1Response;
- } & Struct;
- readonly isTransferAsset: boolean;
- readonly asTransferAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isTransferReserveAsset: boolean;
- readonly asTransferReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: u64;
- readonly call: XcmDoubleEncoded;
- } & Struct;
- readonly isHrmpNewChannelOpenRequest: boolean;
- readonly asHrmpNewChannelOpenRequest: {
- readonly sender: Compact<u32>;
- readonly maxMessageSize: Compact<u32>;
- readonly maxCapacity: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelAccepted: boolean;
- readonly asHrmpChannelAccepted: {
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelClosing: boolean;
- readonly asHrmpChannelClosing: {
- readonly initiator: Compact<u32>;
- readonly sender: Compact<u32>;
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isRelayedFrom: boolean;
- readonly asRelayedFrom: {
- readonly who: XcmV1MultilocationJunctions;
- readonly message: XcmV1Xcm;
- } & Struct;
- readonly isSubscribeVersion: boolean;
- readonly asSubscribeVersion: {
- readonly queryId: Compact<u64>;
- readonly maxResponseWeight: Compact<u64>;
- } & Struct;
- readonly isUnsubscribeVersion: boolean;
- readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
+/** @name XcmV2TraitsError */
+export interface XcmV2TraitsError extends Enum {
+ readonly isOverflow: boolean;
+ readonly isUnimplemented: boolean;
+ readonly isUntrustedReserveLocation: boolean;
+ readonly isUntrustedTeleportLocation: boolean;
+ readonly isMultiLocationFull: boolean;
+ readonly isMultiLocationNotInvertible: boolean;
+ readonly isBadOrigin: boolean;
+ readonly isInvalidLocation: boolean;
+ readonly isAssetNotFound: boolean;
+ readonly isFailedToTransactAsset: boolean;
+ readonly isNotWithdrawable: boolean;
+ readonly isLocationCannotHold: boolean;
+ readonly isExceedsMaxMessageSize: boolean;
+ readonly isDestinationUnsupported: boolean;
+ readonly isTransport: boolean;
+ readonly isUnroutable: boolean;
+ readonly isUnknownClaim: boolean;
+ readonly isFailedToDecode: boolean;
+ readonly isMaxWeightInvalid: boolean;
+ readonly isNotHoldingFees: boolean;
+ readonly isTooExpensive: boolean;
+ readonly isTrap: boolean;
+ readonly asTrap: u64;
+ readonly isUnhandledXcmVersion: boolean;
+ readonly isWeightLimitReached: boolean;
+ readonly asWeightLimitReached: u64;
+ readonly isBarrier: boolean;
+ readonly isWeightNotComputable: boolean;
+ readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
+}
+
+/** @name XcmV2WeightLimit */
+export interface XcmV2WeightLimit extends Enum {
+ readonly isUnlimited: boolean;
+ readonly isLimited: boolean;
+ readonly asLimited: Compact<u64>;
+ readonly type: 'Unlimited' | 'Limited';
}
-/** @name XcmV2Instruction */
-export interface XcmV2Instruction extends Enum {
+/** @name XcmV2Xcm */
+export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+
+/** @name XcmV3Instruction */
+export interface XcmV3Instruction extends Enum {
readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
+ readonly asWithdrawAsset: XcmV3MultiassetMultiAssets;
readonly isReserveAssetDeposited: boolean;
- readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;
+ readonly asReserveAssetDeposited: XcmV3MultiassetMultiAssets;
readonly isReceiveTeleportedAsset: boolean;
- readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;
+ readonly asReceiveTeleportedAsset: XcmV3MultiassetMultiAssets;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
- readonly response: XcmV2Response;
- readonly maxWeight: Compact<u64>;
+ readonly response: XcmV3Response;
+ readonly maxWeight: SpWeightsWeightV2Weight;
+ readonly querier: Option<XcmV3MultiLocation>;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly beneficiary: XcmV1MultiLocation;
+ readonly assets: XcmV3MultiassetMultiAssets;
+ readonly beneficiary: XcmV3MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly dest: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
+ readonly assets: XcmV3MultiassetMultiAssets;
+ readonly dest: XcmV3MultiLocation;
+ readonly xcm: XcmV3Xcm;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: Compact<u64>;
+ readonly originKind: XcmV2OriginKind;
+ readonly requireWeightAtMost: SpWeightsWeightV2Weight;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
@@ -3769,97 +3645,399 @@
} & Struct;
readonly isClearOrigin: boolean;
readonly isDescendOrigin: boolean;
- readonly asDescendOrigin: XcmV1MultilocationJunctions;
+ readonly asDescendOrigin: XcmV3Junctions;
readonly isReportError: boolean;
- readonly asReportError: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV1MultiLocation;
- readonly maxResponseWeight: Compact<u64>;
- } & Struct;
+ readonly asReportError: XcmV3QueryResponseInfo;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: Compact<u32>;
- readonly beneficiary: XcmV1MultiLocation;
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
+ readonly beneficiary: XcmV3MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: Compact<u32>;
- readonly dest: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
+ readonly dest: XcmV3MultiLocation;
+ readonly xcm: XcmV3Xcm;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
- readonly give: XcmV1MultiassetMultiAssetFilter;
- readonly receive: XcmV1MultiassetMultiAssets;
+ readonly give: XcmV3MultiassetMultiAssetFilter;
+ readonly want: XcmV3MultiassetMultiAssets;
+ readonly maximal: bool;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly reserve: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
+ readonly reserve: XcmV3MultiLocation;
+ readonly xcm: XcmV3Xcm;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly dest: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
+ readonly dest: XcmV3MultiLocation;
+ readonly xcm: XcmV3Xcm;
} & Struct;
- readonly isQueryHolding: boolean;
- readonly asQueryHolding: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV1MultiLocation;
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxResponseWeight: Compact<u64>;
+ readonly isReportHolding: boolean;
+ readonly asReportHolding: {
+ readonly responseInfo: XcmV3QueryResponseInfo;
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
- readonly fees: XcmV1MultiAsset;
- readonly weightLimit: XcmV2WeightLimit;
+ readonly fees: XcmV3MultiAsset;
+ readonly weightLimit: XcmV3WeightLimit;
} & Struct;
readonly isRefundSurplus: boolean;
readonly isSetErrorHandler: boolean;
- readonly asSetErrorHandler: XcmV2Xcm;
+ readonly asSetErrorHandler: XcmV3Xcm;
readonly isSetAppendix: boolean;
- readonly asSetAppendix: XcmV2Xcm;
+ readonly asSetAppendix: XcmV3Xcm;
readonly isClearError: boolean;
readonly isClaimAsset: boolean;
readonly asClaimAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly ticket: XcmV1MultiLocation;
+ readonly assets: XcmV3MultiassetMultiAssets;
+ readonly ticket: XcmV3MultiLocation;
} & Struct;
readonly isTrap: boolean;
readonly asTrap: Compact<u64>;
readonly isSubscribeVersion: boolean;
readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
- readonly maxResponseWeight: Compact<u64>;
+ readonly maxResponseWeight: SpWeightsWeightV2Weight;
} & Struct;
readonly isUnsubscribeVersion: boolean;
- readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
+ readonly isBurnAsset: boolean;
+ readonly asBurnAsset: XcmV3MultiassetMultiAssets;
+ readonly isExpectAsset: boolean;
+ readonly asExpectAsset: XcmV3MultiassetMultiAssets;
+ readonly isExpectOrigin: boolean;
+ readonly asExpectOrigin: Option<XcmV3MultiLocation>;
+ readonly isExpectError: boolean;
+ readonly asExpectError: Option<ITuple<[u32, XcmV3TraitsError]>>;
+ readonly isExpectTransactStatus: boolean;
+ readonly asExpectTransactStatus: XcmV3MaybeErrorCode;
+ readonly isQueryPallet: boolean;
+ readonly asQueryPallet: {
+ readonly moduleName: Bytes;
+ readonly responseInfo: XcmV3QueryResponseInfo;
+ } & Struct;
+ readonly isExpectPallet: boolean;
+ readonly asExpectPallet: {
+ readonly index: Compact<u32>;
+ readonly name: Bytes;
+ readonly moduleName: Bytes;
+ readonly crateMajor: Compact<u32>;
+ readonly minCrateMinor: Compact<u32>;
+ } & Struct;
+ readonly isReportTransactStatus: boolean;
+ readonly asReportTransactStatus: XcmV3QueryResponseInfo;
+ readonly isClearTransactStatus: boolean;
+ readonly isUniversalOrigin: boolean;
+ readonly asUniversalOrigin: XcmV3Junction;
+ readonly isExportMessage: boolean;
+ readonly asExportMessage: {
+ readonly network: XcmV3JunctionNetworkId;
+ readonly destination: XcmV3Junctions;
+ readonly xcm: XcmV3Xcm;
+ } & Struct;
+ readonly isLockAsset: boolean;
+ readonly asLockAsset: {
+ readonly asset: XcmV3MultiAsset;
+ readonly unlocker: XcmV3MultiLocation;
+ } & Struct;
+ readonly isUnlockAsset: boolean;
+ readonly asUnlockAsset: {
+ readonly asset: XcmV3MultiAsset;
+ readonly target: XcmV3MultiLocation;
+ } & Struct;
+ readonly isNoteUnlockable: boolean;
+ readonly asNoteUnlockable: {
+ readonly asset: XcmV3MultiAsset;
+ readonly owner: XcmV3MultiLocation;
+ } & Struct;
+ readonly isRequestUnlock: boolean;
+ readonly asRequestUnlock: {
+ readonly asset: XcmV3MultiAsset;
+ readonly locker: XcmV3MultiLocation;
+ } & Struct;
+ readonly isSetFeesMode: boolean;
+ readonly asSetFeesMode: {
+ readonly jitWithdraw: bool;
+ } & Struct;
+ readonly isSetTopic: boolean;
+ readonly asSetTopic: U8aFixed;
+ readonly isClearTopic: boolean;
+ readonly isAliasOrigin: boolean;
+ readonly asAliasOrigin: XcmV3MultiLocation;
+ readonly isUnpaidExecution: boolean;
+ readonly asUnpaidExecution: {
+ readonly weightLimit: XcmV3WeightLimit;
+ readonly checkOrigin: Option<XcmV3MultiLocation>;
+ } & Struct;
+ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution';
}
-/** @name XcmV2Response */
-export interface XcmV2Response extends Enum {
+/** @name XcmV3Junction */
+export interface XcmV3Junction extends Enum {
+ readonly isParachain: boolean;
+ readonly asParachain: Compact<u32>;
+ readonly isAccountId32: boolean;
+ readonly asAccountId32: {
+ readonly network: Option<XcmV3JunctionNetworkId>;
+ readonly id: U8aFixed;
+ } & Struct;
+ readonly isAccountIndex64: boolean;
+ readonly asAccountIndex64: {
+ readonly network: Option<XcmV3JunctionNetworkId>;
+ readonly index: Compact<u64>;
+ } & Struct;
+ readonly isAccountKey20: boolean;
+ readonly asAccountKey20: {
+ readonly network: Option<XcmV3JunctionNetworkId>;
+ readonly key: U8aFixed;
+ } & Struct;
+ readonly isPalletInstance: boolean;
+ readonly asPalletInstance: u8;
+ readonly isGeneralIndex: boolean;
+ readonly asGeneralIndex: Compact<u128>;
+ readonly isGeneralKey: boolean;
+ readonly asGeneralKey: {
+ readonly length: u8;
+ readonly data: U8aFixed;
+ } & Struct;
+ readonly isOnlyChild: boolean;
+ readonly isPlurality: boolean;
+ readonly asPlurality: {
+ readonly id: XcmV3JunctionBodyId;
+ readonly part: XcmV3JunctionBodyPart;
+ } & Struct;
+ readonly isGlobalConsensus: boolean;
+ readonly asGlobalConsensus: XcmV3JunctionNetworkId;
+ readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
+}
+
+/** @name XcmV3JunctionBodyId */
+export interface XcmV3JunctionBodyId extends Enum {
+ readonly isUnit: boolean;
+ readonly isMoniker: boolean;
+ readonly asMoniker: U8aFixed;
+ readonly isIndex: boolean;
+ readonly asIndex: Compact<u32>;
+ readonly isExecutive: boolean;
+ readonly isTechnical: boolean;
+ readonly isLegislative: boolean;
+ readonly isJudicial: boolean;
+ readonly isDefense: boolean;
+ readonly isAdministration: boolean;
+ readonly isTreasury: boolean;
+ readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
+}
+
+/** @name XcmV3JunctionBodyPart */
+export interface XcmV3JunctionBodyPart extends Enum {
+ readonly isVoice: boolean;
+ readonly isMembers: boolean;
+ readonly asMembers: {
+ readonly count: Compact<u32>;
+ } & Struct;
+ readonly isFraction: boolean;
+ readonly asFraction: {
+ readonly nom: Compact<u32>;
+ readonly denom: Compact<u32>;
+ } & Struct;
+ readonly isAtLeastProportion: boolean;
+ readonly asAtLeastProportion: {
+ readonly nom: Compact<u32>;
+ readonly denom: Compact<u32>;
+ } & Struct;
+ readonly isMoreThanProportion: boolean;
+ readonly asMoreThanProportion: {
+ readonly nom: Compact<u32>;
+ readonly denom: Compact<u32>;
+ } & Struct;
+ readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
+}
+
+/** @name XcmV3JunctionNetworkId */
+export interface XcmV3JunctionNetworkId extends Enum {
+ readonly isByGenesis: boolean;
+ readonly asByGenesis: U8aFixed;
+ readonly isByFork: boolean;
+ readonly asByFork: {
+ readonly blockNumber: u64;
+ readonly blockHash: U8aFixed;
+ } & Struct;
+ readonly isPolkadot: boolean;
+ readonly isKusama: boolean;
+ readonly isWestend: boolean;
+ readonly isRococo: boolean;
+ readonly isWococo: boolean;
+ readonly isEthereum: boolean;
+ readonly asEthereum: {
+ readonly chainId: Compact<u64>;
+ } & Struct;
+ readonly isBitcoinCore: boolean;
+ readonly isBitcoinCash: boolean;
+ readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash';
+}
+
+/** @name XcmV3Junctions */
+export interface XcmV3Junctions extends Enum {
+ readonly isHere: boolean;
+ readonly isX1: boolean;
+ readonly asX1: XcmV3Junction;
+ readonly isX2: boolean;
+ readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>;
+ readonly isX3: boolean;
+ readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
+ readonly isX4: boolean;
+ readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
+ readonly isX5: boolean;
+ readonly asX5: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
+ readonly isX6: boolean;
+ readonly asX6: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
+ readonly isX7: boolean;
+ readonly asX7: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
+ readonly isX8: boolean;
+ readonly asX8: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
+ readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
+}
+
+/** @name XcmV3MaybeErrorCode */
+export interface XcmV3MaybeErrorCode extends Enum {
+ readonly isSuccess: boolean;
+ readonly isError: boolean;
+ readonly asError: Bytes;
+ readonly isTruncatedError: boolean;
+ readonly asTruncatedError: Bytes;
+ readonly type: 'Success' | 'Error' | 'TruncatedError';
+}
+
+/** @name XcmV3MultiAsset */
+export interface XcmV3MultiAsset extends Struct {
+ readonly id: XcmV3MultiassetAssetId;
+ readonly fun: XcmV3MultiassetFungibility;
+}
+
+/** @name XcmV3MultiassetAssetId */
+export interface XcmV3MultiassetAssetId extends Enum {
+ readonly isConcrete: boolean;
+ readonly asConcrete: XcmV3MultiLocation;
+ readonly isAbstract: boolean;
+ readonly asAbstract: U8aFixed;
+ readonly type: 'Concrete' | 'Abstract';
+}
+
+/** @name XcmV3MultiassetAssetInstance */
+export interface XcmV3MultiassetAssetInstance extends Enum {
+ readonly isUndefined: boolean;
+ readonly isIndex: boolean;
+ readonly asIndex: Compact<u128>;
+ readonly isArray4: boolean;
+ readonly asArray4: U8aFixed;
+ readonly isArray8: boolean;
+ readonly asArray8: U8aFixed;
+ readonly isArray16: boolean;
+ readonly asArray16: U8aFixed;
+ readonly isArray32: boolean;
+ readonly asArray32: U8aFixed;
+ readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32';
+}
+
+/** @name XcmV3MultiassetFungibility */
+export interface XcmV3MultiassetFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly asFungible: Compact<u128>;
+ readonly isNonFungible: boolean;
+ readonly asNonFungible: XcmV3MultiassetAssetInstance;
+ readonly type: 'Fungible' | 'NonFungible';
+}
+
+/** @name XcmV3MultiassetMultiAssetFilter */
+export interface XcmV3MultiassetMultiAssetFilter extends Enum {
+ readonly isDefinite: boolean;
+ readonly asDefinite: XcmV3MultiassetMultiAssets;
+ readonly isWild: boolean;
+ readonly asWild: XcmV3MultiassetWildMultiAsset;
+ readonly type: 'Definite' | 'Wild';
+}
+
+/** @name XcmV3MultiassetMultiAssets */
+export interface XcmV3MultiassetMultiAssets extends Vec<XcmV3MultiAsset> {}
+
+/** @name XcmV3MultiassetWildFungibility */
+export interface XcmV3MultiassetWildFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly isNonFungible: boolean;
+ readonly type: 'Fungible' | 'NonFungible';
+}
+
+/** @name XcmV3MultiassetWildMultiAsset */
+export interface XcmV3MultiassetWildMultiAsset extends Enum {
+ readonly isAll: boolean;
+ readonly isAllOf: boolean;
+ readonly asAllOf: {
+ readonly id: XcmV3MultiassetAssetId;
+ readonly fun: XcmV3MultiassetWildFungibility;
+ } & Struct;
+ readonly isAllCounted: boolean;
+ readonly asAllCounted: Compact<u32>;
+ readonly isAllOfCounted: boolean;
+ readonly asAllOfCounted: {
+ readonly id: XcmV3MultiassetAssetId;
+ readonly fun: XcmV3MultiassetWildFungibility;
+ readonly count: Compact<u32>;
+ } & Struct;
+ readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted';
+}
+
+/** @name XcmV3MultiLocation */
+export interface XcmV3MultiLocation extends Struct {
+ readonly parents: u8;
+ readonly interior: XcmV3Junctions;
+}
+
+/** @name XcmV3PalletInfo */
+export interface XcmV3PalletInfo extends Struct {
+ readonly index: Compact<u32>;
+ readonly name: Bytes;
+ readonly moduleName: Bytes;
+ readonly major: Compact<u32>;
+ readonly minor: Compact<u32>;
+ readonly patch: Compact<u32>;
+}
+
+/** @name XcmV3QueryResponseInfo */
+export interface XcmV3QueryResponseInfo extends Struct {
+ readonly destination: XcmV3MultiLocation;
+ readonly queryId: Compact<u64>;
+ readonly maxWeight: SpWeightsWeightV2Weight;
+}
+
+/** @name XcmV3Response */
+export interface XcmV3Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
- readonly asAssets: XcmV1MultiassetMultiAssets;
+ readonly asAssets: XcmV3MultiassetMultiAssets;
readonly isExecutionResult: boolean;
- readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
+ readonly asExecutionResult: Option<ITuple<[u32, XcmV3TraitsError]>>;
readonly isVersion: boolean;
readonly asVersion: u32;
- readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
+ readonly isPalletsInfo: boolean;
+ readonly asPalletsInfo: Vec<XcmV3PalletInfo>;
+ readonly isDispatchResult: boolean;
+ readonly asDispatchResult: XcmV3MaybeErrorCode;
+ readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult';
}
-/** @name XcmV2TraitsError */
-export interface XcmV2TraitsError extends Enum {
+/** @name XcmV3TraitsError */
+export interface XcmV3TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
- readonly isMultiLocationFull: boolean;
- readonly isMultiLocationNotInvertible: boolean;
+ readonly isLocationFull: boolean;
+ readonly isLocationNotInvertible: boolean;
readonly isBadOrigin: boolean;
readonly isInvalidLocation: boolean;
readonly isAssetNotFound: boolean;
@@ -3877,72 +4055,100 @@
readonly isTooExpensive: boolean;
readonly isTrap: boolean;
readonly asTrap: u64;
+ readonly isExpectationFalse: boolean;
+ readonly isPalletNotFound: boolean;
+ readonly isNameMismatch: boolean;
+ readonly isVersionIncompatible: boolean;
+ readonly isHoldingWouldOverflow: boolean;
+ readonly isExportError: boolean;
+ readonly isReanchorFailed: boolean;
+ readonly isNoDeal: boolean;
+ readonly isFeesNotMet: boolean;
+ readonly isLockError: boolean;
+ readonly isNoPermission: boolean;
+ readonly isUnanchored: boolean;
+ readonly isNotDepositable: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isWeightLimitReached: boolean;
- readonly asWeightLimitReached: u64;
+ readonly asWeightLimitReached: SpWeightsWeightV2Weight;
readonly isBarrier: boolean;
readonly isWeightNotComputable: boolean;
- readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
+ readonly isExceedsStackLimit: boolean;
+ readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit';
}
-/** @name XcmV2TraitsOutcome */
-export interface XcmV2TraitsOutcome extends Enum {
+/** @name XcmV3TraitsOutcome */
+export interface XcmV3TraitsOutcome extends Enum {
readonly isComplete: boolean;
- readonly asComplete: u64;
+ readonly asComplete: SpWeightsWeightV2Weight;
readonly isIncomplete: boolean;
- readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
+ readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, XcmV3TraitsError]>;
readonly isError: boolean;
- readonly asError: XcmV2TraitsError;
+ readonly asError: XcmV3TraitsError;
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
-/** @name XcmV2WeightLimit */
-export interface XcmV2WeightLimit extends Enum {
+/** @name XcmV3WeightLimit */
+export interface XcmV3WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
- readonly asLimited: Compact<u64>;
+ readonly asLimited: SpWeightsWeightV2Weight;
readonly type: 'Unlimited' | 'Limited';
}
-/** @name XcmV2Xcm */
-export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+/** @name XcmV3Xcm */
+export interface XcmV3Xcm extends Vec<XcmV3Instruction> {}
+
+/** @name XcmVersionedAssetId */
+export interface XcmVersionedAssetId extends Enum {
+ readonly isV3: boolean;
+ readonly asV3: XcmV3MultiassetAssetId;
+ readonly type: 'V3';
+}
/** @name XcmVersionedMultiAsset */
export interface XcmVersionedMultiAsset extends Enum {
- readonly isV0: boolean;
- readonly asV0: XcmV0MultiAsset;
- readonly isV1: boolean;
- readonly asV1: XcmV1MultiAsset;
- readonly type: 'V0' | 'V1';
+ readonly isV2: boolean;
+ readonly asV2: XcmV2MultiAsset;
+ readonly isV3: boolean;
+ readonly asV3: XcmV3MultiAsset;
+ readonly type: 'V2' | 'V3';
}
/** @name XcmVersionedMultiAssets */
export interface XcmVersionedMultiAssets extends Enum {
- readonly isV0: boolean;
- readonly asV0: Vec<XcmV0MultiAsset>;
- readonly isV1: boolean;
- readonly asV1: XcmV1MultiassetMultiAssets;
- readonly type: 'V0' | 'V1';
+ readonly isV2: boolean;
+ readonly asV2: XcmV2MultiassetMultiAssets;
+ readonly isV3: boolean;
+ readonly asV3: XcmV3MultiassetMultiAssets;
+ readonly type: 'V2' | 'V3';
}
/** @name XcmVersionedMultiLocation */
export interface XcmVersionedMultiLocation extends Enum {
- readonly isV0: boolean;
- readonly asV0: XcmV0MultiLocation;
- readonly isV1: boolean;
- readonly asV1: XcmV1MultiLocation;
- readonly type: 'V0' | 'V1';
+ readonly isV2: boolean;
+ readonly asV2: XcmV2MultiLocation;
+ readonly isV3: boolean;
+ readonly asV3: XcmV3MultiLocation;
+ readonly type: 'V2' | 'V3';
+}
+
+/** @name XcmVersionedResponse */
+export interface XcmVersionedResponse extends Enum {
+ readonly isV2: boolean;
+ readonly asV2: XcmV2Response;
+ readonly isV3: boolean;
+ readonly asV3: XcmV3Response;
+ readonly type: 'V2' | 'V3';
}
/** @name XcmVersionedXcm */
export interface XcmVersionedXcm extends Enum {
- readonly isV0: boolean;
- readonly asV0: XcmV0Xcm;
- readonly isV1: boolean;
- readonly asV1: XcmV1Xcm;
readonly isV2: boolean;
readonly asV2: XcmV2Xcm;
- readonly type: 'V0' | 'V1' | 'V2';
+ readonly isV3: boolean;
+ readonly asV3: XcmV3Xcm;
+ readonly type: 'V2' | 'V3';
}
export type PHANTOM_DEFAULT = 'default';
tests/src/interfaces/index.tsdiffbeforeafterboth--- a/tests/src/interfaces/index.ts
+++ b/tests/src/interfaces/index.ts
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './types';
+export * from './types.js';
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -179,12 +179,15 @@
},
DownwardMessagesProcessed: {
weightUsed: 'SpWeightsWeightV2Weight',
- dmqHead: 'H256'
+ dmqHead: 'H256',
+ },
+ UpwardMessageSent: {
+ messageHash: 'Option<[u8;32]>'
}
}
},
/**
- * Lookup30: pallet_collator_selection::pallet::Event<T>
+ * Lookup31: pallet_collator_selection::pallet::Event<T>
**/
PalletCollatorSelectionEvent: {
_enum: {
@@ -211,7 +214,7 @@
}
},
/**
- * Lookup31: pallet_session::pallet::Event
+ * Lookup32: pallet_session::pallet::Event
**/
PalletSessionEvent: {
_enum: {
@@ -221,7 +224,7 @@
}
},
/**
- * Lookup32: pallet_balances::pallet::Event<T, I>
+ * Lookup33: pallet_balances::pallet::Event<T, I>
**/
PalletBalancesEvent: {
_enum: {
@@ -272,13 +275,13 @@
}
},
/**
- * Lookup33: frame_support::traits::tokens::misc::BalanceStatus
+ * Lookup34: frame_support::traits::tokens::misc::BalanceStatus
**/
FrameSupportTokensMiscBalanceStatus: {
_enum: ['Free', 'Reserved']
},
/**
- * Lookup34: pallet_transaction_payment::pallet::Event<T>
+ * Lookup35: pallet_transaction_payment::pallet::Event<T>
**/
PalletTransactionPaymentEvent: {
_enum: {
@@ -290,7 +293,7 @@
}
},
/**
- * Lookup35: pallet_treasury::pallet::Event<T, I>
+ * Lookup36: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
@@ -330,7 +333,7 @@
}
},
/**
- * Lookup36: pallet_sudo::pallet::Event<T>
+ * Lookup37: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -346,7 +349,7 @@
}
},
/**
- * Lookup40: orml_vesting::module::Event<T>
+ * Lookup41: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -365,7 +368,7 @@
}
},
/**
- * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ * Lookup42: orml_vesting::VestingSchedule<BlockNumber, Balance>
**/
OrmlVestingVestingSchedule: {
start: 'u32',
@@ -374,107 +377,122 @@
perPeriod: 'Compact<u128>'
},
/**
- * Lookup43: orml_xtokens::module::Event<T>
+ * Lookup44: orml_xtokens::module::Event<T>
**/
OrmlXtokensModuleEvent: {
_enum: {
TransferredMultiAssets: {
sender: 'AccountId32',
- assets: 'XcmV1MultiassetMultiAssets',
- fee: 'XcmV1MultiAsset',
- dest: 'XcmV1MultiLocation'
+ assets: 'XcmV3MultiassetMultiAssets',
+ fee: 'XcmV3MultiAsset',
+ dest: 'XcmV3MultiLocation'
}
}
},
/**
- * Lookup44: xcm::v1::multiasset::MultiAssets
+ * Lookup45: xcm::v3::multiasset::MultiAssets
**/
- XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
+ XcmV3MultiassetMultiAssets: 'Vec<XcmV3MultiAsset>',
/**
- * Lookup46: xcm::v1::multiasset::MultiAsset
+ * Lookup47: xcm::v3::multiasset::MultiAsset
**/
- XcmV1MultiAsset: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetFungibility'
+ XcmV3MultiAsset: {
+ id: 'XcmV3MultiassetAssetId',
+ fun: 'XcmV3MultiassetFungibility'
},
/**
- * Lookup47: xcm::v1::multiasset::AssetId
+ * Lookup48: xcm::v3::multiasset::AssetId
**/
- XcmV1MultiassetAssetId: {
+ XcmV3MultiassetAssetId: {
_enum: {
- Concrete: 'XcmV1MultiLocation',
- Abstract: 'Bytes'
+ Concrete: 'XcmV3MultiLocation',
+ Abstract: '[u8;32]'
}
},
/**
- * Lookup48: xcm::v1::multilocation::MultiLocation
+ * Lookup49: xcm::v3::multilocation::MultiLocation
**/
- XcmV1MultiLocation: {
+ XcmV3MultiLocation: {
parents: 'u8',
- interior: 'XcmV1MultilocationJunctions'
+ interior: 'XcmV3Junctions'
},
/**
- * Lookup49: xcm::v1::multilocation::Junctions
+ * Lookup50: xcm::v3::junctions::Junctions
**/
- XcmV1MultilocationJunctions: {
+ XcmV3Junctions: {
_enum: {
Here: 'Null',
- X1: 'XcmV1Junction',
- X2: '(XcmV1Junction,XcmV1Junction)',
- X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
+ X1: 'XcmV3Junction',
+ X2: '(XcmV3Junction,XcmV3Junction)',
+ X3: '(XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X4: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X5: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X6: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X7: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X8: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)'
}
},
/**
- * Lookup50: xcm::v1::junction::Junction
+ * Lookup51: xcm::v3::junction::Junction
**/
- XcmV1Junction: {
+ XcmV3Junction: {
_enum: {
Parachain: 'Compact<u32>',
AccountId32: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'Option<XcmV3JunctionNetworkId>',
id: '[u8;32]',
},
AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'Option<XcmV3JunctionNetworkId>',
index: 'Compact<u64>',
},
AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'Option<XcmV3JunctionNetworkId>',
key: '[u8;20]',
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
- GeneralKey: 'Bytes',
+ GeneralKey: {
+ length: 'u8',
+ data: '[u8;32]',
+ },
OnlyChild: 'Null',
Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
- }
+ id: 'XcmV3JunctionBodyId',
+ part: 'XcmV3JunctionBodyPart',
+ },
+ GlobalConsensus: 'XcmV3JunctionNetworkId'
}
},
/**
- * Lookup52: xcm::v0::junction::NetworkId
+ * Lookup54: xcm::v3::junction::NetworkId
**/
- XcmV0JunctionNetworkId: {
+ XcmV3JunctionNetworkId: {
_enum: {
- Any: 'Null',
- Named: 'Bytes',
+ ByGenesis: '[u8;32]',
+ ByFork: {
+ blockNumber: 'u64',
+ blockHash: '[u8;32]',
+ },
Polkadot: 'Null',
- Kusama: 'Null'
+ Kusama: 'Null',
+ Westend: 'Null',
+ Rococo: 'Null',
+ Wococo: 'Null',
+ Ethereum: {
+ chainId: 'Compact<u64>',
+ },
+ BitcoinCore: 'Null',
+ BitcoinCash: 'Null'
}
},
/**
- * Lookup55: xcm::v0::junction::BodyId
+ * Lookup56: xcm::v3::junction::BodyId
**/
- XcmV0JunctionBodyId: {
+ XcmV3JunctionBodyId: {
_enum: {
Unit: 'Null',
- Named: 'Bytes',
+ Moniker: '[u8;4]',
Index: 'Compact<u32>',
Executive: 'Null',
Technical: 'Null',
@@ -486,9 +504,9 @@
}
},
/**
- * Lookup56: xcm::v0::junction::BodyPart
+ * Lookup57: xcm::v3::junction::BodyPart
**/
- XcmV0JunctionBodyPart: {
+ XcmV3JunctionBodyPart: {
_enum: {
Voice: 'Null',
Members: {
@@ -509,30 +527,29 @@
}
},
/**
- * Lookup57: xcm::v1::multiasset::Fungibility
+ * Lookup58: xcm::v3::multiasset::Fungibility
**/
- XcmV1MultiassetFungibility: {
+ XcmV3MultiassetFungibility: {
_enum: {
Fungible: 'Compact<u128>',
- NonFungible: 'XcmV1MultiassetAssetInstance'
+ NonFungible: 'XcmV3MultiassetAssetInstance'
}
},
/**
- * Lookup58: xcm::v1::multiasset::AssetInstance
+ * Lookup59: xcm::v3::multiasset::AssetInstance
**/
- XcmV1MultiassetAssetInstance: {
+ XcmV3MultiassetAssetInstance: {
_enum: {
Undefined: 'Null',
Index: 'Compact<u128>',
Array4: '[u8;4]',
Array8: '[u8;8]',
Array16: '[u8;16]',
- Array32: '[u8;32]',
- Blob: 'Bytes'
+ Array32: '[u8;32]'
}
},
/**
- * Lookup61: orml_tokens::module::Event<T>
+ * Lookup62: orml_tokens::module::Event<T>
**/
OrmlTokensModuleEvent: {
_enum: {
@@ -604,12 +621,22 @@
LockRemoved: {
lockId: '[u8;8]',
currencyId: 'PalletForeignAssetsAssetIds',
- who: 'AccountId32'
+ who: 'AccountId32',
+ },
+ Locked: {
+ currencyId: 'PalletForeignAssetsAssetIds',
+ who: 'AccountId32',
+ amount: 'u128',
+ },
+ Unlocked: {
+ currencyId: 'PalletForeignAssetsAssetIds',
+ who: 'AccountId32',
+ amount: 'u128'
}
}
},
/**
- * Lookup62: pallet_foreign_assets::AssetIds
+ * Lookup63: pallet_foreign_assets::AssetIds
**/
PalletForeignAssetsAssetIds: {
_enum: {
@@ -618,13 +645,13 @@
}
},
/**
- * Lookup63: pallet_foreign_assets::NativeCurrency
+ * Lookup64: pallet_foreign_assets::NativeCurrency
**/
PalletForeignAssetsNativeCurrency: {
_enum: ['Here', 'Parent']
},
/**
- * Lookup64: pallet_identity::pallet::Event<T>
+ * Lookup65: pallet_identity::pallet::Event<T>
**/
PalletIdentityEvent: {
_enum: {
@@ -681,7 +708,7 @@
}
},
/**
- * Lookup65: pallet_preimage::pallet::Event<T>
+ * Lookup66: pallet_preimage::pallet::Event<T>
**/
PalletPreimageEvent: {
_enum: {
@@ -706,30 +733,27 @@
}
},
/**
- * Lookup66: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup67: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
Success: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
weight: 'SpWeightsWeightV2Weight',
},
Fail: {
- messageHash: 'Option<H256>',
- error: 'XcmV2TraitsError',
+ messageHash: 'Option<[u8;32]>',
+ error: 'XcmV3TraitsError',
weight: 'SpWeightsWeightV2Weight',
},
BadVersion: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
},
BadFormat: {
- messageHash: 'Option<H256>',
- },
- UpwardMessageSent: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
},
XcmpMessageSent: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
},
OverweightEnqueued: {
sender: 'u32',
@@ -744,16 +768,16 @@
}
},
/**
- * Lookup68: xcm::v2::traits::Error
+ * Lookup68: xcm::v3::traits::Error
**/
- XcmV2TraitsError: {
+ XcmV3TraitsError: {
_enum: {
Overflow: 'Null',
Unimplemented: 'Null',
UntrustedReserveLocation: 'Null',
UntrustedTeleportLocation: 'Null',
- MultiLocationFull: 'Null',
- MultiLocationNotInvertible: 'Null',
+ LocationFull: 'Null',
+ LocationNotInvertible: 'Null',
BadOrigin: 'Null',
InvalidLocation: 'Null',
AssetNotFound: 'Null',
@@ -770,10 +794,24 @@
NotHoldingFees: 'Null',
TooExpensive: 'Null',
Trap: 'u64',
+ ExpectationFalse: 'Null',
+ PalletNotFound: 'Null',
+ NameMismatch: 'Null',
+ VersionIncompatible: 'Null',
+ HoldingWouldOverflow: 'Null',
+ ExportError: 'Null',
+ ReanchorFailed: 'Null',
+ NoDeal: 'Null',
+ FeesNotMet: 'Null',
+ LockError: 'Null',
+ NoPermission: 'Null',
+ Unanchored: 'Null',
+ NotDepositable: 'Null',
UnhandledXcmVersion: 'Null',
- WeightLimitReached: 'u64',
+ WeightLimitReached: 'SpWeightsWeightV2Weight',
Barrier: 'Null',
- WeightNotComputable: 'Null'
+ WeightNotComputable: 'Null',
+ ExceedsStackLimit: 'Null'
}
},
/**
@@ -781,64 +819,71 @@
**/
PalletXcmEvent: {
_enum: {
- Attempted: 'XcmV2TraitsOutcome',
- Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',
- UnexpectedResponse: '(XcmV1MultiLocation,u64)',
- ResponseReady: '(u64,XcmV2Response)',
+ Attempted: 'XcmV3TraitsOutcome',
+ Sent: '(XcmV3MultiLocation,XcmV3MultiLocation,XcmV3Xcm)',
+ UnexpectedResponse: '(XcmV3MultiLocation,u64)',
+ ResponseReady: '(u64,XcmV3Response)',
Notified: '(u64,u8,u8)',
NotifyOverweight: '(u64,u8,u8,SpWeightsWeightV2Weight,SpWeightsWeightV2Weight)',
NotifyDispatchError: '(u64,u8,u8)',
NotifyDecodeFailed: '(u64,u8,u8)',
- InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',
- InvalidResponderVersion: '(XcmV1MultiLocation,u64)',
+ InvalidResponder: '(XcmV3MultiLocation,u64,Option<XcmV3MultiLocation>)',
+ InvalidResponderVersion: '(XcmV3MultiLocation,u64)',
ResponseTaken: 'u64',
- AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',
- VersionChangeNotified: '(XcmV1MultiLocation,u32)',
- SupportedVersionChanged: '(XcmV1MultiLocation,u32)',
- NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',
+ AssetsTrapped: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)',
+ VersionChangeNotified: '(XcmV3MultiLocation,u32,XcmV3MultiassetMultiAssets)',
+ SupportedVersionChanged: '(XcmV3MultiLocation,u32)',
+ NotifyTargetSendFail: '(XcmV3MultiLocation,u64,XcmV3TraitsError)',
NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)',
- AssetsClaimed: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)'
+ InvalidQuerierVersion: '(XcmV3MultiLocation,u64)',
+ InvalidQuerier: '(XcmV3MultiLocation,u64,XcmV3MultiLocation,Option<XcmV3MultiLocation>)',
+ VersionNotifyStarted: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ VersionNotifyRequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ VersionNotifyUnrequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ FeesPaid: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ AssetsClaimed: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)'
}
},
/**
- * Lookup71: xcm::v2::traits::Outcome
+ * Lookup71: xcm::v3::traits::Outcome
**/
- XcmV2TraitsOutcome: {
+ XcmV3TraitsOutcome: {
_enum: {
- Complete: 'u64',
- Incomplete: '(u64,XcmV2TraitsError)',
- Error: 'XcmV2TraitsError'
+ Complete: 'SpWeightsWeightV2Weight',
+ Incomplete: '(SpWeightsWeightV2Weight,XcmV3TraitsError)',
+ Error: 'XcmV3TraitsError'
}
},
/**
- * Lookup72: xcm::v2::Xcm<RuntimeCall>
+ * Lookup72: xcm::v3::Xcm<Call>
**/
- XcmV2Xcm: 'Vec<XcmV2Instruction>',
+ XcmV3Xcm: 'Vec<XcmV3Instruction>',
/**
- * Lookup74: xcm::v2::Instruction<RuntimeCall>
+ * Lookup74: xcm::v3::Instruction<Call>
**/
- XcmV2Instruction: {
+ XcmV3Instruction: {
_enum: {
- WithdrawAsset: 'XcmV1MultiassetMultiAssets',
- ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',
- ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',
+ WithdrawAsset: 'XcmV3MultiassetMultiAssets',
+ ReserveAssetDeposited: 'XcmV3MultiassetMultiAssets',
+ ReceiveTeleportedAsset: 'XcmV3MultiassetMultiAssets',
QueryResponse: {
queryId: 'Compact<u64>',
- response: 'XcmV2Response',
- maxWeight: 'Compact<u64>',
+ response: 'XcmV3Response',
+ maxWeight: 'SpWeightsWeightV2Weight',
+ querier: 'Option<XcmV3MultiLocation>',
},
TransferAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- beneficiary: 'XcmV1MultiLocation',
+ assets: 'XcmV3MultiassetMultiAssets',
+ beneficiary: 'XcmV3MultiLocation',
},
TransferReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssets',
+ dest: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'Compact<u64>',
+ originKind: 'XcmV2OriginKind',
+ requireWeightAtMost: 'SpWeightsWeightV2Weight',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
@@ -855,203 +900,272 @@
recipient: 'Compact<u32>',
},
ClearOrigin: 'Null',
- DescendOrigin: 'XcmV1MultilocationJunctions',
- ReportError: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- maxResponseWeight: 'Compact<u64>',
- },
+ DescendOrigin: 'XcmV3Junctions',
+ ReportError: 'XcmV3QueryResponseInfo',
DepositAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- beneficiary: 'XcmV1MultiLocation',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ beneficiary: 'XcmV3MultiLocation',
},
DepositReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ dest: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
ExchangeAsset: {
- give: 'XcmV1MultiassetMultiAssetFilter',
- receive: 'XcmV1MultiassetMultiAssets',
+ give: 'XcmV3MultiassetMultiAssetFilter',
+ want: 'XcmV3MultiassetMultiAssets',
+ maximal: 'bool',
},
InitiateReserveWithdraw: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- reserve: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ reserve: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
InitiateTeleport: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ dest: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxResponseWeight: 'Compact<u64>',
+ ReportHolding: {
+ responseInfo: 'XcmV3QueryResponseInfo',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
},
BuyExecution: {
- fees: 'XcmV1MultiAsset',
- weightLimit: 'XcmV2WeightLimit',
+ fees: 'XcmV3MultiAsset',
+ weightLimit: 'XcmV3WeightLimit',
},
RefundSurplus: 'Null',
- SetErrorHandler: 'XcmV2Xcm',
- SetAppendix: 'XcmV2Xcm',
+ SetErrorHandler: 'XcmV3Xcm',
+ SetAppendix: 'XcmV3Xcm',
ClearError: 'Null',
ClaimAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- ticket: 'XcmV1MultiLocation',
+ assets: 'XcmV3MultiassetMultiAssets',
+ ticket: 'XcmV3MultiLocation',
},
Trap: 'Compact<u64>',
SubscribeVersion: {
queryId: 'Compact<u64>',
- maxResponseWeight: 'Compact<u64>',
+ maxResponseWeight: 'SpWeightsWeightV2Weight',
+ },
+ UnsubscribeVersion: 'Null',
+ BurnAsset: 'XcmV3MultiassetMultiAssets',
+ ExpectAsset: 'XcmV3MultiassetMultiAssets',
+ ExpectOrigin: 'Option<XcmV3MultiLocation>',
+ ExpectError: 'Option<(u32,XcmV3TraitsError)>',
+ ExpectTransactStatus: 'XcmV3MaybeErrorCode',
+ QueryPallet: {
+ moduleName: 'Bytes',
+ responseInfo: 'XcmV3QueryResponseInfo',
},
- UnsubscribeVersion: 'Null'
+ ExpectPallet: {
+ index: 'Compact<u32>',
+ name: 'Bytes',
+ moduleName: 'Bytes',
+ crateMajor: 'Compact<u32>',
+ minCrateMinor: 'Compact<u32>',
+ },
+ ReportTransactStatus: 'XcmV3QueryResponseInfo',
+ ClearTransactStatus: 'Null',
+ UniversalOrigin: 'XcmV3Junction',
+ ExportMessage: {
+ network: 'XcmV3JunctionNetworkId',
+ destination: 'XcmV3Junctions',
+ xcm: 'XcmV3Xcm',
+ },
+ LockAsset: {
+ asset: 'XcmV3MultiAsset',
+ unlocker: 'XcmV3MultiLocation',
+ },
+ UnlockAsset: {
+ asset: 'XcmV3MultiAsset',
+ target: 'XcmV3MultiLocation',
+ },
+ NoteUnlockable: {
+ asset: 'XcmV3MultiAsset',
+ owner: 'XcmV3MultiLocation',
+ },
+ RequestUnlock: {
+ asset: 'XcmV3MultiAsset',
+ locker: 'XcmV3MultiLocation',
+ },
+ SetFeesMode: {
+ jitWithdraw: 'bool',
+ },
+ SetTopic: '[u8;32]',
+ ClearTopic: 'Null',
+ AliasOrigin: 'XcmV3MultiLocation',
+ UnpaidExecution: {
+ weightLimit: 'XcmV3WeightLimit',
+ checkOrigin: 'Option<XcmV3MultiLocation>'
+ }
}
},
/**
- * Lookup75: xcm::v2::Response
+ * Lookup75: xcm::v3::Response
**/
- XcmV2Response: {
+ XcmV3Response: {
_enum: {
Null: 'Null',
- Assets: 'XcmV1MultiassetMultiAssets',
- ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
- Version: 'u32'
+ Assets: 'XcmV3MultiassetMultiAssets',
+ ExecutionResult: 'Option<(u32,XcmV3TraitsError)>',
+ Version: 'u32',
+ PalletsInfo: 'Vec<XcmV3PalletInfo>',
+ DispatchResult: 'XcmV3MaybeErrorCode'
+ }
+ },
+ /**
+ * Lookup79: xcm::v3::PalletInfo
+ **/
+ XcmV3PalletInfo: {
+ index: 'Compact<u32>',
+ name: 'Bytes',
+ moduleName: 'Bytes',
+ major: 'Compact<u32>',
+ minor: 'Compact<u32>',
+ patch: 'Compact<u32>'
+ },
+ /**
+ * Lookup82: xcm::v3::MaybeErrorCode
+ **/
+ XcmV3MaybeErrorCode: {
+ _enum: {
+ Success: 'Null',
+ Error: 'Bytes',
+ TruncatedError: 'Bytes'
}
},
/**
- * Lookup78: xcm::v0::OriginKind
+ * Lookup85: xcm::v2::OriginKind
**/
- XcmV0OriginKind: {
+ XcmV2OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
- * Lookup79: xcm::double_encoded::DoubleEncoded<T>
+ * Lookup86: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
- * Lookup80: xcm::v1::multiasset::MultiAssetFilter
+ * Lookup87: xcm::v3::QueryResponseInfo
+ **/
+ XcmV3QueryResponseInfo: {
+ destination: 'XcmV3MultiLocation',
+ queryId: 'Compact<u64>',
+ maxWeight: 'SpWeightsWeightV2Weight'
+ },
+ /**
+ * Lookup88: xcm::v3::multiasset::MultiAssetFilter
**/
- XcmV1MultiassetMultiAssetFilter: {
+ XcmV3MultiassetMultiAssetFilter: {
_enum: {
- Definite: 'XcmV1MultiassetMultiAssets',
- Wild: 'XcmV1MultiassetWildMultiAsset'
+ Definite: 'XcmV3MultiassetMultiAssets',
+ Wild: 'XcmV3MultiassetWildMultiAsset'
}
},
/**
- * Lookup81: xcm::v1::multiasset::WildMultiAsset
+ * Lookup89: xcm::v3::multiasset::WildMultiAsset
**/
- XcmV1MultiassetWildMultiAsset: {
+ XcmV3MultiassetWildMultiAsset: {
_enum: {
All: 'Null',
AllOf: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetWildFungibility'
+ id: 'XcmV3MultiassetAssetId',
+ fun: 'XcmV3MultiassetWildFungibility',
+ },
+ AllCounted: 'Compact<u32>',
+ AllOfCounted: {
+ id: 'XcmV3MultiassetAssetId',
+ fun: 'XcmV3MultiassetWildFungibility',
+ count: 'Compact<u32>'
}
}
},
/**
- * Lookup82: xcm::v1::multiasset::WildFungibility
+ * Lookup90: xcm::v3::multiasset::WildFungibility
**/
- XcmV1MultiassetWildFungibility: {
+ XcmV3MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
- * Lookup83: xcm::v2::WeightLimit
+ * Lookup92: xcm::v3::WeightLimit
**/
- XcmV2WeightLimit: {
+ XcmV3WeightLimit: {
_enum: {
Unlimited: 'Null',
- Limited: 'Compact<u64>'
+ Limited: 'SpWeightsWeightV2Weight'
}
},
/**
- * Lookup85: xcm::VersionedMultiAssets
+ * Lookup93: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
- V0: 'Vec<XcmV0MultiAsset>',
- V1: 'XcmV1MultiassetMultiAssets'
+ __Unused0: 'Null',
+ V2: 'XcmV2MultiassetMultiAssets',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiassetMultiAssets'
}
},
/**
- * Lookup87: xcm::v0::multi_asset::MultiAsset
+ * Lookup94: xcm::v2::multiasset::MultiAssets
+ **/
+ XcmV2MultiassetMultiAssets: 'Vec<XcmV2MultiAsset>',
+ /**
+ * Lookup96: xcm::v2::multiasset::MultiAsset
+ **/
+ XcmV2MultiAsset: {
+ id: 'XcmV2MultiassetAssetId',
+ fun: 'XcmV2MultiassetFungibility'
+ },
+ /**
+ * Lookup97: xcm::v2::multiasset::AssetId
**/
- XcmV0MultiAsset: {
+ XcmV2MultiassetAssetId: {
_enum: {
- None: 'Null',
- All: 'Null',
- AllFungible: 'Null',
- AllNonFungible: 'Null',
- AllAbstractFungible: {
- id: 'Bytes',
- },
- AllAbstractNonFungible: {
- class: 'Bytes',
- },
- AllConcreteFungible: {
- id: 'XcmV0MultiLocation',
- },
- AllConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- },
- AbstractFungible: {
- id: 'Bytes',
- amount: 'Compact<u128>',
- },
- AbstractNonFungible: {
- class: 'Bytes',
- instance: 'XcmV1MultiassetAssetInstance',
- },
- ConcreteFungible: {
- id: 'XcmV0MultiLocation',
- amount: 'Compact<u128>',
- },
- ConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- instance: 'XcmV1MultiassetAssetInstance'
- }
+ Concrete: 'XcmV2MultiLocation',
+ Abstract: 'Bytes'
}
},
/**
- * Lookup88: xcm::v0::multi_location::MultiLocation
+ * Lookup98: xcm::v2::multilocation::MultiLocation
+ **/
+ XcmV2MultiLocation: {
+ parents: 'u8',
+ interior: 'XcmV2MultilocationJunctions'
+ },
+ /**
+ * Lookup99: xcm::v2::multilocation::Junctions
**/
- XcmV0MultiLocation: {
+ XcmV2MultilocationJunctions: {
_enum: {
- Null: 'Null',
- X1: 'XcmV0Junction',
- X2: '(XcmV0Junction,XcmV0Junction)',
- X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
+ Here: 'Null',
+ X1: 'XcmV2Junction',
+ X2: '(XcmV2Junction,XcmV2Junction)',
+ X3: '(XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X4: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X5: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X6: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X7: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X8: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)'
}
},
/**
- * Lookup89: xcm::v0::junction::Junction
+ * Lookup100: xcm::v2::junction::Junction
**/
- XcmV0Junction: {
+ XcmV2Junction: {
_enum: {
- Parent: 'Null',
Parachain: 'Compact<u32>',
AccountId32: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'XcmV2NetworkId',
id: '[u8;32]',
},
AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'XcmV2NetworkId',
index: 'Compact<u64>',
},
AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'XcmV2NetworkId',
key: '[u8;20]',
},
PalletInstance: 'u8',
@@ -1059,32 +1173,108 @@
GeneralKey: 'Bytes',
OnlyChild: 'Null',
Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
+ id: 'XcmV2BodyId',
+ part: 'XcmV2BodyPart'
+ }
+ }
+ },
+ /**
+ * Lookup101: xcm::v2::NetworkId
+ **/
+ XcmV2NetworkId: {
+ _enum: {
+ Any: 'Null',
+ Named: 'Bytes',
+ Polkadot: 'Null',
+ Kusama: 'Null'
+ }
+ },
+ /**
+ * Lookup103: xcm::v2::BodyId
+ **/
+ XcmV2BodyId: {
+ _enum: {
+ Unit: 'Null',
+ Named: 'Bytes',
+ Index: 'Compact<u32>',
+ Executive: 'Null',
+ Technical: 'Null',
+ Legislative: 'Null',
+ Judicial: 'Null',
+ Defense: 'Null',
+ Administration: 'Null',
+ Treasury: 'Null'
+ }
+ },
+ /**
+ * Lookup104: xcm::v2::BodyPart
+ **/
+ XcmV2BodyPart: {
+ _enum: {
+ Voice: 'Null',
+ Members: {
+ count: 'Compact<u32>',
+ },
+ Fraction: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>',
+ },
+ AtLeastProportion: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>',
+ },
+ MoreThanProportion: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>'
}
}
},
/**
- * Lookup90: xcm::VersionedMultiLocation
+ * Lookup105: xcm::v2::multiasset::Fungibility
+ **/
+ XcmV2MultiassetFungibility: {
+ _enum: {
+ Fungible: 'Compact<u128>',
+ NonFungible: 'XcmV2MultiassetAssetInstance'
+ }
+ },
+ /**
+ * Lookup106: xcm::v2::multiasset::AssetInstance
**/
+ XcmV2MultiassetAssetInstance: {
+ _enum: {
+ Undefined: 'Null',
+ Index: 'Compact<u128>',
+ Array4: '[u8;4]',
+ Array8: '[u8;8]',
+ Array16: '[u8;16]',
+ Array32: '[u8;32]',
+ Blob: 'Bytes'
+ }
+ },
+ /**
+ * Lookup107: xcm::VersionedMultiLocation
+ **/
XcmVersionedMultiLocation: {
_enum: {
- V0: 'XcmV0MultiLocation',
- V1: 'XcmV1MultiLocation'
+ __Unused0: 'Null',
+ V2: 'XcmV2MultiLocation',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiLocation'
}
},
/**
- * Lookup91: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup108: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
- InvalidFormat: '[u8;8]',
- UnsupportedVersion: '[u8;8]',
- ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
+ InvalidFormat: '[u8;32]',
+ UnsupportedVersion: '[u8;32]',
+ ExecutedDownward: '([u8;32],XcmV3TraitsOutcome)'
}
},
/**
- * Lookup92: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup109: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1096,7 +1286,7 @@
},
ExecutedDownward: {
messageId: '[u8;32]',
- outcome: 'XcmV2TraitsOutcome',
+ outcome: 'XcmV3TraitsOutcome',
},
WeightExhausted: {
messageId: '[u8;32]',
@@ -1110,12 +1300,15 @@
},
OverweightServiced: {
overweightIndex: 'u64',
- weightUsed: 'SpWeightsWeightV2Weight'
+ weightUsed: 'SpWeightsWeightV2Weight',
+ },
+ MaxMessagesExhausted: {
+ messageId: '[u8;32]'
}
}
},
/**
- * Lookup93: pallet_configuration::pallet::Event<T>
+ * Lookup110: pallet_configuration::pallet::Event<T>
**/
PalletConfigurationEvent: {
_enum: {
@@ -1131,7 +1324,7 @@
}
},
/**
- * Lookup96: pallet_common::pallet::Event<T>
+ * Lookup113: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1160,7 +1353,7 @@
}
},
/**
- * Lookup99: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup116: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletEvmAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1169,7 +1362,7 @@
}
},
/**
- * Lookup103: pallet_structure::pallet::Event<T>
+ * Lookup119: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -1177,7 +1370,7 @@
}
},
/**
- * Lookup104: pallet_app_promotion::pallet::Event<T>
+ * Lookup120: pallet_app_promotion::pallet::Event<T>
**/
PalletAppPromotionEvent: {
_enum: {
@@ -1188,18 +1381,18 @@
}
},
/**
- * Lookup105: pallet_foreign_assets::module::Event<T>
+ * Lookup121: pallet_foreign_assets::module::Event<T>
**/
PalletForeignAssetsModuleEvent: {
_enum: {
ForeignAssetRegistered: {
assetId: 'u32',
- assetAddress: 'XcmV1MultiLocation',
+ assetAddress: 'XcmV3MultiLocation',
metadata: 'PalletForeignAssetsModuleAssetMetadata',
},
ForeignAssetUpdated: {
assetId: 'u32',
- assetAddress: 'XcmV1MultiLocation',
+ assetAddress: 'XcmV3MultiLocation',
metadata: 'PalletForeignAssetsModuleAssetMetadata',
},
AssetRegistered: {
@@ -1213,7 +1406,7 @@
}
},
/**
- * Lookup106: pallet_foreign_assets::module::AssetMetadata<Balance>
+ * Lookup122: pallet_foreign_assets::module::AssetMetadata<Balance>
**/
PalletForeignAssetsModuleAssetMetadata: {
name: 'Bytes',
@@ -1222,7 +1415,7 @@
minimalBalance: 'u128'
},
/**
- * Lookup107: pallet_evm::pallet::Event<T>
+ * Lookup125: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1244,7 +1437,7 @@
}
},
/**
- * Lookup108: ethereum::log::Log
+ * Lookup126: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1252,7 +1445,7 @@
data: 'Bytes'
},
/**
- * Lookup110: pallet_ethereum::pallet::Event
+ * Lookup128: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1265,7 +1458,7 @@
}
},
/**
- * Lookup111: evm_core::error::ExitReason
+ * Lookup129: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1276,13 +1469,13 @@
}
},
/**
- * Lookup112: evm_core::error::ExitSucceed
+ * Lookup130: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup113: evm_core::error::ExitError
+ * Lookup131: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1305,13 +1498,13 @@
}
},
/**
- * Lookup117: evm_core::error::ExitRevert
+ * Lookup135: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup118: evm_core::error::ExitFatal
+ * Lookup136: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1322,7 +1515,7 @@
}
},
/**
- * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>
+ * Lookup137: pallet_evm_contract_helpers::pallet::Event<T>
**/
PalletEvmContractHelpersEvent: {
_enum: {
@@ -1332,25 +1525,25 @@
}
},
/**
- * Lookup120: pallet_evm_migration::pallet::Event<T>
+ * Lookup138: pallet_evm_migration::pallet::Event<T>
**/
PalletEvmMigrationEvent: {
_enum: ['TestEvent']
},
/**
- * Lookup121: pallet_maintenance::pallet::Event<T>
+ * Lookup139: pallet_maintenance::pallet::Event<T>
**/
PalletMaintenanceEvent: {
_enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
},
/**
- * Lookup122: pallet_test_utils::pallet::Event<T>
+ * Lookup140: pallet_test_utils::pallet::Event<T>
**/
PalletTestUtilsEvent: {
_enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']
},
/**
- * Lookup123: frame_system::Phase
+ * Lookup141: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1360,14 +1553,14 @@
}
},
/**
- * Lookup126: frame_system::LastRuntimeUpgradeInfo
+ * Lookup144: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup127: frame_system::pallet::Call<T>
+ * Lookup145: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1402,7 +1595,7 @@
}
},
/**
- * Lookup131: frame_system::limits::BlockWeights
+ * Lookup149: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'SpWeightsWeightV2Weight',
@@ -1410,7 +1603,7 @@
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
},
/**
- * Lookup132: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup150: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1418,7 +1611,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup133: frame_system::limits::WeightsPerClass
+ * Lookup151: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'SpWeightsWeightV2Weight',
@@ -1427,13 +1620,13 @@
reserved: 'Option<SpWeightsWeightV2Weight>'
},
/**
- * Lookup135: frame_system::limits::BlockLength
+ * Lookup153: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportDispatchPerDispatchClassU32'
},
/**
- * Lookup136: frame_support::dispatch::PerDispatchClass<T>
+ * Lookup154: frame_support::dispatch::PerDispatchClass<T>
**/
FrameSupportDispatchPerDispatchClassU32: {
normal: 'u32',
@@ -1441,14 +1634,14 @@
mandatory: 'u32'
},
/**
- * Lookup137: sp_weights::RuntimeDbWeight
+ * Lookup155: sp_weights::RuntimeDbWeight
**/
SpWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup138: sp_version::RuntimeVersion
+ * Lookup156: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1461,13 +1654,13 @@
stateVersion: 'u8'
},
/**
- * Lookup143: frame_system::pallet::Error<T>
+ * Lookup161: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup144: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup162: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1476,19 +1669,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup147: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup165: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup148: sp_trie::storage_proof::StorageProof
+ * Lookup166: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup150: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup168: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1497,7 +1690,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup153: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup171: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1508,7 +1701,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup154: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup173: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1522,14 +1715,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup160: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup179: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup161: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup180: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1548,7 +1741,7 @@
}
},
/**
- * Lookup162: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup181: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1557,66 +1750,31 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup164: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup183: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup167: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup186: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup170: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup189: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup172: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
+ * Lookup190: parachain_info::pallet::Call<T>
**/
- PalletAuthorshipUncleEntryItem: {
- _enum: {
- InclusionHeight: 'u32',
- Uncle: '(H256,Option<AccountId32>)'
- }
- },
+ ParachainInfoCall: 'Null',
/**
- * Lookup174: pallet_authorship::pallet::Call<T>
- **/
- PalletAuthorshipCall: {
- _enum: {
- set_uncles: {
- newUncles: 'Vec<SpRuntimeHeader>'
- }
- }
- },
- /**
- * Lookup176: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
- **/
- SpRuntimeHeader: {
- parentHash: 'H256',
- number: 'Compact<u32>',
- stateRoot: 'H256',
- extrinsicsRoot: 'H256',
- digest: 'SpRuntimeDigest'
- },
- /**
- * Lookup177: sp_runtime::traits::BlakeTwo256
- **/
- SpRuntimeBlakeTwo256: 'Null',
- /**
- * Lookup178: pallet_authorship::pallet::Error<T>
- **/
- PalletAuthorshipError: {
- _enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
- },
- /**
- * Lookup181: pallet_collator_selection::pallet::Call<T>
+ * Lookup193: pallet_collator_selection::pallet::Call<T>
**/
PalletCollatorSelectionCall: {
_enum: {
@@ -1639,31 +1797,31 @@
}
},
/**
- * Lookup182: pallet_collator_selection::pallet::Error<T>
+ * Lookup194: pallet_collator_selection::pallet::Error<T>
**/
PalletCollatorSelectionError: {
_enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']
},
/**
- * Lookup185: opal_runtime::runtime_common::SessionKeys
+ * Lookup197: opal_runtime::runtime_common::SessionKeys
**/
OpalRuntimeRuntimeCommonSessionKeys: {
aura: 'SpConsensusAuraSr25519AppSr25519Public'
},
/**
- * Lookup186: sp_consensus_aura::sr25519::app_sr25519::Public
+ * Lookup198: sp_consensus_aura::sr25519::app_sr25519::Public
**/
SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
/**
- * Lookup187: sp_core::sr25519::Public
+ * Lookup199: sp_core::sr25519::Public
**/
SpCoreSr25519Public: '[u8;32]',
/**
- * Lookup190: sp_core::crypto::KeyTypeId
+ * Lookup202: sp_core::crypto::KeyTypeId
**/
SpCoreCryptoKeyTypeId: '[u8;4]',
/**
- * Lookup191: pallet_session::pallet::Call<T>
+ * Lookup203: pallet_session::pallet::Call<T>
**/
PalletSessionCall: {
_enum: {
@@ -1678,13 +1836,13 @@
}
},
/**
- * Lookup192: pallet_session::pallet::Error<T>
+ * Lookup204: pallet_session::pallet::Error<T>
**/
PalletSessionError: {
_enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
},
/**
- * Lookup194: pallet_balances::BalanceLock<Balance>
+ * Lookup209: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -1692,20 +1850,20 @@
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup195: pallet_balances::Reasons
+ * Lookup210: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup198: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup213: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup200: pallet_balances::pallet::Call<T, I>
+ * Lookup215: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1738,13 +1896,13 @@
}
},
/**
- * Lookup203: pallet_balances::pallet::Error<T, I>
+ * Lookup218: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup205: pallet_timestamp::pallet::Call<T>
+ * Lookup219: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1754,13 +1912,13 @@
}
},
/**
- * Lookup207: pallet_transaction_payment::Releases
+ * Lookup221: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup208: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup222: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1769,7 +1927,7 @@
bond: 'u128'
},
/**
- * Lookup210: pallet_treasury::pallet::Call<T, I>
+ * Lookup224: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1793,17 +1951,17 @@
}
},
/**
- * Lookup212: frame_support::PalletId
+ * Lookup226: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup213: pallet_treasury::pallet::Error<T, I>
+ * Lookup227: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup214: pallet_sudo::pallet::Call<T>
+ * Lookup228: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1827,7 +1985,7 @@
}
},
/**
- * Lookup216: orml_vesting::module::Call<T>
+ * Lookup230: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1846,7 +2004,7 @@
}
},
/**
- * Lookup218: orml_xtokens::module::Call<T>
+ * Lookup232: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1854,51 +2012,53 @@
currencyId: 'PalletForeignAssetsAssetIds',
amount: 'u128',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multiasset: {
asset: 'XcmVersionedMultiAsset',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_with_fee: {
currencyId: 'PalletForeignAssetsAssetIds',
amount: 'u128',
fee: 'u128',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multiasset_with_fee: {
asset: 'XcmVersionedMultiAsset',
fee: 'XcmVersionedMultiAsset',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multicurrencies: {
currencies: 'Vec<(PalletForeignAssetsAssetIds,u128)>',
feeItem: 'u32',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multiassets: {
assets: 'XcmVersionedMultiAssets',
feeItem: 'u32',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit'
+ destWeightLimit: 'XcmV3WeightLimit'
}
}
},
/**
- * Lookup219: xcm::VersionedMultiAsset
+ * Lookup233: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
- V0: 'XcmV0MultiAsset',
- V1: 'XcmV1MultiAsset'
+ __Unused0: 'Null',
+ V2: 'XcmV2MultiAsset',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiAsset'
}
},
/**
- * Lookup222: orml_tokens::module::Call<T>
+ * Lookup236: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1932,7 +2092,7 @@
}
},
/**
- * Lookup223: pallet_identity::pallet::Call<T>
+ * Lookup237: pallet_identity::pallet::Call<T>
**/
PalletIdentityCall: {
_enum: {
@@ -2001,7 +2161,7 @@
}
},
/**
- * Lookup224: pallet_identity::types::IdentityInfo<FieldLimit>
+ * Lookup238: pallet_identity::types::IdentityInfo<FieldLimit>
**/
PalletIdentityIdentityInfo: {
additional: 'Vec<(Data,Data)>',
@@ -2015,7 +2175,7 @@
twitter: 'Data'
},
/**
- * Lookup260: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
+ * Lookup274: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
**/
PalletIdentityBitFlags: {
_bitLength: 64,
@@ -2029,13 +2189,13 @@
Twitter: 128
},
/**
- * Lookup261: pallet_identity::types::IdentityField
+ * Lookup275: pallet_identity::types::IdentityField
**/
PalletIdentityIdentityField: {
_enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter']
},
/**
- * Lookup262: pallet_identity::types::Judgement<Balance>
+ * Lookup276: pallet_identity::types::Judgement<Balance>
**/
PalletIdentityJudgement: {
_enum: {
@@ -2049,7 +2209,7 @@
}
},
/**
- * Lookup265: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
+ * Lookup279: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
**/
PalletIdentityRegistration: {
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
@@ -2057,7 +2217,7 @@
info: 'PalletIdentityIdentityInfo'
},
/**
- * Lookup273: pallet_preimage::pallet::Call<T>
+ * Lookup287: pallet_preimage::pallet::Call<T>
**/
PalletPreimageCall: {
_enum: {
@@ -2085,13 +2245,13 @@
}
},
/**
- * Lookup274: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup288: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
service_overweight: {
index: 'u64',
- weightLimit: 'u64',
+ weightLimit: 'SpWeightsWeightV2Weight',
},
suspend_xcm_execution: 'Null',
resume_xcm_execution: 'Null',
@@ -2117,24 +2277,24 @@
_alias: {
new_: 'new',
},
- new_: 'u64',
+ new_: 'SpWeightsWeightV2Weight',
},
update_weight_restrict_decay: {
_alias: {
new_: 'new',
},
- new_: 'u64',
+ new_: 'SpWeightsWeightV2Weight',
},
update_xcmp_max_individual_weight: {
_alias: {
new_: 'new',
},
- new_: 'u64'
+ new_: 'SpWeightsWeightV2Weight'
}
}
},
/**
- * Lookup275: pallet_xcm::pallet::Call<T>
+ * Lookup289: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -2156,10 +2316,10 @@
},
execute: {
message: 'XcmVersionedXcm',
- maxWeight: 'u64',
+ maxWeight: 'SpWeightsWeightV2Weight',
},
force_xcm_version: {
- location: 'XcmV1MultiLocation',
+ location: 'XcmV3MultiLocation',
xcmVersion: 'u32',
},
force_default_xcm_version: {
@@ -2176,60 +2336,57 @@
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
- weightLimit: 'XcmV2WeightLimit',
+ weightLimit: 'XcmV3WeightLimit',
},
limited_teleport_assets: {
dest: 'XcmVersionedMultiLocation',
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
- weightLimit: 'XcmV2WeightLimit'
+ weightLimit: 'XcmV3WeightLimit'
}
}
},
/**
- * Lookup276: xcm::VersionedXcm<RuntimeCall>
+ * Lookup290: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
- V0: 'XcmV0Xcm',
- V1: 'XcmV1Xcm',
- V2: 'XcmV2Xcm'
+ __Unused0: 'Null',
+ __Unused1: 'Null',
+ V2: 'XcmV2Xcm',
+ V3: 'XcmV3Xcm'
}
},
/**
- * Lookup277: xcm::v0::Xcm<RuntimeCall>
+ * Lookup291: xcm::v2::Xcm<RuntimeCall>
+ **/
+ XcmV2Xcm: 'Vec<XcmV2Instruction>',
+ /**
+ * Lookup293: xcm::v2::Instruction<RuntimeCall>
**/
- XcmV0Xcm: {
+ XcmV2Instruction: {
_enum: {
- WithdrawAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
- ReserveAssetDeposit: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
- TeleportAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
+ WithdrawAsset: 'XcmV2MultiassetMultiAssets',
+ ReserveAssetDeposited: 'XcmV2MultiassetMultiAssets',
+ ReceiveTeleportedAsset: 'XcmV2MultiassetMultiAssets',
QueryResponse: {
queryId: 'Compact<u64>',
- response: 'XcmV0Response',
+ response: 'XcmV2Response',
+ maxWeight: 'Compact<u64>',
},
TransferAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
+ assets: 'XcmV2MultiassetMultiAssets',
+ beneficiary: 'XcmV2MultiLocation',
},
TransferReserveAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssets',
+ dest: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'u64',
+ originType: 'XcmV2OriginKind',
+ requireWeightAtMost: 'Compact<u64>',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
@@ -2245,193 +2402,161 @@
sender: 'Compact<u32>',
recipient: 'Compact<u32>',
},
- RelayedFrom: {
- who: 'XcmV0MultiLocation',
- message: 'XcmV0Xcm'
- }
- }
- },
- /**
- * Lookup279: xcm::v0::order::Order<RuntimeCall>
- **/
- XcmV0Order: {
- _enum: {
- Null: 'Null',
+ ClearOrigin: 'Null',
+ DescendOrigin: 'XcmV2MultilocationJunctions',
+ ReportError: {
+ queryId: 'Compact<u64>',
+ dest: 'XcmV2MultiLocation',
+ maxResponseWeight: 'Compact<u64>',
+ },
DepositAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ maxAssets: 'Compact<u32>',
+ beneficiary: 'XcmV2MultiLocation',
},
DepositReserveAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ maxAssets: 'Compact<u32>',
+ dest: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
ExchangeAsset: {
- give: 'Vec<XcmV0MultiAsset>',
- receive: 'Vec<XcmV0MultiAsset>',
+ give: 'XcmV2MultiassetMultiAssetFilter',
+ receive: 'XcmV2MultiassetMultiAssets',
},
InitiateReserveWithdraw: {
- assets: 'Vec<XcmV0MultiAsset>',
- reserve: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ reserve: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
InitiateTeleport: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ dest: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
QueryHolding: {
queryId: 'Compact<u64>',
- dest: 'XcmV0MultiLocation',
- assets: 'Vec<XcmV0MultiAsset>',
+ dest: 'XcmV2MultiLocation',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ maxResponseWeight: 'Compact<u64>',
},
BuyExecution: {
- fees: 'XcmV0MultiAsset',
- weight: 'u64',
- debt: 'u64',
- haltOnError: 'bool',
- xcm: 'Vec<XcmV0Xcm>'
- }
+ fees: 'XcmV2MultiAsset',
+ weightLimit: 'XcmV2WeightLimit',
+ },
+ RefundSurplus: 'Null',
+ SetErrorHandler: 'XcmV2Xcm',
+ SetAppendix: 'XcmV2Xcm',
+ ClearError: 'Null',
+ ClaimAsset: {
+ assets: 'XcmV2MultiassetMultiAssets',
+ ticket: 'XcmV2MultiLocation',
+ },
+ Trap: 'Compact<u64>',
+ SubscribeVersion: {
+ queryId: 'Compact<u64>',
+ maxResponseWeight: 'Compact<u64>',
+ },
+ UnsubscribeVersion: 'Null'
}
},
/**
- * Lookup281: xcm::v0::Response
+ * Lookup294: xcm::v2::Response
**/
- XcmV0Response: {
+ XcmV2Response: {
_enum: {
- Assets: 'Vec<XcmV0MultiAsset>'
+ Null: 'Null',
+ Assets: 'XcmV2MultiassetMultiAssets',
+ ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
+ Version: 'u32'
}
},
/**
- * Lookup282: xcm::v1::Xcm<RuntimeCall>
+ * Lookup297: xcm::v2::traits::Error
**/
- XcmV1Xcm: {
+ XcmV2TraitsError: {
_enum: {
- WithdrawAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- ReserveAssetDeposited: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- ReceiveTeleportedAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- QueryResponse: {
- queryId: 'Compact<u64>',
- response: 'XcmV1Response',
- },
- TransferAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- beneficiary: 'XcmV1MultiLocation',
- },
- TransferReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'u64',
- call: 'XcmDoubleEncoded',
- },
- HrmpNewChannelOpenRequest: {
- sender: 'Compact<u32>',
- maxMessageSize: 'Compact<u32>',
- maxCapacity: 'Compact<u32>',
- },
- HrmpChannelAccepted: {
- recipient: 'Compact<u32>',
- },
- HrmpChannelClosing: {
- initiator: 'Compact<u32>',
- sender: 'Compact<u32>',
- recipient: 'Compact<u32>',
- },
- RelayedFrom: {
- who: 'XcmV1MultilocationJunctions',
- message: 'XcmV1Xcm',
- },
- SubscribeVersion: {
- queryId: 'Compact<u64>',
- maxResponseWeight: 'Compact<u64>',
- },
- UnsubscribeVersion: 'Null'
+ Overflow: 'Null',
+ Unimplemented: 'Null',
+ UntrustedReserveLocation: 'Null',
+ UntrustedTeleportLocation: 'Null',
+ MultiLocationFull: 'Null',
+ MultiLocationNotInvertible: 'Null',
+ BadOrigin: 'Null',
+ InvalidLocation: 'Null',
+ AssetNotFound: 'Null',
+ FailedToTransactAsset: 'Null',
+ NotWithdrawable: 'Null',
+ LocationCannotHold: 'Null',
+ ExceedsMaxMessageSize: 'Null',
+ DestinationUnsupported: 'Null',
+ Transport: 'Null',
+ Unroutable: 'Null',
+ UnknownClaim: 'Null',
+ FailedToDecode: 'Null',
+ MaxWeightInvalid: 'Null',
+ NotHoldingFees: 'Null',
+ TooExpensive: 'Null',
+ Trap: 'u64',
+ UnhandledXcmVersion: 'Null',
+ WeightLimitReached: 'u64',
+ Barrier: 'Null',
+ WeightNotComputable: 'Null'
}
},
/**
- * Lookup284: xcm::v1::order::Order<RuntimeCall>
+ * Lookup298: xcm::v2::multiasset::MultiAssetFilter
**/
- XcmV1Order: {
+ XcmV2MultiassetMultiAssetFilter: {
_enum: {
- Noop: 'Null',
- DepositAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'u32',
- beneficiary: 'XcmV1MultiLocation',
- },
- DepositReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'u32',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- ExchangeAsset: {
- give: 'XcmV1MultiassetMultiAssetFilter',
- receive: 'XcmV1MultiassetMultiAssets',
- },
- InitiateReserveWithdraw: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- reserve: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- InitiateTeleport: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- assets: 'XcmV1MultiassetMultiAssetFilter',
- },
- BuyExecution: {
- fees: 'XcmV1MultiAsset',
- weight: 'u64',
- debt: 'u64',
- haltOnError: 'bool',
- instructions: 'Vec<XcmV1Xcm>'
+ Definite: 'XcmV2MultiassetMultiAssets',
+ Wild: 'XcmV2MultiassetWildMultiAsset'
+ }
+ },
+ /**
+ * Lookup299: xcm::v2::multiasset::WildMultiAsset
+ **/
+ XcmV2MultiassetWildMultiAsset: {
+ _enum: {
+ All: 'Null',
+ AllOf: {
+ id: 'XcmV2MultiassetAssetId',
+ fun: 'XcmV2MultiassetWildFungibility'
}
}
},
/**
- * Lookup286: xcm::v1::Response
+ * Lookup300: xcm::v2::multiasset::WildFungibility
+ **/
+ XcmV2MultiassetWildFungibility: {
+ _enum: ['Fungible', 'NonFungible']
+ },
+ /**
+ * Lookup301: xcm::v2::WeightLimit
**/
- XcmV1Response: {
+ XcmV2WeightLimit: {
_enum: {
- Assets: 'XcmV1MultiassetMultiAssets',
- Version: 'u32'
+ Unlimited: 'Null',
+ Limited: 'Compact<u64>'
}
},
/**
- * Lookup300: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup310: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup301: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup311: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
service_overweight: {
index: 'u64',
- weightLimit: 'u64'
+ weightLimit: 'SpWeightsWeightV2Weight'
}
}
},
/**
- * Lookup302: pallet_inflation::pallet::Call<T>
+ * Lookup312: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2441,7 +2566,7 @@
}
},
/**
- * Lookup303: pallet_unique::Call<T>
+ * Lookup313: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2592,7 +2717,7 @@
}
},
/**
- * Lookup308: up_data_structs::CollectionMode
+ * Lookup318: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2602,7 +2727,7 @@
}
},
/**
- * Lookup309: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup319: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2617,13 +2742,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup311: up_data_structs::AccessMode
+ * Lookup321: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup313: up_data_structs::CollectionLimits
+ * Lookup323: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2637,7 +2762,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup315: up_data_structs::SponsoringRateLimit
+ * Lookup325: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2646,7 +2771,7 @@
}
},
/**
- * Lookup318: up_data_structs::CollectionPermissions
+ * Lookup328: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2654,7 +2779,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup320: up_data_structs::NestingPermissions
+ * Lookup330: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2662,18 +2787,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup322: up_data_structs::OwnerRestrictedSet
+ * Lookup332: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup327: up_data_structs::PropertyKeyPermission
+ * Lookup337: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup328: up_data_structs::PropertyPermission
+ * Lookup338: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2681,14 +2806,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup331: up_data_structs::Property
+ * Lookup341: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup334: up_data_structs::CreateItemData
+ * Lookup344: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2698,26 +2823,26 @@
}
},
/**
- * Lookup335: up_data_structs::CreateNftData
+ * Lookup345: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup336: up_data_structs::CreateFungibleData
+ * Lookup346: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup337: up_data_structs::CreateReFungibleData
+ * Lookup347: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup340: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup350: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2728,14 +2853,14 @@
}
},
/**
- * Lookup342: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup352: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup349: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup359: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2743,14 +2868,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup351: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup361: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup352: pallet_configuration::pallet::Call<T>
+ * Lookup362: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2760,9 +2885,7 @@
set_min_gas_price_override: {
coeff: 'Option<u64>',
},
- set_xcm_allowed_locations: {
- locations: 'Option<Vec<XcmV1MultiLocation>>',
- },
+ __Unused2: 'Null',
set_app_promotion_configuration_override: {
configuration: 'PalletConfigurationAppPromotionConfiguration',
},
@@ -2778,7 +2901,7 @@
}
},
/**
- * Lookup357: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup364: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2787,15 +2910,15 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup361: pallet_template_transaction_payment::Call<T>
+ * Lookup368: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup362: pallet_structure::pallet::Call<T>
+ * Lookup369: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup363: pallet_app_promotion::pallet::Call<T>
+ * Lookup370: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -2827,7 +2950,7 @@
}
},
/**
- * Lookup364: pallet_foreign_assets::module::Call<T>
+ * Lookup371: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2844,7 +2967,7 @@
}
},
/**
- * Lookup365: pallet_evm::pallet::Call<T>
+ * Lookup372: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2887,7 +3010,7 @@
}
},
/**
- * Lookup371: pallet_ethereum::pallet::Call<T>
+ * Lookup378: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2897,7 +3020,7 @@
}
},
/**
- * Lookup372: ethereum::transaction::TransactionV2
+ * Lookup379: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2907,7 +3030,7 @@
}
},
/**
- * Lookup373: ethereum::transaction::LegacyTransaction
+ * Lookup380: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2919,7 +3042,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup374: ethereum::transaction::TransactionAction
+ * Lookup381: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2928,7 +3051,7 @@
}
},
/**
- * Lookup375: ethereum::transaction::TransactionSignature
+ * Lookup382: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2936,7 +3059,7 @@
s: 'H256'
},
/**
- * Lookup377: ethereum::transaction::EIP2930Transaction
+ * Lookup384: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -2952,14 +3075,14 @@
s: 'H256'
},
/**
- * Lookup379: ethereum::transaction::AccessListItem
+ * Lookup386: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup380: ethereum::transaction::EIP1559Transaction
+ * Lookup387: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -2976,7 +3099,23 @@
s: 'H256'
},
/**
- * Lookup381: pallet_evm_migration::pallet::Call<T>
+ * Lookup388: pallet_evm_coder_substrate::pallet::Call<T>
+ **/
+ PalletEvmCoderSubstrateCall: {
+ _enum: ['empty_call']
+ },
+ /**
+ * Lookup389: pallet_evm_contract_helpers::pallet::Call<T>
+ **/
+ PalletEvmContractHelpersCall: {
+ _enum: {
+ migrate_from_self_sponsoring: {
+ addresses: 'Vec<H160>'
+ }
+ }
+ },
+ /**
+ * Lookup391: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -3001,7 +3140,7 @@
}
},
/**
- * Lookup385: pallet_maintenance::pallet::Call<T>
+ * Lookup395: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: {
@@ -3017,7 +3156,7 @@
}
},
/**
- * Lookup386: pallet_test_utils::pallet::Call<T>
+ * Lookup396: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -3036,32 +3175,32 @@
}
},
/**
- * Lookup388: pallet_sudo::pallet::Error<T>
+ * Lookup398: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup390: orml_vesting::module::Error<T>
+ * Lookup400: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup391: orml_xtokens::module::Error<T>
+ * Lookup401: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup394: orml_tokens::BalanceLock<Balance>
+ * Lookup404: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup396: orml_tokens::AccountData<Balance>
+ * Lookup406: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -3069,20 +3208,20 @@
frozen: 'u128'
},
/**
- * Lookup398: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup408: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup400: orml_tokens::module::Error<T>
+ * Lookup410: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup405: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
+ * Lookup415: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
**/
PalletIdentityRegistrarInfo: {
account: 'AccountId32',
@@ -3090,13 +3229,13 @@
fields: 'PalletIdentityBitFlags'
},
/**
- * Lookup407: pallet_identity::pallet::Error<T>
+ * Lookup417: pallet_identity::pallet::Error<T>
**/
PalletIdentityError: {
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']
},
/**
- * Lookup408: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
+ * Lookup418: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
**/
PalletPreimageRequestStatus: {
_enum: {
@@ -3112,13 +3251,13 @@
}
},
/**
- * Lookup413: pallet_preimage::pallet::Error<T>
+ * Lookup423: pallet_preimage::pallet::Error<T>
**/
PalletPreimageError: {
_enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']
},
/**
- * Lookup415: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup425: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -3126,19 +3265,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup416: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup426: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup419: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup429: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup422: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup432: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -3148,13 +3287,13 @@
lastIndex: 'u16'
},
/**
- * Lookup423: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup433: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup425: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup435: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3165,29 +3304,92 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup427: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup437: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup428: pallet_xcm::pallet::Error<T>
+ * Lookup438: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
+ PalletXcmQueryStatus: {
+ _enum: {
+ Pending: {
+ responder: 'XcmVersionedMultiLocation',
+ maybeMatchQuerier: 'Option<XcmVersionedMultiLocation>',
+ maybeNotify: 'Option<(u8,u8)>',
+ timeout: 'u32',
+ },
+ VersionNotifier: {
+ origin: 'XcmVersionedMultiLocation',
+ isActive: 'bool',
+ },
+ Ready: {
+ response: 'XcmVersionedResponse',
+ at: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup442: xcm::VersionedResponse
+ **/
+ XcmVersionedResponse: {
+ _enum: {
+ __Unused0: 'Null',
+ __Unused1: 'Null',
+ V2: 'XcmV2Response',
+ V3: 'XcmV3Response'
+ }
+ },
+ /**
+ * Lookup448: pallet_xcm::pallet::VersionMigrationStage
+ **/
+ PalletXcmVersionMigrationStage: {
+ _enum: {
+ MigrateSupportedVersion: 'Null',
+ MigrateVersionNotifiers: 'Null',
+ NotifyCurrentTargets: 'Option<Bytes>',
+ MigrateAndNotifyOldTargets: 'Null'
+ }
+ },
+ /**
+ * Lookup451: xcm::VersionedAssetId
+ **/
+ XcmVersionedAssetId: {
+ _enum: {
+ __Unused0: 'Null',
+ __Unused1: 'Null',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiassetAssetId'
+ }
+ },
+ /**
+ * Lookup452: pallet_xcm::pallet::RemoteLockedFungibleRecord
+ **/
+ PalletXcmRemoteLockedFungibleRecord: {
+ amount: 'u128',
+ owner: 'XcmVersionedMultiLocation',
+ locker: 'XcmVersionedMultiLocation',
+ users: 'u32'
+ },
+ /**
+ * Lookup456: pallet_xcm::pallet::Error<T>
+ **/
PalletXcmError: {
- _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
+ _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'InvalidAsset', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse']
},
/**
- * Lookup429: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup457: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup430: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup458: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup431: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup459: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3195,25 +3397,25 @@
overweightCount: 'u64'
},
/**
- * Lookup434: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup462: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup438: pallet_unique::Error<T>
+ * Lookup466: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup439: pallet_configuration::pallet::Error<T>
+ * Lookup467: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup440: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup468: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3227,7 +3429,7 @@
flags: '[u8;1]'
},
/**
- * Lookup441: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup469: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3237,23 +3439,23 @@
}
},
/**
- * Lookup442: up_data_structs::Properties
+ * Lookup470: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
consumedSpace: 'u32',
- spaceLimit: 'u32'
+ reserved: 'u32'
},
/**
- * Lookup443: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup471: up_data_structs::PropertiesMap<bounded_collections::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup448: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup476: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup455: up_data_structs::CollectionStats
+ * Lookup483: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3261,18 +3463,18 @@
alive: 'u32'
},
/**
- * Lookup456: up_data_structs::TokenChild
+ * Lookup484: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup457: PhantomType::up_data_structs<T>
+ * Lookup485: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]',
/**
- * Lookup459: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup487: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3280,7 +3482,7 @@
pieces: 'u128'
},
/**
- * Lookup461: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup489: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3297,14 +3499,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup462: up_data_structs::RpcCollectionFlags
+ * Lookup490: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup463: up_pov_estimate_rpc::PovInfo
+ * Lookup491: up_pov_estimate_rpc::PovInfo
**/
UpPovEstimateRpcPovInfo: {
proofSize: 'u64',
@@ -3314,7 +3516,7 @@
keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'
},
/**
- * Lookup466: sp_runtime::transaction_validity::TransactionValidityError
+ * Lookup494: sp_runtime::transaction_validity::TransactionValidityError
**/
SpRuntimeTransactionValidityTransactionValidityError: {
_enum: {
@@ -3323,7 +3525,7 @@
}
},
/**
- * Lookup467: sp_runtime::transaction_validity::InvalidTransaction
+ * Lookup495: sp_runtime::transaction_validity::InvalidTransaction
**/
SpRuntimeTransactionValidityInvalidTransaction: {
_enum: {
@@ -3341,7 +3543,7 @@
}
},
/**
- * Lookup468: sp_runtime::transaction_validity::UnknownTransaction
+ * Lookup496: sp_runtime::transaction_validity::UnknownTransaction
**/
SpRuntimeTransactionValidityUnknownTransaction: {
_enum: {
@@ -3351,74 +3553,74 @@
}
},
/**
- * Lookup470: up_pov_estimate_rpc::TrieKeyValue
+ * Lookup498: up_pov_estimate_rpc::TrieKeyValue
**/
UpPovEstimateRpcTrieKeyValue: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup472: pallet_common::pallet::Error<T>
+ * Lookup500: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup474: pallet_fungible::pallet::Error<T>
+ * Lookup502: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup478: pallet_refungible::pallet::Error<T>
+ * Lookup507: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup479: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup508: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup481: up_data_structs::PropertyScope
+ * Lookup510: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup484: pallet_nonfungible::pallet::Error<T>
+ * Lookup513: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup485: pallet_structure::pallet::Error<T>
+ * Lookup514: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection']
},
/**
- * Lookup490: pallet_app_promotion::pallet::Error<T>
+ * Lookup519: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation', 'InsufficientStakedBalance']
},
/**
- * Lookup491: pallet_foreign_assets::module::Error<T>
+ * Lookup520: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup493: pallet_evm::pallet::Error<T>
+ * Lookup522: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
},
/**
- * Lookup496: fp_rpc::TransactionStatus
+ * Lookup525: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3430,11 +3632,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup498: ethbloom::Bloom
+ * Lookup527: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup500: ethereum::receipt::ReceiptV3
+ * Lookup529: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3444,7 +3646,7 @@
}
},
/**
- * Lookup501: ethereum::receipt::EIP658ReceiptData
+ * Lookup530: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3453,7 +3655,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup502: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup531: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3461,7 +3663,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup503: ethereum::header::Header
+ * Lookup532: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3481,23 +3683,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup504: ethereum_types::hash::H64
+ * Lookup533: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup509: pallet_ethereum::pallet::Error<T>
+ * Lookup538: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup510: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup539: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup511: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup540: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3507,35 +3709,35 @@
}
},
/**
- * Lookup512: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup541: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup518: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup547: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup519: pallet_evm_migration::pallet::Error<T>
+ * Lookup548: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup520: pallet_maintenance::pallet::Error<T>
+ * Lookup549: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup521: pallet_test_utils::pallet::Error<T>
+ * Lookup550: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup523: sp_runtime::MultiSignature
+ * Lookup552: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3545,55 +3747,55 @@
}
},
/**
- * Lookup524: sp_core::ed25519::Signature
+ * Lookup553: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup526: sp_core::sr25519::Signature
+ * Lookup555: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup527: sp_core::ecdsa::Signature
+ * Lookup556: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup530: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup559: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup531: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup560: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup532: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup561: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup535: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup564: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup536: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup565: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup537: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup566: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup538: opal_runtime::runtime_common::identity::DisableIdentityCalls
+ * Lookup567: opal_runtime::runtime_common::identity::DisableIdentityCalls
**/
OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',
/**
- * Lookup539: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup568: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup540: opal_runtime::Runtime
+ * Lookup569: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup541: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup570: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/povinfo/index.tsdiffbeforeafterboth--- a/tests/src/interfaces/povinfo/index.ts
+++ b/tests/src/interfaces/povinfo/index.ts
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './types';
+export * from './types.js';
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, 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, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -93,9 +93,6 @@
PalletAppPromotionCall: PalletAppPromotionCall;
PalletAppPromotionError: PalletAppPromotionError;
PalletAppPromotionEvent: PalletAppPromotionEvent;
- PalletAuthorshipCall: PalletAuthorshipCall;
- PalletAuthorshipError: PalletAuthorshipError;
- PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
@@ -118,7 +115,9 @@
PalletEthereumFakeTransactionFinalizer: PalletEthereumFakeTransactionFinalizer;
PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;
PalletEvmCall: PalletEvmCall;
+ PalletEvmCoderSubstrateCall: PalletEvmCoderSubstrateCall;
PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;
+ PalletEvmContractHelpersCall: PalletEvmContractHelpersCall;
PalletEvmContractHelpersError: PalletEvmContractHelpersError;
PalletEvmContractHelpersEvent: PalletEvmContractHelpersEvent;
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
@@ -180,6 +179,10 @@
PalletXcmCall: PalletXcmCall;
PalletXcmError: PalletXcmError;
PalletXcmEvent: PalletXcmEvent;
+ PalletXcmQueryStatus: PalletXcmQueryStatus;
+ PalletXcmRemoteLockedFungibleRecord: PalletXcmRemoteLockedFungibleRecord;
+ PalletXcmVersionMigrationStage: PalletXcmVersionMigrationStage;
+ ParachainInfoCall: ParachainInfoCall;
PhantomTypeUpDataStructs: PhantomTypeUpDataStructs;
PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage;
PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage;
@@ -196,11 +199,9 @@
SpCoreEd25519Signature: SpCoreEd25519Signature;
SpCoreSr25519Public: SpCoreSr25519Public;
SpCoreSr25519Signature: SpCoreSr25519Signature;
- SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
- SpRuntimeHeader: SpRuntimeHeader;
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
@@ -246,39 +247,54 @@
UpPovEstimateRpcPovInfo: UpPovEstimateRpcPovInfo;
UpPovEstimateRpcTrieKeyValue: UpPovEstimateRpcTrieKeyValue;
XcmDoubleEncoded: XcmDoubleEncoded;
- XcmV0Junction: XcmV0Junction;
- XcmV0JunctionBodyId: XcmV0JunctionBodyId;
- XcmV0JunctionBodyPart: XcmV0JunctionBodyPart;
- XcmV0JunctionNetworkId: XcmV0JunctionNetworkId;
- XcmV0MultiAsset: XcmV0MultiAsset;
- XcmV0MultiLocation: XcmV0MultiLocation;
- XcmV0Order: XcmV0Order;
- XcmV0OriginKind: XcmV0OriginKind;
- XcmV0Response: XcmV0Response;
- XcmV0Xcm: XcmV0Xcm;
- XcmV1Junction: XcmV1Junction;
- XcmV1MultiAsset: XcmV1MultiAsset;
- XcmV1MultiLocation: XcmV1MultiLocation;
- XcmV1MultiassetAssetId: XcmV1MultiassetAssetId;
- XcmV1MultiassetAssetInstance: XcmV1MultiassetAssetInstance;
- XcmV1MultiassetFungibility: XcmV1MultiassetFungibility;
- XcmV1MultiassetMultiAssetFilter: XcmV1MultiassetMultiAssetFilter;
- XcmV1MultiassetMultiAssets: XcmV1MultiassetMultiAssets;
- XcmV1MultiassetWildFungibility: XcmV1MultiassetWildFungibility;
- XcmV1MultiassetWildMultiAsset: XcmV1MultiassetWildMultiAsset;
- XcmV1MultilocationJunctions: XcmV1MultilocationJunctions;
- XcmV1Order: XcmV1Order;
- XcmV1Response: XcmV1Response;
- XcmV1Xcm: XcmV1Xcm;
+ XcmV2BodyId: XcmV2BodyId;
+ XcmV2BodyPart: XcmV2BodyPart;
XcmV2Instruction: XcmV2Instruction;
+ XcmV2Junction: XcmV2Junction;
+ XcmV2MultiAsset: XcmV2MultiAsset;
+ XcmV2MultiLocation: XcmV2MultiLocation;
+ XcmV2MultiassetAssetId: XcmV2MultiassetAssetId;
+ XcmV2MultiassetAssetInstance: XcmV2MultiassetAssetInstance;
+ XcmV2MultiassetFungibility: XcmV2MultiassetFungibility;
+ XcmV2MultiassetMultiAssetFilter: XcmV2MultiassetMultiAssetFilter;
+ XcmV2MultiassetMultiAssets: XcmV2MultiassetMultiAssets;
+ XcmV2MultiassetWildFungibility: XcmV2MultiassetWildFungibility;
+ XcmV2MultiassetWildMultiAsset: XcmV2MultiassetWildMultiAsset;
+ XcmV2MultilocationJunctions: XcmV2MultilocationJunctions;
+ XcmV2NetworkId: XcmV2NetworkId;
+ XcmV2OriginKind: XcmV2OriginKind;
XcmV2Response: XcmV2Response;
XcmV2TraitsError: XcmV2TraitsError;
- XcmV2TraitsOutcome: XcmV2TraitsOutcome;
XcmV2WeightLimit: XcmV2WeightLimit;
XcmV2Xcm: XcmV2Xcm;
+ XcmV3Instruction: XcmV3Instruction;
+ XcmV3Junction: XcmV3Junction;
+ XcmV3JunctionBodyId: XcmV3JunctionBodyId;
+ XcmV3JunctionBodyPart: XcmV3JunctionBodyPart;
+ XcmV3JunctionNetworkId: XcmV3JunctionNetworkId;
+ XcmV3Junctions: XcmV3Junctions;
+ XcmV3MaybeErrorCode: XcmV3MaybeErrorCode;
+ XcmV3MultiAsset: XcmV3MultiAsset;
+ XcmV3MultiLocation: XcmV3MultiLocation;
+ XcmV3MultiassetAssetId: XcmV3MultiassetAssetId;
+ XcmV3MultiassetAssetInstance: XcmV3MultiassetAssetInstance;
+ XcmV3MultiassetFungibility: XcmV3MultiassetFungibility;
+ XcmV3MultiassetMultiAssetFilter: XcmV3MultiassetMultiAssetFilter;
+ XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets;
+ XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility;
+ XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset;
+ XcmV3PalletInfo: XcmV3PalletInfo;
+ XcmV3QueryResponseInfo: XcmV3QueryResponseInfo;
+ XcmV3Response: XcmV3Response;
+ XcmV3TraitsError: XcmV3TraitsError;
+ XcmV3TraitsOutcome: XcmV3TraitsOutcome;
+ XcmV3WeightLimit: XcmV3WeightLimit;
+ XcmV3Xcm: XcmV3Xcm;
+ XcmVersionedAssetId: XcmVersionedAssetId;
XcmVersionedMultiAsset: XcmVersionedMultiAsset;
XcmVersionedMultiAssets: XcmVersionedMultiAssets;
XcmVersionedMultiLocation: XcmVersionedMultiLocation;
+ XcmVersionedResponse: XcmVersionedResponse;
XcmVersionedXcm: XcmVersionedXcm;
} // InterfaceTypes
} // declare module
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { Data } from '@polkadot/types';9import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';12import type { Event } from '@polkadot/types/interfaces/system';1314declare module '@polkadot/types/lookup' {15 /** @name FrameSystemAccountInfo (3) */16 interface FrameSystemAccountInfo extends Struct {17 readonly nonce: u32;18 readonly consumers: u32;19 readonly providers: u32;20 readonly sufficients: u32;21 readonly data: PalletBalancesAccountData;22 }2324 /** @name PalletBalancesAccountData (5) */25 interface PalletBalancesAccountData extends Struct {26 readonly free: u128;27 readonly reserved: u128;28 readonly miscFrozen: u128;29 readonly feeFrozen: u128;30 }3132 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */33 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {34 readonly normal: SpWeightsWeightV2Weight;35 readonly operational: SpWeightsWeightV2Weight;36 readonly mandatory: SpWeightsWeightV2Weight;37 }3839 /** @name SpWeightsWeightV2Weight (8) */40 interface SpWeightsWeightV2Weight extends Struct {41 readonly refTime: Compact<u64>;42 readonly proofSize: Compact<u64>;43 }4445 /** @name SpRuntimeDigest (13) */46 interface SpRuntimeDigest extends Struct {47 readonly logs: Vec<SpRuntimeDigestDigestItem>;48 }4950 /** @name SpRuntimeDigestDigestItem (15) */51 interface SpRuntimeDigestDigestItem extends Enum {52 readonly isOther: boolean;53 readonly asOther: Bytes;54 readonly isConsensus: boolean;55 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;56 readonly isSeal: boolean;57 readonly asSeal: ITuple<[U8aFixed, Bytes]>;58 readonly isPreRuntime: boolean;59 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;60 readonly isRuntimeEnvironmentUpdated: boolean;61 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';62 }6364 /** @name FrameSystemEventRecord (18) */65 interface FrameSystemEventRecord extends Struct {66 readonly phase: FrameSystemPhase;67 readonly event: Event;68 readonly topics: Vec<H256>;69 }7071 /** @name FrameSystemEvent (20) */72 interface FrameSystemEvent extends Enum {73 readonly isExtrinsicSuccess: boolean;74 readonly asExtrinsicSuccess: {75 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;76 } & Struct;77 readonly isExtrinsicFailed: boolean;78 readonly asExtrinsicFailed: {79 readonly dispatchError: SpRuntimeDispatchError;80 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;81 } & Struct;82 readonly isCodeUpdated: boolean;83 readonly isNewAccount: boolean;84 readonly asNewAccount: {85 readonly account: AccountId32;86 } & Struct;87 readonly isKilledAccount: boolean;88 readonly asKilledAccount: {89 readonly account: AccountId32;90 } & Struct;91 readonly isRemarked: boolean;92 readonly asRemarked: {93 readonly sender: AccountId32;94 readonly hash_: H256;95 } & Struct;96 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';97 }9899 /** @name FrameSupportDispatchDispatchInfo (21) */100 interface FrameSupportDispatchDispatchInfo extends Struct {101 readonly weight: SpWeightsWeightV2Weight;102 readonly class: FrameSupportDispatchDispatchClass;103 readonly paysFee: FrameSupportDispatchPays;104 }105106 /** @name FrameSupportDispatchDispatchClass (22) */107 interface FrameSupportDispatchDispatchClass extends Enum {108 readonly isNormal: boolean;109 readonly isOperational: boolean;110 readonly isMandatory: boolean;111 readonly type: 'Normal' | 'Operational' | 'Mandatory';112 }113114 /** @name FrameSupportDispatchPays (23) */115 interface FrameSupportDispatchPays extends Enum {116 readonly isYes: boolean;117 readonly isNo: boolean;118 readonly type: 'Yes' | 'No';119 }120121 /** @name SpRuntimeDispatchError (24) */122 interface SpRuntimeDispatchError extends Enum {123 readonly isOther: boolean;124 readonly isCannotLookup: boolean;125 readonly isBadOrigin: boolean;126 readonly isModule: boolean;127 readonly asModule: SpRuntimeModuleError;128 readonly isConsumerRemaining: boolean;129 readonly isNoProviders: boolean;130 readonly isTooManyConsumers: boolean;131 readonly isToken: boolean;132 readonly asToken: SpRuntimeTokenError;133 readonly isArithmetic: boolean;134 readonly asArithmetic: SpArithmeticArithmeticError;135 readonly isTransactional: boolean;136 readonly asTransactional: SpRuntimeTransactionalError;137 readonly isExhausted: boolean;138 readonly isCorruption: boolean;139 readonly isUnavailable: boolean;140 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';141 }142143 /** @name SpRuntimeModuleError (25) */144 interface SpRuntimeModuleError extends Struct {145 readonly index: u8;146 readonly error: U8aFixed;147 }148149 /** @name SpRuntimeTokenError (26) */150 interface SpRuntimeTokenError extends Enum {151 readonly isNoFunds: boolean;152 readonly isWouldDie: boolean;153 readonly isBelowMinimum: boolean;154 readonly isCannotCreate: boolean;155 readonly isUnknownAsset: boolean;156 readonly isFrozen: boolean;157 readonly isUnsupported: boolean;158 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';159 }160161 /** @name SpArithmeticArithmeticError (27) */162 interface SpArithmeticArithmeticError extends Enum {163 readonly isUnderflow: boolean;164 readonly isOverflow: boolean;165 readonly isDivisionByZero: boolean;166 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';167 }168169 /** @name SpRuntimeTransactionalError (28) */170 interface SpRuntimeTransactionalError extends Enum {171 readonly isLimitReached: boolean;172 readonly isNoLayer: boolean;173 readonly type: 'LimitReached' | 'NoLayer';174 }175176 /** @name CumulusPalletParachainSystemEvent (29) */177 interface CumulusPalletParachainSystemEvent extends Enum {178 readonly isValidationFunctionStored: boolean;179 readonly isValidationFunctionApplied: boolean;180 readonly asValidationFunctionApplied: {181 readonly relayChainBlockNum: u32;182 } & Struct;183 readonly isValidationFunctionDiscarded: boolean;184 readonly isUpgradeAuthorized: boolean;185 readonly asUpgradeAuthorized: {186 readonly codeHash: H256;187 } & Struct;188 readonly isDownwardMessagesReceived: boolean;189 readonly asDownwardMessagesReceived: {190 readonly count: u32;191 } & Struct;192 readonly isDownwardMessagesProcessed: boolean;193 readonly asDownwardMessagesProcessed: {194 readonly weightUsed: SpWeightsWeightV2Weight;195 readonly dmqHead: H256;196 } & Struct;197 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';198 }199200 /** @name PalletCollatorSelectionEvent (30) */201 interface PalletCollatorSelectionEvent extends Enum {202 readonly isInvulnerableAdded: boolean;203 readonly asInvulnerableAdded: {204 readonly invulnerable: AccountId32;205 } & Struct;206 readonly isInvulnerableRemoved: boolean;207 readonly asInvulnerableRemoved: {208 readonly invulnerable: AccountId32;209 } & Struct;210 readonly isLicenseObtained: boolean;211 readonly asLicenseObtained: {212 readonly accountId: AccountId32;213 readonly deposit: u128;214 } & Struct;215 readonly isLicenseReleased: boolean;216 readonly asLicenseReleased: {217 readonly accountId: AccountId32;218 readonly depositReturned: u128;219 } & Struct;220 readonly isCandidateAdded: boolean;221 readonly asCandidateAdded: {222 readonly accountId: AccountId32;223 } & Struct;224 readonly isCandidateRemoved: boolean;225 readonly asCandidateRemoved: {226 readonly accountId: AccountId32;227 } & Struct;228 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';229 }230231 /** @name PalletSessionEvent (31) */232 interface PalletSessionEvent extends Enum {233 readonly isNewSession: boolean;234 readonly asNewSession: {235 readonly sessionIndex: u32;236 } & Struct;237 readonly type: 'NewSession';238 }239240 /** @name PalletBalancesEvent (32) */241 interface PalletBalancesEvent extends Enum {242 readonly isEndowed: boolean;243 readonly asEndowed: {244 readonly account: AccountId32;245 readonly freeBalance: u128;246 } & Struct;247 readonly isDustLost: boolean;248 readonly asDustLost: {249 readonly account: AccountId32;250 readonly amount: u128;251 } & Struct;252 readonly isTransfer: boolean;253 readonly asTransfer: {254 readonly from: AccountId32;255 readonly to: AccountId32;256 readonly amount: u128;257 } & Struct;258 readonly isBalanceSet: boolean;259 readonly asBalanceSet: {260 readonly who: AccountId32;261 readonly free: u128;262 readonly reserved: u128;263 } & Struct;264 readonly isReserved: boolean;265 readonly asReserved: {266 readonly who: AccountId32;267 readonly amount: u128;268 } & Struct;269 readonly isUnreserved: boolean;270 readonly asUnreserved: {271 readonly who: AccountId32;272 readonly amount: u128;273 } & Struct;274 readonly isReserveRepatriated: boolean;275 readonly asReserveRepatriated: {276 readonly from: AccountId32;277 readonly to: AccountId32;278 readonly amount: u128;279 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;280 } & Struct;281 readonly isDeposit: boolean;282 readonly asDeposit: {283 readonly who: AccountId32;284 readonly amount: u128;285 } & Struct;286 readonly isWithdraw: boolean;287 readonly asWithdraw: {288 readonly who: AccountId32;289 readonly amount: u128;290 } & Struct;291 readonly isSlashed: boolean;292 readonly asSlashed: {293 readonly who: AccountId32;294 readonly amount: u128;295 } & Struct;296 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';297 }298299 /** @name FrameSupportTokensMiscBalanceStatus (33) */300 interface FrameSupportTokensMiscBalanceStatus extends Enum {301 readonly isFree: boolean;302 readonly isReserved: boolean;303 readonly type: 'Free' | 'Reserved';304 }305306 /** @name PalletTransactionPaymentEvent (34) */307 interface PalletTransactionPaymentEvent extends Enum {308 readonly isTransactionFeePaid: boolean;309 readonly asTransactionFeePaid: {310 readonly who: AccountId32;311 readonly actualFee: u128;312 readonly tip: u128;313 } & Struct;314 readonly type: 'TransactionFeePaid';315 }316317 /** @name PalletTreasuryEvent (35) */318 interface PalletTreasuryEvent extends Enum {319 readonly isProposed: boolean;320 readonly asProposed: {321 readonly proposalIndex: u32;322 } & Struct;323 readonly isSpending: boolean;324 readonly asSpending: {325 readonly budgetRemaining: u128;326 } & Struct;327 readonly isAwarded: boolean;328 readonly asAwarded: {329 readonly proposalIndex: u32;330 readonly award: u128;331 readonly account: AccountId32;332 } & Struct;333 readonly isRejected: boolean;334 readonly asRejected: {335 readonly proposalIndex: u32;336 readonly slashed: u128;337 } & Struct;338 readonly isBurnt: boolean;339 readonly asBurnt: {340 readonly burntFunds: u128;341 } & Struct;342 readonly isRollover: boolean;343 readonly asRollover: {344 readonly rolloverBalance: u128;345 } & Struct;346 readonly isDeposit: boolean;347 readonly asDeposit: {348 readonly value: u128;349 } & Struct;350 readonly isSpendApproved: boolean;351 readonly asSpendApproved: {352 readonly proposalIndex: u32;353 readonly amount: u128;354 readonly beneficiary: AccountId32;355 } & Struct;356 readonly isUpdatedInactive: boolean;357 readonly asUpdatedInactive: {358 readonly reactivated: u128;359 readonly deactivated: u128;360 } & Struct;361 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';362 }363364 /** @name PalletSudoEvent (36) */365 interface PalletSudoEvent extends Enum {366 readonly isSudid: boolean;367 readonly asSudid: {368 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;369 } & Struct;370 readonly isKeyChanged: boolean;371 readonly asKeyChanged: {372 readonly oldSudoer: Option<AccountId32>;373 } & Struct;374 readonly isSudoAsDone: boolean;375 readonly asSudoAsDone: {376 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;377 } & Struct;378 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';379 }380381 /** @name OrmlVestingModuleEvent (40) */382 interface OrmlVestingModuleEvent extends Enum {383 readonly isVestingScheduleAdded: boolean;384 readonly asVestingScheduleAdded: {385 readonly from: AccountId32;386 readonly to: AccountId32;387 readonly vestingSchedule: OrmlVestingVestingSchedule;388 } & Struct;389 readonly isClaimed: boolean;390 readonly asClaimed: {391 readonly who: AccountId32;392 readonly amount: u128;393 } & Struct;394 readonly isVestingSchedulesUpdated: boolean;395 readonly asVestingSchedulesUpdated: {396 readonly who: AccountId32;397 } & Struct;398 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';399 }400401 /** @name OrmlVestingVestingSchedule (41) */402 interface OrmlVestingVestingSchedule extends Struct {403 readonly start: u32;404 readonly period: u32;405 readonly periodCount: u32;406 readonly perPeriod: Compact<u128>;407 }408409 /** @name OrmlXtokensModuleEvent (43) */410 interface OrmlXtokensModuleEvent extends Enum {411 readonly isTransferredMultiAssets: boolean;412 readonly asTransferredMultiAssets: {413 readonly sender: AccountId32;414 readonly assets: XcmV1MultiassetMultiAssets;415 readonly fee: XcmV1MultiAsset;416 readonly dest: XcmV1MultiLocation;417 } & Struct;418 readonly type: 'TransferredMultiAssets';419 }420421 /** @name XcmV1MultiassetMultiAssets (44) */422 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}423424 /** @name XcmV1MultiAsset (46) */425 interface XcmV1MultiAsset extends Struct {426 readonly id: XcmV1MultiassetAssetId;427 readonly fun: XcmV1MultiassetFungibility;428 }429430 /** @name XcmV1MultiassetAssetId (47) */431 interface XcmV1MultiassetAssetId extends Enum {432 readonly isConcrete: boolean;433 readonly asConcrete: XcmV1MultiLocation;434 readonly isAbstract: boolean;435 readonly asAbstract: Bytes;436 readonly type: 'Concrete' | 'Abstract';437 }438439 /** @name XcmV1MultiLocation (48) */440 interface XcmV1MultiLocation extends Struct {441 readonly parents: u8;442 readonly interior: XcmV1MultilocationJunctions;443 }444445 /** @name XcmV1MultilocationJunctions (49) */446 interface XcmV1MultilocationJunctions extends Enum {447 readonly isHere: boolean;448 readonly isX1: boolean;449 readonly asX1: XcmV1Junction;450 readonly isX2: boolean;451 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;452 readonly isX3: boolean;453 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;454 readonly isX4: boolean;455 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;456 readonly isX5: boolean;457 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;458 readonly isX6: boolean;459 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;460 readonly isX7: boolean;461 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;462 readonly isX8: boolean;463 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;464 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';465 }466467 /** @name XcmV1Junction (50) */468 interface XcmV1Junction extends Enum {469 readonly isParachain: boolean;470 readonly asParachain: Compact<u32>;471 readonly isAccountId32: boolean;472 readonly asAccountId32: {473 readonly network: XcmV0JunctionNetworkId;474 readonly id: U8aFixed;475 } & Struct;476 readonly isAccountIndex64: boolean;477 readonly asAccountIndex64: {478 readonly network: XcmV0JunctionNetworkId;479 readonly index: Compact<u64>;480 } & Struct;481 readonly isAccountKey20: boolean;482 readonly asAccountKey20: {483 readonly network: XcmV0JunctionNetworkId;484 readonly key: U8aFixed;485 } & Struct;486 readonly isPalletInstance: boolean;487 readonly asPalletInstance: u8;488 readonly isGeneralIndex: boolean;489 readonly asGeneralIndex: Compact<u128>;490 readonly isGeneralKey: boolean;491 readonly asGeneralKey: Bytes;492 readonly isOnlyChild: boolean;493 readonly isPlurality: boolean;494 readonly asPlurality: {495 readonly id: XcmV0JunctionBodyId;496 readonly part: XcmV0JunctionBodyPart;497 } & Struct;498 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';499 }500501 /** @name XcmV0JunctionNetworkId (52) */502 interface XcmV0JunctionNetworkId extends Enum {503 readonly isAny: boolean;504 readonly isNamed: boolean;505 readonly asNamed: Bytes;506 readonly isPolkadot: boolean;507 readonly isKusama: boolean;508 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';509 }510511 /** @name XcmV0JunctionBodyId (55) */512 interface XcmV0JunctionBodyId extends Enum {513 readonly isUnit: boolean;514 readonly isNamed: boolean;515 readonly asNamed: Bytes;516 readonly isIndex: boolean;517 readonly asIndex: Compact<u32>;518 readonly isExecutive: boolean;519 readonly isTechnical: boolean;520 readonly isLegislative: boolean;521 readonly isJudicial: boolean;522 readonly isDefense: boolean;523 readonly isAdministration: boolean;524 readonly isTreasury: boolean;525 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';526 }527528 /** @name XcmV0JunctionBodyPart (56) */529 interface XcmV0JunctionBodyPart extends Enum {530 readonly isVoice: boolean;531 readonly isMembers: boolean;532 readonly asMembers: {533 readonly count: Compact<u32>;534 } & Struct;535 readonly isFraction: boolean;536 readonly asFraction: {537 readonly nom: Compact<u32>;538 readonly denom: Compact<u32>;539 } & Struct;540 readonly isAtLeastProportion: boolean;541 readonly asAtLeastProportion: {542 readonly nom: Compact<u32>;543 readonly denom: Compact<u32>;544 } & Struct;545 readonly isMoreThanProportion: boolean;546 readonly asMoreThanProportion: {547 readonly nom: Compact<u32>;548 readonly denom: Compact<u32>;549 } & Struct;550 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';551 }552553 /** @name XcmV1MultiassetFungibility (57) */554 interface XcmV1MultiassetFungibility extends Enum {555 readonly isFungible: boolean;556 readonly asFungible: Compact<u128>;557 readonly isNonFungible: boolean;558 readonly asNonFungible: XcmV1MultiassetAssetInstance;559 readonly type: 'Fungible' | 'NonFungible';560 }561562 /** @name XcmV1MultiassetAssetInstance (58) */563 interface XcmV1MultiassetAssetInstance extends Enum {564 readonly isUndefined: boolean;565 readonly isIndex: boolean;566 readonly asIndex: Compact<u128>;567 readonly isArray4: boolean;568 readonly asArray4: U8aFixed;569 readonly isArray8: boolean;570 readonly asArray8: U8aFixed;571 readonly isArray16: boolean;572 readonly asArray16: U8aFixed;573 readonly isArray32: boolean;574 readonly asArray32: U8aFixed;575 readonly isBlob: boolean;576 readonly asBlob: Bytes;577 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';578 }579580 /** @name OrmlTokensModuleEvent (61) */581 interface OrmlTokensModuleEvent extends Enum {582 readonly isEndowed: boolean;583 readonly asEndowed: {584 readonly currencyId: PalletForeignAssetsAssetIds;585 readonly who: AccountId32;586 readonly amount: u128;587 } & Struct;588 readonly isDustLost: boolean;589 readonly asDustLost: {590 readonly currencyId: PalletForeignAssetsAssetIds;591 readonly who: AccountId32;592 readonly amount: u128;593 } & Struct;594 readonly isTransfer: boolean;595 readonly asTransfer: {596 readonly currencyId: PalletForeignAssetsAssetIds;597 readonly from: AccountId32;598 readonly to: AccountId32;599 readonly amount: u128;600 } & Struct;601 readonly isReserved: boolean;602 readonly asReserved: {603 readonly currencyId: PalletForeignAssetsAssetIds;604 readonly who: AccountId32;605 readonly amount: u128;606 } & Struct;607 readonly isUnreserved: boolean;608 readonly asUnreserved: {609 readonly currencyId: PalletForeignAssetsAssetIds;610 readonly who: AccountId32;611 readonly amount: u128;612 } & Struct;613 readonly isReserveRepatriated: boolean;614 readonly asReserveRepatriated: {615 readonly currencyId: PalletForeignAssetsAssetIds;616 readonly from: AccountId32;617 readonly to: AccountId32;618 readonly amount: u128;619 readonly status: FrameSupportTokensMiscBalanceStatus;620 } & Struct;621 readonly isBalanceSet: boolean;622 readonly asBalanceSet: {623 readonly currencyId: PalletForeignAssetsAssetIds;624 readonly who: AccountId32;625 readonly free: u128;626 readonly reserved: u128;627 } & Struct;628 readonly isTotalIssuanceSet: boolean;629 readonly asTotalIssuanceSet: {630 readonly currencyId: PalletForeignAssetsAssetIds;631 readonly amount: u128;632 } & Struct;633 readonly isWithdrawn: boolean;634 readonly asWithdrawn: {635 readonly currencyId: PalletForeignAssetsAssetIds;636 readonly who: AccountId32;637 readonly amount: u128;638 } & Struct;639 readonly isSlashed: boolean;640 readonly asSlashed: {641 readonly currencyId: PalletForeignAssetsAssetIds;642 readonly who: AccountId32;643 readonly freeAmount: u128;644 readonly reservedAmount: u128;645 } & Struct;646 readonly isDeposited: boolean;647 readonly asDeposited: {648 readonly currencyId: PalletForeignAssetsAssetIds;649 readonly who: AccountId32;650 readonly amount: u128;651 } & Struct;652 readonly isLockSet: boolean;653 readonly asLockSet: {654 readonly lockId: U8aFixed;655 readonly currencyId: PalletForeignAssetsAssetIds;656 readonly who: AccountId32;657 readonly amount: u128;658 } & Struct;659 readonly isLockRemoved: boolean;660 readonly asLockRemoved: {661 readonly lockId: U8aFixed;662 readonly currencyId: PalletForeignAssetsAssetIds;663 readonly who: AccountId32;664 } & Struct;665 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';666 }667668 /** @name PalletForeignAssetsAssetIds (62) */669 interface PalletForeignAssetsAssetIds extends Enum {670 readonly isForeignAssetId: boolean;671 readonly asForeignAssetId: u32;672 readonly isNativeAssetId: boolean;673 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;674 readonly type: 'ForeignAssetId' | 'NativeAssetId';675 }676677 /** @name PalletForeignAssetsNativeCurrency (63) */678 interface PalletForeignAssetsNativeCurrency extends Enum {679 readonly isHere: boolean;680 readonly isParent: boolean;681 readonly type: 'Here' | 'Parent';682 }683684 /** @name PalletIdentityEvent (64) */685 interface PalletIdentityEvent extends Enum {686 readonly isIdentitySet: boolean;687 readonly asIdentitySet: {688 readonly who: AccountId32;689 } & Struct;690 readonly isIdentityCleared: boolean;691 readonly asIdentityCleared: {692 readonly who: AccountId32;693 readonly deposit: u128;694 } & Struct;695 readonly isIdentityKilled: boolean;696 readonly asIdentityKilled: {697 readonly who: AccountId32;698 readonly deposit: u128;699 } & Struct;700 readonly isIdentitiesInserted: boolean;701 readonly asIdentitiesInserted: {702 readonly amount: u32;703 } & Struct;704 readonly isIdentitiesRemoved: boolean;705 readonly asIdentitiesRemoved: {706 readonly amount: u32;707 } & Struct;708 readonly isJudgementRequested: boolean;709 readonly asJudgementRequested: {710 readonly who: AccountId32;711 readonly registrarIndex: u32;712 } & Struct;713 readonly isJudgementUnrequested: boolean;714 readonly asJudgementUnrequested: {715 readonly who: AccountId32;716 readonly registrarIndex: u32;717 } & Struct;718 readonly isJudgementGiven: boolean;719 readonly asJudgementGiven: {720 readonly target: AccountId32;721 readonly registrarIndex: u32;722 } & Struct;723 readonly isRegistrarAdded: boolean;724 readonly asRegistrarAdded: {725 readonly registrarIndex: u32;726 } & Struct;727 readonly isSubIdentityAdded: boolean;728 readonly asSubIdentityAdded: {729 readonly sub: AccountId32;730 readonly main: AccountId32;731 readonly deposit: u128;732 } & Struct;733 readonly isSubIdentityRemoved: boolean;734 readonly asSubIdentityRemoved: {735 readonly sub: AccountId32;736 readonly main: AccountId32;737 readonly deposit: u128;738 } & Struct;739 readonly isSubIdentityRevoked: boolean;740 readonly asSubIdentityRevoked: {741 readonly sub: AccountId32;742 readonly main: AccountId32;743 readonly deposit: u128;744 } & Struct;745 readonly isSubIdentitiesInserted: boolean;746 readonly asSubIdentitiesInserted: {747 readonly amount: u32;748 } & Struct;749 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted';750 }751752 /** @name PalletPreimageEvent (65) */753 interface PalletPreimageEvent extends Enum {754 readonly isNoted: boolean;755 readonly asNoted: {756 readonly hash_: H256;757 } & Struct;758 readonly isRequested: boolean;759 readonly asRequested: {760 readonly hash_: H256;761 } & Struct;762 readonly isCleared: boolean;763 readonly asCleared: {764 readonly hash_: H256;765 } & Struct;766 readonly type: 'Noted' | 'Requested' | 'Cleared';767 }768769 /** @name CumulusPalletXcmpQueueEvent (66) */770 interface CumulusPalletXcmpQueueEvent extends Enum {771 readonly isSuccess: boolean;772 readonly asSuccess: {773 readonly messageHash: Option<H256>;774 readonly weight: SpWeightsWeightV2Weight;775 } & Struct;776 readonly isFail: boolean;777 readonly asFail: {778 readonly messageHash: Option<H256>;779 readonly error: XcmV2TraitsError;780 readonly weight: SpWeightsWeightV2Weight;781 } & Struct;782 readonly isBadVersion: boolean;783 readonly asBadVersion: {784 readonly messageHash: Option<H256>;785 } & Struct;786 readonly isBadFormat: boolean;787 readonly asBadFormat: {788 readonly messageHash: Option<H256>;789 } & Struct;790 readonly isUpwardMessageSent: boolean;791 readonly asUpwardMessageSent: {792 readonly messageHash: Option<H256>;793 } & Struct;794 readonly isXcmpMessageSent: boolean;795 readonly asXcmpMessageSent: {796 readonly messageHash: Option<H256>;797 } & Struct;798 readonly isOverweightEnqueued: boolean;799 readonly asOverweightEnqueued: {800 readonly sender: u32;801 readonly sentAt: u32;802 readonly index: u64;803 readonly required: SpWeightsWeightV2Weight;804 } & Struct;805 readonly isOverweightServiced: boolean;806 readonly asOverweightServiced: {807 readonly index: u64;808 readonly used: SpWeightsWeightV2Weight;809 } & Struct;810 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';811 }812813 /** @name XcmV2TraitsError (68) */814 interface XcmV2TraitsError extends Enum {815 readonly isOverflow: boolean;816 readonly isUnimplemented: boolean;817 readonly isUntrustedReserveLocation: boolean;818 readonly isUntrustedTeleportLocation: boolean;819 readonly isMultiLocationFull: boolean;820 readonly isMultiLocationNotInvertible: boolean;821 readonly isBadOrigin: boolean;822 readonly isInvalidLocation: boolean;823 readonly isAssetNotFound: boolean;824 readonly isFailedToTransactAsset: boolean;825 readonly isNotWithdrawable: boolean;826 readonly isLocationCannotHold: boolean;827 readonly isExceedsMaxMessageSize: boolean;828 readonly isDestinationUnsupported: boolean;829 readonly isTransport: boolean;830 readonly isUnroutable: boolean;831 readonly isUnknownClaim: boolean;832 readonly isFailedToDecode: boolean;833 readonly isMaxWeightInvalid: boolean;834 readonly isNotHoldingFees: boolean;835 readonly isTooExpensive: boolean;836 readonly isTrap: boolean;837 readonly asTrap: u64;838 readonly isUnhandledXcmVersion: boolean;839 readonly isWeightLimitReached: boolean;840 readonly asWeightLimitReached: u64;841 readonly isBarrier: boolean;842 readonly isWeightNotComputable: boolean;843 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';844 }845846 /** @name PalletXcmEvent (70) */847 interface PalletXcmEvent extends Enum {848 readonly isAttempted: boolean;849 readonly asAttempted: XcmV2TraitsOutcome;850 readonly isSent: boolean;851 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;852 readonly isUnexpectedResponse: boolean;853 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;854 readonly isResponseReady: boolean;855 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;856 readonly isNotified: boolean;857 readonly asNotified: ITuple<[u64, u8, u8]>;858 readonly isNotifyOverweight: boolean;859 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;860 readonly isNotifyDispatchError: boolean;861 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;862 readonly isNotifyDecodeFailed: boolean;863 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;864 readonly isInvalidResponder: boolean;865 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;866 readonly isInvalidResponderVersion: boolean;867 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;868 readonly isResponseTaken: boolean;869 readonly asResponseTaken: u64;870 readonly isAssetsTrapped: boolean;871 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;872 readonly isVersionChangeNotified: boolean;873 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;874 readonly isSupportedVersionChanged: boolean;875 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;876 readonly isNotifyTargetSendFail: boolean;877 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;878 readonly isNotifyTargetMigrationFail: boolean;879 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;880 readonly isAssetsClaimed: boolean;881 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;882 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';883 }884885 /** @name XcmV2TraitsOutcome (71) */886 interface XcmV2TraitsOutcome extends Enum {887 readonly isComplete: boolean;888 readonly asComplete: u64;889 readonly isIncomplete: boolean;890 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;891 readonly isError: boolean;892 readonly asError: XcmV2TraitsError;893 readonly type: 'Complete' | 'Incomplete' | 'Error';894 }895896 /** @name XcmV2Xcm (72) */897 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}898899 /** @name XcmV2Instruction (74) */900 interface XcmV2Instruction extends Enum {901 readonly isWithdrawAsset: boolean;902 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;903 readonly isReserveAssetDeposited: boolean;904 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;905 readonly isReceiveTeleportedAsset: boolean;906 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;907 readonly isQueryResponse: boolean;908 readonly asQueryResponse: {909 readonly queryId: Compact<u64>;910 readonly response: XcmV2Response;911 readonly maxWeight: Compact<u64>;912 } & Struct;913 readonly isTransferAsset: boolean;914 readonly asTransferAsset: {915 readonly assets: XcmV1MultiassetMultiAssets;916 readonly beneficiary: XcmV1MultiLocation;917 } & Struct;918 readonly isTransferReserveAsset: boolean;919 readonly asTransferReserveAsset: {920 readonly assets: XcmV1MultiassetMultiAssets;921 readonly dest: XcmV1MultiLocation;922 readonly xcm: XcmV2Xcm;923 } & Struct;924 readonly isTransact: boolean;925 readonly asTransact: {926 readonly originType: XcmV0OriginKind;927 readonly requireWeightAtMost: Compact<u64>;928 readonly call: XcmDoubleEncoded;929 } & Struct;930 readonly isHrmpNewChannelOpenRequest: boolean;931 readonly asHrmpNewChannelOpenRequest: {932 readonly sender: Compact<u32>;933 readonly maxMessageSize: Compact<u32>;934 readonly maxCapacity: Compact<u32>;935 } & Struct;936 readonly isHrmpChannelAccepted: boolean;937 readonly asHrmpChannelAccepted: {938 readonly recipient: Compact<u32>;939 } & Struct;940 readonly isHrmpChannelClosing: boolean;941 readonly asHrmpChannelClosing: {942 readonly initiator: Compact<u32>;943 readonly sender: Compact<u32>;944 readonly recipient: Compact<u32>;945 } & Struct;946 readonly isClearOrigin: boolean;947 readonly isDescendOrigin: boolean;948 readonly asDescendOrigin: XcmV1MultilocationJunctions;949 readonly isReportError: boolean;950 readonly asReportError: {951 readonly queryId: Compact<u64>;952 readonly dest: XcmV1MultiLocation;953 readonly maxResponseWeight: Compact<u64>;954 } & Struct;955 readonly isDepositAsset: boolean;956 readonly asDepositAsset: {957 readonly assets: XcmV1MultiassetMultiAssetFilter;958 readonly maxAssets: Compact<u32>;959 readonly beneficiary: XcmV1MultiLocation;960 } & Struct;961 readonly isDepositReserveAsset: boolean;962 readonly asDepositReserveAsset: {963 readonly assets: XcmV1MultiassetMultiAssetFilter;964 readonly maxAssets: Compact<u32>;965 readonly dest: XcmV1MultiLocation;966 readonly xcm: XcmV2Xcm;967 } & Struct;968 readonly isExchangeAsset: boolean;969 readonly asExchangeAsset: {970 readonly give: XcmV1MultiassetMultiAssetFilter;971 readonly receive: XcmV1MultiassetMultiAssets;972 } & Struct;973 readonly isInitiateReserveWithdraw: boolean;974 readonly asInitiateReserveWithdraw: {975 readonly assets: XcmV1MultiassetMultiAssetFilter;976 readonly reserve: XcmV1MultiLocation;977 readonly xcm: XcmV2Xcm;978 } & Struct;979 readonly isInitiateTeleport: boolean;980 readonly asInitiateTeleport: {981 readonly assets: XcmV1MultiassetMultiAssetFilter;982 readonly dest: XcmV1MultiLocation;983 readonly xcm: XcmV2Xcm;984 } & Struct;985 readonly isQueryHolding: boolean;986 readonly asQueryHolding: {987 readonly queryId: Compact<u64>;988 readonly dest: XcmV1MultiLocation;989 readonly assets: XcmV1MultiassetMultiAssetFilter;990 readonly maxResponseWeight: Compact<u64>;991 } & Struct;992 readonly isBuyExecution: boolean;993 readonly asBuyExecution: {994 readonly fees: XcmV1MultiAsset;995 readonly weightLimit: XcmV2WeightLimit;996 } & Struct;997 readonly isRefundSurplus: boolean;998 readonly isSetErrorHandler: boolean;999 readonly asSetErrorHandler: XcmV2Xcm;1000 readonly isSetAppendix: boolean;1001 readonly asSetAppendix: XcmV2Xcm;1002 readonly isClearError: boolean;1003 readonly isClaimAsset: boolean;1004 readonly asClaimAsset: {1005 readonly assets: XcmV1MultiassetMultiAssets;1006 readonly ticket: XcmV1MultiLocation;1007 } & Struct;1008 readonly isTrap: boolean;1009 readonly asTrap: Compact<u64>;1010 readonly isSubscribeVersion: boolean;1011 readonly asSubscribeVersion: {1012 readonly queryId: Compact<u64>;1013 readonly maxResponseWeight: Compact<u64>;1014 } & Struct;1015 readonly isUnsubscribeVersion: boolean;1016 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';1017 }10181019 /** @name XcmV2Response (75) */1020 interface XcmV2Response extends Enum {1021 readonly isNull: boolean;1022 readonly isAssets: boolean;1023 readonly asAssets: XcmV1MultiassetMultiAssets;1024 readonly isExecutionResult: boolean;1025 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1026 readonly isVersion: boolean;1027 readonly asVersion: u32;1028 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1029 }10301031 /** @name XcmV0OriginKind (78) */1032 interface XcmV0OriginKind extends Enum {1033 readonly isNative: boolean;1034 readonly isSovereignAccount: boolean;1035 readonly isSuperuser: boolean;1036 readonly isXcm: boolean;1037 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';1038 }10391040 /** @name XcmDoubleEncoded (79) */1041 interface XcmDoubleEncoded extends Struct {1042 readonly encoded: Bytes;1043 }10441045 /** @name XcmV1MultiassetMultiAssetFilter (80) */1046 interface XcmV1MultiassetMultiAssetFilter extends Enum {1047 readonly isDefinite: boolean;1048 readonly asDefinite: XcmV1MultiassetMultiAssets;1049 readonly isWild: boolean;1050 readonly asWild: XcmV1MultiassetWildMultiAsset;1051 readonly type: 'Definite' | 'Wild';1052 }10531054 /** @name XcmV1MultiassetWildMultiAsset (81) */1055 interface XcmV1MultiassetWildMultiAsset extends Enum {1056 readonly isAll: boolean;1057 readonly isAllOf: boolean;1058 readonly asAllOf: {1059 readonly id: XcmV1MultiassetAssetId;1060 readonly fun: XcmV1MultiassetWildFungibility;1061 } & Struct;1062 readonly type: 'All' | 'AllOf';1063 }10641065 /** @name XcmV1MultiassetWildFungibility (82) */1066 interface XcmV1MultiassetWildFungibility extends Enum {1067 readonly isFungible: boolean;1068 readonly isNonFungible: boolean;1069 readonly type: 'Fungible' | 'NonFungible';1070 }10711072 /** @name XcmV2WeightLimit (83) */1073 interface XcmV2WeightLimit extends Enum {1074 readonly isUnlimited: boolean;1075 readonly isLimited: boolean;1076 readonly asLimited: Compact<u64>;1077 readonly type: 'Unlimited' | 'Limited';1078 }10791080 /** @name XcmVersionedMultiAssets (85) */1081 interface XcmVersionedMultiAssets extends Enum {1082 readonly isV0: boolean;1083 readonly asV0: Vec<XcmV0MultiAsset>;1084 readonly isV1: boolean;1085 readonly asV1: XcmV1MultiassetMultiAssets;1086 readonly type: 'V0' | 'V1';1087 }10881089 /** @name XcmV0MultiAsset (87) */1090 interface XcmV0MultiAsset extends Enum {1091 readonly isNone: boolean;1092 readonly isAll: boolean;1093 readonly isAllFungible: boolean;1094 readonly isAllNonFungible: boolean;1095 readonly isAllAbstractFungible: boolean;1096 readonly asAllAbstractFungible: {1097 readonly id: Bytes;1098 } & Struct;1099 readonly isAllAbstractNonFungible: boolean;1100 readonly asAllAbstractNonFungible: {1101 readonly class: Bytes;1102 } & Struct;1103 readonly isAllConcreteFungible: boolean;1104 readonly asAllConcreteFungible: {1105 readonly id: XcmV0MultiLocation;1106 } & Struct;1107 readonly isAllConcreteNonFungible: boolean;1108 readonly asAllConcreteNonFungible: {1109 readonly class: XcmV0MultiLocation;1110 } & Struct;1111 readonly isAbstractFungible: boolean;1112 readonly asAbstractFungible: {1113 readonly id: Bytes;1114 readonly amount: Compact<u128>;1115 } & Struct;1116 readonly isAbstractNonFungible: boolean;1117 readonly asAbstractNonFungible: {1118 readonly class: Bytes;1119 readonly instance: XcmV1MultiassetAssetInstance;1120 } & Struct;1121 readonly isConcreteFungible: boolean;1122 readonly asConcreteFungible: {1123 readonly id: XcmV0MultiLocation;1124 readonly amount: Compact<u128>;1125 } & Struct;1126 readonly isConcreteNonFungible: boolean;1127 readonly asConcreteNonFungible: {1128 readonly class: XcmV0MultiLocation;1129 readonly instance: XcmV1MultiassetAssetInstance;1130 } & Struct;1131 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';1132 }11331134 /** @name XcmV0MultiLocation (88) */1135 interface XcmV0MultiLocation extends Enum {1136 readonly isNull: boolean;1137 readonly isX1: boolean;1138 readonly asX1: XcmV0Junction;1139 readonly isX2: boolean;1140 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;1141 readonly isX3: boolean;1142 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1143 readonly isX4: boolean;1144 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1145 readonly isX5: boolean;1146 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1147 readonly isX6: boolean;1148 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1149 readonly isX7: boolean;1150 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1151 readonly isX8: boolean;1152 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1153 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1154 }11551156 /** @name XcmV0Junction (89) */1157 interface XcmV0Junction extends Enum {1158 readonly isParent: boolean;1159 readonly isParachain: boolean;1160 readonly asParachain: Compact<u32>;1161 readonly isAccountId32: boolean;1162 readonly asAccountId32: {1163 readonly network: XcmV0JunctionNetworkId;1164 readonly id: U8aFixed;1165 } & Struct;1166 readonly isAccountIndex64: boolean;1167 readonly asAccountIndex64: {1168 readonly network: XcmV0JunctionNetworkId;1169 readonly index: Compact<u64>;1170 } & Struct;1171 readonly isAccountKey20: boolean;1172 readonly asAccountKey20: {1173 readonly network: XcmV0JunctionNetworkId;1174 readonly key: U8aFixed;1175 } & Struct;1176 readonly isPalletInstance: boolean;1177 readonly asPalletInstance: u8;1178 readonly isGeneralIndex: boolean;1179 readonly asGeneralIndex: Compact<u128>;1180 readonly isGeneralKey: boolean;1181 readonly asGeneralKey: Bytes;1182 readonly isOnlyChild: boolean;1183 readonly isPlurality: boolean;1184 readonly asPlurality: {1185 readonly id: XcmV0JunctionBodyId;1186 readonly part: XcmV0JunctionBodyPart;1187 } & Struct;1188 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1189 }11901191 /** @name XcmVersionedMultiLocation (90) */1192 interface XcmVersionedMultiLocation extends Enum {1193 readonly isV0: boolean;1194 readonly asV0: XcmV0MultiLocation;1195 readonly isV1: boolean;1196 readonly asV1: XcmV1MultiLocation;1197 readonly type: 'V0' | 'V1';1198 }11991200 /** @name CumulusPalletXcmEvent (91) */1201 interface CumulusPalletXcmEvent extends Enum {1202 readonly isInvalidFormat: boolean;1203 readonly asInvalidFormat: U8aFixed;1204 readonly isUnsupportedVersion: boolean;1205 readonly asUnsupportedVersion: U8aFixed;1206 readonly isExecutedDownward: boolean;1207 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1208 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1209 }12101211 /** @name CumulusPalletDmpQueueEvent (92) */1212 interface CumulusPalletDmpQueueEvent extends Enum {1213 readonly isInvalidFormat: boolean;1214 readonly asInvalidFormat: {1215 readonly messageId: U8aFixed;1216 } & Struct;1217 readonly isUnsupportedVersion: boolean;1218 readonly asUnsupportedVersion: {1219 readonly messageId: U8aFixed;1220 } & Struct;1221 readonly isExecutedDownward: boolean;1222 readonly asExecutedDownward: {1223 readonly messageId: U8aFixed;1224 readonly outcome: XcmV2TraitsOutcome;1225 } & Struct;1226 readonly isWeightExhausted: boolean;1227 readonly asWeightExhausted: {1228 readonly messageId: U8aFixed;1229 readonly remainingWeight: SpWeightsWeightV2Weight;1230 readonly requiredWeight: SpWeightsWeightV2Weight;1231 } & Struct;1232 readonly isOverweightEnqueued: boolean;1233 readonly asOverweightEnqueued: {1234 readonly messageId: U8aFixed;1235 readonly overweightIndex: u64;1236 readonly requiredWeight: SpWeightsWeightV2Weight;1237 } & Struct;1238 readonly isOverweightServiced: boolean;1239 readonly asOverweightServiced: {1240 readonly overweightIndex: u64;1241 readonly weightUsed: SpWeightsWeightV2Weight;1242 } & Struct;1243 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1244 }12451246 /** @name PalletConfigurationEvent (93) */1247 interface PalletConfigurationEvent extends Enum {1248 readonly isNewDesiredCollators: boolean;1249 readonly asNewDesiredCollators: {1250 readonly desiredCollators: Option<u32>;1251 } & Struct;1252 readonly isNewCollatorLicenseBond: boolean;1253 readonly asNewCollatorLicenseBond: {1254 readonly bondCost: Option<u128>;1255 } & Struct;1256 readonly isNewCollatorKickThreshold: boolean;1257 readonly asNewCollatorKickThreshold: {1258 readonly lengthInBlocks: Option<u32>;1259 } & Struct;1260 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1261 }12621263 /** @name PalletCommonEvent (96) */1264 interface PalletCommonEvent extends Enum {1265 readonly isCollectionCreated: boolean;1266 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1267 readonly isCollectionDestroyed: boolean;1268 readonly asCollectionDestroyed: u32;1269 readonly isItemCreated: boolean;1270 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1271 readonly isItemDestroyed: boolean;1272 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1273 readonly isTransfer: boolean;1274 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1275 readonly isApproved: boolean;1276 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1277 readonly isApprovedForAll: boolean;1278 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1279 readonly isCollectionPropertySet: boolean;1280 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1281 readonly isCollectionPropertyDeleted: boolean;1282 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1283 readonly isTokenPropertySet: boolean;1284 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1285 readonly isTokenPropertyDeleted: boolean;1286 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1287 readonly isPropertyPermissionSet: boolean;1288 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1289 readonly isAllowListAddressAdded: boolean;1290 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1291 readonly isAllowListAddressRemoved: boolean;1292 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1293 readonly isCollectionAdminAdded: boolean;1294 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1295 readonly isCollectionAdminRemoved: boolean;1296 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1297 readonly isCollectionLimitSet: boolean;1298 readonly asCollectionLimitSet: u32;1299 readonly isCollectionOwnerChanged: boolean;1300 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1301 readonly isCollectionPermissionSet: boolean;1302 readonly asCollectionPermissionSet: u32;1303 readonly isCollectionSponsorSet: boolean;1304 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1305 readonly isSponsorshipConfirmed: boolean;1306 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1307 readonly isCollectionSponsorRemoved: boolean;1308 readonly asCollectionSponsorRemoved: u32;1309 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1310 }13111312 /** @name PalletEvmAccountBasicCrossAccountIdRepr (99) */1313 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1314 readonly isSubstrate: boolean;1315 readonly asSubstrate: AccountId32;1316 readonly isEthereum: boolean;1317 readonly asEthereum: H160;1318 readonly type: 'Substrate' | 'Ethereum';1319 }13201321 /** @name PalletStructureEvent (103) */1322 interface PalletStructureEvent extends Enum {1323 readonly isExecuted: boolean;1324 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1325 readonly type: 'Executed';1326 }13271328 /** @name PalletAppPromotionEvent (104) */1329 interface PalletAppPromotionEvent extends Enum {1330 readonly isStakingRecalculation: boolean;1331 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1332 readonly isStake: boolean;1333 readonly asStake: ITuple<[AccountId32, u128]>;1334 readonly isUnstake: boolean;1335 readonly asUnstake: ITuple<[AccountId32, u128]>;1336 readonly isSetAdmin: boolean;1337 readonly asSetAdmin: AccountId32;1338 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1339 }13401341 /** @name PalletForeignAssetsModuleEvent (105) */1342 interface PalletForeignAssetsModuleEvent extends Enum {1343 readonly isForeignAssetRegistered: boolean;1344 readonly asForeignAssetRegistered: {1345 readonly assetId: u32;1346 readonly assetAddress: XcmV1MultiLocation;1347 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1348 } & Struct;1349 readonly isForeignAssetUpdated: boolean;1350 readonly asForeignAssetUpdated: {1351 readonly assetId: u32;1352 readonly assetAddress: XcmV1MultiLocation;1353 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1354 } & Struct;1355 readonly isAssetRegistered: boolean;1356 readonly asAssetRegistered: {1357 readonly assetId: PalletForeignAssetsAssetIds;1358 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1359 } & Struct;1360 readonly isAssetUpdated: boolean;1361 readonly asAssetUpdated: {1362 readonly assetId: PalletForeignAssetsAssetIds;1363 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1364 } & Struct;1365 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1366 }13671368 /** @name PalletForeignAssetsModuleAssetMetadata (106) */1369 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1370 readonly name: Bytes;1371 readonly symbol: Bytes;1372 readonly decimals: u8;1373 readonly minimalBalance: u128;1374 }13751376 /** @name PalletEvmEvent (107) */1377 interface PalletEvmEvent extends Enum {1378 readonly isLog: boolean;1379 readonly asLog: {1380 readonly log: EthereumLog;1381 } & Struct;1382 readonly isCreated: boolean;1383 readonly asCreated: {1384 readonly address: H160;1385 } & Struct;1386 readonly isCreatedFailed: boolean;1387 readonly asCreatedFailed: {1388 readonly address: H160;1389 } & Struct;1390 readonly isExecuted: boolean;1391 readonly asExecuted: {1392 readonly address: H160;1393 } & Struct;1394 readonly isExecutedFailed: boolean;1395 readonly asExecutedFailed: {1396 readonly address: H160;1397 } & Struct;1398 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1399 }14001401 /** @name EthereumLog (108) */1402 interface EthereumLog extends Struct {1403 readonly address: H160;1404 readonly topics: Vec<H256>;1405 readonly data: Bytes;1406 }14071408 /** @name PalletEthereumEvent (110) */1409 interface PalletEthereumEvent extends Enum {1410 readonly isExecuted: boolean;1411 readonly asExecuted: {1412 readonly from: H160;1413 readonly to: H160;1414 readonly transactionHash: H256;1415 readonly exitReason: EvmCoreErrorExitReason;1416 } & Struct;1417 readonly type: 'Executed';1418 }14191420 /** @name EvmCoreErrorExitReason (111) */1421 interface EvmCoreErrorExitReason extends Enum {1422 readonly isSucceed: boolean;1423 readonly asSucceed: EvmCoreErrorExitSucceed;1424 readonly isError: boolean;1425 readonly asError: EvmCoreErrorExitError;1426 readonly isRevert: boolean;1427 readonly asRevert: EvmCoreErrorExitRevert;1428 readonly isFatal: boolean;1429 readonly asFatal: EvmCoreErrorExitFatal;1430 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1431 }14321433 /** @name EvmCoreErrorExitSucceed (112) */1434 interface EvmCoreErrorExitSucceed extends Enum {1435 readonly isStopped: boolean;1436 readonly isReturned: boolean;1437 readonly isSuicided: boolean;1438 readonly type: 'Stopped' | 'Returned' | 'Suicided';1439 }14401441 /** @name EvmCoreErrorExitError (113) */1442 interface EvmCoreErrorExitError extends Enum {1443 readonly isStackUnderflow: boolean;1444 readonly isStackOverflow: boolean;1445 readonly isInvalidJump: boolean;1446 readonly isInvalidRange: boolean;1447 readonly isDesignatedInvalid: boolean;1448 readonly isCallTooDeep: boolean;1449 readonly isCreateCollision: boolean;1450 readonly isCreateContractLimit: boolean;1451 readonly isOutOfOffset: boolean;1452 readonly isOutOfGas: boolean;1453 readonly isOutOfFund: boolean;1454 readonly isPcUnderflow: boolean;1455 readonly isCreateEmpty: boolean;1456 readonly isOther: boolean;1457 readonly asOther: Text;1458 readonly isInvalidCode: boolean;1459 readonly asInvalidCode: u8;1460 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1461 }14621463 /** @name EvmCoreErrorExitRevert (117) */1464 interface EvmCoreErrorExitRevert extends Enum {1465 readonly isReverted: boolean;1466 readonly type: 'Reverted';1467 }14681469 /** @name EvmCoreErrorExitFatal (118) */1470 interface EvmCoreErrorExitFatal extends Enum {1471 readonly isNotSupported: boolean;1472 readonly isUnhandledInterrupt: boolean;1473 readonly isCallErrorAsFatal: boolean;1474 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1475 readonly isOther: boolean;1476 readonly asOther: Text;1477 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1478 }14791480 /** @name PalletEvmContractHelpersEvent (119) */1481 interface PalletEvmContractHelpersEvent extends Enum {1482 readonly isContractSponsorSet: boolean;1483 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1484 readonly isContractSponsorshipConfirmed: boolean;1485 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1486 readonly isContractSponsorRemoved: boolean;1487 readonly asContractSponsorRemoved: H160;1488 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1489 }14901491 /** @name PalletEvmMigrationEvent (120) */1492 interface PalletEvmMigrationEvent extends Enum {1493 readonly isTestEvent: boolean;1494 readonly type: 'TestEvent';1495 }14961497 /** @name PalletMaintenanceEvent (121) */1498 interface PalletMaintenanceEvent extends Enum {1499 readonly isMaintenanceEnabled: boolean;1500 readonly isMaintenanceDisabled: boolean;1501 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1502 }15031504 /** @name PalletTestUtilsEvent (122) */1505 interface PalletTestUtilsEvent extends Enum {1506 readonly isValueIsSet: boolean;1507 readonly isShouldRollback: boolean;1508 readonly isBatchCompleted: boolean;1509 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1510 }15111512 /** @name FrameSystemPhase (123) */1513 interface FrameSystemPhase extends Enum {1514 readonly isApplyExtrinsic: boolean;1515 readonly asApplyExtrinsic: u32;1516 readonly isFinalization: boolean;1517 readonly isInitialization: boolean;1518 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1519 }15201521 /** @name FrameSystemLastRuntimeUpgradeInfo (126) */1522 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1523 readonly specVersion: Compact<u32>;1524 readonly specName: Text;1525 }15261527 /** @name FrameSystemCall (127) */1528 interface FrameSystemCall extends Enum {1529 readonly isRemark: boolean;1530 readonly asRemark: {1531 readonly remark: Bytes;1532 } & Struct;1533 readonly isSetHeapPages: boolean;1534 readonly asSetHeapPages: {1535 readonly pages: u64;1536 } & Struct;1537 readonly isSetCode: boolean;1538 readonly asSetCode: {1539 readonly code: Bytes;1540 } & Struct;1541 readonly isSetCodeWithoutChecks: boolean;1542 readonly asSetCodeWithoutChecks: {1543 readonly code: Bytes;1544 } & Struct;1545 readonly isSetStorage: boolean;1546 readonly asSetStorage: {1547 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1548 } & Struct;1549 readonly isKillStorage: boolean;1550 readonly asKillStorage: {1551 readonly keys_: Vec<Bytes>;1552 } & Struct;1553 readonly isKillPrefix: boolean;1554 readonly asKillPrefix: {1555 readonly prefix: Bytes;1556 readonly subkeys: u32;1557 } & Struct;1558 readonly isRemarkWithEvent: boolean;1559 readonly asRemarkWithEvent: {1560 readonly remark: Bytes;1561 } & Struct;1562 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1563 }15641565 /** @name FrameSystemLimitsBlockWeights (131) */1566 interface FrameSystemLimitsBlockWeights extends Struct {1567 readonly baseBlock: SpWeightsWeightV2Weight;1568 readonly maxBlock: SpWeightsWeightV2Weight;1569 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1570 }15711572 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (132) */1573 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1574 readonly normal: FrameSystemLimitsWeightsPerClass;1575 readonly operational: FrameSystemLimitsWeightsPerClass;1576 readonly mandatory: FrameSystemLimitsWeightsPerClass;1577 }15781579 /** @name FrameSystemLimitsWeightsPerClass (133) */1580 interface FrameSystemLimitsWeightsPerClass extends Struct {1581 readonly baseExtrinsic: SpWeightsWeightV2Weight;1582 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1583 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1584 readonly reserved: Option<SpWeightsWeightV2Weight>;1585 }15861587 /** @name FrameSystemLimitsBlockLength (135) */1588 interface FrameSystemLimitsBlockLength extends Struct {1589 readonly max: FrameSupportDispatchPerDispatchClassU32;1590 }15911592 /** @name FrameSupportDispatchPerDispatchClassU32 (136) */1593 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1594 readonly normal: u32;1595 readonly operational: u32;1596 readonly mandatory: u32;1597 }15981599 /** @name SpWeightsRuntimeDbWeight (137) */1600 interface SpWeightsRuntimeDbWeight extends Struct {1601 readonly read: u64;1602 readonly write: u64;1603 }16041605 /** @name SpVersionRuntimeVersion (138) */1606 interface SpVersionRuntimeVersion extends Struct {1607 readonly specName: Text;1608 readonly implName: Text;1609 readonly authoringVersion: u32;1610 readonly specVersion: u32;1611 readonly implVersion: u32;1612 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1613 readonly transactionVersion: u32;1614 readonly stateVersion: u8;1615 }16161617 /** @name FrameSystemError (143) */1618 interface FrameSystemError extends Enum {1619 readonly isInvalidSpecName: boolean;1620 readonly isSpecVersionNeedsToIncrease: boolean;1621 readonly isFailedToExtractRuntimeVersion: boolean;1622 readonly isNonDefaultComposite: boolean;1623 readonly isNonZeroRefCount: boolean;1624 readonly isCallFiltered: boolean;1625 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1626 }16271628 /** @name PolkadotPrimitivesV2PersistedValidationData (144) */1629 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1630 readonly parentHead: Bytes;1631 readonly relayParentNumber: u32;1632 readonly relayParentStorageRoot: H256;1633 readonly maxPovSize: u32;1634 }16351636 /** @name PolkadotPrimitivesV2UpgradeRestriction (147) */1637 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1638 readonly isPresent: boolean;1639 readonly type: 'Present';1640 }16411642 /** @name SpTrieStorageProof (148) */1643 interface SpTrieStorageProof extends Struct {1644 readonly trieNodes: BTreeSet<Bytes>;1645 }16461647 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (150) */1648 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1649 readonly dmqMqcHead: H256;1650 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1651 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1652 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1653 }16541655 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (153) */1656 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1657 readonly maxCapacity: u32;1658 readonly maxTotalSize: u32;1659 readonly maxMessageSize: u32;1660 readonly msgCount: u32;1661 readonly totalSize: u32;1662 readonly mqcHead: Option<H256>;1663 }16641665 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (154) */1666 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1667 readonly maxCodeSize: u32;1668 readonly maxHeadDataSize: u32;1669 readonly maxUpwardQueueCount: u32;1670 readonly maxUpwardQueueSize: u32;1671 readonly maxUpwardMessageSize: u32;1672 readonly maxUpwardMessageNumPerCandidate: u32;1673 readonly hrmpMaxMessageNumPerCandidate: u32;1674 readonly validationUpgradeCooldown: u32;1675 readonly validationUpgradeDelay: u32;1676 }16771678 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (160) */1679 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1680 readonly recipient: u32;1681 readonly data: Bytes;1682 }16831684 /** @name CumulusPalletParachainSystemCall (161) */1685 interface CumulusPalletParachainSystemCall extends Enum {1686 readonly isSetValidationData: boolean;1687 readonly asSetValidationData: {1688 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1689 } & Struct;1690 readonly isSudoSendUpwardMessage: boolean;1691 readonly asSudoSendUpwardMessage: {1692 readonly message: Bytes;1693 } & Struct;1694 readonly isAuthorizeUpgrade: boolean;1695 readonly asAuthorizeUpgrade: {1696 readonly codeHash: H256;1697 } & Struct;1698 readonly isEnactAuthorizedUpgrade: boolean;1699 readonly asEnactAuthorizedUpgrade: {1700 readonly code: Bytes;1701 } & Struct;1702 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1703 }17041705 /** @name CumulusPrimitivesParachainInherentParachainInherentData (162) */1706 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1707 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1708 readonly relayChainState: SpTrieStorageProof;1709 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1710 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1711 }17121713 /** @name PolkadotCorePrimitivesInboundDownwardMessage (164) */1714 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1715 readonly sentAt: u32;1716 readonly msg: Bytes;1717 }17181719 /** @name PolkadotCorePrimitivesInboundHrmpMessage (167) */1720 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1721 readonly sentAt: u32;1722 readonly data: Bytes;1723 }17241725 /** @name CumulusPalletParachainSystemError (170) */1726 interface CumulusPalletParachainSystemError extends Enum {1727 readonly isOverlappingUpgrades: boolean;1728 readonly isProhibitedByPolkadot: boolean;1729 readonly isTooBig: boolean;1730 readonly isValidationDataNotAvailable: boolean;1731 readonly isHostConfigurationNotAvailable: boolean;1732 readonly isNotScheduled: boolean;1733 readonly isNothingAuthorized: boolean;1734 readonly isUnauthorized: boolean;1735 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1736 }17371738 /** @name PalletAuthorshipUncleEntryItem (172) */1739 interface PalletAuthorshipUncleEntryItem extends Enum {1740 readonly isInclusionHeight: boolean;1741 readonly asInclusionHeight: u32;1742 readonly isUncle: boolean;1743 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1744 readonly type: 'InclusionHeight' | 'Uncle';1745 }17461747 /** @name PalletAuthorshipCall (174) */1748 interface PalletAuthorshipCall extends Enum {1749 readonly isSetUncles: boolean;1750 readonly asSetUncles: {1751 readonly newUncles: Vec<SpRuntimeHeader>;1752 } & Struct;1753 readonly type: 'SetUncles';1754 }17551756 /** @name SpRuntimeHeader (176) */1757 interface SpRuntimeHeader extends Struct {1758 readonly parentHash: H256;1759 readonly number: Compact<u32>;1760 readonly stateRoot: H256;1761 readonly extrinsicsRoot: H256;1762 readonly digest: SpRuntimeDigest;1763 }17641765 /** @name SpRuntimeBlakeTwo256 (177) */1766 type SpRuntimeBlakeTwo256 = Null;17671768 /** @name PalletAuthorshipError (178) */1769 interface PalletAuthorshipError extends Enum {1770 readonly isInvalidUncleParent: boolean;1771 readonly isUnclesAlreadySet: boolean;1772 readonly isTooManyUncles: boolean;1773 readonly isGenesisUncle: boolean;1774 readonly isTooHighUncle: boolean;1775 readonly isUncleAlreadyIncluded: boolean;1776 readonly isOldUncle: boolean;1777 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1778 }17791780 /** @name PalletCollatorSelectionCall (181) */1781 interface PalletCollatorSelectionCall extends Enum {1782 readonly isAddInvulnerable: boolean;1783 readonly asAddInvulnerable: {1784 readonly new_: AccountId32;1785 } & Struct;1786 readonly isRemoveInvulnerable: boolean;1787 readonly asRemoveInvulnerable: {1788 readonly who: AccountId32;1789 } & Struct;1790 readonly isGetLicense: boolean;1791 readonly isOnboard: boolean;1792 readonly isOffboard: boolean;1793 readonly isReleaseLicense: boolean;1794 readonly isForceReleaseLicense: boolean;1795 readonly asForceReleaseLicense: {1796 readonly who: AccountId32;1797 } & Struct;1798 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1799 }18001801 /** @name PalletCollatorSelectionError (182) */1802 interface PalletCollatorSelectionError extends Enum {1803 readonly isTooManyCandidates: boolean;1804 readonly isUnknown: boolean;1805 readonly isPermission: boolean;1806 readonly isAlreadyHoldingLicense: boolean;1807 readonly isNoLicense: boolean;1808 readonly isAlreadyCandidate: boolean;1809 readonly isNotCandidate: boolean;1810 readonly isTooManyInvulnerables: boolean;1811 readonly isTooFewInvulnerables: boolean;1812 readonly isAlreadyInvulnerable: boolean;1813 readonly isNotInvulnerable: boolean;1814 readonly isNoAssociatedValidatorId: boolean;1815 readonly isValidatorNotRegistered: boolean;1816 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1817 }18181819 /** @name OpalRuntimeRuntimeCommonSessionKeys (185) */1820 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {1821 readonly aura: SpConsensusAuraSr25519AppSr25519Public;1822 }18231824 /** @name SpConsensusAuraSr25519AppSr25519Public (186) */1825 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}18261827 /** @name SpCoreSr25519Public (187) */1828 interface SpCoreSr25519Public extends U8aFixed {}18291830 /** @name SpCoreCryptoKeyTypeId (190) */1831 interface SpCoreCryptoKeyTypeId extends U8aFixed {}18321833 /** @name PalletSessionCall (191) */1834 interface PalletSessionCall extends Enum {1835 readonly isSetKeys: boolean;1836 readonly asSetKeys: {1837 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;1838 readonly proof: Bytes;1839 } & Struct;1840 readonly isPurgeKeys: boolean;1841 readonly type: 'SetKeys' | 'PurgeKeys';1842 }18431844 /** @name PalletSessionError (192) */1845 interface PalletSessionError extends Enum {1846 readonly isInvalidProof: boolean;1847 readonly isNoAssociatedValidatorId: boolean;1848 readonly isDuplicatedKey: boolean;1849 readonly isNoKeys: boolean;1850 readonly isNoAccount: boolean;1851 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';1852 }18531854 /** @name PalletBalancesBalanceLock (194) */1855 interface PalletBalancesBalanceLock extends Struct {1856 readonly id: U8aFixed;1857 readonly amount: u128;1858 readonly reasons: PalletBalancesReasons;1859 }18601861 /** @name PalletBalancesReasons (195) */1862 interface PalletBalancesReasons extends Enum {1863 readonly isFee: boolean;1864 readonly isMisc: boolean;1865 readonly isAll: boolean;1866 readonly type: 'Fee' | 'Misc' | 'All';1867 }18681869 /** @name PalletBalancesReserveData (198) */1870 interface PalletBalancesReserveData extends Struct {1871 readonly id: U8aFixed;1872 readonly amount: u128;1873 }18741875 /** @name PalletBalancesCall (200) */1876 interface PalletBalancesCall extends Enum {1877 readonly isTransfer: boolean;1878 readonly asTransfer: {1879 readonly dest: MultiAddress;1880 readonly value: Compact<u128>;1881 } & Struct;1882 readonly isSetBalance: boolean;1883 readonly asSetBalance: {1884 readonly who: MultiAddress;1885 readonly newFree: Compact<u128>;1886 readonly newReserved: Compact<u128>;1887 } & Struct;1888 readonly isForceTransfer: boolean;1889 readonly asForceTransfer: {1890 readonly source: MultiAddress;1891 readonly dest: MultiAddress;1892 readonly value: Compact<u128>;1893 } & Struct;1894 readonly isTransferKeepAlive: boolean;1895 readonly asTransferKeepAlive: {1896 readonly dest: MultiAddress;1897 readonly value: Compact<u128>;1898 } & Struct;1899 readonly isTransferAll: boolean;1900 readonly asTransferAll: {1901 readonly dest: MultiAddress;1902 readonly keepAlive: bool;1903 } & Struct;1904 readonly isForceUnreserve: boolean;1905 readonly asForceUnreserve: {1906 readonly who: MultiAddress;1907 readonly amount: u128;1908 } & Struct;1909 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1910 }19111912 /** @name PalletBalancesError (203) */1913 interface PalletBalancesError extends Enum {1914 readonly isVestingBalance: boolean;1915 readonly isLiquidityRestrictions: boolean;1916 readonly isInsufficientBalance: boolean;1917 readonly isExistentialDeposit: boolean;1918 readonly isKeepAlive: boolean;1919 readonly isExistingVestingSchedule: boolean;1920 readonly isDeadAccount: boolean;1921 readonly isTooManyReserves: boolean;1922 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1923 }19241925 /** @name PalletTimestampCall (205) */1926 interface PalletTimestampCall extends Enum {1927 readonly isSet: boolean;1928 readonly asSet: {1929 readonly now: Compact<u64>;1930 } & Struct;1931 readonly type: 'Set';1932 }19331934 /** @name PalletTransactionPaymentReleases (207) */1935 interface PalletTransactionPaymentReleases extends Enum {1936 readonly isV1Ancient: boolean;1937 readonly isV2: boolean;1938 readonly type: 'V1Ancient' | 'V2';1939 }19401941 /** @name PalletTreasuryProposal (208) */1942 interface PalletTreasuryProposal extends Struct {1943 readonly proposer: AccountId32;1944 readonly value: u128;1945 readonly beneficiary: AccountId32;1946 readonly bond: u128;1947 }19481949 /** @name PalletTreasuryCall (210) */1950 interface PalletTreasuryCall extends Enum {1951 readonly isProposeSpend: boolean;1952 readonly asProposeSpend: {1953 readonly value: Compact<u128>;1954 readonly beneficiary: MultiAddress;1955 } & Struct;1956 readonly isRejectProposal: boolean;1957 readonly asRejectProposal: {1958 readonly proposalId: Compact<u32>;1959 } & Struct;1960 readonly isApproveProposal: boolean;1961 readonly asApproveProposal: {1962 readonly proposalId: Compact<u32>;1963 } & Struct;1964 readonly isSpend: boolean;1965 readonly asSpend: {1966 readonly amount: Compact<u128>;1967 readonly beneficiary: MultiAddress;1968 } & Struct;1969 readonly isRemoveApproval: boolean;1970 readonly asRemoveApproval: {1971 readonly proposalId: Compact<u32>;1972 } & Struct;1973 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1974 }19751976 /** @name FrameSupportPalletId (212) */1977 interface FrameSupportPalletId extends U8aFixed {}19781979 /** @name PalletTreasuryError (213) */1980 interface PalletTreasuryError extends Enum {1981 readonly isInsufficientProposersBalance: boolean;1982 readonly isInvalidIndex: boolean;1983 readonly isTooManyApprovals: boolean;1984 readonly isInsufficientPermission: boolean;1985 readonly isProposalNotApproved: boolean;1986 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1987 }19881989 /** @name PalletSudoCall (214) */1990 interface PalletSudoCall extends Enum {1991 readonly isSudo: boolean;1992 readonly asSudo: {1993 readonly call: Call;1994 } & Struct;1995 readonly isSudoUncheckedWeight: boolean;1996 readonly asSudoUncheckedWeight: {1997 readonly call: Call;1998 readonly weight: SpWeightsWeightV2Weight;1999 } & Struct;2000 readonly isSetKey: boolean;2001 readonly asSetKey: {2002 readonly new_: MultiAddress;2003 } & Struct;2004 readonly isSudoAs: boolean;2005 readonly asSudoAs: {2006 readonly who: MultiAddress;2007 readonly call: Call;2008 } & Struct;2009 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2010 }20112012 /** @name OrmlVestingModuleCall (216) */2013 interface OrmlVestingModuleCall extends Enum {2014 readonly isClaim: boolean;2015 readonly isVestedTransfer: boolean;2016 readonly asVestedTransfer: {2017 readonly dest: MultiAddress;2018 readonly schedule: OrmlVestingVestingSchedule;2019 } & Struct;2020 readonly isUpdateVestingSchedules: boolean;2021 readonly asUpdateVestingSchedules: {2022 readonly who: MultiAddress;2023 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;2024 } & Struct;2025 readonly isClaimFor: boolean;2026 readonly asClaimFor: {2027 readonly dest: MultiAddress;2028 } & Struct;2029 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2030 }20312032 /** @name OrmlXtokensModuleCall (218) */2033 interface OrmlXtokensModuleCall extends Enum {2034 readonly isTransfer: boolean;2035 readonly asTransfer: {2036 readonly currencyId: PalletForeignAssetsAssetIds;2037 readonly amount: u128;2038 readonly dest: XcmVersionedMultiLocation;2039 readonly destWeightLimit: XcmV2WeightLimit;2040 } & Struct;2041 readonly isTransferMultiasset: boolean;2042 readonly asTransferMultiasset: {2043 readonly asset: XcmVersionedMultiAsset;2044 readonly dest: XcmVersionedMultiLocation;2045 readonly destWeightLimit: XcmV2WeightLimit;2046 } & Struct;2047 readonly isTransferWithFee: boolean;2048 readonly asTransferWithFee: {2049 readonly currencyId: PalletForeignAssetsAssetIds;2050 readonly amount: u128;2051 readonly fee: u128;2052 readonly dest: XcmVersionedMultiLocation;2053 readonly destWeightLimit: XcmV2WeightLimit;2054 } & Struct;2055 readonly isTransferMultiassetWithFee: boolean;2056 readonly asTransferMultiassetWithFee: {2057 readonly asset: XcmVersionedMultiAsset;2058 readonly fee: XcmVersionedMultiAsset;2059 readonly dest: XcmVersionedMultiLocation;2060 readonly destWeightLimit: XcmV2WeightLimit;2061 } & Struct;2062 readonly isTransferMulticurrencies: boolean;2063 readonly asTransferMulticurrencies: {2064 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;2065 readonly feeItem: u32;2066 readonly dest: XcmVersionedMultiLocation;2067 readonly destWeightLimit: XcmV2WeightLimit;2068 } & Struct;2069 readonly isTransferMultiassets: boolean;2070 readonly asTransferMultiassets: {2071 readonly assets: XcmVersionedMultiAssets;2072 readonly feeItem: u32;2073 readonly dest: XcmVersionedMultiLocation;2074 readonly destWeightLimit: XcmV2WeightLimit;2075 } & Struct;2076 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2077 }20782079 /** @name XcmVersionedMultiAsset (219) */2080 interface XcmVersionedMultiAsset extends Enum {2081 readonly isV0: boolean;2082 readonly asV0: XcmV0MultiAsset;2083 readonly isV1: boolean;2084 readonly asV1: XcmV1MultiAsset;2085 readonly type: 'V0' | 'V1';2086 }20872088 /** @name OrmlTokensModuleCall (222) */2089 interface OrmlTokensModuleCall extends Enum {2090 readonly isTransfer: boolean;2091 readonly asTransfer: {2092 readonly dest: MultiAddress;2093 readonly currencyId: PalletForeignAssetsAssetIds;2094 readonly amount: Compact<u128>;2095 } & Struct;2096 readonly isTransferAll: boolean;2097 readonly asTransferAll: {2098 readonly dest: MultiAddress;2099 readonly currencyId: PalletForeignAssetsAssetIds;2100 readonly keepAlive: bool;2101 } & Struct;2102 readonly isTransferKeepAlive: boolean;2103 readonly asTransferKeepAlive: {2104 readonly dest: MultiAddress;2105 readonly currencyId: PalletForeignAssetsAssetIds;2106 readonly amount: Compact<u128>;2107 } & Struct;2108 readonly isForceTransfer: boolean;2109 readonly asForceTransfer: {2110 readonly source: MultiAddress;2111 readonly dest: MultiAddress;2112 readonly currencyId: PalletForeignAssetsAssetIds;2113 readonly amount: Compact<u128>;2114 } & Struct;2115 readonly isSetBalance: boolean;2116 readonly asSetBalance: {2117 readonly who: MultiAddress;2118 readonly currencyId: PalletForeignAssetsAssetIds;2119 readonly newFree: Compact<u128>;2120 readonly newReserved: Compact<u128>;2121 } & Struct;2122 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2123 }21242125 /** @name PalletIdentityCall (223) */2126 interface PalletIdentityCall extends Enum {2127 readonly isAddRegistrar: boolean;2128 readonly asAddRegistrar: {2129 readonly account: MultiAddress;2130 } & Struct;2131 readonly isSetIdentity: boolean;2132 readonly asSetIdentity: {2133 readonly info: PalletIdentityIdentityInfo;2134 } & Struct;2135 readonly isSetSubs: boolean;2136 readonly asSetSubs: {2137 readonly subs: Vec<ITuple<[AccountId32, Data]>>;2138 } & Struct;2139 readonly isClearIdentity: boolean;2140 readonly isRequestJudgement: boolean;2141 readonly asRequestJudgement: {2142 readonly regIndex: Compact<u32>;2143 readonly maxFee: Compact<u128>;2144 } & Struct;2145 readonly isCancelRequest: boolean;2146 readonly asCancelRequest: {2147 readonly regIndex: u32;2148 } & Struct;2149 readonly isSetFee: boolean;2150 readonly asSetFee: {2151 readonly index: Compact<u32>;2152 readonly fee: Compact<u128>;2153 } & Struct;2154 readonly isSetAccountId: boolean;2155 readonly asSetAccountId: {2156 readonly index: Compact<u32>;2157 readonly new_: MultiAddress;2158 } & Struct;2159 readonly isSetFields: boolean;2160 readonly asSetFields: {2161 readonly index: Compact<u32>;2162 readonly fields: PalletIdentityBitFlags;2163 } & Struct;2164 readonly isProvideJudgement: boolean;2165 readonly asProvideJudgement: {2166 readonly regIndex: Compact<u32>;2167 readonly target: MultiAddress;2168 readonly judgement: PalletIdentityJudgement;2169 readonly identity: H256;2170 } & Struct;2171 readonly isKillIdentity: boolean;2172 readonly asKillIdentity: {2173 readonly target: MultiAddress;2174 } & Struct;2175 readonly isAddSub: boolean;2176 readonly asAddSub: {2177 readonly sub: MultiAddress;2178 readonly data: Data;2179 } & Struct;2180 readonly isRenameSub: boolean;2181 readonly asRenameSub: {2182 readonly sub: MultiAddress;2183 readonly data: Data;2184 } & Struct;2185 readonly isRemoveSub: boolean;2186 readonly asRemoveSub: {2187 readonly sub: MultiAddress;2188 } & Struct;2189 readonly isQuitSub: boolean;2190 readonly isForceInsertIdentities: boolean;2191 readonly asForceInsertIdentities: {2192 readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;2193 } & Struct;2194 readonly isForceRemoveIdentities: boolean;2195 readonly asForceRemoveIdentities: {2196 readonly identities: Vec<AccountId32>;2197 } & Struct;2198 readonly isForceSetSubs: boolean;2199 readonly asForceSetSubs: {2200 readonly subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>;2201 } & Struct;2202 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs';2203 }22042205 /** @name PalletIdentityIdentityInfo (224) */2206 interface PalletIdentityIdentityInfo extends Struct {2207 readonly additional: Vec<ITuple<[Data, Data]>>;2208 readonly display: Data;2209 readonly legal: Data;2210 readonly web: Data;2211 readonly riot: Data;2212 readonly email: Data;2213 readonly pgpFingerprint: Option<U8aFixed>;2214 readonly image: Data;2215 readonly twitter: Data;2216 }22172218 /** @name PalletIdentityBitFlags (260) */2219 interface PalletIdentityBitFlags extends Set {2220 readonly isDisplay: boolean;2221 readonly isLegal: boolean;2222 readonly isWeb: boolean;2223 readonly isRiot: boolean;2224 readonly isEmail: boolean;2225 readonly isPgpFingerprint: boolean;2226 readonly isImage: boolean;2227 readonly isTwitter: boolean;2228 }22292230 /** @name PalletIdentityIdentityField (261) */2231 interface PalletIdentityIdentityField extends Enum {2232 readonly isDisplay: boolean;2233 readonly isLegal: boolean;2234 readonly isWeb: boolean;2235 readonly isRiot: boolean;2236 readonly isEmail: boolean;2237 readonly isPgpFingerprint: boolean;2238 readonly isImage: boolean;2239 readonly isTwitter: boolean;2240 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';2241 }22422243 /** @name PalletIdentityJudgement (262) */2244 interface PalletIdentityJudgement extends Enum {2245 readonly isUnknown: boolean;2246 readonly isFeePaid: boolean;2247 readonly asFeePaid: u128;2248 readonly isReasonable: boolean;2249 readonly isKnownGood: boolean;2250 readonly isOutOfDate: boolean;2251 readonly isLowQuality: boolean;2252 readonly isErroneous: boolean;2253 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';2254 }22552256 /** @name PalletIdentityRegistration (265) */2257 interface PalletIdentityRegistration extends Struct {2258 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;2259 readonly deposit: u128;2260 readonly info: PalletIdentityIdentityInfo;2261 }22622263 /** @name PalletPreimageCall (273) */2264 interface PalletPreimageCall extends Enum {2265 readonly isNotePreimage: boolean;2266 readonly asNotePreimage: {2267 readonly bytes: Bytes;2268 } & Struct;2269 readonly isUnnotePreimage: boolean;2270 readonly asUnnotePreimage: {2271 readonly hash_: H256;2272 } & Struct;2273 readonly isRequestPreimage: boolean;2274 readonly asRequestPreimage: {2275 readonly hash_: H256;2276 } & Struct;2277 readonly isUnrequestPreimage: boolean;2278 readonly asUnrequestPreimage: {2279 readonly hash_: H256;2280 } & Struct;2281 readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';2282 }22832284 /** @name CumulusPalletXcmpQueueCall (274) */2285 interface CumulusPalletXcmpQueueCall extends Enum {2286 readonly isServiceOverweight: boolean;2287 readonly asServiceOverweight: {2288 readonly index: u64;2289 readonly weightLimit: u64;2290 } & Struct;2291 readonly isSuspendXcmExecution: boolean;2292 readonly isResumeXcmExecution: boolean;2293 readonly isUpdateSuspendThreshold: boolean;2294 readonly asUpdateSuspendThreshold: {2295 readonly new_: u32;2296 } & Struct;2297 readonly isUpdateDropThreshold: boolean;2298 readonly asUpdateDropThreshold: {2299 readonly new_: u32;2300 } & Struct;2301 readonly isUpdateResumeThreshold: boolean;2302 readonly asUpdateResumeThreshold: {2303 readonly new_: u32;2304 } & Struct;2305 readonly isUpdateThresholdWeight: boolean;2306 readonly asUpdateThresholdWeight: {2307 readonly new_: u64;2308 } & Struct;2309 readonly isUpdateWeightRestrictDecay: boolean;2310 readonly asUpdateWeightRestrictDecay: {2311 readonly new_: u64;2312 } & Struct;2313 readonly isUpdateXcmpMaxIndividualWeight: boolean;2314 readonly asUpdateXcmpMaxIndividualWeight: {2315 readonly new_: u64;2316 } & Struct;2317 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2318 }23192320 /** @name PalletXcmCall (275) */2321 interface PalletXcmCall extends Enum {2322 readonly isSend: boolean;2323 readonly asSend: {2324 readonly dest: XcmVersionedMultiLocation;2325 readonly message: XcmVersionedXcm;2326 } & Struct;2327 readonly isTeleportAssets: boolean;2328 readonly asTeleportAssets: {2329 readonly dest: XcmVersionedMultiLocation;2330 readonly beneficiary: XcmVersionedMultiLocation;2331 readonly assets: XcmVersionedMultiAssets;2332 readonly feeAssetItem: u32;2333 } & Struct;2334 readonly isReserveTransferAssets: boolean;2335 readonly asReserveTransferAssets: {2336 readonly dest: XcmVersionedMultiLocation;2337 readonly beneficiary: XcmVersionedMultiLocation;2338 readonly assets: XcmVersionedMultiAssets;2339 readonly feeAssetItem: u32;2340 } & Struct;2341 readonly isExecute: boolean;2342 readonly asExecute: {2343 readonly message: XcmVersionedXcm;2344 readonly maxWeight: u64;2345 } & Struct;2346 readonly isForceXcmVersion: boolean;2347 readonly asForceXcmVersion: {2348 readonly location: XcmV1MultiLocation;2349 readonly xcmVersion: u32;2350 } & Struct;2351 readonly isForceDefaultXcmVersion: boolean;2352 readonly asForceDefaultXcmVersion: {2353 readonly maybeXcmVersion: Option<u32>;2354 } & Struct;2355 readonly isForceSubscribeVersionNotify: boolean;2356 readonly asForceSubscribeVersionNotify: {2357 readonly location: XcmVersionedMultiLocation;2358 } & Struct;2359 readonly isForceUnsubscribeVersionNotify: boolean;2360 readonly asForceUnsubscribeVersionNotify: {2361 readonly location: XcmVersionedMultiLocation;2362 } & Struct;2363 readonly isLimitedReserveTransferAssets: boolean;2364 readonly asLimitedReserveTransferAssets: {2365 readonly dest: XcmVersionedMultiLocation;2366 readonly beneficiary: XcmVersionedMultiLocation;2367 readonly assets: XcmVersionedMultiAssets;2368 readonly feeAssetItem: u32;2369 readonly weightLimit: XcmV2WeightLimit;2370 } & Struct;2371 readonly isLimitedTeleportAssets: boolean;2372 readonly asLimitedTeleportAssets: {2373 readonly dest: XcmVersionedMultiLocation;2374 readonly beneficiary: XcmVersionedMultiLocation;2375 readonly assets: XcmVersionedMultiAssets;2376 readonly feeAssetItem: u32;2377 readonly weightLimit: XcmV2WeightLimit;2378 } & Struct;2379 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2380 }23812382 /** @name XcmVersionedXcm (276) */2383 interface XcmVersionedXcm extends Enum {2384 readonly isV0: boolean;2385 readonly asV0: XcmV0Xcm;2386 readonly isV1: boolean;2387 readonly asV1: XcmV1Xcm;2388 readonly isV2: boolean;2389 readonly asV2: XcmV2Xcm;2390 readonly type: 'V0' | 'V1' | 'V2';2391 }23922393 /** @name XcmV0Xcm (277) */2394 interface XcmV0Xcm extends Enum {2395 readonly isWithdrawAsset: boolean;2396 readonly asWithdrawAsset: {2397 readonly assets: Vec<XcmV0MultiAsset>;2398 readonly effects: Vec<XcmV0Order>;2399 } & Struct;2400 readonly isReserveAssetDeposit: boolean;2401 readonly asReserveAssetDeposit: {2402 readonly assets: Vec<XcmV0MultiAsset>;2403 readonly effects: Vec<XcmV0Order>;2404 } & Struct;2405 readonly isTeleportAsset: boolean;2406 readonly asTeleportAsset: {2407 readonly assets: Vec<XcmV0MultiAsset>;2408 readonly effects: Vec<XcmV0Order>;2409 } & Struct;2410 readonly isQueryResponse: boolean;2411 readonly asQueryResponse: {2412 readonly queryId: Compact<u64>;2413 readonly response: XcmV0Response;2414 } & Struct;2415 readonly isTransferAsset: boolean;2416 readonly asTransferAsset: {2417 readonly assets: Vec<XcmV0MultiAsset>;2418 readonly dest: XcmV0MultiLocation;2419 } & Struct;2420 readonly isTransferReserveAsset: boolean;2421 readonly asTransferReserveAsset: {2422 readonly assets: Vec<XcmV0MultiAsset>;2423 readonly dest: XcmV0MultiLocation;2424 readonly effects: Vec<XcmV0Order>;2425 } & Struct;2426 readonly isTransact: boolean;2427 readonly asTransact: {2428 readonly originType: XcmV0OriginKind;2429 readonly requireWeightAtMost: u64;2430 readonly call: XcmDoubleEncoded;2431 } & Struct;2432 readonly isHrmpNewChannelOpenRequest: boolean;2433 readonly asHrmpNewChannelOpenRequest: {2434 readonly sender: Compact<u32>;2435 readonly maxMessageSize: Compact<u32>;2436 readonly maxCapacity: Compact<u32>;2437 } & Struct;2438 readonly isHrmpChannelAccepted: boolean;2439 readonly asHrmpChannelAccepted: {2440 readonly recipient: Compact<u32>;2441 } & Struct;2442 readonly isHrmpChannelClosing: boolean;2443 readonly asHrmpChannelClosing: {2444 readonly initiator: Compact<u32>;2445 readonly sender: Compact<u32>;2446 readonly recipient: Compact<u32>;2447 } & Struct;2448 readonly isRelayedFrom: boolean;2449 readonly asRelayedFrom: {2450 readonly who: XcmV0MultiLocation;2451 readonly message: XcmV0Xcm;2452 } & Struct;2453 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2454 }24552456 /** @name XcmV0Order (279) */2457 interface XcmV0Order extends Enum {2458 readonly isNull: boolean;2459 readonly isDepositAsset: boolean;2460 readonly asDepositAsset: {2461 readonly assets: Vec<XcmV0MultiAsset>;2462 readonly dest: XcmV0MultiLocation;2463 } & Struct;2464 readonly isDepositReserveAsset: boolean;2465 readonly asDepositReserveAsset: {2466 readonly assets: Vec<XcmV0MultiAsset>;2467 readonly dest: XcmV0MultiLocation;2468 readonly effects: Vec<XcmV0Order>;2469 } & Struct;2470 readonly isExchangeAsset: boolean;2471 readonly asExchangeAsset: {2472 readonly give: Vec<XcmV0MultiAsset>;2473 readonly receive: Vec<XcmV0MultiAsset>;2474 } & Struct;2475 readonly isInitiateReserveWithdraw: boolean;2476 readonly asInitiateReserveWithdraw: {2477 readonly assets: Vec<XcmV0MultiAsset>;2478 readonly reserve: XcmV0MultiLocation;2479 readonly effects: Vec<XcmV0Order>;2480 } & Struct;2481 readonly isInitiateTeleport: boolean;2482 readonly asInitiateTeleport: {2483 readonly assets: Vec<XcmV0MultiAsset>;2484 readonly dest: XcmV0MultiLocation;2485 readonly effects: Vec<XcmV0Order>;2486 } & Struct;2487 readonly isQueryHolding: boolean;2488 readonly asQueryHolding: {2489 readonly queryId: Compact<u64>;2490 readonly dest: XcmV0MultiLocation;2491 readonly assets: Vec<XcmV0MultiAsset>;2492 } & Struct;2493 readonly isBuyExecution: boolean;2494 readonly asBuyExecution: {2495 readonly fees: XcmV0MultiAsset;2496 readonly weight: u64;2497 readonly debt: u64;2498 readonly haltOnError: bool;2499 readonly xcm: Vec<XcmV0Xcm>;2500 } & Struct;2501 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2502 }25032504 /** @name XcmV0Response (281) */2505 interface XcmV0Response extends Enum {2506 readonly isAssets: boolean;2507 readonly asAssets: Vec<XcmV0MultiAsset>;2508 readonly type: 'Assets';2509 }25102511 /** @name XcmV1Xcm (282) */2512 interface XcmV1Xcm extends Enum {2513 readonly isWithdrawAsset: boolean;2514 readonly asWithdrawAsset: {2515 readonly assets: XcmV1MultiassetMultiAssets;2516 readonly effects: Vec<XcmV1Order>;2517 } & Struct;2518 readonly isReserveAssetDeposited: boolean;2519 readonly asReserveAssetDeposited: {2520 readonly assets: XcmV1MultiassetMultiAssets;2521 readonly effects: Vec<XcmV1Order>;2522 } & Struct;2523 readonly isReceiveTeleportedAsset: boolean;2524 readonly asReceiveTeleportedAsset: {2525 readonly assets: XcmV1MultiassetMultiAssets;2526 readonly effects: Vec<XcmV1Order>;2527 } & Struct;2528 readonly isQueryResponse: boolean;2529 readonly asQueryResponse: {2530 readonly queryId: Compact<u64>;2531 readonly response: XcmV1Response;2532 } & Struct;2533 readonly isTransferAsset: boolean;2534 readonly asTransferAsset: {2535 readonly assets: XcmV1MultiassetMultiAssets;2536 readonly beneficiary: XcmV1MultiLocation;2537 } & Struct;2538 readonly isTransferReserveAsset: boolean;2539 readonly asTransferReserveAsset: {2540 readonly assets: XcmV1MultiassetMultiAssets;2541 readonly dest: XcmV1MultiLocation;2542 readonly effects: Vec<XcmV1Order>;2543 } & Struct;2544 readonly isTransact: boolean;2545 readonly asTransact: {2546 readonly originType: XcmV0OriginKind;2547 readonly requireWeightAtMost: u64;2548 readonly call: XcmDoubleEncoded;2549 } & Struct;2550 readonly isHrmpNewChannelOpenRequest: boolean;2551 readonly asHrmpNewChannelOpenRequest: {2552 readonly sender: Compact<u32>;2553 readonly maxMessageSize: Compact<u32>;2554 readonly maxCapacity: Compact<u32>;2555 } & Struct;2556 readonly isHrmpChannelAccepted: boolean;2557 readonly asHrmpChannelAccepted: {2558 readonly recipient: Compact<u32>;2559 } & Struct;2560 readonly isHrmpChannelClosing: boolean;2561 readonly asHrmpChannelClosing: {2562 readonly initiator: Compact<u32>;2563 readonly sender: Compact<u32>;2564 readonly recipient: Compact<u32>;2565 } & Struct;2566 readonly isRelayedFrom: boolean;2567 readonly asRelayedFrom: {2568 readonly who: XcmV1MultilocationJunctions;2569 readonly message: XcmV1Xcm;2570 } & Struct;2571 readonly isSubscribeVersion: boolean;2572 readonly asSubscribeVersion: {2573 readonly queryId: Compact<u64>;2574 readonly maxResponseWeight: Compact<u64>;2575 } & Struct;2576 readonly isUnsubscribeVersion: boolean;2577 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2578 }25792580 /** @name XcmV1Order (284) */2581 interface XcmV1Order extends Enum {2582 readonly isNoop: boolean;2583 readonly isDepositAsset: boolean;2584 readonly asDepositAsset: {2585 readonly assets: XcmV1MultiassetMultiAssetFilter;2586 readonly maxAssets: u32;2587 readonly beneficiary: XcmV1MultiLocation;2588 } & Struct;2589 readonly isDepositReserveAsset: boolean;2590 readonly asDepositReserveAsset: {2591 readonly assets: XcmV1MultiassetMultiAssetFilter;2592 readonly maxAssets: u32;2593 readonly dest: XcmV1MultiLocation;2594 readonly effects: Vec<XcmV1Order>;2595 } & Struct;2596 readonly isExchangeAsset: boolean;2597 readonly asExchangeAsset: {2598 readonly give: XcmV1MultiassetMultiAssetFilter;2599 readonly receive: XcmV1MultiassetMultiAssets;2600 } & Struct;2601 readonly isInitiateReserveWithdraw: boolean;2602 readonly asInitiateReserveWithdraw: {2603 readonly assets: XcmV1MultiassetMultiAssetFilter;2604 readonly reserve: XcmV1MultiLocation;2605 readonly effects: Vec<XcmV1Order>;2606 } & Struct;2607 readonly isInitiateTeleport: boolean;2608 readonly asInitiateTeleport: {2609 readonly assets: XcmV1MultiassetMultiAssetFilter;2610 readonly dest: XcmV1MultiLocation;2611 readonly effects: Vec<XcmV1Order>;2612 } & Struct;2613 readonly isQueryHolding: boolean;2614 readonly asQueryHolding: {2615 readonly queryId: Compact<u64>;2616 readonly dest: XcmV1MultiLocation;2617 readonly assets: XcmV1MultiassetMultiAssetFilter;2618 } & Struct;2619 readonly isBuyExecution: boolean;2620 readonly asBuyExecution: {2621 readonly fees: XcmV1MultiAsset;2622 readonly weight: u64;2623 readonly debt: u64;2624 readonly haltOnError: bool;2625 readonly instructions: Vec<XcmV1Xcm>;2626 } & Struct;2627 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2628 }26292630 /** @name XcmV1Response (286) */2631 interface XcmV1Response extends Enum {2632 readonly isAssets: boolean;2633 readonly asAssets: XcmV1MultiassetMultiAssets;2634 readonly isVersion: boolean;2635 readonly asVersion: u32;2636 readonly type: 'Assets' | 'Version';2637 }26382639 /** @name CumulusPalletXcmCall (300) */2640 type CumulusPalletXcmCall = Null;26412642 /** @name CumulusPalletDmpQueueCall (301) */2643 interface CumulusPalletDmpQueueCall extends Enum {2644 readonly isServiceOverweight: boolean;2645 readonly asServiceOverweight: {2646 readonly index: u64;2647 readonly weightLimit: u64;2648 } & Struct;2649 readonly type: 'ServiceOverweight';2650 }26512652 /** @name PalletInflationCall (302) */2653 interface PalletInflationCall extends Enum {2654 readonly isStartInflation: boolean;2655 readonly asStartInflation: {2656 readonly inflationStartRelayBlock: u32;2657 } & Struct;2658 readonly type: 'StartInflation';2659 }26602661 /** @name PalletUniqueCall (303) */2662 interface PalletUniqueCall extends Enum {2663 readonly isCreateCollection: boolean;2664 readonly asCreateCollection: {2665 readonly collectionName: Vec<u16>;2666 readonly collectionDescription: Vec<u16>;2667 readonly tokenPrefix: Bytes;2668 readonly mode: UpDataStructsCollectionMode;2669 } & Struct;2670 readonly isCreateCollectionEx: boolean;2671 readonly asCreateCollectionEx: {2672 readonly data: UpDataStructsCreateCollectionData;2673 } & Struct;2674 readonly isDestroyCollection: boolean;2675 readonly asDestroyCollection: {2676 readonly collectionId: u32;2677 } & Struct;2678 readonly isAddToAllowList: boolean;2679 readonly asAddToAllowList: {2680 readonly collectionId: u32;2681 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2682 } & Struct;2683 readonly isRemoveFromAllowList: boolean;2684 readonly asRemoveFromAllowList: {2685 readonly collectionId: u32;2686 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2687 } & Struct;2688 readonly isChangeCollectionOwner: boolean;2689 readonly asChangeCollectionOwner: {2690 readonly collectionId: u32;2691 readonly newOwner: AccountId32;2692 } & Struct;2693 readonly isAddCollectionAdmin: boolean;2694 readonly asAddCollectionAdmin: {2695 readonly collectionId: u32;2696 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2697 } & Struct;2698 readonly isRemoveCollectionAdmin: boolean;2699 readonly asRemoveCollectionAdmin: {2700 readonly collectionId: u32;2701 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2702 } & Struct;2703 readonly isSetCollectionSponsor: boolean;2704 readonly asSetCollectionSponsor: {2705 readonly collectionId: u32;2706 readonly newSponsor: AccountId32;2707 } & Struct;2708 readonly isConfirmSponsorship: boolean;2709 readonly asConfirmSponsorship: {2710 readonly collectionId: u32;2711 } & Struct;2712 readonly isRemoveCollectionSponsor: boolean;2713 readonly asRemoveCollectionSponsor: {2714 readonly collectionId: u32;2715 } & Struct;2716 readonly isCreateItem: boolean;2717 readonly asCreateItem: {2718 readonly collectionId: u32;2719 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2720 readonly data: UpDataStructsCreateItemData;2721 } & Struct;2722 readonly isCreateMultipleItems: boolean;2723 readonly asCreateMultipleItems: {2724 readonly collectionId: u32;2725 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2726 readonly itemsData: Vec<UpDataStructsCreateItemData>;2727 } & Struct;2728 readonly isSetCollectionProperties: boolean;2729 readonly asSetCollectionProperties: {2730 readonly collectionId: u32;2731 readonly properties: Vec<UpDataStructsProperty>;2732 } & Struct;2733 readonly isDeleteCollectionProperties: boolean;2734 readonly asDeleteCollectionProperties: {2735 readonly collectionId: u32;2736 readonly propertyKeys: Vec<Bytes>;2737 } & Struct;2738 readonly isSetTokenProperties: boolean;2739 readonly asSetTokenProperties: {2740 readonly collectionId: u32;2741 readonly tokenId: u32;2742 readonly properties: Vec<UpDataStructsProperty>;2743 } & Struct;2744 readonly isDeleteTokenProperties: boolean;2745 readonly asDeleteTokenProperties: {2746 readonly collectionId: u32;2747 readonly tokenId: u32;2748 readonly propertyKeys: Vec<Bytes>;2749 } & Struct;2750 readonly isSetTokenPropertyPermissions: boolean;2751 readonly asSetTokenPropertyPermissions: {2752 readonly collectionId: u32;2753 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2754 } & Struct;2755 readonly isCreateMultipleItemsEx: boolean;2756 readonly asCreateMultipleItemsEx: {2757 readonly collectionId: u32;2758 readonly data: UpDataStructsCreateItemExData;2759 } & Struct;2760 readonly isSetTransfersEnabledFlag: boolean;2761 readonly asSetTransfersEnabledFlag: {2762 readonly collectionId: u32;2763 readonly value: bool;2764 } & Struct;2765 readonly isBurnItem: boolean;2766 readonly asBurnItem: {2767 readonly collectionId: u32;2768 readonly itemId: u32;2769 readonly value: u128;2770 } & Struct;2771 readonly isBurnFrom: boolean;2772 readonly asBurnFrom: {2773 readonly collectionId: u32;2774 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2775 readonly itemId: u32;2776 readonly value: u128;2777 } & Struct;2778 readonly isTransfer: boolean;2779 readonly asTransfer: {2780 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2781 readonly collectionId: u32;2782 readonly itemId: u32;2783 readonly value: u128;2784 } & Struct;2785 readonly isApprove: boolean;2786 readonly asApprove: {2787 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2788 readonly collectionId: u32;2789 readonly itemId: u32;2790 readonly amount: u128;2791 } & Struct;2792 readonly isApproveFrom: boolean;2793 readonly asApproveFrom: {2794 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2795 readonly to: PalletEvmAccountBasicCrossAccountIdRepr;2796 readonly collectionId: u32;2797 readonly itemId: u32;2798 readonly amount: u128;2799 } & Struct;2800 readonly isTransferFrom: boolean;2801 readonly asTransferFrom: {2802 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2803 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2804 readonly collectionId: u32;2805 readonly itemId: u32;2806 readonly value: u128;2807 } & Struct;2808 readonly isSetCollectionLimits: boolean;2809 readonly asSetCollectionLimits: {2810 readonly collectionId: u32;2811 readonly newLimit: UpDataStructsCollectionLimits;2812 } & Struct;2813 readonly isSetCollectionPermissions: boolean;2814 readonly asSetCollectionPermissions: {2815 readonly collectionId: u32;2816 readonly newPermission: UpDataStructsCollectionPermissions;2817 } & Struct;2818 readonly isRepartition: boolean;2819 readonly asRepartition: {2820 readonly collectionId: u32;2821 readonly tokenId: u32;2822 readonly amount: u128;2823 } & Struct;2824 readonly isSetAllowanceForAll: boolean;2825 readonly asSetAllowanceForAll: {2826 readonly collectionId: u32;2827 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2828 readonly approve: bool;2829 } & Struct;2830 readonly isForceRepairCollection: boolean;2831 readonly asForceRepairCollection: {2832 readonly collectionId: u32;2833 } & Struct;2834 readonly isForceRepairItem: boolean;2835 readonly asForceRepairItem: {2836 readonly collectionId: u32;2837 readonly itemId: u32;2838 } & Struct;2839 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2840 }28412842 /** @name UpDataStructsCollectionMode (308) */2843 interface UpDataStructsCollectionMode extends Enum {2844 readonly isNft: boolean;2845 readonly isFungible: boolean;2846 readonly asFungible: u8;2847 readonly isReFungible: boolean;2848 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2849 }28502851 /** @name UpDataStructsCreateCollectionData (309) */2852 interface UpDataStructsCreateCollectionData extends Struct {2853 readonly mode: UpDataStructsCollectionMode;2854 readonly access: Option<UpDataStructsAccessMode>;2855 readonly name: Vec<u16>;2856 readonly description: Vec<u16>;2857 readonly tokenPrefix: Bytes;2858 readonly pendingSponsor: Option<AccountId32>;2859 readonly limits: Option<UpDataStructsCollectionLimits>;2860 readonly permissions: Option<UpDataStructsCollectionPermissions>;2861 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2862 readonly properties: Vec<UpDataStructsProperty>;2863 }28642865 /** @name UpDataStructsAccessMode (311) */2866 interface UpDataStructsAccessMode extends Enum {2867 readonly isNormal: boolean;2868 readonly isAllowList: boolean;2869 readonly type: 'Normal' | 'AllowList';2870 }28712872 /** @name UpDataStructsCollectionLimits (313) */2873 interface UpDataStructsCollectionLimits extends Struct {2874 readonly accountTokenOwnershipLimit: Option<u32>;2875 readonly sponsoredDataSize: Option<u32>;2876 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2877 readonly tokenLimit: Option<u32>;2878 readonly sponsorTransferTimeout: Option<u32>;2879 readonly sponsorApproveTimeout: Option<u32>;2880 readonly ownerCanTransfer: Option<bool>;2881 readonly ownerCanDestroy: Option<bool>;2882 readonly transfersEnabled: Option<bool>;2883 }28842885 /** @name UpDataStructsSponsoringRateLimit (315) */2886 interface UpDataStructsSponsoringRateLimit extends Enum {2887 readonly isSponsoringDisabled: boolean;2888 readonly isBlocks: boolean;2889 readonly asBlocks: u32;2890 readonly type: 'SponsoringDisabled' | 'Blocks';2891 }28922893 /** @name UpDataStructsCollectionPermissions (318) */2894 interface UpDataStructsCollectionPermissions extends Struct {2895 readonly access: Option<UpDataStructsAccessMode>;2896 readonly mintMode: Option<bool>;2897 readonly nesting: Option<UpDataStructsNestingPermissions>;2898 }28992900 /** @name UpDataStructsNestingPermissions (320) */2901 interface UpDataStructsNestingPermissions extends Struct {2902 readonly tokenOwner: bool;2903 readonly collectionAdmin: bool;2904 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2905 }29062907 /** @name UpDataStructsOwnerRestrictedSet (322) */2908 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29092910 /** @name UpDataStructsPropertyKeyPermission (327) */2911 interface UpDataStructsPropertyKeyPermission extends Struct {2912 readonly key: Bytes;2913 readonly permission: UpDataStructsPropertyPermission;2914 }29152916 /** @name UpDataStructsPropertyPermission (328) */2917 interface UpDataStructsPropertyPermission extends Struct {2918 readonly mutable: bool;2919 readonly collectionAdmin: bool;2920 readonly tokenOwner: bool;2921 }29222923 /** @name UpDataStructsProperty (331) */2924 interface UpDataStructsProperty extends Struct {2925 readonly key: Bytes;2926 readonly value: Bytes;2927 }29282929 /** @name UpDataStructsCreateItemData (334) */2930 interface UpDataStructsCreateItemData extends Enum {2931 readonly isNft: boolean;2932 readonly asNft: UpDataStructsCreateNftData;2933 readonly isFungible: boolean;2934 readonly asFungible: UpDataStructsCreateFungibleData;2935 readonly isReFungible: boolean;2936 readonly asReFungible: UpDataStructsCreateReFungibleData;2937 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2938 }29392940 /** @name UpDataStructsCreateNftData (335) */2941 interface UpDataStructsCreateNftData extends Struct {2942 readonly properties: Vec<UpDataStructsProperty>;2943 }29442945 /** @name UpDataStructsCreateFungibleData (336) */2946 interface UpDataStructsCreateFungibleData extends Struct {2947 readonly value: u128;2948 }29492950 /** @name UpDataStructsCreateReFungibleData (337) */2951 interface UpDataStructsCreateReFungibleData extends Struct {2952 readonly pieces: u128;2953 readonly properties: Vec<UpDataStructsProperty>;2954 }29552956 /** @name UpDataStructsCreateItemExData (340) */2957 interface UpDataStructsCreateItemExData extends Enum {2958 readonly isNft: boolean;2959 readonly asNft: Vec<UpDataStructsCreateNftExData>;2960 readonly isFungible: boolean;2961 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2962 readonly isRefungibleMultipleItems: boolean;2963 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2964 readonly isRefungibleMultipleOwners: boolean;2965 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2966 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2967 }29682969 /** @name UpDataStructsCreateNftExData (342) */2970 interface UpDataStructsCreateNftExData extends Struct {2971 readonly properties: Vec<UpDataStructsProperty>;2972 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2973 }29742975 /** @name UpDataStructsCreateRefungibleExSingleOwner (349) */2976 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2977 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2978 readonly pieces: u128;2979 readonly properties: Vec<UpDataStructsProperty>;2980 }29812982 /** @name UpDataStructsCreateRefungibleExMultipleOwners (351) */2983 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2984 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2985 readonly properties: Vec<UpDataStructsProperty>;2986 }29872988 /** @name PalletConfigurationCall (352) */2989 interface PalletConfigurationCall extends Enum {2990 readonly isSetWeightToFeeCoefficientOverride: boolean;2991 readonly asSetWeightToFeeCoefficientOverride: {2992 readonly coeff: Option<u64>;2993 } & Struct;2994 readonly isSetMinGasPriceOverride: boolean;2995 readonly asSetMinGasPriceOverride: {2996 readonly coeff: Option<u64>;2997 } & Struct;2998 readonly isSetXcmAllowedLocations: boolean;2999 readonly asSetXcmAllowedLocations: {3000 readonly locations: Option<Vec<XcmV1MultiLocation>>;3001 } & Struct;3002 readonly isSetAppPromotionConfigurationOverride: boolean;3003 readonly asSetAppPromotionConfigurationOverride: {3004 readonly configuration: PalletConfigurationAppPromotionConfiguration;3005 } & Struct;3006 readonly isSetCollatorSelectionDesiredCollators: boolean;3007 readonly asSetCollatorSelectionDesiredCollators: {3008 readonly max: Option<u32>;3009 } & Struct;3010 readonly isSetCollatorSelectionLicenseBond: boolean;3011 readonly asSetCollatorSelectionLicenseBond: {3012 readonly amount: Option<u128>;3013 } & Struct;3014 readonly isSetCollatorSelectionKickThreshold: boolean;3015 readonly asSetCollatorSelectionKickThreshold: {3016 readonly threshold: Option<u32>;3017 } & Struct;3018 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';3019 }30203021 /** @name PalletConfigurationAppPromotionConfiguration (357) */3022 interface PalletConfigurationAppPromotionConfiguration extends Struct {3023 readonly recalculationInterval: Option<u32>;3024 readonly pendingInterval: Option<u32>;3025 readonly intervalIncome: Option<Perbill>;3026 readonly maxStakersPerCalculation: Option<u8>;3027 }30283029 /** @name PalletTemplateTransactionPaymentCall (361) */3030 type PalletTemplateTransactionPaymentCall = Null;30313032 /** @name PalletStructureCall (362) */3033 type PalletStructureCall = Null;30343035 /** @name PalletAppPromotionCall (363) */3036 interface PalletAppPromotionCall extends Enum {3037 readonly isSetAdminAddress: boolean;3038 readonly asSetAdminAddress: {3039 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;3040 } & Struct;3041 readonly isStake: boolean;3042 readonly asStake: {3043 readonly amount: u128;3044 } & Struct;3045 readonly isUnstakeAll: boolean;3046 readonly isSponsorCollection: boolean;3047 readonly asSponsorCollection: {3048 readonly collectionId: u32;3049 } & Struct;3050 readonly isStopSponsoringCollection: boolean;3051 readonly asStopSponsoringCollection: {3052 readonly collectionId: u32;3053 } & Struct;3054 readonly isSponsorContract: boolean;3055 readonly asSponsorContract: {3056 readonly contractId: H160;3057 } & Struct;3058 readonly isStopSponsoringContract: boolean;3059 readonly asStopSponsoringContract: {3060 readonly contractId: H160;3061 } & Struct;3062 readonly isPayoutStakers: boolean;3063 readonly asPayoutStakers: {3064 readonly stakersNumber: Option<u8>;3065 } & Struct;3066 readonly isUnstakePartial: boolean;3067 readonly asUnstakePartial: {3068 readonly amount: u128;3069 } & Struct;3070 readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial';3071 }30723073 /** @name PalletForeignAssetsModuleCall (364) */3074 interface PalletForeignAssetsModuleCall extends Enum {3075 readonly isRegisterForeignAsset: boolean;3076 readonly asRegisterForeignAsset: {3077 readonly owner: AccountId32;3078 readonly location: XcmVersionedMultiLocation;3079 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3080 } & Struct;3081 readonly isUpdateForeignAsset: boolean;3082 readonly asUpdateForeignAsset: {3083 readonly foreignAssetId: u32;3084 readonly location: XcmVersionedMultiLocation;3085 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3086 } & Struct;3087 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3088 }30893090 /** @name PalletEvmCall (365) */3091 interface PalletEvmCall extends Enum {3092 readonly isWithdraw: boolean;3093 readonly asWithdraw: {3094 readonly address: H160;3095 readonly value: u128;3096 } & Struct;3097 readonly isCall: boolean;3098 readonly asCall: {3099 readonly source: H160;3100 readonly target: H160;3101 readonly input: Bytes;3102 readonly value: U256;3103 readonly gasLimit: u64;3104 readonly maxFeePerGas: U256;3105 readonly maxPriorityFeePerGas: Option<U256>;3106 readonly nonce: Option<U256>;3107 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3108 } & Struct;3109 readonly isCreate: boolean;3110 readonly asCreate: {3111 readonly source: H160;3112 readonly init: Bytes;3113 readonly value: U256;3114 readonly gasLimit: u64;3115 readonly maxFeePerGas: U256;3116 readonly maxPriorityFeePerGas: Option<U256>;3117 readonly nonce: Option<U256>;3118 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3119 } & Struct;3120 readonly isCreate2: boolean;3121 readonly asCreate2: {3122 readonly source: H160;3123 readonly init: Bytes;3124 readonly salt: H256;3125 readonly value: U256;3126 readonly gasLimit: u64;3127 readonly maxFeePerGas: U256;3128 readonly maxPriorityFeePerGas: Option<U256>;3129 readonly nonce: Option<U256>;3130 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3131 } & Struct;3132 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3133 }31343135 /** @name PalletEthereumCall (371) */3136 interface PalletEthereumCall extends Enum {3137 readonly isTransact: boolean;3138 readonly asTransact: {3139 readonly transaction: EthereumTransactionTransactionV2;3140 } & Struct;3141 readonly type: 'Transact';3142 }31433144 /** @name EthereumTransactionTransactionV2 (372) */3145 interface EthereumTransactionTransactionV2 extends Enum {3146 readonly isLegacy: boolean;3147 readonly asLegacy: EthereumTransactionLegacyTransaction;3148 readonly isEip2930: boolean;3149 readonly asEip2930: EthereumTransactionEip2930Transaction;3150 readonly isEip1559: boolean;3151 readonly asEip1559: EthereumTransactionEip1559Transaction;3152 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3153 }31543155 /** @name EthereumTransactionLegacyTransaction (373) */3156 interface EthereumTransactionLegacyTransaction extends Struct {3157 readonly nonce: U256;3158 readonly gasPrice: U256;3159 readonly gasLimit: U256;3160 readonly action: EthereumTransactionTransactionAction;3161 readonly value: U256;3162 readonly input: Bytes;3163 readonly signature: EthereumTransactionTransactionSignature;3164 }31653166 /** @name EthereumTransactionTransactionAction (374) */3167 interface EthereumTransactionTransactionAction extends Enum {3168 readonly isCall: boolean;3169 readonly asCall: H160;3170 readonly isCreate: boolean;3171 readonly type: 'Call' | 'Create';3172 }31733174 /** @name EthereumTransactionTransactionSignature (375) */3175 interface EthereumTransactionTransactionSignature extends Struct {3176 readonly v: u64;3177 readonly r: H256;3178 readonly s: H256;3179 }31803181 /** @name EthereumTransactionEip2930Transaction (377) */3182 interface EthereumTransactionEip2930Transaction extends Struct {3183 readonly chainId: u64;3184 readonly nonce: U256;3185 readonly gasPrice: U256;3186 readonly gasLimit: U256;3187 readonly action: EthereumTransactionTransactionAction;3188 readonly value: U256;3189 readonly input: Bytes;3190 readonly accessList: Vec<EthereumTransactionAccessListItem>;3191 readonly oddYParity: bool;3192 readonly r: H256;3193 readonly s: H256;3194 }31953196 /** @name EthereumTransactionAccessListItem (379) */3197 interface EthereumTransactionAccessListItem extends Struct {3198 readonly address: H160;3199 readonly storageKeys: Vec<H256>;3200 }32013202 /** @name EthereumTransactionEip1559Transaction (380) */3203 interface EthereumTransactionEip1559Transaction extends Struct {3204 readonly chainId: u64;3205 readonly nonce: U256;3206 readonly maxPriorityFeePerGas: U256;3207 readonly maxFeePerGas: U256;3208 readonly gasLimit: U256;3209 readonly action: EthereumTransactionTransactionAction;3210 readonly value: U256;3211 readonly input: Bytes;3212 readonly accessList: Vec<EthereumTransactionAccessListItem>;3213 readonly oddYParity: bool;3214 readonly r: H256;3215 readonly s: H256;3216 }32173218 /** @name PalletEvmMigrationCall (381) */3219 interface PalletEvmMigrationCall extends Enum {3220 readonly isBegin: boolean;3221 readonly asBegin: {3222 readonly address: H160;3223 } & Struct;3224 readonly isSetData: boolean;3225 readonly asSetData: {3226 readonly address: H160;3227 readonly data: Vec<ITuple<[H256, H256]>>;3228 } & Struct;3229 readonly isFinish: boolean;3230 readonly asFinish: {3231 readonly address: H160;3232 readonly code: Bytes;3233 } & Struct;3234 readonly isInsertEthLogs: boolean;3235 readonly asInsertEthLogs: {3236 readonly logs: Vec<EthereumLog>;3237 } & Struct;3238 readonly isInsertEvents: boolean;3239 readonly asInsertEvents: {3240 readonly events: Vec<Bytes>;3241 } & Struct;3242 readonly isRemoveRmrkData: boolean;3243 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData';3244 }32453246 /** @name PalletMaintenanceCall (385) */3247 interface PalletMaintenanceCall extends Enum {3248 readonly isEnable: boolean;3249 readonly isDisable: boolean;3250 readonly isExecutePreimage: boolean;3251 readonly asExecutePreimage: {3252 readonly hash_: H256;3253 readonly weightBound: SpWeightsWeightV2Weight;3254 } & Struct;3255 readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';3256 }32573258 /** @name PalletTestUtilsCall (386) */3259 interface PalletTestUtilsCall extends Enum {3260 readonly isEnable: boolean;3261 readonly isSetTestValue: boolean;3262 readonly asSetTestValue: {3263 readonly value: u32;3264 } & Struct;3265 readonly isSetTestValueAndRollback: boolean;3266 readonly asSetTestValueAndRollback: {3267 readonly value: u32;3268 } & Struct;3269 readonly isIncTestValue: boolean;3270 readonly isJustTakeFee: boolean;3271 readonly isBatchAll: boolean;3272 readonly asBatchAll: {3273 readonly calls: Vec<Call>;3274 } & Struct;3275 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3276 }32773278 /** @name PalletSudoError (388) */3279 interface PalletSudoError extends Enum {3280 readonly isRequireSudo: boolean;3281 readonly type: 'RequireSudo';3282 }32833284 /** @name OrmlVestingModuleError (390) */3285 interface OrmlVestingModuleError extends Enum {3286 readonly isZeroVestingPeriod: boolean;3287 readonly isZeroVestingPeriodCount: boolean;3288 readonly isInsufficientBalanceToLock: boolean;3289 readonly isTooManyVestingSchedules: boolean;3290 readonly isAmountLow: boolean;3291 readonly isMaxVestingSchedulesExceeded: boolean;3292 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3293 }32943295 /** @name OrmlXtokensModuleError (391) */3296 interface OrmlXtokensModuleError extends Enum {3297 readonly isAssetHasNoReserve: boolean;3298 readonly isNotCrossChainTransfer: boolean;3299 readonly isInvalidDest: boolean;3300 readonly isNotCrossChainTransferableCurrency: boolean;3301 readonly isUnweighableMessage: boolean;3302 readonly isXcmExecutionFailed: boolean;3303 readonly isCannotReanchor: boolean;3304 readonly isInvalidAncestry: boolean;3305 readonly isInvalidAsset: boolean;3306 readonly isDestinationNotInvertible: boolean;3307 readonly isBadVersion: boolean;3308 readonly isDistinctReserveForAssetAndFee: boolean;3309 readonly isZeroFee: boolean;3310 readonly isZeroAmount: boolean;3311 readonly isTooManyAssetsBeingSent: boolean;3312 readonly isAssetIndexNonExistent: boolean;3313 readonly isFeeNotEnough: boolean;3314 readonly isNotSupportedMultiLocation: boolean;3315 readonly isMinXcmFeeNotDefined: boolean;3316 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3317 }33183319 /** @name OrmlTokensBalanceLock (394) */3320 interface OrmlTokensBalanceLock extends Struct {3321 readonly id: U8aFixed;3322 readonly amount: u128;3323 }33243325 /** @name OrmlTokensAccountData (396) */3326 interface OrmlTokensAccountData extends Struct {3327 readonly free: u128;3328 readonly reserved: u128;3329 readonly frozen: u128;3330 }33313332 /** @name OrmlTokensReserveData (398) */3333 interface OrmlTokensReserveData extends Struct {3334 readonly id: Null;3335 readonly amount: u128;3336 }33373338 /** @name OrmlTokensModuleError (400) */3339 interface OrmlTokensModuleError extends Enum {3340 readonly isBalanceTooLow: boolean;3341 readonly isAmountIntoBalanceFailed: boolean;3342 readonly isLiquidityRestrictions: boolean;3343 readonly isMaxLocksExceeded: boolean;3344 readonly isKeepAlive: boolean;3345 readonly isExistentialDeposit: boolean;3346 readonly isDeadAccount: boolean;3347 readonly isTooManyReserves: boolean;3348 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3349 }33503351 /** @name PalletIdentityRegistrarInfo (405) */3352 interface PalletIdentityRegistrarInfo extends Struct {3353 readonly account: AccountId32;3354 readonly fee: u128;3355 readonly fields: PalletIdentityBitFlags;3356 }33573358 /** @name PalletIdentityError (407) */3359 interface PalletIdentityError extends Enum {3360 readonly isTooManySubAccounts: boolean;3361 readonly isNotFound: boolean;3362 readonly isNotNamed: boolean;3363 readonly isEmptyIndex: boolean;3364 readonly isFeeChanged: boolean;3365 readonly isNoIdentity: boolean;3366 readonly isStickyJudgement: boolean;3367 readonly isJudgementGiven: boolean;3368 readonly isInvalidJudgement: boolean;3369 readonly isInvalidIndex: boolean;3370 readonly isInvalidTarget: boolean;3371 readonly isTooManyFields: boolean;3372 readonly isTooManyRegistrars: boolean;3373 readonly isAlreadyClaimed: boolean;3374 readonly isNotSub: boolean;3375 readonly isNotOwned: boolean;3376 readonly isJudgementForDifferentIdentity: boolean;3377 readonly isJudgementPaymentFailed: boolean;3378 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';3379 }33803381 /** @name PalletPreimageRequestStatus (408) */3382 interface PalletPreimageRequestStatus extends Enum {3383 readonly isUnrequested: boolean;3384 readonly asUnrequested: {3385 readonly deposit: ITuple<[AccountId32, u128]>;3386 readonly len: u32;3387 } & Struct;3388 readonly isRequested: boolean;3389 readonly asRequested: {3390 readonly deposit: Option<ITuple<[AccountId32, u128]>>;3391 readonly count: u32;3392 readonly len: Option<u32>;3393 } & Struct;3394 readonly type: 'Unrequested' | 'Requested';3395 }33963397 /** @name PalletPreimageError (413) */3398 interface PalletPreimageError extends Enum {3399 readonly isTooBig: boolean;3400 readonly isAlreadyNoted: boolean;3401 readonly isNotAuthorized: boolean;3402 readonly isNotNoted: boolean;3403 readonly isRequested: boolean;3404 readonly isNotRequested: boolean;3405 readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';3406 }34073408 /** @name CumulusPalletXcmpQueueInboundChannelDetails (415) */3409 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3410 readonly sender: u32;3411 readonly state: CumulusPalletXcmpQueueInboundState;3412 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3413 }34143415 /** @name CumulusPalletXcmpQueueInboundState (416) */3416 interface CumulusPalletXcmpQueueInboundState extends Enum {3417 readonly isOk: boolean;3418 readonly isSuspended: boolean;3419 readonly type: 'Ok' | 'Suspended';3420 }34213422 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (419) */3423 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3424 readonly isConcatenatedVersionedXcm: boolean;3425 readonly isConcatenatedEncodedBlob: boolean;3426 readonly isSignals: boolean;3427 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3428 }34293430 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (422) */3431 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3432 readonly recipient: u32;3433 readonly state: CumulusPalletXcmpQueueOutboundState;3434 readonly signalsExist: bool;3435 readonly firstIndex: u16;3436 readonly lastIndex: u16;3437 }34383439 /** @name CumulusPalletXcmpQueueOutboundState (423) */3440 interface CumulusPalletXcmpQueueOutboundState extends Enum {3441 readonly isOk: boolean;3442 readonly isSuspended: boolean;3443 readonly type: 'Ok' | 'Suspended';3444 }34453446 /** @name CumulusPalletXcmpQueueQueueConfigData (425) */3447 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3448 readonly suspendThreshold: u32;3449 readonly dropThreshold: u32;3450 readonly resumeThreshold: u32;3451 readonly thresholdWeight: SpWeightsWeightV2Weight;3452 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3453 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3454 }34553456 /** @name CumulusPalletXcmpQueueError (427) */3457 interface CumulusPalletXcmpQueueError extends Enum {3458 readonly isFailedToSend: boolean;3459 readonly isBadXcmOrigin: boolean;3460 readonly isBadXcm: boolean;3461 readonly isBadOverweightIndex: boolean;3462 readonly isWeightOverLimit: boolean;3463 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3464 }34653466 /** @name PalletXcmError (428) */3467 interface PalletXcmError extends Enum {3468 readonly isUnreachable: boolean;3469 readonly isSendFailure: boolean;3470 readonly isFiltered: boolean;3471 readonly isUnweighableMessage: boolean;3472 readonly isDestinationNotInvertible: boolean;3473 readonly isEmpty: boolean;3474 readonly isCannotReanchor: boolean;3475 readonly isTooManyAssets: boolean;3476 readonly isInvalidOrigin: boolean;3477 readonly isBadVersion: boolean;3478 readonly isBadLocation: boolean;3479 readonly isNoSubscription: boolean;3480 readonly isAlreadySubscribed: boolean;3481 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3482 }34833484 /** @name CumulusPalletXcmError (429) */3485 type CumulusPalletXcmError = Null;34863487 /** @name CumulusPalletDmpQueueConfigData (430) */3488 interface CumulusPalletDmpQueueConfigData extends Struct {3489 readonly maxIndividual: SpWeightsWeightV2Weight;3490 }34913492 /** @name CumulusPalletDmpQueuePageIndexData (431) */3493 interface CumulusPalletDmpQueuePageIndexData extends Struct {3494 readonly beginUsed: u32;3495 readonly endUsed: u32;3496 readonly overweightCount: u64;3497 }34983499 /** @name CumulusPalletDmpQueueError (434) */3500 interface CumulusPalletDmpQueueError extends Enum {3501 readonly isUnknown: boolean;3502 readonly isOverLimit: boolean;3503 readonly type: 'Unknown' | 'OverLimit';3504 }35053506 /** @name PalletUniqueError (438) */3507 interface PalletUniqueError extends Enum {3508 readonly isCollectionDecimalPointLimitExceeded: boolean;3509 readonly isEmptyArgument: boolean;3510 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3511 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3512 }35133514 /** @name PalletConfigurationError (439) */3515 interface PalletConfigurationError extends Enum {3516 readonly isInconsistentConfiguration: boolean;3517 readonly type: 'InconsistentConfiguration';3518 }35193520 /** @name UpDataStructsCollection (440) */3521 interface UpDataStructsCollection extends Struct {3522 readonly owner: AccountId32;3523 readonly mode: UpDataStructsCollectionMode;3524 readonly name: Vec<u16>;3525 readonly description: Vec<u16>;3526 readonly tokenPrefix: Bytes;3527 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3528 readonly limits: UpDataStructsCollectionLimits;3529 readonly permissions: UpDataStructsCollectionPermissions;3530 readonly flags: U8aFixed;3531 }35323533 /** @name UpDataStructsSponsorshipStateAccountId32 (441) */3534 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3535 readonly isDisabled: boolean;3536 readonly isUnconfirmed: boolean;3537 readonly asUnconfirmed: AccountId32;3538 readonly isConfirmed: boolean;3539 readonly asConfirmed: AccountId32;3540 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3541 }35423543 /** @name UpDataStructsProperties (442) */3544 interface UpDataStructsProperties extends Struct {3545 readonly map: UpDataStructsPropertiesMapBoundedVec;3546 readonly consumedSpace: u32;3547 readonly spaceLimit: u32;3548 }35493550 /** @name UpDataStructsPropertiesMapBoundedVec (443) */3551 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}35523553 /** @name UpDataStructsPropertiesMapPropertyPermission (448) */3554 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}35553556 /** @name UpDataStructsCollectionStats (455) */3557 interface UpDataStructsCollectionStats extends Struct {3558 readonly created: u32;3559 readonly destroyed: u32;3560 readonly alive: u32;3561 }35623563 /** @name UpDataStructsTokenChild (456) */3564 interface UpDataStructsTokenChild extends Struct {3565 readonly token: u32;3566 readonly collection: u32;3567 }35683569 /** @name PhantomTypeUpDataStructs (457) */3570 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}35713572 /** @name UpDataStructsTokenData (459) */3573 interface UpDataStructsTokenData extends Struct {3574 readonly properties: Vec<UpDataStructsProperty>;3575 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3576 readonly pieces: u128;3577 }35783579 /** @name UpDataStructsRpcCollection (461) */3580 interface UpDataStructsRpcCollection extends Struct {3581 readonly owner: AccountId32;3582 readonly mode: UpDataStructsCollectionMode;3583 readonly name: Vec<u16>;3584 readonly description: Vec<u16>;3585 readonly tokenPrefix: Bytes;3586 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3587 readonly limits: UpDataStructsCollectionLimits;3588 readonly permissions: UpDataStructsCollectionPermissions;3589 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3590 readonly properties: Vec<UpDataStructsProperty>;3591 readonly readOnly: bool;3592 readonly flags: UpDataStructsRpcCollectionFlags;3593 }35943595 /** @name UpDataStructsRpcCollectionFlags (462) */3596 interface UpDataStructsRpcCollectionFlags extends Struct {3597 readonly foreign: bool;3598 readonly erc721metadata: bool;3599 }36003601 /** @name UpPovEstimateRpcPovInfo (463) */3602 interface UpPovEstimateRpcPovInfo extends Struct {3603 readonly proofSize: u64;3604 readonly compactProofSize: u64;3605 readonly compressedProofSize: u64;3606 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3607 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3608 }36093610 /** @name SpRuntimeTransactionValidityTransactionValidityError (466) */3611 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3612 readonly isInvalid: boolean;3613 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3614 readonly isUnknown: boolean;3615 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3616 readonly type: 'Invalid' | 'Unknown';3617 }36183619 /** @name SpRuntimeTransactionValidityInvalidTransaction (467) */3620 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3621 readonly isCall: boolean;3622 readonly isPayment: boolean;3623 readonly isFuture: boolean;3624 readonly isStale: boolean;3625 readonly isBadProof: boolean;3626 readonly isAncientBirthBlock: boolean;3627 readonly isExhaustsResources: boolean;3628 readonly isCustom: boolean;3629 readonly asCustom: u8;3630 readonly isBadMandatory: boolean;3631 readonly isMandatoryValidation: boolean;3632 readonly isBadSigner: boolean;3633 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3634 }36353636 /** @name SpRuntimeTransactionValidityUnknownTransaction (468) */3637 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3638 readonly isCannotLookup: boolean;3639 readonly isNoUnsignedValidator: boolean;3640 readonly isCustom: boolean;3641 readonly asCustom: u8;3642 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3643 }36443645 /** @name UpPovEstimateRpcTrieKeyValue (470) */3646 interface UpPovEstimateRpcTrieKeyValue extends Struct {3647 readonly key: Bytes;3648 readonly value: Bytes;3649 }36503651 /** @name PalletCommonError (472) */3652 interface PalletCommonError extends Enum {3653 readonly isCollectionNotFound: boolean;3654 readonly isMustBeTokenOwner: boolean;3655 readonly isNoPermission: boolean;3656 readonly isCantDestroyNotEmptyCollection: boolean;3657 readonly isPublicMintingNotAllowed: boolean;3658 readonly isAddressNotInAllowlist: boolean;3659 readonly isCollectionNameLimitExceeded: boolean;3660 readonly isCollectionDescriptionLimitExceeded: boolean;3661 readonly isCollectionTokenPrefixLimitExceeded: boolean;3662 readonly isTotalCollectionsLimitExceeded: boolean;3663 readonly isCollectionAdminCountExceeded: boolean;3664 readonly isCollectionLimitBoundsExceeded: boolean;3665 readonly isOwnerPermissionsCantBeReverted: boolean;3666 readonly isTransferNotAllowed: boolean;3667 readonly isAccountTokenLimitExceeded: boolean;3668 readonly isCollectionTokenLimitExceeded: boolean;3669 readonly isMetadataFlagFrozen: boolean;3670 readonly isTokenNotFound: boolean;3671 readonly isTokenValueTooLow: boolean;3672 readonly isApprovedValueTooLow: boolean;3673 readonly isCantApproveMoreThanOwned: boolean;3674 readonly isAddressIsNotEthMirror: boolean;3675 readonly isAddressIsZero: boolean;3676 readonly isUnsupportedOperation: boolean;3677 readonly isNotSufficientFounds: boolean;3678 readonly isUserIsNotAllowedToNest: boolean;3679 readonly isSourceCollectionIsNotAllowedToNest: boolean;3680 readonly isCollectionFieldSizeExceeded: boolean;3681 readonly isNoSpaceForProperty: boolean;3682 readonly isPropertyLimitReached: boolean;3683 readonly isPropertyKeyIsTooLong: boolean;3684 readonly isInvalidCharacterInPropertyKey: boolean;3685 readonly isEmptyPropertyKey: boolean;3686 readonly isCollectionIsExternal: boolean;3687 readonly isCollectionIsInternal: boolean;3688 readonly isConfirmSponsorshipFail: boolean;3689 readonly isUserIsNotCollectionAdmin: boolean;3690 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3691 }36923693 /** @name PalletFungibleError (474) */3694 interface PalletFungibleError extends Enum {3695 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3696 readonly isFungibleItemsHaveNoId: boolean;3697 readonly isFungibleItemsDontHaveData: boolean;3698 readonly isFungibleDisallowsNesting: boolean;3699 readonly isSettingPropertiesNotAllowed: boolean;3700 readonly isSettingAllowanceForAllNotAllowed: boolean;3701 readonly isFungibleTokensAreAlwaysValid: boolean;3702 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3703 }37043705 /** @name PalletRefungibleError (478) */3706 interface PalletRefungibleError extends Enum {3707 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3708 readonly isWrongRefungiblePieces: boolean;3709 readonly isRepartitionWhileNotOwningAllPieces: boolean;3710 readonly isRefungibleDisallowsNesting: boolean;3711 readonly isSettingPropertiesNotAllowed: boolean;3712 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3713 }37143715 /** @name PalletNonfungibleItemData (479) */3716 interface PalletNonfungibleItemData extends Struct {3717 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3718 }37193720 /** @name UpDataStructsPropertyScope (481) */3721 interface UpDataStructsPropertyScope extends Enum {3722 readonly isNone: boolean;3723 readonly isRmrk: boolean;3724 readonly type: 'None' | 'Rmrk';3725 }37263727 /** @name PalletNonfungibleError (484) */3728 interface PalletNonfungibleError extends Enum {3729 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3730 readonly isNonfungibleItemsHaveNoAmount: boolean;3731 readonly isCantBurnNftWithChildren: boolean;3732 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3733 }37343735 /** @name PalletStructureError (485) */3736 interface PalletStructureError extends Enum {3737 readonly isOuroborosDetected: boolean;3738 readonly isDepthLimit: boolean;3739 readonly isBreadthLimit: boolean;3740 readonly isTokenNotFound: boolean;3741 readonly isCantNestTokenUnderCollection: boolean;3742 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection';3743 }37443745 /** @name PalletAppPromotionError (490) */3746 interface PalletAppPromotionError extends Enum {3747 readonly isAdminNotSet: boolean;3748 readonly isNoPermission: boolean;3749 readonly isNotSufficientFunds: boolean;3750 readonly isPendingForBlockOverflow: boolean;3751 readonly isSponsorNotSet: boolean;3752 readonly isIncorrectLockedBalanceOperation: boolean;3753 readonly isInsufficientStakedBalance: boolean;3754 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation' | 'InsufficientStakedBalance';3755 }37563757 /** @name PalletForeignAssetsModuleError (491) */3758 interface PalletForeignAssetsModuleError extends Enum {3759 readonly isBadLocation: boolean;3760 readonly isMultiLocationExisted: boolean;3761 readonly isAssetIdNotExists: boolean;3762 readonly isAssetIdExisted: boolean;3763 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3764 }37653766 /** @name PalletEvmError (493) */3767 interface PalletEvmError extends Enum {3768 readonly isBalanceLow: boolean;3769 readonly isFeeOverflow: boolean;3770 readonly isPaymentOverflow: boolean;3771 readonly isWithdrawFailed: boolean;3772 readonly isGasPriceTooLow: boolean;3773 readonly isInvalidNonce: boolean;3774 readonly isGasLimitTooLow: boolean;3775 readonly isGasLimitTooHigh: boolean;3776 readonly isUndefined: boolean;3777 readonly isReentrancy: boolean;3778 readonly isTransactionMustComeFromEOA: boolean;3779 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';3780 }37813782 /** @name FpRpcTransactionStatus (496) */3783 interface FpRpcTransactionStatus extends Struct {3784 readonly transactionHash: H256;3785 readonly transactionIndex: u32;3786 readonly from: H160;3787 readonly to: Option<H160>;3788 readonly contractAddress: Option<H160>;3789 readonly logs: Vec<EthereumLog>;3790 readonly logsBloom: EthbloomBloom;3791 }37923793 /** @name EthbloomBloom (498) */3794 interface EthbloomBloom extends U8aFixed {}37953796 /** @name EthereumReceiptReceiptV3 (500) */3797 interface EthereumReceiptReceiptV3 extends Enum {3798 readonly isLegacy: boolean;3799 readonly asLegacy: EthereumReceiptEip658ReceiptData;3800 readonly isEip2930: boolean;3801 readonly asEip2930: EthereumReceiptEip658ReceiptData;3802 readonly isEip1559: boolean;3803 readonly asEip1559: EthereumReceiptEip658ReceiptData;3804 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3805 }38063807 /** @name EthereumReceiptEip658ReceiptData (501) */3808 interface EthereumReceiptEip658ReceiptData extends Struct {3809 readonly statusCode: u8;3810 readonly usedGas: U256;3811 readonly logsBloom: EthbloomBloom;3812 readonly logs: Vec<EthereumLog>;3813 }38143815 /** @name EthereumBlock (502) */3816 interface EthereumBlock extends Struct {3817 readonly header: EthereumHeader;3818 readonly transactions: Vec<EthereumTransactionTransactionV2>;3819 readonly ommers: Vec<EthereumHeader>;3820 }38213822 /** @name EthereumHeader (503) */3823 interface EthereumHeader extends Struct {3824 readonly parentHash: H256;3825 readonly ommersHash: H256;3826 readonly beneficiary: H160;3827 readonly stateRoot: H256;3828 readonly transactionsRoot: H256;3829 readonly receiptsRoot: H256;3830 readonly logsBloom: EthbloomBloom;3831 readonly difficulty: U256;3832 readonly number: U256;3833 readonly gasLimit: U256;3834 readonly gasUsed: U256;3835 readonly timestamp: u64;3836 readonly extraData: Bytes;3837 readonly mixHash: H256;3838 readonly nonce: EthereumTypesHashH64;3839 }38403841 /** @name EthereumTypesHashH64 (504) */3842 interface EthereumTypesHashH64 extends U8aFixed {}38433844 /** @name PalletEthereumError (509) */3845 interface PalletEthereumError extends Enum {3846 readonly isInvalidSignature: boolean;3847 readonly isPreLogExists: boolean;3848 readonly type: 'InvalidSignature' | 'PreLogExists';3849 }38503851 /** @name PalletEvmCoderSubstrateError (510) */3852 interface PalletEvmCoderSubstrateError extends Enum {3853 readonly isOutOfGas: boolean;3854 readonly isOutOfFund: boolean;3855 readonly type: 'OutOfGas' | 'OutOfFund';3856 }38573858 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (511) */3859 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3860 readonly isDisabled: boolean;3861 readonly isUnconfirmed: boolean;3862 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3863 readonly isConfirmed: boolean;3864 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3865 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3866 }38673868 /** @name PalletEvmContractHelpersSponsoringModeT (512) */3869 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3870 readonly isDisabled: boolean;3871 readonly isAllowlisted: boolean;3872 readonly isGenerous: boolean;3873 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3874 }38753876 /** @name PalletEvmContractHelpersError (518) */3877 interface PalletEvmContractHelpersError extends Enum {3878 readonly isNoPermission: boolean;3879 readonly isNoPendingSponsor: boolean;3880 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3881 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3882 }38833884 /** @name PalletEvmMigrationError (519) */3885 interface PalletEvmMigrationError extends Enum {3886 readonly isAccountNotEmpty: boolean;3887 readonly isAccountIsNotMigrating: boolean;3888 readonly isBadEvent: boolean;3889 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3890 }38913892 /** @name PalletMaintenanceError (520) */3893 type PalletMaintenanceError = Null;38943895 /** @name PalletTestUtilsError (521) */3896 interface PalletTestUtilsError extends Enum {3897 readonly isTestPalletDisabled: boolean;3898 readonly isTriggerRollback: boolean;3899 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3900 }39013902 /** @name SpRuntimeMultiSignature (523) */3903 interface SpRuntimeMultiSignature extends Enum {3904 readonly isEd25519: boolean;3905 readonly asEd25519: SpCoreEd25519Signature;3906 readonly isSr25519: boolean;3907 readonly asSr25519: SpCoreSr25519Signature;3908 readonly isEcdsa: boolean;3909 readonly asEcdsa: SpCoreEcdsaSignature;3910 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3911 }39123913 /** @name SpCoreEd25519Signature (524) */3914 interface SpCoreEd25519Signature extends U8aFixed {}39153916 /** @name SpCoreSr25519Signature (526) */3917 interface SpCoreSr25519Signature extends U8aFixed {}39183919 /** @name SpCoreEcdsaSignature (527) */3920 interface SpCoreEcdsaSignature extends U8aFixed {}39213922 /** @name FrameSystemExtensionsCheckSpecVersion (530) */3923 type FrameSystemExtensionsCheckSpecVersion = Null;39243925 /** @name FrameSystemExtensionsCheckTxVersion (531) */3926 type FrameSystemExtensionsCheckTxVersion = Null;39273928 /** @name FrameSystemExtensionsCheckGenesis (532) */3929 type FrameSystemExtensionsCheckGenesis = Null;39303931 /** @name FrameSystemExtensionsCheckNonce (535) */3932 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}39333934 /** @name FrameSystemExtensionsCheckWeight (536) */3935 type FrameSystemExtensionsCheckWeight = Null;39363937 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (537) */3938 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;39393940 /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (538) */3941 type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null;39423943 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (539) */3944 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}39453946 /** @name OpalRuntimeRuntime (540) */3947 type OpalRuntimeRuntime = Null;39483949 /** @name PalletEthereumFakeTransactionFinalizer (541) */3950 type PalletEthereumFakeTransactionFinalizer = Null;39513952} // declare module1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { Data } from '@polkadot/types';9import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';12import type { Event } from '@polkadot/types/interfaces/system';1314declare module '@polkadot/types/lookup' {15 /** @name FrameSystemAccountInfo (3) */16 interface FrameSystemAccountInfo extends Struct {17 readonly nonce: u32;18 readonly consumers: u32;19 readonly providers: u32;20 readonly sufficients: u32;21 readonly data: PalletBalancesAccountData;22 }2324 /** @name PalletBalancesAccountData (5) */25 interface PalletBalancesAccountData extends Struct {26 readonly free: u128;27 readonly reserved: u128;28 readonly miscFrozen: u128;29 readonly feeFrozen: u128;30 }3132 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */33 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {34 readonly normal: SpWeightsWeightV2Weight;35 readonly operational: SpWeightsWeightV2Weight;36 readonly mandatory: SpWeightsWeightV2Weight;37 }3839 /** @name SpWeightsWeightV2Weight (8) */40 interface SpWeightsWeightV2Weight extends Struct {41 readonly refTime: Compact<u64>;42 readonly proofSize: Compact<u64>;43 }4445 /** @name SpRuntimeDigest (13) */46 interface SpRuntimeDigest extends Struct {47 readonly logs: Vec<SpRuntimeDigestDigestItem>;48 }4950 /** @name SpRuntimeDigestDigestItem (15) */51 interface SpRuntimeDigestDigestItem extends Enum {52 readonly isOther: boolean;53 readonly asOther: Bytes;54 readonly isConsensus: boolean;55 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;56 readonly isSeal: boolean;57 readonly asSeal: ITuple<[U8aFixed, Bytes]>;58 readonly isPreRuntime: boolean;59 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;60 readonly isRuntimeEnvironmentUpdated: boolean;61 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';62 }6364 /** @name FrameSystemEventRecord (18) */65 interface FrameSystemEventRecord extends Struct {66 readonly phase: FrameSystemPhase;67 readonly event: Event;68 readonly topics: Vec<H256>;69 }7071 /** @name FrameSystemEvent (20) */72 interface FrameSystemEvent extends Enum {73 readonly isExtrinsicSuccess: boolean;74 readonly asExtrinsicSuccess: {75 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;76 } & Struct;77 readonly isExtrinsicFailed: boolean;78 readonly asExtrinsicFailed: {79 readonly dispatchError: SpRuntimeDispatchError;80 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;81 } & Struct;82 readonly isCodeUpdated: boolean;83 readonly isNewAccount: boolean;84 readonly asNewAccount: {85 readonly account: AccountId32;86 } & Struct;87 readonly isKilledAccount: boolean;88 readonly asKilledAccount: {89 readonly account: AccountId32;90 } & Struct;91 readonly isRemarked: boolean;92 readonly asRemarked: {93 readonly sender: AccountId32;94 readonly hash_: H256;95 } & Struct;96 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';97 }9899 /** @name FrameSupportDispatchDispatchInfo (21) */100 interface FrameSupportDispatchDispatchInfo extends Struct {101 readonly weight: SpWeightsWeightV2Weight;102 readonly class: FrameSupportDispatchDispatchClass;103 readonly paysFee: FrameSupportDispatchPays;104 }105106 /** @name FrameSupportDispatchDispatchClass (22) */107 interface FrameSupportDispatchDispatchClass extends Enum {108 readonly isNormal: boolean;109 readonly isOperational: boolean;110 readonly isMandatory: boolean;111 readonly type: 'Normal' | 'Operational' | 'Mandatory';112 }113114 /** @name FrameSupportDispatchPays (23) */115 interface FrameSupportDispatchPays extends Enum {116 readonly isYes: boolean;117 readonly isNo: boolean;118 readonly type: 'Yes' | 'No';119 }120121 /** @name SpRuntimeDispatchError (24) */122 interface SpRuntimeDispatchError extends Enum {123 readonly isOther: boolean;124 readonly isCannotLookup: boolean;125 readonly isBadOrigin: boolean;126 readonly isModule: boolean;127 readonly asModule: SpRuntimeModuleError;128 readonly isConsumerRemaining: boolean;129 readonly isNoProviders: boolean;130 readonly isTooManyConsumers: boolean;131 readonly isToken: boolean;132 readonly asToken: SpRuntimeTokenError;133 readonly isArithmetic: boolean;134 readonly asArithmetic: SpArithmeticArithmeticError;135 readonly isTransactional: boolean;136 readonly asTransactional: SpRuntimeTransactionalError;137 readonly isExhausted: boolean;138 readonly isCorruption: boolean;139 readonly isUnavailable: boolean;140 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';141 }142143 /** @name SpRuntimeModuleError (25) */144 interface SpRuntimeModuleError extends Struct {145 readonly index: u8;146 readonly error: U8aFixed;147 }148149 /** @name SpRuntimeTokenError (26) */150 interface SpRuntimeTokenError extends Enum {151 readonly isNoFunds: boolean;152 readonly isWouldDie: boolean;153 readonly isBelowMinimum: boolean;154 readonly isCannotCreate: boolean;155 readonly isUnknownAsset: boolean;156 readonly isFrozen: boolean;157 readonly isUnsupported: boolean;158 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';159 }160161 /** @name SpArithmeticArithmeticError (27) */162 interface SpArithmeticArithmeticError extends Enum {163 readonly isUnderflow: boolean;164 readonly isOverflow: boolean;165 readonly isDivisionByZero: boolean;166 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';167 }168169 /** @name SpRuntimeTransactionalError (28) */170 interface SpRuntimeTransactionalError extends Enum {171 readonly isLimitReached: boolean;172 readonly isNoLayer: boolean;173 readonly type: 'LimitReached' | 'NoLayer';174 }175176 /** @name CumulusPalletParachainSystemEvent (29) */177 interface CumulusPalletParachainSystemEvent extends Enum {178 readonly isValidationFunctionStored: boolean;179 readonly isValidationFunctionApplied: boolean;180 readonly asValidationFunctionApplied: {181 readonly relayChainBlockNum: u32;182 } & Struct;183 readonly isValidationFunctionDiscarded: boolean;184 readonly isUpgradeAuthorized: boolean;185 readonly asUpgradeAuthorized: {186 readonly codeHash: H256;187 } & Struct;188 readonly isDownwardMessagesReceived: boolean;189 readonly asDownwardMessagesReceived: {190 readonly count: u32;191 } & Struct;192 readonly isDownwardMessagesProcessed: boolean;193 readonly asDownwardMessagesProcessed: {194 readonly weightUsed: SpWeightsWeightV2Weight;195 readonly dmqHead: H256;196 } & Struct;197 readonly isUpwardMessageSent: boolean;198 readonly asUpwardMessageSent: {199 readonly messageHash: Option<U8aFixed>;200 } & Struct;201 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent';202 }203204 /** @name PalletCollatorSelectionEvent (31) */205 interface PalletCollatorSelectionEvent extends Enum {206 readonly isInvulnerableAdded: boolean;207 readonly asInvulnerableAdded: {208 readonly invulnerable: AccountId32;209 } & Struct;210 readonly isInvulnerableRemoved: boolean;211 readonly asInvulnerableRemoved: {212 readonly invulnerable: AccountId32;213 } & Struct;214 readonly isLicenseObtained: boolean;215 readonly asLicenseObtained: {216 readonly accountId: AccountId32;217 readonly deposit: u128;218 } & Struct;219 readonly isLicenseReleased: boolean;220 readonly asLicenseReleased: {221 readonly accountId: AccountId32;222 readonly depositReturned: u128;223 } & Struct;224 readonly isCandidateAdded: boolean;225 readonly asCandidateAdded: {226 readonly accountId: AccountId32;227 } & Struct;228 readonly isCandidateRemoved: boolean;229 readonly asCandidateRemoved: {230 readonly accountId: AccountId32;231 } & Struct;232 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';233 }234235 /** @name PalletSessionEvent (32) */236 interface PalletSessionEvent extends Enum {237 readonly isNewSession: boolean;238 readonly asNewSession: {239 readonly sessionIndex: u32;240 } & Struct;241 readonly type: 'NewSession';242 }243244 /** @name PalletBalancesEvent (33) */245 interface PalletBalancesEvent extends Enum {246 readonly isEndowed: boolean;247 readonly asEndowed: {248 readonly account: AccountId32;249 readonly freeBalance: u128;250 } & Struct;251 readonly isDustLost: boolean;252 readonly asDustLost: {253 readonly account: AccountId32;254 readonly amount: u128;255 } & Struct;256 readonly isTransfer: boolean;257 readonly asTransfer: {258 readonly from: AccountId32;259 readonly to: AccountId32;260 readonly amount: u128;261 } & Struct;262 readonly isBalanceSet: boolean;263 readonly asBalanceSet: {264 readonly who: AccountId32;265 readonly free: u128;266 readonly reserved: u128;267 } & Struct;268 readonly isReserved: boolean;269 readonly asReserved: {270 readonly who: AccountId32;271 readonly amount: u128;272 } & Struct;273 readonly isUnreserved: boolean;274 readonly asUnreserved: {275 readonly who: AccountId32;276 readonly amount: u128;277 } & Struct;278 readonly isReserveRepatriated: boolean;279 readonly asReserveRepatriated: {280 readonly from: AccountId32;281 readonly to: AccountId32;282 readonly amount: u128;283 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;284 } & Struct;285 readonly isDeposit: boolean;286 readonly asDeposit: {287 readonly who: AccountId32;288 readonly amount: u128;289 } & Struct;290 readonly isWithdraw: boolean;291 readonly asWithdraw: {292 readonly who: AccountId32;293 readonly amount: u128;294 } & Struct;295 readonly isSlashed: boolean;296 readonly asSlashed: {297 readonly who: AccountId32;298 readonly amount: u128;299 } & Struct;300 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';301 }302303 /** @name FrameSupportTokensMiscBalanceStatus (34) */304 interface FrameSupportTokensMiscBalanceStatus extends Enum {305 readonly isFree: boolean;306 readonly isReserved: boolean;307 readonly type: 'Free' | 'Reserved';308 }309310 /** @name PalletTransactionPaymentEvent (35) */311 interface PalletTransactionPaymentEvent extends Enum {312 readonly isTransactionFeePaid: boolean;313 readonly asTransactionFeePaid: {314 readonly who: AccountId32;315 readonly actualFee: u128;316 readonly tip: u128;317 } & Struct;318 readonly type: 'TransactionFeePaid';319 }320321 /** @name PalletTreasuryEvent (36) */322 interface PalletTreasuryEvent extends Enum {323 readonly isProposed: boolean;324 readonly asProposed: {325 readonly proposalIndex: u32;326 } & Struct;327 readonly isSpending: boolean;328 readonly asSpending: {329 readonly budgetRemaining: u128;330 } & Struct;331 readonly isAwarded: boolean;332 readonly asAwarded: {333 readonly proposalIndex: u32;334 readonly award: u128;335 readonly account: AccountId32;336 } & Struct;337 readonly isRejected: boolean;338 readonly asRejected: {339 readonly proposalIndex: u32;340 readonly slashed: u128;341 } & Struct;342 readonly isBurnt: boolean;343 readonly asBurnt: {344 readonly burntFunds: u128;345 } & Struct;346 readonly isRollover: boolean;347 readonly asRollover: {348 readonly rolloverBalance: u128;349 } & Struct;350 readonly isDeposit: boolean;351 readonly asDeposit: {352 readonly value: u128;353 } & Struct;354 readonly isSpendApproved: boolean;355 readonly asSpendApproved: {356 readonly proposalIndex: u32;357 readonly amount: u128;358 readonly beneficiary: AccountId32;359 } & Struct;360 readonly isUpdatedInactive: boolean;361 readonly asUpdatedInactive: {362 readonly reactivated: u128;363 readonly deactivated: u128;364 } & Struct;365 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';366 }367368 /** @name PalletSudoEvent (37) */369 interface PalletSudoEvent extends Enum {370 readonly isSudid: boolean;371 readonly asSudid: {372 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;373 } & Struct;374 readonly isKeyChanged: boolean;375 readonly asKeyChanged: {376 readonly oldSudoer: Option<AccountId32>;377 } & Struct;378 readonly isSudoAsDone: boolean;379 readonly asSudoAsDone: {380 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;381 } & Struct;382 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';383 }384385 /** @name OrmlVestingModuleEvent (41) */386 interface OrmlVestingModuleEvent extends Enum {387 readonly isVestingScheduleAdded: boolean;388 readonly asVestingScheduleAdded: {389 readonly from: AccountId32;390 readonly to: AccountId32;391 readonly vestingSchedule: OrmlVestingVestingSchedule;392 } & Struct;393 readonly isClaimed: boolean;394 readonly asClaimed: {395 readonly who: AccountId32;396 readonly amount: u128;397 } & Struct;398 readonly isVestingSchedulesUpdated: boolean;399 readonly asVestingSchedulesUpdated: {400 readonly who: AccountId32;401 } & Struct;402 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';403 }404405 /** @name OrmlVestingVestingSchedule (42) */406 interface OrmlVestingVestingSchedule extends Struct {407 readonly start: u32;408 readonly period: u32;409 readonly periodCount: u32;410 readonly perPeriod: Compact<u128>;411 }412413 /** @name OrmlXtokensModuleEvent (44) */414 interface OrmlXtokensModuleEvent extends Enum {415 readonly isTransferredMultiAssets: boolean;416 readonly asTransferredMultiAssets: {417 readonly sender: AccountId32;418 readonly assets: XcmV3MultiassetMultiAssets;419 readonly fee: XcmV3MultiAsset;420 readonly dest: XcmV3MultiLocation;421 } & Struct;422 readonly type: 'TransferredMultiAssets';423 }424425 /** @name XcmV3MultiassetMultiAssets (45) */426 interface XcmV3MultiassetMultiAssets extends Vec<XcmV3MultiAsset> {}427428 /** @name XcmV3MultiAsset (47) */429 interface XcmV3MultiAsset extends Struct {430 readonly id: XcmV3MultiassetAssetId;431 readonly fun: XcmV3MultiassetFungibility;432 }433434 /** @name XcmV3MultiassetAssetId (48) */435 interface XcmV3MultiassetAssetId extends Enum {436 readonly isConcrete: boolean;437 readonly asConcrete: XcmV3MultiLocation;438 readonly isAbstract: boolean;439 readonly asAbstract: U8aFixed;440 readonly type: 'Concrete' | 'Abstract';441 }442443 /** @name XcmV3MultiLocation (49) */444 interface XcmV3MultiLocation extends Struct {445 readonly parents: u8;446 readonly interior: XcmV3Junctions;447 }448449 /** @name XcmV3Junctions (50) */450 interface XcmV3Junctions extends Enum {451 readonly isHere: boolean;452 readonly isX1: boolean;453 readonly asX1: XcmV3Junction;454 readonly isX2: boolean;455 readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>;456 readonly isX3: boolean;457 readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>;458 readonly isX4: boolean;459 readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;460 readonly isX5: boolean;461 readonly asX5: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;462 readonly isX6: boolean;463 readonly asX6: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;464 readonly isX7: boolean;465 readonly asX7: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;466 readonly isX8: boolean;467 readonly asX8: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;468 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';469 }470471 /** @name XcmV3Junction (51) */472 interface XcmV3Junction extends Enum {473 readonly isParachain: boolean;474 readonly asParachain: Compact<u32>;475 readonly isAccountId32: boolean;476 readonly asAccountId32: {477 readonly network: Option<XcmV3JunctionNetworkId>;478 readonly id: U8aFixed;479 } & Struct;480 readonly isAccountIndex64: boolean;481 readonly asAccountIndex64: {482 readonly network: Option<XcmV3JunctionNetworkId>;483 readonly index: Compact<u64>;484 } & Struct;485 readonly isAccountKey20: boolean;486 readonly asAccountKey20: {487 readonly network: Option<XcmV3JunctionNetworkId>;488 readonly key: U8aFixed;489 } & Struct;490 readonly isPalletInstance: boolean;491 readonly asPalletInstance: u8;492 readonly isGeneralIndex: boolean;493 readonly asGeneralIndex: Compact<u128>;494 readonly isGeneralKey: boolean;495 readonly asGeneralKey: {496 readonly length: u8;497 readonly data: U8aFixed;498 } & Struct;499 readonly isOnlyChild: boolean;500 readonly isPlurality: boolean;501 readonly asPlurality: {502 readonly id: XcmV3JunctionBodyId;503 readonly part: XcmV3JunctionBodyPart;504 } & Struct;505 readonly isGlobalConsensus: boolean;506 readonly asGlobalConsensus: XcmV3JunctionNetworkId;507 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';508 }509510 /** @name XcmV3JunctionNetworkId (54) */511 interface XcmV3JunctionNetworkId extends Enum {512 readonly isByGenesis: boolean;513 readonly asByGenesis: U8aFixed;514 readonly isByFork: boolean;515 readonly asByFork: {516 readonly blockNumber: u64;517 readonly blockHash: U8aFixed;518 } & Struct;519 readonly isPolkadot: boolean;520 readonly isKusama: boolean;521 readonly isWestend: boolean;522 readonly isRococo: boolean;523 readonly isWococo: boolean;524 readonly isEthereum: boolean;525 readonly asEthereum: {526 readonly chainId: Compact<u64>;527 } & Struct;528 readonly isBitcoinCore: boolean;529 readonly isBitcoinCash: boolean;530 readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash';531 }532533 /** @name XcmV3JunctionBodyId (56) */534 interface XcmV3JunctionBodyId extends Enum {535 readonly isUnit: boolean;536 readonly isMoniker: boolean;537 readonly asMoniker: U8aFixed;538 readonly isIndex: boolean;539 readonly asIndex: Compact<u32>;540 readonly isExecutive: boolean;541 readonly isTechnical: boolean;542 readonly isLegislative: boolean;543 readonly isJudicial: boolean;544 readonly isDefense: boolean;545 readonly isAdministration: boolean;546 readonly isTreasury: boolean;547 readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';548 }549550 /** @name XcmV3JunctionBodyPart (57) */551 interface XcmV3JunctionBodyPart extends Enum {552 readonly isVoice: boolean;553 readonly isMembers: boolean;554 readonly asMembers: {555 readonly count: Compact<u32>;556 } & Struct;557 readonly isFraction: boolean;558 readonly asFraction: {559 readonly nom: Compact<u32>;560 readonly denom: Compact<u32>;561 } & Struct;562 readonly isAtLeastProportion: boolean;563 readonly asAtLeastProportion: {564 readonly nom: Compact<u32>;565 readonly denom: Compact<u32>;566 } & Struct;567 readonly isMoreThanProportion: boolean;568 readonly asMoreThanProportion: {569 readonly nom: Compact<u32>;570 readonly denom: Compact<u32>;571 } & Struct;572 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';573 }574575 /** @name XcmV3MultiassetFungibility (58) */576 interface XcmV3MultiassetFungibility extends Enum {577 readonly isFungible: boolean;578 readonly asFungible: Compact<u128>;579 readonly isNonFungible: boolean;580 readonly asNonFungible: XcmV3MultiassetAssetInstance;581 readonly type: 'Fungible' | 'NonFungible';582 }583584 /** @name XcmV3MultiassetAssetInstance (59) */585 interface XcmV3MultiassetAssetInstance extends Enum {586 readonly isUndefined: boolean;587 readonly isIndex: boolean;588 readonly asIndex: Compact<u128>;589 readonly isArray4: boolean;590 readonly asArray4: U8aFixed;591 readonly isArray8: boolean;592 readonly asArray8: U8aFixed;593 readonly isArray16: boolean;594 readonly asArray16: U8aFixed;595 readonly isArray32: boolean;596 readonly asArray32: U8aFixed;597 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32';598 }599600 /** @name OrmlTokensModuleEvent (62) */601 interface OrmlTokensModuleEvent extends Enum {602 readonly isEndowed: boolean;603 readonly asEndowed: {604 readonly currencyId: PalletForeignAssetsAssetIds;605 readonly who: AccountId32;606 readonly amount: u128;607 } & Struct;608 readonly isDustLost: boolean;609 readonly asDustLost: {610 readonly currencyId: PalletForeignAssetsAssetIds;611 readonly who: AccountId32;612 readonly amount: u128;613 } & Struct;614 readonly isTransfer: boolean;615 readonly asTransfer: {616 readonly currencyId: PalletForeignAssetsAssetIds;617 readonly from: AccountId32;618 readonly to: AccountId32;619 readonly amount: u128;620 } & Struct;621 readonly isReserved: boolean;622 readonly asReserved: {623 readonly currencyId: PalletForeignAssetsAssetIds;624 readonly who: AccountId32;625 readonly amount: u128;626 } & Struct;627 readonly isUnreserved: boolean;628 readonly asUnreserved: {629 readonly currencyId: PalletForeignAssetsAssetIds;630 readonly who: AccountId32;631 readonly amount: u128;632 } & Struct;633 readonly isReserveRepatriated: boolean;634 readonly asReserveRepatriated: {635 readonly currencyId: PalletForeignAssetsAssetIds;636 readonly from: AccountId32;637 readonly to: AccountId32;638 readonly amount: u128;639 readonly status: FrameSupportTokensMiscBalanceStatus;640 } & Struct;641 readonly isBalanceSet: boolean;642 readonly asBalanceSet: {643 readonly currencyId: PalletForeignAssetsAssetIds;644 readonly who: AccountId32;645 readonly free: u128;646 readonly reserved: u128;647 } & Struct;648 readonly isTotalIssuanceSet: boolean;649 readonly asTotalIssuanceSet: {650 readonly currencyId: PalletForeignAssetsAssetIds;651 readonly amount: u128;652 } & Struct;653 readonly isWithdrawn: boolean;654 readonly asWithdrawn: {655 readonly currencyId: PalletForeignAssetsAssetIds;656 readonly who: AccountId32;657 readonly amount: u128;658 } & Struct;659 readonly isSlashed: boolean;660 readonly asSlashed: {661 readonly currencyId: PalletForeignAssetsAssetIds;662 readonly who: AccountId32;663 readonly freeAmount: u128;664 readonly reservedAmount: u128;665 } & Struct;666 readonly isDeposited: boolean;667 readonly asDeposited: {668 readonly currencyId: PalletForeignAssetsAssetIds;669 readonly who: AccountId32;670 readonly amount: u128;671 } & Struct;672 readonly isLockSet: boolean;673 readonly asLockSet: {674 readonly lockId: U8aFixed;675 readonly currencyId: PalletForeignAssetsAssetIds;676 readonly who: AccountId32;677 readonly amount: u128;678 } & Struct;679 readonly isLockRemoved: boolean;680 readonly asLockRemoved: {681 readonly lockId: U8aFixed;682 readonly currencyId: PalletForeignAssetsAssetIds;683 readonly who: AccountId32;684 } & Struct;685 readonly isLocked: boolean;686 readonly asLocked: {687 readonly currencyId: PalletForeignAssetsAssetIds;688 readonly who: AccountId32;689 readonly amount: u128;690 } & Struct;691 readonly isUnlocked: boolean;692 readonly asUnlocked: {693 readonly currencyId: PalletForeignAssetsAssetIds;694 readonly who: AccountId32;695 readonly amount: u128;696 } & Struct;697 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked';698 }699700 /** @name PalletForeignAssetsAssetIds (63) */701 interface PalletForeignAssetsAssetIds extends Enum {702 readonly isForeignAssetId: boolean;703 readonly asForeignAssetId: u32;704 readonly isNativeAssetId: boolean;705 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;706 readonly type: 'ForeignAssetId' | 'NativeAssetId';707 }708709 /** @name PalletForeignAssetsNativeCurrency (64) */710 interface PalletForeignAssetsNativeCurrency extends Enum {711 readonly isHere: boolean;712 readonly isParent: boolean;713 readonly type: 'Here' | 'Parent';714 }715716 /** @name PalletIdentityEvent (65) */717 interface PalletIdentityEvent extends Enum {718 readonly isIdentitySet: boolean;719 readonly asIdentitySet: {720 readonly who: AccountId32;721 } & Struct;722 readonly isIdentityCleared: boolean;723 readonly asIdentityCleared: {724 readonly who: AccountId32;725 readonly deposit: u128;726 } & Struct;727 readonly isIdentityKilled: boolean;728 readonly asIdentityKilled: {729 readonly who: AccountId32;730 readonly deposit: u128;731 } & Struct;732 readonly isIdentitiesInserted: boolean;733 readonly asIdentitiesInserted: {734 readonly amount: u32;735 } & Struct;736 readonly isIdentitiesRemoved: boolean;737 readonly asIdentitiesRemoved: {738 readonly amount: u32;739 } & Struct;740 readonly isJudgementRequested: boolean;741 readonly asJudgementRequested: {742 readonly who: AccountId32;743 readonly registrarIndex: u32;744 } & Struct;745 readonly isJudgementUnrequested: boolean;746 readonly asJudgementUnrequested: {747 readonly who: AccountId32;748 readonly registrarIndex: u32;749 } & Struct;750 readonly isJudgementGiven: boolean;751 readonly asJudgementGiven: {752 readonly target: AccountId32;753 readonly registrarIndex: u32;754 } & Struct;755 readonly isRegistrarAdded: boolean;756 readonly asRegistrarAdded: {757 readonly registrarIndex: u32;758 } & Struct;759 readonly isSubIdentityAdded: boolean;760 readonly asSubIdentityAdded: {761 readonly sub: AccountId32;762 readonly main: AccountId32;763 readonly deposit: u128;764 } & Struct;765 readonly isSubIdentityRemoved: boolean;766 readonly asSubIdentityRemoved: {767 readonly sub: AccountId32;768 readonly main: AccountId32;769 readonly deposit: u128;770 } & Struct;771 readonly isSubIdentityRevoked: boolean;772 readonly asSubIdentityRevoked: {773 readonly sub: AccountId32;774 readonly main: AccountId32;775 readonly deposit: u128;776 } & Struct;777 readonly isSubIdentitiesInserted: boolean;778 readonly asSubIdentitiesInserted: {779 readonly amount: u32;780 } & Struct;781 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted';782 }783784 /** @name PalletPreimageEvent (66) */785 interface PalletPreimageEvent extends Enum {786 readonly isNoted: boolean;787 readonly asNoted: {788 readonly hash_: H256;789 } & Struct;790 readonly isRequested: boolean;791 readonly asRequested: {792 readonly hash_: H256;793 } & Struct;794 readonly isCleared: boolean;795 readonly asCleared: {796 readonly hash_: H256;797 } & Struct;798 readonly type: 'Noted' | 'Requested' | 'Cleared';799 }800801 /** @name CumulusPalletXcmpQueueEvent (67) */802 interface CumulusPalletXcmpQueueEvent extends Enum {803 readonly isSuccess: boolean;804 readonly asSuccess: {805 readonly messageHash: Option<U8aFixed>;806 readonly weight: SpWeightsWeightV2Weight;807 } & Struct;808 readonly isFail: boolean;809 readonly asFail: {810 readonly messageHash: Option<U8aFixed>;811 readonly error: XcmV3TraitsError;812 readonly weight: SpWeightsWeightV2Weight;813 } & Struct;814 readonly isBadVersion: boolean;815 readonly asBadVersion: {816 readonly messageHash: Option<U8aFixed>;817 } & Struct;818 readonly isBadFormat: boolean;819 readonly asBadFormat: {820 readonly messageHash: Option<U8aFixed>;821 } & Struct;822 readonly isXcmpMessageSent: boolean;823 readonly asXcmpMessageSent: {824 readonly messageHash: Option<U8aFixed>;825 } & Struct;826 readonly isOverweightEnqueued: boolean;827 readonly asOverweightEnqueued: {828 readonly sender: u32;829 readonly sentAt: u32;830 readonly index: u64;831 readonly required: SpWeightsWeightV2Weight;832 } & Struct;833 readonly isOverweightServiced: boolean;834 readonly asOverweightServiced: {835 readonly index: u64;836 readonly used: SpWeightsWeightV2Weight;837 } & Struct;838 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';839 }840841 /** @name XcmV3TraitsError (68) */842 interface XcmV3TraitsError extends Enum {843 readonly isOverflow: boolean;844 readonly isUnimplemented: boolean;845 readonly isUntrustedReserveLocation: boolean;846 readonly isUntrustedTeleportLocation: boolean;847 readonly isLocationFull: boolean;848 readonly isLocationNotInvertible: boolean;849 readonly isBadOrigin: boolean;850 readonly isInvalidLocation: boolean;851 readonly isAssetNotFound: boolean;852 readonly isFailedToTransactAsset: boolean;853 readonly isNotWithdrawable: boolean;854 readonly isLocationCannotHold: boolean;855 readonly isExceedsMaxMessageSize: boolean;856 readonly isDestinationUnsupported: boolean;857 readonly isTransport: boolean;858 readonly isUnroutable: boolean;859 readonly isUnknownClaim: boolean;860 readonly isFailedToDecode: boolean;861 readonly isMaxWeightInvalid: boolean;862 readonly isNotHoldingFees: boolean;863 readonly isTooExpensive: boolean;864 readonly isTrap: boolean;865 readonly asTrap: u64;866 readonly isExpectationFalse: boolean;867 readonly isPalletNotFound: boolean;868 readonly isNameMismatch: boolean;869 readonly isVersionIncompatible: boolean;870 readonly isHoldingWouldOverflow: boolean;871 readonly isExportError: boolean;872 readonly isReanchorFailed: boolean;873 readonly isNoDeal: boolean;874 readonly isFeesNotMet: boolean;875 readonly isLockError: boolean;876 readonly isNoPermission: boolean;877 readonly isUnanchored: boolean;878 readonly isNotDepositable: boolean;879 readonly isUnhandledXcmVersion: boolean;880 readonly isWeightLimitReached: boolean;881 readonly asWeightLimitReached: SpWeightsWeightV2Weight;882 readonly isBarrier: boolean;883 readonly isWeightNotComputable: boolean;884 readonly isExceedsStackLimit: boolean;885 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit';886 }887888 /** @name PalletXcmEvent (70) */889 interface PalletXcmEvent extends Enum {890 readonly isAttempted: boolean;891 readonly asAttempted: XcmV3TraitsOutcome;892 readonly isSent: boolean;893 readonly asSent: ITuple<[XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]>;894 readonly isUnexpectedResponse: boolean;895 readonly asUnexpectedResponse: ITuple<[XcmV3MultiLocation, u64]>;896 readonly isResponseReady: boolean;897 readonly asResponseReady: ITuple<[u64, XcmV3Response]>;898 readonly isNotified: boolean;899 readonly asNotified: ITuple<[u64, u8, u8]>;900 readonly isNotifyOverweight: boolean;901 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;902 readonly isNotifyDispatchError: boolean;903 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;904 readonly isNotifyDecodeFailed: boolean;905 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;906 readonly isInvalidResponder: boolean;907 readonly asInvalidResponder: ITuple<[XcmV3MultiLocation, u64, Option<XcmV3MultiLocation>]>;908 readonly isInvalidResponderVersion: boolean;909 readonly asInvalidResponderVersion: ITuple<[XcmV3MultiLocation, u64]>;910 readonly isResponseTaken: boolean;911 readonly asResponseTaken: u64;912 readonly isAssetsTrapped: boolean;913 readonly asAssetsTrapped: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;914 readonly isVersionChangeNotified: boolean;915 readonly asVersionChangeNotified: ITuple<[XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]>;916 readonly isSupportedVersionChanged: boolean;917 readonly asSupportedVersionChanged: ITuple<[XcmV3MultiLocation, u32]>;918 readonly isNotifyTargetSendFail: boolean;919 readonly asNotifyTargetSendFail: ITuple<[XcmV3MultiLocation, u64, XcmV3TraitsError]>;920 readonly isNotifyTargetMigrationFail: boolean;921 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;922 readonly isInvalidQuerierVersion: boolean;923 readonly asInvalidQuerierVersion: ITuple<[XcmV3MultiLocation, u64]>;924 readonly isInvalidQuerier: boolean;925 readonly asInvalidQuerier: ITuple<[XcmV3MultiLocation, u64, XcmV3MultiLocation, Option<XcmV3MultiLocation>]>;926 readonly isVersionNotifyStarted: boolean;927 readonly asVersionNotifyStarted: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;928 readonly isVersionNotifyRequested: boolean;929 readonly asVersionNotifyRequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;930 readonly isVersionNotifyUnrequested: boolean;931 readonly asVersionNotifyUnrequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;932 readonly isFeesPaid: boolean;933 readonly asFeesPaid: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;934 readonly isAssetsClaimed: boolean;935 readonly asAssetsClaimed: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;936 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed';937 }938939 /** @name XcmV3TraitsOutcome (71) */940 interface XcmV3TraitsOutcome extends Enum {941 readonly isComplete: boolean;942 readonly asComplete: SpWeightsWeightV2Weight;943 readonly isIncomplete: boolean;944 readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, XcmV3TraitsError]>;945 readonly isError: boolean;946 readonly asError: XcmV3TraitsError;947 readonly type: 'Complete' | 'Incomplete' | 'Error';948 }949950 /** @name XcmV3Xcm (72) */951 interface XcmV3Xcm extends Vec<XcmV3Instruction> {}952953 /** @name XcmV3Instruction (74) */954 interface XcmV3Instruction extends Enum {955 readonly isWithdrawAsset: boolean;956 readonly asWithdrawAsset: XcmV3MultiassetMultiAssets;957 readonly isReserveAssetDeposited: boolean;958 readonly asReserveAssetDeposited: XcmV3MultiassetMultiAssets;959 readonly isReceiveTeleportedAsset: boolean;960 readonly asReceiveTeleportedAsset: XcmV3MultiassetMultiAssets;961 readonly isQueryResponse: boolean;962 readonly asQueryResponse: {963 readonly queryId: Compact<u64>;964 readonly response: XcmV3Response;965 readonly maxWeight: SpWeightsWeightV2Weight;966 readonly querier: Option<XcmV3MultiLocation>;967 } & Struct;968 readonly isTransferAsset: boolean;969 readonly asTransferAsset: {970 readonly assets: XcmV3MultiassetMultiAssets;971 readonly beneficiary: XcmV3MultiLocation;972 } & Struct;973 readonly isTransferReserveAsset: boolean;974 readonly asTransferReserveAsset: {975 readonly assets: XcmV3MultiassetMultiAssets;976 readonly dest: XcmV3MultiLocation;977 readonly xcm: XcmV3Xcm;978 } & Struct;979 readonly isTransact: boolean;980 readonly asTransact: {981 readonly originKind: XcmV2OriginKind;982 readonly requireWeightAtMost: SpWeightsWeightV2Weight;983 readonly call: XcmDoubleEncoded;984 } & Struct;985 readonly isHrmpNewChannelOpenRequest: boolean;986 readonly asHrmpNewChannelOpenRequest: {987 readonly sender: Compact<u32>;988 readonly maxMessageSize: Compact<u32>;989 readonly maxCapacity: Compact<u32>;990 } & Struct;991 readonly isHrmpChannelAccepted: boolean;992 readonly asHrmpChannelAccepted: {993 readonly recipient: Compact<u32>;994 } & Struct;995 readonly isHrmpChannelClosing: boolean;996 readonly asHrmpChannelClosing: {997 readonly initiator: Compact<u32>;998 readonly sender: Compact<u32>;999 readonly recipient: Compact<u32>;1000 } & Struct;1001 readonly isClearOrigin: boolean;1002 readonly isDescendOrigin: boolean;1003 readonly asDescendOrigin: XcmV3Junctions;1004 readonly isReportError: boolean;1005 readonly asReportError: XcmV3QueryResponseInfo;1006 readonly isDepositAsset: boolean;1007 readonly asDepositAsset: {1008 readonly assets: XcmV3MultiassetMultiAssetFilter;1009 readonly beneficiary: XcmV3MultiLocation;1010 } & Struct;1011 readonly isDepositReserveAsset: boolean;1012 readonly asDepositReserveAsset: {1013 readonly assets: XcmV3MultiassetMultiAssetFilter;1014 readonly dest: XcmV3MultiLocation;1015 readonly xcm: XcmV3Xcm;1016 } & Struct;1017 readonly isExchangeAsset: boolean;1018 readonly asExchangeAsset: {1019 readonly give: XcmV3MultiassetMultiAssetFilter;1020 readonly want: XcmV3MultiassetMultiAssets;1021 readonly maximal: bool;1022 } & Struct;1023 readonly isInitiateReserveWithdraw: boolean;1024 readonly asInitiateReserveWithdraw: {1025 readonly assets: XcmV3MultiassetMultiAssetFilter;1026 readonly reserve: XcmV3MultiLocation;1027 readonly xcm: XcmV3Xcm;1028 } & Struct;1029 readonly isInitiateTeleport: boolean;1030 readonly asInitiateTeleport: {1031 readonly assets: XcmV3MultiassetMultiAssetFilter;1032 readonly dest: XcmV3MultiLocation;1033 readonly xcm: XcmV3Xcm;1034 } & Struct;1035 readonly isReportHolding: boolean;1036 readonly asReportHolding: {1037 readonly responseInfo: XcmV3QueryResponseInfo;1038 readonly assets: XcmV3MultiassetMultiAssetFilter;1039 } & Struct;1040 readonly isBuyExecution: boolean;1041 readonly asBuyExecution: {1042 readonly fees: XcmV3MultiAsset;1043 readonly weightLimit: XcmV3WeightLimit;1044 } & Struct;1045 readonly isRefundSurplus: boolean;1046 readonly isSetErrorHandler: boolean;1047 readonly asSetErrorHandler: XcmV3Xcm;1048 readonly isSetAppendix: boolean;1049 readonly asSetAppendix: XcmV3Xcm;1050 readonly isClearError: boolean;1051 readonly isClaimAsset: boolean;1052 readonly asClaimAsset: {1053 readonly assets: XcmV3MultiassetMultiAssets;1054 readonly ticket: XcmV3MultiLocation;1055 } & Struct;1056 readonly isTrap: boolean;1057 readonly asTrap: Compact<u64>;1058 readonly isSubscribeVersion: boolean;1059 readonly asSubscribeVersion: {1060 readonly queryId: Compact<u64>;1061 readonly maxResponseWeight: SpWeightsWeightV2Weight;1062 } & Struct;1063 readonly isUnsubscribeVersion: boolean;1064 readonly isBurnAsset: boolean;1065 readonly asBurnAsset: XcmV3MultiassetMultiAssets;1066 readonly isExpectAsset: boolean;1067 readonly asExpectAsset: XcmV3MultiassetMultiAssets;1068 readonly isExpectOrigin: boolean;1069 readonly asExpectOrigin: Option<XcmV3MultiLocation>;1070 readonly isExpectError: boolean;1071 readonly asExpectError: Option<ITuple<[u32, XcmV3TraitsError]>>;1072 readonly isExpectTransactStatus: boolean;1073 readonly asExpectTransactStatus: XcmV3MaybeErrorCode;1074 readonly isQueryPallet: boolean;1075 readonly asQueryPallet: {1076 readonly moduleName: Bytes;1077 readonly responseInfo: XcmV3QueryResponseInfo;1078 } & Struct;1079 readonly isExpectPallet: boolean;1080 readonly asExpectPallet: {1081 readonly index: Compact<u32>;1082 readonly name: Bytes;1083 readonly moduleName: Bytes;1084 readonly crateMajor: Compact<u32>;1085 readonly minCrateMinor: Compact<u32>;1086 } & Struct;1087 readonly isReportTransactStatus: boolean;1088 readonly asReportTransactStatus: XcmV3QueryResponseInfo;1089 readonly isClearTransactStatus: boolean;1090 readonly isUniversalOrigin: boolean;1091 readonly asUniversalOrigin: XcmV3Junction;1092 readonly isExportMessage: boolean;1093 readonly asExportMessage: {1094 readonly network: XcmV3JunctionNetworkId;1095 readonly destination: XcmV3Junctions;1096 readonly xcm: XcmV3Xcm;1097 } & Struct;1098 readonly isLockAsset: boolean;1099 readonly asLockAsset: {1100 readonly asset: XcmV3MultiAsset;1101 readonly unlocker: XcmV3MultiLocation;1102 } & Struct;1103 readonly isUnlockAsset: boolean;1104 readonly asUnlockAsset: {1105 readonly asset: XcmV3MultiAsset;1106 readonly target: XcmV3MultiLocation;1107 } & Struct;1108 readonly isNoteUnlockable: boolean;1109 readonly asNoteUnlockable: {1110 readonly asset: XcmV3MultiAsset;1111 readonly owner: XcmV3MultiLocation;1112 } & Struct;1113 readonly isRequestUnlock: boolean;1114 readonly asRequestUnlock: {1115 readonly asset: XcmV3MultiAsset;1116 readonly locker: XcmV3MultiLocation;1117 } & Struct;1118 readonly isSetFeesMode: boolean;1119 readonly asSetFeesMode: {1120 readonly jitWithdraw: bool;1121 } & Struct;1122 readonly isSetTopic: boolean;1123 readonly asSetTopic: U8aFixed;1124 readonly isClearTopic: boolean;1125 readonly isAliasOrigin: boolean;1126 readonly asAliasOrigin: XcmV3MultiLocation;1127 readonly isUnpaidExecution: boolean;1128 readonly asUnpaidExecution: {1129 readonly weightLimit: XcmV3WeightLimit;1130 readonly checkOrigin: Option<XcmV3MultiLocation>;1131 } & Struct;1132 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution';1133 }11341135 /** @name XcmV3Response (75) */1136 interface XcmV3Response extends Enum {1137 readonly isNull: boolean;1138 readonly isAssets: boolean;1139 readonly asAssets: XcmV3MultiassetMultiAssets;1140 readonly isExecutionResult: boolean;1141 readonly asExecutionResult: Option<ITuple<[u32, XcmV3TraitsError]>>;1142 readonly isVersion: boolean;1143 readonly asVersion: u32;1144 readonly isPalletsInfo: boolean;1145 readonly asPalletsInfo: Vec<XcmV3PalletInfo>;1146 readonly isDispatchResult: boolean;1147 readonly asDispatchResult: XcmV3MaybeErrorCode;1148 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult';1149 }11501151 /** @name XcmV3PalletInfo (79) */1152 interface XcmV3PalletInfo extends Struct {1153 readonly index: Compact<u32>;1154 readonly name: Bytes;1155 readonly moduleName: Bytes;1156 readonly major: Compact<u32>;1157 readonly minor: Compact<u32>;1158 readonly patch: Compact<u32>;1159 }11601161 /** @name XcmV3MaybeErrorCode (82) */1162 interface XcmV3MaybeErrorCode extends Enum {1163 readonly isSuccess: boolean;1164 readonly isError: boolean;1165 readonly asError: Bytes;1166 readonly isTruncatedError: boolean;1167 readonly asTruncatedError: Bytes;1168 readonly type: 'Success' | 'Error' | 'TruncatedError';1169 }11701171 /** @name XcmV2OriginKind (85) */1172 interface XcmV2OriginKind extends Enum {1173 readonly isNative: boolean;1174 readonly isSovereignAccount: boolean;1175 readonly isSuperuser: boolean;1176 readonly isXcm: boolean;1177 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';1178 }11791180 /** @name XcmDoubleEncoded (86) */1181 interface XcmDoubleEncoded extends Struct {1182 readonly encoded: Bytes;1183 }11841185 /** @name XcmV3QueryResponseInfo (87) */1186 interface XcmV3QueryResponseInfo extends Struct {1187 readonly destination: XcmV3MultiLocation;1188 readonly queryId: Compact<u64>;1189 readonly maxWeight: SpWeightsWeightV2Weight;1190 }11911192 /** @name XcmV3MultiassetMultiAssetFilter (88) */1193 interface XcmV3MultiassetMultiAssetFilter extends Enum {1194 readonly isDefinite: boolean;1195 readonly asDefinite: XcmV3MultiassetMultiAssets;1196 readonly isWild: boolean;1197 readonly asWild: XcmV3MultiassetWildMultiAsset;1198 readonly type: 'Definite' | 'Wild';1199 }12001201 /** @name XcmV3MultiassetWildMultiAsset (89) */1202 interface XcmV3MultiassetWildMultiAsset extends Enum {1203 readonly isAll: boolean;1204 readonly isAllOf: boolean;1205 readonly asAllOf: {1206 readonly id: XcmV3MultiassetAssetId;1207 readonly fun: XcmV3MultiassetWildFungibility;1208 } & Struct;1209 readonly isAllCounted: boolean;1210 readonly asAllCounted: Compact<u32>;1211 readonly isAllOfCounted: boolean;1212 readonly asAllOfCounted: {1213 readonly id: XcmV3MultiassetAssetId;1214 readonly fun: XcmV3MultiassetWildFungibility;1215 readonly count: Compact<u32>;1216 } & Struct;1217 readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted';1218 }12191220 /** @name XcmV3MultiassetWildFungibility (90) */1221 interface XcmV3MultiassetWildFungibility extends Enum {1222 readonly isFungible: boolean;1223 readonly isNonFungible: boolean;1224 readonly type: 'Fungible' | 'NonFungible';1225 }12261227 /** @name XcmV3WeightLimit (92) */1228 interface XcmV3WeightLimit extends Enum {1229 readonly isUnlimited: boolean;1230 readonly isLimited: boolean;1231 readonly asLimited: SpWeightsWeightV2Weight;1232 readonly type: 'Unlimited' | 'Limited';1233 }12341235 /** @name XcmVersionedMultiAssets (93) */1236 interface XcmVersionedMultiAssets extends Enum {1237 readonly isV2: boolean;1238 readonly asV2: XcmV2MultiassetMultiAssets;1239 readonly isV3: boolean;1240 readonly asV3: XcmV3MultiassetMultiAssets;1241 readonly type: 'V2' | 'V3';1242 }12431244 /** @name XcmV2MultiassetMultiAssets (94) */1245 interface XcmV2MultiassetMultiAssets extends Vec<XcmV2MultiAsset> {}12461247 /** @name XcmV2MultiAsset (96) */1248 interface XcmV2MultiAsset extends Struct {1249 readonly id: XcmV2MultiassetAssetId;1250 readonly fun: XcmV2MultiassetFungibility;1251 }12521253 /** @name XcmV2MultiassetAssetId (97) */1254 interface XcmV2MultiassetAssetId extends Enum {1255 readonly isConcrete: boolean;1256 readonly asConcrete: XcmV2MultiLocation;1257 readonly isAbstract: boolean;1258 readonly asAbstract: Bytes;1259 readonly type: 'Concrete' | 'Abstract';1260 }12611262 /** @name XcmV2MultiLocation (98) */1263 interface XcmV2MultiLocation extends Struct {1264 readonly parents: u8;1265 readonly interior: XcmV2MultilocationJunctions;1266 }12671268 /** @name XcmV2MultilocationJunctions (99) */1269 interface XcmV2MultilocationJunctions extends Enum {1270 readonly isHere: boolean;1271 readonly isX1: boolean;1272 readonly asX1: XcmV2Junction;1273 readonly isX2: boolean;1274 readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>;1275 readonly isX3: boolean;1276 readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>;1277 readonly isX4: boolean;1278 readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;1279 readonly isX5: boolean;1280 readonly asX5: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;1281 readonly isX6: boolean;1282 readonly asX6: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;1283 readonly isX7: boolean;1284 readonly asX7: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;1285 readonly isX8: boolean;1286 readonly asX8: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;1287 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1288 }12891290 /** @name XcmV2Junction (100) */1291 interface XcmV2Junction extends Enum {1292 readonly isParachain: boolean;1293 readonly asParachain: Compact<u32>;1294 readonly isAccountId32: boolean;1295 readonly asAccountId32: {1296 readonly network: XcmV2NetworkId;1297 readonly id: U8aFixed;1298 } & Struct;1299 readonly isAccountIndex64: boolean;1300 readonly asAccountIndex64: {1301 readonly network: XcmV2NetworkId;1302 readonly index: Compact<u64>;1303 } & Struct;1304 readonly isAccountKey20: boolean;1305 readonly asAccountKey20: {1306 readonly network: XcmV2NetworkId;1307 readonly key: U8aFixed;1308 } & Struct;1309 readonly isPalletInstance: boolean;1310 readonly asPalletInstance: u8;1311 readonly isGeneralIndex: boolean;1312 readonly asGeneralIndex: Compact<u128>;1313 readonly isGeneralKey: boolean;1314 readonly asGeneralKey: Bytes;1315 readonly isOnlyChild: boolean;1316 readonly isPlurality: boolean;1317 readonly asPlurality: {1318 readonly id: XcmV2BodyId;1319 readonly part: XcmV2BodyPart;1320 } & Struct;1321 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1322 }13231324 /** @name XcmV2NetworkId (101) */1325 interface XcmV2NetworkId extends Enum {1326 readonly isAny: boolean;1327 readonly isNamed: boolean;1328 readonly asNamed: Bytes;1329 readonly isPolkadot: boolean;1330 readonly isKusama: boolean;1331 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';1332 }13331334 /** @name XcmV2BodyId (103) */1335 interface XcmV2BodyId extends Enum {1336 readonly isUnit: boolean;1337 readonly isNamed: boolean;1338 readonly asNamed: Bytes;1339 readonly isIndex: boolean;1340 readonly asIndex: Compact<u32>;1341 readonly isExecutive: boolean;1342 readonly isTechnical: boolean;1343 readonly isLegislative: boolean;1344 readonly isJudicial: boolean;1345 readonly isDefense: boolean;1346 readonly isAdministration: boolean;1347 readonly isTreasury: boolean;1348 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';1349 }13501351 /** @name XcmV2BodyPart (104) */1352 interface XcmV2BodyPart extends Enum {1353 readonly isVoice: boolean;1354 readonly isMembers: boolean;1355 readonly asMembers: {1356 readonly count: Compact<u32>;1357 } & Struct;1358 readonly isFraction: boolean;1359 readonly asFraction: {1360 readonly nom: Compact<u32>;1361 readonly denom: Compact<u32>;1362 } & Struct;1363 readonly isAtLeastProportion: boolean;1364 readonly asAtLeastProportion: {1365 readonly nom: Compact<u32>;1366 readonly denom: Compact<u32>;1367 } & Struct;1368 readonly isMoreThanProportion: boolean;1369 readonly asMoreThanProportion: {1370 readonly nom: Compact<u32>;1371 readonly denom: Compact<u32>;1372 } & Struct;1373 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';1374 }13751376 /** @name XcmV2MultiassetFungibility (105) */1377 interface XcmV2MultiassetFungibility extends Enum {1378 readonly isFungible: boolean;1379 readonly asFungible: Compact<u128>;1380 readonly isNonFungible: boolean;1381 readonly asNonFungible: XcmV2MultiassetAssetInstance;1382 readonly type: 'Fungible' | 'NonFungible';1383 }13841385 /** @name XcmV2MultiassetAssetInstance (106) */1386 interface XcmV2MultiassetAssetInstance extends Enum {1387 readonly isUndefined: boolean;1388 readonly isIndex: boolean;1389 readonly asIndex: Compact<u128>;1390 readonly isArray4: boolean;1391 readonly asArray4: U8aFixed;1392 readonly isArray8: boolean;1393 readonly asArray8: U8aFixed;1394 readonly isArray16: boolean;1395 readonly asArray16: U8aFixed;1396 readonly isArray32: boolean;1397 readonly asArray32: U8aFixed;1398 readonly isBlob: boolean;1399 readonly asBlob: Bytes;1400 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';1401 }14021403 /** @name XcmVersionedMultiLocation (107) */1404 interface XcmVersionedMultiLocation extends Enum {1405 readonly isV2: boolean;1406 readonly asV2: XcmV2MultiLocation;1407 readonly isV3: boolean;1408 readonly asV3: XcmV3MultiLocation;1409 readonly type: 'V2' | 'V3';1410 }14111412 /** @name CumulusPalletXcmEvent (108) */1413 interface CumulusPalletXcmEvent extends Enum {1414 readonly isInvalidFormat: boolean;1415 readonly asInvalidFormat: U8aFixed;1416 readonly isUnsupportedVersion: boolean;1417 readonly asUnsupportedVersion: U8aFixed;1418 readonly isExecutedDownward: boolean;1419 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV3TraitsOutcome]>;1420 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1421 }14221423 /** @name CumulusPalletDmpQueueEvent (109) */1424 interface CumulusPalletDmpQueueEvent extends Enum {1425 readonly isInvalidFormat: boolean;1426 readonly asInvalidFormat: {1427 readonly messageId: U8aFixed;1428 } & Struct;1429 readonly isUnsupportedVersion: boolean;1430 readonly asUnsupportedVersion: {1431 readonly messageId: U8aFixed;1432 } & Struct;1433 readonly isExecutedDownward: boolean;1434 readonly asExecutedDownward: {1435 readonly messageId: U8aFixed;1436 readonly outcome: XcmV3TraitsOutcome;1437 } & Struct;1438 readonly isWeightExhausted: boolean;1439 readonly asWeightExhausted: {1440 readonly messageId: U8aFixed;1441 readonly remainingWeight: SpWeightsWeightV2Weight;1442 readonly requiredWeight: SpWeightsWeightV2Weight;1443 } & Struct;1444 readonly isOverweightEnqueued: boolean;1445 readonly asOverweightEnqueued: {1446 readonly messageId: U8aFixed;1447 readonly overweightIndex: u64;1448 readonly requiredWeight: SpWeightsWeightV2Weight;1449 } & Struct;1450 readonly isOverweightServiced: boolean;1451 readonly asOverweightServiced: {1452 readonly overweightIndex: u64;1453 readonly weightUsed: SpWeightsWeightV2Weight;1454 } & Struct;1455 readonly isMaxMessagesExhausted: boolean;1456 readonly asMaxMessagesExhausted: {1457 readonly messageId: U8aFixed;1458 } & Struct;1459 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced' | 'MaxMessagesExhausted';1460 }14611462 /** @name PalletConfigurationEvent (110) */1463 interface PalletConfigurationEvent extends Enum {1464 readonly isNewDesiredCollators: boolean;1465 readonly asNewDesiredCollators: {1466 readonly desiredCollators: Option<u32>;1467 } & Struct;1468 readonly isNewCollatorLicenseBond: boolean;1469 readonly asNewCollatorLicenseBond: {1470 readonly bondCost: Option<u128>;1471 } & Struct;1472 readonly isNewCollatorKickThreshold: boolean;1473 readonly asNewCollatorKickThreshold: {1474 readonly lengthInBlocks: Option<u32>;1475 } & Struct;1476 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1477 }14781479 /** @name PalletCommonEvent (113) */1480 interface PalletCommonEvent extends Enum {1481 readonly isCollectionCreated: boolean;1482 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1483 readonly isCollectionDestroyed: boolean;1484 readonly asCollectionDestroyed: u32;1485 readonly isItemCreated: boolean;1486 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1487 readonly isItemDestroyed: boolean;1488 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1489 readonly isTransfer: boolean;1490 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1491 readonly isApproved: boolean;1492 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1493 readonly isApprovedForAll: boolean;1494 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1495 readonly isCollectionPropertySet: boolean;1496 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1497 readonly isCollectionPropertyDeleted: boolean;1498 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1499 readonly isTokenPropertySet: boolean;1500 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1501 readonly isTokenPropertyDeleted: boolean;1502 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1503 readonly isPropertyPermissionSet: boolean;1504 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1505 readonly isAllowListAddressAdded: boolean;1506 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1507 readonly isAllowListAddressRemoved: boolean;1508 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1509 readonly isCollectionAdminAdded: boolean;1510 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1511 readonly isCollectionAdminRemoved: boolean;1512 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1513 readonly isCollectionLimitSet: boolean;1514 readonly asCollectionLimitSet: u32;1515 readonly isCollectionOwnerChanged: boolean;1516 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1517 readonly isCollectionPermissionSet: boolean;1518 readonly asCollectionPermissionSet: u32;1519 readonly isCollectionSponsorSet: boolean;1520 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1521 readonly isSponsorshipConfirmed: boolean;1522 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1523 readonly isCollectionSponsorRemoved: boolean;1524 readonly asCollectionSponsorRemoved: u32;1525 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1526 }15271528 /** @name PalletEvmAccountBasicCrossAccountIdRepr (116) */1529 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1530 readonly isSubstrate: boolean;1531 readonly asSubstrate: AccountId32;1532 readonly isEthereum: boolean;1533 readonly asEthereum: H160;1534 readonly type: 'Substrate' | 'Ethereum';1535 }15361537 /** @name PalletStructureEvent (119) */1538 interface PalletStructureEvent extends Enum {1539 readonly isExecuted: boolean;1540 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1541 readonly type: 'Executed';1542 }15431544 /** @name PalletAppPromotionEvent (120) */1545 interface PalletAppPromotionEvent extends Enum {1546 readonly isStakingRecalculation: boolean;1547 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1548 readonly isStake: boolean;1549 readonly asStake: ITuple<[AccountId32, u128]>;1550 readonly isUnstake: boolean;1551 readonly asUnstake: ITuple<[AccountId32, u128]>;1552 readonly isSetAdmin: boolean;1553 readonly asSetAdmin: AccountId32;1554 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1555 }15561557 /** @name PalletForeignAssetsModuleEvent (121) */1558 interface PalletForeignAssetsModuleEvent extends Enum {1559 readonly isForeignAssetRegistered: boolean;1560 readonly asForeignAssetRegistered: {1561 readonly assetId: u32;1562 readonly assetAddress: XcmV3MultiLocation;1563 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1564 } & Struct;1565 readonly isForeignAssetUpdated: boolean;1566 readonly asForeignAssetUpdated: {1567 readonly assetId: u32;1568 readonly assetAddress: XcmV3MultiLocation;1569 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1570 } & Struct;1571 readonly isAssetRegistered: boolean;1572 readonly asAssetRegistered: {1573 readonly assetId: PalletForeignAssetsAssetIds;1574 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1575 } & Struct;1576 readonly isAssetUpdated: boolean;1577 readonly asAssetUpdated: {1578 readonly assetId: PalletForeignAssetsAssetIds;1579 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1580 } & Struct;1581 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1582 }15831584 /** @name PalletForeignAssetsModuleAssetMetadata (122) */1585 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1586 readonly name: Bytes;1587 readonly symbol: Bytes;1588 readonly decimals: u8;1589 readonly minimalBalance: u128;1590 }15911592 /** @name PalletEvmEvent (125) */1593 interface PalletEvmEvent extends Enum {1594 readonly isLog: boolean;1595 readonly asLog: {1596 readonly log: EthereumLog;1597 } & Struct;1598 readonly isCreated: boolean;1599 readonly asCreated: {1600 readonly address: H160;1601 } & Struct;1602 readonly isCreatedFailed: boolean;1603 readonly asCreatedFailed: {1604 readonly address: H160;1605 } & Struct;1606 readonly isExecuted: boolean;1607 readonly asExecuted: {1608 readonly address: H160;1609 } & Struct;1610 readonly isExecutedFailed: boolean;1611 readonly asExecutedFailed: {1612 readonly address: H160;1613 } & Struct;1614 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1615 }16161617 /** @name EthereumLog (126) */1618 interface EthereumLog extends Struct {1619 readonly address: H160;1620 readonly topics: Vec<H256>;1621 readonly data: Bytes;1622 }16231624 /** @name PalletEthereumEvent (128) */1625 interface PalletEthereumEvent extends Enum {1626 readonly isExecuted: boolean;1627 readonly asExecuted: {1628 readonly from: H160;1629 readonly to: H160;1630 readonly transactionHash: H256;1631 readonly exitReason: EvmCoreErrorExitReason;1632 } & Struct;1633 readonly type: 'Executed';1634 }16351636 /** @name EvmCoreErrorExitReason (129) */1637 interface EvmCoreErrorExitReason extends Enum {1638 readonly isSucceed: boolean;1639 readonly asSucceed: EvmCoreErrorExitSucceed;1640 readonly isError: boolean;1641 readonly asError: EvmCoreErrorExitError;1642 readonly isRevert: boolean;1643 readonly asRevert: EvmCoreErrorExitRevert;1644 readonly isFatal: boolean;1645 readonly asFatal: EvmCoreErrorExitFatal;1646 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1647 }16481649 /** @name EvmCoreErrorExitSucceed (130) */1650 interface EvmCoreErrorExitSucceed extends Enum {1651 readonly isStopped: boolean;1652 readonly isReturned: boolean;1653 readonly isSuicided: boolean;1654 readonly type: 'Stopped' | 'Returned' | 'Suicided';1655 }16561657 /** @name EvmCoreErrorExitError (131) */1658 interface EvmCoreErrorExitError extends Enum {1659 readonly isStackUnderflow: boolean;1660 readonly isStackOverflow: boolean;1661 readonly isInvalidJump: boolean;1662 readonly isInvalidRange: boolean;1663 readonly isDesignatedInvalid: boolean;1664 readonly isCallTooDeep: boolean;1665 readonly isCreateCollision: boolean;1666 readonly isCreateContractLimit: boolean;1667 readonly isOutOfOffset: boolean;1668 readonly isOutOfGas: boolean;1669 readonly isOutOfFund: boolean;1670 readonly isPcUnderflow: boolean;1671 readonly isCreateEmpty: boolean;1672 readonly isOther: boolean;1673 readonly asOther: Text;1674 readonly isInvalidCode: boolean;1675 readonly asInvalidCode: u8;1676 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1677 }16781679 /** @name EvmCoreErrorExitRevert (135) */1680 interface EvmCoreErrorExitRevert extends Enum {1681 readonly isReverted: boolean;1682 readonly type: 'Reverted';1683 }16841685 /** @name EvmCoreErrorExitFatal (136) */1686 interface EvmCoreErrorExitFatal extends Enum {1687 readonly isNotSupported: boolean;1688 readonly isUnhandledInterrupt: boolean;1689 readonly isCallErrorAsFatal: boolean;1690 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1691 readonly isOther: boolean;1692 readonly asOther: Text;1693 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1694 }16951696 /** @name PalletEvmContractHelpersEvent (137) */1697 interface PalletEvmContractHelpersEvent extends Enum {1698 readonly isContractSponsorSet: boolean;1699 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1700 readonly isContractSponsorshipConfirmed: boolean;1701 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1702 readonly isContractSponsorRemoved: boolean;1703 readonly asContractSponsorRemoved: H160;1704 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1705 }17061707 /** @name PalletEvmMigrationEvent (138) */1708 interface PalletEvmMigrationEvent extends Enum {1709 readonly isTestEvent: boolean;1710 readonly type: 'TestEvent';1711 }17121713 /** @name PalletMaintenanceEvent (139) */1714 interface PalletMaintenanceEvent extends Enum {1715 readonly isMaintenanceEnabled: boolean;1716 readonly isMaintenanceDisabled: boolean;1717 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1718 }17191720 /** @name PalletTestUtilsEvent (140) */1721 interface PalletTestUtilsEvent extends Enum {1722 readonly isValueIsSet: boolean;1723 readonly isShouldRollback: boolean;1724 readonly isBatchCompleted: boolean;1725 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1726 }17271728 /** @name FrameSystemPhase (141) */1729 interface FrameSystemPhase extends Enum {1730 readonly isApplyExtrinsic: boolean;1731 readonly asApplyExtrinsic: u32;1732 readonly isFinalization: boolean;1733 readonly isInitialization: boolean;1734 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1735 }17361737 /** @name FrameSystemLastRuntimeUpgradeInfo (144) */1738 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1739 readonly specVersion: Compact<u32>;1740 readonly specName: Text;1741 }17421743 /** @name FrameSystemCall (145) */1744 interface FrameSystemCall extends Enum {1745 readonly isRemark: boolean;1746 readonly asRemark: {1747 readonly remark: Bytes;1748 } & Struct;1749 readonly isSetHeapPages: boolean;1750 readonly asSetHeapPages: {1751 readonly pages: u64;1752 } & Struct;1753 readonly isSetCode: boolean;1754 readonly asSetCode: {1755 readonly code: Bytes;1756 } & Struct;1757 readonly isSetCodeWithoutChecks: boolean;1758 readonly asSetCodeWithoutChecks: {1759 readonly code: Bytes;1760 } & Struct;1761 readonly isSetStorage: boolean;1762 readonly asSetStorage: {1763 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1764 } & Struct;1765 readonly isKillStorage: boolean;1766 readonly asKillStorage: {1767 readonly keys_: Vec<Bytes>;1768 } & Struct;1769 readonly isKillPrefix: boolean;1770 readonly asKillPrefix: {1771 readonly prefix: Bytes;1772 readonly subkeys: u32;1773 } & Struct;1774 readonly isRemarkWithEvent: boolean;1775 readonly asRemarkWithEvent: {1776 readonly remark: Bytes;1777 } & Struct;1778 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1779 }17801781 /** @name FrameSystemLimitsBlockWeights (149) */1782 interface FrameSystemLimitsBlockWeights extends Struct {1783 readonly baseBlock: SpWeightsWeightV2Weight;1784 readonly maxBlock: SpWeightsWeightV2Weight;1785 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1786 }17871788 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (150) */1789 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1790 readonly normal: FrameSystemLimitsWeightsPerClass;1791 readonly operational: FrameSystemLimitsWeightsPerClass;1792 readonly mandatory: FrameSystemLimitsWeightsPerClass;1793 }17941795 /** @name FrameSystemLimitsWeightsPerClass (151) */1796 interface FrameSystemLimitsWeightsPerClass extends Struct {1797 readonly baseExtrinsic: SpWeightsWeightV2Weight;1798 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1799 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1800 readonly reserved: Option<SpWeightsWeightV2Weight>;1801 }18021803 /** @name FrameSystemLimitsBlockLength (153) */1804 interface FrameSystemLimitsBlockLength extends Struct {1805 readonly max: FrameSupportDispatchPerDispatchClassU32;1806 }18071808 /** @name FrameSupportDispatchPerDispatchClassU32 (154) */1809 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1810 readonly normal: u32;1811 readonly operational: u32;1812 readonly mandatory: u32;1813 }18141815 /** @name SpWeightsRuntimeDbWeight (155) */1816 interface SpWeightsRuntimeDbWeight extends Struct {1817 readonly read: u64;1818 readonly write: u64;1819 }18201821 /** @name SpVersionRuntimeVersion (156) */1822 interface SpVersionRuntimeVersion extends Struct {1823 readonly specName: Text;1824 readonly implName: Text;1825 readonly authoringVersion: u32;1826 readonly specVersion: u32;1827 readonly implVersion: u32;1828 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1829 readonly transactionVersion: u32;1830 readonly stateVersion: u8;1831 }18321833 /** @name FrameSystemError (161) */1834 interface FrameSystemError extends Enum {1835 readonly isInvalidSpecName: boolean;1836 readonly isSpecVersionNeedsToIncrease: boolean;1837 readonly isFailedToExtractRuntimeVersion: boolean;1838 readonly isNonDefaultComposite: boolean;1839 readonly isNonZeroRefCount: boolean;1840 readonly isCallFiltered: boolean;1841 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1842 }18431844 /** @name PolkadotPrimitivesV2PersistedValidationData (162) */1845 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1846 readonly parentHead: Bytes;1847 readonly relayParentNumber: u32;1848 readonly relayParentStorageRoot: H256;1849 readonly maxPovSize: u32;1850 }18511852 /** @name PolkadotPrimitivesV2UpgradeRestriction (165) */1853 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1854 readonly isPresent: boolean;1855 readonly type: 'Present';1856 }18571858 /** @name SpTrieStorageProof (166) */1859 interface SpTrieStorageProof extends Struct {1860 readonly trieNodes: BTreeSet<Bytes>;1861 }18621863 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (168) */1864 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1865 readonly dmqMqcHead: H256;1866 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1867 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1868 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1869 }18701871 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (171) */1872 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1873 readonly maxCapacity: u32;1874 readonly maxTotalSize: u32;1875 readonly maxMessageSize: u32;1876 readonly msgCount: u32;1877 readonly totalSize: u32;1878 readonly mqcHead: Option<H256>;1879 }18801881 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (173) */1882 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1883 readonly maxCodeSize: u32;1884 readonly maxHeadDataSize: u32;1885 readonly maxUpwardQueueCount: u32;1886 readonly maxUpwardQueueSize: u32;1887 readonly maxUpwardMessageSize: u32;1888 readonly maxUpwardMessageNumPerCandidate: u32;1889 readonly hrmpMaxMessageNumPerCandidate: u32;1890 readonly validationUpgradeCooldown: u32;1891 readonly validationUpgradeDelay: u32;1892 }18931894 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (179) */1895 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1896 readonly recipient: u32;1897 readonly data: Bytes;1898 }18991900 /** @name CumulusPalletParachainSystemCall (180) */1901 interface CumulusPalletParachainSystemCall extends Enum {1902 readonly isSetValidationData: boolean;1903 readonly asSetValidationData: {1904 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1905 } & Struct;1906 readonly isSudoSendUpwardMessage: boolean;1907 readonly asSudoSendUpwardMessage: {1908 readonly message: Bytes;1909 } & Struct;1910 readonly isAuthorizeUpgrade: boolean;1911 readonly asAuthorizeUpgrade: {1912 readonly codeHash: H256;1913 } & Struct;1914 readonly isEnactAuthorizedUpgrade: boolean;1915 readonly asEnactAuthorizedUpgrade: {1916 readonly code: Bytes;1917 } & Struct;1918 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1919 }19201921 /** @name CumulusPrimitivesParachainInherentParachainInherentData (181) */1922 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1923 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1924 readonly relayChainState: SpTrieStorageProof;1925 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1926 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1927 }19281929 /** @name PolkadotCorePrimitivesInboundDownwardMessage (183) */1930 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1931 readonly sentAt: u32;1932 readonly msg: Bytes;1933 }19341935 /** @name PolkadotCorePrimitivesInboundHrmpMessage (186) */1936 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1937 readonly sentAt: u32;1938 readonly data: Bytes;1939 }19401941 /** @name CumulusPalletParachainSystemError (189) */1942 interface CumulusPalletParachainSystemError extends Enum {1943 readonly isOverlappingUpgrades: boolean;1944 readonly isProhibitedByPolkadot: boolean;1945 readonly isTooBig: boolean;1946 readonly isValidationDataNotAvailable: boolean;1947 readonly isHostConfigurationNotAvailable: boolean;1948 readonly isNotScheduled: boolean;1949 readonly isNothingAuthorized: boolean;1950 readonly isUnauthorized: boolean;1951 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1952 }19531954 /** @name ParachainInfoCall (190) */1955 type ParachainInfoCall = Null;19561957 /** @name PalletCollatorSelectionCall (193) */1958 interface PalletCollatorSelectionCall extends Enum {1959 readonly isAddInvulnerable: boolean;1960 readonly asAddInvulnerable: {1961 readonly new_: AccountId32;1962 } & Struct;1963 readonly isRemoveInvulnerable: boolean;1964 readonly asRemoveInvulnerable: {1965 readonly who: AccountId32;1966 } & Struct;1967 readonly isGetLicense: boolean;1968 readonly isOnboard: boolean;1969 readonly isOffboard: boolean;1970 readonly isReleaseLicense: boolean;1971 readonly isForceReleaseLicense: boolean;1972 readonly asForceReleaseLicense: {1973 readonly who: AccountId32;1974 } & Struct;1975 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1976 }19771978 /** @name PalletCollatorSelectionError (194) */1979 interface PalletCollatorSelectionError extends Enum {1980 readonly isTooManyCandidates: boolean;1981 readonly isUnknown: boolean;1982 readonly isPermission: boolean;1983 readonly isAlreadyHoldingLicense: boolean;1984 readonly isNoLicense: boolean;1985 readonly isAlreadyCandidate: boolean;1986 readonly isNotCandidate: boolean;1987 readonly isTooManyInvulnerables: boolean;1988 readonly isTooFewInvulnerables: boolean;1989 readonly isAlreadyInvulnerable: boolean;1990 readonly isNotInvulnerable: boolean;1991 readonly isNoAssociatedValidatorId: boolean;1992 readonly isValidatorNotRegistered: boolean;1993 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1994 }19951996 /** @name OpalRuntimeRuntimeCommonSessionKeys (197) */1997 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {1998 readonly aura: SpConsensusAuraSr25519AppSr25519Public;1999 }20002001 /** @name SpConsensusAuraSr25519AppSr25519Public (198) */2002 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}20032004 /** @name SpCoreSr25519Public (199) */2005 interface SpCoreSr25519Public extends U8aFixed {}20062007 /** @name SpCoreCryptoKeyTypeId (202) */2008 interface SpCoreCryptoKeyTypeId extends U8aFixed {}20092010 /** @name PalletSessionCall (203) */2011 interface PalletSessionCall extends Enum {2012 readonly isSetKeys: boolean;2013 readonly asSetKeys: {2014 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2015 readonly proof: Bytes;2016 } & Struct;2017 readonly isPurgeKeys: boolean;2018 readonly type: 'SetKeys' | 'PurgeKeys';2019 }20202021 /** @name PalletSessionError (204) */2022 interface PalletSessionError extends Enum {2023 readonly isInvalidProof: boolean;2024 readonly isNoAssociatedValidatorId: boolean;2025 readonly isDuplicatedKey: boolean;2026 readonly isNoKeys: boolean;2027 readonly isNoAccount: boolean;2028 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2029 }20302031 /** @name PalletBalancesBalanceLock (209) */2032 interface PalletBalancesBalanceLock extends Struct {2033 readonly id: U8aFixed;2034 readonly amount: u128;2035 readonly reasons: PalletBalancesReasons;2036 }20372038 /** @name PalletBalancesReasons (210) */2039 interface PalletBalancesReasons extends Enum {2040 readonly isFee: boolean;2041 readonly isMisc: boolean;2042 readonly isAll: boolean;2043 readonly type: 'Fee' | 'Misc' | 'All';2044 }20452046 /** @name PalletBalancesReserveData (213) */2047 interface PalletBalancesReserveData extends Struct {2048 readonly id: U8aFixed;2049 readonly amount: u128;2050 }20512052 /** @name PalletBalancesCall (215) */2053 interface PalletBalancesCall extends Enum {2054 readonly isTransfer: boolean;2055 readonly asTransfer: {2056 readonly dest: MultiAddress;2057 readonly value: Compact<u128>;2058 } & Struct;2059 readonly isSetBalance: boolean;2060 readonly asSetBalance: {2061 readonly who: MultiAddress;2062 readonly newFree: Compact<u128>;2063 readonly newReserved: Compact<u128>;2064 } & Struct;2065 readonly isForceTransfer: boolean;2066 readonly asForceTransfer: {2067 readonly source: MultiAddress;2068 readonly dest: MultiAddress;2069 readonly value: Compact<u128>;2070 } & Struct;2071 readonly isTransferKeepAlive: boolean;2072 readonly asTransferKeepAlive: {2073 readonly dest: MultiAddress;2074 readonly value: Compact<u128>;2075 } & Struct;2076 readonly isTransferAll: boolean;2077 readonly asTransferAll: {2078 readonly dest: MultiAddress;2079 readonly keepAlive: bool;2080 } & Struct;2081 readonly isForceUnreserve: boolean;2082 readonly asForceUnreserve: {2083 readonly who: MultiAddress;2084 readonly amount: u128;2085 } & Struct;2086 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2087 }20882089 /** @name PalletBalancesError (218) */2090 interface PalletBalancesError extends Enum {2091 readonly isVestingBalance: boolean;2092 readonly isLiquidityRestrictions: boolean;2093 readonly isInsufficientBalance: boolean;2094 readonly isExistentialDeposit: boolean;2095 readonly isKeepAlive: boolean;2096 readonly isExistingVestingSchedule: boolean;2097 readonly isDeadAccount: boolean;2098 readonly isTooManyReserves: boolean;2099 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';2100 }21012102 /** @name PalletTimestampCall (219) */2103 interface PalletTimestampCall extends Enum {2104 readonly isSet: boolean;2105 readonly asSet: {2106 readonly now: Compact<u64>;2107 } & Struct;2108 readonly type: 'Set';2109 }21102111 /** @name PalletTransactionPaymentReleases (221) */2112 interface PalletTransactionPaymentReleases extends Enum {2113 readonly isV1Ancient: boolean;2114 readonly isV2: boolean;2115 readonly type: 'V1Ancient' | 'V2';2116 }21172118 /** @name PalletTreasuryProposal (222) */2119 interface PalletTreasuryProposal extends Struct {2120 readonly proposer: AccountId32;2121 readonly value: u128;2122 readonly beneficiary: AccountId32;2123 readonly bond: u128;2124 }21252126 /** @name PalletTreasuryCall (224) */2127 interface PalletTreasuryCall extends Enum {2128 readonly isProposeSpend: boolean;2129 readonly asProposeSpend: {2130 readonly value: Compact<u128>;2131 readonly beneficiary: MultiAddress;2132 } & Struct;2133 readonly isRejectProposal: boolean;2134 readonly asRejectProposal: {2135 readonly proposalId: Compact<u32>;2136 } & Struct;2137 readonly isApproveProposal: boolean;2138 readonly asApproveProposal: {2139 readonly proposalId: Compact<u32>;2140 } & Struct;2141 readonly isSpend: boolean;2142 readonly asSpend: {2143 readonly amount: Compact<u128>;2144 readonly beneficiary: MultiAddress;2145 } & Struct;2146 readonly isRemoveApproval: boolean;2147 readonly asRemoveApproval: {2148 readonly proposalId: Compact<u32>;2149 } & Struct;2150 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2151 }21522153 /** @name FrameSupportPalletId (226) */2154 interface FrameSupportPalletId extends U8aFixed {}21552156 /** @name PalletTreasuryError (227) */2157 interface PalletTreasuryError extends Enum {2158 readonly isInsufficientProposersBalance: boolean;2159 readonly isInvalidIndex: boolean;2160 readonly isTooManyApprovals: boolean;2161 readonly isInsufficientPermission: boolean;2162 readonly isProposalNotApproved: boolean;2163 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2164 }21652166 /** @name PalletSudoCall (228) */2167 interface PalletSudoCall extends Enum {2168 readonly isSudo: boolean;2169 readonly asSudo: {2170 readonly call: Call;2171 } & Struct;2172 readonly isSudoUncheckedWeight: boolean;2173 readonly asSudoUncheckedWeight: {2174 readonly call: Call;2175 readonly weight: SpWeightsWeightV2Weight;2176 } & Struct;2177 readonly isSetKey: boolean;2178 readonly asSetKey: {2179 readonly new_: MultiAddress;2180 } & Struct;2181 readonly isSudoAs: boolean;2182 readonly asSudoAs: {2183 readonly who: MultiAddress;2184 readonly call: Call;2185 } & Struct;2186 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2187 }21882189 /** @name OrmlVestingModuleCall (230) */2190 interface OrmlVestingModuleCall extends Enum {2191 readonly isClaim: boolean;2192 readonly isVestedTransfer: boolean;2193 readonly asVestedTransfer: {2194 readonly dest: MultiAddress;2195 readonly schedule: OrmlVestingVestingSchedule;2196 } & Struct;2197 readonly isUpdateVestingSchedules: boolean;2198 readonly asUpdateVestingSchedules: {2199 readonly who: MultiAddress;2200 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;2201 } & Struct;2202 readonly isClaimFor: boolean;2203 readonly asClaimFor: {2204 readonly dest: MultiAddress;2205 } & Struct;2206 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2207 }22082209 /** @name OrmlXtokensModuleCall (232) */2210 interface OrmlXtokensModuleCall extends Enum {2211 readonly isTransfer: boolean;2212 readonly asTransfer: {2213 readonly currencyId: PalletForeignAssetsAssetIds;2214 readonly amount: u128;2215 readonly dest: XcmVersionedMultiLocation;2216 readonly destWeightLimit: XcmV3WeightLimit;2217 } & Struct;2218 readonly isTransferMultiasset: boolean;2219 readonly asTransferMultiasset: {2220 readonly asset: XcmVersionedMultiAsset;2221 readonly dest: XcmVersionedMultiLocation;2222 readonly destWeightLimit: XcmV3WeightLimit;2223 } & Struct;2224 readonly isTransferWithFee: boolean;2225 readonly asTransferWithFee: {2226 readonly currencyId: PalletForeignAssetsAssetIds;2227 readonly amount: u128;2228 readonly fee: u128;2229 readonly dest: XcmVersionedMultiLocation;2230 readonly destWeightLimit: XcmV3WeightLimit;2231 } & Struct;2232 readonly isTransferMultiassetWithFee: boolean;2233 readonly asTransferMultiassetWithFee: {2234 readonly asset: XcmVersionedMultiAsset;2235 readonly fee: XcmVersionedMultiAsset;2236 readonly dest: XcmVersionedMultiLocation;2237 readonly destWeightLimit: XcmV3WeightLimit;2238 } & Struct;2239 readonly isTransferMulticurrencies: boolean;2240 readonly asTransferMulticurrencies: {2241 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;2242 readonly feeItem: u32;2243 readonly dest: XcmVersionedMultiLocation;2244 readonly destWeightLimit: XcmV3WeightLimit;2245 } & Struct;2246 readonly isTransferMultiassets: boolean;2247 readonly asTransferMultiassets: {2248 readonly assets: XcmVersionedMultiAssets;2249 readonly feeItem: u32;2250 readonly dest: XcmVersionedMultiLocation;2251 readonly destWeightLimit: XcmV3WeightLimit;2252 } & Struct;2253 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2254 }22552256 /** @name XcmVersionedMultiAsset (233) */2257 interface XcmVersionedMultiAsset extends Enum {2258 readonly isV2: boolean;2259 readonly asV2: XcmV2MultiAsset;2260 readonly isV3: boolean;2261 readonly asV3: XcmV3MultiAsset;2262 readonly type: 'V2' | 'V3';2263 }22642265 /** @name OrmlTokensModuleCall (236) */2266 interface OrmlTokensModuleCall extends Enum {2267 readonly isTransfer: boolean;2268 readonly asTransfer: {2269 readonly dest: MultiAddress;2270 readonly currencyId: PalletForeignAssetsAssetIds;2271 readonly amount: Compact<u128>;2272 } & Struct;2273 readonly isTransferAll: boolean;2274 readonly asTransferAll: {2275 readonly dest: MultiAddress;2276 readonly currencyId: PalletForeignAssetsAssetIds;2277 readonly keepAlive: bool;2278 } & Struct;2279 readonly isTransferKeepAlive: boolean;2280 readonly asTransferKeepAlive: {2281 readonly dest: MultiAddress;2282 readonly currencyId: PalletForeignAssetsAssetIds;2283 readonly amount: Compact<u128>;2284 } & Struct;2285 readonly isForceTransfer: boolean;2286 readonly asForceTransfer: {2287 readonly source: MultiAddress;2288 readonly dest: MultiAddress;2289 readonly currencyId: PalletForeignAssetsAssetIds;2290 readonly amount: Compact<u128>;2291 } & Struct;2292 readonly isSetBalance: boolean;2293 readonly asSetBalance: {2294 readonly who: MultiAddress;2295 readonly currencyId: PalletForeignAssetsAssetIds;2296 readonly newFree: Compact<u128>;2297 readonly newReserved: Compact<u128>;2298 } & Struct;2299 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2300 }23012302 /** @name PalletIdentityCall (237) */2303 interface PalletIdentityCall extends Enum {2304 readonly isAddRegistrar: boolean;2305 readonly asAddRegistrar: {2306 readonly account: MultiAddress;2307 } & Struct;2308 readonly isSetIdentity: boolean;2309 readonly asSetIdentity: {2310 readonly info: PalletIdentityIdentityInfo;2311 } & Struct;2312 readonly isSetSubs: boolean;2313 readonly asSetSubs: {2314 readonly subs: Vec<ITuple<[AccountId32, Data]>>;2315 } & Struct;2316 readonly isClearIdentity: boolean;2317 readonly isRequestJudgement: boolean;2318 readonly asRequestJudgement: {2319 readonly regIndex: Compact<u32>;2320 readonly maxFee: Compact<u128>;2321 } & Struct;2322 readonly isCancelRequest: boolean;2323 readonly asCancelRequest: {2324 readonly regIndex: u32;2325 } & Struct;2326 readonly isSetFee: boolean;2327 readonly asSetFee: {2328 readonly index: Compact<u32>;2329 readonly fee: Compact<u128>;2330 } & Struct;2331 readonly isSetAccountId: boolean;2332 readonly asSetAccountId: {2333 readonly index: Compact<u32>;2334 readonly new_: MultiAddress;2335 } & Struct;2336 readonly isSetFields: boolean;2337 readonly asSetFields: {2338 readonly index: Compact<u32>;2339 readonly fields: PalletIdentityBitFlags;2340 } & Struct;2341 readonly isProvideJudgement: boolean;2342 readonly asProvideJudgement: {2343 readonly regIndex: Compact<u32>;2344 readonly target: MultiAddress;2345 readonly judgement: PalletIdentityJudgement;2346 readonly identity: H256;2347 } & Struct;2348 readonly isKillIdentity: boolean;2349 readonly asKillIdentity: {2350 readonly target: MultiAddress;2351 } & Struct;2352 readonly isAddSub: boolean;2353 readonly asAddSub: {2354 readonly sub: MultiAddress;2355 readonly data: Data;2356 } & Struct;2357 readonly isRenameSub: boolean;2358 readonly asRenameSub: {2359 readonly sub: MultiAddress;2360 readonly data: Data;2361 } & Struct;2362 readonly isRemoveSub: boolean;2363 readonly asRemoveSub: {2364 readonly sub: MultiAddress;2365 } & Struct;2366 readonly isQuitSub: boolean;2367 readonly isForceInsertIdentities: boolean;2368 readonly asForceInsertIdentities: {2369 readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;2370 } & Struct;2371 readonly isForceRemoveIdentities: boolean;2372 readonly asForceRemoveIdentities: {2373 readonly identities: Vec<AccountId32>;2374 } & Struct;2375 readonly isForceSetSubs: boolean;2376 readonly asForceSetSubs: {2377 readonly subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>;2378 } & Struct;2379 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs';2380 }23812382 /** @name PalletIdentityIdentityInfo (238) */2383 interface PalletIdentityIdentityInfo extends Struct {2384 readonly additional: Vec<ITuple<[Data, Data]>>;2385 readonly display: Data;2386 readonly legal: Data;2387 readonly web: Data;2388 readonly riot: Data;2389 readonly email: Data;2390 readonly pgpFingerprint: Option<U8aFixed>;2391 readonly image: Data;2392 readonly twitter: Data;2393 }23942395 /** @name PalletIdentityBitFlags (274) */2396 interface PalletIdentityBitFlags extends Set {2397 readonly isDisplay: boolean;2398 readonly isLegal: boolean;2399 readonly isWeb: boolean;2400 readonly isRiot: boolean;2401 readonly isEmail: boolean;2402 readonly isPgpFingerprint: boolean;2403 readonly isImage: boolean;2404 readonly isTwitter: boolean;2405 }24062407 /** @name PalletIdentityIdentityField (275) */2408 interface PalletIdentityIdentityField extends Enum {2409 readonly isDisplay: boolean;2410 readonly isLegal: boolean;2411 readonly isWeb: boolean;2412 readonly isRiot: boolean;2413 readonly isEmail: boolean;2414 readonly isPgpFingerprint: boolean;2415 readonly isImage: boolean;2416 readonly isTwitter: boolean;2417 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';2418 }24192420 /** @name PalletIdentityJudgement (276) */2421 interface PalletIdentityJudgement extends Enum {2422 readonly isUnknown: boolean;2423 readonly isFeePaid: boolean;2424 readonly asFeePaid: u128;2425 readonly isReasonable: boolean;2426 readonly isKnownGood: boolean;2427 readonly isOutOfDate: boolean;2428 readonly isLowQuality: boolean;2429 readonly isErroneous: boolean;2430 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';2431 }24322433 /** @name PalletIdentityRegistration (279) */2434 interface PalletIdentityRegistration extends Struct {2435 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;2436 readonly deposit: u128;2437 readonly info: PalletIdentityIdentityInfo;2438 }24392440 /** @name PalletPreimageCall (287) */2441 interface PalletPreimageCall extends Enum {2442 readonly isNotePreimage: boolean;2443 readonly asNotePreimage: {2444 readonly bytes: Bytes;2445 } & Struct;2446 readonly isUnnotePreimage: boolean;2447 readonly asUnnotePreimage: {2448 readonly hash_: H256;2449 } & Struct;2450 readonly isRequestPreimage: boolean;2451 readonly asRequestPreimage: {2452 readonly hash_: H256;2453 } & Struct;2454 readonly isUnrequestPreimage: boolean;2455 readonly asUnrequestPreimage: {2456 readonly hash_: H256;2457 } & Struct;2458 readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';2459 }24602461 /** @name CumulusPalletXcmpQueueCall (288) */2462 interface CumulusPalletXcmpQueueCall extends Enum {2463 readonly isServiceOverweight: boolean;2464 readonly asServiceOverweight: {2465 readonly index: u64;2466 readonly weightLimit: SpWeightsWeightV2Weight;2467 } & Struct;2468 readonly isSuspendXcmExecution: boolean;2469 readonly isResumeXcmExecution: boolean;2470 readonly isUpdateSuspendThreshold: boolean;2471 readonly asUpdateSuspendThreshold: {2472 readonly new_: u32;2473 } & Struct;2474 readonly isUpdateDropThreshold: boolean;2475 readonly asUpdateDropThreshold: {2476 readonly new_: u32;2477 } & Struct;2478 readonly isUpdateResumeThreshold: boolean;2479 readonly asUpdateResumeThreshold: {2480 readonly new_: u32;2481 } & Struct;2482 readonly isUpdateThresholdWeight: boolean;2483 readonly asUpdateThresholdWeight: {2484 readonly new_: SpWeightsWeightV2Weight;2485 } & Struct;2486 readonly isUpdateWeightRestrictDecay: boolean;2487 readonly asUpdateWeightRestrictDecay: {2488 readonly new_: SpWeightsWeightV2Weight;2489 } & Struct;2490 readonly isUpdateXcmpMaxIndividualWeight: boolean;2491 readonly asUpdateXcmpMaxIndividualWeight: {2492 readonly new_: SpWeightsWeightV2Weight;2493 } & Struct;2494 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2495 }24962497 /** @name PalletXcmCall (289) */2498 interface PalletXcmCall extends Enum {2499 readonly isSend: boolean;2500 readonly asSend: {2501 readonly dest: XcmVersionedMultiLocation;2502 readonly message: XcmVersionedXcm;2503 } & Struct;2504 readonly isTeleportAssets: boolean;2505 readonly asTeleportAssets: {2506 readonly dest: XcmVersionedMultiLocation;2507 readonly beneficiary: XcmVersionedMultiLocation;2508 readonly assets: XcmVersionedMultiAssets;2509 readonly feeAssetItem: u32;2510 } & Struct;2511 readonly isReserveTransferAssets: boolean;2512 readonly asReserveTransferAssets: {2513 readonly dest: XcmVersionedMultiLocation;2514 readonly beneficiary: XcmVersionedMultiLocation;2515 readonly assets: XcmVersionedMultiAssets;2516 readonly feeAssetItem: u32;2517 } & Struct;2518 readonly isExecute: boolean;2519 readonly asExecute: {2520 readonly message: XcmVersionedXcm;2521 readonly maxWeight: SpWeightsWeightV2Weight;2522 } & Struct;2523 readonly isForceXcmVersion: boolean;2524 readonly asForceXcmVersion: {2525 readonly location: XcmV3MultiLocation;2526 readonly xcmVersion: u32;2527 } & Struct;2528 readonly isForceDefaultXcmVersion: boolean;2529 readonly asForceDefaultXcmVersion: {2530 readonly maybeXcmVersion: Option<u32>;2531 } & Struct;2532 readonly isForceSubscribeVersionNotify: boolean;2533 readonly asForceSubscribeVersionNotify: {2534 readonly location: XcmVersionedMultiLocation;2535 } & Struct;2536 readonly isForceUnsubscribeVersionNotify: boolean;2537 readonly asForceUnsubscribeVersionNotify: {2538 readonly location: XcmVersionedMultiLocation;2539 } & Struct;2540 readonly isLimitedReserveTransferAssets: boolean;2541 readonly asLimitedReserveTransferAssets: {2542 readonly dest: XcmVersionedMultiLocation;2543 readonly beneficiary: XcmVersionedMultiLocation;2544 readonly assets: XcmVersionedMultiAssets;2545 readonly feeAssetItem: u32;2546 readonly weightLimit: XcmV3WeightLimit;2547 } & Struct;2548 readonly isLimitedTeleportAssets: boolean;2549 readonly asLimitedTeleportAssets: {2550 readonly dest: XcmVersionedMultiLocation;2551 readonly beneficiary: XcmVersionedMultiLocation;2552 readonly assets: XcmVersionedMultiAssets;2553 readonly feeAssetItem: u32;2554 readonly weightLimit: XcmV3WeightLimit;2555 } & Struct;2556 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2557 }25582559 /** @name XcmVersionedXcm (290) */2560 interface XcmVersionedXcm extends Enum {2561 readonly isV2: boolean;2562 readonly asV2: XcmV2Xcm;2563 readonly isV3: boolean;2564 readonly asV3: XcmV3Xcm;2565 readonly type: 'V2' | 'V3';2566 }25672568 /** @name XcmV2Xcm (291) */2569 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}25702571 /** @name XcmV2Instruction (293) */2572 interface XcmV2Instruction extends Enum {2573 readonly isWithdrawAsset: boolean;2574 readonly asWithdrawAsset: XcmV2MultiassetMultiAssets;2575 readonly isReserveAssetDeposited: boolean;2576 readonly asReserveAssetDeposited: XcmV2MultiassetMultiAssets;2577 readonly isReceiveTeleportedAsset: boolean;2578 readonly asReceiveTeleportedAsset: XcmV2MultiassetMultiAssets;2579 readonly isQueryResponse: boolean;2580 readonly asQueryResponse: {2581 readonly queryId: Compact<u64>;2582 readonly response: XcmV2Response;2583 readonly maxWeight: Compact<u64>;2584 } & Struct;2585 readonly isTransferAsset: boolean;2586 readonly asTransferAsset: {2587 readonly assets: XcmV2MultiassetMultiAssets;2588 readonly beneficiary: XcmV2MultiLocation;2589 } & Struct;2590 readonly isTransferReserveAsset: boolean;2591 readonly asTransferReserveAsset: {2592 readonly assets: XcmV2MultiassetMultiAssets;2593 readonly dest: XcmV2MultiLocation;2594 readonly xcm: XcmV2Xcm;2595 } & Struct;2596 readonly isTransact: boolean;2597 readonly asTransact: {2598 readonly originType: XcmV2OriginKind;2599 readonly requireWeightAtMost: Compact<u64>;2600 readonly call: XcmDoubleEncoded;2601 } & Struct;2602 readonly isHrmpNewChannelOpenRequest: boolean;2603 readonly asHrmpNewChannelOpenRequest: {2604 readonly sender: Compact<u32>;2605 readonly maxMessageSize: Compact<u32>;2606 readonly maxCapacity: Compact<u32>;2607 } & Struct;2608 readonly isHrmpChannelAccepted: boolean;2609 readonly asHrmpChannelAccepted: {2610 readonly recipient: Compact<u32>;2611 } & Struct;2612 readonly isHrmpChannelClosing: boolean;2613 readonly asHrmpChannelClosing: {2614 readonly initiator: Compact<u32>;2615 readonly sender: Compact<u32>;2616 readonly recipient: Compact<u32>;2617 } & Struct;2618 readonly isClearOrigin: boolean;2619 readonly isDescendOrigin: boolean;2620 readonly asDescendOrigin: XcmV2MultilocationJunctions;2621 readonly isReportError: boolean;2622 readonly asReportError: {2623 readonly queryId: Compact<u64>;2624 readonly dest: XcmV2MultiLocation;2625 readonly maxResponseWeight: Compact<u64>;2626 } & Struct;2627 readonly isDepositAsset: boolean;2628 readonly asDepositAsset: {2629 readonly assets: XcmV2MultiassetMultiAssetFilter;2630 readonly maxAssets: Compact<u32>;2631 readonly beneficiary: XcmV2MultiLocation;2632 } & Struct;2633 readonly isDepositReserveAsset: boolean;2634 readonly asDepositReserveAsset: {2635 readonly assets: XcmV2MultiassetMultiAssetFilter;2636 readonly maxAssets: Compact<u32>;2637 readonly dest: XcmV2MultiLocation;2638 readonly xcm: XcmV2Xcm;2639 } & Struct;2640 readonly isExchangeAsset: boolean;2641 readonly asExchangeAsset: {2642 readonly give: XcmV2MultiassetMultiAssetFilter;2643 readonly receive: XcmV2MultiassetMultiAssets;2644 } & Struct;2645 readonly isInitiateReserveWithdraw: boolean;2646 readonly asInitiateReserveWithdraw: {2647 readonly assets: XcmV2MultiassetMultiAssetFilter;2648 readonly reserve: XcmV2MultiLocation;2649 readonly xcm: XcmV2Xcm;2650 } & Struct;2651 readonly isInitiateTeleport: boolean;2652 readonly asInitiateTeleport: {2653 readonly assets: XcmV2MultiassetMultiAssetFilter;2654 readonly dest: XcmV2MultiLocation;2655 readonly xcm: XcmV2Xcm;2656 } & Struct;2657 readonly isQueryHolding: boolean;2658 readonly asQueryHolding: {2659 readonly queryId: Compact<u64>;2660 readonly dest: XcmV2MultiLocation;2661 readonly assets: XcmV2MultiassetMultiAssetFilter;2662 readonly maxResponseWeight: Compact<u64>;2663 } & Struct;2664 readonly isBuyExecution: boolean;2665 readonly asBuyExecution: {2666 readonly fees: XcmV2MultiAsset;2667 readonly weightLimit: XcmV2WeightLimit;2668 } & Struct;2669 readonly isRefundSurplus: boolean;2670 readonly isSetErrorHandler: boolean;2671 readonly asSetErrorHandler: XcmV2Xcm;2672 readonly isSetAppendix: boolean;2673 readonly asSetAppendix: XcmV2Xcm;2674 readonly isClearError: boolean;2675 readonly isClaimAsset: boolean;2676 readonly asClaimAsset: {2677 readonly assets: XcmV2MultiassetMultiAssets;2678 readonly ticket: XcmV2MultiLocation;2679 } & Struct;2680 readonly isTrap: boolean;2681 readonly asTrap: Compact<u64>;2682 readonly isSubscribeVersion: boolean;2683 readonly asSubscribeVersion: {2684 readonly queryId: Compact<u64>;2685 readonly maxResponseWeight: Compact<u64>;2686 } & Struct;2687 readonly isUnsubscribeVersion: boolean;2688 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';2689 }26902691 /** @name XcmV2Response (294) */2692 interface XcmV2Response extends Enum {2693 readonly isNull: boolean;2694 readonly isAssets: boolean;2695 readonly asAssets: XcmV2MultiassetMultiAssets;2696 readonly isExecutionResult: boolean;2697 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;2698 readonly isVersion: boolean;2699 readonly asVersion: u32;2700 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';2701 }27022703 /** @name XcmV2TraitsError (297) */2704 interface XcmV2TraitsError extends Enum {2705 readonly isOverflow: boolean;2706 readonly isUnimplemented: boolean;2707 readonly isUntrustedReserveLocation: boolean;2708 readonly isUntrustedTeleportLocation: boolean;2709 readonly isMultiLocationFull: boolean;2710 readonly isMultiLocationNotInvertible: boolean;2711 readonly isBadOrigin: boolean;2712 readonly isInvalidLocation: boolean;2713 readonly isAssetNotFound: boolean;2714 readonly isFailedToTransactAsset: boolean;2715 readonly isNotWithdrawable: boolean;2716 readonly isLocationCannotHold: boolean;2717 readonly isExceedsMaxMessageSize: boolean;2718 readonly isDestinationUnsupported: boolean;2719 readonly isTransport: boolean;2720 readonly isUnroutable: boolean;2721 readonly isUnknownClaim: boolean;2722 readonly isFailedToDecode: boolean;2723 readonly isMaxWeightInvalid: boolean;2724 readonly isNotHoldingFees: boolean;2725 readonly isTooExpensive: boolean;2726 readonly isTrap: boolean;2727 readonly asTrap: u64;2728 readonly isUnhandledXcmVersion: boolean;2729 readonly isWeightLimitReached: boolean;2730 readonly asWeightLimitReached: u64;2731 readonly isBarrier: boolean;2732 readonly isWeightNotComputable: boolean;2733 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';2734 }27352736 /** @name XcmV2MultiassetMultiAssetFilter (298) */2737 interface XcmV2MultiassetMultiAssetFilter extends Enum {2738 readonly isDefinite: boolean;2739 readonly asDefinite: XcmV2MultiassetMultiAssets;2740 readonly isWild: boolean;2741 readonly asWild: XcmV2MultiassetWildMultiAsset;2742 readonly type: 'Definite' | 'Wild';2743 }27442745 /** @name XcmV2MultiassetWildMultiAsset (299) */2746 interface XcmV2MultiassetWildMultiAsset extends Enum {2747 readonly isAll: boolean;2748 readonly isAllOf: boolean;2749 readonly asAllOf: {2750 readonly id: XcmV2MultiassetAssetId;2751 readonly fun: XcmV2MultiassetWildFungibility;2752 } & Struct;2753 readonly type: 'All' | 'AllOf';2754 }27552756 /** @name XcmV2MultiassetWildFungibility (300) */2757 interface XcmV2MultiassetWildFungibility extends Enum {2758 readonly isFungible: boolean;2759 readonly isNonFungible: boolean;2760 readonly type: 'Fungible' | 'NonFungible';2761 }27622763 /** @name XcmV2WeightLimit (301) */2764 interface XcmV2WeightLimit extends Enum {2765 readonly isUnlimited: boolean;2766 readonly isLimited: boolean;2767 readonly asLimited: Compact<u64>;2768 readonly type: 'Unlimited' | 'Limited';2769 }27702771 /** @name CumulusPalletXcmCall (310) */2772 type CumulusPalletXcmCall = Null;27732774 /** @name CumulusPalletDmpQueueCall (311) */2775 interface CumulusPalletDmpQueueCall extends Enum {2776 readonly isServiceOverweight: boolean;2777 readonly asServiceOverweight: {2778 readonly index: u64;2779 readonly weightLimit: SpWeightsWeightV2Weight;2780 } & Struct;2781 readonly type: 'ServiceOverweight';2782 }27832784 /** @name PalletInflationCall (312) */2785 interface PalletInflationCall extends Enum {2786 readonly isStartInflation: boolean;2787 readonly asStartInflation: {2788 readonly inflationStartRelayBlock: u32;2789 } & Struct;2790 readonly type: 'StartInflation';2791 }27922793 /** @name PalletUniqueCall (313) */2794 interface PalletUniqueCall extends Enum {2795 readonly isCreateCollection: boolean;2796 readonly asCreateCollection: {2797 readonly collectionName: Vec<u16>;2798 readonly collectionDescription: Vec<u16>;2799 readonly tokenPrefix: Bytes;2800 readonly mode: UpDataStructsCollectionMode;2801 } & Struct;2802 readonly isCreateCollectionEx: boolean;2803 readonly asCreateCollectionEx: {2804 readonly data: UpDataStructsCreateCollectionData;2805 } & Struct;2806 readonly isDestroyCollection: boolean;2807 readonly asDestroyCollection: {2808 readonly collectionId: u32;2809 } & Struct;2810 readonly isAddToAllowList: boolean;2811 readonly asAddToAllowList: {2812 readonly collectionId: u32;2813 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2814 } & Struct;2815 readonly isRemoveFromAllowList: boolean;2816 readonly asRemoveFromAllowList: {2817 readonly collectionId: u32;2818 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2819 } & Struct;2820 readonly isChangeCollectionOwner: boolean;2821 readonly asChangeCollectionOwner: {2822 readonly collectionId: u32;2823 readonly newOwner: AccountId32;2824 } & Struct;2825 readonly isAddCollectionAdmin: boolean;2826 readonly asAddCollectionAdmin: {2827 readonly collectionId: u32;2828 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2829 } & Struct;2830 readonly isRemoveCollectionAdmin: boolean;2831 readonly asRemoveCollectionAdmin: {2832 readonly collectionId: u32;2833 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2834 } & Struct;2835 readonly isSetCollectionSponsor: boolean;2836 readonly asSetCollectionSponsor: {2837 readonly collectionId: u32;2838 readonly newSponsor: AccountId32;2839 } & Struct;2840 readonly isConfirmSponsorship: boolean;2841 readonly asConfirmSponsorship: {2842 readonly collectionId: u32;2843 } & Struct;2844 readonly isRemoveCollectionSponsor: boolean;2845 readonly asRemoveCollectionSponsor: {2846 readonly collectionId: u32;2847 } & Struct;2848 readonly isCreateItem: boolean;2849 readonly asCreateItem: {2850 readonly collectionId: u32;2851 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2852 readonly data: UpDataStructsCreateItemData;2853 } & Struct;2854 readonly isCreateMultipleItems: boolean;2855 readonly asCreateMultipleItems: {2856 readonly collectionId: u32;2857 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2858 readonly itemsData: Vec<UpDataStructsCreateItemData>;2859 } & Struct;2860 readonly isSetCollectionProperties: boolean;2861 readonly asSetCollectionProperties: {2862 readonly collectionId: u32;2863 readonly properties: Vec<UpDataStructsProperty>;2864 } & Struct;2865 readonly isDeleteCollectionProperties: boolean;2866 readonly asDeleteCollectionProperties: {2867 readonly collectionId: u32;2868 readonly propertyKeys: Vec<Bytes>;2869 } & Struct;2870 readonly isSetTokenProperties: boolean;2871 readonly asSetTokenProperties: {2872 readonly collectionId: u32;2873 readonly tokenId: u32;2874 readonly properties: Vec<UpDataStructsProperty>;2875 } & Struct;2876 readonly isDeleteTokenProperties: boolean;2877 readonly asDeleteTokenProperties: {2878 readonly collectionId: u32;2879 readonly tokenId: u32;2880 readonly propertyKeys: Vec<Bytes>;2881 } & Struct;2882 readonly isSetTokenPropertyPermissions: boolean;2883 readonly asSetTokenPropertyPermissions: {2884 readonly collectionId: u32;2885 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2886 } & Struct;2887 readonly isCreateMultipleItemsEx: boolean;2888 readonly asCreateMultipleItemsEx: {2889 readonly collectionId: u32;2890 readonly data: UpDataStructsCreateItemExData;2891 } & Struct;2892 readonly isSetTransfersEnabledFlag: boolean;2893 readonly asSetTransfersEnabledFlag: {2894 readonly collectionId: u32;2895 readonly value: bool;2896 } & Struct;2897 readonly isBurnItem: boolean;2898 readonly asBurnItem: {2899 readonly collectionId: u32;2900 readonly itemId: u32;2901 readonly value: u128;2902 } & Struct;2903 readonly isBurnFrom: boolean;2904 readonly asBurnFrom: {2905 readonly collectionId: u32;2906 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2907 readonly itemId: u32;2908 readonly value: u128;2909 } & Struct;2910 readonly isTransfer: boolean;2911 readonly asTransfer: {2912 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2913 readonly collectionId: u32;2914 readonly itemId: u32;2915 readonly value: u128;2916 } & Struct;2917 readonly isApprove: boolean;2918 readonly asApprove: {2919 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2920 readonly collectionId: u32;2921 readonly itemId: u32;2922 readonly amount: u128;2923 } & Struct;2924 readonly isApproveFrom: boolean;2925 readonly asApproveFrom: {2926 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2927 readonly to: PalletEvmAccountBasicCrossAccountIdRepr;2928 readonly collectionId: u32;2929 readonly itemId: u32;2930 readonly amount: u128;2931 } & Struct;2932 readonly isTransferFrom: boolean;2933 readonly asTransferFrom: {2934 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2935 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2936 readonly collectionId: u32;2937 readonly itemId: u32;2938 readonly value: u128;2939 } & Struct;2940 readonly isSetCollectionLimits: boolean;2941 readonly asSetCollectionLimits: {2942 readonly collectionId: u32;2943 readonly newLimit: UpDataStructsCollectionLimits;2944 } & Struct;2945 readonly isSetCollectionPermissions: boolean;2946 readonly asSetCollectionPermissions: {2947 readonly collectionId: u32;2948 readonly newPermission: UpDataStructsCollectionPermissions;2949 } & Struct;2950 readonly isRepartition: boolean;2951 readonly asRepartition: {2952 readonly collectionId: u32;2953 readonly tokenId: u32;2954 readonly amount: u128;2955 } & Struct;2956 readonly isSetAllowanceForAll: boolean;2957 readonly asSetAllowanceForAll: {2958 readonly collectionId: u32;2959 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2960 readonly approve: bool;2961 } & Struct;2962 readonly isForceRepairCollection: boolean;2963 readonly asForceRepairCollection: {2964 readonly collectionId: u32;2965 } & Struct;2966 readonly isForceRepairItem: boolean;2967 readonly asForceRepairItem: {2968 readonly collectionId: u32;2969 readonly itemId: u32;2970 } & Struct;2971 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2972 }29732974 /** @name UpDataStructsCollectionMode (318) */2975 interface UpDataStructsCollectionMode extends Enum {2976 readonly isNft: boolean;2977 readonly isFungible: boolean;2978 readonly asFungible: u8;2979 readonly isReFungible: boolean;2980 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2981 }29822983 /** @name UpDataStructsCreateCollectionData (319) */2984 interface UpDataStructsCreateCollectionData extends Struct {2985 readonly mode: UpDataStructsCollectionMode;2986 readonly access: Option<UpDataStructsAccessMode>;2987 readonly name: Vec<u16>;2988 readonly description: Vec<u16>;2989 readonly tokenPrefix: Bytes;2990 readonly pendingSponsor: Option<AccountId32>;2991 readonly limits: Option<UpDataStructsCollectionLimits>;2992 readonly permissions: Option<UpDataStructsCollectionPermissions>;2993 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2994 readonly properties: Vec<UpDataStructsProperty>;2995 }29962997 /** @name UpDataStructsAccessMode (321) */2998 interface UpDataStructsAccessMode extends Enum {2999 readonly isNormal: boolean;3000 readonly isAllowList: boolean;3001 readonly type: 'Normal' | 'AllowList';3002 }30033004 /** @name UpDataStructsCollectionLimits (323) */3005 interface UpDataStructsCollectionLimits extends Struct {3006 readonly accountTokenOwnershipLimit: Option<u32>;3007 readonly sponsoredDataSize: Option<u32>;3008 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;3009 readonly tokenLimit: Option<u32>;3010 readonly sponsorTransferTimeout: Option<u32>;3011 readonly sponsorApproveTimeout: Option<u32>;3012 readonly ownerCanTransfer: Option<bool>;3013 readonly ownerCanDestroy: Option<bool>;3014 readonly transfersEnabled: Option<bool>;3015 }30163017 /** @name UpDataStructsSponsoringRateLimit (325) */3018 interface UpDataStructsSponsoringRateLimit extends Enum {3019 readonly isSponsoringDisabled: boolean;3020 readonly isBlocks: boolean;3021 readonly asBlocks: u32;3022 readonly type: 'SponsoringDisabled' | 'Blocks';3023 }30243025 /** @name UpDataStructsCollectionPermissions (328) */3026 interface UpDataStructsCollectionPermissions extends Struct {3027 readonly access: Option<UpDataStructsAccessMode>;3028 readonly mintMode: Option<bool>;3029 readonly nesting: Option<UpDataStructsNestingPermissions>;3030 }30313032 /** @name UpDataStructsNestingPermissions (330) */3033 interface UpDataStructsNestingPermissions extends Struct {3034 readonly tokenOwner: bool;3035 readonly collectionAdmin: bool;3036 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3037 }30383039 /** @name UpDataStructsOwnerRestrictedSet (332) */3040 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}30413042 /** @name UpDataStructsPropertyKeyPermission (337) */3043 interface UpDataStructsPropertyKeyPermission extends Struct {3044 readonly key: Bytes;3045 readonly permission: UpDataStructsPropertyPermission;3046 }30473048 /** @name UpDataStructsPropertyPermission (338) */3049 interface UpDataStructsPropertyPermission extends Struct {3050 readonly mutable: bool;3051 readonly collectionAdmin: bool;3052 readonly tokenOwner: bool;3053 }30543055 /** @name UpDataStructsProperty (341) */3056 interface UpDataStructsProperty extends Struct {3057 readonly key: Bytes;3058 readonly value: Bytes;3059 }30603061 /** @name UpDataStructsCreateItemData (344) */3062 interface UpDataStructsCreateItemData extends Enum {3063 readonly isNft: boolean;3064 readonly asNft: UpDataStructsCreateNftData;3065 readonly isFungible: boolean;3066 readonly asFungible: UpDataStructsCreateFungibleData;3067 readonly isReFungible: boolean;3068 readonly asReFungible: UpDataStructsCreateReFungibleData;3069 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3070 }30713072 /** @name UpDataStructsCreateNftData (345) */3073 interface UpDataStructsCreateNftData extends Struct {3074 readonly properties: Vec<UpDataStructsProperty>;3075 }30763077 /** @name UpDataStructsCreateFungibleData (346) */3078 interface UpDataStructsCreateFungibleData extends Struct {3079 readonly value: u128;3080 }30813082 /** @name UpDataStructsCreateReFungibleData (347) */3083 interface UpDataStructsCreateReFungibleData extends Struct {3084 readonly pieces: u128;3085 readonly properties: Vec<UpDataStructsProperty>;3086 }30873088 /** @name UpDataStructsCreateItemExData (350) */3089 interface UpDataStructsCreateItemExData extends Enum {3090 readonly isNft: boolean;3091 readonly asNft: Vec<UpDataStructsCreateNftExData>;3092 readonly isFungible: boolean;3093 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3094 readonly isRefungibleMultipleItems: boolean;3095 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3096 readonly isRefungibleMultipleOwners: boolean;3097 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3098 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3099 }31003101 /** @name UpDataStructsCreateNftExData (352) */3102 interface UpDataStructsCreateNftExData extends Struct {3103 readonly properties: Vec<UpDataStructsProperty>;3104 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3105 }31063107 /** @name UpDataStructsCreateRefungibleExSingleOwner (359) */3108 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3109 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3110 readonly pieces: u128;3111 readonly properties: Vec<UpDataStructsProperty>;3112 }31133114 /** @name UpDataStructsCreateRefungibleExMultipleOwners (361) */3115 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3116 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3117 readonly properties: Vec<UpDataStructsProperty>;3118 }31193120 /** @name PalletConfigurationCall (362) */3121 interface PalletConfigurationCall extends Enum {3122 readonly isSetWeightToFeeCoefficientOverride: boolean;3123 readonly asSetWeightToFeeCoefficientOverride: {3124 readonly coeff: Option<u64>;3125 } & Struct;3126 readonly isSetMinGasPriceOverride: boolean;3127 readonly asSetMinGasPriceOverride: {3128 readonly coeff: Option<u64>;3129 } & Struct;3130 readonly isSetAppPromotionConfigurationOverride: boolean;3131 readonly asSetAppPromotionConfigurationOverride: {3132 readonly configuration: PalletConfigurationAppPromotionConfiguration;3133 } & Struct;3134 readonly isSetCollatorSelectionDesiredCollators: boolean;3135 readonly asSetCollatorSelectionDesiredCollators: {3136 readonly max: Option<u32>;3137 } & Struct;3138 readonly isSetCollatorSelectionLicenseBond: boolean;3139 readonly asSetCollatorSelectionLicenseBond: {3140 readonly amount: Option<u128>;3141 } & Struct;3142 readonly isSetCollatorSelectionKickThreshold: boolean;3143 readonly asSetCollatorSelectionKickThreshold: {3144 readonly threshold: Option<u32>;3145 } & Struct;3146 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';3147 }31483149 /** @name PalletConfigurationAppPromotionConfiguration (364) */3150 interface PalletConfigurationAppPromotionConfiguration extends Struct {3151 readonly recalculationInterval: Option<u32>;3152 readonly pendingInterval: Option<u32>;3153 readonly intervalIncome: Option<Perbill>;3154 readonly maxStakersPerCalculation: Option<u8>;3155 }31563157 /** @name PalletTemplateTransactionPaymentCall (368) */3158 type PalletTemplateTransactionPaymentCall = Null;31593160 /** @name PalletStructureCall (369) */3161 type PalletStructureCall = Null;31623163 /** @name PalletAppPromotionCall (370) */3164 interface PalletAppPromotionCall extends Enum {3165 readonly isSetAdminAddress: boolean;3166 readonly asSetAdminAddress: {3167 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;3168 } & Struct;3169 readonly isStake: boolean;3170 readonly asStake: {3171 readonly amount: u128;3172 } & Struct;3173 readonly isUnstakeAll: boolean;3174 readonly isSponsorCollection: boolean;3175 readonly asSponsorCollection: {3176 readonly collectionId: u32;3177 } & Struct;3178 readonly isStopSponsoringCollection: boolean;3179 readonly asStopSponsoringCollection: {3180 readonly collectionId: u32;3181 } & Struct;3182 readonly isSponsorContract: boolean;3183 readonly asSponsorContract: {3184 readonly contractId: H160;3185 } & Struct;3186 readonly isStopSponsoringContract: boolean;3187 readonly asStopSponsoringContract: {3188 readonly contractId: H160;3189 } & Struct;3190 readonly isPayoutStakers: boolean;3191 readonly asPayoutStakers: {3192 readonly stakersNumber: Option<u8>;3193 } & Struct;3194 readonly isUnstakePartial: boolean;3195 readonly asUnstakePartial: {3196 readonly amount: u128;3197 } & Struct;3198 readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial';3199 }32003201 /** @name PalletForeignAssetsModuleCall (371) */3202 interface PalletForeignAssetsModuleCall extends Enum {3203 readonly isRegisterForeignAsset: boolean;3204 readonly asRegisterForeignAsset: {3205 readonly owner: AccountId32;3206 readonly location: XcmVersionedMultiLocation;3207 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3208 } & Struct;3209 readonly isUpdateForeignAsset: boolean;3210 readonly asUpdateForeignAsset: {3211 readonly foreignAssetId: u32;3212 readonly location: XcmVersionedMultiLocation;3213 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3214 } & Struct;3215 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3216 }32173218 /** @name PalletEvmCall (372) */3219 interface PalletEvmCall extends Enum {3220 readonly isWithdraw: boolean;3221 readonly asWithdraw: {3222 readonly address: H160;3223 readonly value: u128;3224 } & Struct;3225 readonly isCall: boolean;3226 readonly asCall: {3227 readonly source: H160;3228 readonly target: H160;3229 readonly input: Bytes;3230 readonly value: U256;3231 readonly gasLimit: u64;3232 readonly maxFeePerGas: U256;3233 readonly maxPriorityFeePerGas: Option<U256>;3234 readonly nonce: Option<U256>;3235 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3236 } & Struct;3237 readonly isCreate: boolean;3238 readonly asCreate: {3239 readonly source: H160;3240 readonly init: Bytes;3241 readonly value: U256;3242 readonly gasLimit: u64;3243 readonly maxFeePerGas: U256;3244 readonly maxPriorityFeePerGas: Option<U256>;3245 readonly nonce: Option<U256>;3246 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3247 } & Struct;3248 readonly isCreate2: boolean;3249 readonly asCreate2: {3250 readonly source: H160;3251 readonly init: Bytes;3252 readonly salt: H256;3253 readonly value: U256;3254 readonly gasLimit: u64;3255 readonly maxFeePerGas: U256;3256 readonly maxPriorityFeePerGas: Option<U256>;3257 readonly nonce: Option<U256>;3258 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3259 } & Struct;3260 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3261 }32623263 /** @name PalletEthereumCall (378) */3264 interface PalletEthereumCall extends Enum {3265 readonly isTransact: boolean;3266 readonly asTransact: {3267 readonly transaction: EthereumTransactionTransactionV2;3268 } & Struct;3269 readonly type: 'Transact';3270 }32713272 /** @name EthereumTransactionTransactionV2 (379) */3273 interface EthereumTransactionTransactionV2 extends Enum {3274 readonly isLegacy: boolean;3275 readonly asLegacy: EthereumTransactionLegacyTransaction;3276 readonly isEip2930: boolean;3277 readonly asEip2930: EthereumTransactionEip2930Transaction;3278 readonly isEip1559: boolean;3279 readonly asEip1559: EthereumTransactionEip1559Transaction;3280 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3281 }32823283 /** @name EthereumTransactionLegacyTransaction (380) */3284 interface EthereumTransactionLegacyTransaction extends Struct {3285 readonly nonce: U256;3286 readonly gasPrice: U256;3287 readonly gasLimit: U256;3288 readonly action: EthereumTransactionTransactionAction;3289 readonly value: U256;3290 readonly input: Bytes;3291 readonly signature: EthereumTransactionTransactionSignature;3292 }32933294 /** @name EthereumTransactionTransactionAction (381) */3295 interface EthereumTransactionTransactionAction extends Enum {3296 readonly isCall: boolean;3297 readonly asCall: H160;3298 readonly isCreate: boolean;3299 readonly type: 'Call' | 'Create';3300 }33013302 /** @name EthereumTransactionTransactionSignature (382) */3303 interface EthereumTransactionTransactionSignature extends Struct {3304 readonly v: u64;3305 readonly r: H256;3306 readonly s: H256;3307 }33083309 /** @name EthereumTransactionEip2930Transaction (384) */3310 interface EthereumTransactionEip2930Transaction extends Struct {3311 readonly chainId: u64;3312 readonly nonce: U256;3313 readonly gasPrice: U256;3314 readonly gasLimit: U256;3315 readonly action: EthereumTransactionTransactionAction;3316 readonly value: U256;3317 readonly input: Bytes;3318 readonly accessList: Vec<EthereumTransactionAccessListItem>;3319 readonly oddYParity: bool;3320 readonly r: H256;3321 readonly s: H256;3322 }33233324 /** @name EthereumTransactionAccessListItem (386) */3325 interface EthereumTransactionAccessListItem extends Struct {3326 readonly address: H160;3327 readonly storageKeys: Vec<H256>;3328 }33293330 /** @name EthereumTransactionEip1559Transaction (387) */3331 interface EthereumTransactionEip1559Transaction extends Struct {3332 readonly chainId: u64;3333 readonly nonce: U256;3334 readonly maxPriorityFeePerGas: U256;3335 readonly maxFeePerGas: U256;3336 readonly gasLimit: U256;3337 readonly action: EthereumTransactionTransactionAction;3338 readonly value: U256;3339 readonly input: Bytes;3340 readonly accessList: Vec<EthereumTransactionAccessListItem>;3341 readonly oddYParity: bool;3342 readonly r: H256;3343 readonly s: H256;3344 }33453346 /** @name PalletEvmCoderSubstrateCall (388) */3347 interface PalletEvmCoderSubstrateCall extends Enum {3348 readonly isEmptyCall: boolean;3349 readonly type: 'EmptyCall';3350 }33513352 /** @name PalletEvmContractHelpersCall (389) */3353 interface PalletEvmContractHelpersCall extends Enum {3354 readonly isMigrateFromSelfSponsoring: boolean;3355 readonly asMigrateFromSelfSponsoring: {3356 readonly addresses: Vec<H160>;3357 } & Struct;3358 readonly type: 'MigrateFromSelfSponsoring';3359 }33603361 /** @name PalletEvmMigrationCall (391) */3362 interface PalletEvmMigrationCall extends Enum {3363 readonly isBegin: boolean;3364 readonly asBegin: {3365 readonly address: H160;3366 } & Struct;3367 readonly isSetData: boolean;3368 readonly asSetData: {3369 readonly address: H160;3370 readonly data: Vec<ITuple<[H256, H256]>>;3371 } & Struct;3372 readonly isFinish: boolean;3373 readonly asFinish: {3374 readonly address: H160;3375 readonly code: Bytes;3376 } & Struct;3377 readonly isInsertEthLogs: boolean;3378 readonly asInsertEthLogs: {3379 readonly logs: Vec<EthereumLog>;3380 } & Struct;3381 readonly isInsertEvents: boolean;3382 readonly asInsertEvents: {3383 readonly events: Vec<Bytes>;3384 } & Struct;3385 readonly isRemoveRmrkData: boolean;3386 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData';3387 }33883389 /** @name PalletMaintenanceCall (395) */3390 interface PalletMaintenanceCall extends Enum {3391 readonly isEnable: boolean;3392 readonly isDisable: boolean;3393 readonly isExecutePreimage: boolean;3394 readonly asExecutePreimage: {3395 readonly hash_: H256;3396 readonly weightBound: SpWeightsWeightV2Weight;3397 } & Struct;3398 readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';3399 }34003401 /** @name PalletTestUtilsCall (396) */3402 interface PalletTestUtilsCall extends Enum {3403 readonly isEnable: boolean;3404 readonly isSetTestValue: boolean;3405 readonly asSetTestValue: {3406 readonly value: u32;3407 } & Struct;3408 readonly isSetTestValueAndRollback: boolean;3409 readonly asSetTestValueAndRollback: {3410 readonly value: u32;3411 } & Struct;3412 readonly isIncTestValue: boolean;3413 readonly isJustTakeFee: boolean;3414 readonly isBatchAll: boolean;3415 readonly asBatchAll: {3416 readonly calls: Vec<Call>;3417 } & Struct;3418 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3419 }34203421 /** @name PalletSudoError (398) */3422 interface PalletSudoError extends Enum {3423 readonly isRequireSudo: boolean;3424 readonly type: 'RequireSudo';3425 }34263427 /** @name OrmlVestingModuleError (400) */3428 interface OrmlVestingModuleError extends Enum {3429 readonly isZeroVestingPeriod: boolean;3430 readonly isZeroVestingPeriodCount: boolean;3431 readonly isInsufficientBalanceToLock: boolean;3432 readonly isTooManyVestingSchedules: boolean;3433 readonly isAmountLow: boolean;3434 readonly isMaxVestingSchedulesExceeded: boolean;3435 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3436 }34373438 /** @name OrmlXtokensModuleError (401) */3439 interface OrmlXtokensModuleError extends Enum {3440 readonly isAssetHasNoReserve: boolean;3441 readonly isNotCrossChainTransfer: boolean;3442 readonly isInvalidDest: boolean;3443 readonly isNotCrossChainTransferableCurrency: boolean;3444 readonly isUnweighableMessage: boolean;3445 readonly isXcmExecutionFailed: boolean;3446 readonly isCannotReanchor: boolean;3447 readonly isInvalidAncestry: boolean;3448 readonly isInvalidAsset: boolean;3449 readonly isDestinationNotInvertible: boolean;3450 readonly isBadVersion: boolean;3451 readonly isDistinctReserveForAssetAndFee: boolean;3452 readonly isZeroFee: boolean;3453 readonly isZeroAmount: boolean;3454 readonly isTooManyAssetsBeingSent: boolean;3455 readonly isAssetIndexNonExistent: boolean;3456 readonly isFeeNotEnough: boolean;3457 readonly isNotSupportedMultiLocation: boolean;3458 readonly isMinXcmFeeNotDefined: boolean;3459 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3460 }34613462 /** @name OrmlTokensBalanceLock (404) */3463 interface OrmlTokensBalanceLock extends Struct {3464 readonly id: U8aFixed;3465 readonly amount: u128;3466 }34673468 /** @name OrmlTokensAccountData (406) */3469 interface OrmlTokensAccountData extends Struct {3470 readonly free: u128;3471 readonly reserved: u128;3472 readonly frozen: u128;3473 }34743475 /** @name OrmlTokensReserveData (408) */3476 interface OrmlTokensReserveData extends Struct {3477 readonly id: Null;3478 readonly amount: u128;3479 }34803481 /** @name OrmlTokensModuleError (410) */3482 interface OrmlTokensModuleError extends Enum {3483 readonly isBalanceTooLow: boolean;3484 readonly isAmountIntoBalanceFailed: boolean;3485 readonly isLiquidityRestrictions: boolean;3486 readonly isMaxLocksExceeded: boolean;3487 readonly isKeepAlive: boolean;3488 readonly isExistentialDeposit: boolean;3489 readonly isDeadAccount: boolean;3490 readonly isTooManyReserves: boolean;3491 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3492 }34933494 /** @name PalletIdentityRegistrarInfo (415) */3495 interface PalletIdentityRegistrarInfo extends Struct {3496 readonly account: AccountId32;3497 readonly fee: u128;3498 readonly fields: PalletIdentityBitFlags;3499 }35003501 /** @name PalletIdentityError (417) */3502 interface PalletIdentityError extends Enum {3503 readonly isTooManySubAccounts: boolean;3504 readonly isNotFound: boolean;3505 readonly isNotNamed: boolean;3506 readonly isEmptyIndex: boolean;3507 readonly isFeeChanged: boolean;3508 readonly isNoIdentity: boolean;3509 readonly isStickyJudgement: boolean;3510 readonly isJudgementGiven: boolean;3511 readonly isInvalidJudgement: boolean;3512 readonly isInvalidIndex: boolean;3513 readonly isInvalidTarget: boolean;3514 readonly isTooManyFields: boolean;3515 readonly isTooManyRegistrars: boolean;3516 readonly isAlreadyClaimed: boolean;3517 readonly isNotSub: boolean;3518 readonly isNotOwned: boolean;3519 readonly isJudgementForDifferentIdentity: boolean;3520 readonly isJudgementPaymentFailed: boolean;3521 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';3522 }35233524 /** @name PalletPreimageRequestStatus (418) */3525 interface PalletPreimageRequestStatus extends Enum {3526 readonly isUnrequested: boolean;3527 readonly asUnrequested: {3528 readonly deposit: ITuple<[AccountId32, u128]>;3529 readonly len: u32;3530 } & Struct;3531 readonly isRequested: boolean;3532 readonly asRequested: {3533 readonly deposit: Option<ITuple<[AccountId32, u128]>>;3534 readonly count: u32;3535 readonly len: Option<u32>;3536 } & Struct;3537 readonly type: 'Unrequested' | 'Requested';3538 }35393540 /** @name PalletPreimageError (423) */3541 interface PalletPreimageError extends Enum {3542 readonly isTooBig: boolean;3543 readonly isAlreadyNoted: boolean;3544 readonly isNotAuthorized: boolean;3545 readonly isNotNoted: boolean;3546 readonly isRequested: boolean;3547 readonly isNotRequested: boolean;3548 readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';3549 }35503551 /** @name CumulusPalletXcmpQueueInboundChannelDetails (425) */3552 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3553 readonly sender: u32;3554 readonly state: CumulusPalletXcmpQueueInboundState;3555 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3556 }35573558 /** @name CumulusPalletXcmpQueueInboundState (426) */3559 interface CumulusPalletXcmpQueueInboundState extends Enum {3560 readonly isOk: boolean;3561 readonly isSuspended: boolean;3562 readonly type: 'Ok' | 'Suspended';3563 }35643565 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (429) */3566 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3567 readonly isConcatenatedVersionedXcm: boolean;3568 readonly isConcatenatedEncodedBlob: boolean;3569 readonly isSignals: boolean;3570 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3571 }35723573 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (432) */3574 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3575 readonly recipient: u32;3576 readonly state: CumulusPalletXcmpQueueOutboundState;3577 readonly signalsExist: bool;3578 readonly firstIndex: u16;3579 readonly lastIndex: u16;3580 }35813582 /** @name CumulusPalletXcmpQueueOutboundState (433) */3583 interface CumulusPalletXcmpQueueOutboundState extends Enum {3584 readonly isOk: boolean;3585 readonly isSuspended: boolean;3586 readonly type: 'Ok' | 'Suspended';3587 }35883589 /** @name CumulusPalletXcmpQueueQueueConfigData (435) */3590 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3591 readonly suspendThreshold: u32;3592 readonly dropThreshold: u32;3593 readonly resumeThreshold: u32;3594 readonly thresholdWeight: SpWeightsWeightV2Weight;3595 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3596 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3597 }35983599 /** @name CumulusPalletXcmpQueueError (437) */3600 interface CumulusPalletXcmpQueueError extends Enum {3601 readonly isFailedToSend: boolean;3602 readonly isBadXcmOrigin: boolean;3603 readonly isBadXcm: boolean;3604 readonly isBadOverweightIndex: boolean;3605 readonly isWeightOverLimit: boolean;3606 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3607 }36083609 /** @name PalletXcmQueryStatus (438) */3610 interface PalletXcmQueryStatus extends Enum {3611 readonly isPending: boolean;3612 readonly asPending: {3613 readonly responder: XcmVersionedMultiLocation;3614 readonly maybeMatchQuerier: Option<XcmVersionedMultiLocation>;3615 readonly maybeNotify: Option<ITuple<[u8, u8]>>;3616 readonly timeout: u32;3617 } & Struct;3618 readonly isVersionNotifier: boolean;3619 readonly asVersionNotifier: {3620 readonly origin: XcmVersionedMultiLocation;3621 readonly isActive: bool;3622 } & Struct;3623 readonly isReady: boolean;3624 readonly asReady: {3625 readonly response: XcmVersionedResponse;3626 readonly at: u32;3627 } & Struct;3628 readonly type: 'Pending' | 'VersionNotifier' | 'Ready';3629 }36303631 /** @name XcmVersionedResponse (442) */3632 interface XcmVersionedResponse extends Enum {3633 readonly isV2: boolean;3634 readonly asV2: XcmV2Response;3635 readonly isV3: boolean;3636 readonly asV3: XcmV3Response;3637 readonly type: 'V2' | 'V3';3638 }36393640 /** @name PalletXcmVersionMigrationStage (448) */3641 interface PalletXcmVersionMigrationStage extends Enum {3642 readonly isMigrateSupportedVersion: boolean;3643 readonly isMigrateVersionNotifiers: boolean;3644 readonly isNotifyCurrentTargets: boolean;3645 readonly asNotifyCurrentTargets: Option<Bytes>;3646 readonly isMigrateAndNotifyOldTargets: boolean;3647 readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';3648 }36493650 /** @name XcmVersionedAssetId (451) */3651 interface XcmVersionedAssetId extends Enum {3652 readonly isV3: boolean;3653 readonly asV3: XcmV3MultiassetAssetId;3654 readonly type: 'V3';3655 }36563657 /** @name PalletXcmRemoteLockedFungibleRecord (452) */3658 interface PalletXcmRemoteLockedFungibleRecord extends Struct {3659 readonly amount: u128;3660 readonly owner: XcmVersionedMultiLocation;3661 readonly locker: XcmVersionedMultiLocation;3662 readonly users: u32;3663 }36643665 /** @name PalletXcmError (456) */3666 interface PalletXcmError extends Enum {3667 readonly isUnreachable: boolean;3668 readonly isSendFailure: boolean;3669 readonly isFiltered: boolean;3670 readonly isUnweighableMessage: boolean;3671 readonly isDestinationNotInvertible: boolean;3672 readonly isEmpty: boolean;3673 readonly isCannotReanchor: boolean;3674 readonly isTooManyAssets: boolean;3675 readonly isInvalidOrigin: boolean;3676 readonly isBadVersion: boolean;3677 readonly isBadLocation: boolean;3678 readonly isNoSubscription: boolean;3679 readonly isAlreadySubscribed: boolean;3680 readonly isInvalidAsset: boolean;3681 readonly isLowBalance: boolean;3682 readonly isTooManyLocks: boolean;3683 readonly isAccountNotSovereign: boolean;3684 readonly isFeesNotMet: boolean;3685 readonly isLockNotFound: boolean;3686 readonly isInUse: boolean;3687 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'InvalidAsset' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse';3688 }36893690 /** @name CumulusPalletXcmError (457) */3691 type CumulusPalletXcmError = Null;36923693 /** @name CumulusPalletDmpQueueConfigData (458) */3694 interface CumulusPalletDmpQueueConfigData extends Struct {3695 readonly maxIndividual: SpWeightsWeightV2Weight;3696 }36973698 /** @name CumulusPalletDmpQueuePageIndexData (459) */3699 interface CumulusPalletDmpQueuePageIndexData extends Struct {3700 readonly beginUsed: u32;3701 readonly endUsed: u32;3702 readonly overweightCount: u64;3703 }37043705 /** @name CumulusPalletDmpQueueError (462) */3706 interface CumulusPalletDmpQueueError extends Enum {3707 readonly isUnknown: boolean;3708 readonly isOverLimit: boolean;3709 readonly type: 'Unknown' | 'OverLimit';3710 }37113712 /** @name PalletUniqueError (466) */3713 interface PalletUniqueError extends Enum {3714 readonly isCollectionDecimalPointLimitExceeded: boolean;3715 readonly isEmptyArgument: boolean;3716 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3717 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3718 }37193720 /** @name PalletConfigurationError (467) */3721 interface PalletConfigurationError extends Enum {3722 readonly isInconsistentConfiguration: boolean;3723 readonly type: 'InconsistentConfiguration';3724 }37253726 /** @name UpDataStructsCollection (468) */3727 interface UpDataStructsCollection extends Struct {3728 readonly owner: AccountId32;3729 readonly mode: UpDataStructsCollectionMode;3730 readonly name: Vec<u16>;3731 readonly description: Vec<u16>;3732 readonly tokenPrefix: Bytes;3733 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3734 readonly limits: UpDataStructsCollectionLimits;3735 readonly permissions: UpDataStructsCollectionPermissions;3736 readonly flags: U8aFixed;3737 }37383739 /** @name UpDataStructsSponsorshipStateAccountId32 (469) */3740 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3741 readonly isDisabled: boolean;3742 readonly isUnconfirmed: boolean;3743 readonly asUnconfirmed: AccountId32;3744 readonly isConfirmed: boolean;3745 readonly asConfirmed: AccountId32;3746 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3747 }37483749 /** @name UpDataStructsProperties (470) */3750 interface UpDataStructsProperties extends Struct {3751 readonly map: UpDataStructsPropertiesMapBoundedVec;3752 readonly consumedSpace: u32;3753 readonly reserved: u32;3754 }37553756 /** @name UpDataStructsPropertiesMapBoundedVec (471) */3757 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}37583759 /** @name UpDataStructsPropertiesMapPropertyPermission (476) */3760 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}37613762 /** @name UpDataStructsCollectionStats (483) */3763 interface UpDataStructsCollectionStats extends Struct {3764 readonly created: u32;3765 readonly destroyed: u32;3766 readonly alive: u32;3767 }37683769 /** @name UpDataStructsTokenChild (484) */3770 interface UpDataStructsTokenChild extends Struct {3771 readonly token: u32;3772 readonly collection: u32;3773 }37743775 /** @name PhantomTypeUpDataStructs (485) */3776 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}37773778 /** @name UpDataStructsTokenData (487) */3779 interface UpDataStructsTokenData extends Struct {3780 readonly properties: Vec<UpDataStructsProperty>;3781 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3782 readonly pieces: u128;3783 }37843785 /** @name UpDataStructsRpcCollection (489) */3786 interface UpDataStructsRpcCollection extends Struct {3787 readonly owner: AccountId32;3788 readonly mode: UpDataStructsCollectionMode;3789 readonly name: Vec<u16>;3790 readonly description: Vec<u16>;3791 readonly tokenPrefix: Bytes;3792 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3793 readonly limits: UpDataStructsCollectionLimits;3794 readonly permissions: UpDataStructsCollectionPermissions;3795 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3796 readonly properties: Vec<UpDataStructsProperty>;3797 readonly readOnly: bool;3798 readonly flags: UpDataStructsRpcCollectionFlags;3799 }38003801 /** @name UpDataStructsRpcCollectionFlags (490) */3802 interface UpDataStructsRpcCollectionFlags extends Struct {3803 readonly foreign: bool;3804 readonly erc721metadata: bool;3805 }38063807 /** @name UpPovEstimateRpcPovInfo (491) */3808 interface UpPovEstimateRpcPovInfo extends Struct {3809 readonly proofSize: u64;3810 readonly compactProofSize: u64;3811 readonly compressedProofSize: u64;3812 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3813 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3814 }38153816 /** @name SpRuntimeTransactionValidityTransactionValidityError (494) */3817 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3818 readonly isInvalid: boolean;3819 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3820 readonly isUnknown: boolean;3821 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3822 readonly type: 'Invalid' | 'Unknown';3823 }38243825 /** @name SpRuntimeTransactionValidityInvalidTransaction (495) */3826 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3827 readonly isCall: boolean;3828 readonly isPayment: boolean;3829 readonly isFuture: boolean;3830 readonly isStale: boolean;3831 readonly isBadProof: boolean;3832 readonly isAncientBirthBlock: boolean;3833 readonly isExhaustsResources: boolean;3834 readonly isCustom: boolean;3835 readonly asCustom: u8;3836 readonly isBadMandatory: boolean;3837 readonly isMandatoryValidation: boolean;3838 readonly isBadSigner: boolean;3839 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3840 }38413842 /** @name SpRuntimeTransactionValidityUnknownTransaction (496) */3843 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3844 readonly isCannotLookup: boolean;3845 readonly isNoUnsignedValidator: boolean;3846 readonly isCustom: boolean;3847 readonly asCustom: u8;3848 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3849 }38503851 /** @name UpPovEstimateRpcTrieKeyValue (498) */3852 interface UpPovEstimateRpcTrieKeyValue extends Struct {3853 readonly key: Bytes;3854 readonly value: Bytes;3855 }38563857 /** @name PalletCommonError (500) */3858 interface PalletCommonError extends Enum {3859 readonly isCollectionNotFound: boolean;3860 readonly isMustBeTokenOwner: boolean;3861 readonly isNoPermission: boolean;3862 readonly isCantDestroyNotEmptyCollection: boolean;3863 readonly isPublicMintingNotAllowed: boolean;3864 readonly isAddressNotInAllowlist: boolean;3865 readonly isCollectionNameLimitExceeded: boolean;3866 readonly isCollectionDescriptionLimitExceeded: boolean;3867 readonly isCollectionTokenPrefixLimitExceeded: boolean;3868 readonly isTotalCollectionsLimitExceeded: boolean;3869 readonly isCollectionAdminCountExceeded: boolean;3870 readonly isCollectionLimitBoundsExceeded: boolean;3871 readonly isOwnerPermissionsCantBeReverted: boolean;3872 readonly isTransferNotAllowed: boolean;3873 readonly isAccountTokenLimitExceeded: boolean;3874 readonly isCollectionTokenLimitExceeded: boolean;3875 readonly isMetadataFlagFrozen: boolean;3876 readonly isTokenNotFound: boolean;3877 readonly isTokenValueTooLow: boolean;3878 readonly isApprovedValueTooLow: boolean;3879 readonly isCantApproveMoreThanOwned: boolean;3880 readonly isAddressIsNotEthMirror: boolean;3881 readonly isAddressIsZero: boolean;3882 readonly isUnsupportedOperation: boolean;3883 readonly isNotSufficientFounds: boolean;3884 readonly isUserIsNotAllowedToNest: boolean;3885 readonly isSourceCollectionIsNotAllowedToNest: boolean;3886 readonly isCollectionFieldSizeExceeded: boolean;3887 readonly isNoSpaceForProperty: boolean;3888 readonly isPropertyLimitReached: boolean;3889 readonly isPropertyKeyIsTooLong: boolean;3890 readonly isInvalidCharacterInPropertyKey: boolean;3891 readonly isEmptyPropertyKey: boolean;3892 readonly isCollectionIsExternal: boolean;3893 readonly isCollectionIsInternal: boolean;3894 readonly isConfirmSponsorshipFail: boolean;3895 readonly isUserIsNotCollectionAdmin: boolean;3896 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3897 }38983899 /** @name PalletFungibleError (502) */3900 interface PalletFungibleError extends Enum {3901 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3902 readonly isFungibleItemsHaveNoId: boolean;3903 readonly isFungibleItemsDontHaveData: boolean;3904 readonly isFungibleDisallowsNesting: boolean;3905 readonly isSettingPropertiesNotAllowed: boolean;3906 readonly isSettingAllowanceForAllNotAllowed: boolean;3907 readonly isFungibleTokensAreAlwaysValid: boolean;3908 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3909 }39103911 /** @name PalletRefungibleError (507) */3912 interface PalletRefungibleError extends Enum {3913 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3914 readonly isWrongRefungiblePieces: boolean;3915 readonly isRepartitionWhileNotOwningAllPieces: boolean;3916 readonly isRefungibleDisallowsNesting: boolean;3917 readonly isSettingPropertiesNotAllowed: boolean;3918 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3919 }39203921 /** @name PalletNonfungibleItemData (508) */3922 interface PalletNonfungibleItemData extends Struct {3923 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3924 }39253926 /** @name UpDataStructsPropertyScope (510) */3927 interface UpDataStructsPropertyScope extends Enum {3928 readonly isNone: boolean;3929 readonly isRmrk: boolean;3930 readonly type: 'None' | 'Rmrk';3931 }39323933 /** @name PalletNonfungibleError (513) */3934 interface PalletNonfungibleError extends Enum {3935 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3936 readonly isNonfungibleItemsHaveNoAmount: boolean;3937 readonly isCantBurnNftWithChildren: boolean;3938 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3939 }39403941 /** @name PalletStructureError (514) */3942 interface PalletStructureError extends Enum {3943 readonly isOuroborosDetected: boolean;3944 readonly isDepthLimit: boolean;3945 readonly isBreadthLimit: boolean;3946 readonly isTokenNotFound: boolean;3947 readonly isCantNestTokenUnderCollection: boolean;3948 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection';3949 }39503951 /** @name PalletAppPromotionError (519) */3952 interface PalletAppPromotionError extends Enum {3953 readonly isAdminNotSet: boolean;3954 readonly isNoPermission: boolean;3955 readonly isNotSufficientFunds: boolean;3956 readonly isPendingForBlockOverflow: boolean;3957 readonly isSponsorNotSet: boolean;3958 readonly isIncorrectLockedBalanceOperation: boolean;3959 readonly isInsufficientStakedBalance: boolean;3960 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation' | 'InsufficientStakedBalance';3961 }39623963 /** @name PalletForeignAssetsModuleError (520) */3964 interface PalletForeignAssetsModuleError extends Enum {3965 readonly isBadLocation: boolean;3966 readonly isMultiLocationExisted: boolean;3967 readonly isAssetIdNotExists: boolean;3968 readonly isAssetIdExisted: boolean;3969 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3970 }39713972 /** @name PalletEvmError (522) */3973 interface PalletEvmError extends Enum {3974 readonly isBalanceLow: boolean;3975 readonly isFeeOverflow: boolean;3976 readonly isPaymentOverflow: boolean;3977 readonly isWithdrawFailed: boolean;3978 readonly isGasPriceTooLow: boolean;3979 readonly isInvalidNonce: boolean;3980 readonly isGasLimitTooLow: boolean;3981 readonly isGasLimitTooHigh: boolean;3982 readonly isUndefined: boolean;3983 readonly isReentrancy: boolean;3984 readonly isTransactionMustComeFromEOA: boolean;3985 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';3986 }39873988 /** @name FpRpcTransactionStatus (525) */3989 interface FpRpcTransactionStatus extends Struct {3990 readonly transactionHash: H256;3991 readonly transactionIndex: u32;3992 readonly from: H160;3993 readonly to: Option<H160>;3994 readonly contractAddress: Option<H160>;3995 readonly logs: Vec<EthereumLog>;3996 readonly logsBloom: EthbloomBloom;3997 }39983999 /** @name EthbloomBloom (527) */4000 interface EthbloomBloom extends U8aFixed {}40014002 /** @name EthereumReceiptReceiptV3 (529) */4003 interface EthereumReceiptReceiptV3 extends Enum {4004 readonly isLegacy: boolean;4005 readonly asLegacy: EthereumReceiptEip658ReceiptData;4006 readonly isEip2930: boolean;4007 readonly asEip2930: EthereumReceiptEip658ReceiptData;4008 readonly isEip1559: boolean;4009 readonly asEip1559: EthereumReceiptEip658ReceiptData;4010 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4011 }40124013 /** @name EthereumReceiptEip658ReceiptData (530) */4014 interface EthereumReceiptEip658ReceiptData extends Struct {4015 readonly statusCode: u8;4016 readonly usedGas: U256;4017 readonly logsBloom: EthbloomBloom;4018 readonly logs: Vec<EthereumLog>;4019 }40204021 /** @name EthereumBlock (531) */4022 interface EthereumBlock extends Struct {4023 readonly header: EthereumHeader;4024 readonly transactions: Vec<EthereumTransactionTransactionV2>;4025 readonly ommers: Vec<EthereumHeader>;4026 }40274028 /** @name EthereumHeader (532) */4029 interface EthereumHeader extends Struct {4030 readonly parentHash: H256;4031 readonly ommersHash: H256;4032 readonly beneficiary: H160;4033 readonly stateRoot: H256;4034 readonly transactionsRoot: H256;4035 readonly receiptsRoot: H256;4036 readonly logsBloom: EthbloomBloom;4037 readonly difficulty: U256;4038 readonly number: U256;4039 readonly gasLimit: U256;4040 readonly gasUsed: U256;4041 readonly timestamp: u64;4042 readonly extraData: Bytes;4043 readonly mixHash: H256;4044 readonly nonce: EthereumTypesHashH64;4045 }40464047 /** @name EthereumTypesHashH64 (533) */4048 interface EthereumTypesHashH64 extends U8aFixed {}40494050 /** @name PalletEthereumError (538) */4051 interface PalletEthereumError extends Enum {4052 readonly isInvalidSignature: boolean;4053 readonly isPreLogExists: boolean;4054 readonly type: 'InvalidSignature' | 'PreLogExists';4055 }40564057 /** @name PalletEvmCoderSubstrateError (539) */4058 interface PalletEvmCoderSubstrateError extends Enum {4059 readonly isOutOfGas: boolean;4060 readonly isOutOfFund: boolean;4061 readonly type: 'OutOfGas' | 'OutOfFund';4062 }40634064 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (540) */4065 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4066 readonly isDisabled: boolean;4067 readonly isUnconfirmed: boolean;4068 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;4069 readonly isConfirmed: boolean;4070 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;4071 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4072 }40734074 /** @name PalletEvmContractHelpersSponsoringModeT (541) */4075 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4076 readonly isDisabled: boolean;4077 readonly isAllowlisted: boolean;4078 readonly isGenerous: boolean;4079 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4080 }40814082 /** @name PalletEvmContractHelpersError (547) */4083 interface PalletEvmContractHelpersError extends Enum {4084 readonly isNoPermission: boolean;4085 readonly isNoPendingSponsor: boolean;4086 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4087 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4088 }40894090 /** @name PalletEvmMigrationError (548) */4091 interface PalletEvmMigrationError extends Enum {4092 readonly isAccountNotEmpty: boolean;4093 readonly isAccountIsNotMigrating: boolean;4094 readonly isBadEvent: boolean;4095 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4096 }40974098 /** @name PalletMaintenanceError (549) */4099 type PalletMaintenanceError = Null;41004101 /** @name PalletTestUtilsError (550) */4102 interface PalletTestUtilsError extends Enum {4103 readonly isTestPalletDisabled: boolean;4104 readonly isTriggerRollback: boolean;4105 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4106 }41074108 /** @name SpRuntimeMultiSignature (552) */4109 interface SpRuntimeMultiSignature extends Enum {4110 readonly isEd25519: boolean;4111 readonly asEd25519: SpCoreEd25519Signature;4112 readonly isSr25519: boolean;4113 readonly asSr25519: SpCoreSr25519Signature;4114 readonly isEcdsa: boolean;4115 readonly asEcdsa: SpCoreEcdsaSignature;4116 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4117 }41184119 /** @name SpCoreEd25519Signature (553) */4120 interface SpCoreEd25519Signature extends U8aFixed {}41214122 /** @name SpCoreSr25519Signature (555) */4123 interface SpCoreSr25519Signature extends U8aFixed {}41244125 /** @name SpCoreEcdsaSignature (556) */4126 interface SpCoreEcdsaSignature extends U8aFixed {}41274128 /** @name FrameSystemExtensionsCheckSpecVersion (559) */4129 type FrameSystemExtensionsCheckSpecVersion = Null;41304131 /** @name FrameSystemExtensionsCheckTxVersion (560) */4132 type FrameSystemExtensionsCheckTxVersion = Null;41334134 /** @name FrameSystemExtensionsCheckGenesis (561) */4135 type FrameSystemExtensionsCheckGenesis = Null;41364137 /** @name FrameSystemExtensionsCheckNonce (564) */4138 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}41394140 /** @name FrameSystemExtensionsCheckWeight (565) */4141 type FrameSystemExtensionsCheckWeight = Null;41424143 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (566) */4144 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;41454146 /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (567) */4147 type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null;41484149 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (568) */4150 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}41514152 /** @name OpalRuntimeRuntime (569) */4153 type OpalRuntimeRuntime = Null;41544155 /** @name PalletEthereumFakeTransactionFinalizer (570) */4156 type PalletEthereumFakeTransactionFinalizer = Null;41574158} // declare moduletests/src/interfaces/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/types.ts
+++ b/tests/src/interfaces/types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './unique/types';
-export * from './appPromotion/types';
-export * from './povinfo/types';
-export * from './default/types';
+export * from './appPromotion/types.js';
+export * from './default/types.js';
+export * from './povinfo/types.js';
+export * from './unique/types.js';
tests/src/interfaces/unique/index.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/index.ts
+++ b/tests/src/interfaces/unique/index.ts
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './types';
+export * from './types.js';
tests/src/limits.test.tsdiffbeforeafterboth--- a/tests/src/limits.test.ts
+++ b/tests/src/limits.test.ts
@@ -22,7 +22,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
@@ -60,7 +60,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
@@ -292,7 +292,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
});
@@ -333,7 +333,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
});
@@ -366,7 +366,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
});
@@ -404,7 +404,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/maintenance.seqtest.tsdiffbeforeafterboth--- a/tests/src/maintenance.seqtest.ts
+++ b/tests/src/maintenance.seqtest.ts
@@ -33,7 +33,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.Maintenance]);
superuser = await privateKey('//Alice');
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[bob] = await helper.arrange.createAccounts([10000n], donor);
});
tests/src/nesting/collectionProperties.seqtest.tsdiffbeforeafterboth--- a/tests/src/nesting/collectionProperties.seqtest.ts
+++ b/tests/src/nesting/collectionProperties.seqtest.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
superuser = await privateKey('//Alice');
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
tests/src/nesting/collectionProperties.test.tsdiffbeforeafterboth--- a/tests/src/nesting/collectionProperties.test.ts
+++ b/tests/src/nesting/collectionProperties.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([200n, 10n], donor);
});
});
@@ -206,7 +206,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([1000n, 100n], donor);
});
});
tests/src/nesting/graphs.test.tsdiffbeforeafterboth--- a/tests/src/nesting/graphs.test.ts
+++ b/tests/src/nesting/graphs.test.ts
@@ -45,7 +45,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([10n], donor);
});
});
tests/src/nesting/propertyPermissions.test.tsdiffbeforeafterboth--- a/tests/src/nesting/propertyPermissions.test.ts
+++ b/tests/src/nesting/propertyPermissions.test.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 10n], donor);
});
});
@@ -87,7 +87,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([50n, 10n], donor);
});
});
@@ -195,4 +195,4 @@
itSub.ifWithPallets('Prevents adding properties with invalid names (ReFungible)', [Pallets.ReFungible], async ({helper}) => {
await testPreventsAddingPropertiesWithInvalidNames(await helper.rft.mintCollection(alice));
});
-});
\ No newline at end of file
+});
tests/src/nesting/tokenProperties.seqtest.tsdiffbeforeafterboth--- a/tests/src/nesting/tokenProperties.seqtest.ts
+++ b/tests/src/nesting/tokenProperties.seqtest.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
superuser = await privateKey('//Alice');
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([100n], donor);
});
});
tests/src/nesting/tokenProperties.test.tsdiffbeforeafterboth--- a/tests/src/nesting/tokenProperties.test.ts
+++ b/tests/src/nesting/tokenProperties.test.ts
@@ -27,7 +27,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([200n, 100n, 100n], donor);
});
@@ -459,7 +459,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
let dave: IKeyringPair;
[alice, bob, charlie, dave] = await helper.arrange.createAccounts([100n, 100n, 100n, 100n], donor);
@@ -702,7 +702,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
tests/src/nesting/unnest.test.tsdiffbeforeafterboth--- a/tests/src/nesting/unnest.test.ts
+++ b/tests/src/nesting/unnest.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([200n, 50n, 50n], donor);
});
});
@@ -276,7 +276,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([50n, 10n], donor);
});
});
tests/src/nextSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/nextSponsoring.test.ts
+++ b/tests/src/nextSponsoring.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([20n, 10n], donor);
});
});
tests/src/refungible.test.tsdiffbeforeafterboth--- a/tests/src/refungible.test.ts
+++ b/tests/src/refungible.test.ts
@@ -28,7 +28,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 10n], donor);
});
});
tests/src/removeCollectionAdmin.test.tsdiffbeforeafterboth--- a/tests/src/removeCollectionAdmin.test.ts
+++ b/tests/src/removeCollectionAdmin.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([20n, 10n], donor);
});
});
@@ -62,7 +62,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([20n, 10n, 10n], donor);
});
});
tests/src/removeCollectionSponsor.test.tsdiffbeforeafterboth--- a/tests/src/removeCollectionSponsor.test.ts
+++ b/tests/src/removeCollectionSponsor.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([20n, 10n, 10n], donor);
});
});
@@ -85,7 +85,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([20n, 10n, 10n], donor);
});
});
tests/src/rpc.test.tsdiffbeforeafterboth--- a/tests/src/rpc.test.ts
+++ b/tests/src/rpc.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([20n, 10n], donor);
});
});
@@ -65,4 +65,4 @@
expect(await collection.transfer(alice, {Substrate: eleven.address}, 10n)).to.be.true;
expect((await helper.callRpc('api.rpc.unique.tokenOwners', [collection.collectionId, 0])).length).to.be.equal(10);
});
-});
\ No newline at end of file
+});
tests/src/scheduler.seqtest.tsdiffbeforeafterboth--- a/tests/src/scheduler.seqtest.ts
+++ b/tests/src/scheduler.seqtest.ts
@@ -29,7 +29,7 @@
requirePalletsOrSkip(this, helper, [Pallets.Scheduler]);
superuser = await privateKey('//Alice');
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
await helper.testUtils.enable();
@@ -575,7 +575,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.Scheduler]);
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
await helper.testUtils.enable();
tests/src/setCollectionLimits.test.tsdiffbeforeafterboth--- a/tests/src/setCollectionLimits.test.ts
+++ b/tests/src/setCollectionLimits.test.ts
@@ -29,7 +29,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([20n, 10n], donor);
});
});
@@ -104,7 +104,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([20n, 10n], donor);
});
});
tests/src/setCollectionSponsor.test.tsdiffbeforeafterboth--- a/tests/src/setCollectionSponsor.test.ts
+++ b/tests/src/setCollectionSponsor.test.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([20n, 10n, 10n], donor);
});
});
@@ -93,7 +93,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([10n, 5n], donor);
});
});
tests/src/setPermissions.test.tsdiffbeforeafterboth--- a/tests/src/setPermissions.test.ts
+++ b/tests/src/setPermissions.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([10n, 10n], donor);
});
});
@@ -79,7 +79,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([10n, 10n], donor);
});
});
@@ -104,4 +104,4 @@
await expect(collection.setPermissions(bob, {access: 'AllowList', mintMode: true}))
.to.be.rejectedWith(/common\.NoPermission/);
});
-});
\ No newline at end of file
+});
tests/src/sub/appPromotion/appPromotion.seqtest.tsdiffbeforeafterboth--- a/tests/src/sub/appPromotion/appPromotion.seqtest.ts
+++ b/tests/src/sub/appPromotion/appPromotion.seqtest.ts
@@ -27,7 +27,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.AppPromotion]);
superuser = await privateKey('//Alice');
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
palletAdmin = await privateKey('//PromotionAdmin');
const api = helper.getApi();
await helper.signTransaction(superuser, api.tx.sudo.sudo(api.tx.appPromotion.setAdminAddress({Substrate: palletAdmin.address})));
tests/src/sub/appPromotion/appPromotion.test.tsdiffbeforeafterboth--- a/tests/src/sub/appPromotion/appPromotion.test.ts
+++ b/tests/src/sub/appPromotion/appPromotion.test.ts
@@ -41,7 +41,7 @@
before(async function () {
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.AppPromotion]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
palletAddress = helper.arrange.calculatePalletAddress('appstake');
palletAdmin = await privateKey('//PromotionAdmin');
nominal = helper.balance.getOneTokenNominal();
tests/src/sub/nesting/admin.test.tsdiffbeforeafterboth--- a/tests/src/sub/nesting/admin.test.ts
+++ b/tests/src/sub/nesting/admin.test.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([200n, 10n, 10n], donor);
});
});
tests/src/sub/nesting/common.test.tsdiffbeforeafterboth--- a/tests/src/sub/nesting/common.test.ts
+++ b/tests/src/sub/nesting/common.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/sub/nesting/e2e.test.tsdiffbeforeafterboth--- a/tests/src/sub/nesting/e2e.test.ts
+++ b/tests/src/sub/nesting/e2e.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([50n, 10n], donor);
});
});
tests/src/sub/nesting/nesting.negative.test.tsdiffbeforeafterboth--- a/tests/src/sub/nesting/nesting.negative.test.ts
+++ b/tests/src/sub/nesting/nesting.negative.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
tests/src/sub/nesting/refungible.test.tsdiffbeforeafterboth--- a/tests/src/sub/nesting/refungible.test.ts
+++ b/tests/src/sub/nesting/refungible.test.ts
@@ -22,7 +22,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice] = await helper.arrange.createAccounts([200n], donor);
});
});
@@ -57,4 +57,4 @@
await rft.transferFrom(alice, nft.nestingAccount(), {Substrate: alice.address}, 70n);
expect(await rft.getTopmostOwner()).deep.equal({Substrate: alice.address});
-});
\ No newline at end of file
+});
tests/src/sub/nesting/unnesting.negative.test.tsdiffbeforeafterboth--- a/tests/src/sub/nesting/unnesting.negative.test.ts
+++ b/tests/src/sub/nesting/unnesting.negative.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 50n], donor);
});
});
tests/src/sub/refungible/burn.test.tsdiffbeforeafterboth--- a/tests/src/sub/refungible/burn.test.ts
+++ b/tests/src/sub/refungible/burn.test.ts
@@ -26,7 +26,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 10n], donor);
});
});
@@ -95,7 +95,7 @@
before(async function() {
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
tests/src/sub/refungible/nesting.test.tsdiffbeforeafterboth--- a/tests/src/sub/refungible/nesting.test.ts
+++ b/tests/src/sub/refungible/nesting.test.ts
@@ -24,7 +24,7 @@
before(async function() {
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, charlie] = await helper.arrange.createAccounts([50n, 10n], donor);
});
});
@@ -111,7 +111,7 @@
before(async function() {
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 50n], donor);
});
});
tests/src/sub/refungible/repartition.test.tsdiffbeforeafterboth--- a/tests/src/sub/refungible/repartition.test.ts
+++ b/tests/src/sub/refungible/repartition.test.ts
@@ -26,7 +26,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([100n, 10n], donor);
});
});
tests/src/sub/refungible/transfer.test.tsdiffbeforeafterboth--- a/tests/src/sub/refungible/transfer.test.ts
+++ b/tests/src/sub/refungible/transfer.test.ts
@@ -27,7 +27,7 @@
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
});
});
@@ -70,4 +70,4 @@
expect(await tokenBob.getBalance({Substrate: bob.address})).to.eq(10n);
expect(await tokenBob.getBalance({Substrate: charlie.address})).to.eq(0n);
});
-});
\ No newline at end of file
+});
tests/src/transfer.test.tsdiffbeforeafterboth--- a/tests/src/transfer.test.ts
+++ b/tests/src/transfer.test.ts
@@ -25,7 +25,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([50n, 10n], donor);
});
});
@@ -117,7 +117,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob] = await helper.arrange.createAccounts([50n, 10n], donor);
});
});
@@ -276,7 +276,7 @@
before(async function() {
await usingEthPlaygrounds(async (_, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
});
});
tests/src/transferFrom.test.tsdiffbeforeafterboth--- a/tests/src/transferFrom.test.ts
+++ b/tests/src/transferFrom.test.ts
@@ -24,7 +24,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([20n, 10n, 10n], donor);
});
});
@@ -91,7 +91,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- const donor = await privateKey({filename: __filename});
+ const donor = await privateKey({url: import.meta.url});
[alice, bob, charlie] = await helper.arrange.createAccounts([50n, 10n, 10n], donor);
});
});
tests/src/util/globalSetup.tsdiffbeforeafterboth--- a/tests/src/util/globalSetup.ts
+++ b/tests/src/util/globalSetup.ts
@@ -2,11 +2,13 @@
// SPDX-License-Identifier: Apache-2.0
import {
- usingPlaygrounds, Pallets, DONOR_FUNDING, MINIMUM_DONOR_FUND, LOCKING_PERIOD, UNLOCKING_PERIOD,
+ usingPlaygrounds, Pallets, DONOR_FUNDING, MINIMUM_DONOR_FUND, LOCKING_PERIOD, UNLOCKING_PERIOD, makeNames,
} from './index';
import * as path from 'path';
import {promises as fs} from 'fs';
+const {dirname} = makeNames(import.meta.url);
+
// This function should be called before running test suites.
const globalSetup = async (): Promise<void> => {
await usingPlaygrounds(async (helper, privateKey) => {
@@ -62,7 +64,7 @@
const oneToken = helper.balance.getOneTokenNominal();
const alice = await privateKey('//Alice');
const nonce = await helper.chain.getNonce(alice.address);
- const filenames = await getFiles(path.resolve(__dirname, '..'));
+ const filenames = await getFiles(path.resolve(dirname, '..'));
// batching is actually undesireable, it takes away the time while all the transactions actually succeed
const batchSize = 300;
tests/src/util/index.tsdiffbeforeafterboth--- a/tests/src/util/index.ts
+++ b/tests/src/util/index.ts
@@ -12,6 +12,8 @@
import {ChainHelperBase} from './playgrounds/unique';
import {ILogger} from './playgrounds/types';
import {DevUniqueHelper, SilentLogger, SilentConsole, DevMoonbeamHelper, DevMoonriverHelper, DevAcalaHelper, DevKaruraHelper, DevRelayHelper, DevWestmintHelper, DevStatemineHelper, DevStatemintHelper} from './playgrounds/unique.dev';
+import {dirname} from 'path';
+import {fileURLToPath} from 'url';
chai.use(chaiAsPromised);
chai.use(chaiSubset);
@@ -25,7 +27,7 @@
return `//Alice+${getTestHash(filename)}`;
};
-async function usingPlaygroundsGeneral<T extends ChainHelperBase>(helperType: new(logger: ILogger) => T, url: string, code: (helper: T, privateKey: (seed: string | {filename: string, ignoreFundsPresence?: boolean}) => Promise<IKeyringPair>) => Promise<void>) {
+async function usingPlaygroundsGeneral<T extends ChainHelperBase>(helperType: new(logger: ILogger) => T, url: string, code: (helper: T, privateKey: (seed: string | {filename?: string, url?: string, ignoreFundsPresence?: boolean}) => Promise<IKeyringPair>) => Promise<void>) {
const silentConsole = new SilentConsole();
silentConsole.enable();
@@ -34,20 +36,26 @@
try {
await helper.connect(url);
const ss58Format = helper.chain.getChainProperties().ss58Format;
- const privateKey = async (seed: string | {filename: string, ignoreFundsPresence?: boolean}) => {
+ const privateKey = async (seed: string | {filename?: string, url?: string, ignoreFundsPresence?: boolean}) => {
if (typeof seed === 'string') {
return helper.util.fromSeed(seed, ss58Format);
}
- else {
- const actualSeed = getTestSeed(seed.filename);
- let account = helper.util.fromSeed(actualSeed, ss58Format);
- // here's to hoping that no
- if (!seed.ignoreFundsPresence && ((helper as any)['balance'] == undefined || await (helper as any).balance.getSubstrate(account.address) < MINIMUM_DONOR_FUND)) {
- console.warn(`${path.basename(seed.filename)}: Not enough funds present on the filename account. Using the default one as the donor instead.`);
- account = helper.util.fromSeed('//Alice', ss58Format);
- }
- return account;
+ if (seed.url) {
+ const {filename} = makeNames(seed.url);
+ seed.filename = filename;
+ } else if (seed.filename) {
+ // Pass
+ } else {
+ throw new Error('no url nor filename set');
+ }
+ const actualSeed = getTestSeed(seed.filename);
+ let account = helper.util.fromSeed(actualSeed, ss58Format);
+ // here's to hoping that no
+ if (!seed.ignoreFundsPresence && ((helper as any)['balance'] == undefined || await (helper as any).balance.getSubstrate(account.address) < MINIMUM_DONOR_FUND)) {
+ console.warn(`${path.basename(seed.filename)}: Not enough funds present on the filename account. Using the default one as the donor instead.`);
+ account = helper.util.fromSeed('//Alice', ss58Format);
}
+ return account;
};
await code(helper, privateKey);
}
@@ -57,7 +65,7 @@
}
}
-export const usingPlaygrounds = (code: (helper: DevUniqueHelper, privateKey: (seed: string | {filename: string, ignoreFundsPresence?: boolean}) => Promise<IKeyringPair>) => Promise<void>, url: string = config.substrateUrl) => {
+export const usingPlaygrounds = (code: (helper: DevUniqueHelper, privateKey: (seed: string | {filename?: string, url?: string, ignoreFundsPresence?: boolean}) => Promise<IKeyringPair>) => Promise<void>, url: string = config.substrateUrl) => {
return usingPlaygroundsGeneral<DevUniqueHelper>(DevUniqueHelper, url, code);
};
@@ -199,3 +207,11 @@
export function sizeOfProperty(prop: {key: string, value: string}) {
return sizeOfEncodedStr(prop.key) + sizeOfEncodedStr(prop.value);
}
+
+export function makeNames(url: string) {
+ const filename = fileURLToPath(url);
+ return {
+ filename,
+ dirname: dirname(filename),
+ };
+}
tests/src/vesting.test.tsdiffbeforeafterboth--- a/tests/src/vesting.test.ts
+++ b/tests/src/vesting.test.ts
@@ -23,7 +23,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
- donor = await privateKey({filename: __filename});
+ donor = await privateKey({url: import.meta.url});
nominal = helper.balance.getOneTokenNominal();
});
});