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.tsdiffbeforeafterboth179 },179 },180 DownwardMessagesProcessed: {180 DownwardMessagesProcessed: {181 weightUsed: 'SpWeightsWeightV2Weight',181 weightUsed: 'SpWeightsWeightV2Weight',182 dmqHead: 'H256'182 dmqHead: 'H256',183 },184 UpwardMessageSent: {185 messageHash: 'Option<[u8;32]>'183 }186 }184 }187 }185 },188 },186 /**189 /**187 * Lookup30: pallet_collator_selection::pallet::Event<T>190 * Lookup31: pallet_collator_selection::pallet::Event<T>188 **/191 **/189 PalletCollatorSelectionEvent: {192 PalletCollatorSelectionEvent: {190 _enum: {193 _enum: {211 }214 }212 },215 },213 /**216 /**214 * Lookup31: pallet_session::pallet::Event217 * Lookup32: pallet_session::pallet::Event215 **/218 **/216 PalletSessionEvent: {219 PalletSessionEvent: {217 _enum: {220 _enum: {221 }224 }222 },225 },223 /**226 /**224 * Lookup32: pallet_balances::pallet::Event<T, I>227 * Lookup33: pallet_balances::pallet::Event<T, I>225 **/228 **/226 PalletBalancesEvent: {229 PalletBalancesEvent: {227 _enum: {230 _enum: {272 }275 }273 },276 },274 /**277 /**275 * Lookup33: frame_support::traits::tokens::misc::BalanceStatus278 * Lookup34: frame_support::traits::tokens::misc::BalanceStatus276 **/279 **/277 FrameSupportTokensMiscBalanceStatus: {280 FrameSupportTokensMiscBalanceStatus: {278 _enum: ['Free', 'Reserved']281 _enum: ['Free', 'Reserved']279 },282 },280 /**283 /**281 * Lookup34: pallet_transaction_payment::pallet::Event<T>284 * Lookup35: pallet_transaction_payment::pallet::Event<T>282 **/285 **/283 PalletTransactionPaymentEvent: {286 PalletTransactionPaymentEvent: {284 _enum: {287 _enum: {290 }293 }291 },294 },292 /**295 /**293 * Lookup35: pallet_treasury::pallet::Event<T, I>296 * Lookup36: pallet_treasury::pallet::Event<T, I>294 **/297 **/295 PalletTreasuryEvent: {298 PalletTreasuryEvent: {296 _enum: {299 _enum: {330 }333 }331 },334 },332 /**335 /**333 * Lookup36: pallet_sudo::pallet::Event<T>336 * Lookup37: pallet_sudo::pallet::Event<T>334 **/337 **/335 PalletSudoEvent: {338 PalletSudoEvent: {336 _enum: {339 _enum: {346 }349 }347 },350 },348 /**351 /**349 * Lookup40: orml_vesting::module::Event<T>352 * Lookup41: orml_vesting::module::Event<T>350 **/353 **/351 OrmlVestingModuleEvent: {354 OrmlVestingModuleEvent: {352 _enum: {355 _enum: {365 }368 }366 },369 },367 /**370 /**368 * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>371 * Lookup42: orml_vesting::VestingSchedule<BlockNumber, Balance>369 **/372 **/370 OrmlVestingVestingSchedule: {373 OrmlVestingVestingSchedule: {371 start: 'u32',374 start: 'u32',374 perPeriod: 'Compact<u128>'377 perPeriod: 'Compact<u128>'375 },378 },376 /**379 /**377 * Lookup43: orml_xtokens::module::Event<T>380 * Lookup44: orml_xtokens::module::Event<T>378 **/381 **/379 OrmlXtokensModuleEvent: {382 OrmlXtokensModuleEvent: {380 _enum: {383 _enum: {381 TransferredMultiAssets: {384 TransferredMultiAssets: {382 sender: 'AccountId32',385 sender: 'AccountId32',383 assets: 'XcmV1MultiassetMultiAssets',386 assets: 'XcmV3MultiassetMultiAssets',384 fee: 'XcmV1MultiAsset',387 fee: 'XcmV3MultiAsset',385 dest: 'XcmV1MultiLocation'388 dest: 'XcmV3MultiLocation'386 }389 }387 }390 }388 },391 },389 /**392 /**390 * Lookup44: xcm::v1::multiasset::MultiAssets393 * Lookup45: xcm::v3::multiasset::MultiAssets391 **/394 **/392 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',395 XcmV3MultiassetMultiAssets: 'Vec<XcmV3MultiAsset>',393 /**396 /**394 * Lookup46: xcm::v1::multiasset::MultiAsset397 * Lookup47: xcm::v3::multiasset::MultiAsset395 **/398 **/396 XcmV1MultiAsset: {399 XcmV3MultiAsset: {397 id: 'XcmV1MultiassetAssetId',400 id: 'XcmV3MultiassetAssetId',398 fun: 'XcmV1MultiassetFungibility'401 fun: 'XcmV3MultiassetFungibility'399 },402 },400 /**403 /**401 * Lookup47: xcm::v1::multiasset::AssetId404 * Lookup48: xcm::v3::multiasset::AssetId402 **/405 **/403 XcmV1MultiassetAssetId: {406 XcmV3MultiassetAssetId: {404 _enum: {407 _enum: {405 Concrete: 'XcmV1MultiLocation',408 Concrete: 'XcmV3MultiLocation',406 Abstract: 'Bytes'409 Abstract: '[u8;32]'407 }410 }408 },411 },409 /**412 /**410 * Lookup48: xcm::v1::multilocation::MultiLocation413 * Lookup49: xcm::v3::multilocation::MultiLocation411 **/414 **/412 XcmV1MultiLocation: {415 XcmV3MultiLocation: {413 parents: 'u8',416 parents: 'u8',414 interior: 'XcmV1MultilocationJunctions'417 interior: 'XcmV3Junctions'415 },418 },416 /**419 /**417 * Lookup49: xcm::v1::multilocation::Junctions420 * Lookup50: xcm::v3::junctions::Junctions418 **/421 **/419 XcmV1MultilocationJunctions: {422 XcmV3Junctions: {420 _enum: {423 _enum: {421 Here: 'Null',424 Here: 'Null',422 X1: 'XcmV1Junction',425 X1: 'XcmV3Junction',423 X2: '(XcmV1Junction,XcmV1Junction)',426 X2: '(XcmV3Junction,XcmV3Junction)',424 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',427 X3: '(XcmV3Junction,XcmV3Junction,XcmV3Junction)',425 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',428 X4: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',426 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',429 X5: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',427 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',430 X6: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',428 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',431 X7: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',429 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'432 X8: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)'430 }433 }431 },434 },432 /**435 /**433 * Lookup50: xcm::v1::junction::Junction436 * Lookup51: xcm::v3::junction::Junction434 **/437 **/435 XcmV1Junction: {438 XcmV3Junction: {436 _enum: {439 _enum: {437 Parachain: 'Compact<u32>',440 Parachain: 'Compact<u32>',438 AccountId32: {441 AccountId32: {439 network: 'XcmV0JunctionNetworkId',442 network: 'Option<XcmV3JunctionNetworkId>',440 id: '[u8;32]',443 id: '[u8;32]',441 },444 },442 AccountIndex64: {445 AccountIndex64: {443 network: 'XcmV0JunctionNetworkId',446 network: 'Option<XcmV3JunctionNetworkId>',444 index: 'Compact<u64>',447 index: 'Compact<u64>',445 },448 },446 AccountKey20: {449 AccountKey20: {447 network: 'XcmV0JunctionNetworkId',450 network: 'Option<XcmV3JunctionNetworkId>',448 key: '[u8;20]',451 key: '[u8;20]',449 },452 },450 PalletInstance: 'u8',453 PalletInstance: 'u8',451 GeneralIndex: 'Compact<u128>',454 GeneralIndex: 'Compact<u128>',452 GeneralKey: 'Bytes',455 GeneralKey: {456 length: 'u8',457 data: '[u8;32]',458 },453 OnlyChild: 'Null',459 OnlyChild: 'Null',454 Plurality: {460 Plurality: {455 id: 'XcmV0JunctionBodyId',461 id: 'XcmV3JunctionBodyId',456 part: 'XcmV0JunctionBodyPart'462 part: 'XcmV3JunctionBodyPart',457 }463 },464 GlobalConsensus: 'XcmV3JunctionNetworkId'458 }465 }459 },466 },460 /**467 /**461 * Lookup52: xcm::v0::junction::NetworkId468 * Lookup54: xcm::v3::junction::NetworkId462 **/469 **/463 XcmV0JunctionNetworkId: {470 XcmV3JunctionNetworkId: {464 _enum: {471 _enum: {465 Any: 'Null',472 ByGenesis: '[u8;32]',466 Named: 'Bytes',473 ByFork: {474 blockNumber: 'u64',475 blockHash: '[u8;32]',476 },467 Polkadot: 'Null',477 Polkadot: 'Null',468 Kusama: 'Null'478 Kusama: 'Null',479 Westend: 'Null',480 Rococo: 'Null',481 Wococo: 'Null',482 Ethereum: {483 chainId: 'Compact<u64>',484 },485 BitcoinCore: 'Null',486 BitcoinCash: 'Null'469 }487 }470 },488 },471 /**489 /**472 * Lookup55: xcm::v0::junction::BodyId490 * Lookup56: xcm::v3::junction::BodyId473 **/491 **/474 XcmV0JunctionBodyId: {492 XcmV3JunctionBodyId: {475 _enum: {493 _enum: {476 Unit: 'Null',494 Unit: 'Null',477 Named: 'Bytes',495 Moniker: '[u8;4]',478 Index: 'Compact<u32>',496 Index: 'Compact<u32>',479 Executive: 'Null',497 Executive: 'Null',480 Technical: 'Null',498 Technical: 'Null',486 }504 }487 },505 },488 /**506 /**489 * Lookup56: xcm::v0::junction::BodyPart507 * Lookup57: xcm::v3::junction::BodyPart490 **/508 **/491 XcmV0JunctionBodyPart: {509 XcmV3JunctionBodyPart: {492 _enum: {510 _enum: {493 Voice: 'Null',511 Voice: 'Null',494 Members: {512 Members: {509 }527 }510 },528 },511 /**529 /**512 * Lookup57: xcm::v1::multiasset::Fungibility530 * Lookup58: xcm::v3::multiasset::Fungibility513 **/531 **/514 XcmV1MultiassetFungibility: {532 XcmV3MultiassetFungibility: {515 _enum: {533 _enum: {516 Fungible: 'Compact<u128>',534 Fungible: 'Compact<u128>',517 NonFungible: 'XcmV1MultiassetAssetInstance'535 NonFungible: 'XcmV3MultiassetAssetInstance'518 }536 }519 },537 },520 /**538 /**521 * Lookup58: xcm::v1::multiasset::AssetInstance539 * Lookup59: xcm::v3::multiasset::AssetInstance522 **/540 **/523 XcmV1MultiassetAssetInstance: {541 XcmV3MultiassetAssetInstance: {524 _enum: {542 _enum: {525 Undefined: 'Null',543 Undefined: 'Null',526 Index: 'Compact<u128>',544 Index: 'Compact<u128>',527 Array4: '[u8;4]',545 Array4: '[u8;4]',528 Array8: '[u8;8]',546 Array8: '[u8;8]',529 Array16: '[u8;16]',547 Array16: '[u8;16]',530 Array32: '[u8;32]',548 Array32: '[u8;32]'531 Blob: 'Bytes'532 }549 }533 },550 },534 /**551 /**535 * Lookup61: orml_tokens::module::Event<T>552 * Lookup62: orml_tokens::module::Event<T>536 **/553 **/537 OrmlTokensModuleEvent: {554 OrmlTokensModuleEvent: {538 _enum: {555 _enum: {604 LockRemoved: {621 LockRemoved: {605 lockId: '[u8;8]',622 lockId: '[u8;8]',606 currencyId: 'PalletForeignAssetsAssetIds',623 currencyId: 'PalletForeignAssetsAssetIds',607 who: 'AccountId32'624 who: 'AccountId32',625 },626 Locked: {627 currencyId: 'PalletForeignAssetsAssetIds',628 who: 'AccountId32',629 amount: 'u128',630 },631 Unlocked: {632 currencyId: 'PalletForeignAssetsAssetIds',633 who: 'AccountId32',634 amount: 'u128'608 }635 }609 }636 }610 },637 },611 /**638 /**612 * Lookup62: pallet_foreign_assets::AssetIds639 * Lookup63: pallet_foreign_assets::AssetIds613 **/640 **/614 PalletForeignAssetsAssetIds: {641 PalletForeignAssetsAssetIds: {615 _enum: {642 _enum: {618 }645 }619 },646 },620 /**647 /**621 * Lookup63: pallet_foreign_assets::NativeCurrency648 * Lookup64: pallet_foreign_assets::NativeCurrency622 **/649 **/623 PalletForeignAssetsNativeCurrency: {650 PalletForeignAssetsNativeCurrency: {624 _enum: ['Here', 'Parent']651 _enum: ['Here', 'Parent']625 },652 },626 /**653 /**627 * Lookup64: pallet_identity::pallet::Event<T>654 * Lookup65: pallet_identity::pallet::Event<T>628 **/655 **/629 PalletIdentityEvent: {656 PalletIdentityEvent: {630 _enum: {657 _enum: {681 }708 }682 },709 },683 /**710 /**684 * Lookup65: pallet_preimage::pallet::Event<T>711 * Lookup66: pallet_preimage::pallet::Event<T>685 **/712 **/686 PalletPreimageEvent: {713 PalletPreimageEvent: {687 _enum: {714 _enum: {706 }733 }707 },734 },708 /**735 /**709 * Lookup66: cumulus_pallet_xcmp_queue::pallet::Event<T>736 * Lookup67: cumulus_pallet_xcmp_queue::pallet::Event<T>710 **/737 **/711 CumulusPalletXcmpQueueEvent: {738 CumulusPalletXcmpQueueEvent: {712 _enum: {739 _enum: {713 Success: {740 Success: {714 messageHash: 'Option<H256>',741 messageHash: 'Option<[u8;32]>',715 weight: 'SpWeightsWeightV2Weight',742 weight: 'SpWeightsWeightV2Weight',716 },743 },717 Fail: {744 Fail: {718 messageHash: 'Option<H256>',745 messageHash: 'Option<[u8;32]>',719 error: 'XcmV2TraitsError',746 error: 'XcmV3TraitsError',720 weight: 'SpWeightsWeightV2Weight',747 weight: 'SpWeightsWeightV2Weight',721 },748 },722 BadVersion: {749 BadVersion: {723 messageHash: 'Option<H256>',750 messageHash: 'Option<[u8;32]>',724 },751 },725 BadFormat: {752 BadFormat: {726 messageHash: 'Option<H256>',753 messageHash: 'Option<[u8;32]>',727 },754 },728 UpwardMessageSent: {729 messageHash: 'Option<H256>',730 },731 XcmpMessageSent: {755 XcmpMessageSent: {732 messageHash: 'Option<H256>',756 messageHash: 'Option<[u8;32]>',733 },757 },734 OverweightEnqueued: {758 OverweightEnqueued: {735 sender: 'u32',759 sender: 'u32',744 }768 }745 },769 },746 /**770 /**747 * Lookup68: xcm::v2::traits::Error771 * Lookup68: xcm::v3::traits::Error748 **/772 **/749 XcmV2TraitsError: {773 XcmV3TraitsError: {750 _enum: {774 _enum: {751 Overflow: 'Null',775 Overflow: 'Null',752 Unimplemented: 'Null',776 Unimplemented: 'Null',753 UntrustedReserveLocation: 'Null',777 UntrustedReserveLocation: 'Null',754 UntrustedTeleportLocation: 'Null',778 UntrustedTeleportLocation: 'Null',755 MultiLocationFull: 'Null',779 LocationFull: 'Null',756 MultiLocationNotInvertible: 'Null',780 LocationNotInvertible: 'Null',757 BadOrigin: 'Null',781 BadOrigin: 'Null',758 InvalidLocation: 'Null',782 InvalidLocation: 'Null',759 AssetNotFound: 'Null',783 AssetNotFound: 'Null',770 NotHoldingFees: 'Null',794 NotHoldingFees: 'Null',771 TooExpensive: 'Null',795 TooExpensive: 'Null',772 Trap: 'u64',796 Trap: 'u64',797 ExpectationFalse: 'Null',798 PalletNotFound: 'Null',799 NameMismatch: 'Null',800 VersionIncompatible: 'Null',801 HoldingWouldOverflow: 'Null',802 ExportError: 'Null',803 ReanchorFailed: 'Null',804 NoDeal: 'Null',805 FeesNotMet: 'Null',806 LockError: 'Null',807 NoPermission: 'Null',808 Unanchored: 'Null',809 NotDepositable: 'Null',773 UnhandledXcmVersion: 'Null',810 UnhandledXcmVersion: 'Null',774 WeightLimitReached: 'u64',811 WeightLimitReached: 'SpWeightsWeightV2Weight',775 Barrier: 'Null',812 Barrier: 'Null',776 WeightNotComputable: 'Null'813 WeightNotComputable: 'Null',814 ExceedsStackLimit: 'Null'777 }815 }778 },816 },779 /**817 /**780 * Lookup70: pallet_xcm::pallet::Event<T>818 * Lookup70: pallet_xcm::pallet::Event<T>781 **/819 **/782 PalletXcmEvent: {820 PalletXcmEvent: {783 _enum: {821 _enum: {784 Attempted: 'XcmV2TraitsOutcome',822 Attempted: 'XcmV3TraitsOutcome',785 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',823 Sent: '(XcmV3MultiLocation,XcmV3MultiLocation,XcmV3Xcm)',786 UnexpectedResponse: '(XcmV1MultiLocation,u64)',824 UnexpectedResponse: '(XcmV3MultiLocation,u64)',787 ResponseReady: '(u64,XcmV2Response)',825 ResponseReady: '(u64,XcmV3Response)',788 Notified: '(u64,u8,u8)',826 Notified: '(u64,u8,u8)',789 NotifyOverweight: '(u64,u8,u8,SpWeightsWeightV2Weight,SpWeightsWeightV2Weight)',827 NotifyOverweight: '(u64,u8,u8,SpWeightsWeightV2Weight,SpWeightsWeightV2Weight)',790 NotifyDispatchError: '(u64,u8,u8)',828 NotifyDispatchError: '(u64,u8,u8)',791 NotifyDecodeFailed: '(u64,u8,u8)',829 NotifyDecodeFailed: '(u64,u8,u8)',792 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',830 InvalidResponder: '(XcmV3MultiLocation,u64,Option<XcmV3MultiLocation>)',793 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',831 InvalidResponderVersion: '(XcmV3MultiLocation,u64)',794 ResponseTaken: 'u64',832 ResponseTaken: 'u64',795 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',833 AssetsTrapped: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)',796 VersionChangeNotified: '(XcmV1MultiLocation,u32)',834 VersionChangeNotified: '(XcmV3MultiLocation,u32,XcmV3MultiassetMultiAssets)',797 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',835 SupportedVersionChanged: '(XcmV3MultiLocation,u32)',798 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',836 NotifyTargetSendFail: '(XcmV3MultiLocation,u64,XcmV3TraitsError)',799 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)',837 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)',800 AssetsClaimed: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)'838 InvalidQuerierVersion: '(XcmV3MultiLocation,u64)',839 InvalidQuerier: '(XcmV3MultiLocation,u64,XcmV3MultiLocation,Option<XcmV3MultiLocation>)',840 VersionNotifyStarted: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',841 VersionNotifyRequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',842 VersionNotifyUnrequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',843 FeesPaid: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',844 AssetsClaimed: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)'801 }845 }802 },846 },803 /**847 /**804 * Lookup71: xcm::v2::traits::Outcome848 * Lookup71: xcm::v3::traits::Outcome805 **/849 **/806 XcmV2TraitsOutcome: {850 XcmV3TraitsOutcome: {807 _enum: {851 _enum: {808 Complete: 'u64',852 Complete: 'SpWeightsWeightV2Weight',809 Incomplete: '(u64,XcmV2TraitsError)',853 Incomplete: '(SpWeightsWeightV2Weight,XcmV3TraitsError)',810 Error: 'XcmV2TraitsError'854 Error: 'XcmV3TraitsError'811 }855 }812 },856 },813 /**857 /**814 * Lookup72: xcm::v2::Xcm<RuntimeCall>858 * Lookup72: xcm::v3::Xcm<Call>815 **/859 **/816 XcmV2Xcm: 'Vec<XcmV2Instruction>',860 XcmV3Xcm: 'Vec<XcmV3Instruction>',817 /**861 /**818 * Lookup74: xcm::v2::Instruction<RuntimeCall>862 * Lookup74: xcm::v3::Instruction<Call>819 **/863 **/820 XcmV2Instruction: {864 XcmV3Instruction: {821 _enum: {865 _enum: {822 WithdrawAsset: 'XcmV1MultiassetMultiAssets',866 WithdrawAsset: 'XcmV3MultiassetMultiAssets',823 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',867 ReserveAssetDeposited: 'XcmV3MultiassetMultiAssets',824 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',868 ReceiveTeleportedAsset: 'XcmV3MultiassetMultiAssets',825 QueryResponse: {869 QueryResponse: {826 queryId: 'Compact<u64>',870 queryId: 'Compact<u64>',827 response: 'XcmV2Response',871 response: 'XcmV3Response',828 maxWeight: 'Compact<u64>',872 maxWeight: 'SpWeightsWeightV2Weight',873 querier: 'Option<XcmV3MultiLocation>',829 },874 },830 TransferAsset: {875 TransferAsset: {831 assets: 'XcmV1MultiassetMultiAssets',876 assets: 'XcmV3MultiassetMultiAssets',832 beneficiary: 'XcmV1MultiLocation',877 beneficiary: 'XcmV3MultiLocation',833 },878 },834 TransferReserveAsset: {879 TransferReserveAsset: {835 assets: 'XcmV1MultiassetMultiAssets',880 assets: 'XcmV3MultiassetMultiAssets',836 dest: 'XcmV1MultiLocation',881 dest: 'XcmV3MultiLocation',837 xcm: 'XcmV2Xcm',882 xcm: 'XcmV3Xcm',838 },883 },839 Transact: {884 Transact: {840 originType: 'XcmV0OriginKind',885 originKind: 'XcmV2OriginKind',841 requireWeightAtMost: 'Compact<u64>',886 requireWeightAtMost: 'SpWeightsWeightV2Weight',842 call: 'XcmDoubleEncoded',887 call: 'XcmDoubleEncoded',843 },888 },844 HrmpNewChannelOpenRequest: {889 HrmpNewChannelOpenRequest: {855 recipient: 'Compact<u32>',900 recipient: 'Compact<u32>',856 },901 },857 ClearOrigin: 'Null',902 ClearOrigin: 'Null',858 DescendOrigin: 'XcmV1MultilocationJunctions',903 DescendOrigin: 'XcmV3Junctions',859 ReportError: {904 ReportError: 'XcmV3QueryResponseInfo',860 queryId: 'Compact<u64>',861 dest: 'XcmV1MultiLocation',862 maxResponseWeight: 'Compact<u64>',863 },864 DepositAsset: {905 DepositAsset: {865 assets: 'XcmV1MultiassetMultiAssetFilter',906 assets: 'XcmV3MultiassetMultiAssetFilter',866 maxAssets: 'Compact<u32>',907 beneficiary: 'XcmV3MultiLocation',867 beneficiary: 'XcmV1MultiLocation',868 },908 },869 DepositReserveAsset: {909 DepositReserveAsset: {870 assets: 'XcmV1MultiassetMultiAssetFilter',910 assets: 'XcmV3MultiassetMultiAssetFilter',871 maxAssets: 'Compact<u32>',911 dest: 'XcmV3MultiLocation',872 dest: 'XcmV1MultiLocation',873 xcm: 'XcmV2Xcm',912 xcm: 'XcmV3Xcm',874 },913 },875 ExchangeAsset: {914 ExchangeAsset: {876 give: 'XcmV1MultiassetMultiAssetFilter',915 give: 'XcmV3MultiassetMultiAssetFilter',877 receive: 'XcmV1MultiassetMultiAssets',916 want: 'XcmV3MultiassetMultiAssets',917 maximal: 'bool',878 },918 },879 InitiateReserveWithdraw: {919 InitiateReserveWithdraw: {880 assets: 'XcmV1MultiassetMultiAssetFilter',920 assets: 'XcmV3MultiassetMultiAssetFilter',881 reserve: 'XcmV1MultiLocation',921 reserve: 'XcmV3MultiLocation',882 xcm: 'XcmV2Xcm',922 xcm: 'XcmV3Xcm',883 },923 },884 InitiateTeleport: {924 InitiateTeleport: {885 assets: 'XcmV1MultiassetMultiAssetFilter',925 assets: 'XcmV3MultiassetMultiAssetFilter',886 dest: 'XcmV1MultiLocation',926 dest: 'XcmV3MultiLocation',887 xcm: 'XcmV2Xcm',927 xcm: 'XcmV3Xcm',888 },928 },889 QueryHolding: {929 ReportHolding: {890 queryId: 'Compact<u64>',930 responseInfo: 'XcmV3QueryResponseInfo',891 dest: 'XcmV1MultiLocation',931 assets: 'XcmV3MultiassetMultiAssetFilter',892 assets: 'XcmV1MultiassetMultiAssetFilter',893 maxResponseWeight: 'Compact<u64>',894 },932 },895 BuyExecution: {933 BuyExecution: {896 fees: 'XcmV1MultiAsset',934 fees: 'XcmV3MultiAsset',897 weightLimit: 'XcmV2WeightLimit',935 weightLimit: 'XcmV3WeightLimit',898 },936 },899 RefundSurplus: 'Null',937 RefundSurplus: 'Null',900 SetErrorHandler: 'XcmV2Xcm',938 SetErrorHandler: 'XcmV3Xcm',901 SetAppendix: 'XcmV2Xcm',939 SetAppendix: 'XcmV3Xcm',902 ClearError: 'Null',940 ClearError: 'Null',903 ClaimAsset: {941 ClaimAsset: {904 assets: 'XcmV1MultiassetMultiAssets',942 assets: 'XcmV3MultiassetMultiAssets',905 ticket: 'XcmV1MultiLocation',943 ticket: 'XcmV3MultiLocation',906 },944 },907 Trap: 'Compact<u64>',945 Trap: 'Compact<u64>',908 SubscribeVersion: {946 SubscribeVersion: {909 queryId: 'Compact<u64>',947 queryId: 'Compact<u64>',910 maxResponseWeight: 'Compact<u64>',948 maxResponseWeight: 'SpWeightsWeightV2Weight',911 },949 },912 UnsubscribeVersion: 'Null'950 UnsubscribeVersion: 'Null',951 BurnAsset: 'XcmV3MultiassetMultiAssets',952 ExpectAsset: 'XcmV3MultiassetMultiAssets',953 ExpectOrigin: 'Option<XcmV3MultiLocation>',954 ExpectError: 'Option<(u32,XcmV3TraitsError)>',955 ExpectTransactStatus: 'XcmV3MaybeErrorCode',956 QueryPallet: {957 moduleName: 'Bytes',958 responseInfo: 'XcmV3QueryResponseInfo',959 },960 ExpectPallet: {961 index: 'Compact<u32>',962 name: 'Bytes',963 moduleName: 'Bytes',964 crateMajor: 'Compact<u32>',965 minCrateMinor: 'Compact<u32>',966 },967 ReportTransactStatus: 'XcmV3QueryResponseInfo',968 ClearTransactStatus: 'Null',969 UniversalOrigin: 'XcmV3Junction',970 ExportMessage: {971 network: 'XcmV3JunctionNetworkId',972 destination: 'XcmV3Junctions',973 xcm: 'XcmV3Xcm',974 },975 LockAsset: {976 asset: 'XcmV3MultiAsset',977 unlocker: 'XcmV3MultiLocation',978 },979 UnlockAsset: {980 asset: 'XcmV3MultiAsset',981 target: 'XcmV3MultiLocation',982 },983 NoteUnlockable: {984 asset: 'XcmV3MultiAsset',985 owner: 'XcmV3MultiLocation',986 },987 RequestUnlock: {988 asset: 'XcmV3MultiAsset',989 locker: 'XcmV3MultiLocation',990 },991 SetFeesMode: {992 jitWithdraw: 'bool',993 },994 SetTopic: '[u8;32]',995 ClearTopic: 'Null',996 AliasOrigin: 'XcmV3MultiLocation',997 UnpaidExecution: {998 weightLimit: 'XcmV3WeightLimit',999 checkOrigin: 'Option<XcmV3MultiLocation>'1000 }913 }1001 }914 },1002 },915 /**1003 /**916 * Lookup75: xcm::v2::Response1004 * Lookup75: xcm::v3::Response917 **/1005 **/918 XcmV2Response: {1006 XcmV3Response: {919 _enum: {1007 _enum: {920 Null: 'Null',1008 Null: 'Null',921 Assets: 'XcmV1MultiassetMultiAssets',1009 Assets: 'XcmV3MultiassetMultiAssets',922 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1010 ExecutionResult: 'Option<(u32,XcmV3TraitsError)>',923 Version: 'u32'1011 Version: 'u32',1012 PalletsInfo: 'Vec<XcmV3PalletInfo>',1013 DispatchResult: 'XcmV3MaybeErrorCode'924 }1014 }925 },1015 },926 /**1016 /**927 * Lookup78: xcm::v0::OriginKind1017 * Lookup79: xcm::v3::PalletInfo928 **/1018 **/929 XcmV0OriginKind: {1019 XcmV3PalletInfo: {1020 index: 'Compact<u32>',1021 name: 'Bytes',1022 moduleName: 'Bytes',1023 major: 'Compact<u32>',1024 minor: 'Compact<u32>',1025 patch: 'Compact<u32>'1026 },1027 /**1028 * Lookup82: xcm::v3::MaybeErrorCode1029 **/1030 XcmV3MaybeErrorCode: {1031 _enum: {1032 Success: 'Null',1033 Error: 'Bytes',1034 TruncatedError: 'Bytes'1035 }1036 },1037 /**1038 * Lookup85: xcm::v2::OriginKind1039 **/1040 XcmV2OriginKind: {930 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']1041 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']931 },1042 },932 /**1043 /**933 * Lookup79: xcm::double_encoded::DoubleEncoded<T>1044 * Lookup86: xcm::double_encoded::DoubleEncoded<T>934 **/1045 **/935 XcmDoubleEncoded: {1046 XcmDoubleEncoded: {936 encoded: 'Bytes'1047 encoded: 'Bytes'937 },1048 },938 /**1049 /**939 * Lookup80: xcm::v1::multiasset::MultiAssetFilter1050 * Lookup87: xcm::v3::QueryResponseInfo940 **/1051 **/941 XcmV1MultiassetMultiAssetFilter: {1052 XcmV3QueryResponseInfo: {1053 destination: 'XcmV3MultiLocation',1054 queryId: 'Compact<u64>',1055 maxWeight: 'SpWeightsWeightV2Weight'1056 },1057 /**1058 * Lookup88: xcm::v3::multiasset::MultiAssetFilter1059 **/1060 XcmV3MultiassetMultiAssetFilter: {942 _enum: {1061 _enum: {943 Definite: 'XcmV1MultiassetMultiAssets',1062 Definite: 'XcmV3MultiassetMultiAssets',944 Wild: 'XcmV1MultiassetWildMultiAsset'1063 Wild: 'XcmV3MultiassetWildMultiAsset'945 }1064 }946 },1065 },947 /**1066 /**948 * Lookup81: xcm::v1::multiasset::WildMultiAsset1067 * Lookup89: xcm::v3::multiasset::WildMultiAsset949 **/1068 **/950 XcmV1MultiassetWildMultiAsset: {1069 XcmV3MultiassetWildMultiAsset: {951 _enum: {1070 _enum: {952 All: 'Null',1071 All: 'Null',953 AllOf: {1072 AllOf: {954 id: 'XcmV1MultiassetAssetId',1073 id: 'XcmV3MultiassetAssetId',955 fun: 'XcmV1MultiassetWildFungibility'1074 fun: 'XcmV3MultiassetWildFungibility',1075 },1076 AllCounted: 'Compact<u32>',1077 AllOfCounted: {1078 id: 'XcmV3MultiassetAssetId',1079 fun: 'XcmV3MultiassetWildFungibility',1080 count: 'Compact<u32>'956 }1081 }957 }1082 }958 },1083 },959 /**1084 /**960 * Lookup82: xcm::v1::multiasset::WildFungibility1085 * Lookup90: xcm::v3::multiasset::WildFungibility961 **/1086 **/962 XcmV1MultiassetWildFungibility: {1087 XcmV3MultiassetWildFungibility: {963 _enum: ['Fungible', 'NonFungible']1088 _enum: ['Fungible', 'NonFungible']964 },1089 },965 /**1090 /**966 * Lookup83: xcm::v2::WeightLimit1091 * Lookup92: xcm::v3::WeightLimit967 **/1092 **/968 XcmV2WeightLimit: {1093 XcmV3WeightLimit: {969 _enum: {1094 _enum: {970 Unlimited: 'Null',1095 Unlimited: 'Null',971 Limited: 'Compact<u64>'1096 Limited: 'SpWeightsWeightV2Weight'972 }1097 }973 },1098 },974 /**1099 /**975 * Lookup85: xcm::VersionedMultiAssets1100 * Lookup93: xcm::VersionedMultiAssets976 **/1101 **/977 XcmVersionedMultiAssets: {1102 XcmVersionedMultiAssets: {978 _enum: {1103 _enum: {979 V0: 'Vec<XcmV0MultiAsset>',1104 __Unused0: 'Null',980 V1: 'XcmV1MultiassetMultiAssets'1105 V2: 'XcmV2MultiassetMultiAssets',1106 __Unused2: 'Null',1107 V3: 'XcmV3MultiassetMultiAssets'981 }1108 }982 },1109 },983 /**1110 /**984 * Lookup87: xcm::v0::multi_asset::MultiAsset1111 * Lookup94: xcm::v2::multiasset::MultiAssets985 **/1112 **/986 XcmV0MultiAsset: {1113 XcmV2MultiassetMultiAssets: 'Vec<XcmV2MultiAsset>',1114 /**1115 * Lookup96: xcm::v2::multiasset::MultiAsset1116 **/1117 XcmV2MultiAsset: {1118 id: 'XcmV2MultiassetAssetId',1119 fun: 'XcmV2MultiassetFungibility'1120 },1121 /**1122 * Lookup97: xcm::v2::multiasset::AssetId1123 **/1124 XcmV2MultiassetAssetId: {987 _enum: {1125 _enum: {988 None: 'Null',1126 Concrete: 'XcmV2MultiLocation',989 All: 'Null',1127 Abstract: 'Bytes'990 AllFungible: 'Null',991 AllNonFungible: 'Null',992 AllAbstractFungible: {993 id: 'Bytes',994 },995 AllAbstractNonFungible: {996 class: 'Bytes',997 },998 AllConcreteFungible: {999 id: 'XcmV0MultiLocation',1000 },1001 AllConcreteNonFungible: {1002 class: 'XcmV0MultiLocation',1003 },1004 AbstractFungible: {1005 id: 'Bytes',1006 amount: 'Compact<u128>',1007 },1008 AbstractNonFungible: {1009 class: 'Bytes',1010 instance: 'XcmV1MultiassetAssetInstance',1011 },1012 ConcreteFungible: {1013 id: 'XcmV0MultiLocation',1014 amount: 'Compact<u128>',1015 },1016 ConcreteNonFungible: {1017 class: 'XcmV0MultiLocation',1018 instance: 'XcmV1MultiassetAssetInstance'1019 }1020 }1128 }1021 },1129 },1022 /**1130 /**1023 * Lookup88: xcm::v0::multi_location::MultiLocation1131 * Lookup98: xcm::v2::multilocation::MultiLocation1024 **/1132 **/1025 XcmV0MultiLocation: {1133 XcmV2MultiLocation: {1134 parents: 'u8',1135 interior: 'XcmV2MultilocationJunctions'1136 },1137 /**1138 * Lookup99: xcm::v2::multilocation::Junctions1139 **/1140 XcmV2MultilocationJunctions: {1026 _enum: {1141 _enum: {1027 Null: 'Null',1142 Here: 'Null',1028 X1: 'XcmV0Junction',1143 X1: 'XcmV2Junction',1029 X2: '(XcmV0Junction,XcmV0Junction)',1144 X2: '(XcmV2Junction,XcmV2Junction)',1030 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',1145 X3: '(XcmV2Junction,XcmV2Junction,XcmV2Junction)',1031 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',1146 X4: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',1032 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',1147 X5: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',1033 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',1148 X6: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',1034 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',1149 X7: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',1035 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'1150 X8: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)'1036 }1151 }1037 },1152 },1038 /**1153 /**1039 * Lookup89: xcm::v0::junction::Junction1154 * Lookup100: xcm::v2::junction::Junction1040 **/1155 **/1041 XcmV0Junction: {1156 XcmV2Junction: {1042 _enum: {1157 _enum: {1043 Parent: 'Null',1044 Parachain: 'Compact<u32>',1158 Parachain: 'Compact<u32>',1045 AccountId32: {1159 AccountId32: {1046 network: 'XcmV0JunctionNetworkId',1160 network: 'XcmV2NetworkId',1047 id: '[u8;32]',1161 id: '[u8;32]',1048 },1162 },1049 AccountIndex64: {1163 AccountIndex64: {1050 network: 'XcmV0JunctionNetworkId',1164 network: 'XcmV2NetworkId',1051 index: 'Compact<u64>',1165 index: 'Compact<u64>',1052 },1166 },1053 AccountKey20: {1167 AccountKey20: {1054 network: 'XcmV0JunctionNetworkId',1168 network: 'XcmV2NetworkId',1055 key: '[u8;20]',1169 key: '[u8;20]',1056 },1170 },1057 PalletInstance: 'u8',1171 PalletInstance: 'u8',1058 GeneralIndex: 'Compact<u128>',1172 GeneralIndex: 'Compact<u128>',1059 GeneralKey: 'Bytes',1173 GeneralKey: 'Bytes',1060 OnlyChild: 'Null',1174 OnlyChild: 'Null',1061 Plurality: {1175 Plurality: {1062 id: 'XcmV0JunctionBodyId',1176 id: 'XcmV2BodyId',1063 part: 'XcmV0JunctionBodyPart'1177 part: 'XcmV2BodyPart'1064 }1178 }1065 }1179 }1066 },1180 },1067 /**1181 /**1068 * Lookup90: xcm::VersionedMultiLocation1182 * Lookup101: xcm::v2::NetworkId1069 **/1183 **/1184 XcmV2NetworkId: {1185 _enum: {1186 Any: 'Null',1187 Named: 'Bytes',1188 Polkadot: 'Null',1189 Kusama: 'Null'1190 }1191 },1192 /**1193 * Lookup103: xcm::v2::BodyId1194 **/1195 XcmV2BodyId: {1196 _enum: {1197 Unit: 'Null',1198 Named: 'Bytes',1199 Index: 'Compact<u32>',1200 Executive: 'Null',1201 Technical: 'Null',1202 Legislative: 'Null',1203 Judicial: 'Null',1204 Defense: 'Null',1205 Administration: 'Null',1206 Treasury: 'Null'1207 }1208 },1209 /**1210 * Lookup104: xcm::v2::BodyPart1211 **/1212 XcmV2BodyPart: {1213 _enum: {1214 Voice: 'Null',1215 Members: {1216 count: 'Compact<u32>',1217 },1218 Fraction: {1219 nom: 'Compact<u32>',1220 denom: 'Compact<u32>',1221 },1222 AtLeastProportion: {1223 nom: 'Compact<u32>',1224 denom: 'Compact<u32>',1225 },1226 MoreThanProportion: {1227 nom: 'Compact<u32>',1228 denom: 'Compact<u32>'1229 }1230 }1231 },1232 /**1233 * Lookup105: xcm::v2::multiasset::Fungibility1234 **/1235 XcmV2MultiassetFungibility: {1236 _enum: {1237 Fungible: 'Compact<u128>',1238 NonFungible: 'XcmV2MultiassetAssetInstance'1239 }1240 },1241 /**1242 * Lookup106: xcm::v2::multiasset::AssetInstance1243 **/1244 XcmV2MultiassetAssetInstance: {1245 _enum: {1246 Undefined: 'Null',1247 Index: 'Compact<u128>',1248 Array4: '[u8;4]',1249 Array8: '[u8;8]',1250 Array16: '[u8;16]',1251 Array32: '[u8;32]',1252 Blob: 'Bytes'1253 }1254 },1255 /**1256 * Lookup107: xcm::VersionedMultiLocation1257 **/1070 XcmVersionedMultiLocation: {1258 XcmVersionedMultiLocation: {1071 _enum: {1259 _enum: {1072 V0: 'XcmV0MultiLocation',1260 __Unused0: 'Null',1073 V1: 'XcmV1MultiLocation'1261 V2: 'XcmV2MultiLocation',1262 __Unused2: 'Null',1263 V3: 'XcmV3MultiLocation'1074 }1264 }1075 },1265 },1076 /**1266 /**1077 * Lookup91: cumulus_pallet_xcm::pallet::Event<T>1267 * Lookup108: cumulus_pallet_xcm::pallet::Event<T>1078 **/1268 **/1079 CumulusPalletXcmEvent: {1269 CumulusPalletXcmEvent: {1080 _enum: {1270 _enum: {1081 InvalidFormat: '[u8;8]',1271 InvalidFormat: '[u8;32]',1082 UnsupportedVersion: '[u8;8]',1272 UnsupportedVersion: '[u8;32]',1083 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'1273 ExecutedDownward: '([u8;32],XcmV3TraitsOutcome)'1084 }1274 }1085 },1275 },1086 /**1276 /**1087 * Lookup92: cumulus_pallet_dmp_queue::pallet::Event<T>1277 * Lookup109: cumulus_pallet_dmp_queue::pallet::Event<T>1088 **/1278 **/1089 CumulusPalletDmpQueueEvent: {1279 CumulusPalletDmpQueueEvent: {1090 _enum: {1280 _enum: {1096 },1286 },1097 ExecutedDownward: {1287 ExecutedDownward: {1098 messageId: '[u8;32]',1288 messageId: '[u8;32]',1099 outcome: 'XcmV2TraitsOutcome',1289 outcome: 'XcmV3TraitsOutcome',1100 },1290 },1101 WeightExhausted: {1291 WeightExhausted: {1102 messageId: '[u8;32]',1292 messageId: '[u8;32]',1110 },1300 },1111 OverweightServiced: {1301 OverweightServiced: {1112 overweightIndex: 'u64',1302 overweightIndex: 'u64',1113 weightUsed: 'SpWeightsWeightV2Weight'1303 weightUsed: 'SpWeightsWeightV2Weight',1304 },1305 MaxMessagesExhausted: {1306 messageId: '[u8;32]'1114 }1307 }1115 }1308 }1116 },1309 },1117 /**1310 /**1118 * Lookup93: pallet_configuration::pallet::Event<T>1311 * Lookup110: pallet_configuration::pallet::Event<T>1119 **/1312 **/1120 PalletConfigurationEvent: {1313 PalletConfigurationEvent: {1121 _enum: {1314 _enum: {1131 }1324 }1132 },1325 },1133 /**1326 /**1134 * Lookup96: pallet_common::pallet::Event<T>1327 * Lookup113: pallet_common::pallet::Event<T>1135 **/1328 **/1136 PalletCommonEvent: {1329 PalletCommonEvent: {1137 _enum: {1330 _enum: {1160 }1353 }1161 },1354 },1162 /**1355 /**1163 * Lookup99: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1356 * Lookup116: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1164 **/1357 **/1165 PalletEvmAccountBasicCrossAccountIdRepr: {1358 PalletEvmAccountBasicCrossAccountIdRepr: {1166 _enum: {1359 _enum: {1169 }1362 }1170 },1363 },1171 /**1364 /**1172 * Lookup103: pallet_structure::pallet::Event<T>1365 * Lookup119: pallet_structure::pallet::Event<T>1173 **/1366 **/1174 PalletStructureEvent: {1367 PalletStructureEvent: {1175 _enum: {1368 _enum: {1176 Executed: 'Result<Null, SpRuntimeDispatchError>'1369 Executed: 'Result<Null, SpRuntimeDispatchError>'1177 }1370 }1178 },1371 },1179 /**1372 /**1180 * Lookup104: pallet_app_promotion::pallet::Event<T>1373 * Lookup120: pallet_app_promotion::pallet::Event<T>1181 **/1374 **/1182 PalletAppPromotionEvent: {1375 PalletAppPromotionEvent: {1183 _enum: {1376 _enum: {1188 }1381 }1189 },1382 },1190 /**1383 /**1191 * Lookup105: pallet_foreign_assets::module::Event<T>1384 * Lookup121: pallet_foreign_assets::module::Event<T>1192 **/1385 **/1193 PalletForeignAssetsModuleEvent: {1386 PalletForeignAssetsModuleEvent: {1194 _enum: {1387 _enum: {1195 ForeignAssetRegistered: {1388 ForeignAssetRegistered: {1196 assetId: 'u32',1389 assetId: 'u32',1197 assetAddress: 'XcmV1MultiLocation',1390 assetAddress: 'XcmV3MultiLocation',1198 metadata: 'PalletForeignAssetsModuleAssetMetadata',1391 metadata: 'PalletForeignAssetsModuleAssetMetadata',1199 },1392 },1200 ForeignAssetUpdated: {1393 ForeignAssetUpdated: {1201 assetId: 'u32',1394 assetId: 'u32',1202 assetAddress: 'XcmV1MultiLocation',1395 assetAddress: 'XcmV3MultiLocation',1203 metadata: 'PalletForeignAssetsModuleAssetMetadata',1396 metadata: 'PalletForeignAssetsModuleAssetMetadata',1204 },1397 },1205 AssetRegistered: {1398 AssetRegistered: {1213 }1406 }1214 },1407 },1215 /**1408 /**1216 * Lookup106: pallet_foreign_assets::module::AssetMetadata<Balance>1409 * Lookup122: pallet_foreign_assets::module::AssetMetadata<Balance>1217 **/1410 **/1218 PalletForeignAssetsModuleAssetMetadata: {1411 PalletForeignAssetsModuleAssetMetadata: {1219 name: 'Bytes',1412 name: 'Bytes',1222 minimalBalance: 'u128'1415 minimalBalance: 'u128'1223 },1416 },1224 /**1417 /**1225 * Lookup107: pallet_evm::pallet::Event<T>1418 * Lookup125: pallet_evm::pallet::Event<T>1226 **/1419 **/1227 PalletEvmEvent: {1420 PalletEvmEvent: {1228 _enum: {1421 _enum: {1244 }1437 }1245 },1438 },1246 /**1439 /**1247 * Lookup108: ethereum::log::Log1440 * Lookup126: ethereum::log::Log1248 **/1441 **/1249 EthereumLog: {1442 EthereumLog: {1250 address: 'H160',1443 address: 'H160',1251 topics: 'Vec<H256>',1444 topics: 'Vec<H256>',1252 data: 'Bytes'1445 data: 'Bytes'1253 },1446 },1254 /**1447 /**1255 * Lookup110: pallet_ethereum::pallet::Event1448 * Lookup128: pallet_ethereum::pallet::Event1256 **/1449 **/1257 PalletEthereumEvent: {1450 PalletEthereumEvent: {1258 _enum: {1451 _enum: {1265 }1458 }1266 },1459 },1267 /**1460 /**1268 * Lookup111: evm_core::error::ExitReason1461 * Lookup129: evm_core::error::ExitReason1269 **/1462 **/1270 EvmCoreErrorExitReason: {1463 EvmCoreErrorExitReason: {1271 _enum: {1464 _enum: {1276 }1469 }1277 },1470 },1278 /**1471 /**1279 * Lookup112: evm_core::error::ExitSucceed1472 * Lookup130: evm_core::error::ExitSucceed1280 **/1473 **/1281 EvmCoreErrorExitSucceed: {1474 EvmCoreErrorExitSucceed: {1282 _enum: ['Stopped', 'Returned', 'Suicided']1475 _enum: ['Stopped', 'Returned', 'Suicided']1283 },1476 },1284 /**1477 /**1285 * Lookup113: evm_core::error::ExitError1478 * Lookup131: evm_core::error::ExitError1286 **/1479 **/1287 EvmCoreErrorExitError: {1480 EvmCoreErrorExitError: {1288 _enum: {1481 _enum: {1305 }1498 }1306 },1499 },1307 /**1500 /**1308 * Lookup117: evm_core::error::ExitRevert1501 * Lookup135: evm_core::error::ExitRevert1309 **/1502 **/1310 EvmCoreErrorExitRevert: {1503 EvmCoreErrorExitRevert: {1311 _enum: ['Reverted']1504 _enum: ['Reverted']1312 },1505 },1313 /**1506 /**1314 * Lookup118: evm_core::error::ExitFatal1507 * Lookup136: evm_core::error::ExitFatal1315 **/1508 **/1316 EvmCoreErrorExitFatal: {1509 EvmCoreErrorExitFatal: {1317 _enum: {1510 _enum: {1322 }1515 }1323 },1516 },1324 /**1517 /**1325 * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>1518 * Lookup137: pallet_evm_contract_helpers::pallet::Event<T>1326 **/1519 **/1327 PalletEvmContractHelpersEvent: {1520 PalletEvmContractHelpersEvent: {1328 _enum: {1521 _enum: {1332 }1525 }1333 },1526 },1334 /**1527 /**1335 * Lookup120: pallet_evm_migration::pallet::Event<T>1528 * Lookup138: pallet_evm_migration::pallet::Event<T>1336 **/1529 **/1337 PalletEvmMigrationEvent: {1530 PalletEvmMigrationEvent: {1338 _enum: ['TestEvent']1531 _enum: ['TestEvent']1339 },1532 },1340 /**1533 /**1341 * Lookup121: pallet_maintenance::pallet::Event<T>1534 * Lookup139: pallet_maintenance::pallet::Event<T>1342 **/1535 **/1343 PalletMaintenanceEvent: {1536 PalletMaintenanceEvent: {1344 _enum: ['MaintenanceEnabled', 'MaintenanceDisabled']1537 _enum: ['MaintenanceEnabled', 'MaintenanceDisabled']1345 },1538 },1346 /**1539 /**1347 * Lookup122: pallet_test_utils::pallet::Event<T>1540 * Lookup140: pallet_test_utils::pallet::Event<T>1348 **/1541 **/1349 PalletTestUtilsEvent: {1542 PalletTestUtilsEvent: {1350 _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']1543 _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']1351 },1544 },1352 /**1545 /**1353 * Lookup123: frame_system::Phase1546 * Lookup141: frame_system::Phase1354 **/1547 **/1355 FrameSystemPhase: {1548 FrameSystemPhase: {1356 _enum: {1549 _enum: {1360 }1553 }1361 },1554 },1362 /**1555 /**1363 * Lookup126: frame_system::LastRuntimeUpgradeInfo1556 * Lookup144: frame_system::LastRuntimeUpgradeInfo1364 **/1557 **/1365 FrameSystemLastRuntimeUpgradeInfo: {1558 FrameSystemLastRuntimeUpgradeInfo: {1366 specVersion: 'Compact<u32>',1559 specVersion: 'Compact<u32>',1367 specName: 'Text'1560 specName: 'Text'1368 },1561 },1369 /**1562 /**1370 * Lookup127: frame_system::pallet::Call<T>1563 * Lookup145: frame_system::pallet::Call<T>1371 **/1564 **/1372 FrameSystemCall: {1565 FrameSystemCall: {1373 _enum: {1566 _enum: {1402 }1595 }1403 },1596 },1404 /**1597 /**1405 * Lookup131: frame_system::limits::BlockWeights1598 * Lookup149: frame_system::limits::BlockWeights1406 **/1599 **/1407 FrameSystemLimitsBlockWeights: {1600 FrameSystemLimitsBlockWeights: {1408 baseBlock: 'SpWeightsWeightV2Weight',1601 baseBlock: 'SpWeightsWeightV2Weight',1409 maxBlock: 'SpWeightsWeightV2Weight',1602 maxBlock: 'SpWeightsWeightV2Weight',1410 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'1603 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'1411 },1604 },1412 /**1605 /**1413 * Lookup132: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>1606 * Lookup150: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>1414 **/1607 **/1415 FrameSupportDispatchPerDispatchClassWeightsPerClass: {1608 FrameSupportDispatchPerDispatchClassWeightsPerClass: {1416 normal: 'FrameSystemLimitsWeightsPerClass',1609 normal: 'FrameSystemLimitsWeightsPerClass',1417 operational: 'FrameSystemLimitsWeightsPerClass',1610 operational: 'FrameSystemLimitsWeightsPerClass',1418 mandatory: 'FrameSystemLimitsWeightsPerClass'1611 mandatory: 'FrameSystemLimitsWeightsPerClass'1419 },1612 },1420 /**1613 /**1421 * Lookup133: frame_system::limits::WeightsPerClass1614 * Lookup151: frame_system::limits::WeightsPerClass1422 **/1615 **/1423 FrameSystemLimitsWeightsPerClass: {1616 FrameSystemLimitsWeightsPerClass: {1424 baseExtrinsic: 'SpWeightsWeightV2Weight',1617 baseExtrinsic: 'SpWeightsWeightV2Weight',1427 reserved: 'Option<SpWeightsWeightV2Weight>'1620 reserved: 'Option<SpWeightsWeightV2Weight>'1428 },1621 },1429 /**1622 /**1430 * Lookup135: frame_system::limits::BlockLength1623 * Lookup153: frame_system::limits::BlockLength1431 **/1624 **/1432 FrameSystemLimitsBlockLength: {1625 FrameSystemLimitsBlockLength: {1433 max: 'FrameSupportDispatchPerDispatchClassU32'1626 max: 'FrameSupportDispatchPerDispatchClassU32'1434 },1627 },1435 /**1628 /**1436 * Lookup136: frame_support::dispatch::PerDispatchClass<T>1629 * Lookup154: frame_support::dispatch::PerDispatchClass<T>1437 **/1630 **/1438 FrameSupportDispatchPerDispatchClassU32: {1631 FrameSupportDispatchPerDispatchClassU32: {1439 normal: 'u32',1632 normal: 'u32',1440 operational: 'u32',1633 operational: 'u32',1441 mandatory: 'u32'1634 mandatory: 'u32'1442 },1635 },1443 /**1636 /**1444 * Lookup137: sp_weights::RuntimeDbWeight1637 * Lookup155: sp_weights::RuntimeDbWeight1445 **/1638 **/1446 SpWeightsRuntimeDbWeight: {1639 SpWeightsRuntimeDbWeight: {1447 read: 'u64',1640 read: 'u64',1448 write: 'u64'1641 write: 'u64'1449 },1642 },1450 /**1643 /**1451 * Lookup138: sp_version::RuntimeVersion1644 * Lookup156: sp_version::RuntimeVersion1452 **/1645 **/1453 SpVersionRuntimeVersion: {1646 SpVersionRuntimeVersion: {1454 specName: 'Text',1647 specName: 'Text',1461 stateVersion: 'u8'1654 stateVersion: 'u8'1462 },1655 },1463 /**1656 /**1464 * Lookup143: frame_system::pallet::Error<T>1657 * Lookup161: frame_system::pallet::Error<T>1465 **/1658 **/1466 FrameSystemError: {1659 FrameSystemError: {1467 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1660 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1468 },1661 },1469 /**1662 /**1470 * Lookup144: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1663 * Lookup162: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1471 **/1664 **/1472 PolkadotPrimitivesV2PersistedValidationData: {1665 PolkadotPrimitivesV2PersistedValidationData: {1473 parentHead: 'Bytes',1666 parentHead: 'Bytes',1476 maxPovSize: 'u32'1669 maxPovSize: 'u32'1477 },1670 },1478 /**1671 /**1479 * Lookup147: polkadot_primitives::v2::UpgradeRestriction1672 * Lookup165: polkadot_primitives::v2::UpgradeRestriction1480 **/1673 **/1481 PolkadotPrimitivesV2UpgradeRestriction: {1674 PolkadotPrimitivesV2UpgradeRestriction: {1482 _enum: ['Present']1675 _enum: ['Present']1483 },1676 },1484 /**1677 /**1485 * Lookup148: sp_trie::storage_proof::StorageProof1678 * Lookup166: sp_trie::storage_proof::StorageProof1486 **/1679 **/1487 SpTrieStorageProof: {1680 SpTrieStorageProof: {1488 trieNodes: 'BTreeSet<Bytes>'1681 trieNodes: 'BTreeSet<Bytes>'1489 },1682 },1490 /**1683 /**1491 * Lookup150: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1684 * Lookup168: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1492 **/1685 **/1493 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1686 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1494 dmqMqcHead: 'H256',1687 dmqMqcHead: 'H256',1497 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1690 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1498 },1691 },1499 /**1692 /**1500 * Lookup153: polkadot_primitives::v2::AbridgedHrmpChannel1693 * Lookup171: polkadot_primitives::v2::AbridgedHrmpChannel1501 **/1694 **/1502 PolkadotPrimitivesV2AbridgedHrmpChannel: {1695 PolkadotPrimitivesV2AbridgedHrmpChannel: {1503 maxCapacity: 'u32',1696 maxCapacity: 'u32',1508 mqcHead: 'Option<H256>'1701 mqcHead: 'Option<H256>'1509 },1702 },1510 /**1703 /**1511 * Lookup154: polkadot_primitives::v2::AbridgedHostConfiguration1704 * Lookup173: polkadot_primitives::v2::AbridgedHostConfiguration1512 **/1705 **/1513 PolkadotPrimitivesV2AbridgedHostConfiguration: {1706 PolkadotPrimitivesV2AbridgedHostConfiguration: {1514 maxCodeSize: 'u32',1707 maxCodeSize: 'u32',1522 validationUpgradeDelay: 'u32'1715 validationUpgradeDelay: 'u32'1523 },1716 },1524 /**1717 /**1525 * Lookup160: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1718 * Lookup179: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1526 **/1719 **/1527 PolkadotCorePrimitivesOutboundHrmpMessage: {1720 PolkadotCorePrimitivesOutboundHrmpMessage: {1528 recipient: 'u32',1721 recipient: 'u32',1529 data: 'Bytes'1722 data: 'Bytes'1530 },1723 },1531 /**1724 /**1532 * Lookup161: cumulus_pallet_parachain_system::pallet::Call<T>1725 * Lookup180: cumulus_pallet_parachain_system::pallet::Call<T>1533 **/1726 **/1534 CumulusPalletParachainSystemCall: {1727 CumulusPalletParachainSystemCall: {1535 _enum: {1728 _enum: {1548 }1741 }1549 },1742 },1550 /**1743 /**1551 * Lookup162: cumulus_primitives_parachain_inherent::ParachainInherentData1744 * Lookup181: cumulus_primitives_parachain_inherent::ParachainInherentData1552 **/1745 **/1553 CumulusPrimitivesParachainInherentParachainInherentData: {1746 CumulusPrimitivesParachainInherentParachainInherentData: {1554 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1747 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1557 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1750 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1558 },1751 },1559 /**1752 /**1560 * Lookup164: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1753 * Lookup183: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1561 **/1754 **/1562 PolkadotCorePrimitivesInboundDownwardMessage: {1755 PolkadotCorePrimitivesInboundDownwardMessage: {1563 sentAt: 'u32',1756 sentAt: 'u32',1564 msg: 'Bytes'1757 msg: 'Bytes'1565 },1758 },1566 /**1759 /**1567 * Lookup167: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1760 * Lookup186: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1568 **/1761 **/1569 PolkadotCorePrimitivesInboundHrmpMessage: {1762 PolkadotCorePrimitivesInboundHrmpMessage: {1570 sentAt: 'u32',1763 sentAt: 'u32',1571 data: 'Bytes'1764 data: 'Bytes'1572 },1765 },1573 /**1766 /**1574 * Lookup170: cumulus_pallet_parachain_system::pallet::Error<T>1767 * Lookup189: cumulus_pallet_parachain_system::pallet::Error<T>1575 **/1768 **/1576 CumulusPalletParachainSystemError: {1769 CumulusPalletParachainSystemError: {1577 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1770 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1578 },1771 },1579 /**1772 /**1580 * Lookup172: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>1773 * Lookup190: parachain_info::pallet::Call<T>1581 **/1774 **/1582 PalletAuthorshipUncleEntryItem: {1775 ParachainInfoCall: 'Null',1583 _enum: {1584 InclusionHeight: 'u32',1585 Uncle: '(H256,Option<AccountId32>)'1586 }1587 },1588 /**1776 /**1589 * Lookup174: pallet_authorship::pallet::Call<T>1777 * Lookup193: pallet_collator_selection::pallet::Call<T>1590 **/1778 **/1591 PalletAuthorshipCall: {1592 _enum: {1593 set_uncles: {1594 newUncles: 'Vec<SpRuntimeHeader>'1595 }1596 }1597 },1598 /**1599 * Lookup176: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>1600 **/1601 SpRuntimeHeader: {1602 parentHash: 'H256',1603 number: 'Compact<u32>',1604 stateRoot: 'H256',1605 extrinsicsRoot: 'H256',1606 digest: 'SpRuntimeDigest'1607 },1608 /**1609 * Lookup177: sp_runtime::traits::BlakeTwo2561610 **/1611 SpRuntimeBlakeTwo256: 'Null',1612 /**1613 * Lookup178: pallet_authorship::pallet::Error<T>1614 **/1615 PalletAuthorshipError: {1616 _enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']1617 },1618 /**1619 * Lookup181: pallet_collator_selection::pallet::Call<T>1620 **/1621 PalletCollatorSelectionCall: {1779 PalletCollatorSelectionCall: {1622 _enum: {1780 _enum: {1623 add_invulnerable: {1781 add_invulnerable: {1639 }1797 }1640 },1798 },1641 /**1799 /**1642 * Lookup182: pallet_collator_selection::pallet::Error<T>1800 * Lookup194: pallet_collator_selection::pallet::Error<T>1643 **/1801 **/1644 PalletCollatorSelectionError: {1802 PalletCollatorSelectionError: {1645 _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']1803 _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']1646 },1804 },1647 /**1805 /**1648 * Lookup185: opal_runtime::runtime_common::SessionKeys1806 * Lookup197: opal_runtime::runtime_common::SessionKeys1649 **/1807 **/1650 OpalRuntimeRuntimeCommonSessionKeys: {1808 OpalRuntimeRuntimeCommonSessionKeys: {1651 aura: 'SpConsensusAuraSr25519AppSr25519Public'1809 aura: 'SpConsensusAuraSr25519AppSr25519Public'1652 },1810 },1653 /**1811 /**1654 * Lookup186: sp_consensus_aura::sr25519::app_sr25519::Public1812 * Lookup198: sp_consensus_aura::sr25519::app_sr25519::Public1655 **/1813 **/1656 SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',1814 SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',1657 /**1815 /**1658 * Lookup187: sp_core::sr25519::Public1816 * Lookup199: sp_core::sr25519::Public1659 **/1817 **/1660 SpCoreSr25519Public: '[u8;32]',1818 SpCoreSr25519Public: '[u8;32]',1661 /**1819 /**1662 * Lookup190: sp_core::crypto::KeyTypeId1820 * Lookup202: sp_core::crypto::KeyTypeId1663 **/1821 **/1664 SpCoreCryptoKeyTypeId: '[u8;4]',1822 SpCoreCryptoKeyTypeId: '[u8;4]',1665 /**1823 /**1666 * Lookup191: pallet_session::pallet::Call<T>1824 * Lookup203: pallet_session::pallet::Call<T>1667 **/1825 **/1668 PalletSessionCall: {1826 PalletSessionCall: {1669 _enum: {1827 _enum: {1678 }1836 }1679 },1837 },1680 /**1838 /**1681 * Lookup192: pallet_session::pallet::Error<T>1839 * Lookup204: pallet_session::pallet::Error<T>1682 **/1840 **/1683 PalletSessionError: {1841 PalletSessionError: {1684 _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']1842 _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']1685 },1843 },1686 /**1844 /**1687 * Lookup194: pallet_balances::BalanceLock<Balance>1845 * Lookup209: pallet_balances::BalanceLock<Balance>1688 **/1846 **/1689 PalletBalancesBalanceLock: {1847 PalletBalancesBalanceLock: {1690 id: '[u8;8]',1848 id: '[u8;8]',1691 amount: 'u128',1849 amount: 'u128',1692 reasons: 'PalletBalancesReasons'1850 reasons: 'PalletBalancesReasons'1693 },1851 },1694 /**1852 /**1695 * Lookup195: pallet_balances::Reasons1853 * Lookup210: pallet_balances::Reasons1696 **/1854 **/1697 PalletBalancesReasons: {1855 PalletBalancesReasons: {1698 _enum: ['Fee', 'Misc', 'All']1856 _enum: ['Fee', 'Misc', 'All']1699 },1857 },1700 /**1858 /**1701 * Lookup198: pallet_balances::ReserveData<ReserveIdentifier, Balance>1859 * Lookup213: pallet_balances::ReserveData<ReserveIdentifier, Balance>1702 **/1860 **/1703 PalletBalancesReserveData: {1861 PalletBalancesReserveData: {1704 id: '[u8;16]',1862 id: '[u8;16]',1705 amount: 'u128'1863 amount: 'u128'1706 },1864 },1707 /**1865 /**1708 * Lookup200: pallet_balances::pallet::Call<T, I>1866 * Lookup215: pallet_balances::pallet::Call<T, I>1709 **/1867 **/1710 PalletBalancesCall: {1868 PalletBalancesCall: {1711 _enum: {1869 _enum: {1738 }1896 }1739 },1897 },1740 /**1898 /**1741 * Lookup203: pallet_balances::pallet::Error<T, I>1899 * Lookup218: pallet_balances::pallet::Error<T, I>1742 **/1900 **/1743 PalletBalancesError: {1901 PalletBalancesError: {1744 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1902 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1745 },1903 },1746 /**1904 /**1747 * Lookup205: pallet_timestamp::pallet::Call<T>1905 * Lookup219: pallet_timestamp::pallet::Call<T>1748 **/1906 **/1749 PalletTimestampCall: {1907 PalletTimestampCall: {1750 _enum: {1908 _enum: {1754 }1912 }1755 },1913 },1756 /**1914 /**1757 * Lookup207: pallet_transaction_payment::Releases1915 * Lookup221: pallet_transaction_payment::Releases1758 **/1916 **/1759 PalletTransactionPaymentReleases: {1917 PalletTransactionPaymentReleases: {1760 _enum: ['V1Ancient', 'V2']1918 _enum: ['V1Ancient', 'V2']1761 },1919 },1762 /**1920 /**1763 * Lookup208: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1921 * Lookup222: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1764 **/1922 **/1765 PalletTreasuryProposal: {1923 PalletTreasuryProposal: {1766 proposer: 'AccountId32',1924 proposer: 'AccountId32',1769 bond: 'u128'1927 bond: 'u128'1770 },1928 },1771 /**1929 /**1772 * Lookup210: pallet_treasury::pallet::Call<T, I>1930 * Lookup224: pallet_treasury::pallet::Call<T, I>1773 **/1931 **/1774 PalletTreasuryCall: {1932 PalletTreasuryCall: {1775 _enum: {1933 _enum: {1793 }1951 }1794 },1952 },1795 /**1953 /**1796 * Lookup212: frame_support::PalletId1954 * Lookup226: frame_support::PalletId1797 **/1955 **/1798 FrameSupportPalletId: '[u8;8]',1956 FrameSupportPalletId: '[u8;8]',1799 /**1957 /**1800 * Lookup213: pallet_treasury::pallet::Error<T, I>1958 * Lookup227: pallet_treasury::pallet::Error<T, I>1801 **/1959 **/1802 PalletTreasuryError: {1960 PalletTreasuryError: {1803 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1961 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1804 },1962 },1805 /**1963 /**1806 * Lookup214: pallet_sudo::pallet::Call<T>1964 * Lookup228: pallet_sudo::pallet::Call<T>1807 **/1965 **/1808 PalletSudoCall: {1966 PalletSudoCall: {1809 _enum: {1967 _enum: {1827 }1985 }1828 },1986 },1829 /**1987 /**1830 * Lookup216: orml_vesting::module::Call<T>1988 * Lookup230: orml_vesting::module::Call<T>1831 **/1989 **/1832 OrmlVestingModuleCall: {1990 OrmlVestingModuleCall: {1833 _enum: {1991 _enum: {1846 }2004 }1847 },2005 },1848 /**2006 /**1849 * Lookup218: orml_xtokens::module::Call<T>2007 * Lookup232: orml_xtokens::module::Call<T>1850 **/2008 **/1851 OrmlXtokensModuleCall: {2009 OrmlXtokensModuleCall: {1852 _enum: {2010 _enum: {1853 transfer: {2011 transfer: {1854 currencyId: 'PalletForeignAssetsAssetIds',2012 currencyId: 'PalletForeignAssetsAssetIds',1855 amount: 'u128',2013 amount: 'u128',1856 dest: 'XcmVersionedMultiLocation',2014 dest: 'XcmVersionedMultiLocation',1857 destWeightLimit: 'XcmV2WeightLimit',2015 destWeightLimit: 'XcmV3WeightLimit',1858 },2016 },1859 transfer_multiasset: {2017 transfer_multiasset: {1860 asset: 'XcmVersionedMultiAsset',2018 asset: 'XcmVersionedMultiAsset',1861 dest: 'XcmVersionedMultiLocation',2019 dest: 'XcmVersionedMultiLocation',1862 destWeightLimit: 'XcmV2WeightLimit',2020 destWeightLimit: 'XcmV3WeightLimit',1863 },2021 },1864 transfer_with_fee: {2022 transfer_with_fee: {1865 currencyId: 'PalletForeignAssetsAssetIds',2023 currencyId: 'PalletForeignAssetsAssetIds',1866 amount: 'u128',2024 amount: 'u128',1867 fee: 'u128',2025 fee: 'u128',1868 dest: 'XcmVersionedMultiLocation',2026 dest: 'XcmVersionedMultiLocation',1869 destWeightLimit: 'XcmV2WeightLimit',2027 destWeightLimit: 'XcmV3WeightLimit',1870 },2028 },1871 transfer_multiasset_with_fee: {2029 transfer_multiasset_with_fee: {1872 asset: 'XcmVersionedMultiAsset',2030 asset: 'XcmVersionedMultiAsset',1873 fee: 'XcmVersionedMultiAsset',2031 fee: 'XcmVersionedMultiAsset',1874 dest: 'XcmVersionedMultiLocation',2032 dest: 'XcmVersionedMultiLocation',1875 destWeightLimit: 'XcmV2WeightLimit',2033 destWeightLimit: 'XcmV3WeightLimit',1876 },2034 },1877 transfer_multicurrencies: {2035 transfer_multicurrencies: {1878 currencies: 'Vec<(PalletForeignAssetsAssetIds,u128)>',2036 currencies: 'Vec<(PalletForeignAssetsAssetIds,u128)>',1879 feeItem: 'u32',2037 feeItem: 'u32',1880 dest: 'XcmVersionedMultiLocation',2038 dest: 'XcmVersionedMultiLocation',1881 destWeightLimit: 'XcmV2WeightLimit',2039 destWeightLimit: 'XcmV3WeightLimit',1882 },2040 },1883 transfer_multiassets: {2041 transfer_multiassets: {1884 assets: 'XcmVersionedMultiAssets',2042 assets: 'XcmVersionedMultiAssets',1885 feeItem: 'u32',2043 feeItem: 'u32',1886 dest: 'XcmVersionedMultiLocation',2044 dest: 'XcmVersionedMultiLocation',1887 destWeightLimit: 'XcmV2WeightLimit'2045 destWeightLimit: 'XcmV3WeightLimit'1888 }2046 }1889 }2047 }1890 },2048 },1891 /**2049 /**1892 * Lookup219: xcm::VersionedMultiAsset2050 * Lookup233: xcm::VersionedMultiAsset1893 **/2051 **/1894 XcmVersionedMultiAsset: {2052 XcmVersionedMultiAsset: {1895 _enum: {2053 _enum: {1896 V0: 'XcmV0MultiAsset',2054 __Unused0: 'Null',1897 V1: 'XcmV1MultiAsset'2055 V2: 'XcmV2MultiAsset',2056 __Unused2: 'Null',2057 V3: 'XcmV3MultiAsset'1898 }2058 }1899 },2059 },1900 /**2060 /**1901 * Lookup222: orml_tokens::module::Call<T>2061 * Lookup236: orml_tokens::module::Call<T>1902 **/2062 **/1903 OrmlTokensModuleCall: {2063 OrmlTokensModuleCall: {1904 _enum: {2064 _enum: {1932 }2092 }1933 },2093 },1934 /**2094 /**1935 * Lookup223: pallet_identity::pallet::Call<T>2095 * Lookup237: pallet_identity::pallet::Call<T>1936 **/2096 **/1937 PalletIdentityCall: {2097 PalletIdentityCall: {1938 _enum: {2098 _enum: {2001 }2161 }2002 },2162 },2003 /**2163 /**2004 * Lookup224: pallet_identity::types::IdentityInfo<FieldLimit>2164 * Lookup238: pallet_identity::types::IdentityInfo<FieldLimit>2005 **/2165 **/2006 PalletIdentityIdentityInfo: {2166 PalletIdentityIdentityInfo: {2007 additional: 'Vec<(Data,Data)>',2167 additional: 'Vec<(Data,Data)>',2015 twitter: 'Data'2175 twitter: 'Data'2016 },2176 },2017 /**2177 /**2018 * Lookup260: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>2178 * Lookup274: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>2019 **/2179 **/2020 PalletIdentityBitFlags: {2180 PalletIdentityBitFlags: {2021 _bitLength: 64,2181 _bitLength: 64,2029 Twitter: 1282189 Twitter: 1282030 },2190 },2031 /**2191 /**2032 * Lookup261: pallet_identity::types::IdentityField2192 * Lookup275: pallet_identity::types::IdentityField2033 **/2193 **/2034 PalletIdentityIdentityField: {2194 PalletIdentityIdentityField: {2035 _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']2195 _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']2036 },2196 },2037 /**2197 /**2038 * Lookup262: pallet_identity::types::Judgement<Balance>2198 * Lookup276: pallet_identity::types::Judgement<Balance>2039 **/2199 **/2040 PalletIdentityJudgement: {2200 PalletIdentityJudgement: {2041 _enum: {2201 _enum: {2049 }2209 }2050 },2210 },2051 /**2211 /**2052 * Lookup265: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>2212 * Lookup279: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>2053 **/2213 **/2054 PalletIdentityRegistration: {2214 PalletIdentityRegistration: {2055 judgements: 'Vec<(u32,PalletIdentityJudgement)>',2215 judgements: 'Vec<(u32,PalletIdentityJudgement)>',2056 deposit: 'u128',2216 deposit: 'u128',2057 info: 'PalletIdentityIdentityInfo'2217 info: 'PalletIdentityIdentityInfo'2058 },2218 },2059 /**2219 /**2060 * Lookup273: pallet_preimage::pallet::Call<T>2220 * Lookup287: pallet_preimage::pallet::Call<T>2061 **/2221 **/2062 PalletPreimageCall: {2222 PalletPreimageCall: {2063 _enum: {2223 _enum: {2085 }2245 }2086 },2246 },2087 /**2247 /**2088 * Lookup274: cumulus_pallet_xcmp_queue::pallet::Call<T>2248 * Lookup288: cumulus_pallet_xcmp_queue::pallet::Call<T>2089 **/2249 **/2090 CumulusPalletXcmpQueueCall: {2250 CumulusPalletXcmpQueueCall: {2091 _enum: {2251 _enum: {2092 service_overweight: {2252 service_overweight: {2093 index: 'u64',2253 index: 'u64',2094 weightLimit: 'u64',2254 weightLimit: 'SpWeightsWeightV2Weight',2095 },2255 },2096 suspend_xcm_execution: 'Null',2256 suspend_xcm_execution: 'Null',2097 resume_xcm_execution: 'Null',2257 resume_xcm_execution: 'Null',2117 _alias: {2277 _alias: {2118 new_: 'new',2278 new_: 'new',2119 },2279 },2120 new_: 'u64',2280 new_: 'SpWeightsWeightV2Weight',2121 },2281 },2122 update_weight_restrict_decay: {2282 update_weight_restrict_decay: {2123 _alias: {2283 _alias: {2124 new_: 'new',2284 new_: 'new',2125 },2285 },2126 new_: 'u64',2286 new_: 'SpWeightsWeightV2Weight',2127 },2287 },2128 update_xcmp_max_individual_weight: {2288 update_xcmp_max_individual_weight: {2129 _alias: {2289 _alias: {2130 new_: 'new',2290 new_: 'new',2131 },2291 },2132 new_: 'u64'2292 new_: 'SpWeightsWeightV2Weight'2133 }2293 }2134 }2294 }2135 },2295 },2136 /**2296 /**2137 * Lookup275: pallet_xcm::pallet::Call<T>2297 * Lookup289: pallet_xcm::pallet::Call<T>2138 **/2298 **/2139 PalletXcmCall: {2299 PalletXcmCall: {2140 _enum: {2300 _enum: {2156 },2316 },2157 execute: {2317 execute: {2158 message: 'XcmVersionedXcm',2318 message: 'XcmVersionedXcm',2159 maxWeight: 'u64',2319 maxWeight: 'SpWeightsWeightV2Weight',2160 },2320 },2161 force_xcm_version: {2321 force_xcm_version: {2162 location: 'XcmV1MultiLocation',2322 location: 'XcmV3MultiLocation',2163 xcmVersion: 'u32',2323 xcmVersion: 'u32',2164 },2324 },2165 force_default_xcm_version: {2325 force_default_xcm_version: {2176 beneficiary: 'XcmVersionedMultiLocation',2336 beneficiary: 'XcmVersionedMultiLocation',2177 assets: 'XcmVersionedMultiAssets',2337 assets: 'XcmVersionedMultiAssets',2178 feeAssetItem: 'u32',2338 feeAssetItem: 'u32',2179 weightLimit: 'XcmV2WeightLimit',2339 weightLimit: 'XcmV3WeightLimit',2180 },2340 },2181 limited_teleport_assets: {2341 limited_teleport_assets: {2182 dest: 'XcmVersionedMultiLocation',2342 dest: 'XcmVersionedMultiLocation',2183 beneficiary: 'XcmVersionedMultiLocation',2343 beneficiary: 'XcmVersionedMultiLocation',2184 assets: 'XcmVersionedMultiAssets',2344 assets: 'XcmVersionedMultiAssets',2185 feeAssetItem: 'u32',2345 feeAssetItem: 'u32',2186 weightLimit: 'XcmV2WeightLimit'2346 weightLimit: 'XcmV3WeightLimit'2187 }2347 }2188 }2348 }2189 },2349 },2190 /**2350 /**2191 * Lookup276: xcm::VersionedXcm<RuntimeCall>2351 * Lookup290: xcm::VersionedXcm<RuntimeCall>2192 **/2352 **/2193 XcmVersionedXcm: {2353 XcmVersionedXcm: {2194 _enum: {2354 _enum: {2195 V0: 'XcmV0Xcm',2355 __Unused0: 'Null',2196 V1: 'XcmV1Xcm',2356 __Unused1: 'Null',2197 V2: 'XcmV2Xcm'2357 V2: 'XcmV2Xcm',2358 V3: 'XcmV3Xcm'2198 }2359 }2199 },2360 },2200 /**2361 /**2201 * Lookup277: xcm::v0::Xcm<RuntimeCall>2362 * Lookup291: xcm::v2::Xcm<RuntimeCall>2202 **/2363 **/2203 XcmV0Xcm: {2364 XcmV2Xcm: 'Vec<XcmV2Instruction>',2365 /**2366 * Lookup293: xcm::v2::Instruction<RuntimeCall>2367 **/2368 XcmV2Instruction: {2204 _enum: {2369 _enum: {2205 WithdrawAsset: {2370 WithdrawAsset: 'XcmV2MultiassetMultiAssets',2206 assets: 'Vec<XcmV0MultiAsset>',2207 effects: 'Vec<XcmV0Order>',2371 ReserveAssetDeposited: 'XcmV2MultiassetMultiAssets',2208 },2372 ReceiveTeleportedAsset: 'XcmV2MultiassetMultiAssets',2209 ReserveAssetDeposit: {2210 assets: 'Vec<XcmV0MultiAsset>',2211 effects: 'Vec<XcmV0Order>',2212 },2213 TeleportAsset: {2214 assets: 'Vec<XcmV0MultiAsset>',2215 effects: 'Vec<XcmV0Order>',2216 },2217 QueryResponse: {2373 QueryResponse: {2218 queryId: 'Compact<u64>',2374 queryId: 'Compact<u64>',2219 response: 'XcmV0Response',2375 response: 'XcmV2Response',2376 maxWeight: 'Compact<u64>',2220 },2377 },2221 TransferAsset: {2378 TransferAsset: {2222 assets: 'Vec<XcmV0MultiAsset>',2379 assets: 'XcmV2MultiassetMultiAssets',2223 dest: 'XcmV0MultiLocation',2380 beneficiary: 'XcmV2MultiLocation',2224 },2381 },2225 TransferReserveAsset: {2382 TransferReserveAsset: {2226 assets: 'Vec<XcmV0MultiAsset>',2383 assets: 'XcmV2MultiassetMultiAssets',2227 dest: 'XcmV0MultiLocation',2384 dest: 'XcmV2MultiLocation',2228 effects: 'Vec<XcmV0Order>',2385 xcm: 'XcmV2Xcm',2229 },2386 },2230 Transact: {2387 Transact: {2231 originType: 'XcmV0OriginKind',2388 originType: 'XcmV2OriginKind',2232 requireWeightAtMost: 'u64',2389 requireWeightAtMost: 'Compact<u64>',2233 call: 'XcmDoubleEncoded',2390 call: 'XcmDoubleEncoded',2234 },2391 },2235 HrmpNewChannelOpenRequest: {2392 HrmpNewChannelOpenRequest: {2245 sender: 'Compact<u32>',2402 sender: 'Compact<u32>',2246 recipient: 'Compact<u32>',2403 recipient: 'Compact<u32>',2247 },2404 },2248 RelayedFrom: {2405 ClearOrigin: 'Null',2249 who: 'XcmV0MultiLocation',2406 DescendOrigin: 'XcmV2MultilocationJunctions',2250 message: 'XcmV0Xcm'2407 ReportError: {2251 }2408 queryId: 'Compact<u64>',2252 }2253 },2409 dest: 'XcmV2MultiLocation',2254 /**2255 * Lookup279: xcm::v0::order::Order<RuntimeCall>2256 **/2410 maxResponseWeight: 'Compact<u64>',2257 XcmV0Order: {2258 _enum: {2259 Null: 'Null',2411 },2260 DepositAsset: {2412 DepositAsset: {2261 assets: 'Vec<XcmV0MultiAsset>',2413 assets: 'XcmV2MultiassetMultiAssetFilter',2414 maxAssets: 'Compact<u32>',2262 dest: 'XcmV0MultiLocation',2415 beneficiary: 'XcmV2MultiLocation',2263 },2416 },2264 DepositReserveAsset: {2417 DepositReserveAsset: {2265 assets: 'Vec<XcmV0MultiAsset>',2418 assets: 'XcmV2MultiassetMultiAssetFilter',2419 maxAssets: 'Compact<u32>',2266 dest: 'XcmV0MultiLocation',2420 dest: 'XcmV2MultiLocation',2267 effects: 'Vec<XcmV0Order>',2421 xcm: 'XcmV2Xcm',2268 },2422 },2269 ExchangeAsset: {2423 ExchangeAsset: {2270 give: 'Vec<XcmV0MultiAsset>',2424 give: 'XcmV2MultiassetMultiAssetFilter',2271 receive: 'Vec<XcmV0MultiAsset>',2425 receive: 'XcmV2MultiassetMultiAssets',2272 },2426 },2273 InitiateReserveWithdraw: {2427 InitiateReserveWithdraw: {2274 assets: 'Vec<XcmV0MultiAsset>',2428 assets: 'XcmV2MultiassetMultiAssetFilter',2275 reserve: 'XcmV0MultiLocation',2429 reserve: 'XcmV2MultiLocation',2276 effects: 'Vec<XcmV0Order>',2430 xcm: 'XcmV2Xcm',2277 },2431 },2278 InitiateTeleport: {2432 InitiateTeleport: {2279 assets: 'Vec<XcmV0MultiAsset>',2433 assets: 'XcmV2MultiassetMultiAssetFilter',2280 dest: 'XcmV0MultiLocation',2434 dest: 'XcmV2MultiLocation',2281 effects: 'Vec<XcmV0Order>',2435 xcm: 'XcmV2Xcm',2282 },2436 },2283 QueryHolding: {2437 QueryHolding: {2284 queryId: 'Compact<u64>',2438 queryId: 'Compact<u64>',2285 dest: 'XcmV0MultiLocation',2439 dest: 'XcmV2MultiLocation',2286 assets: 'Vec<XcmV0MultiAsset>',2440 assets: 'XcmV2MultiassetMultiAssetFilter',2441 maxResponseWeight: 'Compact<u64>',2287 },2442 },2288 BuyExecution: {2443 BuyExecution: {2289 fees: 'XcmV0MultiAsset',2444 fees: 'XcmV2MultiAsset',2290 weight: 'u64',2445 weightLimit: 'XcmV2WeightLimit',2291 debt: 'u64',2446 },2447 RefundSurplus: 'Null',2448 SetErrorHandler: 'XcmV2Xcm',2449 SetAppendix: 'XcmV2Xcm',2450 ClearError: 'Null',2451 ClaimAsset: {2452 assets: 'XcmV2MultiassetMultiAssets',2453 ticket: 'XcmV2MultiLocation',2454 },2455 Trap: 'Compact<u64>',2292 haltOnError: 'bool',2456 SubscribeVersion: {2457 queryId: 'Compact<u64>',2293 xcm: 'Vec<XcmV0Xcm>'2458 maxResponseWeight: 'Compact<u64>',2294 }2459 },2460 UnsubscribeVersion: 'Null'2295 }2461 }2296 },2462 },2297 /**2463 /**2298 * Lookup281: xcm::v0::Response2464 * Lookup294: xcm::v2::Response2299 **/2465 **/2300 XcmV0Response: {2466 XcmV2Response: {2301 _enum: {2467 _enum: {2302 Assets: 'Vec<XcmV0MultiAsset>'2468 Null: 'Null',2469 Assets: 'XcmV2MultiassetMultiAssets',2470 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',2471 Version: 'u32'2303 }2472 }2304 },2473 },2305 /**2474 /**2306 * Lookup282: xcm::v1::Xcm<RuntimeCall>2475 * Lookup297: xcm::v2::traits::Error2307 **/2476 **/2308 XcmV1Xcm: {2477 XcmV2TraitsError: {2309 _enum: {2478 _enum: {2310 WithdrawAsset: {2479 Overflow: 'Null',2311 assets: 'XcmV1MultiassetMultiAssets',2312 effects: 'Vec<XcmV1Order>',2480 Unimplemented: 'Null',2313 },2481 UntrustedReserveLocation: 'Null',2314 ReserveAssetDeposited: {2315 assets: 'XcmV1MultiassetMultiAssets',2316 effects: 'Vec<XcmV1Order>',2482 UntrustedTeleportLocation: 'Null',2317 },2483 MultiLocationFull: 'Null',2318 ReceiveTeleportedAsset: {2319 assets: 'XcmV1MultiassetMultiAssets',2320 effects: 'Vec<XcmV1Order>',2484 MultiLocationNotInvertible: 'Null',2321 },2485 BadOrigin: 'Null',2322 QueryResponse: {2323 queryId: 'Compact<u64>',2324 response: 'XcmV1Response',2486 InvalidLocation: 'Null',2325 },2487 AssetNotFound: 'Null',2326 TransferAsset: {2327 assets: 'XcmV1MultiassetMultiAssets',2328 beneficiary: 'XcmV1MultiLocation',2488 FailedToTransactAsset: 'Null',2329 },2489 NotWithdrawable: 'Null',2330 TransferReserveAsset: {2331 assets: 'XcmV1MultiassetMultiAssets',2332 dest: 'XcmV1MultiLocation',2490 LocationCannotHold: 'Null',2333 effects: 'Vec<XcmV1Order>',2491 ExceedsMaxMessageSize: 'Null',2334 },2492 DestinationUnsupported: 'Null',2335 Transact: {2336 originType: 'XcmV0OriginKind',2337 requireWeightAtMost: 'u64',2493 Transport: 'Null',2338 call: 'XcmDoubleEncoded',2494 Unroutable: 'Null',2339 },2495 UnknownClaim: 'Null',2340 HrmpNewChannelOpenRequest: {2341 sender: 'Compact<u32>',2342 maxMessageSize: 'Compact<u32>',2496 FailedToDecode: 'Null',2343 maxCapacity: 'Compact<u32>',2497 MaxWeightInvalid: 'Null',2344 },2498 NotHoldingFees: 'Null',2345 HrmpChannelAccepted: {2346 recipient: 'Compact<u32>',2347 },2499 TooExpensive: 'Null',2348 HrmpChannelClosing: {2349 initiator: 'Compact<u32>',2350 sender: 'Compact<u32>',2500 Trap: 'u64',2351 recipient: 'Compact<u32>',2501 UnhandledXcmVersion: 'Null',2352 },2502 WeightLimitReached: 'u64',2353 RelayedFrom: {2354 who: 'XcmV1MultilocationJunctions',2355 message: 'XcmV1Xcm',2356 },2357 SubscribeVersion: {2358 queryId: 'Compact<u64>',2359 maxResponseWeight: 'Compact<u64>',2503 Barrier: 'Null',2360 },2361 UnsubscribeVersion: 'Null'2504 WeightNotComputable: 'Null'2362 }2505 }2363 },2506 },2364 /**2507 /**2365 * Lookup284: xcm::v1::order::Order<RuntimeCall>2508 * Lookup298: xcm::v2::multiasset::MultiAssetFilter2366 **/2509 **/2367 XcmV1Order: {2510 XcmV2MultiassetMultiAssetFilter: {2368 _enum: {2511 _enum: {2369 Noop: 'Null',2512 Definite: 'XcmV2MultiassetMultiAssets',2370 DepositAsset: {2513 Wild: 'XcmV2MultiassetWildMultiAsset'2371 assets: 'XcmV1MultiassetMultiAssetFilter',2372 maxAssets: 'u32',2514 }2373 beneficiary: 'XcmV1MultiLocation',2374 },2375 DepositReserveAsset: {2515 },2376 assets: 'XcmV1MultiassetMultiAssetFilter',2377 maxAssets: 'u32',2378 dest: 'XcmV1MultiLocation',2379 effects: 'Vec<XcmV1Order>',2380 },2381 ExchangeAsset: {2516 /**2382 give: 'XcmV1MultiassetMultiAssetFilter',2517 * Lookup299: xcm::v2::multiasset::WildMultiAsset2383 receive: 'XcmV1MultiassetMultiAssets',2384 },2385 InitiateReserveWithdraw: {2386 assets: 'XcmV1MultiassetMultiAssetFilter',2387 reserve: 'XcmV1MultiLocation',2388 effects: 'Vec<XcmV1Order>',2389 },2390 InitiateTeleport: {2391 assets: 'XcmV1MultiassetMultiAssetFilter',2518 **/2392 dest: 'XcmV1MultiLocation',2519 XcmV2MultiassetWildMultiAsset: {2393 effects: 'Vec<XcmV1Order>',2394 },2395 QueryHolding: {2396 queryId: 'Compact<u64>',2520 _enum: {2397 dest: 'XcmV1MultiLocation',2398 assets: 'XcmV1MultiassetMultiAssetFilter',2399 },2400 BuyExecution: {2401 fees: 'XcmV1MultiAsset',2521 All: 'Null',2402 weight: 'u64',2522 AllOf: {2403 debt: 'u64',2404 haltOnError: 'bool',2523 id: 'XcmV2MultiassetAssetId',2405 instructions: 'Vec<XcmV1Xcm>'2524 fun: 'XcmV2MultiassetWildFungibility'2406 }2525 }2407 }2526 }2408 },2527 },2409 /**2528 /**2410 * Lookup286: xcm::v1::Response2529 * Lookup300: xcm::v2::multiasset::WildFungibility2411 **/2530 **/2412 XcmV1Response: {2531 XcmV2MultiassetWildFungibility: {2532 _enum: ['Fungible', 'NonFungible']2533 },2534 /**2535 * Lookup301: xcm::v2::WeightLimit2536 **/2537 XcmV2WeightLimit: {2413 _enum: {2538 _enum: {2414 Assets: 'XcmV1MultiassetMultiAssets',2539 Unlimited: 'Null',2415 Version: 'u32'2540 Limited: 'Compact<u64>'2416 }2541 }2417 },2542 },2418 /**2543 /**2419 * Lookup300: cumulus_pallet_xcm::pallet::Call<T>2544 * Lookup310: cumulus_pallet_xcm::pallet::Call<T>2420 **/2545 **/2421 CumulusPalletXcmCall: 'Null',2546 CumulusPalletXcmCall: 'Null',2422 /**2547 /**2423 * Lookup301: cumulus_pallet_dmp_queue::pallet::Call<T>2548 * Lookup311: cumulus_pallet_dmp_queue::pallet::Call<T>2424 **/2549 **/2425 CumulusPalletDmpQueueCall: {2550 CumulusPalletDmpQueueCall: {2426 _enum: {2551 _enum: {2427 service_overweight: {2552 service_overweight: {2428 index: 'u64',2553 index: 'u64',2429 weightLimit: 'u64'2554 weightLimit: 'SpWeightsWeightV2Weight'2430 }2555 }2431 }2556 }2432 },2557 },2433 /**2558 /**2434 * Lookup302: pallet_inflation::pallet::Call<T>2559 * Lookup312: pallet_inflation::pallet::Call<T>2435 **/2560 **/2436 PalletInflationCall: {2561 PalletInflationCall: {2437 _enum: {2562 _enum: {2441 }2566 }2442 },2567 },2443 /**2568 /**2444 * Lookup303: pallet_unique::Call<T>2569 * Lookup313: pallet_unique::Call<T>2445 **/2570 **/2446 PalletUniqueCall: {2571 PalletUniqueCall: {2447 _enum: {2572 _enum: {2592 }2717 }2593 },2718 },2594 /**2719 /**2595 * Lookup308: up_data_structs::CollectionMode2720 * Lookup318: up_data_structs::CollectionMode2596 **/2721 **/2597 UpDataStructsCollectionMode: {2722 UpDataStructsCollectionMode: {2598 _enum: {2723 _enum: {2602 }2727 }2603 },2728 },2604 /**2729 /**2605 * Lookup309: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2730 * Lookup319: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2606 **/2731 **/2607 UpDataStructsCreateCollectionData: {2732 UpDataStructsCreateCollectionData: {2608 mode: 'UpDataStructsCollectionMode',2733 mode: 'UpDataStructsCollectionMode',2617 properties: 'Vec<UpDataStructsProperty>'2742 properties: 'Vec<UpDataStructsProperty>'2618 },2743 },2619 /**2744 /**2620 * Lookup311: up_data_structs::AccessMode2745 * Lookup321: up_data_structs::AccessMode2621 **/2746 **/2622 UpDataStructsAccessMode: {2747 UpDataStructsAccessMode: {2623 _enum: ['Normal', 'AllowList']2748 _enum: ['Normal', 'AllowList']2624 },2749 },2625 /**2750 /**2626 * Lookup313: up_data_structs::CollectionLimits2751 * Lookup323: up_data_structs::CollectionLimits2627 **/2752 **/2628 UpDataStructsCollectionLimits: {2753 UpDataStructsCollectionLimits: {2629 accountTokenOwnershipLimit: 'Option<u32>',2754 accountTokenOwnershipLimit: 'Option<u32>',2637 transfersEnabled: 'Option<bool>'2762 transfersEnabled: 'Option<bool>'2638 },2763 },2639 /**2764 /**2640 * Lookup315: up_data_structs::SponsoringRateLimit2765 * Lookup325: up_data_structs::SponsoringRateLimit2641 **/2766 **/2642 UpDataStructsSponsoringRateLimit: {2767 UpDataStructsSponsoringRateLimit: {2643 _enum: {2768 _enum: {2646 }2771 }2647 },2772 },2648 /**2773 /**2649 * Lookup318: up_data_structs::CollectionPermissions2774 * Lookup328: up_data_structs::CollectionPermissions2650 **/2775 **/2651 UpDataStructsCollectionPermissions: {2776 UpDataStructsCollectionPermissions: {2652 access: 'Option<UpDataStructsAccessMode>',2777 access: 'Option<UpDataStructsAccessMode>',2653 mintMode: 'Option<bool>',2778 mintMode: 'Option<bool>',2654 nesting: 'Option<UpDataStructsNestingPermissions>'2779 nesting: 'Option<UpDataStructsNestingPermissions>'2655 },2780 },2656 /**2781 /**2657 * Lookup320: up_data_structs::NestingPermissions2782 * Lookup330: up_data_structs::NestingPermissions2658 **/2783 **/2659 UpDataStructsNestingPermissions: {2784 UpDataStructsNestingPermissions: {2660 tokenOwner: 'bool',2785 tokenOwner: 'bool',2661 collectionAdmin: 'bool',2786 collectionAdmin: 'bool',2662 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2787 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2663 },2788 },2664 /**2789 /**2665 * Lookup322: up_data_structs::OwnerRestrictedSet2790 * Lookup332: up_data_structs::OwnerRestrictedSet2666 **/2791 **/2667 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2792 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2668 /**2793 /**2669 * Lookup327: up_data_structs::PropertyKeyPermission2794 * Lookup337: up_data_structs::PropertyKeyPermission2670 **/2795 **/2671 UpDataStructsPropertyKeyPermission: {2796 UpDataStructsPropertyKeyPermission: {2672 key: 'Bytes',2797 key: 'Bytes',2673 permission: 'UpDataStructsPropertyPermission'2798 permission: 'UpDataStructsPropertyPermission'2674 },2799 },2675 /**2800 /**2676 * Lookup328: up_data_structs::PropertyPermission2801 * Lookup338: up_data_structs::PropertyPermission2677 **/2802 **/2678 UpDataStructsPropertyPermission: {2803 UpDataStructsPropertyPermission: {2679 mutable: 'bool',2804 mutable: 'bool',2680 collectionAdmin: 'bool',2805 collectionAdmin: 'bool',2681 tokenOwner: 'bool'2806 tokenOwner: 'bool'2682 },2807 },2683 /**2808 /**2684 * Lookup331: up_data_structs::Property2809 * Lookup341: up_data_structs::Property2685 **/2810 **/2686 UpDataStructsProperty: {2811 UpDataStructsProperty: {2687 key: 'Bytes',2812 key: 'Bytes',2688 value: 'Bytes'2813 value: 'Bytes'2689 },2814 },2690 /**2815 /**2691 * Lookup334: up_data_structs::CreateItemData2816 * Lookup344: up_data_structs::CreateItemData2692 **/2817 **/2693 UpDataStructsCreateItemData: {2818 UpDataStructsCreateItemData: {2694 _enum: {2819 _enum: {2698 }2823 }2699 },2824 },2700 /**2825 /**2701 * Lookup335: up_data_structs::CreateNftData2826 * Lookup345: up_data_structs::CreateNftData2702 **/2827 **/2703 UpDataStructsCreateNftData: {2828 UpDataStructsCreateNftData: {2704 properties: 'Vec<UpDataStructsProperty>'2829 properties: 'Vec<UpDataStructsProperty>'2705 },2830 },2706 /**2831 /**2707 * Lookup336: up_data_structs::CreateFungibleData2832 * Lookup346: up_data_structs::CreateFungibleData2708 **/2833 **/2709 UpDataStructsCreateFungibleData: {2834 UpDataStructsCreateFungibleData: {2710 value: 'u128'2835 value: 'u128'2711 },2836 },2712 /**2837 /**2713 * Lookup337: up_data_structs::CreateReFungibleData2838 * Lookup347: up_data_structs::CreateReFungibleData2714 **/2839 **/2715 UpDataStructsCreateReFungibleData: {2840 UpDataStructsCreateReFungibleData: {2716 pieces: 'u128',2841 pieces: 'u128',2717 properties: 'Vec<UpDataStructsProperty>'2842 properties: 'Vec<UpDataStructsProperty>'2718 },2843 },2719 /**2844 /**2720 * Lookup340: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2845 * Lookup350: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2721 **/2846 **/2722 UpDataStructsCreateItemExData: {2847 UpDataStructsCreateItemExData: {2723 _enum: {2848 _enum: {2728 }2853 }2729 },2854 },2730 /**2855 /**2731 * Lookup342: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2856 * Lookup352: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2732 **/2857 **/2733 UpDataStructsCreateNftExData: {2858 UpDataStructsCreateNftExData: {2734 properties: 'Vec<UpDataStructsProperty>',2859 properties: 'Vec<UpDataStructsProperty>',2735 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2860 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2736 },2861 },2737 /**2862 /**2738 * Lookup349: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2863 * Lookup359: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2739 **/2864 **/2740 UpDataStructsCreateRefungibleExSingleOwner: {2865 UpDataStructsCreateRefungibleExSingleOwner: {2741 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2866 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2742 pieces: 'u128',2867 pieces: 'u128',2743 properties: 'Vec<UpDataStructsProperty>'2868 properties: 'Vec<UpDataStructsProperty>'2744 },2869 },2745 /**2870 /**2746 * Lookup351: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2871 * Lookup361: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2747 **/2872 **/2748 UpDataStructsCreateRefungibleExMultipleOwners: {2873 UpDataStructsCreateRefungibleExMultipleOwners: {2749 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2874 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2750 properties: 'Vec<UpDataStructsProperty>'2875 properties: 'Vec<UpDataStructsProperty>'2751 },2876 },2752 /**2877 /**2753 * Lookup352: pallet_configuration::pallet::Call<T>2878 * Lookup362: pallet_configuration::pallet::Call<T>2754 **/2879 **/2755 PalletConfigurationCall: {2880 PalletConfigurationCall: {2756 _enum: {2881 _enum: {2760 set_min_gas_price_override: {2885 set_min_gas_price_override: {2761 coeff: 'Option<u64>',2886 coeff: 'Option<u64>',2762 },2887 },2763 set_xcm_allowed_locations: {2888 __Unused2: 'Null',2764 locations: 'Option<Vec<XcmV1MultiLocation>>',2765 },2766 set_app_promotion_configuration_override: {2889 set_app_promotion_configuration_override: {2767 configuration: 'PalletConfigurationAppPromotionConfiguration',2890 configuration: 'PalletConfigurationAppPromotionConfiguration',2768 },2891 },2778 }2901 }2779 },2902 },2780 /**2903 /**2781 * Lookup357: pallet_configuration::AppPromotionConfiguration<BlockNumber>2904 * Lookup364: pallet_configuration::AppPromotionConfiguration<BlockNumber>2782 **/2905 **/2783 PalletConfigurationAppPromotionConfiguration: {2906 PalletConfigurationAppPromotionConfiguration: {2784 recalculationInterval: 'Option<u32>',2907 recalculationInterval: 'Option<u32>',2787 maxStakersPerCalculation: 'Option<u8>'2910 maxStakersPerCalculation: 'Option<u8>'2788 },2911 },2789 /**2912 /**2790 * Lookup361: pallet_template_transaction_payment::Call<T>2913 * Lookup368: pallet_template_transaction_payment::Call<T>2791 **/2914 **/2792 PalletTemplateTransactionPaymentCall: 'Null',2915 PalletTemplateTransactionPaymentCall: 'Null',2793 /**2916 /**2794 * Lookup362: pallet_structure::pallet::Call<T>2917 * Lookup369: pallet_structure::pallet::Call<T>2795 **/2918 **/2796 PalletStructureCall: 'Null',2919 PalletStructureCall: 'Null',2797 /**2920 /**2798 * Lookup363: pallet_app_promotion::pallet::Call<T>2921 * Lookup370: pallet_app_promotion::pallet::Call<T>2799 **/2922 **/2800 PalletAppPromotionCall: {2923 PalletAppPromotionCall: {2801 _enum: {2924 _enum: {2827 }2950 }2828 },2951 },2829 /**2952 /**2830 * Lookup364: pallet_foreign_assets::module::Call<T>2953 * Lookup371: pallet_foreign_assets::module::Call<T>2831 **/2954 **/2832 PalletForeignAssetsModuleCall: {2955 PalletForeignAssetsModuleCall: {2833 _enum: {2956 _enum: {2844 }2967 }2845 },2968 },2846 /**2969 /**2847 * Lookup365: pallet_evm::pallet::Call<T>2970 * Lookup372: pallet_evm::pallet::Call<T>2848 **/2971 **/2849 PalletEvmCall: {2972 PalletEvmCall: {2850 _enum: {2973 _enum: {2887 }3010 }2888 },3011 },2889 /**3012 /**2890 * Lookup371: pallet_ethereum::pallet::Call<T>3013 * Lookup378: pallet_ethereum::pallet::Call<T>2891 **/3014 **/2892 PalletEthereumCall: {3015 PalletEthereumCall: {2893 _enum: {3016 _enum: {2897 }3020 }2898 },3021 },2899 /**3022 /**2900 * Lookup372: ethereum::transaction::TransactionV23023 * Lookup379: ethereum::transaction::TransactionV22901 **/3024 **/2902 EthereumTransactionTransactionV2: {3025 EthereumTransactionTransactionV2: {2903 _enum: {3026 _enum: {2907 }3030 }2908 },3031 },2909 /**3032 /**2910 * Lookup373: ethereum::transaction::LegacyTransaction3033 * Lookup380: ethereum::transaction::LegacyTransaction2911 **/3034 **/2912 EthereumTransactionLegacyTransaction: {3035 EthereumTransactionLegacyTransaction: {2913 nonce: 'U256',3036 nonce: 'U256',2919 signature: 'EthereumTransactionTransactionSignature'3042 signature: 'EthereumTransactionTransactionSignature'2920 },3043 },2921 /**3044 /**2922 * Lookup374: ethereum::transaction::TransactionAction3045 * Lookup381: ethereum::transaction::TransactionAction2923 **/3046 **/2924 EthereumTransactionTransactionAction: {3047 EthereumTransactionTransactionAction: {2925 _enum: {3048 _enum: {2928 }3051 }2929 },3052 },2930 /**3053 /**2931 * Lookup375: ethereum::transaction::TransactionSignature3054 * Lookup382: ethereum::transaction::TransactionSignature2932 **/3055 **/2933 EthereumTransactionTransactionSignature: {3056 EthereumTransactionTransactionSignature: {2934 v: 'u64',3057 v: 'u64',2935 r: 'H256',3058 r: 'H256',2936 s: 'H256'3059 s: 'H256'2937 },3060 },2938 /**3061 /**2939 * Lookup377: ethereum::transaction::EIP2930Transaction3062 * Lookup384: ethereum::transaction::EIP2930Transaction2940 **/3063 **/2941 EthereumTransactionEip2930Transaction: {3064 EthereumTransactionEip2930Transaction: {2942 chainId: 'u64',3065 chainId: 'u64',2952 s: 'H256'3075 s: 'H256'2953 },3076 },2954 /**3077 /**2955 * Lookup379: ethereum::transaction::AccessListItem3078 * Lookup386: ethereum::transaction::AccessListItem2956 **/3079 **/2957 EthereumTransactionAccessListItem: {3080 EthereumTransactionAccessListItem: {2958 address: 'H160',3081 address: 'H160',2959 storageKeys: 'Vec<H256>'3082 storageKeys: 'Vec<H256>'2960 },3083 },2961 /**3084 /**2962 * Lookup380: ethereum::transaction::EIP1559Transaction3085 * Lookup387: ethereum::transaction::EIP1559Transaction2963 **/3086 **/2964 EthereumTransactionEip1559Transaction: {3087 EthereumTransactionEip1559Transaction: {2965 chainId: 'u64',3088 chainId: 'u64',2976 s: 'H256'3099 s: 'H256'2977 },3100 },2978 /**3101 /**2979 * Lookup381: pallet_evm_migration::pallet::Call<T>3102 * Lookup388: pallet_evm_coder_substrate::pallet::Call<T>2980 **/3103 **/3104 PalletEvmCoderSubstrateCall: {3105 _enum: ['empty_call']3106 },3107 /**3108 * Lookup389: pallet_evm_contract_helpers::pallet::Call<T>3109 **/3110 PalletEvmContractHelpersCall: {3111 _enum: {3112 migrate_from_self_sponsoring: {3113 addresses: 'Vec<H160>'3114 }3115 }3116 },3117 /**3118 * Lookup391: pallet_evm_migration::pallet::Call<T>3119 **/2981 PalletEvmMigrationCall: {3120 PalletEvmMigrationCall: {2982 _enum: {3121 _enum: {2983 begin: {3122 begin: {3001 }3140 }3002 },3141 },3003 /**3142 /**3004 * Lookup385: pallet_maintenance::pallet::Call<T>3143 * Lookup395: pallet_maintenance::pallet::Call<T>3005 **/3144 **/3006 PalletMaintenanceCall: {3145 PalletMaintenanceCall: {3007 _enum: {3146 _enum: {3017 }3156 }3018 },3157 },3019 /**3158 /**3020 * Lookup386: pallet_test_utils::pallet::Call<T>3159 * Lookup396: pallet_test_utils::pallet::Call<T>3021 **/3160 **/3022 PalletTestUtilsCall: {3161 PalletTestUtilsCall: {3023 _enum: {3162 _enum: {3036 }3175 }3037 },3176 },3038 /**3177 /**3039 * Lookup388: pallet_sudo::pallet::Error<T>3178 * Lookup398: pallet_sudo::pallet::Error<T>3040 **/3179 **/3041 PalletSudoError: {3180 PalletSudoError: {3042 _enum: ['RequireSudo']3181 _enum: ['RequireSudo']3043 },3182 },3044 /**3183 /**3045 * Lookup390: orml_vesting::module::Error<T>3184 * Lookup400: orml_vesting::module::Error<T>3046 **/3185 **/3047 OrmlVestingModuleError: {3186 OrmlVestingModuleError: {3048 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']3187 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']3049 },3188 },3050 /**3189 /**3051 * Lookup391: orml_xtokens::module::Error<T>3190 * Lookup401: orml_xtokens::module::Error<T>3052 **/3191 **/3053 OrmlXtokensModuleError: {3192 OrmlXtokensModuleError: {3054 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']3193 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']3055 },3194 },3056 /**3195 /**3057 * Lookup394: orml_tokens::BalanceLock<Balance>3196 * Lookup404: orml_tokens::BalanceLock<Balance>3058 **/3197 **/3059 OrmlTokensBalanceLock: {3198 OrmlTokensBalanceLock: {3060 id: '[u8;8]',3199 id: '[u8;8]',3061 amount: 'u128'3200 amount: 'u128'3062 },3201 },3063 /**3202 /**3064 * Lookup396: orml_tokens::AccountData<Balance>3203 * Lookup406: orml_tokens::AccountData<Balance>3065 **/3204 **/3066 OrmlTokensAccountData: {3205 OrmlTokensAccountData: {3067 free: 'u128',3206 free: 'u128',3068 reserved: 'u128',3207 reserved: 'u128',3069 frozen: 'u128'3208 frozen: 'u128'3070 },3209 },3071 /**3210 /**3072 * Lookup398: orml_tokens::ReserveData<ReserveIdentifier, Balance>3211 * Lookup408: orml_tokens::ReserveData<ReserveIdentifier, Balance>3073 **/3212 **/3074 OrmlTokensReserveData: {3213 OrmlTokensReserveData: {3075 id: 'Null',3214 id: 'Null',3076 amount: 'u128'3215 amount: 'u128'3077 },3216 },3078 /**3217 /**3079 * Lookup400: orml_tokens::module::Error<T>3218 * Lookup410: orml_tokens::module::Error<T>3080 **/3219 **/3081 OrmlTokensModuleError: {3220 OrmlTokensModuleError: {3082 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']3221 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']3083 },3222 },3084 /**3223 /**3085 * Lookup405: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>3224 * Lookup415: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>3086 **/3225 **/3087 PalletIdentityRegistrarInfo: {3226 PalletIdentityRegistrarInfo: {3088 account: 'AccountId32',3227 account: 'AccountId32',3089 fee: 'u128',3228 fee: 'u128',3090 fields: 'PalletIdentityBitFlags'3229 fields: 'PalletIdentityBitFlags'3091 },3230 },3092 /**3231 /**3093 * Lookup407: pallet_identity::pallet::Error<T>3232 * Lookup417: pallet_identity::pallet::Error<T>3094 **/3233 **/3095 PalletIdentityError: {3234 PalletIdentityError: {3096 _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']3235 _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']3097 },3236 },3098 /**3237 /**3099 * Lookup408: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>3238 * Lookup418: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>3100 **/3239 **/3101 PalletPreimageRequestStatus: {3240 PalletPreimageRequestStatus: {3102 _enum: {3241 _enum: {3112 }3251 }3113 },3252 },3114 /**3253 /**3115 * Lookup413: pallet_preimage::pallet::Error<T>3254 * Lookup423: pallet_preimage::pallet::Error<T>3116 **/3255 **/3117 PalletPreimageError: {3256 PalletPreimageError: {3118 _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']3257 _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']3119 },3258 },3120 /**3259 /**3121 * Lookup415: cumulus_pallet_xcmp_queue::InboundChannelDetails3260 * Lookup425: cumulus_pallet_xcmp_queue::InboundChannelDetails3122 **/3261 **/3123 CumulusPalletXcmpQueueInboundChannelDetails: {3262 CumulusPalletXcmpQueueInboundChannelDetails: {3124 sender: 'u32',3263 sender: 'u32',3125 state: 'CumulusPalletXcmpQueueInboundState',3264 state: 'CumulusPalletXcmpQueueInboundState',3126 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'3265 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'3127 },3266 },3128 /**3267 /**3129 * Lookup416: cumulus_pallet_xcmp_queue::InboundState3268 * Lookup426: cumulus_pallet_xcmp_queue::InboundState3130 **/3269 **/3131 CumulusPalletXcmpQueueInboundState: {3270 CumulusPalletXcmpQueueInboundState: {3132 _enum: ['Ok', 'Suspended']3271 _enum: ['Ok', 'Suspended']3133 },3272 },3134 /**3273 /**3135 * Lookup419: polkadot_parachain::primitives::XcmpMessageFormat3274 * Lookup429: polkadot_parachain::primitives::XcmpMessageFormat3136 **/3275 **/3137 PolkadotParachainPrimitivesXcmpMessageFormat: {3276 PolkadotParachainPrimitivesXcmpMessageFormat: {3138 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']3277 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']3139 },3278 },3140 /**3279 /**3141 * Lookup422: cumulus_pallet_xcmp_queue::OutboundChannelDetails3280 * Lookup432: cumulus_pallet_xcmp_queue::OutboundChannelDetails3142 **/3281 **/3143 CumulusPalletXcmpQueueOutboundChannelDetails: {3282 CumulusPalletXcmpQueueOutboundChannelDetails: {3144 recipient: 'u32',3283 recipient: 'u32',3148 lastIndex: 'u16'3287 lastIndex: 'u16'3149 },3288 },3150 /**3289 /**3151 * Lookup423: cumulus_pallet_xcmp_queue::OutboundState3290 * Lookup433: cumulus_pallet_xcmp_queue::OutboundState3152 **/3291 **/3153 CumulusPalletXcmpQueueOutboundState: {3292 CumulusPalletXcmpQueueOutboundState: {3154 _enum: ['Ok', 'Suspended']3293 _enum: ['Ok', 'Suspended']3155 },3294 },3156 /**3295 /**3157 * Lookup425: cumulus_pallet_xcmp_queue::QueueConfigData3296 * Lookup435: cumulus_pallet_xcmp_queue::QueueConfigData3158 **/3297 **/3159 CumulusPalletXcmpQueueQueueConfigData: {3298 CumulusPalletXcmpQueueQueueConfigData: {3160 suspendThreshold: 'u32',3299 suspendThreshold: 'u32',3165 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'3304 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'3166 },3305 },3167 /**3306 /**3168 * Lookup427: cumulus_pallet_xcmp_queue::pallet::Error<T>3307 * Lookup437: cumulus_pallet_xcmp_queue::pallet::Error<T>3169 **/3308 **/3170 CumulusPalletXcmpQueueError: {3309 CumulusPalletXcmpQueueError: {3171 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']3310 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']3311 },3312 /**3313 * Lookup438: pallet_xcm::pallet::QueryStatus<BlockNumber>3314 **/3315 PalletXcmQueryStatus: {3316 _enum: {3317 Pending: {3318 responder: 'XcmVersionedMultiLocation',3319 maybeMatchQuerier: 'Option<XcmVersionedMultiLocation>',3320 maybeNotify: 'Option<(u8,u8)>',3321 timeout: 'u32',3322 },3323 VersionNotifier: {3324 origin: 'XcmVersionedMultiLocation',3325 isActive: 'bool',3326 },3327 Ready: {3328 response: 'XcmVersionedResponse',3329 at: 'u32'3330 }3331 }3332 },3333 /**3334 * Lookup442: xcm::VersionedResponse3335 **/3336 XcmVersionedResponse: {3337 _enum: {3338 __Unused0: 'Null',3339 __Unused1: 'Null',3340 V2: 'XcmV2Response',3341 V3: 'XcmV3Response'3342 }3343 },3344 /**3345 * Lookup448: pallet_xcm::pallet::VersionMigrationStage3346 **/3347 PalletXcmVersionMigrationStage: {3348 _enum: {3349 MigrateSupportedVersion: 'Null',3350 MigrateVersionNotifiers: 'Null',3351 NotifyCurrentTargets: 'Option<Bytes>',3352 MigrateAndNotifyOldTargets: 'Null'3353 }3354 },3355 /**3356 * Lookup451: xcm::VersionedAssetId3357 **/3358 XcmVersionedAssetId: {3359 _enum: {3360 __Unused0: 'Null',3361 __Unused1: 'Null',3362 __Unused2: 'Null',3363 V3: 'XcmV3MultiassetAssetId'3364 }3365 },3366 /**3367 * Lookup452: pallet_xcm::pallet::RemoteLockedFungibleRecord3368 **/3369 PalletXcmRemoteLockedFungibleRecord: {3370 amount: 'u128',3371 owner: 'XcmVersionedMultiLocation',3372 locker: 'XcmVersionedMultiLocation',3373 users: 'u32'3172 },3374 },3173 /**3375 /**3174 * Lookup428: pallet_xcm::pallet::Error<T>3376 * Lookup456: pallet_xcm::pallet::Error<T>3175 **/3377 **/3176 PalletXcmError: {3378 PalletXcmError: {3177 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']3379 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'InvalidAsset', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse']3178 },3380 },3179 /**3381 /**3180 * Lookup429: cumulus_pallet_xcm::pallet::Error<T>3382 * Lookup457: cumulus_pallet_xcm::pallet::Error<T>3181 **/3383 **/3182 CumulusPalletXcmError: 'Null',3384 CumulusPalletXcmError: 'Null',3183 /**3385 /**3184 * Lookup430: cumulus_pallet_dmp_queue::ConfigData3386 * Lookup458: cumulus_pallet_dmp_queue::ConfigData3185 **/3387 **/3186 CumulusPalletDmpQueueConfigData: {3388 CumulusPalletDmpQueueConfigData: {3187 maxIndividual: 'SpWeightsWeightV2Weight'3389 maxIndividual: 'SpWeightsWeightV2Weight'3188 },3390 },3189 /**3391 /**3190 * Lookup431: cumulus_pallet_dmp_queue::PageIndexData3392 * Lookup459: cumulus_pallet_dmp_queue::PageIndexData3191 **/3393 **/3192 CumulusPalletDmpQueuePageIndexData: {3394 CumulusPalletDmpQueuePageIndexData: {3193 beginUsed: 'u32',3395 beginUsed: 'u32',3194 endUsed: 'u32',3396 endUsed: 'u32',3195 overweightCount: 'u64'3397 overweightCount: 'u64'3196 },3398 },3197 /**3399 /**3198 * Lookup434: cumulus_pallet_dmp_queue::pallet::Error<T>3400 * Lookup462: cumulus_pallet_dmp_queue::pallet::Error<T>3199 **/3401 **/3200 CumulusPalletDmpQueueError: {3402 CumulusPalletDmpQueueError: {3201 _enum: ['Unknown', 'OverLimit']3403 _enum: ['Unknown', 'OverLimit']3202 },3404 },3203 /**3405 /**3204 * Lookup438: pallet_unique::Error<T>3406 * Lookup466: pallet_unique::Error<T>3205 **/3407 **/3206 PalletUniqueError: {3408 PalletUniqueError: {3207 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']3409 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']3208 },3410 },3209 /**3411 /**3210 * Lookup439: pallet_configuration::pallet::Error<T>3412 * Lookup467: pallet_configuration::pallet::Error<T>3211 **/3413 **/3212 PalletConfigurationError: {3414 PalletConfigurationError: {3213 _enum: ['InconsistentConfiguration']3415 _enum: ['InconsistentConfiguration']3214 },3416 },3215 /**3417 /**3216 * Lookup440: up_data_structs::Collection<sp_core::crypto::AccountId32>3418 * Lookup468: up_data_structs::Collection<sp_core::crypto::AccountId32>3217 **/3419 **/3218 UpDataStructsCollection: {3420 UpDataStructsCollection: {3219 owner: 'AccountId32',3421 owner: 'AccountId32',3227 flags: '[u8;1]'3429 flags: '[u8;1]'3228 },3430 },3229 /**3431 /**3230 * Lookup441: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>3432 * Lookup469: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>3231 **/3433 **/3232 UpDataStructsSponsorshipStateAccountId32: {3434 UpDataStructsSponsorshipStateAccountId32: {3233 _enum: {3435 _enum: {3237 }3439 }3238 },3440 },3239 /**3441 /**3240 * Lookup442: up_data_structs::Properties3442 * Lookup470: up_data_structs::Properties3241 **/3443 **/3242 UpDataStructsProperties: {3444 UpDataStructsProperties: {3243 map: 'UpDataStructsPropertiesMapBoundedVec',3445 map: 'UpDataStructsPropertiesMapBoundedVec',3244 consumedSpace: 'u32',3446 consumedSpace: 'u32',3245 spaceLimit: 'u32'3447 reserved: 'u32'3246 },3448 },3247 /**3449 /**3248 * Lookup443: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3450 * Lookup471: up_data_structs::PropertiesMap<bounded_collections::bounded_vec::BoundedVec<T, S>>3249 **/3451 **/3250 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',3452 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',3251 /**3453 /**3252 * Lookup448: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>3454 * Lookup476: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>3253 **/3455 **/3254 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',3456 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',3255 /**3457 /**3256 * Lookup455: up_data_structs::CollectionStats3458 * Lookup483: up_data_structs::CollectionStats3257 **/3459 **/3258 UpDataStructsCollectionStats: {3460 UpDataStructsCollectionStats: {3259 created: 'u32',3461 created: 'u32',3260 destroyed: 'u32',3462 destroyed: 'u32',3261 alive: 'u32'3463 alive: 'u32'3262 },3464 },3263 /**3465 /**3264 * Lookup456: up_data_structs::TokenChild3466 * Lookup484: up_data_structs::TokenChild3265 **/3467 **/3266 UpDataStructsTokenChild: {3468 UpDataStructsTokenChild: {3267 token: 'u32',3469 token: 'u32',3268 collection: 'u32'3470 collection: 'u32'3269 },3471 },3270 /**3472 /**3271 * Lookup457: PhantomType::up_data_structs<T>3473 * Lookup485: PhantomType::up_data_structs<T>3272 **/3474 **/3273 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]',3475 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]',3274 /**3476 /**3275 * Lookup459: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3477 * Lookup487: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3276 **/3478 **/3277 UpDataStructsTokenData: {3479 UpDataStructsTokenData: {3278 properties: 'Vec<UpDataStructsProperty>',3480 properties: 'Vec<UpDataStructsProperty>',3279 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',3481 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',3280 pieces: 'u128'3482 pieces: 'u128'3281 },3483 },3282 /**3484 /**3283 * Lookup461: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>3485 * Lookup489: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>3284 **/3486 **/3285 UpDataStructsRpcCollection: {3487 UpDataStructsRpcCollection: {3286 owner: 'AccountId32',3488 owner: 'AccountId32',3297 flags: 'UpDataStructsRpcCollectionFlags'3499 flags: 'UpDataStructsRpcCollectionFlags'3298 },3500 },3299 /**3501 /**3300 * Lookup462: up_data_structs::RpcCollectionFlags3502 * Lookup490: up_data_structs::RpcCollectionFlags3301 **/3503 **/3302 UpDataStructsRpcCollectionFlags: {3504 UpDataStructsRpcCollectionFlags: {3303 foreign: 'bool',3505 foreign: 'bool',3304 erc721metadata: 'bool'3506 erc721metadata: 'bool'3305 },3507 },3306 /**3508 /**3307 * Lookup463: up_pov_estimate_rpc::PovInfo3509 * Lookup491: up_pov_estimate_rpc::PovInfo3308 **/3510 **/3309 UpPovEstimateRpcPovInfo: {3511 UpPovEstimateRpcPovInfo: {3310 proofSize: 'u64',3512 proofSize: 'u64',3314 keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'3516 keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'3315 },3517 },3316 /**3518 /**3317 * Lookup466: sp_runtime::transaction_validity::TransactionValidityError3519 * Lookup494: sp_runtime::transaction_validity::TransactionValidityError3318 **/3520 **/3319 SpRuntimeTransactionValidityTransactionValidityError: {3521 SpRuntimeTransactionValidityTransactionValidityError: {3320 _enum: {3522 _enum: {3323 }3525 }3324 },3526 },3325 /**3527 /**3326 * Lookup467: sp_runtime::transaction_validity::InvalidTransaction3528 * Lookup495: sp_runtime::transaction_validity::InvalidTransaction3327 **/3529 **/3328 SpRuntimeTransactionValidityInvalidTransaction: {3530 SpRuntimeTransactionValidityInvalidTransaction: {3329 _enum: {3531 _enum: {3341 }3543 }3342 },3544 },3343 /**3545 /**3344 * Lookup468: sp_runtime::transaction_validity::UnknownTransaction3546 * Lookup496: sp_runtime::transaction_validity::UnknownTransaction3345 **/3547 **/3346 SpRuntimeTransactionValidityUnknownTransaction: {3548 SpRuntimeTransactionValidityUnknownTransaction: {3347 _enum: {3549 _enum: {3351 }3553 }3352 },3554 },3353 /**3555 /**3354 * Lookup470: up_pov_estimate_rpc::TrieKeyValue3556 * Lookup498: up_pov_estimate_rpc::TrieKeyValue3355 **/3557 **/3356 UpPovEstimateRpcTrieKeyValue: {3558 UpPovEstimateRpcTrieKeyValue: {3357 key: 'Bytes',3559 key: 'Bytes',3358 value: 'Bytes'3560 value: 'Bytes'3359 },3561 },3360 /**3562 /**3361 * Lookup472: pallet_common::pallet::Error<T>3563 * Lookup500: pallet_common::pallet::Error<T>3362 **/3564 **/3363 PalletCommonError: {3565 PalletCommonError: {3364 _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']3566 _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']3365 },3567 },3366 /**3568 /**3367 * Lookup474: pallet_fungible::pallet::Error<T>3569 * Lookup502: pallet_fungible::pallet::Error<T>3368 **/3570 **/3369 PalletFungibleError: {3571 PalletFungibleError: {3370 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']3572 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']3371 },3573 },3372 /**3574 /**3373 * Lookup478: pallet_refungible::pallet::Error<T>3575 * Lookup507: pallet_refungible::pallet::Error<T>3374 **/3576 **/3375 PalletRefungibleError: {3577 PalletRefungibleError: {3376 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3578 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3377 },3579 },3378 /**3580 /**3379 * Lookup479: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3581 * Lookup508: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3380 **/3582 **/3381 PalletNonfungibleItemData: {3583 PalletNonfungibleItemData: {3382 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3584 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3383 },3585 },3384 /**3586 /**3385 * Lookup481: up_data_structs::PropertyScope3587 * Lookup510: up_data_structs::PropertyScope3386 **/3588 **/3387 UpDataStructsPropertyScope: {3589 UpDataStructsPropertyScope: {3388 _enum: ['None', 'Rmrk']3590 _enum: ['None', 'Rmrk']3389 },3591 },3390 /**3592 /**3391 * Lookup484: pallet_nonfungible::pallet::Error<T>3593 * Lookup513: pallet_nonfungible::pallet::Error<T>3392 **/3594 **/3393 PalletNonfungibleError: {3595 PalletNonfungibleError: {3394 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3596 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3395 },3597 },3396 /**3598 /**3397 * Lookup485: pallet_structure::pallet::Error<T>3599 * Lookup514: pallet_structure::pallet::Error<T>3398 **/3600 **/3399 PalletStructureError: {3601 PalletStructureError: {3400 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection']3602 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection']3401 },3603 },3402 /**3604 /**3403 * Lookup490: pallet_app_promotion::pallet::Error<T>3605 * Lookup519: pallet_app_promotion::pallet::Error<T>3404 **/3606 **/3405 PalletAppPromotionError: {3607 PalletAppPromotionError: {3406 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation', 'InsufficientStakedBalance']3608 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation', 'InsufficientStakedBalance']3407 },3609 },3408 /**3610 /**3409 * Lookup491: pallet_foreign_assets::module::Error<T>3611 * Lookup520: pallet_foreign_assets::module::Error<T>3410 **/3612 **/3411 PalletForeignAssetsModuleError: {3613 PalletForeignAssetsModuleError: {3412 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']3614 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']3413 },3615 },3414 /**3616 /**3415 * Lookup493: pallet_evm::pallet::Error<T>3617 * Lookup522: pallet_evm::pallet::Error<T>3416 **/3618 **/3417 PalletEvmError: {3619 PalletEvmError: {3418 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']3620 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']3419 },3621 },3420 /**3622 /**3421 * Lookup496: fp_rpc::TransactionStatus3623 * Lookup525: fp_rpc::TransactionStatus3422 **/3624 **/3423 FpRpcTransactionStatus: {3625 FpRpcTransactionStatus: {3424 transactionHash: 'H256',3626 transactionHash: 'H256',3430 logsBloom: 'EthbloomBloom'3632 logsBloom: 'EthbloomBloom'3431 },3633 },3432 /**3634 /**3433 * Lookup498: ethbloom::Bloom3635 * Lookup527: ethbloom::Bloom3434 **/3636 **/3435 EthbloomBloom: '[u8;256]',3637 EthbloomBloom: '[u8;256]',3436 /**3638 /**3437 * Lookup500: ethereum::receipt::ReceiptV33639 * Lookup529: ethereum::receipt::ReceiptV33438 **/3640 **/3439 EthereumReceiptReceiptV3: {3641 EthereumReceiptReceiptV3: {3440 _enum: {3642 _enum: {3444 }3646 }3445 },3647 },3446 /**3648 /**3447 * Lookup501: ethereum::receipt::EIP658ReceiptData3649 * Lookup530: ethereum::receipt::EIP658ReceiptData3448 **/3650 **/3449 EthereumReceiptEip658ReceiptData: {3651 EthereumReceiptEip658ReceiptData: {3450 statusCode: 'u8',3652 statusCode: 'u8',3453 logs: 'Vec<EthereumLog>'3655 logs: 'Vec<EthereumLog>'3454 },3656 },3455 /**3657 /**3456 * Lookup502: ethereum::block::Block<ethereum::transaction::TransactionV2>3658 * Lookup531: ethereum::block::Block<ethereum::transaction::TransactionV2>3457 **/3659 **/3458 EthereumBlock: {3660 EthereumBlock: {3459 header: 'EthereumHeader',3661 header: 'EthereumHeader',3460 transactions: 'Vec<EthereumTransactionTransactionV2>',3662 transactions: 'Vec<EthereumTransactionTransactionV2>',3461 ommers: 'Vec<EthereumHeader>'3663 ommers: 'Vec<EthereumHeader>'3462 },3664 },3463 /**3665 /**3464 * Lookup503: ethereum::header::Header3666 * Lookup532: ethereum::header::Header3465 **/3667 **/3466 EthereumHeader: {3668 EthereumHeader: {3467 parentHash: 'H256',3669 parentHash: 'H256',3481 nonce: 'EthereumTypesHashH64'3683 nonce: 'EthereumTypesHashH64'3482 },3684 },3483 /**3685 /**3484 * Lookup504: ethereum_types::hash::H643686 * Lookup533: ethereum_types::hash::H643485 **/3687 **/3486 EthereumTypesHashH64: '[u8;8]',3688 EthereumTypesHashH64: '[u8;8]',3487 /**3689 /**3488 * Lookup509: pallet_ethereum::pallet::Error<T>3690 * Lookup538: pallet_ethereum::pallet::Error<T>3489 **/3691 **/3490 PalletEthereumError: {3692 PalletEthereumError: {3491 _enum: ['InvalidSignature', 'PreLogExists']3693 _enum: ['InvalidSignature', 'PreLogExists']3492 },3694 },3493 /**3695 /**3494 * Lookup510: pallet_evm_coder_substrate::pallet::Error<T>3696 * Lookup539: pallet_evm_coder_substrate::pallet::Error<T>3495 **/3697 **/3496 PalletEvmCoderSubstrateError: {3698 PalletEvmCoderSubstrateError: {3497 _enum: ['OutOfGas', 'OutOfFund']3699 _enum: ['OutOfGas', 'OutOfFund']3498 },3700 },3499 /**3701 /**3500 * Lookup511: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3702 * Lookup540: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3501 **/3703 **/3502 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3704 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3503 _enum: {3705 _enum: {3507 }3709 }3508 },3710 },3509 /**3711 /**3510 * Lookup512: pallet_evm_contract_helpers::SponsoringModeT3712 * Lookup541: pallet_evm_contract_helpers::SponsoringModeT3511 **/3713 **/3512 PalletEvmContractHelpersSponsoringModeT: {3714 PalletEvmContractHelpersSponsoringModeT: {3513 _enum: ['Disabled', 'Allowlisted', 'Generous']3715 _enum: ['Disabled', 'Allowlisted', 'Generous']3514 },3716 },3515 /**3717 /**3516 * Lookup518: pallet_evm_contract_helpers::pallet::Error<T>3718 * Lookup547: pallet_evm_contract_helpers::pallet::Error<T>3517 **/3719 **/3518 PalletEvmContractHelpersError: {3720 PalletEvmContractHelpersError: {3519 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']3721 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']3520 },3722 },3521 /**3723 /**3522 * Lookup519: pallet_evm_migration::pallet::Error<T>3724 * Lookup548: pallet_evm_migration::pallet::Error<T>3523 **/3725 **/3524 PalletEvmMigrationError: {3726 PalletEvmMigrationError: {3525 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']3727 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']3526 },3728 },3527 /**3729 /**3528 * Lookup520: pallet_maintenance::pallet::Error<T>3730 * Lookup549: pallet_maintenance::pallet::Error<T>3529 **/3731 **/3530 PalletMaintenanceError: 'Null',3732 PalletMaintenanceError: 'Null',3531 /**3733 /**3532 * Lookup521: pallet_test_utils::pallet::Error<T>3734 * Lookup550: pallet_test_utils::pallet::Error<T>3533 **/3735 **/3534 PalletTestUtilsError: {3736 PalletTestUtilsError: {3535 _enum: ['TestPalletDisabled', 'TriggerRollback']3737 _enum: ['TestPalletDisabled', 'TriggerRollback']3536 },3738 },3537 /**3739 /**3538 * Lookup523: sp_runtime::MultiSignature3740 * Lookup552: sp_runtime::MultiSignature3539 **/3741 **/3540 SpRuntimeMultiSignature: {3742 SpRuntimeMultiSignature: {3541 _enum: {3743 _enum: {3545 }3747 }3546 },3748 },3547 /**3749 /**3548 * Lookup524: sp_core::ed25519::Signature3750 * Lookup553: sp_core::ed25519::Signature3549 **/3751 **/3550 SpCoreEd25519Signature: '[u8;64]',3752 SpCoreEd25519Signature: '[u8;64]',3551 /**3753 /**3552 * Lookup526: sp_core::sr25519::Signature3754 * Lookup555: sp_core::sr25519::Signature3553 **/3755 **/3554 SpCoreSr25519Signature: '[u8;64]',3756 SpCoreSr25519Signature: '[u8;64]',3555 /**3757 /**3556 * Lookup527: sp_core::ecdsa::Signature3758 * Lookup556: sp_core::ecdsa::Signature3557 **/3759 **/3558 SpCoreEcdsaSignature: '[u8;65]',3760 SpCoreEcdsaSignature: '[u8;65]',3559 /**3761 /**3560 * Lookup530: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3762 * Lookup559: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3561 **/3763 **/3562 FrameSystemExtensionsCheckSpecVersion: 'Null',3764 FrameSystemExtensionsCheckSpecVersion: 'Null',3563 /**3765 /**3564 * Lookup531: frame_system::extensions::check_tx_version::CheckTxVersion<T>3766 * Lookup560: frame_system::extensions::check_tx_version::CheckTxVersion<T>3565 **/3767 **/3566 FrameSystemExtensionsCheckTxVersion: 'Null',3768 FrameSystemExtensionsCheckTxVersion: 'Null',3567 /**3769 /**3568 * Lookup532: frame_system::extensions::check_genesis::CheckGenesis<T>3770 * Lookup561: frame_system::extensions::check_genesis::CheckGenesis<T>3569 **/3771 **/3570 FrameSystemExtensionsCheckGenesis: 'Null',3772 FrameSystemExtensionsCheckGenesis: 'Null',3571 /**3773 /**3572 * Lookup535: frame_system::extensions::check_nonce::CheckNonce<T>3774 * Lookup564: frame_system::extensions::check_nonce::CheckNonce<T>3573 **/3775 **/3574 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3776 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3575 /**3777 /**3576 * Lookup536: frame_system::extensions::check_weight::CheckWeight<T>3778 * Lookup565: frame_system::extensions::check_weight::CheckWeight<T>3577 **/3779 **/3578 FrameSystemExtensionsCheckWeight: 'Null',3780 FrameSystemExtensionsCheckWeight: 'Null',3579 /**3781 /**3580 * Lookup537: opal_runtime::runtime_common::maintenance::CheckMaintenance3782 * Lookup566: opal_runtime::runtime_common::maintenance::CheckMaintenance3581 **/3783 **/3582 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',3784 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',3583 /**3785 /**3584 * Lookup538: opal_runtime::runtime_common::identity::DisableIdentityCalls3786 * Lookup567: opal_runtime::runtime_common::identity::DisableIdentityCalls3585 **/3787 **/3586 OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',3788 OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',3587 /**3789 /**3588 * Lookup539: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3790 * Lookup568: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3589 **/3791 **/3590 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3792 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3591 /**3793 /**3592 * Lookup540: opal_runtime::Runtime3794 * Lookup569: opal_runtime::Runtime3593 **/3795 **/3594 OpalRuntimeRuntime: 'Null',3796 OpalRuntimeRuntime: 'Null',3595 /**3797 /**3596 * Lookup541: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3798 * Lookup570: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3597 **/3799 **/3598 PalletEthereumFakeTransactionFinalizer: 'Null'3800 PalletEthereumFakeTransactionFinalizer: 'Null'3599};3801};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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -194,10 +194,14 @@
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 PalletCollatorSelectionEvent (30) */
+ /** @name PalletCollatorSelectionEvent (31) */
interface PalletCollatorSelectionEvent extends Enum {
readonly isInvulnerableAdded: boolean;
readonly asInvulnerableAdded: {
@@ -228,7 +232,7 @@
readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';
}
- /** @name PalletSessionEvent (31) */
+ /** @name PalletSessionEvent (32) */
interface PalletSessionEvent extends Enum {
readonly isNewSession: boolean;
readonly asNewSession: {
@@ -237,7 +241,7 @@
readonly type: 'NewSession';
}
- /** @name PalletBalancesEvent (32) */
+ /** @name PalletBalancesEvent (33) */
interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -296,14 +300,14 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
}
- /** @name FrameSupportTokensMiscBalanceStatus (33) */
+ /** @name FrameSupportTokensMiscBalanceStatus (34) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
- /** @name PalletTransactionPaymentEvent (34) */
+ /** @name PalletTransactionPaymentEvent (35) */
interface PalletTransactionPaymentEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
@@ -314,7 +318,7 @@
readonly type: 'TransactionFeePaid';
}
- /** @name PalletTreasuryEvent (35) */
+ /** @name PalletTreasuryEvent (36) */
interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
@@ -361,7 +365,7 @@
readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';
}
- /** @name PalletSudoEvent (36) */
+ /** @name PalletSudoEvent (37) */
interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -378,7 +382,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name OrmlVestingModuleEvent (40) */
+ /** @name OrmlVestingModuleEvent (41) */
interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -398,7 +402,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name OrmlVestingVestingSchedule (41) */
+ /** @name OrmlVestingVestingSchedule (42) */
interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
@@ -406,81 +410,81 @@
readonly perPeriod: Compact<u128>;
}
- /** @name OrmlXtokensModuleEvent (43) */
+ /** @name OrmlXtokensModuleEvent (44) */
interface OrmlXtokensModuleEvent extends Enum {
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';
}
- /** @name XcmV1MultiassetMultiAssets (44) */
- interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
+ /** @name XcmV3MultiassetMultiAssets (45) */
+ interface XcmV3MultiassetMultiAssets extends Vec<XcmV3MultiAsset> {}
- /** @name XcmV1MultiAsset (46) */
- interface XcmV1MultiAsset extends Struct {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetFungibility;
+ /** @name XcmV3MultiAsset (47) */
+ interface XcmV3MultiAsset extends Struct {
+ readonly id: XcmV3MultiassetAssetId;
+ readonly fun: XcmV3MultiassetFungibility;
}
- /** @name XcmV1MultiassetAssetId (47) */
- interface XcmV1MultiassetAssetId extends Enum {
+ /** @name XcmV3MultiassetAssetId (48) */
+ interface XcmV3MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
- readonly asConcrete: XcmV1MultiLocation;
+ readonly asConcrete: XcmV3MultiLocation;
readonly isAbstract: boolean;
- readonly asAbstract: Bytes;
+ readonly asAbstract: U8aFixed;
readonly type: 'Concrete' | 'Abstract';
}
- /** @name XcmV1MultiLocation (48) */
- interface XcmV1MultiLocation extends Struct {
+ /** @name XcmV3MultiLocation (49) */
+ interface XcmV3MultiLocation extends Struct {
readonly parents: u8;
- readonly interior: XcmV1MultilocationJunctions;
+ readonly interior: XcmV3Junctions;
}
- /** @name XcmV1MultilocationJunctions (49) */
- interface XcmV1MultilocationJunctions extends Enum {
+ /** @name XcmV3Junctions (50) */
+ interface XcmV3Junctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
- readonly asX1: XcmV1Junction;
+ readonly asX1: XcmV3Junction;
readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
+ readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>;
readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX5: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX6: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX7: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
readonly isX8: boolean;
- readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX8: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV1Junction (50) */
- interface XcmV1Junction extends Enum {
+ /** @name XcmV3Junction (51) */
+ interface XcmV3Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
- readonly network: XcmV0JunctionNetworkId;
+ readonly network: Option<XcmV3JunctionNetworkId>;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
- readonly network: XcmV0JunctionNetworkId;
+ readonly network: Option<XcmV3JunctionNetworkId>;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
- readonly network: XcmV0JunctionNetworkId;
+ readonly network: Option<XcmV3JunctionNetworkId>;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
@@ -488,31 +492,49 @@
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
- readonly asGeneralKey: Bytes;
+ readonly asGeneralKey: {
+ readonly length: u8;
+ readonly data: U8aFixed;
+ } & Struct;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
- readonly id: XcmV0JunctionBodyId;
- readonly part: XcmV0JunctionBodyPart;
+ readonly id: XcmV3JunctionBodyId;
+ readonly part: XcmV3JunctionBodyPart;
} & Struct;
- readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
+ readonly isGlobalConsensus: boolean;
+ readonly asGlobalConsensus: XcmV3JunctionNetworkId;
+ readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
}
- /** @name XcmV0JunctionNetworkId (52) */
- interface XcmV0JunctionNetworkId extends Enum {
- readonly isAny: boolean;
- readonly isNamed: boolean;
- readonly asNamed: Bytes;
+ /** @name XcmV3JunctionNetworkId (54) */
+ 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 type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
+ 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 XcmV0JunctionBodyId (55) */
- interface XcmV0JunctionBodyId extends Enum {
+ /** @name XcmV3JunctionBodyId (56) */
+ interface XcmV3JunctionBodyId extends Enum {
readonly isUnit: boolean;
- readonly isNamed: boolean;
- readonly asNamed: Bytes;
+ readonly isMoniker: boolean;
+ readonly asMoniker: U8aFixed;
readonly isIndex: boolean;
readonly asIndex: Compact<u32>;
readonly isExecutive: boolean;
@@ -522,11 +544,11 @@
readonly isDefense: boolean;
readonly isAdministration: boolean;
readonly isTreasury: boolean;
- readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
+ readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
}
- /** @name XcmV0JunctionBodyPart (56) */
- interface XcmV0JunctionBodyPart extends Enum {
+ /** @name XcmV3JunctionBodyPart (57) */
+ interface XcmV3JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
readonly asMembers: {
@@ -550,17 +572,17 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmV1MultiassetFungibility (57) */
- interface XcmV1MultiassetFungibility extends Enum {
+ /** @name XcmV3MultiassetFungibility (58) */
+ interface XcmV3MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
readonly isNonFungible: boolean;
- readonly asNonFungible: XcmV1MultiassetAssetInstance;
+ readonly asNonFungible: XcmV3MultiassetAssetInstance;
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1MultiassetAssetInstance (58) */
- interface XcmV1MultiassetAssetInstance extends Enum {
+ /** @name XcmV3MultiassetAssetInstance (59) */
+ interface XcmV3MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
readonly asIndex: Compact<u128>;
@@ -572,12 +594,10 @@
readonly asArray16: U8aFixed;
readonly isArray32: boolean;
readonly asArray32: U8aFixed;
- readonly isBlob: boolean;
- readonly asBlob: Bytes;
- readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
+ readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32';
}
- /** @name OrmlTokensModuleEvent (61) */
+ /** @name OrmlTokensModuleEvent (62) */
interface OrmlTokensModuleEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -662,10 +682,22 @@
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 PalletForeignAssetsAssetIds (62) */
+ /** @name PalletForeignAssetsAssetIds (63) */
interface PalletForeignAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
readonly asForeignAssetId: u32;
@@ -674,14 +706,14 @@
readonly type: 'ForeignAssetId' | 'NativeAssetId';
}
- /** @name PalletForeignAssetsNativeCurrency (63) */
+ /** @name PalletForeignAssetsNativeCurrency (64) */
interface PalletForeignAssetsNativeCurrency extends Enum {
readonly isHere: boolean;
readonly isParent: boolean;
readonly type: 'Here' | 'Parent';
}
- /** @name PalletIdentityEvent (64) */
+ /** @name PalletIdentityEvent (65) */
interface PalletIdentityEvent extends Enum {
readonly isIdentitySet: boolean;
readonly asIdentitySet: {
@@ -749,7 +781,7 @@
readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted';
}
- /** @name PalletPreimageEvent (65) */
+ /** @name PalletPreimageEvent (66) */
interface PalletPreimageEvent extends Enum {
readonly isNoted: boolean;
readonly asNoted: {
@@ -766,34 +798,30 @@
readonly type: 'Noted' | 'Requested' | 'Cleared';
}
- /** @name CumulusPalletXcmpQueueEvent (66) */
+ /** @name CumulusPalletXcmpQueueEvent (67) */
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: {
@@ -807,17 +835,17 @@
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 XcmV2TraitsError (68) */
- interface XcmV2TraitsError extends Enum {
+ /** @name XcmV3TraitsError (68) */
+ 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;
@@ -835,24 +863,38 @@
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 PalletXcmEvent (70) */
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;
@@ -862,69 +904,82 @@
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 XcmV2TraitsOutcome (71) */
- interface XcmV2TraitsOutcome extends Enum {
+ /** @name XcmV3TraitsOutcome (71) */
+ 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 XcmV2Xcm (72) */
- interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+ /** @name XcmV3Xcm (72) */
+ interface XcmV3Xcm extends Vec<XcmV3Instruction> {}
- /** @name XcmV2Instruction (74) */
- interface XcmV2Instruction extends Enum {
+ /** @name XcmV3Instruction (74) */
+ 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;
@@ -945,91 +1000,176 @@
} & 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 (75) */
- interface XcmV2Response extends Enum {
+ /** @name XcmV3Response (75) */
+ 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 XcmV3PalletInfo (79) */
+ 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 XcmV3MaybeErrorCode (82) */
+ 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 XcmV0OriginKind (78) */
- interface XcmV0OriginKind extends Enum {
+ /** @name XcmV2OriginKind (85) */
+ interface XcmV2OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
readonly isSuperuser: boolean;
@@ -1037,140 +1177,133 @@
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
- /** @name XcmDoubleEncoded (79) */
+ /** @name XcmDoubleEncoded (86) */
interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
- /** @name XcmV1MultiassetMultiAssetFilter (80) */
- interface XcmV1MultiassetMultiAssetFilter extends Enum {
+ /** @name XcmV3QueryResponseInfo (87) */
+ interface XcmV3QueryResponseInfo extends Struct {
+ readonly destination: XcmV3MultiLocation;
+ readonly queryId: Compact<u64>;
+ readonly maxWeight: SpWeightsWeightV2Weight;
+ }
+
+ /** @name XcmV3MultiassetMultiAssetFilter (88) */
+ interface XcmV3MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
- readonly asDefinite: XcmV1MultiassetMultiAssets;
+ readonly asDefinite: XcmV3MultiassetMultiAssets;
readonly isWild: boolean;
- readonly asWild: XcmV1MultiassetWildMultiAsset;
+ readonly asWild: XcmV3MultiassetWildMultiAsset;
readonly type: 'Definite' | 'Wild';
}
- /** @name XcmV1MultiassetWildMultiAsset (81) */
- interface XcmV1MultiassetWildMultiAsset extends Enum {
+ /** @name XcmV3MultiassetWildMultiAsset (89) */
+ interface XcmV3MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
readonly asAllOf: {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetWildFungibility;
+ readonly id: XcmV3MultiassetAssetId;
+ readonly fun: XcmV3MultiassetWildFungibility;
} & Struct;
- readonly type: 'All' | 'AllOf';
+ 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 XcmV1MultiassetWildFungibility (82) */
- interface XcmV1MultiassetWildFungibility extends Enum {
+ /** @name XcmV3MultiassetWildFungibility (90) */
+ interface XcmV3MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV2WeightLimit (83) */
- interface XcmV2WeightLimit extends Enum {
+ /** @name XcmV3WeightLimit (92) */
+ interface XcmV3WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
- readonly asLimited: Compact<u64>;
+ readonly asLimited: SpWeightsWeightV2Weight;
readonly type: 'Unlimited' | 'Limited';
}
- /** @name XcmVersionedMultiAssets (85) */
+ /** @name XcmVersionedMultiAssets (93) */
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 XcmV0MultiAsset (87) */
- interface XcmV0MultiAsset extends Enum {
- readonly isNone: boolean;
- readonly isAll: boolean;
- readonly isAllFungible: boolean;
- readonly isAllNonFungible: boolean;
- readonly isAllAbstractFungible: boolean;
- readonly asAllAbstractFungible: {
- readonly id: Bytes;
- } & Struct;
- readonly isAllAbstractNonFungible: boolean;
- readonly asAllAbstractNonFungible: {
- readonly class: Bytes;
- } & Struct;
- readonly isAllConcreteFungible: boolean;
- readonly asAllConcreteFungible: {
- readonly id: XcmV0MultiLocation;
- } & Struct;
- readonly isAllConcreteNonFungible: boolean;
- readonly asAllConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
- } & Struct;
- readonly isAbstractFungible: boolean;
- readonly asAbstractFungible: {
- readonly id: Bytes;
- readonly amount: Compact<u128>;
- } & Struct;
- readonly isAbstractNonFungible: boolean;
- readonly asAbstractNonFungible: {
- readonly class: Bytes;
- readonly instance: XcmV1MultiassetAssetInstance;
- } & Struct;
- readonly isConcreteFungible: boolean;
- readonly asConcreteFungible: {
- readonly id: XcmV0MultiLocation;
- readonly amount: Compact<u128>;
- } & Struct;
- readonly isConcreteNonFungible: boolean;
- readonly asConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
- readonly instance: XcmV1MultiassetAssetInstance;
- } & Struct;
- readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
+ /** @name XcmV2MultiassetMultiAssets (94) */
+ interface XcmV2MultiassetMultiAssets extends Vec<XcmV2MultiAsset> {}
+
+ /** @name XcmV2MultiAsset (96) */
+ interface XcmV2MultiAsset extends Struct {
+ readonly id: XcmV2MultiassetAssetId;
+ readonly fun: XcmV2MultiassetFungibility;
+ }
+
+ /** @name XcmV2MultiassetAssetId (97) */
+ interface XcmV2MultiassetAssetId extends Enum {
+ readonly isConcrete: boolean;
+ readonly asConcrete: XcmV2MultiLocation;
+ readonly isAbstract: boolean;
+ readonly asAbstract: Bytes;
+ readonly type: 'Concrete' | 'Abstract';
+ }
+
+ /** @name XcmV2MultiLocation (98) */
+ interface XcmV2MultiLocation extends Struct {
+ readonly parents: u8;
+ readonly interior: XcmV2MultilocationJunctions;
}
- /** @name XcmV0MultiLocation (88) */
- interface XcmV0MultiLocation extends Enum {
- readonly isNull: boolean;
+ /** @name XcmV2MultilocationJunctions (99) */
+ interface XcmV2MultilocationJunctions extends Enum {
+ readonly isHere: boolean;
readonly isX1: boolean;
- readonly asX1: XcmV0Junction;
+ readonly asX1: XcmV2Junction;
readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
+ readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>;
readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly asX5: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly asX6: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly asX7: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
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';
+ readonly asX8: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
+ readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV0Junction (89) */
- interface XcmV0Junction extends Enum {
- readonly isParent: boolean;
+ /** @name XcmV2Junction (100) */
+ 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;
@@ -1182,33 +1315,112 @@
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 XcmV2NetworkId (101) */
+ 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 XcmV2BodyId (103) */
+ interface XcmV2BodyId extends Enum {
+ readonly isUnit: boolean;
+ readonly isNamed: boolean;
+ readonly asNamed: Bytes;
+ 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' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
+ }
+
+ /** @name XcmV2BodyPart (104) */
+ interface XcmV2BodyPart 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 type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
+ readonly isMoreThanProportion: boolean;
+ readonly asMoreThanProportion: {
+ readonly nom: Compact<u32>;
+ readonly denom: Compact<u32>;
+ } & Struct;
+ readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmVersionedMultiLocation (90) */
+ /** @name XcmV2MultiassetFungibility (105) */
+ interface XcmV2MultiassetFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly asFungible: Compact<u128>;
+ readonly isNonFungible: boolean;
+ readonly asNonFungible: XcmV2MultiassetAssetInstance;
+ readonly type: 'Fungible' | 'NonFungible';
+ }
+
+ /** @name XcmV2MultiassetAssetInstance (106) */
+ interface XcmV2MultiassetAssetInstance 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 isBlob: boolean;
+ readonly asBlob: Bytes;
+ readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
+ }
+
+ /** @name XcmVersionedMultiLocation (107) */
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 CumulusPalletXcmEvent (91) */
+ /** @name CumulusPalletXcmEvent (108) */
interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
readonly isUnsupportedVersion: boolean;
readonly asUnsupportedVersion: U8aFixed;
readonly isExecutedDownward: boolean;
- readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
+ readonly asExecutedDownward: ITuple<[U8aFixed, XcmV3TraitsOutcome]>;
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (92) */
+ /** @name CumulusPalletDmpQueueEvent (109) */
interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: {
@@ -1221,7 +1433,7 @@
readonly isExecutedDownward: boolean;
readonly asExecutedDownward: {
readonly messageId: U8aFixed;
- readonly outcome: XcmV2TraitsOutcome;
+ readonly outcome: XcmV3TraitsOutcome;
} & Struct;
readonly isWeightExhausted: boolean;
readonly asWeightExhausted: {
@@ -1240,10 +1452,14 @@
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 PalletConfigurationEvent (93) */
+ /** @name PalletConfigurationEvent (110) */
interface PalletConfigurationEvent extends Enum {
readonly isNewDesiredCollators: boolean;
readonly asNewDesiredCollators: {
@@ -1260,7 +1476,7 @@
readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
}
- /** @name PalletCommonEvent (96) */
+ /** @name PalletCommonEvent (113) */
interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -1309,7 +1525,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';
}
- /** @name PalletEvmAccountBasicCrossAccountIdRepr (99) */
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (116) */
interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1318,14 +1534,14 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name PalletStructureEvent (103) */
+ /** @name PalletStructureEvent (119) */
interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletAppPromotionEvent (104) */
+ /** @name PalletAppPromotionEvent (120) */
interface PalletAppPromotionEvent extends Enum {
readonly isStakingRecalculation: boolean;
readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
@@ -1338,18 +1554,18 @@
readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
}
- /** @name PalletForeignAssetsModuleEvent (105) */
+ /** @name PalletForeignAssetsModuleEvent (121) */
interface PalletForeignAssetsModuleEvent extends Enum {
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;
@@ -1365,7 +1581,7 @@
readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';
}
- /** @name PalletForeignAssetsModuleAssetMetadata (106) */
+ /** @name PalletForeignAssetsModuleAssetMetadata (122) */
interface PalletForeignAssetsModuleAssetMetadata extends Struct {
readonly name: Bytes;
readonly symbol: Bytes;
@@ -1373,7 +1589,7 @@
readonly minimalBalance: u128;
}
- /** @name PalletEvmEvent (107) */
+ /** @name PalletEvmEvent (125) */
interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: {
@@ -1398,14 +1614,14 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
- /** @name EthereumLog (108) */
+ /** @name EthereumLog (126) */
interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (110) */
+ /** @name PalletEthereumEvent (128) */
interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: {
@@ -1417,7 +1633,7 @@
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (111) */
+ /** @name EvmCoreErrorExitReason (129) */
interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -1430,7 +1646,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (112) */
+ /** @name EvmCoreErrorExitSucceed (130) */
interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -1438,7 +1654,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (113) */
+ /** @name EvmCoreErrorExitError (131) */
interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -1460,13 +1676,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (117) */
+ /** @name EvmCoreErrorExitRevert (135) */
interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (118) */
+ /** @name EvmCoreErrorExitFatal (136) */
interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -1477,7 +1693,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name PalletEvmContractHelpersEvent (119) */
+ /** @name PalletEvmContractHelpersEvent (137) */
interface PalletEvmContractHelpersEvent extends Enum {
readonly isContractSponsorSet: boolean;
readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;
@@ -1488,20 +1704,20 @@
readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';
}
- /** @name PalletEvmMigrationEvent (120) */
+ /** @name PalletEvmMigrationEvent (138) */
interface PalletEvmMigrationEvent extends Enum {
readonly isTestEvent: boolean;
readonly type: 'TestEvent';
}
- /** @name PalletMaintenanceEvent (121) */
+ /** @name PalletMaintenanceEvent (139) */
interface PalletMaintenanceEvent extends Enum {
readonly isMaintenanceEnabled: boolean;
readonly isMaintenanceDisabled: boolean;
readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';
}
- /** @name PalletTestUtilsEvent (122) */
+ /** @name PalletTestUtilsEvent (140) */
interface PalletTestUtilsEvent extends Enum {
readonly isValueIsSet: boolean;
readonly isShouldRollback: boolean;
@@ -1509,7 +1725,7 @@
readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';
}
- /** @name FrameSystemPhase (123) */
+ /** @name FrameSystemPhase (141) */
interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -1518,13 +1734,13 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (126) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (144) */
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemCall (127) */
+ /** @name FrameSystemCall (145) */
interface FrameSystemCall extends Enum {
readonly isRemark: boolean;
readonly asRemark: {
@@ -1562,21 +1778,21 @@
readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name FrameSystemLimitsBlockWeights (131) */
+ /** @name FrameSystemLimitsBlockWeights (149) */
interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: SpWeightsWeightV2Weight;
readonly maxBlock: SpWeightsWeightV2Weight;
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (132) */
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (150) */
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (133) */
+ /** @name FrameSystemLimitsWeightsPerClass (151) */
interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: SpWeightsWeightV2Weight;
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
@@ -1584,25 +1800,25 @@
readonly reserved: Option<SpWeightsWeightV2Weight>;
}
- /** @name FrameSystemLimitsBlockLength (135) */
+ /** @name FrameSystemLimitsBlockLength (153) */
interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportDispatchPerDispatchClassU32;
}
- /** @name FrameSupportDispatchPerDispatchClassU32 (136) */
+ /** @name FrameSupportDispatchPerDispatchClassU32 (154) */
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name SpWeightsRuntimeDbWeight (137) */
+ /** @name SpWeightsRuntimeDbWeight (155) */
interface SpWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (138) */
+ /** @name SpVersionRuntimeVersion (156) */
interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -1614,7 +1830,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (143) */
+ /** @name FrameSystemError (161) */
interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -1625,7 +1841,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name PolkadotPrimitivesV2PersistedValidationData (144) */
+ /** @name PolkadotPrimitivesV2PersistedValidationData (162) */
interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
@@ -1633,18 +1849,18 @@
readonly maxPovSize: u32;
}
- /** @name PolkadotPrimitivesV2UpgradeRestriction (147) */
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (165) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
- /** @name SpTrieStorageProof (148) */
+ /** @name SpTrieStorageProof (166) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (150) */
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (168) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
@@ -1652,7 +1868,7 @@
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (153) */
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (171) */
interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -1662,7 +1878,7 @@
readonly mqcHead: Option<H256>;
}
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (154) */
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (173) */
interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1675,13 +1891,13 @@
readonly validationUpgradeDelay: u32;
}
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (160) */
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (179) */
interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemCall (161) */
+ /** @name CumulusPalletParachainSystemCall (180) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -1702,7 +1918,7 @@
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
}
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (162) */
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (181) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -1710,19 +1926,19 @@
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (164) */
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (183) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (167) */
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (186) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemError (170) */
+ /** @name CumulusPalletParachainSystemError (189) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -1735,49 +1951,10 @@
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
- /** @name PalletAuthorshipUncleEntryItem (172) */
- interface PalletAuthorshipUncleEntryItem extends Enum {
- readonly isInclusionHeight: boolean;
- readonly asInclusionHeight: u32;
- readonly isUncle: boolean;
- readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
- readonly type: 'InclusionHeight' | 'Uncle';
- }
-
- /** @name PalletAuthorshipCall (174) */
- interface PalletAuthorshipCall extends Enum {
- readonly isSetUncles: boolean;
- readonly asSetUncles: {
- readonly newUncles: Vec<SpRuntimeHeader>;
- } & Struct;
- readonly type: 'SetUncles';
- }
-
- /** @name SpRuntimeHeader (176) */
- interface SpRuntimeHeader extends Struct {
- readonly parentHash: H256;
- readonly number: Compact<u32>;
- readonly stateRoot: H256;
- readonly extrinsicsRoot: H256;
- readonly digest: SpRuntimeDigest;
- }
+ /** @name ParachainInfoCall (190) */
+ type ParachainInfoCall = Null;
- /** @name SpRuntimeBlakeTwo256 (177) */
- type SpRuntimeBlakeTwo256 = Null;
-
- /** @name PalletAuthorshipError (178) */
- 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 PalletCollatorSelectionCall (181) */
+ /** @name PalletCollatorSelectionCall (193) */
interface PalletCollatorSelectionCall extends Enum {
readonly isAddInvulnerable: boolean;
readonly asAddInvulnerable: {
@@ -1798,7 +1975,7 @@
readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';
}
- /** @name PalletCollatorSelectionError (182) */
+ /** @name PalletCollatorSelectionError (194) */
interface PalletCollatorSelectionError extends Enum {
readonly isTooManyCandidates: boolean;
readonly isUnknown: boolean;
@@ -1816,21 +1993,21 @@
readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
}
- /** @name OpalRuntimeRuntimeCommonSessionKeys (185) */
+ /** @name OpalRuntimeRuntimeCommonSessionKeys (197) */
interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
}
- /** @name SpConsensusAuraSr25519AppSr25519Public (186) */
+ /** @name SpConsensusAuraSr25519AppSr25519Public (198) */
interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
- /** @name SpCoreSr25519Public (187) */
+ /** @name SpCoreSr25519Public (199) */
interface SpCoreSr25519Public extends U8aFixed {}
- /** @name SpCoreCryptoKeyTypeId (190) */
+ /** @name SpCoreCryptoKeyTypeId (202) */
interface SpCoreCryptoKeyTypeId extends U8aFixed {}
- /** @name PalletSessionCall (191) */
+ /** @name PalletSessionCall (203) */
interface PalletSessionCall extends Enum {
readonly isSetKeys: boolean;
readonly asSetKeys: {
@@ -1841,7 +2018,7 @@
readonly type: 'SetKeys' | 'PurgeKeys';
}
- /** @name PalletSessionError (192) */
+ /** @name PalletSessionError (204) */
interface PalletSessionError extends Enum {
readonly isInvalidProof: boolean;
readonly isNoAssociatedValidatorId: boolean;
@@ -1851,14 +2028,14 @@
readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
}
- /** @name PalletBalancesBalanceLock (194) */
+ /** @name PalletBalancesBalanceLock (209) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (195) */
+ /** @name PalletBalancesReasons (210) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -1866,13 +2043,13 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (198) */
+ /** @name PalletBalancesReserveData (213) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesCall (200) */
+ /** @name PalletBalancesCall (215) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1909,7 +2086,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (203) */
+ /** @name PalletBalancesError (218) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -1922,7 +2099,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (205) */
+ /** @name PalletTimestampCall (219) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1931,14 +2108,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (207) */
+ /** @name PalletTransactionPaymentReleases (221) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (208) */
+ /** @name PalletTreasuryProposal (222) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1946,7 +2123,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (210) */
+ /** @name PalletTreasuryCall (224) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -1973,10 +2150,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (212) */
+ /** @name FrameSupportPalletId (226) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (213) */
+ /** @name PalletTreasuryError (227) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -1986,7 +2163,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (214) */
+ /** @name PalletSudoCall (228) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -2009,7 +2186,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (216) */
+ /** @name OrmlVestingModuleCall (230) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -2029,20 +2206,20 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (218) */
+ /** @name OrmlXtokensModuleCall (232) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
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: {
@@ -2050,42 +2227,42 @@
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';
}
- /** @name XcmVersionedMultiAsset (219) */
+ /** @name XcmVersionedMultiAsset (233) */
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 OrmlTokensModuleCall (222) */
+ /** @name OrmlTokensModuleCall (236) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2122,7 +2299,7 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name PalletIdentityCall (223) */
+ /** @name PalletIdentityCall (237) */
interface PalletIdentityCall extends Enum {
readonly isAddRegistrar: boolean;
readonly asAddRegistrar: {
@@ -2202,7 +2379,7 @@
readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs';
}
- /** @name PalletIdentityIdentityInfo (224) */
+ /** @name PalletIdentityIdentityInfo (238) */
interface PalletIdentityIdentityInfo extends Struct {
readonly additional: Vec<ITuple<[Data, Data]>>;
readonly display: Data;
@@ -2215,7 +2392,7 @@
readonly twitter: Data;
}
- /** @name PalletIdentityBitFlags (260) */
+ /** @name PalletIdentityBitFlags (274) */
interface PalletIdentityBitFlags extends Set {
readonly isDisplay: boolean;
readonly isLegal: boolean;
@@ -2227,7 +2404,7 @@
readonly isTwitter: boolean;
}
- /** @name PalletIdentityIdentityField (261) */
+ /** @name PalletIdentityIdentityField (275) */
interface PalletIdentityIdentityField extends Enum {
readonly isDisplay: boolean;
readonly isLegal: boolean;
@@ -2240,7 +2417,7 @@
readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';
}
- /** @name PalletIdentityJudgement (262) */
+ /** @name PalletIdentityJudgement (276) */
interface PalletIdentityJudgement extends Enum {
readonly isUnknown: boolean;
readonly isFeePaid: boolean;
@@ -2253,14 +2430,14 @@
readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';
}
- /** @name PalletIdentityRegistration (265) */
+ /** @name PalletIdentityRegistration (279) */
interface PalletIdentityRegistration extends Struct {
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
readonly deposit: u128;
readonly info: PalletIdentityIdentityInfo;
}
- /** @name PalletPreimageCall (273) */
+ /** @name PalletPreimageCall (287) */
interface PalletPreimageCall extends Enum {
readonly isNotePreimage: boolean;
readonly asNotePreimage: {
@@ -2281,12 +2458,12 @@
readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';
}
- /** @name CumulusPalletXcmpQueueCall (274) */
+ /** @name CumulusPalletXcmpQueueCall (288) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
- readonly weightLimit: u64;
+ readonly weightLimit: SpWeightsWeightV2Weight;
} & Struct;
readonly isSuspendXcmExecution: boolean;
readonly isResumeXcmExecution: boolean;
@@ -2304,20 +2481,20 @@
} & 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';
}
- /** @name PalletXcmCall (275) */
+ /** @name PalletXcmCall (289) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2341,11 +2518,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;
@@ -2366,7 +2543,7 @@
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
- readonly weightLimit: XcmV2WeightLimit;
+ readonly weightLimit: XcmV3WeightLimit;
} & Struct;
readonly isLimitedTeleportAssets: boolean;
readonly asLimitedTeleportAssets: {
@@ -2374,59 +2551,52 @@
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';
}
- /** @name XcmVersionedXcm (276) */
+ /** @name XcmVersionedXcm (290) */
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';
}
- /** @name XcmV0Xcm (277) */
- interface XcmV0Xcm extends Enum {
+ /** @name XcmV2Xcm (291) */
+ interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+
+ /** @name XcmV2Instruction (293) */
+ interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & 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 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: XcmV0Response;
+ readonly response: XcmV2Response;
+ readonly maxWeight: Compact<u64>;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
+ readonly assets: XcmV2MultiassetMultiAssets;
+ readonly beneficiary: XcmV2MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
+ readonly assets: XcmV2MultiassetMultiAssets;
+ readonly dest: XcmV2MultiLocation;
+ readonly xcm: XcmV2Xcm;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: u64;
+ readonly originType: XcmV2OriginKind;
+ readonly requireWeightAtMost: Compact<u64>;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
@@ -2445,211 +2615,173 @@
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
- readonly isRelayedFrom: boolean;
- readonly asRelayedFrom: {
- readonly who: XcmV0MultiLocation;
- readonly message: XcmV0Xcm;
+ 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: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
- }
-
- /** @name XcmV0Order (279) */
- 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>;
- } & Struct;
- readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
- }
-
- /** @name XcmV0Response (281) */
- interface XcmV0Response extends Enum {
- readonly isAssets: boolean;
- readonly asAssets: Vec<XcmV0MultiAsset>;
- readonly type: 'Assets';
- }
-
- /** @name XcmV1Xcm (282) */
- interface XcmV1Xcm extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
+ readonly fees: XcmV2MultiAsset;
+ readonly weightLimit: XcmV2WeightLimit;
} & Struct;
- readonly isReserveAssetDeposited: boolean;
- readonly asReserveAssetDeposited: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
+ 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 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 isTrap: boolean;
+ readonly asTrap: Compact<u64>;
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';
+ 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 XcmV1Order (284) */
- 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 XcmV1Response (286) */
- interface XcmV1Response extends Enum {
+ /** @name XcmV2Response (294) */
+ 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 XcmV2TraitsError (297) */
+ 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 XcmV2MultiassetMultiAssetFilter (298) */
+ interface XcmV2MultiassetMultiAssetFilter extends Enum {
+ readonly isDefinite: boolean;
+ readonly asDefinite: XcmV2MultiassetMultiAssets;
+ readonly isWild: boolean;
+ readonly asWild: XcmV2MultiassetWildMultiAsset;
+ readonly type: 'Definite' | 'Wild';
+ }
+
+ /** @name XcmV2MultiassetWildMultiAsset (299) */
+ interface XcmV2MultiassetWildMultiAsset extends Enum {
+ readonly isAll: boolean;
+ readonly isAllOf: boolean;
+ readonly asAllOf: {
+ readonly id: XcmV2MultiassetAssetId;
+ readonly fun: XcmV2MultiassetWildFungibility;
+ } & Struct;
+ readonly type: 'All' | 'AllOf';
+ }
+
+ /** @name XcmV2MultiassetWildFungibility (300) */
+ interface XcmV2MultiassetWildFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly isNonFungible: boolean;
+ readonly type: 'Fungible' | 'NonFungible';
}
- /** @name CumulusPalletXcmCall (300) */
+ /** @name XcmV2WeightLimit (301) */
+ interface XcmV2WeightLimit extends Enum {
+ readonly isUnlimited: boolean;
+ readonly isLimited: boolean;
+ readonly asLimited: Compact<u64>;
+ readonly type: 'Unlimited' | 'Limited';
+ }
+
+ /** @name CumulusPalletXcmCall (310) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (301) */
+ /** @name CumulusPalletDmpQueueCall (311) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
- readonly weightLimit: u64;
+ readonly weightLimit: SpWeightsWeightV2Weight;
} & Struct;
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (302) */
+ /** @name PalletInflationCall (312) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2658,7 +2790,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (303) */
+ /** @name PalletUniqueCall (313) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2839,7 +2971,7 @@
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';
}
- /** @name UpDataStructsCollectionMode (308) */
+ /** @name UpDataStructsCollectionMode (318) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2848,7 +2980,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (309) */
+ /** @name UpDataStructsCreateCollectionData (319) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2862,14 +2994,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (311) */
+ /** @name UpDataStructsAccessMode (321) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (313) */
+ /** @name UpDataStructsCollectionLimits (323) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2882,7 +3014,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (315) */
+ /** @name UpDataStructsSponsoringRateLimit (325) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2890,43 +3022,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (318) */
+ /** @name UpDataStructsCollectionPermissions (328) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (320) */
+ /** @name UpDataStructsNestingPermissions (330) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (322) */
+ /** @name UpDataStructsOwnerRestrictedSet (332) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (327) */
+ /** @name UpDataStructsPropertyKeyPermission (337) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (328) */
+ /** @name UpDataStructsPropertyPermission (338) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (331) */
+ /** @name UpDataStructsProperty (341) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (334) */
+ /** @name UpDataStructsCreateItemData (344) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -2937,23 +3069,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (335) */
+ /** @name UpDataStructsCreateNftData (345) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (336) */
+ /** @name UpDataStructsCreateFungibleData (346) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (337) */
+ /** @name UpDataStructsCreateReFungibleData (347) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (340) */
+ /** @name UpDataStructsCreateItemExData (350) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -2966,26 +3098,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (342) */
+ /** @name UpDataStructsCreateNftExData (352) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (349) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (359) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (351) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (361) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletConfigurationCall (352) */
+ /** @name PalletConfigurationCall (362) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -2995,10 +3127,6 @@
readonly asSetMinGasPriceOverride: {
readonly coeff: Option<u64>;
} & Struct;
- readonly isSetXcmAllowedLocations: boolean;
- readonly asSetXcmAllowedLocations: {
- readonly locations: Option<Vec<XcmV1MultiLocation>>;
- } & Struct;
readonly isSetAppPromotionConfigurationOverride: boolean;
readonly asSetAppPromotionConfigurationOverride: {
readonly configuration: PalletConfigurationAppPromotionConfiguration;
@@ -3015,10 +3143,10 @@
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 PalletConfigurationAppPromotionConfiguration (357) */
+ /** @name PalletConfigurationAppPromotionConfiguration (364) */
interface PalletConfigurationAppPromotionConfiguration extends Struct {
readonly recalculationInterval: Option<u32>;
readonly pendingInterval: Option<u32>;
@@ -3026,13 +3154,13 @@
readonly maxStakersPerCalculation: Option<u8>;
}
- /** @name PalletTemplateTransactionPaymentCall (361) */
+ /** @name PalletTemplateTransactionPaymentCall (368) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (362) */
+ /** @name PalletStructureCall (369) */
type PalletStructureCall = Null;
- /** @name PalletAppPromotionCall (363) */
+ /** @name PalletAppPromotionCall (370) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -3070,7 +3198,7 @@
readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial';
}
- /** @name PalletForeignAssetsModuleCall (364) */
+ /** @name PalletForeignAssetsModuleCall (371) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -3087,7 +3215,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (365) */
+ /** @name PalletEvmCall (372) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3132,7 +3260,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (371) */
+ /** @name PalletEthereumCall (378) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -3141,7 +3269,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (372) */
+ /** @name EthereumTransactionTransactionV2 (379) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3152,7 +3280,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (373) */
+ /** @name EthereumTransactionLegacyTransaction (380) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3163,7 +3291,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (374) */
+ /** @name EthereumTransactionTransactionAction (381) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -3171,14 +3299,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (375) */
+ /** @name EthereumTransactionTransactionSignature (382) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (377) */
+ /** @name EthereumTransactionEip2930Transaction (384) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3193,13 +3321,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (379) */
+ /** @name EthereumTransactionAccessListItem (386) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (380) */
+ /** @name EthereumTransactionEip1559Transaction (387) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3215,7 +3343,22 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (381) */
+ /** @name PalletEvmCoderSubstrateCall (388) */
+ interface PalletEvmCoderSubstrateCall extends Enum {
+ readonly isEmptyCall: boolean;
+ readonly type: 'EmptyCall';
+ }
+
+ /** @name PalletEvmContractHelpersCall (389) */
+ interface PalletEvmContractHelpersCall extends Enum {
+ readonly isMigrateFromSelfSponsoring: boolean;
+ readonly asMigrateFromSelfSponsoring: {
+ readonly addresses: Vec<H160>;
+ } & Struct;
+ readonly type: 'MigrateFromSelfSponsoring';
+ }
+
+ /** @name PalletEvmMigrationCall (391) */
interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -3243,7 +3386,7 @@
readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData';
}
- /** @name PalletMaintenanceCall (385) */
+ /** @name PalletMaintenanceCall (395) */
interface PalletMaintenanceCall extends Enum {
readonly isEnable: boolean;
readonly isDisable: boolean;
@@ -3255,7 +3398,7 @@
readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';
}
- /** @name PalletTestUtilsCall (386) */
+ /** @name PalletTestUtilsCall (396) */
interface PalletTestUtilsCall extends Enum {
readonly isEnable: boolean;
readonly isSetTestValue: boolean;
@@ -3275,13 +3418,13 @@
readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
}
- /** @name PalletSudoError (388) */
+ /** @name PalletSudoError (398) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (390) */
+ /** @name OrmlVestingModuleError (400) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -3292,7 +3435,7 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name OrmlXtokensModuleError (391) */
+ /** @name OrmlXtokensModuleError (401) */
interface OrmlXtokensModuleError extends Enum {
readonly isAssetHasNoReserve: boolean;
readonly isNotCrossChainTransfer: boolean;
@@ -3316,26 +3459,26 @@
readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
}
- /** @name OrmlTokensBalanceLock (394) */
+ /** @name OrmlTokensBalanceLock (404) */
interface OrmlTokensBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name OrmlTokensAccountData (396) */
+ /** @name OrmlTokensAccountData (406) */
interface OrmlTokensAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly frozen: u128;
}
- /** @name OrmlTokensReserveData (398) */
+ /** @name OrmlTokensReserveData (408) */
interface OrmlTokensReserveData extends Struct {
readonly id: Null;
readonly amount: u128;
}
- /** @name OrmlTokensModuleError (400) */
+ /** @name OrmlTokensModuleError (410) */
interface OrmlTokensModuleError extends Enum {
readonly isBalanceTooLow: boolean;
readonly isAmountIntoBalanceFailed: boolean;
@@ -3348,14 +3491,14 @@
readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletIdentityRegistrarInfo (405) */
+ /** @name PalletIdentityRegistrarInfo (415) */
interface PalletIdentityRegistrarInfo extends Struct {
readonly account: AccountId32;
readonly fee: u128;
readonly fields: PalletIdentityBitFlags;
}
- /** @name PalletIdentityError (407) */
+ /** @name PalletIdentityError (417) */
interface PalletIdentityError extends Enum {
readonly isTooManySubAccounts: boolean;
readonly isNotFound: boolean;
@@ -3378,7 +3521,7 @@
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
}
- /** @name PalletPreimageRequestStatus (408) */
+ /** @name PalletPreimageRequestStatus (418) */
interface PalletPreimageRequestStatus extends Enum {
readonly isUnrequested: boolean;
readonly asUnrequested: {
@@ -3394,7 +3537,7 @@
readonly type: 'Unrequested' | 'Requested';
}
- /** @name PalletPreimageError (413) */
+ /** @name PalletPreimageError (423) */
interface PalletPreimageError extends Enum {
readonly isTooBig: boolean;
readonly isAlreadyNoted: boolean;
@@ -3405,21 +3548,21 @@
readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (415) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (425) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (416) */
+ /** @name CumulusPalletXcmpQueueInboundState (426) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (419) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (429) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -3427,7 +3570,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (422) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (432) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -3436,14 +3579,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (423) */
+ /** @name CumulusPalletXcmpQueueOutboundState (433) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (425) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (435) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -3453,7 +3596,7 @@
readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletXcmpQueueError (427) */
+ /** @name CumulusPalletXcmpQueueError (437) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -3463,7 +3606,63 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (428) */
+ /** @name PalletXcmQueryStatus (438) */
+ 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 XcmVersionedResponse (442) */
+ interface XcmVersionedResponse extends Enum {
+ readonly isV2: boolean;
+ readonly asV2: XcmV2Response;
+ readonly isV3: boolean;
+ readonly asV3: XcmV3Response;
+ readonly type: 'V2' | 'V3';
+ }
+
+ /** @name PalletXcmVersionMigrationStage (448) */
+ 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 XcmVersionedAssetId (451) */
+ interface XcmVersionedAssetId extends Enum {
+ readonly isV3: boolean;
+ readonly asV3: XcmV3MultiassetAssetId;
+ readonly type: 'V3';
+ }
+
+ /** @name PalletXcmRemoteLockedFungibleRecord (452) */
+ interface PalletXcmRemoteLockedFungibleRecord extends Struct {
+ readonly amount: u128;
+ readonly owner: XcmVersionedMultiLocation;
+ readonly locker: XcmVersionedMultiLocation;
+ readonly users: u32;
+ }
+
+ /** @name PalletXcmError (456) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -3478,32 +3677,39 @@
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 CumulusPalletXcmError (429) */
+ /** @name CumulusPalletXcmError (457) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (430) */
+ /** @name CumulusPalletDmpQueueConfigData (458) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletDmpQueuePageIndexData (431) */
+ /** @name CumulusPalletDmpQueuePageIndexData (459) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (434) */
+ /** @name CumulusPalletDmpQueueError (462) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (438) */
+ /** @name PalletUniqueError (466) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isEmptyArgument: boolean;
@@ -3511,13 +3717,13 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletConfigurationError (439) */
+ /** @name PalletConfigurationError (467) */
interface PalletConfigurationError extends Enum {
readonly isInconsistentConfiguration: boolean;
readonly type: 'InconsistentConfiguration';
}
- /** @name UpDataStructsCollection (440) */
+ /** @name UpDataStructsCollection (468) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3530,7 +3736,7 @@
readonly flags: U8aFixed;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (441) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (469) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3540,43 +3746,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (442) */
+ /** @name UpDataStructsProperties (470) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
- readonly spaceLimit: u32;
+ readonly reserved: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (443) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (471) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (448) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (476) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (455) */
+ /** @name UpDataStructsCollectionStats (483) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (456) */
+ /** @name UpDataStructsTokenChild (484) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (457) */
+ /** @name PhantomTypeUpDataStructs (485) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}
- /** @name UpDataStructsTokenData (459) */
+ /** @name UpDataStructsTokenData (487) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (461) */
+ /** @name UpDataStructsRpcCollection (489) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3592,13 +3798,13 @@
readonly flags: UpDataStructsRpcCollectionFlags;
}
- /** @name UpDataStructsRpcCollectionFlags (462) */
+ /** @name UpDataStructsRpcCollectionFlags (490) */
interface UpDataStructsRpcCollectionFlags extends Struct {
readonly foreign: bool;
readonly erc721metadata: bool;
}
- /** @name UpPovEstimateRpcPovInfo (463) */
+ /** @name UpPovEstimateRpcPovInfo (491) */
interface UpPovEstimateRpcPovInfo extends Struct {
readonly proofSize: u64;
readonly compactProofSize: u64;
@@ -3607,7 +3813,7 @@
readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;
}
- /** @name SpRuntimeTransactionValidityTransactionValidityError (466) */
+ /** @name SpRuntimeTransactionValidityTransactionValidityError (494) */
interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {
readonly isInvalid: boolean;
readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;
@@ -3616,7 +3822,7 @@
readonly type: 'Invalid' | 'Unknown';
}
- /** @name SpRuntimeTransactionValidityInvalidTransaction (467) */
+ /** @name SpRuntimeTransactionValidityInvalidTransaction (495) */
interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {
readonly isCall: boolean;
readonly isPayment: boolean;
@@ -3633,7 +3839,7 @@
readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';
}
- /** @name SpRuntimeTransactionValidityUnknownTransaction (468) */
+ /** @name SpRuntimeTransactionValidityUnknownTransaction (496) */
interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {
readonly isCannotLookup: boolean;
readonly isNoUnsignedValidator: boolean;
@@ -3642,13 +3848,13 @@
readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';
}
- /** @name UpPovEstimateRpcTrieKeyValue (470) */
+ /** @name UpPovEstimateRpcTrieKeyValue (498) */
interface UpPovEstimateRpcTrieKeyValue extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletCommonError (472) */
+ /** @name PalletCommonError (500) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3690,7 +3896,7 @@
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';
}
- /** @name PalletFungibleError (474) */
+ /** @name PalletFungibleError (502) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3702,7 +3908,7 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
- /** @name PalletRefungibleError (478) */
+ /** @name PalletRefungibleError (507) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3712,19 +3918,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (479) */
+ /** @name PalletNonfungibleItemData (508) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (481) */
+ /** @name UpDataStructsPropertyScope (510) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (484) */
+ /** @name PalletNonfungibleError (513) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3732,7 +3938,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (485) */
+ /** @name PalletStructureError (514) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3742,7 +3948,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection';
}
- /** @name PalletAppPromotionError (490) */
+ /** @name PalletAppPromotionError (519) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3754,7 +3960,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation' | 'InsufficientStakedBalance';
}
- /** @name PalletForeignAssetsModuleError (491) */
+ /** @name PalletForeignAssetsModuleError (520) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -3763,7 +3969,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (493) */
+ /** @name PalletEvmError (522) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3779,7 +3985,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
}
- /** @name FpRpcTransactionStatus (496) */
+ /** @name FpRpcTransactionStatus (525) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3790,10 +3996,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (498) */
+ /** @name EthbloomBloom (527) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (500) */
+ /** @name EthereumReceiptReceiptV3 (529) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3804,7 +4010,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (501) */
+ /** @name EthereumReceiptEip658ReceiptData (530) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3812,14 +4018,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (502) */
+ /** @name EthereumBlock (531) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (503) */
+ /** @name EthereumHeader (532) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3838,24 +4044,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (504) */
+ /** @name EthereumTypesHashH64 (533) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (509) */
+ /** @name PalletEthereumError (538) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (510) */
+ /** @name PalletEvmCoderSubstrateError (539) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (511) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (540) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3865,7 +4071,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (512) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (541) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3873,7 +4079,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (518) */
+ /** @name PalletEvmContractHelpersError (547) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -3881,7 +4087,7 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (519) */
+ /** @name PalletEvmMigrationError (548) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
@@ -3889,17 +4095,17 @@
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (520) */
+ /** @name PalletMaintenanceError (549) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (521) */
+ /** @name PalletTestUtilsError (550) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (523) */
+ /** @name SpRuntimeMultiSignature (552) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3910,43 +4116,43 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (524) */
+ /** @name SpCoreEd25519Signature (553) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (526) */
+ /** @name SpCoreSr25519Signature (555) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (527) */
+ /** @name SpCoreEcdsaSignature (556) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (530) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (559) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (531) */
+ /** @name FrameSystemExtensionsCheckTxVersion (560) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (532) */
+ /** @name FrameSystemExtensionsCheckGenesis (561) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (535) */
+ /** @name FrameSystemExtensionsCheckNonce (564) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (536) */
+ /** @name FrameSystemExtensionsCheckWeight (565) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (537) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (566) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (538) */
+ /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (567) */
type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (539) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (568) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (540) */
+ /** @name OpalRuntimeRuntime (569) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (541) */
+ /** @name PalletEthereumFakeTransactionFinalizer (570) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/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();
});
});