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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { Data } from '@polkadot/types';5import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';8import type { Event } from '@polkadot/types/interfaces/system';910/** @name CumulusPalletDmpQueueCall */11export interface CumulusPalletDmpQueueCall extends Enum {12 readonly isServiceOverweight: boolean;13 readonly asServiceOverweight: {14 readonly index: u64;15 readonly weightLimit: u64;16 } & Struct;17 readonly type: 'ServiceOverweight';18}1920/** @name CumulusPalletDmpQueueConfigData */21export interface CumulusPalletDmpQueueConfigData extends Struct {22 readonly maxIndividual: SpWeightsWeightV2Weight;23}2425/** @name CumulusPalletDmpQueueError */26export interface CumulusPalletDmpQueueError extends Enum {27 readonly isUnknown: boolean;28 readonly isOverLimit: boolean;29 readonly type: 'Unknown' | 'OverLimit';30}3132/** @name CumulusPalletDmpQueueEvent */33export interface CumulusPalletDmpQueueEvent extends Enum {34 readonly isInvalidFormat: boolean;35 readonly asInvalidFormat: {36 readonly messageId: U8aFixed;37 } & Struct;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: {40 readonly messageId: U8aFixed;41 } & Struct;42 readonly isExecutedDownward: boolean;43 readonly asExecutedDownward: {44 readonly messageId: U8aFixed;45 readonly outcome: XcmV2TraitsOutcome;46 } & Struct;47 readonly isWeightExhausted: boolean;48 readonly asWeightExhausted: {49 readonly messageId: U8aFixed;50 readonly remainingWeight: SpWeightsWeightV2Weight;51 readonly requiredWeight: SpWeightsWeightV2Weight;52 } & Struct;53 readonly isOverweightEnqueued: boolean;54 readonly asOverweightEnqueued: {55 readonly messageId: U8aFixed;56 readonly overweightIndex: u64;57 readonly requiredWeight: SpWeightsWeightV2Weight;58 } & Struct;59 readonly isOverweightServiced: boolean;60 readonly asOverweightServiced: {61 readonly overweightIndex: u64;62 readonly weightUsed: SpWeightsWeightV2Weight;63 } & Struct;64 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';65}6667/** @name CumulusPalletDmpQueuePageIndexData */68export interface CumulusPalletDmpQueuePageIndexData extends Struct {69 readonly beginUsed: u32;70 readonly endUsed: u32;71 readonly overweightCount: u64;72}7374/** @name CumulusPalletParachainSystemCall */75export interface CumulusPalletParachainSystemCall extends Enum {76 readonly isSetValidationData: boolean;77 readonly asSetValidationData: {78 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;79 } & Struct;80 readonly isSudoSendUpwardMessage: boolean;81 readonly asSudoSendUpwardMessage: {82 readonly message: Bytes;83 } & Struct;84 readonly isAuthorizeUpgrade: boolean;85 readonly asAuthorizeUpgrade: {86 readonly codeHash: H256;87 } & Struct;88 readonly isEnactAuthorizedUpgrade: boolean;89 readonly asEnactAuthorizedUpgrade: {90 readonly code: Bytes;91 } & Struct;92 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';93}9495/** @name CumulusPalletParachainSystemError */96export interface CumulusPalletParachainSystemError extends Enum {97 readonly isOverlappingUpgrades: boolean;98 readonly isProhibitedByPolkadot: boolean;99 readonly isTooBig: boolean;100 readonly isValidationDataNotAvailable: boolean;101 readonly isHostConfigurationNotAvailable: boolean;102 readonly isNotScheduled: boolean;103 readonly isNothingAuthorized: boolean;104 readonly isUnauthorized: boolean;105 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';106}107108/** @name CumulusPalletParachainSystemEvent */109export interface CumulusPalletParachainSystemEvent extends Enum {110 readonly isValidationFunctionStored: boolean;111 readonly isValidationFunctionApplied: boolean;112 readonly asValidationFunctionApplied: {113 readonly relayChainBlockNum: u32;114 } & Struct;115 readonly isValidationFunctionDiscarded: boolean;116 readonly isUpgradeAuthorized: boolean;117 readonly asUpgradeAuthorized: {118 readonly codeHash: H256;119 } & Struct;120 readonly isDownwardMessagesReceived: boolean;121 readonly asDownwardMessagesReceived: {122 readonly count: u32;123 } & Struct;124 readonly isDownwardMessagesProcessed: boolean;125 readonly asDownwardMessagesProcessed: {126 readonly weightUsed: SpWeightsWeightV2Weight;127 readonly dmqHead: H256;128 } & Struct;129 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';130}131132/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */133export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {134 readonly dmqMqcHead: H256;135 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;136 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;138}139140/** @name CumulusPalletXcmCall */141export interface CumulusPalletXcmCall extends Null {}142143/** @name CumulusPalletXcmError */144export interface CumulusPalletXcmError extends Null {}145146/** @name CumulusPalletXcmEvent */147export interface CumulusPalletXcmEvent extends Enum {148 readonly isInvalidFormat: boolean;149 readonly asInvalidFormat: U8aFixed;150 readonly isUnsupportedVersion: boolean;151 readonly asUnsupportedVersion: U8aFixed;152 readonly isExecutedDownward: boolean;153 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;154 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';155}156157/** @name CumulusPalletXcmpQueueCall */158export interface CumulusPalletXcmpQueueCall extends Enum {159 readonly isServiceOverweight: boolean;160 readonly asServiceOverweight: {161 readonly index: u64;162 readonly weightLimit: u64;163 } & Struct;164 readonly isSuspendXcmExecution: boolean;165 readonly isResumeXcmExecution: boolean;166 readonly isUpdateSuspendThreshold: boolean;167 readonly asUpdateSuspendThreshold: {168 readonly new_: u32;169 } & Struct;170 readonly isUpdateDropThreshold: boolean;171 readonly asUpdateDropThreshold: {172 readonly new_: u32;173 } & Struct;174 readonly isUpdateResumeThreshold: boolean;175 readonly asUpdateResumeThreshold: {176 readonly new_: u32;177 } & Struct;178 readonly isUpdateThresholdWeight: boolean;179 readonly asUpdateThresholdWeight: {180 readonly new_: u64;181 } & Struct;182 readonly isUpdateWeightRestrictDecay: boolean;183 readonly asUpdateWeightRestrictDecay: {184 readonly new_: u64;185 } & Struct;186 readonly isUpdateXcmpMaxIndividualWeight: boolean;187 readonly asUpdateXcmpMaxIndividualWeight: {188 readonly new_: u64;189 } & Struct;190 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';191}192193/** @name CumulusPalletXcmpQueueError */194export interface CumulusPalletXcmpQueueError extends Enum {195 readonly isFailedToSend: boolean;196 readonly isBadXcmOrigin: boolean;197 readonly isBadXcm: boolean;198 readonly isBadOverweightIndex: boolean;199 readonly isWeightOverLimit: boolean;200 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';201}202203/** @name CumulusPalletXcmpQueueEvent */204export interface CumulusPalletXcmpQueueEvent extends Enum {205 readonly isSuccess: boolean;206 readonly asSuccess: {207 readonly messageHash: Option<H256>;208 readonly weight: SpWeightsWeightV2Weight;209 } & Struct;210 readonly isFail: boolean;211 readonly asFail: {212 readonly messageHash: Option<H256>;213 readonly error: XcmV2TraitsError;214 readonly weight: SpWeightsWeightV2Weight;215 } & Struct;216 readonly isBadVersion: boolean;217 readonly asBadVersion: {218 readonly messageHash: Option<H256>;219 } & Struct;220 readonly isBadFormat: boolean;221 readonly asBadFormat: {222 readonly messageHash: Option<H256>;223 } & Struct;224 readonly isUpwardMessageSent: boolean;225 readonly asUpwardMessageSent: {226 readonly messageHash: Option<H256>;227 } & Struct;228 readonly isXcmpMessageSent: boolean;229 readonly asXcmpMessageSent: {230 readonly messageHash: Option<H256>;231 } & Struct;232 readonly isOverweightEnqueued: boolean;233 readonly asOverweightEnqueued: {234 readonly sender: u32;235 readonly sentAt: u32;236 readonly index: u64;237 readonly required: SpWeightsWeightV2Weight;238 } & Struct;239 readonly isOverweightServiced: boolean;240 readonly asOverweightServiced: {241 readonly index: u64;242 readonly used: SpWeightsWeightV2Weight;243 } & Struct;244 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';245}246247/** @name CumulusPalletXcmpQueueInboundChannelDetails */248export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {249 readonly sender: u32;250 readonly state: CumulusPalletXcmpQueueInboundState;251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;252}253254/** @name CumulusPalletXcmpQueueInboundState */255export interface CumulusPalletXcmpQueueInboundState extends Enum {256 readonly isOk: boolean;257 readonly isSuspended: boolean;258 readonly type: 'Ok' | 'Suspended';259}260261/** @name CumulusPalletXcmpQueueOutboundChannelDetails */262export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {263 readonly recipient: u32;264 readonly state: CumulusPalletXcmpQueueOutboundState;265 readonly signalsExist: bool;266 readonly firstIndex: u16;267 readonly lastIndex: u16;268}269270/** @name CumulusPalletXcmpQueueOutboundState */271export interface CumulusPalletXcmpQueueOutboundState extends Enum {272 readonly isOk: boolean;273 readonly isSuspended: boolean;274 readonly type: 'Ok' | 'Suspended';275}276277/** @name CumulusPalletXcmpQueueQueueConfigData */278export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {279 readonly suspendThreshold: u32;280 readonly dropThreshold: u32;281 readonly resumeThreshold: u32;282 readonly thresholdWeight: SpWeightsWeightV2Weight;283 readonly weightRestrictDecay: SpWeightsWeightV2Weight;284 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;285}286287/** @name CumulusPrimitivesParachainInherentParachainInherentData */288export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {289 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;290 readonly relayChainState: SpTrieStorageProof;291 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;292 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;293}294295/** @name EthbloomBloom */296export interface EthbloomBloom extends U8aFixed {}297298/** @name EthereumBlock */299export interface EthereumBlock extends Struct {300 readonly header: EthereumHeader;301 readonly transactions: Vec<EthereumTransactionTransactionV2>;302 readonly ommers: Vec<EthereumHeader>;303}304305/** @name EthereumHeader */306export interface EthereumHeader extends Struct {307 readonly parentHash: H256;308 readonly ommersHash: H256;309 readonly beneficiary: H160;310 readonly stateRoot: H256;311 readonly transactionsRoot: H256;312 readonly receiptsRoot: H256;313 readonly logsBloom: EthbloomBloom;314 readonly difficulty: U256;315 readonly number: U256;316 readonly gasLimit: U256;317 readonly gasUsed: U256;318 readonly timestamp: u64;319 readonly extraData: Bytes;320 readonly mixHash: H256;321 readonly nonce: EthereumTypesHashH64;322}323324/** @name EthereumLog */325export interface EthereumLog extends Struct {326 readonly address: H160;327 readonly topics: Vec<H256>;328 readonly data: Bytes;329}330331/** @name EthereumReceiptEip658ReceiptData */332export interface EthereumReceiptEip658ReceiptData extends Struct {333 readonly statusCode: u8;334 readonly usedGas: U256;335 readonly logsBloom: EthbloomBloom;336 readonly logs: Vec<EthereumLog>;337}338339/** @name EthereumReceiptReceiptV3 */340export interface EthereumReceiptReceiptV3 extends Enum {341 readonly isLegacy: boolean;342 readonly asLegacy: EthereumReceiptEip658ReceiptData;343 readonly isEip2930: boolean;344 readonly asEip2930: EthereumReceiptEip658ReceiptData;345 readonly isEip1559: boolean;346 readonly asEip1559: EthereumReceiptEip658ReceiptData;347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';348}349350/** @name EthereumTransactionAccessListItem */351export interface EthereumTransactionAccessListItem extends Struct {352 readonly address: H160;353 readonly storageKeys: Vec<H256>;354}355356/** @name EthereumTransactionEip1559Transaction */357export interface EthereumTransactionEip1559Transaction extends Struct {358 readonly chainId: u64;359 readonly nonce: U256;360 readonly maxPriorityFeePerGas: U256;361 readonly maxFeePerGas: U256;362 readonly gasLimit: U256;363 readonly action: EthereumTransactionTransactionAction;364 readonly value: U256;365 readonly input: Bytes;366 readonly accessList: Vec<EthereumTransactionAccessListItem>;367 readonly oddYParity: bool;368 readonly r: H256;369 readonly s: H256;370}371372/** @name EthereumTransactionEip2930Transaction */373export interface EthereumTransactionEip2930Transaction extends Struct {374 readonly chainId: u64;375 readonly nonce: U256;376 readonly gasPrice: U256;377 readonly gasLimit: U256;378 readonly action: EthereumTransactionTransactionAction;379 readonly value: U256;380 readonly input: Bytes;381 readonly accessList: Vec<EthereumTransactionAccessListItem>;382 readonly oddYParity: bool;383 readonly r: H256;384 readonly s: H256;385}386387/** @name EthereumTransactionLegacyTransaction */388export interface EthereumTransactionLegacyTransaction extends Struct {389 readonly nonce: U256;390 readonly gasPrice: U256;391 readonly gasLimit: U256;392 readonly action: EthereumTransactionTransactionAction;393 readonly value: U256;394 readonly input: Bytes;395 readonly signature: EthereumTransactionTransactionSignature;396}397398/** @name EthereumTransactionTransactionAction */399export interface EthereumTransactionTransactionAction extends Enum {400 readonly isCall: boolean;401 readonly asCall: H160;402 readonly isCreate: boolean;403 readonly type: 'Call' | 'Create';404}405406/** @name EthereumTransactionTransactionSignature */407export interface EthereumTransactionTransactionSignature extends Struct {408 readonly v: u64;409 readonly r: H256;410 readonly s: H256;411}412413/** @name EthereumTransactionTransactionV2 */414export interface EthereumTransactionTransactionV2 extends Enum {415 readonly isLegacy: boolean;416 readonly asLegacy: EthereumTransactionLegacyTransaction;417 readonly isEip2930: boolean;418 readonly asEip2930: EthereumTransactionEip2930Transaction;419 readonly isEip1559: boolean;420 readonly asEip1559: EthereumTransactionEip1559Transaction;421 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';422}423424/** @name EthereumTypesHashH64 */425export interface EthereumTypesHashH64 extends U8aFixed {}426427/** @name EvmCoreErrorExitError */428export interface EvmCoreErrorExitError extends Enum {429 readonly isStackUnderflow: boolean;430 readonly isStackOverflow: boolean;431 readonly isInvalidJump: boolean;432 readonly isInvalidRange: boolean;433 readonly isDesignatedInvalid: boolean;434 readonly isCallTooDeep: boolean;435 readonly isCreateCollision: boolean;436 readonly isCreateContractLimit: boolean;437 readonly isOutOfOffset: boolean;438 readonly isOutOfGas: boolean;439 readonly isOutOfFund: boolean;440 readonly isPcUnderflow: boolean;441 readonly isCreateEmpty: boolean;442 readonly isOther: boolean;443 readonly asOther: Text;444 readonly isInvalidCode: boolean;445 readonly asInvalidCode: u8;446 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';447}448449/** @name EvmCoreErrorExitFatal */450export interface EvmCoreErrorExitFatal extends Enum {451 readonly isNotSupported: boolean;452 readonly isUnhandledInterrupt: boolean;453 readonly isCallErrorAsFatal: boolean;454 readonly asCallErrorAsFatal: EvmCoreErrorExitError;455 readonly isOther: boolean;456 readonly asOther: Text;457 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';458}459460/** @name EvmCoreErrorExitReason */461export interface EvmCoreErrorExitReason extends Enum {462 readonly isSucceed: boolean;463 readonly asSucceed: EvmCoreErrorExitSucceed;464 readonly isError: boolean;465 readonly asError: EvmCoreErrorExitError;466 readonly isRevert: boolean;467 readonly asRevert: EvmCoreErrorExitRevert;468 readonly isFatal: boolean;469 readonly asFatal: EvmCoreErrorExitFatal;470 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';471}472473/** @name EvmCoreErrorExitRevert */474export interface EvmCoreErrorExitRevert extends Enum {475 readonly isReverted: boolean;476 readonly type: 'Reverted';477}478479/** @name EvmCoreErrorExitSucceed */480export interface EvmCoreErrorExitSucceed extends Enum {481 readonly isStopped: boolean;482 readonly isReturned: boolean;483 readonly isSuicided: boolean;484 readonly type: 'Stopped' | 'Returned' | 'Suicided';485}486487/** @name FpRpcTransactionStatus */488export interface FpRpcTransactionStatus extends Struct {489 readonly transactionHash: H256;490 readonly transactionIndex: u32;491 readonly from: H160;492 readonly to: Option<H160>;493 readonly contractAddress: Option<H160>;494 readonly logs: Vec<EthereumLog>;495 readonly logsBloom: EthbloomBloom;496}497498/** @name FrameSupportDispatchDispatchClass */499export interface FrameSupportDispatchDispatchClass extends Enum {500 readonly isNormal: boolean;501 readonly isOperational: boolean;502 readonly isMandatory: boolean;503 readonly type: 'Normal' | 'Operational' | 'Mandatory';504}505506/** @name FrameSupportDispatchDispatchInfo */507export interface FrameSupportDispatchDispatchInfo extends Struct {508 readonly weight: SpWeightsWeightV2Weight;509 readonly class: FrameSupportDispatchDispatchClass;510 readonly paysFee: FrameSupportDispatchPays;511}512513/** @name FrameSupportDispatchPays */514export interface FrameSupportDispatchPays extends Enum {515 readonly isYes: boolean;516 readonly isNo: boolean;517 readonly type: 'Yes' | 'No';518}519520/** @name FrameSupportDispatchPerDispatchClassU32 */521export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {522 readonly normal: u32;523 readonly operational: u32;524 readonly mandatory: u32;525}526527/** @name FrameSupportDispatchPerDispatchClassWeight */528export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {529 readonly normal: SpWeightsWeightV2Weight;530 readonly operational: SpWeightsWeightV2Weight;531 readonly mandatory: SpWeightsWeightV2Weight;532}533534/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */535export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {536 readonly normal: FrameSystemLimitsWeightsPerClass;537 readonly operational: FrameSystemLimitsWeightsPerClass;538 readonly mandatory: FrameSystemLimitsWeightsPerClass;539}540541/** @name FrameSupportPalletId */542export interface FrameSupportPalletId extends U8aFixed {}543544/** @name FrameSupportTokensMiscBalanceStatus */545export interface FrameSupportTokensMiscBalanceStatus extends Enum {546 readonly isFree: boolean;547 readonly isReserved: boolean;548 readonly type: 'Free' | 'Reserved';549}550551/** @name FrameSystemAccountInfo */552export interface FrameSystemAccountInfo extends Struct {553 readonly nonce: u32;554 readonly consumers: u32;555 readonly providers: u32;556 readonly sufficients: u32;557 readonly data: PalletBalancesAccountData;558}559560/** @name FrameSystemCall */561export interface FrameSystemCall extends Enum {562 readonly isRemark: boolean;563 readonly asRemark: {564 readonly remark: Bytes;565 } & Struct;566 readonly isSetHeapPages: boolean;567 readonly asSetHeapPages: {568 readonly pages: u64;569 } & Struct;570 readonly isSetCode: boolean;571 readonly asSetCode: {572 readonly code: Bytes;573 } & Struct;574 readonly isSetCodeWithoutChecks: boolean;575 readonly asSetCodeWithoutChecks: {576 readonly code: Bytes;577 } & Struct;578 readonly isSetStorage: boolean;579 readonly asSetStorage: {580 readonly items: Vec<ITuple<[Bytes, Bytes]>>;581 } & Struct;582 readonly isKillStorage: boolean;583 readonly asKillStorage: {584 readonly keys_: Vec<Bytes>;585 } & Struct;586 readonly isKillPrefix: boolean;587 readonly asKillPrefix: {588 readonly prefix: Bytes;589 readonly subkeys: u32;590 } & Struct;591 readonly isRemarkWithEvent: boolean;592 readonly asRemarkWithEvent: {593 readonly remark: Bytes;594 } & Struct;595 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';596}597598/** @name FrameSystemError */599export interface FrameSystemError extends Enum {600 readonly isInvalidSpecName: boolean;601 readonly isSpecVersionNeedsToIncrease: boolean;602 readonly isFailedToExtractRuntimeVersion: boolean;603 readonly isNonDefaultComposite: boolean;604 readonly isNonZeroRefCount: boolean;605 readonly isCallFiltered: boolean;606 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';607}608609/** @name FrameSystemEvent */610export interface FrameSystemEvent extends Enum {611 readonly isExtrinsicSuccess: boolean;612 readonly asExtrinsicSuccess: {613 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;614 } & Struct;615 readonly isExtrinsicFailed: boolean;616 readonly asExtrinsicFailed: {617 readonly dispatchError: SpRuntimeDispatchError;618 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;619 } & Struct;620 readonly isCodeUpdated: boolean;621 readonly isNewAccount: boolean;622 readonly asNewAccount: {623 readonly account: AccountId32;624 } & Struct;625 readonly isKilledAccount: boolean;626 readonly asKilledAccount: {627 readonly account: AccountId32;628 } & Struct;629 readonly isRemarked: boolean;630 readonly asRemarked: {631 readonly sender: AccountId32;632 readonly hash_: H256;633 } & Struct;634 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';635}636637/** @name FrameSystemEventRecord */638export interface FrameSystemEventRecord extends Struct {639 readonly phase: FrameSystemPhase;640 readonly event: Event;641 readonly topics: Vec<H256>;642}643644/** @name FrameSystemExtensionsCheckGenesis */645export interface FrameSystemExtensionsCheckGenesis extends Null {}646647/** @name FrameSystemExtensionsCheckNonce */648export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}649650/** @name FrameSystemExtensionsCheckSpecVersion */651export interface FrameSystemExtensionsCheckSpecVersion extends Null {}652653/** @name FrameSystemExtensionsCheckTxVersion */654export interface FrameSystemExtensionsCheckTxVersion extends Null {}655656/** @name FrameSystemExtensionsCheckWeight */657export interface FrameSystemExtensionsCheckWeight extends Null {}658659/** @name FrameSystemLastRuntimeUpgradeInfo */660export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {661 readonly specVersion: Compact<u32>;662 readonly specName: Text;663}664665/** @name FrameSystemLimitsBlockLength */666export interface FrameSystemLimitsBlockLength extends Struct {667 readonly max: FrameSupportDispatchPerDispatchClassU32;668}669670/** @name FrameSystemLimitsBlockWeights */671export interface FrameSystemLimitsBlockWeights extends Struct {672 readonly baseBlock: SpWeightsWeightV2Weight;673 readonly maxBlock: SpWeightsWeightV2Weight;674 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;675}676677/** @name FrameSystemLimitsWeightsPerClass */678export interface FrameSystemLimitsWeightsPerClass extends Struct {679 readonly baseExtrinsic: SpWeightsWeightV2Weight;680 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;681 readonly maxTotal: Option<SpWeightsWeightV2Weight>;682 readonly reserved: Option<SpWeightsWeightV2Weight>;683}684685/** @name FrameSystemPhase */686export interface FrameSystemPhase extends Enum {687 readonly isApplyExtrinsic: boolean;688 readonly asApplyExtrinsic: u32;689 readonly isFinalization: boolean;690 readonly isInitialization: boolean;691 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';692}693694/** @name OpalRuntimeRuntime */695export interface OpalRuntimeRuntime extends Null {}696697/** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls */698export interface OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls extends Null {}699700/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */701export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}702703/** @name OpalRuntimeRuntimeCommonSessionKeys */704export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {705 readonly aura: SpConsensusAuraSr25519AppSr25519Public;706}707708/** @name OrmlTokensAccountData */709export interface OrmlTokensAccountData extends Struct {710 readonly free: u128;711 readonly reserved: u128;712 readonly frozen: u128;713}714715/** @name OrmlTokensBalanceLock */716export interface OrmlTokensBalanceLock extends Struct {717 readonly id: U8aFixed;718 readonly amount: u128;719}720721/** @name OrmlTokensModuleCall */722export interface OrmlTokensModuleCall extends Enum {723 readonly isTransfer: boolean;724 readonly asTransfer: {725 readonly dest: MultiAddress;726 readonly currencyId: PalletForeignAssetsAssetIds;727 readonly amount: Compact<u128>;728 } & Struct;729 readonly isTransferAll: boolean;730 readonly asTransferAll: {731 readonly dest: MultiAddress;732 readonly currencyId: PalletForeignAssetsAssetIds;733 readonly keepAlive: bool;734 } & Struct;735 readonly isTransferKeepAlive: boolean;736 readonly asTransferKeepAlive: {737 readonly dest: MultiAddress;738 readonly currencyId: PalletForeignAssetsAssetIds;739 readonly amount: Compact<u128>;740 } & Struct;741 readonly isForceTransfer: boolean;742 readonly asForceTransfer: {743 readonly source: MultiAddress;744 readonly dest: MultiAddress;745 readonly currencyId: PalletForeignAssetsAssetIds;746 readonly amount: Compact<u128>;747 } & Struct;748 readonly isSetBalance: boolean;749 readonly asSetBalance: {750 readonly who: MultiAddress;751 readonly currencyId: PalletForeignAssetsAssetIds;752 readonly newFree: Compact<u128>;753 readonly newReserved: Compact<u128>;754 } & Struct;755 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';756}757758/** @name OrmlTokensModuleError */759export interface OrmlTokensModuleError extends Enum {760 readonly isBalanceTooLow: boolean;761 readonly isAmountIntoBalanceFailed: boolean;762 readonly isLiquidityRestrictions: boolean;763 readonly isMaxLocksExceeded: boolean;764 readonly isKeepAlive: boolean;765 readonly isExistentialDeposit: boolean;766 readonly isDeadAccount: boolean;767 readonly isTooManyReserves: boolean;768 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';769}770771/** @name OrmlTokensModuleEvent */772export interface OrmlTokensModuleEvent extends Enum {773 readonly isEndowed: boolean;774 readonly asEndowed: {775 readonly currencyId: PalletForeignAssetsAssetIds;776 readonly who: AccountId32;777 readonly amount: u128;778 } & Struct;779 readonly isDustLost: boolean;780 readonly asDustLost: {781 readonly currencyId: PalletForeignAssetsAssetIds;782 readonly who: AccountId32;783 readonly amount: u128;784 } & Struct;785 readonly isTransfer: boolean;786 readonly asTransfer: {787 readonly currencyId: PalletForeignAssetsAssetIds;788 readonly from: AccountId32;789 readonly to: AccountId32;790 readonly amount: u128;791 } & Struct;792 readonly isReserved: boolean;793 readonly asReserved: {794 readonly currencyId: PalletForeignAssetsAssetIds;795 readonly who: AccountId32;796 readonly amount: u128;797 } & Struct;798 readonly isUnreserved: boolean;799 readonly asUnreserved: {800 readonly currencyId: PalletForeignAssetsAssetIds;801 readonly who: AccountId32;802 readonly amount: u128;803 } & Struct;804 readonly isReserveRepatriated: boolean;805 readonly asReserveRepatriated: {806 readonly currencyId: PalletForeignAssetsAssetIds;807 readonly from: AccountId32;808 readonly to: AccountId32;809 readonly amount: u128;810 readonly status: FrameSupportTokensMiscBalanceStatus;811 } & Struct;812 readonly isBalanceSet: boolean;813 readonly asBalanceSet: {814 readonly currencyId: PalletForeignAssetsAssetIds;815 readonly who: AccountId32;816 readonly free: u128;817 readonly reserved: u128;818 } & Struct;819 readonly isTotalIssuanceSet: boolean;820 readonly asTotalIssuanceSet: {821 readonly currencyId: PalletForeignAssetsAssetIds;822 readonly amount: u128;823 } & Struct;824 readonly isWithdrawn: boolean;825 readonly asWithdrawn: {826 readonly currencyId: PalletForeignAssetsAssetIds;827 readonly who: AccountId32;828 readonly amount: u128;829 } & Struct;830 readonly isSlashed: boolean;831 readonly asSlashed: {832 readonly currencyId: PalletForeignAssetsAssetIds;833 readonly who: AccountId32;834 readonly freeAmount: u128;835 readonly reservedAmount: u128;836 } & Struct;837 readonly isDeposited: boolean;838 readonly asDeposited: {839 readonly currencyId: PalletForeignAssetsAssetIds;840 readonly who: AccountId32;841 readonly amount: u128;842 } & Struct;843 readonly isLockSet: boolean;844 readonly asLockSet: {845 readonly lockId: U8aFixed;846 readonly currencyId: PalletForeignAssetsAssetIds;847 readonly who: AccountId32;848 readonly amount: u128;849 } & Struct;850 readonly isLockRemoved: boolean;851 readonly asLockRemoved: {852 readonly lockId: U8aFixed;853 readonly currencyId: PalletForeignAssetsAssetIds;854 readonly who: AccountId32;855 } & Struct;856 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';857}858859/** @name OrmlTokensReserveData */860export interface OrmlTokensReserveData extends Struct {861 readonly id: Null;862 readonly amount: u128;863}864865/** @name OrmlVestingModuleCall */866export interface OrmlVestingModuleCall extends Enum {867 readonly isClaim: boolean;868 readonly isVestedTransfer: boolean;869 readonly asVestedTransfer: {870 readonly dest: MultiAddress;871 readonly schedule: OrmlVestingVestingSchedule;872 } & Struct;873 readonly isUpdateVestingSchedules: boolean;874 readonly asUpdateVestingSchedules: {875 readonly who: MultiAddress;876 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;877 } & Struct;878 readonly isClaimFor: boolean;879 readonly asClaimFor: {880 readonly dest: MultiAddress;881 } & Struct;882 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';883}884885/** @name OrmlVestingModuleError */886export interface OrmlVestingModuleError extends Enum {887 readonly isZeroVestingPeriod: boolean;888 readonly isZeroVestingPeriodCount: boolean;889 readonly isInsufficientBalanceToLock: boolean;890 readonly isTooManyVestingSchedules: boolean;891 readonly isAmountLow: boolean;892 readonly isMaxVestingSchedulesExceeded: boolean;893 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';894}895896/** @name OrmlVestingModuleEvent */897export interface OrmlVestingModuleEvent extends Enum {898 readonly isVestingScheduleAdded: boolean;899 readonly asVestingScheduleAdded: {900 readonly from: AccountId32;901 readonly to: AccountId32;902 readonly vestingSchedule: OrmlVestingVestingSchedule;903 } & Struct;904 readonly isClaimed: boolean;905 readonly asClaimed: {906 readonly who: AccountId32;907 readonly amount: u128;908 } & Struct;909 readonly isVestingSchedulesUpdated: boolean;910 readonly asVestingSchedulesUpdated: {911 readonly who: AccountId32;912 } & Struct;913 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';914}915916/** @name OrmlVestingVestingSchedule */917export interface OrmlVestingVestingSchedule extends Struct {918 readonly start: u32;919 readonly period: u32;920 readonly periodCount: u32;921 readonly perPeriod: Compact<u128>;922}923924/** @name OrmlXtokensModuleCall */925export interface OrmlXtokensModuleCall extends Enum {926 readonly isTransfer: boolean;927 readonly asTransfer: {928 readonly currencyId: PalletForeignAssetsAssetIds;929 readonly amount: u128;930 readonly dest: XcmVersionedMultiLocation;931 readonly destWeightLimit: XcmV2WeightLimit;932 } & Struct;933 readonly isTransferMultiasset: boolean;934 readonly asTransferMultiasset: {935 readonly asset: XcmVersionedMultiAsset;936 readonly dest: XcmVersionedMultiLocation;937 readonly destWeightLimit: XcmV2WeightLimit;938 } & Struct;939 readonly isTransferWithFee: boolean;940 readonly asTransferWithFee: {941 readonly currencyId: PalletForeignAssetsAssetIds;942 readonly amount: u128;943 readonly fee: u128;944 readonly dest: XcmVersionedMultiLocation;945 readonly destWeightLimit: XcmV2WeightLimit;946 } & Struct;947 readonly isTransferMultiassetWithFee: boolean;948 readonly asTransferMultiassetWithFee: {949 readonly asset: XcmVersionedMultiAsset;950 readonly fee: XcmVersionedMultiAsset;951 readonly dest: XcmVersionedMultiLocation;952 readonly destWeightLimit: XcmV2WeightLimit;953 } & Struct;954 readonly isTransferMulticurrencies: boolean;955 readonly asTransferMulticurrencies: {956 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;957 readonly feeItem: u32;958 readonly dest: XcmVersionedMultiLocation;959 readonly destWeightLimit: XcmV2WeightLimit;960 } & Struct;961 readonly isTransferMultiassets: boolean;962 readonly asTransferMultiassets: {963 readonly assets: XcmVersionedMultiAssets;964 readonly feeItem: u32;965 readonly dest: XcmVersionedMultiLocation;966 readonly destWeightLimit: XcmV2WeightLimit;967 } & Struct;968 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';969}970971/** @name OrmlXtokensModuleError */972export interface OrmlXtokensModuleError extends Enum {973 readonly isAssetHasNoReserve: boolean;974 readonly isNotCrossChainTransfer: boolean;975 readonly isInvalidDest: boolean;976 readonly isNotCrossChainTransferableCurrency: boolean;977 readonly isUnweighableMessage: boolean;978 readonly isXcmExecutionFailed: boolean;979 readonly isCannotReanchor: boolean;980 readonly isInvalidAncestry: boolean;981 readonly isInvalidAsset: boolean;982 readonly isDestinationNotInvertible: boolean;983 readonly isBadVersion: boolean;984 readonly isDistinctReserveForAssetAndFee: boolean;985 readonly isZeroFee: boolean;986 readonly isZeroAmount: boolean;987 readonly isTooManyAssetsBeingSent: boolean;988 readonly isAssetIndexNonExistent: boolean;989 readonly isFeeNotEnough: boolean;990 readonly isNotSupportedMultiLocation: boolean;991 readonly isMinXcmFeeNotDefined: boolean;992 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';993}994995/** @name OrmlXtokensModuleEvent */996export interface OrmlXtokensModuleEvent extends Enum {997 readonly isTransferredMultiAssets: boolean;998 readonly asTransferredMultiAssets: {999 readonly sender: AccountId32;1000 readonly assets: XcmV1MultiassetMultiAssets;1001 readonly fee: XcmV1MultiAsset;1002 readonly dest: XcmV1MultiLocation;1003 } & Struct;1004 readonly type: 'TransferredMultiAssets';1005}10061007/** @name PalletAppPromotionCall */1008export interface PalletAppPromotionCall extends Enum {1009 readonly isSetAdminAddress: boolean;1010 readonly asSetAdminAddress: {1011 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1012 } & Struct;1013 readonly isStake: boolean;1014 readonly asStake: {1015 readonly amount: u128;1016 } & Struct;1017 readonly isUnstakeAll: boolean;1018 readonly isSponsorCollection: boolean;1019 readonly asSponsorCollection: {1020 readonly collectionId: u32;1021 } & Struct;1022 readonly isStopSponsoringCollection: boolean;1023 readonly asStopSponsoringCollection: {1024 readonly collectionId: u32;1025 } & Struct;1026 readonly isSponsorContract: boolean;1027 readonly asSponsorContract: {1028 readonly contractId: H160;1029 } & Struct;1030 readonly isStopSponsoringContract: boolean;1031 readonly asStopSponsoringContract: {1032 readonly contractId: H160;1033 } & Struct;1034 readonly isPayoutStakers: boolean;1035 readonly asPayoutStakers: {1036 readonly stakersNumber: Option<u8>;1037 } & Struct;1038 readonly isUnstakePartial: boolean;1039 readonly asUnstakePartial: {1040 readonly amount: u128;1041 } & Struct;1042 readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial';1043}10441045/** @name PalletAppPromotionError */1046export interface PalletAppPromotionError extends Enum {1047 readonly isAdminNotSet: boolean;1048 readonly isNoPermission: boolean;1049 readonly isNotSufficientFunds: boolean;1050 readonly isPendingForBlockOverflow: boolean;1051 readonly isSponsorNotSet: boolean;1052 readonly isIncorrectLockedBalanceOperation: boolean;1053 readonly isInsufficientStakedBalance: boolean;1054 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation' | 'InsufficientStakedBalance';1055}10561057/** @name PalletAppPromotionEvent */1058export interface PalletAppPromotionEvent extends Enum {1059 readonly isStakingRecalculation: boolean;1060 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1061 readonly isStake: boolean;1062 readonly asStake: ITuple<[AccountId32, u128]>;1063 readonly isUnstake: boolean;1064 readonly asUnstake: ITuple<[AccountId32, u128]>;1065 readonly isSetAdmin: boolean;1066 readonly asSetAdmin: AccountId32;1067 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1068}10691070/** @name PalletAuthorshipCall */1071export interface PalletAuthorshipCall extends Enum {1072 readonly isSetUncles: boolean;1073 readonly asSetUncles: {1074 readonly newUncles: Vec<SpRuntimeHeader>;1075 } & Struct;1076 readonly type: 'SetUncles';1077}10781079/** @name PalletAuthorshipError */1080export interface PalletAuthorshipError extends Enum {1081 readonly isInvalidUncleParent: boolean;1082 readonly isUnclesAlreadySet: boolean;1083 readonly isTooManyUncles: boolean;1084 readonly isGenesisUncle: boolean;1085 readonly isTooHighUncle: boolean;1086 readonly isUncleAlreadyIncluded: boolean;1087 readonly isOldUncle: boolean;1088 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1089}10901091/** @name PalletAuthorshipUncleEntryItem */1092export interface PalletAuthorshipUncleEntryItem extends Enum {1093 readonly isInclusionHeight: boolean;1094 readonly asInclusionHeight: u32;1095 readonly isUncle: boolean;1096 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1097 readonly type: 'InclusionHeight' | 'Uncle';1098}10991100/** @name PalletBalancesAccountData */1101export interface PalletBalancesAccountData extends Struct {1102 readonly free: u128;1103 readonly reserved: u128;1104 readonly miscFrozen: u128;1105 readonly feeFrozen: u128;1106}11071108/** @name PalletBalancesBalanceLock */1109export interface PalletBalancesBalanceLock extends Struct {1110 readonly id: U8aFixed;1111 readonly amount: u128;1112 readonly reasons: PalletBalancesReasons;1113}11141115/** @name PalletBalancesCall */1116export interface PalletBalancesCall extends Enum {1117 readonly isTransfer: boolean;1118 readonly asTransfer: {1119 readonly dest: MultiAddress;1120 readonly value: Compact<u128>;1121 } & Struct;1122 readonly isSetBalance: boolean;1123 readonly asSetBalance: {1124 readonly who: MultiAddress;1125 readonly newFree: Compact<u128>;1126 readonly newReserved: Compact<u128>;1127 } & Struct;1128 readonly isForceTransfer: boolean;1129 readonly asForceTransfer: {1130 readonly source: MultiAddress;1131 readonly dest: MultiAddress;1132 readonly value: Compact<u128>;1133 } & Struct;1134 readonly isTransferKeepAlive: boolean;1135 readonly asTransferKeepAlive: {1136 readonly dest: MultiAddress;1137 readonly value: Compact<u128>;1138 } & Struct;1139 readonly isTransferAll: boolean;1140 readonly asTransferAll: {1141 readonly dest: MultiAddress;1142 readonly keepAlive: bool;1143 } & Struct;1144 readonly isForceUnreserve: boolean;1145 readonly asForceUnreserve: {1146 readonly who: MultiAddress;1147 readonly amount: u128;1148 } & Struct;1149 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1150}11511152/** @name PalletBalancesError */1153export interface PalletBalancesError extends Enum {1154 readonly isVestingBalance: boolean;1155 readonly isLiquidityRestrictions: boolean;1156 readonly isInsufficientBalance: boolean;1157 readonly isExistentialDeposit: boolean;1158 readonly isKeepAlive: boolean;1159 readonly isExistingVestingSchedule: boolean;1160 readonly isDeadAccount: boolean;1161 readonly isTooManyReserves: boolean;1162 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1163}11641165/** @name PalletBalancesEvent */1166export interface PalletBalancesEvent extends Enum {1167 readonly isEndowed: boolean;1168 readonly asEndowed: {1169 readonly account: AccountId32;1170 readonly freeBalance: u128;1171 } & Struct;1172 readonly isDustLost: boolean;1173 readonly asDustLost: {1174 readonly account: AccountId32;1175 readonly amount: u128;1176 } & Struct;1177 readonly isTransfer: boolean;1178 readonly asTransfer: {1179 readonly from: AccountId32;1180 readonly to: AccountId32;1181 readonly amount: u128;1182 } & Struct;1183 readonly isBalanceSet: boolean;1184 readonly asBalanceSet: {1185 readonly who: AccountId32;1186 readonly free: u128;1187 readonly reserved: u128;1188 } & Struct;1189 readonly isReserved: boolean;1190 readonly asReserved: {1191 readonly who: AccountId32;1192 readonly amount: u128;1193 } & Struct;1194 readonly isUnreserved: boolean;1195 readonly asUnreserved: {1196 readonly who: AccountId32;1197 readonly amount: u128;1198 } & Struct;1199 readonly isReserveRepatriated: boolean;1200 readonly asReserveRepatriated: {1201 readonly from: AccountId32;1202 readonly to: AccountId32;1203 readonly amount: u128;1204 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1205 } & Struct;1206 readonly isDeposit: boolean;1207 readonly asDeposit: {1208 readonly who: AccountId32;1209 readonly amount: u128;1210 } & Struct;1211 readonly isWithdraw: boolean;1212 readonly asWithdraw: {1213 readonly who: AccountId32;1214 readonly amount: u128;1215 } & Struct;1216 readonly isSlashed: boolean;1217 readonly asSlashed: {1218 readonly who: AccountId32;1219 readonly amount: u128;1220 } & Struct;1221 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1222}12231224/** @name PalletBalancesReasons */1225export interface PalletBalancesReasons extends Enum {1226 readonly isFee: boolean;1227 readonly isMisc: boolean;1228 readonly isAll: boolean;1229 readonly type: 'Fee' | 'Misc' | 'All';1230}12311232/** @name PalletBalancesReserveData */1233export interface PalletBalancesReserveData extends Struct {1234 readonly id: U8aFixed;1235 readonly amount: u128;1236}12371238/** @name PalletCollatorSelectionCall */1239export interface PalletCollatorSelectionCall extends Enum {1240 readonly isAddInvulnerable: boolean;1241 readonly asAddInvulnerable: {1242 readonly new_: AccountId32;1243 } & Struct;1244 readonly isRemoveInvulnerable: boolean;1245 readonly asRemoveInvulnerable: {1246 readonly who: AccountId32;1247 } & Struct;1248 readonly isGetLicense: boolean;1249 readonly isOnboard: boolean;1250 readonly isOffboard: boolean;1251 readonly isReleaseLicense: boolean;1252 readonly isForceReleaseLicense: boolean;1253 readonly asForceReleaseLicense: {1254 readonly who: AccountId32;1255 } & Struct;1256 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1257}12581259/** @name PalletCollatorSelectionError */1260export interface PalletCollatorSelectionError extends Enum {1261 readonly isTooManyCandidates: boolean;1262 readonly isUnknown: boolean;1263 readonly isPermission: boolean;1264 readonly isAlreadyHoldingLicense: boolean;1265 readonly isNoLicense: boolean;1266 readonly isAlreadyCandidate: boolean;1267 readonly isNotCandidate: boolean;1268 readonly isTooManyInvulnerables: boolean;1269 readonly isTooFewInvulnerables: boolean;1270 readonly isAlreadyInvulnerable: boolean;1271 readonly isNotInvulnerable: boolean;1272 readonly isNoAssociatedValidatorId: boolean;1273 readonly isValidatorNotRegistered: boolean;1274 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1275}12761277/** @name PalletCollatorSelectionEvent */1278export interface PalletCollatorSelectionEvent extends Enum {1279 readonly isInvulnerableAdded: boolean;1280 readonly asInvulnerableAdded: {1281 readonly invulnerable: AccountId32;1282 } & Struct;1283 readonly isInvulnerableRemoved: boolean;1284 readonly asInvulnerableRemoved: {1285 readonly invulnerable: AccountId32;1286 } & Struct;1287 readonly isLicenseObtained: boolean;1288 readonly asLicenseObtained: {1289 readonly accountId: AccountId32;1290 readonly deposit: u128;1291 } & Struct;1292 readonly isLicenseReleased: boolean;1293 readonly asLicenseReleased: {1294 readonly accountId: AccountId32;1295 readonly depositReturned: u128;1296 } & Struct;1297 readonly isCandidateAdded: boolean;1298 readonly asCandidateAdded: {1299 readonly accountId: AccountId32;1300 } & Struct;1301 readonly isCandidateRemoved: boolean;1302 readonly asCandidateRemoved: {1303 readonly accountId: AccountId32;1304 } & Struct;1305 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';1306}13071308/** @name PalletCommonError */1309export interface PalletCommonError extends Enum {1310 readonly isCollectionNotFound: boolean;1311 readonly isMustBeTokenOwner: boolean;1312 readonly isNoPermission: boolean;1313 readonly isCantDestroyNotEmptyCollection: boolean;1314 readonly isPublicMintingNotAllowed: boolean;1315 readonly isAddressNotInAllowlist: boolean;1316 readonly isCollectionNameLimitExceeded: boolean;1317 readonly isCollectionDescriptionLimitExceeded: boolean;1318 readonly isCollectionTokenPrefixLimitExceeded: boolean;1319 readonly isTotalCollectionsLimitExceeded: boolean;1320 readonly isCollectionAdminCountExceeded: boolean;1321 readonly isCollectionLimitBoundsExceeded: boolean;1322 readonly isOwnerPermissionsCantBeReverted: boolean;1323 readonly isTransferNotAllowed: boolean;1324 readonly isAccountTokenLimitExceeded: boolean;1325 readonly isCollectionTokenLimitExceeded: boolean;1326 readonly isMetadataFlagFrozen: boolean;1327 readonly isTokenNotFound: boolean;1328 readonly isTokenValueTooLow: boolean;1329 readonly isApprovedValueTooLow: boolean;1330 readonly isCantApproveMoreThanOwned: boolean;1331 readonly isAddressIsNotEthMirror: boolean;1332 readonly isAddressIsZero: boolean;1333 readonly isUnsupportedOperation: boolean;1334 readonly isNotSufficientFounds: boolean;1335 readonly isUserIsNotAllowedToNest: boolean;1336 readonly isSourceCollectionIsNotAllowedToNest: boolean;1337 readonly isCollectionFieldSizeExceeded: boolean;1338 readonly isNoSpaceForProperty: boolean;1339 readonly isPropertyLimitReached: boolean;1340 readonly isPropertyKeyIsTooLong: boolean;1341 readonly isInvalidCharacterInPropertyKey: boolean;1342 readonly isEmptyPropertyKey: boolean;1343 readonly isCollectionIsExternal: boolean;1344 readonly isCollectionIsInternal: boolean;1345 readonly isConfirmSponsorshipFail: boolean;1346 readonly isUserIsNotCollectionAdmin: boolean;1347 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';1348}13491350/** @name PalletCommonEvent */1351export interface PalletCommonEvent extends Enum {1352 readonly isCollectionCreated: boolean;1353 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1354 readonly isCollectionDestroyed: boolean;1355 readonly asCollectionDestroyed: u32;1356 readonly isItemCreated: boolean;1357 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1358 readonly isItemDestroyed: boolean;1359 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1360 readonly isTransfer: boolean;1361 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1362 readonly isApproved: boolean;1363 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1364 readonly isApprovedForAll: boolean;1365 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1366 readonly isCollectionPropertySet: boolean;1367 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1368 readonly isCollectionPropertyDeleted: boolean;1369 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1370 readonly isTokenPropertySet: boolean;1371 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1372 readonly isTokenPropertyDeleted: boolean;1373 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1374 readonly isPropertyPermissionSet: boolean;1375 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1376 readonly isAllowListAddressAdded: boolean;1377 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1378 readonly isAllowListAddressRemoved: boolean;1379 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1380 readonly isCollectionAdminAdded: boolean;1381 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1382 readonly isCollectionAdminRemoved: boolean;1383 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1384 readonly isCollectionLimitSet: boolean;1385 readonly asCollectionLimitSet: u32;1386 readonly isCollectionOwnerChanged: boolean;1387 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1388 readonly isCollectionPermissionSet: boolean;1389 readonly asCollectionPermissionSet: u32;1390 readonly isCollectionSponsorSet: boolean;1391 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1392 readonly isSponsorshipConfirmed: boolean;1393 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1394 readonly isCollectionSponsorRemoved: boolean;1395 readonly asCollectionSponsorRemoved: u32;1396 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1397}13981399/** @name PalletConfigurationAppPromotionConfiguration */1400export interface PalletConfigurationAppPromotionConfiguration extends Struct {1401 readonly recalculationInterval: Option<u32>;1402 readonly pendingInterval: Option<u32>;1403 readonly intervalIncome: Option<Perbill>;1404 readonly maxStakersPerCalculation: Option<u8>;1405}14061407/** @name PalletConfigurationCall */1408export interface PalletConfigurationCall extends Enum {1409 readonly isSetWeightToFeeCoefficientOverride: boolean;1410 readonly asSetWeightToFeeCoefficientOverride: {1411 readonly coeff: Option<u64>;1412 } & Struct;1413 readonly isSetMinGasPriceOverride: boolean;1414 readonly asSetMinGasPriceOverride: {1415 readonly coeff: Option<u64>;1416 } & Struct;1417 readonly isSetXcmAllowedLocations: boolean;1418 readonly asSetXcmAllowedLocations: {1419 readonly locations: Option<Vec<XcmV1MultiLocation>>;1420 } & Struct;1421 readonly isSetAppPromotionConfigurationOverride: boolean;1422 readonly asSetAppPromotionConfigurationOverride: {1423 readonly configuration: PalletConfigurationAppPromotionConfiguration;1424 } & Struct;1425 readonly isSetCollatorSelectionDesiredCollators: boolean;1426 readonly asSetCollatorSelectionDesiredCollators: {1427 readonly max: Option<u32>;1428 } & Struct;1429 readonly isSetCollatorSelectionLicenseBond: boolean;1430 readonly asSetCollatorSelectionLicenseBond: {1431 readonly amount: Option<u128>;1432 } & Struct;1433 readonly isSetCollatorSelectionKickThreshold: boolean;1434 readonly asSetCollatorSelectionKickThreshold: {1435 readonly threshold: Option<u32>;1436 } & Struct;1437 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1438}14391440/** @name PalletConfigurationError */1441export interface PalletConfigurationError extends Enum {1442 readonly isInconsistentConfiguration: boolean;1443 readonly type: 'InconsistentConfiguration';1444}14451446/** @name PalletConfigurationEvent */1447export interface PalletConfigurationEvent extends Enum {1448 readonly isNewDesiredCollators: boolean;1449 readonly asNewDesiredCollators: {1450 readonly desiredCollators: Option<u32>;1451 } & Struct;1452 readonly isNewCollatorLicenseBond: boolean;1453 readonly asNewCollatorLicenseBond: {1454 readonly bondCost: Option<u128>;1455 } & Struct;1456 readonly isNewCollatorKickThreshold: boolean;1457 readonly asNewCollatorKickThreshold: {1458 readonly lengthInBlocks: Option<u32>;1459 } & Struct;1460 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1461}14621463/** @name PalletEthereumCall */1464export interface PalletEthereumCall extends Enum {1465 readonly isTransact: boolean;1466 readonly asTransact: {1467 readonly transaction: EthereumTransactionTransactionV2;1468 } & Struct;1469 readonly type: 'Transact';1470}14711472/** @name PalletEthereumError */1473export interface PalletEthereumError extends Enum {1474 readonly isInvalidSignature: boolean;1475 readonly isPreLogExists: boolean;1476 readonly type: 'InvalidSignature' | 'PreLogExists';1477}14781479/** @name PalletEthereumEvent */1480export interface PalletEthereumEvent extends Enum {1481 readonly isExecuted: boolean;1482 readonly asExecuted: {1483 readonly from: H160;1484 readonly to: H160;1485 readonly transactionHash: H256;1486 readonly exitReason: EvmCoreErrorExitReason;1487 } & Struct;1488 readonly type: 'Executed';1489}14901491/** @name PalletEthereumFakeTransactionFinalizer */1492export interface PalletEthereumFakeTransactionFinalizer extends Null {}14931494/** @name PalletEvmAccountBasicCrossAccountIdRepr */1495export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1496 readonly isSubstrate: boolean;1497 readonly asSubstrate: AccountId32;1498 readonly isEthereum: boolean;1499 readonly asEthereum: H160;1500 readonly type: 'Substrate' | 'Ethereum';1501}15021503/** @name PalletEvmCall */1504export interface PalletEvmCall extends Enum {1505 readonly isWithdraw: boolean;1506 readonly asWithdraw: {1507 readonly address: H160;1508 readonly value: u128;1509 } & Struct;1510 readonly isCall: boolean;1511 readonly asCall: {1512 readonly source: H160;1513 readonly target: H160;1514 readonly input: Bytes;1515 readonly value: U256;1516 readonly gasLimit: u64;1517 readonly maxFeePerGas: U256;1518 readonly maxPriorityFeePerGas: Option<U256>;1519 readonly nonce: Option<U256>;1520 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1521 } & Struct;1522 readonly isCreate: boolean;1523 readonly asCreate: {1524 readonly source: H160;1525 readonly init: Bytes;1526 readonly value: U256;1527 readonly gasLimit: u64;1528 readonly maxFeePerGas: U256;1529 readonly maxPriorityFeePerGas: Option<U256>;1530 readonly nonce: Option<U256>;1531 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1532 } & Struct;1533 readonly isCreate2: boolean;1534 readonly asCreate2: {1535 readonly source: H160;1536 readonly init: Bytes;1537 readonly salt: H256;1538 readonly value: U256;1539 readonly gasLimit: u64;1540 readonly maxFeePerGas: U256;1541 readonly maxPriorityFeePerGas: Option<U256>;1542 readonly nonce: Option<U256>;1543 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1544 } & Struct;1545 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1546}15471548/** @name PalletEvmCoderSubstrateError */1549export interface PalletEvmCoderSubstrateError extends Enum {1550 readonly isOutOfGas: boolean;1551 readonly isOutOfFund: boolean;1552 readonly type: 'OutOfGas' | 'OutOfFund';1553}15541555/** @name PalletEvmContractHelpersError */1556export interface PalletEvmContractHelpersError extends Enum {1557 readonly isNoPermission: boolean;1558 readonly isNoPendingSponsor: boolean;1559 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1560 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1561}15621563/** @name PalletEvmContractHelpersEvent */1564export interface PalletEvmContractHelpersEvent extends Enum {1565 readonly isContractSponsorSet: boolean;1566 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1567 readonly isContractSponsorshipConfirmed: boolean;1568 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1569 readonly isContractSponsorRemoved: boolean;1570 readonly asContractSponsorRemoved: H160;1571 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1572}15731574/** @name PalletEvmContractHelpersSponsoringModeT */1575export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1576 readonly isDisabled: boolean;1577 readonly isAllowlisted: boolean;1578 readonly isGenerous: boolean;1579 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1580}15811582/** @name PalletEvmError */1583export interface PalletEvmError extends Enum {1584 readonly isBalanceLow: boolean;1585 readonly isFeeOverflow: boolean;1586 readonly isPaymentOverflow: boolean;1587 readonly isWithdrawFailed: boolean;1588 readonly isGasPriceTooLow: boolean;1589 readonly isInvalidNonce: boolean;1590 readonly isGasLimitTooLow: boolean;1591 readonly isGasLimitTooHigh: boolean;1592 readonly isUndefined: boolean;1593 readonly isReentrancy: boolean;1594 readonly isTransactionMustComeFromEOA: boolean;1595 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1596}15971598/** @name PalletEvmEvent */1599export interface PalletEvmEvent extends Enum {1600 readonly isLog: boolean;1601 readonly asLog: {1602 readonly log: EthereumLog;1603 } & Struct;1604 readonly isCreated: boolean;1605 readonly asCreated: {1606 readonly address: H160;1607 } & Struct;1608 readonly isCreatedFailed: boolean;1609 readonly asCreatedFailed: {1610 readonly address: H160;1611 } & Struct;1612 readonly isExecuted: boolean;1613 readonly asExecuted: {1614 readonly address: H160;1615 } & Struct;1616 readonly isExecutedFailed: boolean;1617 readonly asExecutedFailed: {1618 readonly address: H160;1619 } & Struct;1620 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1621}16221623/** @name PalletEvmMigrationCall */1624export interface PalletEvmMigrationCall extends Enum {1625 readonly isBegin: boolean;1626 readonly asBegin: {1627 readonly address: H160;1628 } & Struct;1629 readonly isSetData: boolean;1630 readonly asSetData: {1631 readonly address: H160;1632 readonly data: Vec<ITuple<[H256, H256]>>;1633 } & Struct;1634 readonly isFinish: boolean;1635 readonly asFinish: {1636 readonly address: H160;1637 readonly code: Bytes;1638 } & Struct;1639 readonly isInsertEthLogs: boolean;1640 readonly asInsertEthLogs: {1641 readonly logs: Vec<EthereumLog>;1642 } & Struct;1643 readonly isInsertEvents: boolean;1644 readonly asInsertEvents: {1645 readonly events: Vec<Bytes>;1646 } & Struct;1647 readonly isRemoveRmrkData: boolean;1648 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData';1649}16501651/** @name PalletEvmMigrationError */1652export interface PalletEvmMigrationError extends Enum {1653 readonly isAccountNotEmpty: boolean;1654 readonly isAccountIsNotMigrating: boolean;1655 readonly isBadEvent: boolean;1656 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1657}16581659/** @name PalletEvmMigrationEvent */1660export interface PalletEvmMigrationEvent extends Enum {1661 readonly isTestEvent: boolean;1662 readonly type: 'TestEvent';1663}16641665/** @name PalletForeignAssetsAssetIds */1666export interface PalletForeignAssetsAssetIds extends Enum {1667 readonly isForeignAssetId: boolean;1668 readonly asForeignAssetId: u32;1669 readonly isNativeAssetId: boolean;1670 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1671 readonly type: 'ForeignAssetId' | 'NativeAssetId';1672}16731674/** @name PalletForeignAssetsModuleAssetMetadata */1675export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1676 readonly name: Bytes;1677 readonly symbol: Bytes;1678 readonly decimals: u8;1679 readonly minimalBalance: u128;1680}16811682/** @name PalletForeignAssetsModuleCall */1683export interface PalletForeignAssetsModuleCall extends Enum {1684 readonly isRegisterForeignAsset: boolean;1685 readonly asRegisterForeignAsset: {1686 readonly owner: AccountId32;1687 readonly location: XcmVersionedMultiLocation;1688 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1689 } & Struct;1690 readonly isUpdateForeignAsset: boolean;1691 readonly asUpdateForeignAsset: {1692 readonly foreignAssetId: u32;1693 readonly location: XcmVersionedMultiLocation;1694 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1695 } & Struct;1696 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1697}16981699/** @name PalletForeignAssetsModuleError */1700export interface PalletForeignAssetsModuleError extends Enum {1701 readonly isBadLocation: boolean;1702 readonly isMultiLocationExisted: boolean;1703 readonly isAssetIdNotExists: boolean;1704 readonly isAssetIdExisted: boolean;1705 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1706}17071708/** @name PalletForeignAssetsModuleEvent */1709export interface PalletForeignAssetsModuleEvent extends Enum {1710 readonly isForeignAssetRegistered: boolean;1711 readonly asForeignAssetRegistered: {1712 readonly assetId: u32;1713 readonly assetAddress: XcmV1MultiLocation;1714 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1715 } & Struct;1716 readonly isForeignAssetUpdated: boolean;1717 readonly asForeignAssetUpdated: {1718 readonly assetId: u32;1719 readonly assetAddress: XcmV1MultiLocation;1720 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1721 } & Struct;1722 readonly isAssetRegistered: boolean;1723 readonly asAssetRegistered: {1724 readonly assetId: PalletForeignAssetsAssetIds;1725 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1726 } & Struct;1727 readonly isAssetUpdated: boolean;1728 readonly asAssetUpdated: {1729 readonly assetId: PalletForeignAssetsAssetIds;1730 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1731 } & Struct;1732 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1733}17341735/** @name PalletForeignAssetsNativeCurrency */1736export interface PalletForeignAssetsNativeCurrency extends Enum {1737 readonly isHere: boolean;1738 readonly isParent: boolean;1739 readonly type: 'Here' | 'Parent';1740}17411742/** @name PalletFungibleError */1743export interface PalletFungibleError extends Enum {1744 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1745 readonly isFungibleItemsHaveNoId: boolean;1746 readonly isFungibleItemsDontHaveData: boolean;1747 readonly isFungibleDisallowsNesting: boolean;1748 readonly isSettingPropertiesNotAllowed: boolean;1749 readonly isSettingAllowanceForAllNotAllowed: boolean;1750 readonly isFungibleTokensAreAlwaysValid: boolean;1751 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1752}17531754/** @name PalletIdentityBitFlags */1755export interface PalletIdentityBitFlags extends Struct {1756 readonly _bitLength: 64;1757 readonly Display: 1;1758 readonly Legal: 2;1759 readonly Web: 4;1760 readonly Riot: 8;1761 readonly Email: 16;1762 readonly PgpFingerprint: 32;1763 readonly Image: 64;1764 readonly Twitter: 128;1765}17661767/** @name PalletIdentityCall */1768export interface PalletIdentityCall extends Enum {1769 readonly isAddRegistrar: boolean;1770 readonly asAddRegistrar: {1771 readonly account: MultiAddress;1772 } & Struct;1773 readonly isSetIdentity: boolean;1774 readonly asSetIdentity: {1775 readonly info: PalletIdentityIdentityInfo;1776 } & Struct;1777 readonly isSetSubs: boolean;1778 readonly asSetSubs: {1779 readonly subs: Vec<ITuple<[AccountId32, Data]>>;1780 } & Struct;1781 readonly isClearIdentity: boolean;1782 readonly isRequestJudgement: boolean;1783 readonly asRequestJudgement: {1784 readonly regIndex: Compact<u32>;1785 readonly maxFee: Compact<u128>;1786 } & Struct;1787 readonly isCancelRequest: boolean;1788 readonly asCancelRequest: {1789 readonly regIndex: u32;1790 } & Struct;1791 readonly isSetFee: boolean;1792 readonly asSetFee: {1793 readonly index: Compact<u32>;1794 readonly fee: Compact<u128>;1795 } & Struct;1796 readonly isSetAccountId: boolean;1797 readonly asSetAccountId: {1798 readonly index: Compact<u32>;1799 readonly new_: MultiAddress;1800 } & Struct;1801 readonly isSetFields: boolean;1802 readonly asSetFields: {1803 readonly index: Compact<u32>;1804 readonly fields: PalletIdentityBitFlags;1805 } & Struct;1806 readonly isProvideJudgement: boolean;1807 readonly asProvideJudgement: {1808 readonly regIndex: Compact<u32>;1809 readonly target: MultiAddress;1810 readonly judgement: PalletIdentityJudgement;1811 readonly identity: H256;1812 } & Struct;1813 readonly isKillIdentity: boolean;1814 readonly asKillIdentity: {1815 readonly target: MultiAddress;1816 } & Struct;1817 readonly isAddSub: boolean;1818 readonly asAddSub: {1819 readonly sub: MultiAddress;1820 readonly data: Data;1821 } & Struct;1822 readonly isRenameSub: boolean;1823 readonly asRenameSub: {1824 readonly sub: MultiAddress;1825 readonly data: Data;1826 } & Struct;1827 readonly isRemoveSub: boolean;1828 readonly asRemoveSub: {1829 readonly sub: MultiAddress;1830 } & Struct;1831 readonly isQuitSub: boolean;1832 readonly isForceInsertIdentities: boolean;1833 readonly asForceInsertIdentities: {1834 readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;1835 } & Struct;1836 readonly isForceRemoveIdentities: boolean;1837 readonly asForceRemoveIdentities: {1838 readonly identities: Vec<AccountId32>;1839 } & Struct;1840 readonly isForceSetSubs: boolean;1841 readonly asForceSetSubs: {1842 readonly subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>;1843 } & Struct;1844 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs';1845}18461847/** @name PalletIdentityError */1848export interface PalletIdentityError extends Enum {1849 readonly isTooManySubAccounts: boolean;1850 readonly isNotFound: boolean;1851 readonly isNotNamed: boolean;1852 readonly isEmptyIndex: boolean;1853 readonly isFeeChanged: boolean;1854 readonly isNoIdentity: boolean;1855 readonly isStickyJudgement: boolean;1856 readonly isJudgementGiven: boolean;1857 readonly isInvalidJudgement: boolean;1858 readonly isInvalidIndex: boolean;1859 readonly isInvalidTarget: boolean;1860 readonly isTooManyFields: boolean;1861 readonly isTooManyRegistrars: boolean;1862 readonly isAlreadyClaimed: boolean;1863 readonly isNotSub: boolean;1864 readonly isNotOwned: boolean;1865 readonly isJudgementForDifferentIdentity: boolean;1866 readonly isJudgementPaymentFailed: boolean;1867 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';1868}18691870/** @name PalletIdentityEvent */1871export interface PalletIdentityEvent extends Enum {1872 readonly isIdentitySet: boolean;1873 readonly asIdentitySet: {1874 readonly who: AccountId32;1875 } & Struct;1876 readonly isIdentityCleared: boolean;1877 readonly asIdentityCleared: {1878 readonly who: AccountId32;1879 readonly deposit: u128;1880 } & Struct;1881 readonly isIdentityKilled: boolean;1882 readonly asIdentityKilled: {1883 readonly who: AccountId32;1884 readonly deposit: u128;1885 } & Struct;1886 readonly isIdentitiesInserted: boolean;1887 readonly asIdentitiesInserted: {1888 readonly amount: u32;1889 } & Struct;1890 readonly isIdentitiesRemoved: boolean;1891 readonly asIdentitiesRemoved: {1892 readonly amount: u32;1893 } & Struct;1894 readonly isJudgementRequested: boolean;1895 readonly asJudgementRequested: {1896 readonly who: AccountId32;1897 readonly registrarIndex: u32;1898 } & Struct;1899 readonly isJudgementUnrequested: boolean;1900 readonly asJudgementUnrequested: {1901 readonly who: AccountId32;1902 readonly registrarIndex: u32;1903 } & Struct;1904 readonly isJudgementGiven: boolean;1905 readonly asJudgementGiven: {1906 readonly target: AccountId32;1907 readonly registrarIndex: u32;1908 } & Struct;1909 readonly isRegistrarAdded: boolean;1910 readonly asRegistrarAdded: {1911 readonly registrarIndex: u32;1912 } & Struct;1913 readonly isSubIdentityAdded: boolean;1914 readonly asSubIdentityAdded: {1915 readonly sub: AccountId32;1916 readonly main: AccountId32;1917 readonly deposit: u128;1918 } & Struct;1919 readonly isSubIdentityRemoved: boolean;1920 readonly asSubIdentityRemoved: {1921 readonly sub: AccountId32;1922 readonly main: AccountId32;1923 readonly deposit: u128;1924 } & Struct;1925 readonly isSubIdentityRevoked: boolean;1926 readonly asSubIdentityRevoked: {1927 readonly sub: AccountId32;1928 readonly main: AccountId32;1929 readonly deposit: u128;1930 } & Struct;1931 readonly isSubIdentitiesInserted: boolean;1932 readonly asSubIdentitiesInserted: {1933 readonly amount: u32;1934 } & Struct;1935 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted';1936}19371938/** @name PalletIdentityIdentityField */1939export interface PalletIdentityIdentityField extends Enum {1940 readonly isDisplay: boolean;1941 readonly isLegal: boolean;1942 readonly isWeb: boolean;1943 readonly isRiot: boolean;1944 readonly isEmail: boolean;1945 readonly isPgpFingerprint: boolean;1946 readonly isImage: boolean;1947 readonly isTwitter: boolean;1948 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1949}19501951/** @name PalletIdentityIdentityInfo */1952export interface PalletIdentityIdentityInfo extends Struct {1953 readonly additional: Vec<ITuple<[Data, Data]>>;1954 readonly display: Data;1955 readonly legal: Data;1956 readonly web: Data;1957 readonly riot: Data;1958 readonly email: Data;1959 readonly pgpFingerprint: Option<U8aFixed>;1960 readonly image: Data;1961 readonly twitter: Data;1962}19631964/** @name PalletIdentityJudgement */1965export interface PalletIdentityJudgement extends Enum {1966 readonly isUnknown: boolean;1967 readonly isFeePaid: boolean;1968 readonly asFeePaid: u128;1969 readonly isReasonable: boolean;1970 readonly isKnownGood: boolean;1971 readonly isOutOfDate: boolean;1972 readonly isLowQuality: boolean;1973 readonly isErroneous: boolean;1974 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1975}19761977/** @name PalletIdentityRegistrarInfo */1978export interface PalletIdentityRegistrarInfo extends Struct {1979 readonly account: AccountId32;1980 readonly fee: u128;1981 readonly fields: PalletIdentityBitFlags;1982}19831984/** @name PalletIdentityRegistration */1985export interface PalletIdentityRegistration extends Struct {1986 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1987 readonly deposit: u128;1988 readonly info: PalletIdentityIdentityInfo;1989}19901991/** @name PalletInflationCall */1992export interface PalletInflationCall extends Enum {1993 readonly isStartInflation: boolean;1994 readonly asStartInflation: {1995 readonly inflationStartRelayBlock: u32;1996 } & Struct;1997 readonly type: 'StartInflation';1998}19992000/** @name PalletMaintenanceCall */2001export interface PalletMaintenanceCall extends Enum {2002 readonly isEnable: boolean;2003 readonly isDisable: boolean;2004 readonly isExecutePreimage: boolean;2005 readonly asExecutePreimage: {2006 readonly hash_: H256;2007 readonly weightBound: SpWeightsWeightV2Weight;2008 } & Struct;2009 readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';2010}20112012/** @name PalletMaintenanceError */2013export interface PalletMaintenanceError extends Null {}20142015/** @name PalletMaintenanceEvent */2016export interface PalletMaintenanceEvent extends Enum {2017 readonly isMaintenanceEnabled: boolean;2018 readonly isMaintenanceDisabled: boolean;2019 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';2020}20212022/** @name PalletNonfungibleError */2023export interface PalletNonfungibleError extends Enum {2024 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2025 readonly isNonfungibleItemsHaveNoAmount: boolean;2026 readonly isCantBurnNftWithChildren: boolean;2027 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';2028}20292030/** @name PalletNonfungibleItemData */2031export interface PalletNonfungibleItemData extends Struct {2032 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2033}20342035/** @name PalletPreimageCall */2036export interface PalletPreimageCall extends Enum {2037 readonly isNotePreimage: boolean;2038 readonly asNotePreimage: {2039 readonly bytes: Bytes;2040 } & Struct;2041 readonly isUnnotePreimage: boolean;2042 readonly asUnnotePreimage: {2043 readonly hash_: H256;2044 } & Struct;2045 readonly isRequestPreimage: boolean;2046 readonly asRequestPreimage: {2047 readonly hash_: H256;2048 } & Struct;2049 readonly isUnrequestPreimage: boolean;2050 readonly asUnrequestPreimage: {2051 readonly hash_: H256;2052 } & Struct;2053 readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';2054}20552056/** @name PalletPreimageError */2057export interface PalletPreimageError extends Enum {2058 readonly isTooBig: boolean;2059 readonly isAlreadyNoted: boolean;2060 readonly isNotAuthorized: boolean;2061 readonly isNotNoted: boolean;2062 readonly isRequested: boolean;2063 readonly isNotRequested: boolean;2064 readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';2065}20662067/** @name PalletPreimageEvent */2068export interface PalletPreimageEvent extends Enum {2069 readonly isNoted: boolean;2070 readonly asNoted: {2071 readonly hash_: H256;2072 } & Struct;2073 readonly isRequested: boolean;2074 readonly asRequested: {2075 readonly hash_: H256;2076 } & Struct;2077 readonly isCleared: boolean;2078 readonly asCleared: {2079 readonly hash_: H256;2080 } & Struct;2081 readonly type: 'Noted' | 'Requested' | 'Cleared';2082}20832084/** @name PalletPreimageRequestStatus */2085export interface PalletPreimageRequestStatus extends Enum {2086 readonly isUnrequested: boolean;2087 readonly asUnrequested: {2088 readonly deposit: ITuple<[AccountId32, u128]>;2089 readonly len: u32;2090 } & Struct;2091 readonly isRequested: boolean;2092 readonly asRequested: {2093 readonly deposit: Option<ITuple<[AccountId32, u128]>>;2094 readonly count: u32;2095 readonly len: Option<u32>;2096 } & Struct;2097 readonly type: 'Unrequested' | 'Requested';2098}20992100/** @name PalletRefungibleError */2101export interface PalletRefungibleError extends Enum {2102 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2103 readonly isWrongRefungiblePieces: boolean;2104 readonly isRepartitionWhileNotOwningAllPieces: boolean;2105 readonly isRefungibleDisallowsNesting: boolean;2106 readonly isSettingPropertiesNotAllowed: boolean;2107 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2108}21092110/** @name PalletSessionCall */2111export interface PalletSessionCall extends Enum {2112 readonly isSetKeys: boolean;2113 readonly asSetKeys: {2114 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2115 readonly proof: Bytes;2116 } & Struct;2117 readonly isPurgeKeys: boolean;2118 readonly type: 'SetKeys' | 'PurgeKeys';2119}21202121/** @name PalletSessionError */2122export interface PalletSessionError extends Enum {2123 readonly isInvalidProof: boolean;2124 readonly isNoAssociatedValidatorId: boolean;2125 readonly isDuplicatedKey: boolean;2126 readonly isNoKeys: boolean;2127 readonly isNoAccount: boolean;2128 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2129}21302131/** @name PalletSessionEvent */2132export interface PalletSessionEvent extends Enum {2133 readonly isNewSession: boolean;2134 readonly asNewSession: {2135 readonly sessionIndex: u32;2136 } & Struct;2137 readonly type: 'NewSession';2138}21392140/** @name PalletStructureCall */2141export interface PalletStructureCall extends Null {}21422143/** @name PalletStructureError */2144export interface PalletStructureError extends Enum {2145 readonly isOuroborosDetected: boolean;2146 readonly isDepthLimit: boolean;2147 readonly isBreadthLimit: boolean;2148 readonly isTokenNotFound: boolean;2149 readonly isCantNestTokenUnderCollection: boolean;2150 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection';2151}21522153/** @name PalletStructureEvent */2154export interface PalletStructureEvent extends Enum {2155 readonly isExecuted: boolean;2156 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2157 readonly type: 'Executed';2158}21592160/** @name PalletSudoCall */2161export interface PalletSudoCall extends Enum {2162 readonly isSudo: boolean;2163 readonly asSudo: {2164 readonly call: Call;2165 } & Struct;2166 readonly isSudoUncheckedWeight: boolean;2167 readonly asSudoUncheckedWeight: {2168 readonly call: Call;2169 readonly weight: SpWeightsWeightV2Weight;2170 } & Struct;2171 readonly isSetKey: boolean;2172 readonly asSetKey: {2173 readonly new_: MultiAddress;2174 } & Struct;2175 readonly isSudoAs: boolean;2176 readonly asSudoAs: {2177 readonly who: MultiAddress;2178 readonly call: Call;2179 } & Struct;2180 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2181}21822183/** @name PalletSudoError */2184export interface PalletSudoError extends Enum {2185 readonly isRequireSudo: boolean;2186 readonly type: 'RequireSudo';2187}21882189/** @name PalletSudoEvent */2190export interface PalletSudoEvent extends Enum {2191 readonly isSudid: boolean;2192 readonly asSudid: {2193 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2194 } & Struct;2195 readonly isKeyChanged: boolean;2196 readonly asKeyChanged: {2197 readonly oldSudoer: Option<AccountId32>;2198 } & Struct;2199 readonly isSudoAsDone: boolean;2200 readonly asSudoAsDone: {2201 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2202 } & Struct;2203 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2204}22052206/** @name PalletTemplateTransactionPaymentCall */2207export interface PalletTemplateTransactionPaymentCall extends Null {}22082209/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2210export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}22112212/** @name PalletTestUtilsCall */2213export interface PalletTestUtilsCall extends Enum {2214 readonly isEnable: boolean;2215 readonly isSetTestValue: boolean;2216 readonly asSetTestValue: {2217 readonly value: u32;2218 } & Struct;2219 readonly isSetTestValueAndRollback: boolean;2220 readonly asSetTestValueAndRollback: {2221 readonly value: u32;2222 } & Struct;2223 readonly isIncTestValue: boolean;2224 readonly isJustTakeFee: boolean;2225 readonly isBatchAll: boolean;2226 readonly asBatchAll: {2227 readonly calls: Vec<Call>;2228 } & Struct;2229 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2230}22312232/** @name PalletTestUtilsError */2233export interface PalletTestUtilsError extends Enum {2234 readonly isTestPalletDisabled: boolean;2235 readonly isTriggerRollback: boolean;2236 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2237}22382239/** @name PalletTestUtilsEvent */2240export interface PalletTestUtilsEvent extends Enum {2241 readonly isValueIsSet: boolean;2242 readonly isShouldRollback: boolean;2243 readonly isBatchCompleted: boolean;2244 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2245}22462247/** @name PalletTimestampCall */2248export interface PalletTimestampCall extends Enum {2249 readonly isSet: boolean;2250 readonly asSet: {2251 readonly now: Compact<u64>;2252 } & Struct;2253 readonly type: 'Set';2254}22552256/** @name PalletTransactionPaymentEvent */2257export interface PalletTransactionPaymentEvent extends Enum {2258 readonly isTransactionFeePaid: boolean;2259 readonly asTransactionFeePaid: {2260 readonly who: AccountId32;2261 readonly actualFee: u128;2262 readonly tip: u128;2263 } & Struct;2264 readonly type: 'TransactionFeePaid';2265}22662267/** @name PalletTransactionPaymentReleases */2268export interface PalletTransactionPaymentReleases extends Enum {2269 readonly isV1Ancient: boolean;2270 readonly isV2: boolean;2271 readonly type: 'V1Ancient' | 'V2';2272}22732274/** @name PalletTreasuryCall */2275export interface PalletTreasuryCall extends Enum {2276 readonly isProposeSpend: boolean;2277 readonly asProposeSpend: {2278 readonly value: Compact<u128>;2279 readonly beneficiary: MultiAddress;2280 } & Struct;2281 readonly isRejectProposal: boolean;2282 readonly asRejectProposal: {2283 readonly proposalId: Compact<u32>;2284 } & Struct;2285 readonly isApproveProposal: boolean;2286 readonly asApproveProposal: {2287 readonly proposalId: Compact<u32>;2288 } & Struct;2289 readonly isSpend: boolean;2290 readonly asSpend: {2291 readonly amount: Compact<u128>;2292 readonly beneficiary: MultiAddress;2293 } & Struct;2294 readonly isRemoveApproval: boolean;2295 readonly asRemoveApproval: {2296 readonly proposalId: Compact<u32>;2297 } & Struct;2298 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2299}23002301/** @name PalletTreasuryError */2302export interface PalletTreasuryError extends Enum {2303 readonly isInsufficientProposersBalance: boolean;2304 readonly isInvalidIndex: boolean;2305 readonly isTooManyApprovals: boolean;2306 readonly isInsufficientPermission: boolean;2307 readonly isProposalNotApproved: boolean;2308 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2309}23102311/** @name PalletTreasuryEvent */2312export interface PalletTreasuryEvent extends Enum {2313 readonly isProposed: boolean;2314 readonly asProposed: {2315 readonly proposalIndex: u32;2316 } & Struct;2317 readonly isSpending: boolean;2318 readonly asSpending: {2319 readonly budgetRemaining: u128;2320 } & Struct;2321 readonly isAwarded: boolean;2322 readonly asAwarded: {2323 readonly proposalIndex: u32;2324 readonly award: u128;2325 readonly account: AccountId32;2326 } & Struct;2327 readonly isRejected: boolean;2328 readonly asRejected: {2329 readonly proposalIndex: u32;2330 readonly slashed: u128;2331 } & Struct;2332 readonly isBurnt: boolean;2333 readonly asBurnt: {2334 readonly burntFunds: u128;2335 } & Struct;2336 readonly isRollover: boolean;2337 readonly asRollover: {2338 readonly rolloverBalance: u128;2339 } & Struct;2340 readonly isDeposit: boolean;2341 readonly asDeposit: {2342 readonly value: u128;2343 } & Struct;2344 readonly isSpendApproved: boolean;2345 readonly asSpendApproved: {2346 readonly proposalIndex: u32;2347 readonly amount: u128;2348 readonly beneficiary: AccountId32;2349 } & Struct;2350 readonly isUpdatedInactive: boolean;2351 readonly asUpdatedInactive: {2352 readonly reactivated: u128;2353 readonly deactivated: u128;2354 } & Struct;2355 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';2356}23572358/** @name PalletTreasuryProposal */2359export interface PalletTreasuryProposal extends Struct {2360 readonly proposer: AccountId32;2361 readonly value: u128;2362 readonly beneficiary: AccountId32;2363 readonly bond: u128;2364}23652366/** @name PalletUniqueCall */2367export interface PalletUniqueCall extends Enum {2368 readonly isCreateCollection: boolean;2369 readonly asCreateCollection: {2370 readonly collectionName: Vec<u16>;2371 readonly collectionDescription: Vec<u16>;2372 readonly tokenPrefix: Bytes;2373 readonly mode: UpDataStructsCollectionMode;2374 } & Struct;2375 readonly isCreateCollectionEx: boolean;2376 readonly asCreateCollectionEx: {2377 readonly data: UpDataStructsCreateCollectionData;2378 } & Struct;2379 readonly isDestroyCollection: boolean;2380 readonly asDestroyCollection: {2381 readonly collectionId: u32;2382 } & Struct;2383 readonly isAddToAllowList: boolean;2384 readonly asAddToAllowList: {2385 readonly collectionId: u32;2386 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2387 } & Struct;2388 readonly isRemoveFromAllowList: boolean;2389 readonly asRemoveFromAllowList: {2390 readonly collectionId: u32;2391 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2392 } & Struct;2393 readonly isChangeCollectionOwner: boolean;2394 readonly asChangeCollectionOwner: {2395 readonly collectionId: u32;2396 readonly newOwner: AccountId32;2397 } & Struct;2398 readonly isAddCollectionAdmin: boolean;2399 readonly asAddCollectionAdmin: {2400 readonly collectionId: u32;2401 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2402 } & Struct;2403 readonly isRemoveCollectionAdmin: boolean;2404 readonly asRemoveCollectionAdmin: {2405 readonly collectionId: u32;2406 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2407 } & Struct;2408 readonly isSetCollectionSponsor: boolean;2409 readonly asSetCollectionSponsor: {2410 readonly collectionId: u32;2411 readonly newSponsor: AccountId32;2412 } & Struct;2413 readonly isConfirmSponsorship: boolean;2414 readonly asConfirmSponsorship: {2415 readonly collectionId: u32;2416 } & Struct;2417 readonly isRemoveCollectionSponsor: boolean;2418 readonly asRemoveCollectionSponsor: {2419 readonly collectionId: u32;2420 } & Struct;2421 readonly isCreateItem: boolean;2422 readonly asCreateItem: {2423 readonly collectionId: u32;2424 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2425 readonly data: UpDataStructsCreateItemData;2426 } & Struct;2427 readonly isCreateMultipleItems: boolean;2428 readonly asCreateMultipleItems: {2429 readonly collectionId: u32;2430 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2431 readonly itemsData: Vec<UpDataStructsCreateItemData>;2432 } & Struct;2433 readonly isSetCollectionProperties: boolean;2434 readonly asSetCollectionProperties: {2435 readonly collectionId: u32;2436 readonly properties: Vec<UpDataStructsProperty>;2437 } & Struct;2438 readonly isDeleteCollectionProperties: boolean;2439 readonly asDeleteCollectionProperties: {2440 readonly collectionId: u32;2441 readonly propertyKeys: Vec<Bytes>;2442 } & Struct;2443 readonly isSetTokenProperties: boolean;2444 readonly asSetTokenProperties: {2445 readonly collectionId: u32;2446 readonly tokenId: u32;2447 readonly properties: Vec<UpDataStructsProperty>;2448 } & Struct;2449 readonly isDeleteTokenProperties: boolean;2450 readonly asDeleteTokenProperties: {2451 readonly collectionId: u32;2452 readonly tokenId: u32;2453 readonly propertyKeys: Vec<Bytes>;2454 } & Struct;2455 readonly isSetTokenPropertyPermissions: boolean;2456 readonly asSetTokenPropertyPermissions: {2457 readonly collectionId: u32;2458 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2459 } & Struct;2460 readonly isCreateMultipleItemsEx: boolean;2461 readonly asCreateMultipleItemsEx: {2462 readonly collectionId: u32;2463 readonly data: UpDataStructsCreateItemExData;2464 } & Struct;2465 readonly isSetTransfersEnabledFlag: boolean;2466 readonly asSetTransfersEnabledFlag: {2467 readonly collectionId: u32;2468 readonly value: bool;2469 } & Struct;2470 readonly isBurnItem: boolean;2471 readonly asBurnItem: {2472 readonly collectionId: u32;2473 readonly itemId: u32;2474 readonly value: u128;2475 } & Struct;2476 readonly isBurnFrom: boolean;2477 readonly asBurnFrom: {2478 readonly collectionId: u32;2479 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2480 readonly itemId: u32;2481 readonly value: u128;2482 } & Struct;2483 readonly isTransfer: boolean;2484 readonly asTransfer: {2485 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2486 readonly collectionId: u32;2487 readonly itemId: u32;2488 readonly value: u128;2489 } & Struct;2490 readonly isApprove: boolean;2491 readonly asApprove: {2492 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2493 readonly collectionId: u32;2494 readonly itemId: u32;2495 readonly amount: u128;2496 } & Struct;2497 readonly isApproveFrom: boolean;2498 readonly asApproveFrom: {2499 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2500 readonly to: PalletEvmAccountBasicCrossAccountIdRepr;2501 readonly collectionId: u32;2502 readonly itemId: u32;2503 readonly amount: u128;2504 } & Struct;2505 readonly isTransferFrom: boolean;2506 readonly asTransferFrom: {2507 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2508 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2509 readonly collectionId: u32;2510 readonly itemId: u32;2511 readonly value: u128;2512 } & Struct;2513 readonly isSetCollectionLimits: boolean;2514 readonly asSetCollectionLimits: {2515 readonly collectionId: u32;2516 readonly newLimit: UpDataStructsCollectionLimits;2517 } & Struct;2518 readonly isSetCollectionPermissions: boolean;2519 readonly asSetCollectionPermissions: {2520 readonly collectionId: u32;2521 readonly newPermission: UpDataStructsCollectionPermissions;2522 } & Struct;2523 readonly isRepartition: boolean;2524 readonly asRepartition: {2525 readonly collectionId: u32;2526 readonly tokenId: u32;2527 readonly amount: u128;2528 } & Struct;2529 readonly isSetAllowanceForAll: boolean;2530 readonly asSetAllowanceForAll: {2531 readonly collectionId: u32;2532 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2533 readonly approve: bool;2534 } & Struct;2535 readonly isForceRepairCollection: boolean;2536 readonly asForceRepairCollection: {2537 readonly collectionId: u32;2538 } & Struct;2539 readonly isForceRepairItem: boolean;2540 readonly asForceRepairItem: {2541 readonly collectionId: u32;2542 readonly itemId: u32;2543 } & Struct;2544 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';2545}25462547/** @name PalletUniqueError */2548export interface PalletUniqueError extends Enum {2549 readonly isCollectionDecimalPointLimitExceeded: boolean;2550 readonly isEmptyArgument: boolean;2551 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2552 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2553}25542555/** @name PalletXcmCall */2556export interface PalletXcmCall extends Enum {2557 readonly isSend: boolean;2558 readonly asSend: {2559 readonly dest: XcmVersionedMultiLocation;2560 readonly message: XcmVersionedXcm;2561 } & Struct;2562 readonly isTeleportAssets: boolean;2563 readonly asTeleportAssets: {2564 readonly dest: XcmVersionedMultiLocation;2565 readonly beneficiary: XcmVersionedMultiLocation;2566 readonly assets: XcmVersionedMultiAssets;2567 readonly feeAssetItem: u32;2568 } & Struct;2569 readonly isReserveTransferAssets: boolean;2570 readonly asReserveTransferAssets: {2571 readonly dest: XcmVersionedMultiLocation;2572 readonly beneficiary: XcmVersionedMultiLocation;2573 readonly assets: XcmVersionedMultiAssets;2574 readonly feeAssetItem: u32;2575 } & Struct;2576 readonly isExecute: boolean;2577 readonly asExecute: {2578 readonly message: XcmVersionedXcm;2579 readonly maxWeight: u64;2580 } & Struct;2581 readonly isForceXcmVersion: boolean;2582 readonly asForceXcmVersion: {2583 readonly location: XcmV1MultiLocation;2584 readonly xcmVersion: u32;2585 } & Struct;2586 readonly isForceDefaultXcmVersion: boolean;2587 readonly asForceDefaultXcmVersion: {2588 readonly maybeXcmVersion: Option<u32>;2589 } & Struct;2590 readonly isForceSubscribeVersionNotify: boolean;2591 readonly asForceSubscribeVersionNotify: {2592 readonly location: XcmVersionedMultiLocation;2593 } & Struct;2594 readonly isForceUnsubscribeVersionNotify: boolean;2595 readonly asForceUnsubscribeVersionNotify: {2596 readonly location: XcmVersionedMultiLocation;2597 } & Struct;2598 readonly isLimitedReserveTransferAssets: boolean;2599 readonly asLimitedReserveTransferAssets: {2600 readonly dest: XcmVersionedMultiLocation;2601 readonly beneficiary: XcmVersionedMultiLocation;2602 readonly assets: XcmVersionedMultiAssets;2603 readonly feeAssetItem: u32;2604 readonly weightLimit: XcmV2WeightLimit;2605 } & Struct;2606 readonly isLimitedTeleportAssets: boolean;2607 readonly asLimitedTeleportAssets: {2608 readonly dest: XcmVersionedMultiLocation;2609 readonly beneficiary: XcmVersionedMultiLocation;2610 readonly assets: XcmVersionedMultiAssets;2611 readonly feeAssetItem: u32;2612 readonly weightLimit: XcmV2WeightLimit;2613 } & Struct;2614 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2615}26162617/** @name PalletXcmError */2618export interface PalletXcmError extends Enum {2619 readonly isUnreachable: boolean;2620 readonly isSendFailure: boolean;2621 readonly isFiltered: boolean;2622 readonly isUnweighableMessage: boolean;2623 readonly isDestinationNotInvertible: boolean;2624 readonly isEmpty: boolean;2625 readonly isCannotReanchor: boolean;2626 readonly isTooManyAssets: boolean;2627 readonly isInvalidOrigin: boolean;2628 readonly isBadVersion: boolean;2629 readonly isBadLocation: boolean;2630 readonly isNoSubscription: boolean;2631 readonly isAlreadySubscribed: boolean;2632 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2633}26342635/** @name PalletXcmEvent */2636export interface PalletXcmEvent extends Enum {2637 readonly isAttempted: boolean;2638 readonly asAttempted: XcmV2TraitsOutcome;2639 readonly isSent: boolean;2640 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2641 readonly isUnexpectedResponse: boolean;2642 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2643 readonly isResponseReady: boolean;2644 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2645 readonly isNotified: boolean;2646 readonly asNotified: ITuple<[u64, u8, u8]>;2647 readonly isNotifyOverweight: boolean;2648 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2649 readonly isNotifyDispatchError: boolean;2650 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2651 readonly isNotifyDecodeFailed: boolean;2652 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2653 readonly isInvalidResponder: boolean;2654 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2655 readonly isInvalidResponderVersion: boolean;2656 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2657 readonly isResponseTaken: boolean;2658 readonly asResponseTaken: u64;2659 readonly isAssetsTrapped: boolean;2660 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2661 readonly isVersionChangeNotified: boolean;2662 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2663 readonly isSupportedVersionChanged: boolean;2664 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2665 readonly isNotifyTargetSendFail: boolean;2666 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2667 readonly isNotifyTargetMigrationFail: boolean;2668 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2669 readonly isAssetsClaimed: boolean;2670 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2671 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2672}26732674/** @name PhantomTypeUpDataStructs */2675export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}26762677/** @name PolkadotCorePrimitivesInboundDownwardMessage */2678export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2679 readonly sentAt: u32;2680 readonly msg: Bytes;2681}26822683/** @name PolkadotCorePrimitivesInboundHrmpMessage */2684export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2685 readonly sentAt: u32;2686 readonly data: Bytes;2687}26882689/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2690export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2691 readonly recipient: u32;2692 readonly data: Bytes;2693}26942695/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2696export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2697 readonly isConcatenatedVersionedXcm: boolean;2698 readonly isConcatenatedEncodedBlob: boolean;2699 readonly isSignals: boolean;2700 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2701}27022703/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2704export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2705 readonly maxCodeSize: u32;2706 readonly maxHeadDataSize: u32;2707 readonly maxUpwardQueueCount: u32;2708 readonly maxUpwardQueueSize: u32;2709 readonly maxUpwardMessageSize: u32;2710 readonly maxUpwardMessageNumPerCandidate: u32;2711 readonly hrmpMaxMessageNumPerCandidate: u32;2712 readonly validationUpgradeCooldown: u32;2713 readonly validationUpgradeDelay: u32;2714}27152716/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2717export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2718 readonly maxCapacity: u32;2719 readonly maxTotalSize: u32;2720 readonly maxMessageSize: u32;2721 readonly msgCount: u32;2722 readonly totalSize: u32;2723 readonly mqcHead: Option<H256>;2724}27252726/** @name PolkadotPrimitivesV2PersistedValidationData */2727export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2728 readonly parentHead: Bytes;2729 readonly relayParentNumber: u32;2730 readonly relayParentStorageRoot: H256;2731 readonly maxPovSize: u32;2732}27332734/** @name PolkadotPrimitivesV2UpgradeRestriction */2735export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2736 readonly isPresent: boolean;2737 readonly type: 'Present';2738}27392740/** @name SpArithmeticArithmeticError */2741export interface SpArithmeticArithmeticError extends Enum {2742 readonly isUnderflow: boolean;2743 readonly isOverflow: boolean;2744 readonly isDivisionByZero: boolean;2745 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2746}27472748/** @name SpConsensusAuraSr25519AppSr25519Public */2749export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}27502751/** @name SpCoreCryptoKeyTypeId */2752export interface SpCoreCryptoKeyTypeId extends U8aFixed {}27532754/** @name SpCoreEcdsaSignature */2755export interface SpCoreEcdsaSignature extends U8aFixed {}27562757/** @name SpCoreEd25519Signature */2758export interface SpCoreEd25519Signature extends U8aFixed {}27592760/** @name SpCoreSr25519Public */2761export interface SpCoreSr25519Public extends U8aFixed {}27622763/** @name SpCoreSr25519Signature */2764export interface SpCoreSr25519Signature extends U8aFixed {}27652766/** @name SpRuntimeBlakeTwo256 */2767export interface SpRuntimeBlakeTwo256 extends Null {}27682769/** @name SpRuntimeDigest */2770export interface SpRuntimeDigest extends Struct {2771 readonly logs: Vec<SpRuntimeDigestDigestItem>;2772}27732774/** @name SpRuntimeDigestDigestItem */2775export interface SpRuntimeDigestDigestItem extends Enum {2776 readonly isOther: boolean;2777 readonly asOther: Bytes;2778 readonly isConsensus: boolean;2779 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2780 readonly isSeal: boolean;2781 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2782 readonly isPreRuntime: boolean;2783 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2784 readonly isRuntimeEnvironmentUpdated: boolean;2785 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2786}27872788/** @name SpRuntimeDispatchError */2789export interface SpRuntimeDispatchError extends Enum {2790 readonly isOther: boolean;2791 readonly isCannotLookup: boolean;2792 readonly isBadOrigin: boolean;2793 readonly isModule: boolean;2794 readonly asModule: SpRuntimeModuleError;2795 readonly isConsumerRemaining: boolean;2796 readonly isNoProviders: boolean;2797 readonly isTooManyConsumers: boolean;2798 readonly isToken: boolean;2799 readonly asToken: SpRuntimeTokenError;2800 readonly isArithmetic: boolean;2801 readonly asArithmetic: SpArithmeticArithmeticError;2802 readonly isTransactional: boolean;2803 readonly asTransactional: SpRuntimeTransactionalError;2804 readonly isExhausted: boolean;2805 readonly isCorruption: boolean;2806 readonly isUnavailable: boolean;2807 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2808}28092810/** @name SpRuntimeHeader */2811export interface SpRuntimeHeader extends Struct {2812 readonly parentHash: H256;2813 readonly number: Compact<u32>;2814 readonly stateRoot: H256;2815 readonly extrinsicsRoot: H256;2816 readonly digest: SpRuntimeDigest;2817}28182819/** @name SpRuntimeModuleError */2820export interface SpRuntimeModuleError extends Struct {2821 readonly index: u8;2822 readonly error: U8aFixed;2823}28242825/** @name SpRuntimeMultiSignature */2826export interface SpRuntimeMultiSignature extends Enum {2827 readonly isEd25519: boolean;2828 readonly asEd25519: SpCoreEd25519Signature;2829 readonly isSr25519: boolean;2830 readonly asSr25519: SpCoreSr25519Signature;2831 readonly isEcdsa: boolean;2832 readonly asEcdsa: SpCoreEcdsaSignature;2833 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2834}28352836/** @name SpRuntimeTokenError */2837export interface SpRuntimeTokenError extends Enum {2838 readonly isNoFunds: boolean;2839 readonly isWouldDie: boolean;2840 readonly isBelowMinimum: boolean;2841 readonly isCannotCreate: boolean;2842 readonly isUnknownAsset: boolean;2843 readonly isFrozen: boolean;2844 readonly isUnsupported: boolean;2845 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2846}28472848/** @name SpRuntimeTransactionalError */2849export interface SpRuntimeTransactionalError extends Enum {2850 readonly isLimitReached: boolean;2851 readonly isNoLayer: boolean;2852 readonly type: 'LimitReached' | 'NoLayer';2853}28542855/** @name SpRuntimeTransactionValidityInvalidTransaction */2856export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {2857 readonly isCall: boolean;2858 readonly isPayment: boolean;2859 readonly isFuture: boolean;2860 readonly isStale: boolean;2861 readonly isBadProof: boolean;2862 readonly isAncientBirthBlock: boolean;2863 readonly isExhaustsResources: boolean;2864 readonly isCustom: boolean;2865 readonly asCustom: u8;2866 readonly isBadMandatory: boolean;2867 readonly isMandatoryValidation: boolean;2868 readonly isBadSigner: boolean;2869 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';2870}28712872/** @name SpRuntimeTransactionValidityTransactionValidityError */2873export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {2874 readonly isInvalid: boolean;2875 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;2876 readonly isUnknown: boolean;2877 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;2878 readonly type: 'Invalid' | 'Unknown';2879}28802881/** @name SpRuntimeTransactionValidityUnknownTransaction */2882export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {2883 readonly isCannotLookup: boolean;2884 readonly isNoUnsignedValidator: boolean;2885 readonly isCustom: boolean;2886 readonly asCustom: u8;2887 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';2888}28892890/** @name SpTrieStorageProof */2891export interface SpTrieStorageProof extends Struct {2892 readonly trieNodes: BTreeSet<Bytes>;2893}28942895/** @name SpVersionRuntimeVersion */2896export interface SpVersionRuntimeVersion extends Struct {2897 readonly specName: Text;2898 readonly implName: Text;2899 readonly authoringVersion: u32;2900 readonly specVersion: u32;2901 readonly implVersion: u32;2902 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2903 readonly transactionVersion: u32;2904 readonly stateVersion: u8;2905}29062907/** @name SpWeightsRuntimeDbWeight */2908export interface SpWeightsRuntimeDbWeight extends Struct {2909 readonly read: u64;2910 readonly write: u64;2911}29122913/** @name SpWeightsWeightV2Weight */2914export interface SpWeightsWeightV2Weight extends Struct {2915 readonly refTime: Compact<u64>;2916 readonly proofSize: Compact<u64>;2917}29182919/** @name UpDataStructsAccessMode */2920export interface UpDataStructsAccessMode extends Enum {2921 readonly isNormal: boolean;2922 readonly isAllowList: boolean;2923 readonly type: 'Normal' | 'AllowList';2924}29252926/** @name UpDataStructsCollection */2927export interface UpDataStructsCollection extends Struct {2928 readonly owner: AccountId32;2929 readonly mode: UpDataStructsCollectionMode;2930 readonly name: Vec<u16>;2931 readonly description: Vec<u16>;2932 readonly tokenPrefix: Bytes;2933 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2934 readonly limits: UpDataStructsCollectionLimits;2935 readonly permissions: UpDataStructsCollectionPermissions;2936 readonly flags: U8aFixed;2937}29382939/** @name UpDataStructsCollectionLimits */2940export interface UpDataStructsCollectionLimits extends Struct {2941 readonly accountTokenOwnershipLimit: Option<u32>;2942 readonly sponsoredDataSize: Option<u32>;2943 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2944 readonly tokenLimit: Option<u32>;2945 readonly sponsorTransferTimeout: Option<u32>;2946 readonly sponsorApproveTimeout: Option<u32>;2947 readonly ownerCanTransfer: Option<bool>;2948 readonly ownerCanDestroy: Option<bool>;2949 readonly transfersEnabled: Option<bool>;2950}29512952/** @name UpDataStructsCollectionMode */2953export interface UpDataStructsCollectionMode extends Enum {2954 readonly isNft: boolean;2955 readonly isFungible: boolean;2956 readonly asFungible: u8;2957 readonly isReFungible: boolean;2958 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2959}29602961/** @name UpDataStructsCollectionPermissions */2962export interface UpDataStructsCollectionPermissions extends Struct {2963 readonly access: Option<UpDataStructsAccessMode>;2964 readonly mintMode: Option<bool>;2965 readonly nesting: Option<UpDataStructsNestingPermissions>;2966}29672968/** @name UpDataStructsCollectionStats */2969export interface UpDataStructsCollectionStats extends Struct {2970 readonly created: u32;2971 readonly destroyed: u32;2972 readonly alive: u32;2973}29742975/** @name UpDataStructsCreateCollectionData */2976export interface UpDataStructsCreateCollectionData extends Struct {2977 readonly mode: UpDataStructsCollectionMode;2978 readonly access: Option<UpDataStructsAccessMode>;2979 readonly name: Vec<u16>;2980 readonly description: Vec<u16>;2981 readonly tokenPrefix: Bytes;2982 readonly pendingSponsor: Option<AccountId32>;2983 readonly limits: Option<UpDataStructsCollectionLimits>;2984 readonly permissions: Option<UpDataStructsCollectionPermissions>;2985 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2986 readonly properties: Vec<UpDataStructsProperty>;2987}29882989/** @name UpDataStructsCreateFungibleData */2990export interface UpDataStructsCreateFungibleData extends Struct {2991 readonly value: u128;2992}29932994/** @name UpDataStructsCreateItemData */2995export interface UpDataStructsCreateItemData extends Enum {2996 readonly isNft: boolean;2997 readonly asNft: UpDataStructsCreateNftData;2998 readonly isFungible: boolean;2999 readonly asFungible: UpDataStructsCreateFungibleData;3000 readonly isReFungible: boolean;3001 readonly asReFungible: UpDataStructsCreateReFungibleData;3002 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3003}30043005/** @name UpDataStructsCreateItemExData */3006export interface UpDataStructsCreateItemExData extends Enum {3007 readonly isNft: boolean;3008 readonly asNft: Vec<UpDataStructsCreateNftExData>;3009 readonly isFungible: boolean;3010 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3011 readonly isRefungibleMultipleItems: boolean;3012 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3013 readonly isRefungibleMultipleOwners: boolean;3014 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3015 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3016}30173018/** @name UpDataStructsCreateNftData */3019export interface UpDataStructsCreateNftData extends Struct {3020 readonly properties: Vec<UpDataStructsProperty>;3021}30223023/** @name UpDataStructsCreateNftExData */3024export interface UpDataStructsCreateNftExData extends Struct {3025 readonly properties: Vec<UpDataStructsProperty>;3026 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3027}30283029/** @name UpDataStructsCreateReFungibleData */3030export interface UpDataStructsCreateReFungibleData extends Struct {3031 readonly pieces: u128;3032 readonly properties: Vec<UpDataStructsProperty>;3033}30343035/** @name UpDataStructsCreateRefungibleExMultipleOwners */3036export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3037 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3038 readonly properties: Vec<UpDataStructsProperty>;3039}30403041/** @name UpDataStructsCreateRefungibleExSingleOwner */3042export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3043 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3044 readonly pieces: u128;3045 readonly properties: Vec<UpDataStructsProperty>;3046}30473048/** @name UpDataStructsNestingPermissions */3049export interface UpDataStructsNestingPermissions extends Struct {3050 readonly tokenOwner: bool;3051 readonly collectionAdmin: bool;3052 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3053}30543055/** @name UpDataStructsOwnerRestrictedSet */3056export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}30573058/** @name UpDataStructsProperties */3059export interface UpDataStructsProperties extends Struct {3060 readonly map: UpDataStructsPropertiesMapBoundedVec;3061 readonly consumedSpace: u32;3062 readonly spaceLimit: u32;3063}30643065/** @name UpDataStructsPropertiesMapBoundedVec */3066export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30673068/** @name UpDataStructsPropertiesMapPropertyPermission */3069export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30703071/** @name UpDataStructsProperty */3072export interface UpDataStructsProperty extends Struct {3073 readonly key: Bytes;3074 readonly value: Bytes;3075}30763077/** @name UpDataStructsPropertyKeyPermission */3078export interface UpDataStructsPropertyKeyPermission extends Struct {3079 readonly key: Bytes;3080 readonly permission: UpDataStructsPropertyPermission;3081}30823083/** @name UpDataStructsPropertyPermission */3084export interface UpDataStructsPropertyPermission extends Struct {3085 readonly mutable: bool;3086 readonly collectionAdmin: bool;3087 readonly tokenOwner: bool;3088}30893090/** @name UpDataStructsPropertyScope */3091export interface UpDataStructsPropertyScope extends Enum {3092 readonly isNone: boolean;3093 readonly isRmrk: boolean;3094 readonly type: 'None' | 'Rmrk';3095}30963097/** @name UpDataStructsRpcCollection */3098export interface UpDataStructsRpcCollection extends Struct {3099 readonly owner: AccountId32;3100 readonly mode: UpDataStructsCollectionMode;3101 readonly name: Vec<u16>;3102 readonly description: Vec<u16>;3103 readonly tokenPrefix: Bytes;3104 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3105 readonly limits: UpDataStructsCollectionLimits;3106 readonly permissions: UpDataStructsCollectionPermissions;3107 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3108 readonly properties: Vec<UpDataStructsProperty>;3109 readonly readOnly: bool;3110 readonly flags: UpDataStructsRpcCollectionFlags;3111}31123113/** @name UpDataStructsRpcCollectionFlags */3114export interface UpDataStructsRpcCollectionFlags extends Struct {3115 readonly foreign: bool;3116 readonly erc721metadata: bool;3117}31183119/** @name UpDataStructsSponsoringRateLimit */3120export interface UpDataStructsSponsoringRateLimit extends Enum {3121 readonly isSponsoringDisabled: boolean;3122 readonly isBlocks: boolean;3123 readonly asBlocks: u32;3124 readonly type: 'SponsoringDisabled' | 'Blocks';3125}31263127/** @name UpDataStructsSponsorshipStateAccountId32 */3128export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3129 readonly isDisabled: boolean;3130 readonly isUnconfirmed: boolean;3131 readonly asUnconfirmed: AccountId32;3132 readonly isConfirmed: boolean;3133 readonly asConfirmed: AccountId32;3134 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3135}31363137/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3138export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3139 readonly isDisabled: boolean;3140 readonly isUnconfirmed: boolean;3141 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3142 readonly isConfirmed: boolean;3143 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3144 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3145}31463147/** @name UpDataStructsTokenChild */3148export interface UpDataStructsTokenChild extends Struct {3149 readonly token: u32;3150 readonly collection: u32;3151}31523153/** @name UpDataStructsTokenData */3154export interface UpDataStructsTokenData extends Struct {3155 readonly properties: Vec<UpDataStructsProperty>;3156 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3157 readonly pieces: u128;3158}31593160/** @name UpPovEstimateRpcPovInfo */3161export interface UpPovEstimateRpcPovInfo extends Struct {3162 readonly proofSize: u64;3163 readonly compactProofSize: u64;3164 readonly compressedProofSize: u64;3165 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3166 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3167}31683169/** @name UpPovEstimateRpcTrieKeyValue */3170export interface UpPovEstimateRpcTrieKeyValue extends Struct {3171 readonly key: Bytes;3172 readonly value: Bytes;3173}31743175/** @name XcmDoubleEncoded */3176export interface XcmDoubleEncoded extends Struct {3177 readonly encoded: Bytes;3178}31793180/** @name XcmV0Junction */3181export interface XcmV0Junction extends Enum {3182 readonly isParent: boolean;3183 readonly isParachain: boolean;3184 readonly asParachain: Compact<u32>;3185 readonly isAccountId32: boolean;3186 readonly asAccountId32: {3187 readonly network: XcmV0JunctionNetworkId;3188 readonly id: U8aFixed;3189 } & Struct;3190 readonly isAccountIndex64: boolean;3191 readonly asAccountIndex64: {3192 readonly network: XcmV0JunctionNetworkId;3193 readonly index: Compact<u64>;3194 } & Struct;3195 readonly isAccountKey20: boolean;3196 readonly asAccountKey20: {3197 readonly network: XcmV0JunctionNetworkId;3198 readonly key: U8aFixed;3199 } & Struct;3200 readonly isPalletInstance: boolean;3201 readonly asPalletInstance: u8;3202 readonly isGeneralIndex: boolean;3203 readonly asGeneralIndex: Compact<u128>;3204 readonly isGeneralKey: boolean;3205 readonly asGeneralKey: Bytes;3206 readonly isOnlyChild: boolean;3207 readonly isPlurality: boolean;3208 readonly asPlurality: {3209 readonly id: XcmV0JunctionBodyId;3210 readonly part: XcmV0JunctionBodyPart;3211 } & Struct;3212 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3213}32143215/** @name XcmV0JunctionBodyId */3216export interface XcmV0JunctionBodyId extends Enum {3217 readonly isUnit: boolean;3218 readonly isNamed: boolean;3219 readonly asNamed: Bytes;3220 readonly isIndex: boolean;3221 readonly asIndex: Compact<u32>;3222 readonly isExecutive: boolean;3223 readonly isTechnical: boolean;3224 readonly isLegislative: boolean;3225 readonly isJudicial: boolean;3226 readonly isDefense: boolean;3227 readonly isAdministration: boolean;3228 readonly isTreasury: boolean;3229 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';3230}32313232/** @name XcmV0JunctionBodyPart */3233export interface XcmV0JunctionBodyPart extends Enum {3234 readonly isVoice: boolean;3235 readonly isMembers: boolean;3236 readonly asMembers: {3237 readonly count: Compact<u32>;3238 } & Struct;3239 readonly isFraction: boolean;3240 readonly asFraction: {3241 readonly nom: Compact<u32>;3242 readonly denom: Compact<u32>;3243 } & Struct;3244 readonly isAtLeastProportion: boolean;3245 readonly asAtLeastProportion: {3246 readonly nom: Compact<u32>;3247 readonly denom: Compact<u32>;3248 } & Struct;3249 readonly isMoreThanProportion: boolean;3250 readonly asMoreThanProportion: {3251 readonly nom: Compact<u32>;3252 readonly denom: Compact<u32>;3253 } & Struct;3254 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3255}32563257/** @name XcmV0JunctionNetworkId */3258export interface XcmV0JunctionNetworkId extends Enum {3259 readonly isAny: boolean;3260 readonly isNamed: boolean;3261 readonly asNamed: Bytes;3262 readonly isPolkadot: boolean;3263 readonly isKusama: boolean;3264 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3265}32663267/** @name XcmV0MultiAsset */3268export interface XcmV0MultiAsset extends Enum {3269 readonly isNone: boolean;3270 readonly isAll: boolean;3271 readonly isAllFungible: boolean;3272 readonly isAllNonFungible: boolean;3273 readonly isAllAbstractFungible: boolean;3274 readonly asAllAbstractFungible: {3275 readonly id: Bytes;3276 } & Struct;3277 readonly isAllAbstractNonFungible: boolean;3278 readonly asAllAbstractNonFungible: {3279 readonly class: Bytes;3280 } & Struct;3281 readonly isAllConcreteFungible: boolean;3282 readonly asAllConcreteFungible: {3283 readonly id: XcmV0MultiLocation;3284 } & Struct;3285 readonly isAllConcreteNonFungible: boolean;3286 readonly asAllConcreteNonFungible: {3287 readonly class: XcmV0MultiLocation;3288 } & Struct;3289 readonly isAbstractFungible: boolean;3290 readonly asAbstractFungible: {3291 readonly id: Bytes;3292 readonly amount: Compact<u128>;3293 } & Struct;3294 readonly isAbstractNonFungible: boolean;3295 readonly asAbstractNonFungible: {3296 readonly class: Bytes;3297 readonly instance: XcmV1MultiassetAssetInstance;3298 } & Struct;3299 readonly isConcreteFungible: boolean;3300 readonly asConcreteFungible: {3301 readonly id: XcmV0MultiLocation;3302 readonly amount: Compact<u128>;3303 } & Struct;3304 readonly isConcreteNonFungible: boolean;3305 readonly asConcreteNonFungible: {3306 readonly class: XcmV0MultiLocation;3307 readonly instance: XcmV1MultiassetAssetInstance;3308 } & Struct;3309 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3310}33113312/** @name XcmV0MultiLocation */3313export interface XcmV0MultiLocation extends Enum {3314 readonly isNull: boolean;3315 readonly isX1: boolean;3316 readonly asX1: XcmV0Junction;3317 readonly isX2: boolean;3318 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3319 readonly isX3: boolean;3320 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3321 readonly isX4: boolean;3322 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3323 readonly isX5: boolean;3324 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3325 readonly isX6: boolean;3326 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3327 readonly isX7: boolean;3328 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3329 readonly isX8: boolean;3330 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3331 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3332}33333334/** @name XcmV0Order */3335export interface XcmV0Order extends Enum {3336 readonly isNull: boolean;3337 readonly isDepositAsset: boolean;3338 readonly asDepositAsset: {3339 readonly assets: Vec<XcmV0MultiAsset>;3340 readonly dest: XcmV0MultiLocation;3341 } & Struct;3342 readonly isDepositReserveAsset: boolean;3343 readonly asDepositReserveAsset: {3344 readonly assets: Vec<XcmV0MultiAsset>;3345 readonly dest: XcmV0MultiLocation;3346 readonly effects: Vec<XcmV0Order>;3347 } & Struct;3348 readonly isExchangeAsset: boolean;3349 readonly asExchangeAsset: {3350 readonly give: Vec<XcmV0MultiAsset>;3351 readonly receive: Vec<XcmV0MultiAsset>;3352 } & Struct;3353 readonly isInitiateReserveWithdraw: boolean;3354 readonly asInitiateReserveWithdraw: {3355 readonly assets: Vec<XcmV0MultiAsset>;3356 readonly reserve: XcmV0MultiLocation;3357 readonly effects: Vec<XcmV0Order>;3358 } & Struct;3359 readonly isInitiateTeleport: boolean;3360 readonly asInitiateTeleport: {3361 readonly assets: Vec<XcmV0MultiAsset>;3362 readonly dest: XcmV0MultiLocation;3363 readonly effects: Vec<XcmV0Order>;3364 } & Struct;3365 readonly isQueryHolding: boolean;3366 readonly asQueryHolding: {3367 readonly queryId: Compact<u64>;3368 readonly dest: XcmV0MultiLocation;3369 readonly assets: Vec<XcmV0MultiAsset>;3370 } & Struct;3371 readonly isBuyExecution: boolean;3372 readonly asBuyExecution: {3373 readonly fees: XcmV0MultiAsset;3374 readonly weight: u64;3375 readonly debt: u64;3376 readonly haltOnError: bool;3377 readonly xcm: Vec<XcmV0Xcm>;3378 } & Struct;3379 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3380}33813382/** @name XcmV0OriginKind */3383export interface XcmV0OriginKind extends Enum {3384 readonly isNative: boolean;3385 readonly isSovereignAccount: boolean;3386 readonly isSuperuser: boolean;3387 readonly isXcm: boolean;3388 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3389}33903391/** @name XcmV0Response */3392export interface XcmV0Response extends Enum {3393 readonly isAssets: boolean;3394 readonly asAssets: Vec<XcmV0MultiAsset>;3395 readonly type: 'Assets';3396}33973398/** @name XcmV0Xcm */3399export interface XcmV0Xcm extends Enum {3400 readonly isWithdrawAsset: boolean;3401 readonly asWithdrawAsset: {3402 readonly assets: Vec<XcmV0MultiAsset>;3403 readonly effects: Vec<XcmV0Order>;3404 } & Struct;3405 readonly isReserveAssetDeposit: boolean;3406 readonly asReserveAssetDeposit: {3407 readonly assets: Vec<XcmV0MultiAsset>;3408 readonly effects: Vec<XcmV0Order>;3409 } & Struct;3410 readonly isTeleportAsset: boolean;3411 readonly asTeleportAsset: {3412 readonly assets: Vec<XcmV0MultiAsset>;3413 readonly effects: Vec<XcmV0Order>;3414 } & Struct;3415 readonly isQueryResponse: boolean;3416 readonly asQueryResponse: {3417 readonly queryId: Compact<u64>;3418 readonly response: XcmV0Response;3419 } & Struct;3420 readonly isTransferAsset: boolean;3421 readonly asTransferAsset: {3422 readonly assets: Vec<XcmV0MultiAsset>;3423 readonly dest: XcmV0MultiLocation;3424 } & Struct;3425 readonly isTransferReserveAsset: boolean;3426 readonly asTransferReserveAsset: {3427 readonly assets: Vec<XcmV0MultiAsset>;3428 readonly dest: XcmV0MultiLocation;3429 readonly effects: Vec<XcmV0Order>;3430 } & Struct;3431 readonly isTransact: boolean;3432 readonly asTransact: {3433 readonly originType: XcmV0OriginKind;3434 readonly requireWeightAtMost: u64;3435 readonly call: XcmDoubleEncoded;3436 } & Struct;3437 readonly isHrmpNewChannelOpenRequest: boolean;3438 readonly asHrmpNewChannelOpenRequest: {3439 readonly sender: Compact<u32>;3440 readonly maxMessageSize: Compact<u32>;3441 readonly maxCapacity: Compact<u32>;3442 } & Struct;3443 readonly isHrmpChannelAccepted: boolean;3444 readonly asHrmpChannelAccepted: {3445 readonly recipient: Compact<u32>;3446 } & Struct;3447 readonly isHrmpChannelClosing: boolean;3448 readonly asHrmpChannelClosing: {3449 readonly initiator: Compact<u32>;3450 readonly sender: Compact<u32>;3451 readonly recipient: Compact<u32>;3452 } & Struct;3453 readonly isRelayedFrom: boolean;3454 readonly asRelayedFrom: {3455 readonly who: XcmV0MultiLocation;3456 readonly message: XcmV0Xcm;3457 } & Struct;3458 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3459}34603461/** @name XcmV1Junction */3462export interface XcmV1Junction extends Enum {3463 readonly isParachain: boolean;3464 readonly asParachain: Compact<u32>;3465 readonly isAccountId32: boolean;3466 readonly asAccountId32: {3467 readonly network: XcmV0JunctionNetworkId;3468 readonly id: U8aFixed;3469 } & Struct;3470 readonly isAccountIndex64: boolean;3471 readonly asAccountIndex64: {3472 readonly network: XcmV0JunctionNetworkId;3473 readonly index: Compact<u64>;3474 } & Struct;3475 readonly isAccountKey20: boolean;3476 readonly asAccountKey20: {3477 readonly network: XcmV0JunctionNetworkId;3478 readonly key: U8aFixed;3479 } & Struct;3480 readonly isPalletInstance: boolean;3481 readonly asPalletInstance: u8;3482 readonly isGeneralIndex: boolean;3483 readonly asGeneralIndex: Compact<u128>;3484 readonly isGeneralKey: boolean;3485 readonly asGeneralKey: Bytes;3486 readonly isOnlyChild: boolean;3487 readonly isPlurality: boolean;3488 readonly asPlurality: {3489 readonly id: XcmV0JunctionBodyId;3490 readonly part: XcmV0JunctionBodyPart;3491 } & Struct;3492 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3493}34943495/** @name XcmV1MultiAsset */3496export interface XcmV1MultiAsset extends Struct {3497 readonly id: XcmV1MultiassetAssetId;3498 readonly fun: XcmV1MultiassetFungibility;3499}35003501/** @name XcmV1MultiassetAssetId */3502export interface XcmV1MultiassetAssetId extends Enum {3503 readonly isConcrete: boolean;3504 readonly asConcrete: XcmV1MultiLocation;3505 readonly isAbstract: boolean;3506 readonly asAbstract: Bytes;3507 readonly type: 'Concrete' | 'Abstract';3508}35093510/** @name XcmV1MultiassetAssetInstance */3511export interface XcmV1MultiassetAssetInstance extends Enum {3512 readonly isUndefined: boolean;3513 readonly isIndex: boolean;3514 readonly asIndex: Compact<u128>;3515 readonly isArray4: boolean;3516 readonly asArray4: U8aFixed;3517 readonly isArray8: boolean;3518 readonly asArray8: U8aFixed;3519 readonly isArray16: boolean;3520 readonly asArray16: U8aFixed;3521 readonly isArray32: boolean;3522 readonly asArray32: U8aFixed;3523 readonly isBlob: boolean;3524 readonly asBlob: Bytes;3525 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3526}35273528/** @name XcmV1MultiassetFungibility */3529export interface XcmV1MultiassetFungibility extends Enum {3530 readonly isFungible: boolean;3531 readonly asFungible: Compact<u128>;3532 readonly isNonFungible: boolean;3533 readonly asNonFungible: XcmV1MultiassetAssetInstance;3534 readonly type: 'Fungible' | 'NonFungible';3535}35363537/** @name XcmV1MultiassetMultiAssetFilter */3538export interface XcmV1MultiassetMultiAssetFilter extends Enum {3539 readonly isDefinite: boolean;3540 readonly asDefinite: XcmV1MultiassetMultiAssets;3541 readonly isWild: boolean;3542 readonly asWild: XcmV1MultiassetWildMultiAsset;3543 readonly type: 'Definite' | 'Wild';3544}35453546/** @name XcmV1MultiassetMultiAssets */3547export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}35483549/** @name XcmV1MultiassetWildFungibility */3550export interface XcmV1MultiassetWildFungibility extends Enum {3551 readonly isFungible: boolean;3552 readonly isNonFungible: boolean;3553 readonly type: 'Fungible' | 'NonFungible';3554}35553556/** @name XcmV1MultiassetWildMultiAsset */3557export interface XcmV1MultiassetWildMultiAsset extends Enum {3558 readonly isAll: boolean;3559 readonly isAllOf: boolean;3560 readonly asAllOf: {3561 readonly id: XcmV1MultiassetAssetId;3562 readonly fun: XcmV1MultiassetWildFungibility;3563 } & Struct;3564 readonly type: 'All' | 'AllOf';3565}35663567/** @name XcmV1MultiLocation */3568export interface XcmV1MultiLocation extends Struct {3569 readonly parents: u8;3570 readonly interior: XcmV1MultilocationJunctions;3571}35723573/** @name XcmV1MultilocationJunctions */3574export interface XcmV1MultilocationJunctions extends Enum {3575 readonly isHere: boolean;3576 readonly isX1: boolean;3577 readonly asX1: XcmV1Junction;3578 readonly isX2: boolean;3579 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3580 readonly isX3: boolean;3581 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3582 readonly isX4: boolean;3583 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3584 readonly isX5: boolean;3585 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3586 readonly isX6: boolean;3587 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3588 readonly isX7: boolean;3589 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3590 readonly isX8: boolean;3591 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3592 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3593}35943595/** @name XcmV1Order */3596export interface XcmV1Order extends Enum {3597 readonly isNoop: boolean;3598 readonly isDepositAsset: boolean;3599 readonly asDepositAsset: {3600 readonly assets: XcmV1MultiassetMultiAssetFilter;3601 readonly maxAssets: u32;3602 readonly beneficiary: XcmV1MultiLocation;3603 } & Struct;3604 readonly isDepositReserveAsset: boolean;3605 readonly asDepositReserveAsset: {3606 readonly assets: XcmV1MultiassetMultiAssetFilter;3607 readonly maxAssets: u32;3608 readonly dest: XcmV1MultiLocation;3609 readonly effects: Vec<XcmV1Order>;3610 } & Struct;3611 readonly isExchangeAsset: boolean;3612 readonly asExchangeAsset: {3613 readonly give: XcmV1MultiassetMultiAssetFilter;3614 readonly receive: XcmV1MultiassetMultiAssets;3615 } & Struct;3616 readonly isInitiateReserveWithdraw: boolean;3617 readonly asInitiateReserveWithdraw: {3618 readonly assets: XcmV1MultiassetMultiAssetFilter;3619 readonly reserve: XcmV1MultiLocation;3620 readonly effects: Vec<XcmV1Order>;3621 } & Struct;3622 readonly isInitiateTeleport: boolean;3623 readonly asInitiateTeleport: {3624 readonly assets: XcmV1MultiassetMultiAssetFilter;3625 readonly dest: XcmV1MultiLocation;3626 readonly effects: Vec<XcmV1Order>;3627 } & Struct;3628 readonly isQueryHolding: boolean;3629 readonly asQueryHolding: {3630 readonly queryId: Compact<u64>;3631 readonly dest: XcmV1MultiLocation;3632 readonly assets: XcmV1MultiassetMultiAssetFilter;3633 } & Struct;3634 readonly isBuyExecution: boolean;3635 readonly asBuyExecution: {3636 readonly fees: XcmV1MultiAsset;3637 readonly weight: u64;3638 readonly debt: u64;3639 readonly haltOnError: bool;3640 readonly instructions: Vec<XcmV1Xcm>;3641 } & Struct;3642 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3643}36443645/** @name XcmV1Response */3646export interface XcmV1Response extends Enum {3647 readonly isAssets: boolean;3648 readonly asAssets: XcmV1MultiassetMultiAssets;3649 readonly isVersion: boolean;3650 readonly asVersion: u32;3651 readonly type: 'Assets' | 'Version';3652}36533654/** @name XcmV1Xcm */3655export interface XcmV1Xcm extends Enum {3656 readonly isWithdrawAsset: boolean;3657 readonly asWithdrawAsset: {3658 readonly assets: XcmV1MultiassetMultiAssets;3659 readonly effects: Vec<XcmV1Order>;3660 } & Struct;3661 readonly isReserveAssetDeposited: boolean;3662 readonly asReserveAssetDeposited: {3663 readonly assets: XcmV1MultiassetMultiAssets;3664 readonly effects: Vec<XcmV1Order>;3665 } & Struct;3666 readonly isReceiveTeleportedAsset: boolean;3667 readonly asReceiveTeleportedAsset: {3668 readonly assets: XcmV1MultiassetMultiAssets;3669 readonly effects: Vec<XcmV1Order>;3670 } & Struct;3671 readonly isQueryResponse: boolean;3672 readonly asQueryResponse: {3673 readonly queryId: Compact<u64>;3674 readonly response: XcmV1Response;3675 } & Struct;3676 readonly isTransferAsset: boolean;3677 readonly asTransferAsset: {3678 readonly assets: XcmV1MultiassetMultiAssets;3679 readonly beneficiary: XcmV1MultiLocation;3680 } & Struct;3681 readonly isTransferReserveAsset: boolean;3682 readonly asTransferReserveAsset: {3683 readonly assets: XcmV1MultiassetMultiAssets;3684 readonly dest: XcmV1MultiLocation;3685 readonly effects: Vec<XcmV1Order>;3686 } & Struct;3687 readonly isTransact: boolean;3688 readonly asTransact: {3689 readonly originType: XcmV0OriginKind;3690 readonly requireWeightAtMost: u64;3691 readonly call: XcmDoubleEncoded;3692 } & Struct;3693 readonly isHrmpNewChannelOpenRequest: boolean;3694 readonly asHrmpNewChannelOpenRequest: {3695 readonly sender: Compact<u32>;3696 readonly maxMessageSize: Compact<u32>;3697 readonly maxCapacity: Compact<u32>;3698 } & Struct;3699 readonly isHrmpChannelAccepted: boolean;3700 readonly asHrmpChannelAccepted: {3701 readonly recipient: Compact<u32>;3702 } & Struct;3703 readonly isHrmpChannelClosing: boolean;3704 readonly asHrmpChannelClosing: {3705 readonly initiator: Compact<u32>;3706 readonly sender: Compact<u32>;3707 readonly recipient: Compact<u32>;3708 } & Struct;3709 readonly isRelayedFrom: boolean;3710 readonly asRelayedFrom: {3711 readonly who: XcmV1MultilocationJunctions;3712 readonly message: XcmV1Xcm;3713 } & Struct;3714 readonly isSubscribeVersion: boolean;3715 readonly asSubscribeVersion: {3716 readonly queryId: Compact<u64>;3717 readonly maxResponseWeight: Compact<u64>;3718 } & Struct;3719 readonly isUnsubscribeVersion: boolean;3720 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3721}37223723/** @name XcmV2Instruction */3724export interface XcmV2Instruction extends Enum {3725 readonly isWithdrawAsset: boolean;3726 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3727 readonly isReserveAssetDeposited: boolean;3728 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3729 readonly isReceiveTeleportedAsset: boolean;3730 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3731 readonly isQueryResponse: boolean;3732 readonly asQueryResponse: {3733 readonly queryId: Compact<u64>;3734 readonly response: XcmV2Response;3735 readonly maxWeight: Compact<u64>;3736 } & Struct;3737 readonly isTransferAsset: boolean;3738 readonly asTransferAsset: {3739 readonly assets: XcmV1MultiassetMultiAssets;3740 readonly beneficiary: XcmV1MultiLocation;3741 } & Struct;3742 readonly isTransferReserveAsset: boolean;3743 readonly asTransferReserveAsset: {3744 readonly assets: XcmV1MultiassetMultiAssets;3745 readonly dest: XcmV1MultiLocation;3746 readonly xcm: XcmV2Xcm;3747 } & Struct;3748 readonly isTransact: boolean;3749 readonly asTransact: {3750 readonly originType: XcmV0OriginKind;3751 readonly requireWeightAtMost: Compact<u64>;3752 readonly call: XcmDoubleEncoded;3753 } & Struct;3754 readonly isHrmpNewChannelOpenRequest: boolean;3755 readonly asHrmpNewChannelOpenRequest: {3756 readonly sender: Compact<u32>;3757 readonly maxMessageSize: Compact<u32>;3758 readonly maxCapacity: Compact<u32>;3759 } & Struct;3760 readonly isHrmpChannelAccepted: boolean;3761 readonly asHrmpChannelAccepted: {3762 readonly recipient: Compact<u32>;3763 } & Struct;3764 readonly isHrmpChannelClosing: boolean;3765 readonly asHrmpChannelClosing: {3766 readonly initiator: Compact<u32>;3767 readonly sender: Compact<u32>;3768 readonly recipient: Compact<u32>;3769 } & Struct;3770 readonly isClearOrigin: boolean;3771 readonly isDescendOrigin: boolean;3772 readonly asDescendOrigin: XcmV1MultilocationJunctions;3773 readonly isReportError: boolean;3774 readonly asReportError: {3775 readonly queryId: Compact<u64>;3776 readonly dest: XcmV1MultiLocation;3777 readonly maxResponseWeight: Compact<u64>;3778 } & Struct;3779 readonly isDepositAsset: boolean;3780 readonly asDepositAsset: {3781 readonly assets: XcmV1MultiassetMultiAssetFilter;3782 readonly maxAssets: Compact<u32>;3783 readonly beneficiary: XcmV1MultiLocation;3784 } & Struct;3785 readonly isDepositReserveAsset: boolean;3786 readonly asDepositReserveAsset: {3787 readonly assets: XcmV1MultiassetMultiAssetFilter;3788 readonly maxAssets: Compact<u32>;3789 readonly dest: XcmV1MultiLocation;3790 readonly xcm: XcmV2Xcm;3791 } & Struct;3792 readonly isExchangeAsset: boolean;3793 readonly asExchangeAsset: {3794 readonly give: XcmV1MultiassetMultiAssetFilter;3795 readonly receive: XcmV1MultiassetMultiAssets;3796 } & Struct;3797 readonly isInitiateReserveWithdraw: boolean;3798 readonly asInitiateReserveWithdraw: {3799 readonly assets: XcmV1MultiassetMultiAssetFilter;3800 readonly reserve: XcmV1MultiLocation;3801 readonly xcm: XcmV2Xcm;3802 } & Struct;3803 readonly isInitiateTeleport: boolean;3804 readonly asInitiateTeleport: {3805 readonly assets: XcmV1MultiassetMultiAssetFilter;3806 readonly dest: XcmV1MultiLocation;3807 readonly xcm: XcmV2Xcm;3808 } & Struct;3809 readonly isQueryHolding: boolean;3810 readonly asQueryHolding: {3811 readonly queryId: Compact<u64>;3812 readonly dest: XcmV1MultiLocation;3813 readonly assets: XcmV1MultiassetMultiAssetFilter;3814 readonly maxResponseWeight: Compact<u64>;3815 } & Struct;3816 readonly isBuyExecution: boolean;3817 readonly asBuyExecution: {3818 readonly fees: XcmV1MultiAsset;3819 readonly weightLimit: XcmV2WeightLimit;3820 } & Struct;3821 readonly isRefundSurplus: boolean;3822 readonly isSetErrorHandler: boolean;3823 readonly asSetErrorHandler: XcmV2Xcm;3824 readonly isSetAppendix: boolean;3825 readonly asSetAppendix: XcmV2Xcm;3826 readonly isClearError: boolean;3827 readonly isClaimAsset: boolean;3828 readonly asClaimAsset: {3829 readonly assets: XcmV1MultiassetMultiAssets;3830 readonly ticket: XcmV1MultiLocation;3831 } & Struct;3832 readonly isTrap: boolean;3833 readonly asTrap: Compact<u64>;3834 readonly isSubscribeVersion: boolean;3835 readonly asSubscribeVersion: {3836 readonly queryId: Compact<u64>;3837 readonly maxResponseWeight: Compact<u64>;3838 } & Struct;3839 readonly isUnsubscribeVersion: boolean;3840 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';3841}38423843/** @name XcmV2Response */3844export interface XcmV2Response extends Enum {3845 readonly isNull: boolean;3846 readonly isAssets: boolean;3847 readonly asAssets: XcmV1MultiassetMultiAssets;3848 readonly isExecutionResult: boolean;3849 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3850 readonly isVersion: boolean;3851 readonly asVersion: u32;3852 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3853}38543855/** @name XcmV2TraitsError */3856export interface XcmV2TraitsError extends Enum {3857 readonly isOverflow: boolean;3858 readonly isUnimplemented: boolean;3859 readonly isUntrustedReserveLocation: boolean;3860 readonly isUntrustedTeleportLocation: boolean;3861 readonly isMultiLocationFull: boolean;3862 readonly isMultiLocationNotInvertible: boolean;3863 readonly isBadOrigin: boolean;3864 readonly isInvalidLocation: boolean;3865 readonly isAssetNotFound: boolean;3866 readonly isFailedToTransactAsset: boolean;3867 readonly isNotWithdrawable: boolean;3868 readonly isLocationCannotHold: boolean;3869 readonly isExceedsMaxMessageSize: boolean;3870 readonly isDestinationUnsupported: boolean;3871 readonly isTransport: boolean;3872 readonly isUnroutable: boolean;3873 readonly isUnknownClaim: boolean;3874 readonly isFailedToDecode: boolean;3875 readonly isMaxWeightInvalid: boolean;3876 readonly isNotHoldingFees: boolean;3877 readonly isTooExpensive: boolean;3878 readonly isTrap: boolean;3879 readonly asTrap: u64;3880 readonly isUnhandledXcmVersion: boolean;3881 readonly isWeightLimitReached: boolean;3882 readonly asWeightLimitReached: u64;3883 readonly isBarrier: boolean;3884 readonly isWeightNotComputable: boolean;3885 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';3886}38873888/** @name XcmV2TraitsOutcome */3889export interface XcmV2TraitsOutcome extends Enum {3890 readonly isComplete: boolean;3891 readonly asComplete: u64;3892 readonly isIncomplete: boolean;3893 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3894 readonly isError: boolean;3895 readonly asError: XcmV2TraitsError;3896 readonly type: 'Complete' | 'Incomplete' | 'Error';3897}38983899/** @name XcmV2WeightLimit */3900export interface XcmV2WeightLimit extends Enum {3901 readonly isUnlimited: boolean;3902 readonly isLimited: boolean;3903 readonly asLimited: Compact<u64>;3904 readonly type: 'Unlimited' | 'Limited';3905}39063907/** @name XcmV2Xcm */3908export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}39093910/** @name XcmVersionedMultiAsset */3911export interface XcmVersionedMultiAsset extends Enum {3912 readonly isV0: boolean;3913 readonly asV0: XcmV0MultiAsset;3914 readonly isV1: boolean;3915 readonly asV1: XcmV1MultiAsset;3916 readonly type: 'V0' | 'V1';3917}39183919/** @name XcmVersionedMultiAssets */3920export interface XcmVersionedMultiAssets extends Enum {3921 readonly isV0: boolean;3922 readonly asV0: Vec<XcmV0MultiAsset>;3923 readonly isV1: boolean;3924 readonly asV1: XcmV1MultiassetMultiAssets;3925 readonly type: 'V0' | 'V1';3926}39273928/** @name XcmVersionedMultiLocation */3929export interface XcmVersionedMultiLocation extends Enum {3930 readonly isV0: boolean;3931 readonly asV0: XcmV0MultiLocation;3932 readonly isV1: boolean;3933 readonly asV1: XcmV1MultiLocation;3934 readonly type: 'V0' | 'V1';3935}39363937/** @name XcmVersionedXcm */3938export interface XcmVersionedXcm extends Enum {3939 readonly isV0: boolean;3940 readonly asV0: XcmV0Xcm;3941 readonly isV1: boolean;3942 readonly asV1: XcmV1Xcm;3943 readonly isV2: boolean;3944 readonly asV2: XcmV2Xcm;3945 readonly type: 'V0' | 'V1' | 'V2';3946}39473948export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/index.tsdiffbeforeafterboth--- a/tests/src/interfaces/index.ts
+++ b/tests/src/interfaces/index.ts
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './types';
+export * from './types.js';
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -179,12 +179,15 @@
},
DownwardMessagesProcessed: {
weightUsed: 'SpWeightsWeightV2Weight',
- dmqHead: 'H256'
+ dmqHead: 'H256',
+ },
+ UpwardMessageSent: {
+ messageHash: 'Option<[u8;32]>'
}
}
},
/**
- * Lookup30: pallet_collator_selection::pallet::Event<T>
+ * Lookup31: pallet_collator_selection::pallet::Event<T>
**/
PalletCollatorSelectionEvent: {
_enum: {
@@ -211,7 +214,7 @@
}
},
/**
- * Lookup31: pallet_session::pallet::Event
+ * Lookup32: pallet_session::pallet::Event
**/
PalletSessionEvent: {
_enum: {
@@ -221,7 +224,7 @@
}
},
/**
- * Lookup32: pallet_balances::pallet::Event<T, I>
+ * Lookup33: pallet_balances::pallet::Event<T, I>
**/
PalletBalancesEvent: {
_enum: {
@@ -272,13 +275,13 @@
}
},
/**
- * Lookup33: frame_support::traits::tokens::misc::BalanceStatus
+ * Lookup34: frame_support::traits::tokens::misc::BalanceStatus
**/
FrameSupportTokensMiscBalanceStatus: {
_enum: ['Free', 'Reserved']
},
/**
- * Lookup34: pallet_transaction_payment::pallet::Event<T>
+ * Lookup35: pallet_transaction_payment::pallet::Event<T>
**/
PalletTransactionPaymentEvent: {
_enum: {
@@ -290,7 +293,7 @@
}
},
/**
- * Lookup35: pallet_treasury::pallet::Event<T, I>
+ * Lookup36: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
@@ -330,7 +333,7 @@
}
},
/**
- * Lookup36: pallet_sudo::pallet::Event<T>
+ * Lookup37: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -346,7 +349,7 @@
}
},
/**
- * Lookup40: orml_vesting::module::Event<T>
+ * Lookup41: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -365,7 +368,7 @@
}
},
/**
- * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ * Lookup42: orml_vesting::VestingSchedule<BlockNumber, Balance>
**/
OrmlVestingVestingSchedule: {
start: 'u32',
@@ -374,107 +377,122 @@
perPeriod: 'Compact<u128>'
},
/**
- * Lookup43: orml_xtokens::module::Event<T>
+ * Lookup44: orml_xtokens::module::Event<T>
**/
OrmlXtokensModuleEvent: {
_enum: {
TransferredMultiAssets: {
sender: 'AccountId32',
- assets: 'XcmV1MultiassetMultiAssets',
- fee: 'XcmV1MultiAsset',
- dest: 'XcmV1MultiLocation'
+ assets: 'XcmV3MultiassetMultiAssets',
+ fee: 'XcmV3MultiAsset',
+ dest: 'XcmV3MultiLocation'
}
}
},
/**
- * Lookup44: xcm::v1::multiasset::MultiAssets
+ * Lookup45: xcm::v3::multiasset::MultiAssets
**/
- XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
+ XcmV3MultiassetMultiAssets: 'Vec<XcmV3MultiAsset>',
/**
- * Lookup46: xcm::v1::multiasset::MultiAsset
+ * Lookup47: xcm::v3::multiasset::MultiAsset
**/
- XcmV1MultiAsset: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetFungibility'
+ XcmV3MultiAsset: {
+ id: 'XcmV3MultiassetAssetId',
+ fun: 'XcmV3MultiassetFungibility'
},
/**
- * Lookup47: xcm::v1::multiasset::AssetId
+ * Lookup48: xcm::v3::multiasset::AssetId
**/
- XcmV1MultiassetAssetId: {
+ XcmV3MultiassetAssetId: {
_enum: {
- Concrete: 'XcmV1MultiLocation',
- Abstract: 'Bytes'
+ Concrete: 'XcmV3MultiLocation',
+ Abstract: '[u8;32]'
}
},
/**
- * Lookup48: xcm::v1::multilocation::MultiLocation
+ * Lookup49: xcm::v3::multilocation::MultiLocation
**/
- XcmV1MultiLocation: {
+ XcmV3MultiLocation: {
parents: 'u8',
- interior: 'XcmV1MultilocationJunctions'
+ interior: 'XcmV3Junctions'
},
/**
- * Lookup49: xcm::v1::multilocation::Junctions
+ * Lookup50: xcm::v3::junctions::Junctions
**/
- XcmV1MultilocationJunctions: {
+ XcmV3Junctions: {
_enum: {
Here: 'Null',
- X1: 'XcmV1Junction',
- X2: '(XcmV1Junction,XcmV1Junction)',
- X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
+ X1: 'XcmV3Junction',
+ X2: '(XcmV3Junction,XcmV3Junction)',
+ X3: '(XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X4: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X5: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X6: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X7: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)',
+ X8: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)'
}
},
/**
- * Lookup50: xcm::v1::junction::Junction
+ * Lookup51: xcm::v3::junction::Junction
**/
- XcmV1Junction: {
+ XcmV3Junction: {
_enum: {
Parachain: 'Compact<u32>',
AccountId32: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'Option<XcmV3JunctionNetworkId>',
id: '[u8;32]',
},
AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'Option<XcmV3JunctionNetworkId>',
index: 'Compact<u64>',
},
AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'Option<XcmV3JunctionNetworkId>',
key: '[u8;20]',
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
- GeneralKey: 'Bytes',
+ GeneralKey: {
+ length: 'u8',
+ data: '[u8;32]',
+ },
OnlyChild: 'Null',
Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
- }
+ id: 'XcmV3JunctionBodyId',
+ part: 'XcmV3JunctionBodyPart',
+ },
+ GlobalConsensus: 'XcmV3JunctionNetworkId'
}
},
/**
- * Lookup52: xcm::v0::junction::NetworkId
+ * Lookup54: xcm::v3::junction::NetworkId
**/
- XcmV0JunctionNetworkId: {
+ XcmV3JunctionNetworkId: {
_enum: {
- Any: 'Null',
- Named: 'Bytes',
+ ByGenesis: '[u8;32]',
+ ByFork: {
+ blockNumber: 'u64',
+ blockHash: '[u8;32]',
+ },
Polkadot: 'Null',
- Kusama: 'Null'
+ Kusama: 'Null',
+ Westend: 'Null',
+ Rococo: 'Null',
+ Wococo: 'Null',
+ Ethereum: {
+ chainId: 'Compact<u64>',
+ },
+ BitcoinCore: 'Null',
+ BitcoinCash: 'Null'
}
},
/**
- * Lookup55: xcm::v0::junction::BodyId
+ * Lookup56: xcm::v3::junction::BodyId
**/
- XcmV0JunctionBodyId: {
+ XcmV3JunctionBodyId: {
_enum: {
Unit: 'Null',
- Named: 'Bytes',
+ Moniker: '[u8;4]',
Index: 'Compact<u32>',
Executive: 'Null',
Technical: 'Null',
@@ -486,9 +504,9 @@
}
},
/**
- * Lookup56: xcm::v0::junction::BodyPart
+ * Lookup57: xcm::v3::junction::BodyPart
**/
- XcmV0JunctionBodyPart: {
+ XcmV3JunctionBodyPart: {
_enum: {
Voice: 'Null',
Members: {
@@ -509,30 +527,29 @@
}
},
/**
- * Lookup57: xcm::v1::multiasset::Fungibility
+ * Lookup58: xcm::v3::multiasset::Fungibility
**/
- XcmV1MultiassetFungibility: {
+ XcmV3MultiassetFungibility: {
_enum: {
Fungible: 'Compact<u128>',
- NonFungible: 'XcmV1MultiassetAssetInstance'
+ NonFungible: 'XcmV3MultiassetAssetInstance'
}
},
/**
- * Lookup58: xcm::v1::multiasset::AssetInstance
+ * Lookup59: xcm::v3::multiasset::AssetInstance
**/
- XcmV1MultiassetAssetInstance: {
+ XcmV3MultiassetAssetInstance: {
_enum: {
Undefined: 'Null',
Index: 'Compact<u128>',
Array4: '[u8;4]',
Array8: '[u8;8]',
Array16: '[u8;16]',
- Array32: '[u8;32]',
- Blob: 'Bytes'
+ Array32: '[u8;32]'
}
},
/**
- * Lookup61: orml_tokens::module::Event<T>
+ * Lookup62: orml_tokens::module::Event<T>
**/
OrmlTokensModuleEvent: {
_enum: {
@@ -604,12 +621,22 @@
LockRemoved: {
lockId: '[u8;8]',
currencyId: 'PalletForeignAssetsAssetIds',
- who: 'AccountId32'
+ who: 'AccountId32',
+ },
+ Locked: {
+ currencyId: 'PalletForeignAssetsAssetIds',
+ who: 'AccountId32',
+ amount: 'u128',
+ },
+ Unlocked: {
+ currencyId: 'PalletForeignAssetsAssetIds',
+ who: 'AccountId32',
+ amount: 'u128'
}
}
},
/**
- * Lookup62: pallet_foreign_assets::AssetIds
+ * Lookup63: pallet_foreign_assets::AssetIds
**/
PalletForeignAssetsAssetIds: {
_enum: {
@@ -618,13 +645,13 @@
}
},
/**
- * Lookup63: pallet_foreign_assets::NativeCurrency
+ * Lookup64: pallet_foreign_assets::NativeCurrency
**/
PalletForeignAssetsNativeCurrency: {
_enum: ['Here', 'Parent']
},
/**
- * Lookup64: pallet_identity::pallet::Event<T>
+ * Lookup65: pallet_identity::pallet::Event<T>
**/
PalletIdentityEvent: {
_enum: {
@@ -681,7 +708,7 @@
}
},
/**
- * Lookup65: pallet_preimage::pallet::Event<T>
+ * Lookup66: pallet_preimage::pallet::Event<T>
**/
PalletPreimageEvent: {
_enum: {
@@ -706,30 +733,27 @@
}
},
/**
- * Lookup66: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup67: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
Success: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
weight: 'SpWeightsWeightV2Weight',
},
Fail: {
- messageHash: 'Option<H256>',
- error: 'XcmV2TraitsError',
+ messageHash: 'Option<[u8;32]>',
+ error: 'XcmV3TraitsError',
weight: 'SpWeightsWeightV2Weight',
},
BadVersion: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
},
BadFormat: {
- messageHash: 'Option<H256>',
- },
- UpwardMessageSent: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
},
XcmpMessageSent: {
- messageHash: 'Option<H256>',
+ messageHash: 'Option<[u8;32]>',
},
OverweightEnqueued: {
sender: 'u32',
@@ -744,16 +768,16 @@
}
},
/**
- * Lookup68: xcm::v2::traits::Error
+ * Lookup68: xcm::v3::traits::Error
**/
- XcmV2TraitsError: {
+ XcmV3TraitsError: {
_enum: {
Overflow: 'Null',
Unimplemented: 'Null',
UntrustedReserveLocation: 'Null',
UntrustedTeleportLocation: 'Null',
- MultiLocationFull: 'Null',
- MultiLocationNotInvertible: 'Null',
+ LocationFull: 'Null',
+ LocationNotInvertible: 'Null',
BadOrigin: 'Null',
InvalidLocation: 'Null',
AssetNotFound: 'Null',
@@ -770,10 +794,24 @@
NotHoldingFees: 'Null',
TooExpensive: 'Null',
Trap: 'u64',
+ ExpectationFalse: 'Null',
+ PalletNotFound: 'Null',
+ NameMismatch: 'Null',
+ VersionIncompatible: 'Null',
+ HoldingWouldOverflow: 'Null',
+ ExportError: 'Null',
+ ReanchorFailed: 'Null',
+ NoDeal: 'Null',
+ FeesNotMet: 'Null',
+ LockError: 'Null',
+ NoPermission: 'Null',
+ Unanchored: 'Null',
+ NotDepositable: 'Null',
UnhandledXcmVersion: 'Null',
- WeightLimitReached: 'u64',
+ WeightLimitReached: 'SpWeightsWeightV2Weight',
Barrier: 'Null',
- WeightNotComputable: 'Null'
+ WeightNotComputable: 'Null',
+ ExceedsStackLimit: 'Null'
}
},
/**
@@ -781,64 +819,71 @@
**/
PalletXcmEvent: {
_enum: {
- Attempted: 'XcmV2TraitsOutcome',
- Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',
- UnexpectedResponse: '(XcmV1MultiLocation,u64)',
- ResponseReady: '(u64,XcmV2Response)',
+ Attempted: 'XcmV3TraitsOutcome',
+ Sent: '(XcmV3MultiLocation,XcmV3MultiLocation,XcmV3Xcm)',
+ UnexpectedResponse: '(XcmV3MultiLocation,u64)',
+ ResponseReady: '(u64,XcmV3Response)',
Notified: '(u64,u8,u8)',
NotifyOverweight: '(u64,u8,u8,SpWeightsWeightV2Weight,SpWeightsWeightV2Weight)',
NotifyDispatchError: '(u64,u8,u8)',
NotifyDecodeFailed: '(u64,u8,u8)',
- InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',
- InvalidResponderVersion: '(XcmV1MultiLocation,u64)',
+ InvalidResponder: '(XcmV3MultiLocation,u64,Option<XcmV3MultiLocation>)',
+ InvalidResponderVersion: '(XcmV3MultiLocation,u64)',
ResponseTaken: 'u64',
- AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',
- VersionChangeNotified: '(XcmV1MultiLocation,u32)',
- SupportedVersionChanged: '(XcmV1MultiLocation,u32)',
- NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',
+ AssetsTrapped: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)',
+ VersionChangeNotified: '(XcmV3MultiLocation,u32,XcmV3MultiassetMultiAssets)',
+ SupportedVersionChanged: '(XcmV3MultiLocation,u32)',
+ NotifyTargetSendFail: '(XcmV3MultiLocation,u64,XcmV3TraitsError)',
NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)',
- AssetsClaimed: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)'
+ InvalidQuerierVersion: '(XcmV3MultiLocation,u64)',
+ InvalidQuerier: '(XcmV3MultiLocation,u64,XcmV3MultiLocation,Option<XcmV3MultiLocation>)',
+ VersionNotifyStarted: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ VersionNotifyRequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ VersionNotifyUnrequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ FeesPaid: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)',
+ AssetsClaimed: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)'
}
},
/**
- * Lookup71: xcm::v2::traits::Outcome
+ * Lookup71: xcm::v3::traits::Outcome
**/
- XcmV2TraitsOutcome: {
+ XcmV3TraitsOutcome: {
_enum: {
- Complete: 'u64',
- Incomplete: '(u64,XcmV2TraitsError)',
- Error: 'XcmV2TraitsError'
+ Complete: 'SpWeightsWeightV2Weight',
+ Incomplete: '(SpWeightsWeightV2Weight,XcmV3TraitsError)',
+ Error: 'XcmV3TraitsError'
}
},
/**
- * Lookup72: xcm::v2::Xcm<RuntimeCall>
+ * Lookup72: xcm::v3::Xcm<Call>
**/
- XcmV2Xcm: 'Vec<XcmV2Instruction>',
+ XcmV3Xcm: 'Vec<XcmV3Instruction>',
/**
- * Lookup74: xcm::v2::Instruction<RuntimeCall>
+ * Lookup74: xcm::v3::Instruction<Call>
**/
- XcmV2Instruction: {
+ XcmV3Instruction: {
_enum: {
- WithdrawAsset: 'XcmV1MultiassetMultiAssets',
- ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',
- ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',
+ WithdrawAsset: 'XcmV3MultiassetMultiAssets',
+ ReserveAssetDeposited: 'XcmV3MultiassetMultiAssets',
+ ReceiveTeleportedAsset: 'XcmV3MultiassetMultiAssets',
QueryResponse: {
queryId: 'Compact<u64>',
- response: 'XcmV2Response',
- maxWeight: 'Compact<u64>',
+ response: 'XcmV3Response',
+ maxWeight: 'SpWeightsWeightV2Weight',
+ querier: 'Option<XcmV3MultiLocation>',
},
TransferAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- beneficiary: 'XcmV1MultiLocation',
+ assets: 'XcmV3MultiassetMultiAssets',
+ beneficiary: 'XcmV3MultiLocation',
},
TransferReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssets',
+ dest: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'Compact<u64>',
+ originKind: 'XcmV2OriginKind',
+ requireWeightAtMost: 'SpWeightsWeightV2Weight',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
@@ -855,203 +900,272 @@
recipient: 'Compact<u32>',
},
ClearOrigin: 'Null',
- DescendOrigin: 'XcmV1MultilocationJunctions',
- ReportError: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- maxResponseWeight: 'Compact<u64>',
- },
+ DescendOrigin: 'XcmV3Junctions',
+ ReportError: 'XcmV3QueryResponseInfo',
DepositAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- beneficiary: 'XcmV1MultiLocation',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ beneficiary: 'XcmV3MultiLocation',
},
DepositReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ dest: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
ExchangeAsset: {
- give: 'XcmV1MultiassetMultiAssetFilter',
- receive: 'XcmV1MultiassetMultiAssets',
+ give: 'XcmV3MultiassetMultiAssetFilter',
+ want: 'XcmV3MultiassetMultiAssets',
+ maximal: 'bool',
},
InitiateReserveWithdraw: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- reserve: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ reserve: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
InitiateTeleport: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
+ dest: 'XcmV3MultiLocation',
+ xcm: 'XcmV3Xcm',
},
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxResponseWeight: 'Compact<u64>',
+ ReportHolding: {
+ responseInfo: 'XcmV3QueryResponseInfo',
+ assets: 'XcmV3MultiassetMultiAssetFilter',
},
BuyExecution: {
- fees: 'XcmV1MultiAsset',
- weightLimit: 'XcmV2WeightLimit',
+ fees: 'XcmV3MultiAsset',
+ weightLimit: 'XcmV3WeightLimit',
},
RefundSurplus: 'Null',
- SetErrorHandler: 'XcmV2Xcm',
- SetAppendix: 'XcmV2Xcm',
+ SetErrorHandler: 'XcmV3Xcm',
+ SetAppendix: 'XcmV3Xcm',
ClearError: 'Null',
ClaimAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- ticket: 'XcmV1MultiLocation',
+ assets: 'XcmV3MultiassetMultiAssets',
+ ticket: 'XcmV3MultiLocation',
},
Trap: 'Compact<u64>',
SubscribeVersion: {
queryId: 'Compact<u64>',
- maxResponseWeight: 'Compact<u64>',
+ maxResponseWeight: 'SpWeightsWeightV2Weight',
+ },
+ UnsubscribeVersion: 'Null',
+ BurnAsset: 'XcmV3MultiassetMultiAssets',
+ ExpectAsset: 'XcmV3MultiassetMultiAssets',
+ ExpectOrigin: 'Option<XcmV3MultiLocation>',
+ ExpectError: 'Option<(u32,XcmV3TraitsError)>',
+ ExpectTransactStatus: 'XcmV3MaybeErrorCode',
+ QueryPallet: {
+ moduleName: 'Bytes',
+ responseInfo: 'XcmV3QueryResponseInfo',
},
- UnsubscribeVersion: 'Null'
+ ExpectPallet: {
+ index: 'Compact<u32>',
+ name: 'Bytes',
+ moduleName: 'Bytes',
+ crateMajor: 'Compact<u32>',
+ minCrateMinor: 'Compact<u32>',
+ },
+ ReportTransactStatus: 'XcmV3QueryResponseInfo',
+ ClearTransactStatus: 'Null',
+ UniversalOrigin: 'XcmV3Junction',
+ ExportMessage: {
+ network: 'XcmV3JunctionNetworkId',
+ destination: 'XcmV3Junctions',
+ xcm: 'XcmV3Xcm',
+ },
+ LockAsset: {
+ asset: 'XcmV3MultiAsset',
+ unlocker: 'XcmV3MultiLocation',
+ },
+ UnlockAsset: {
+ asset: 'XcmV3MultiAsset',
+ target: 'XcmV3MultiLocation',
+ },
+ NoteUnlockable: {
+ asset: 'XcmV3MultiAsset',
+ owner: 'XcmV3MultiLocation',
+ },
+ RequestUnlock: {
+ asset: 'XcmV3MultiAsset',
+ locker: 'XcmV3MultiLocation',
+ },
+ SetFeesMode: {
+ jitWithdraw: 'bool',
+ },
+ SetTopic: '[u8;32]',
+ ClearTopic: 'Null',
+ AliasOrigin: 'XcmV3MultiLocation',
+ UnpaidExecution: {
+ weightLimit: 'XcmV3WeightLimit',
+ checkOrigin: 'Option<XcmV3MultiLocation>'
+ }
}
},
/**
- * Lookup75: xcm::v2::Response
+ * Lookup75: xcm::v3::Response
**/
- XcmV2Response: {
+ XcmV3Response: {
_enum: {
Null: 'Null',
- Assets: 'XcmV1MultiassetMultiAssets',
- ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
- Version: 'u32'
+ Assets: 'XcmV3MultiassetMultiAssets',
+ ExecutionResult: 'Option<(u32,XcmV3TraitsError)>',
+ Version: 'u32',
+ PalletsInfo: 'Vec<XcmV3PalletInfo>',
+ DispatchResult: 'XcmV3MaybeErrorCode'
+ }
+ },
+ /**
+ * Lookup79: xcm::v3::PalletInfo
+ **/
+ XcmV3PalletInfo: {
+ index: 'Compact<u32>',
+ name: 'Bytes',
+ moduleName: 'Bytes',
+ major: 'Compact<u32>',
+ minor: 'Compact<u32>',
+ patch: 'Compact<u32>'
+ },
+ /**
+ * Lookup82: xcm::v3::MaybeErrorCode
+ **/
+ XcmV3MaybeErrorCode: {
+ _enum: {
+ Success: 'Null',
+ Error: 'Bytes',
+ TruncatedError: 'Bytes'
}
},
/**
- * Lookup78: xcm::v0::OriginKind
+ * Lookup85: xcm::v2::OriginKind
**/
- XcmV0OriginKind: {
+ XcmV2OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
- * Lookup79: xcm::double_encoded::DoubleEncoded<T>
+ * Lookup86: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
- * Lookup80: xcm::v1::multiasset::MultiAssetFilter
+ * Lookup87: xcm::v3::QueryResponseInfo
+ **/
+ XcmV3QueryResponseInfo: {
+ destination: 'XcmV3MultiLocation',
+ queryId: 'Compact<u64>',
+ maxWeight: 'SpWeightsWeightV2Weight'
+ },
+ /**
+ * Lookup88: xcm::v3::multiasset::MultiAssetFilter
**/
- XcmV1MultiassetMultiAssetFilter: {
+ XcmV3MultiassetMultiAssetFilter: {
_enum: {
- Definite: 'XcmV1MultiassetMultiAssets',
- Wild: 'XcmV1MultiassetWildMultiAsset'
+ Definite: 'XcmV3MultiassetMultiAssets',
+ Wild: 'XcmV3MultiassetWildMultiAsset'
}
},
/**
- * Lookup81: xcm::v1::multiasset::WildMultiAsset
+ * Lookup89: xcm::v3::multiasset::WildMultiAsset
**/
- XcmV1MultiassetWildMultiAsset: {
+ XcmV3MultiassetWildMultiAsset: {
_enum: {
All: 'Null',
AllOf: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetWildFungibility'
+ id: 'XcmV3MultiassetAssetId',
+ fun: 'XcmV3MultiassetWildFungibility',
+ },
+ AllCounted: 'Compact<u32>',
+ AllOfCounted: {
+ id: 'XcmV3MultiassetAssetId',
+ fun: 'XcmV3MultiassetWildFungibility',
+ count: 'Compact<u32>'
}
}
},
/**
- * Lookup82: xcm::v1::multiasset::WildFungibility
+ * Lookup90: xcm::v3::multiasset::WildFungibility
**/
- XcmV1MultiassetWildFungibility: {
+ XcmV3MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
- * Lookup83: xcm::v2::WeightLimit
+ * Lookup92: xcm::v3::WeightLimit
**/
- XcmV2WeightLimit: {
+ XcmV3WeightLimit: {
_enum: {
Unlimited: 'Null',
- Limited: 'Compact<u64>'
+ Limited: 'SpWeightsWeightV2Weight'
}
},
/**
- * Lookup85: xcm::VersionedMultiAssets
+ * Lookup93: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
- V0: 'Vec<XcmV0MultiAsset>',
- V1: 'XcmV1MultiassetMultiAssets'
+ __Unused0: 'Null',
+ V2: 'XcmV2MultiassetMultiAssets',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiassetMultiAssets'
}
},
/**
- * Lookup87: xcm::v0::multi_asset::MultiAsset
+ * Lookup94: xcm::v2::multiasset::MultiAssets
+ **/
+ XcmV2MultiassetMultiAssets: 'Vec<XcmV2MultiAsset>',
+ /**
+ * Lookup96: xcm::v2::multiasset::MultiAsset
+ **/
+ XcmV2MultiAsset: {
+ id: 'XcmV2MultiassetAssetId',
+ fun: 'XcmV2MultiassetFungibility'
+ },
+ /**
+ * Lookup97: xcm::v2::multiasset::AssetId
**/
- XcmV0MultiAsset: {
+ XcmV2MultiassetAssetId: {
_enum: {
- None: 'Null',
- All: 'Null',
- AllFungible: 'Null',
- AllNonFungible: 'Null',
- AllAbstractFungible: {
- id: 'Bytes',
- },
- AllAbstractNonFungible: {
- class: 'Bytes',
- },
- AllConcreteFungible: {
- id: 'XcmV0MultiLocation',
- },
- AllConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- },
- AbstractFungible: {
- id: 'Bytes',
- amount: 'Compact<u128>',
- },
- AbstractNonFungible: {
- class: 'Bytes',
- instance: 'XcmV1MultiassetAssetInstance',
- },
- ConcreteFungible: {
- id: 'XcmV0MultiLocation',
- amount: 'Compact<u128>',
- },
- ConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- instance: 'XcmV1MultiassetAssetInstance'
- }
+ Concrete: 'XcmV2MultiLocation',
+ Abstract: 'Bytes'
}
},
/**
- * Lookup88: xcm::v0::multi_location::MultiLocation
+ * Lookup98: xcm::v2::multilocation::MultiLocation
+ **/
+ XcmV2MultiLocation: {
+ parents: 'u8',
+ interior: 'XcmV2MultilocationJunctions'
+ },
+ /**
+ * Lookup99: xcm::v2::multilocation::Junctions
**/
- XcmV0MultiLocation: {
+ XcmV2MultilocationJunctions: {
_enum: {
- Null: 'Null',
- X1: 'XcmV0Junction',
- X2: '(XcmV0Junction,XcmV0Junction)',
- X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
+ Here: 'Null',
+ X1: 'XcmV2Junction',
+ X2: '(XcmV2Junction,XcmV2Junction)',
+ X3: '(XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X4: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X5: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X6: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X7: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)',
+ X8: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)'
}
},
/**
- * Lookup89: xcm::v0::junction::Junction
+ * Lookup100: xcm::v2::junction::Junction
**/
- XcmV0Junction: {
+ XcmV2Junction: {
_enum: {
- Parent: 'Null',
Parachain: 'Compact<u32>',
AccountId32: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'XcmV2NetworkId',
id: '[u8;32]',
},
AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'XcmV2NetworkId',
index: 'Compact<u64>',
},
AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
+ network: 'XcmV2NetworkId',
key: '[u8;20]',
},
PalletInstance: 'u8',
@@ -1059,32 +1173,108 @@
GeneralKey: 'Bytes',
OnlyChild: 'Null',
Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
+ id: 'XcmV2BodyId',
+ part: 'XcmV2BodyPart'
+ }
+ }
+ },
+ /**
+ * Lookup101: xcm::v2::NetworkId
+ **/
+ XcmV2NetworkId: {
+ _enum: {
+ Any: 'Null',
+ Named: 'Bytes',
+ Polkadot: 'Null',
+ Kusama: 'Null'
+ }
+ },
+ /**
+ * Lookup103: xcm::v2::BodyId
+ **/
+ XcmV2BodyId: {
+ _enum: {
+ Unit: 'Null',
+ Named: 'Bytes',
+ Index: 'Compact<u32>',
+ Executive: 'Null',
+ Technical: 'Null',
+ Legislative: 'Null',
+ Judicial: 'Null',
+ Defense: 'Null',
+ Administration: 'Null',
+ Treasury: 'Null'
+ }
+ },
+ /**
+ * Lookup104: xcm::v2::BodyPart
+ **/
+ XcmV2BodyPart: {
+ _enum: {
+ Voice: 'Null',
+ Members: {
+ count: 'Compact<u32>',
+ },
+ Fraction: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>',
+ },
+ AtLeastProportion: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>',
+ },
+ MoreThanProportion: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>'
}
}
},
/**
- * Lookup90: xcm::VersionedMultiLocation
+ * Lookup105: xcm::v2::multiasset::Fungibility
+ **/
+ XcmV2MultiassetFungibility: {
+ _enum: {
+ Fungible: 'Compact<u128>',
+ NonFungible: 'XcmV2MultiassetAssetInstance'
+ }
+ },
+ /**
+ * Lookup106: xcm::v2::multiasset::AssetInstance
**/
+ XcmV2MultiassetAssetInstance: {
+ _enum: {
+ Undefined: 'Null',
+ Index: 'Compact<u128>',
+ Array4: '[u8;4]',
+ Array8: '[u8;8]',
+ Array16: '[u8;16]',
+ Array32: '[u8;32]',
+ Blob: 'Bytes'
+ }
+ },
+ /**
+ * Lookup107: xcm::VersionedMultiLocation
+ **/
XcmVersionedMultiLocation: {
_enum: {
- V0: 'XcmV0MultiLocation',
- V1: 'XcmV1MultiLocation'
+ __Unused0: 'Null',
+ V2: 'XcmV2MultiLocation',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiLocation'
}
},
/**
- * Lookup91: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup108: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
- InvalidFormat: '[u8;8]',
- UnsupportedVersion: '[u8;8]',
- ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
+ InvalidFormat: '[u8;32]',
+ UnsupportedVersion: '[u8;32]',
+ ExecutedDownward: '([u8;32],XcmV3TraitsOutcome)'
}
},
/**
- * Lookup92: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup109: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1096,7 +1286,7 @@
},
ExecutedDownward: {
messageId: '[u8;32]',
- outcome: 'XcmV2TraitsOutcome',
+ outcome: 'XcmV3TraitsOutcome',
},
WeightExhausted: {
messageId: '[u8;32]',
@@ -1110,12 +1300,15 @@
},
OverweightServiced: {
overweightIndex: 'u64',
- weightUsed: 'SpWeightsWeightV2Weight'
+ weightUsed: 'SpWeightsWeightV2Weight',
+ },
+ MaxMessagesExhausted: {
+ messageId: '[u8;32]'
}
}
},
/**
- * Lookup93: pallet_configuration::pallet::Event<T>
+ * Lookup110: pallet_configuration::pallet::Event<T>
**/
PalletConfigurationEvent: {
_enum: {
@@ -1131,7 +1324,7 @@
}
},
/**
- * Lookup96: pallet_common::pallet::Event<T>
+ * Lookup113: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1160,7 +1353,7 @@
}
},
/**
- * Lookup99: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup116: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletEvmAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1169,7 +1362,7 @@
}
},
/**
- * Lookup103: pallet_structure::pallet::Event<T>
+ * Lookup119: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -1177,7 +1370,7 @@
}
},
/**
- * Lookup104: pallet_app_promotion::pallet::Event<T>
+ * Lookup120: pallet_app_promotion::pallet::Event<T>
**/
PalletAppPromotionEvent: {
_enum: {
@@ -1188,18 +1381,18 @@
}
},
/**
- * Lookup105: pallet_foreign_assets::module::Event<T>
+ * Lookup121: pallet_foreign_assets::module::Event<T>
**/
PalletForeignAssetsModuleEvent: {
_enum: {
ForeignAssetRegistered: {
assetId: 'u32',
- assetAddress: 'XcmV1MultiLocation',
+ assetAddress: 'XcmV3MultiLocation',
metadata: 'PalletForeignAssetsModuleAssetMetadata',
},
ForeignAssetUpdated: {
assetId: 'u32',
- assetAddress: 'XcmV1MultiLocation',
+ assetAddress: 'XcmV3MultiLocation',
metadata: 'PalletForeignAssetsModuleAssetMetadata',
},
AssetRegistered: {
@@ -1213,7 +1406,7 @@
}
},
/**
- * Lookup106: pallet_foreign_assets::module::AssetMetadata<Balance>
+ * Lookup122: pallet_foreign_assets::module::AssetMetadata<Balance>
**/
PalletForeignAssetsModuleAssetMetadata: {
name: 'Bytes',
@@ -1222,7 +1415,7 @@
minimalBalance: 'u128'
},
/**
- * Lookup107: pallet_evm::pallet::Event<T>
+ * Lookup125: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1244,7 +1437,7 @@
}
},
/**
- * Lookup108: ethereum::log::Log
+ * Lookup126: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1252,7 +1445,7 @@
data: 'Bytes'
},
/**
- * Lookup110: pallet_ethereum::pallet::Event
+ * Lookup128: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1265,7 +1458,7 @@
}
},
/**
- * Lookup111: evm_core::error::ExitReason
+ * Lookup129: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1276,13 +1469,13 @@
}
},
/**
- * Lookup112: evm_core::error::ExitSucceed
+ * Lookup130: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup113: evm_core::error::ExitError
+ * Lookup131: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1305,13 +1498,13 @@
}
},
/**
- * Lookup117: evm_core::error::ExitRevert
+ * Lookup135: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup118: evm_core::error::ExitFatal
+ * Lookup136: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1322,7 +1515,7 @@
}
},
/**
- * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>
+ * Lookup137: pallet_evm_contract_helpers::pallet::Event<T>
**/
PalletEvmContractHelpersEvent: {
_enum: {
@@ -1332,25 +1525,25 @@
}
},
/**
- * Lookup120: pallet_evm_migration::pallet::Event<T>
+ * Lookup138: pallet_evm_migration::pallet::Event<T>
**/
PalletEvmMigrationEvent: {
_enum: ['TestEvent']
},
/**
- * Lookup121: pallet_maintenance::pallet::Event<T>
+ * Lookup139: pallet_maintenance::pallet::Event<T>
**/
PalletMaintenanceEvent: {
_enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
},
/**
- * Lookup122: pallet_test_utils::pallet::Event<T>
+ * Lookup140: pallet_test_utils::pallet::Event<T>
**/
PalletTestUtilsEvent: {
_enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']
},
/**
- * Lookup123: frame_system::Phase
+ * Lookup141: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1360,14 +1553,14 @@
}
},
/**
- * Lookup126: frame_system::LastRuntimeUpgradeInfo
+ * Lookup144: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup127: frame_system::pallet::Call<T>
+ * Lookup145: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1402,7 +1595,7 @@
}
},
/**
- * Lookup131: frame_system::limits::BlockWeights
+ * Lookup149: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'SpWeightsWeightV2Weight',
@@ -1410,7 +1603,7 @@
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
},
/**
- * Lookup132: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup150: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1418,7 +1611,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup133: frame_system::limits::WeightsPerClass
+ * Lookup151: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'SpWeightsWeightV2Weight',
@@ -1427,13 +1620,13 @@
reserved: 'Option<SpWeightsWeightV2Weight>'
},
/**
- * Lookup135: frame_system::limits::BlockLength
+ * Lookup153: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportDispatchPerDispatchClassU32'
},
/**
- * Lookup136: frame_support::dispatch::PerDispatchClass<T>
+ * Lookup154: frame_support::dispatch::PerDispatchClass<T>
**/
FrameSupportDispatchPerDispatchClassU32: {
normal: 'u32',
@@ -1441,14 +1634,14 @@
mandatory: 'u32'
},
/**
- * Lookup137: sp_weights::RuntimeDbWeight
+ * Lookup155: sp_weights::RuntimeDbWeight
**/
SpWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup138: sp_version::RuntimeVersion
+ * Lookup156: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1461,13 +1654,13 @@
stateVersion: 'u8'
},
/**
- * Lookup143: frame_system::pallet::Error<T>
+ * Lookup161: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup144: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup162: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1476,19 +1669,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup147: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup165: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup148: sp_trie::storage_proof::StorageProof
+ * Lookup166: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup150: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup168: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1497,7 +1690,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup153: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup171: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1508,7 +1701,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup154: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup173: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1522,14 +1715,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup160: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup179: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup161: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup180: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1548,7 +1741,7 @@
}
},
/**
- * Lookup162: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup181: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1557,66 +1750,31 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup164: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup183: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup167: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup186: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup170: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup189: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup172: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
+ * Lookup190: parachain_info::pallet::Call<T>
**/
- PalletAuthorshipUncleEntryItem: {
- _enum: {
- InclusionHeight: 'u32',
- Uncle: '(H256,Option<AccountId32>)'
- }
- },
+ ParachainInfoCall: 'Null',
/**
- * Lookup174: pallet_authorship::pallet::Call<T>
- **/
- PalletAuthorshipCall: {
- _enum: {
- set_uncles: {
- newUncles: 'Vec<SpRuntimeHeader>'
- }
- }
- },
- /**
- * Lookup176: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
- **/
- SpRuntimeHeader: {
- parentHash: 'H256',
- number: 'Compact<u32>',
- stateRoot: 'H256',
- extrinsicsRoot: 'H256',
- digest: 'SpRuntimeDigest'
- },
- /**
- * Lookup177: sp_runtime::traits::BlakeTwo256
- **/
- SpRuntimeBlakeTwo256: 'Null',
- /**
- * Lookup178: pallet_authorship::pallet::Error<T>
- **/
- PalletAuthorshipError: {
- _enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
- },
- /**
- * Lookup181: pallet_collator_selection::pallet::Call<T>
+ * Lookup193: pallet_collator_selection::pallet::Call<T>
**/
PalletCollatorSelectionCall: {
_enum: {
@@ -1639,31 +1797,31 @@
}
},
/**
- * Lookup182: pallet_collator_selection::pallet::Error<T>
+ * Lookup194: pallet_collator_selection::pallet::Error<T>
**/
PalletCollatorSelectionError: {
_enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']
},
/**
- * Lookup185: opal_runtime::runtime_common::SessionKeys
+ * Lookup197: opal_runtime::runtime_common::SessionKeys
**/
OpalRuntimeRuntimeCommonSessionKeys: {
aura: 'SpConsensusAuraSr25519AppSr25519Public'
},
/**
- * Lookup186: sp_consensus_aura::sr25519::app_sr25519::Public
+ * Lookup198: sp_consensus_aura::sr25519::app_sr25519::Public
**/
SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
/**
- * Lookup187: sp_core::sr25519::Public
+ * Lookup199: sp_core::sr25519::Public
**/
SpCoreSr25519Public: '[u8;32]',
/**
- * Lookup190: sp_core::crypto::KeyTypeId
+ * Lookup202: sp_core::crypto::KeyTypeId
**/
SpCoreCryptoKeyTypeId: '[u8;4]',
/**
- * Lookup191: pallet_session::pallet::Call<T>
+ * Lookup203: pallet_session::pallet::Call<T>
**/
PalletSessionCall: {
_enum: {
@@ -1678,13 +1836,13 @@
}
},
/**
- * Lookup192: pallet_session::pallet::Error<T>
+ * Lookup204: pallet_session::pallet::Error<T>
**/
PalletSessionError: {
_enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
},
/**
- * Lookup194: pallet_balances::BalanceLock<Balance>
+ * Lookup209: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -1692,20 +1850,20 @@
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup195: pallet_balances::Reasons
+ * Lookup210: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup198: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup213: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup200: pallet_balances::pallet::Call<T, I>
+ * Lookup215: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1738,13 +1896,13 @@
}
},
/**
- * Lookup203: pallet_balances::pallet::Error<T, I>
+ * Lookup218: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup205: pallet_timestamp::pallet::Call<T>
+ * Lookup219: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1754,13 +1912,13 @@
}
},
/**
- * Lookup207: pallet_transaction_payment::Releases
+ * Lookup221: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup208: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup222: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1769,7 +1927,7 @@
bond: 'u128'
},
/**
- * Lookup210: pallet_treasury::pallet::Call<T, I>
+ * Lookup224: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1793,17 +1951,17 @@
}
},
/**
- * Lookup212: frame_support::PalletId
+ * Lookup226: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup213: pallet_treasury::pallet::Error<T, I>
+ * Lookup227: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup214: pallet_sudo::pallet::Call<T>
+ * Lookup228: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1827,7 +1985,7 @@
}
},
/**
- * Lookup216: orml_vesting::module::Call<T>
+ * Lookup230: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1846,7 +2004,7 @@
}
},
/**
- * Lookup218: orml_xtokens::module::Call<T>
+ * Lookup232: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1854,51 +2012,53 @@
currencyId: 'PalletForeignAssetsAssetIds',
amount: 'u128',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multiasset: {
asset: 'XcmVersionedMultiAsset',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_with_fee: {
currencyId: 'PalletForeignAssetsAssetIds',
amount: 'u128',
fee: 'u128',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multiasset_with_fee: {
asset: 'XcmVersionedMultiAsset',
fee: 'XcmVersionedMultiAsset',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multicurrencies: {
currencies: 'Vec<(PalletForeignAssetsAssetIds,u128)>',
feeItem: 'u32',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit',
+ destWeightLimit: 'XcmV3WeightLimit',
},
transfer_multiassets: {
assets: 'XcmVersionedMultiAssets',
feeItem: 'u32',
dest: 'XcmVersionedMultiLocation',
- destWeightLimit: 'XcmV2WeightLimit'
+ destWeightLimit: 'XcmV3WeightLimit'
}
}
},
/**
- * Lookup219: xcm::VersionedMultiAsset
+ * Lookup233: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
- V0: 'XcmV0MultiAsset',
- V1: 'XcmV1MultiAsset'
+ __Unused0: 'Null',
+ V2: 'XcmV2MultiAsset',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiAsset'
}
},
/**
- * Lookup222: orml_tokens::module::Call<T>
+ * Lookup236: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1932,7 +2092,7 @@
}
},
/**
- * Lookup223: pallet_identity::pallet::Call<T>
+ * Lookup237: pallet_identity::pallet::Call<T>
**/
PalletIdentityCall: {
_enum: {
@@ -2001,7 +2161,7 @@
}
},
/**
- * Lookup224: pallet_identity::types::IdentityInfo<FieldLimit>
+ * Lookup238: pallet_identity::types::IdentityInfo<FieldLimit>
**/
PalletIdentityIdentityInfo: {
additional: 'Vec<(Data,Data)>',
@@ -2015,7 +2175,7 @@
twitter: 'Data'
},
/**
- * Lookup260: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
+ * Lookup274: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
**/
PalletIdentityBitFlags: {
_bitLength: 64,
@@ -2029,13 +2189,13 @@
Twitter: 128
},
/**
- * Lookup261: pallet_identity::types::IdentityField
+ * Lookup275: pallet_identity::types::IdentityField
**/
PalletIdentityIdentityField: {
_enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter']
},
/**
- * Lookup262: pallet_identity::types::Judgement<Balance>
+ * Lookup276: pallet_identity::types::Judgement<Balance>
**/
PalletIdentityJudgement: {
_enum: {
@@ -2049,7 +2209,7 @@
}
},
/**
- * Lookup265: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
+ * Lookup279: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
**/
PalletIdentityRegistration: {
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
@@ -2057,7 +2217,7 @@
info: 'PalletIdentityIdentityInfo'
},
/**
- * Lookup273: pallet_preimage::pallet::Call<T>
+ * Lookup287: pallet_preimage::pallet::Call<T>
**/
PalletPreimageCall: {
_enum: {
@@ -2085,13 +2245,13 @@
}
},
/**
- * Lookup274: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup288: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
service_overweight: {
index: 'u64',
- weightLimit: 'u64',
+ weightLimit: 'SpWeightsWeightV2Weight',
},
suspend_xcm_execution: 'Null',
resume_xcm_execution: 'Null',
@@ -2117,24 +2277,24 @@
_alias: {
new_: 'new',
},
- new_: 'u64',
+ new_: 'SpWeightsWeightV2Weight',
},
update_weight_restrict_decay: {
_alias: {
new_: 'new',
},
- new_: 'u64',
+ new_: 'SpWeightsWeightV2Weight',
},
update_xcmp_max_individual_weight: {
_alias: {
new_: 'new',
},
- new_: 'u64'
+ new_: 'SpWeightsWeightV2Weight'
}
}
},
/**
- * Lookup275: pallet_xcm::pallet::Call<T>
+ * Lookup289: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -2156,10 +2316,10 @@
},
execute: {
message: 'XcmVersionedXcm',
- maxWeight: 'u64',
+ maxWeight: 'SpWeightsWeightV2Weight',
},
force_xcm_version: {
- location: 'XcmV1MultiLocation',
+ location: 'XcmV3MultiLocation',
xcmVersion: 'u32',
},
force_default_xcm_version: {
@@ -2176,60 +2336,57 @@
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
- weightLimit: 'XcmV2WeightLimit',
+ weightLimit: 'XcmV3WeightLimit',
},
limited_teleport_assets: {
dest: 'XcmVersionedMultiLocation',
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
- weightLimit: 'XcmV2WeightLimit'
+ weightLimit: 'XcmV3WeightLimit'
}
}
},
/**
- * Lookup276: xcm::VersionedXcm<RuntimeCall>
+ * Lookup290: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
- V0: 'XcmV0Xcm',
- V1: 'XcmV1Xcm',
- V2: 'XcmV2Xcm'
+ __Unused0: 'Null',
+ __Unused1: 'Null',
+ V2: 'XcmV2Xcm',
+ V3: 'XcmV3Xcm'
}
},
/**
- * Lookup277: xcm::v0::Xcm<RuntimeCall>
+ * Lookup291: xcm::v2::Xcm<RuntimeCall>
+ **/
+ XcmV2Xcm: 'Vec<XcmV2Instruction>',
+ /**
+ * Lookup293: xcm::v2::Instruction<RuntimeCall>
**/
- XcmV0Xcm: {
+ XcmV2Instruction: {
_enum: {
- WithdrawAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
- ReserveAssetDeposit: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
- TeleportAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
+ WithdrawAsset: 'XcmV2MultiassetMultiAssets',
+ ReserveAssetDeposited: 'XcmV2MultiassetMultiAssets',
+ ReceiveTeleportedAsset: 'XcmV2MultiassetMultiAssets',
QueryResponse: {
queryId: 'Compact<u64>',
- response: 'XcmV0Response',
+ response: 'XcmV2Response',
+ maxWeight: 'Compact<u64>',
},
TransferAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
+ assets: 'XcmV2MultiassetMultiAssets',
+ beneficiary: 'XcmV2MultiLocation',
},
TransferReserveAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssets',
+ dest: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'u64',
+ originType: 'XcmV2OriginKind',
+ requireWeightAtMost: 'Compact<u64>',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
@@ -2245,193 +2402,161 @@
sender: 'Compact<u32>',
recipient: 'Compact<u32>',
},
- RelayedFrom: {
- who: 'XcmV0MultiLocation',
- message: 'XcmV0Xcm'
- }
- }
- },
- /**
- * Lookup279: xcm::v0::order::Order<RuntimeCall>
- **/
- XcmV0Order: {
- _enum: {
- Null: 'Null',
+ ClearOrigin: 'Null',
+ DescendOrigin: 'XcmV2MultilocationJunctions',
+ ReportError: {
+ queryId: 'Compact<u64>',
+ dest: 'XcmV2MultiLocation',
+ maxResponseWeight: 'Compact<u64>',
+ },
DepositAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ maxAssets: 'Compact<u32>',
+ beneficiary: 'XcmV2MultiLocation',
},
DepositReserveAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ maxAssets: 'Compact<u32>',
+ dest: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
ExchangeAsset: {
- give: 'Vec<XcmV0MultiAsset>',
- receive: 'Vec<XcmV0MultiAsset>',
+ give: 'XcmV2MultiassetMultiAssetFilter',
+ receive: 'XcmV2MultiassetMultiAssets',
},
InitiateReserveWithdraw: {
- assets: 'Vec<XcmV0MultiAsset>',
- reserve: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ reserve: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
InitiateTeleport: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ dest: 'XcmV2MultiLocation',
+ xcm: 'XcmV2Xcm',
},
QueryHolding: {
queryId: 'Compact<u64>',
- dest: 'XcmV0MultiLocation',
- assets: 'Vec<XcmV0MultiAsset>',
+ dest: 'XcmV2MultiLocation',
+ assets: 'XcmV2MultiassetMultiAssetFilter',
+ maxResponseWeight: 'Compact<u64>',
},
BuyExecution: {
- fees: 'XcmV0MultiAsset',
- weight: 'u64',
- debt: 'u64',
- haltOnError: 'bool',
- xcm: 'Vec<XcmV0Xcm>'
- }
+ fees: 'XcmV2MultiAsset',
+ weightLimit: 'XcmV2WeightLimit',
+ },
+ RefundSurplus: 'Null',
+ SetErrorHandler: 'XcmV2Xcm',
+ SetAppendix: 'XcmV2Xcm',
+ ClearError: 'Null',
+ ClaimAsset: {
+ assets: 'XcmV2MultiassetMultiAssets',
+ ticket: 'XcmV2MultiLocation',
+ },
+ Trap: 'Compact<u64>',
+ SubscribeVersion: {
+ queryId: 'Compact<u64>',
+ maxResponseWeight: 'Compact<u64>',
+ },
+ UnsubscribeVersion: 'Null'
}
},
/**
- * Lookup281: xcm::v0::Response
+ * Lookup294: xcm::v2::Response
**/
- XcmV0Response: {
+ XcmV2Response: {
_enum: {
- Assets: 'Vec<XcmV0MultiAsset>'
+ Null: 'Null',
+ Assets: 'XcmV2MultiassetMultiAssets',
+ ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
+ Version: 'u32'
}
},
/**
- * Lookup282: xcm::v1::Xcm<RuntimeCall>
+ * Lookup297: xcm::v2::traits::Error
**/
- XcmV1Xcm: {
+ XcmV2TraitsError: {
_enum: {
- WithdrawAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- ReserveAssetDeposited: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- ReceiveTeleportedAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- QueryResponse: {
- queryId: 'Compact<u64>',
- response: 'XcmV1Response',
- },
- TransferAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- beneficiary: 'XcmV1MultiLocation',
- },
- TransferReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'u64',
- call: 'XcmDoubleEncoded',
- },
- HrmpNewChannelOpenRequest: {
- sender: 'Compact<u32>',
- maxMessageSize: 'Compact<u32>',
- maxCapacity: 'Compact<u32>',
- },
- HrmpChannelAccepted: {
- recipient: 'Compact<u32>',
- },
- HrmpChannelClosing: {
- initiator: 'Compact<u32>',
- sender: 'Compact<u32>',
- recipient: 'Compact<u32>',
- },
- RelayedFrom: {
- who: 'XcmV1MultilocationJunctions',
- message: 'XcmV1Xcm',
- },
- SubscribeVersion: {
- queryId: 'Compact<u64>',
- maxResponseWeight: 'Compact<u64>',
- },
- UnsubscribeVersion: 'Null'
+ Overflow: 'Null',
+ Unimplemented: 'Null',
+ UntrustedReserveLocation: 'Null',
+ UntrustedTeleportLocation: 'Null',
+ MultiLocationFull: 'Null',
+ MultiLocationNotInvertible: 'Null',
+ BadOrigin: 'Null',
+ InvalidLocation: 'Null',
+ AssetNotFound: 'Null',
+ FailedToTransactAsset: 'Null',
+ NotWithdrawable: 'Null',
+ LocationCannotHold: 'Null',
+ ExceedsMaxMessageSize: 'Null',
+ DestinationUnsupported: 'Null',
+ Transport: 'Null',
+ Unroutable: 'Null',
+ UnknownClaim: 'Null',
+ FailedToDecode: 'Null',
+ MaxWeightInvalid: 'Null',
+ NotHoldingFees: 'Null',
+ TooExpensive: 'Null',
+ Trap: 'u64',
+ UnhandledXcmVersion: 'Null',
+ WeightLimitReached: 'u64',
+ Barrier: 'Null',
+ WeightNotComputable: 'Null'
}
},
/**
- * Lookup284: xcm::v1::order::Order<RuntimeCall>
+ * Lookup298: xcm::v2::multiasset::MultiAssetFilter
**/
- XcmV1Order: {
+ XcmV2MultiassetMultiAssetFilter: {
_enum: {
- Noop: 'Null',
- DepositAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'u32',
- beneficiary: 'XcmV1MultiLocation',
- },
- DepositReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'u32',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- ExchangeAsset: {
- give: 'XcmV1MultiassetMultiAssetFilter',
- receive: 'XcmV1MultiassetMultiAssets',
- },
- InitiateReserveWithdraw: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- reserve: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- InitiateTeleport: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- assets: 'XcmV1MultiassetMultiAssetFilter',
- },
- BuyExecution: {
- fees: 'XcmV1MultiAsset',
- weight: 'u64',
- debt: 'u64',
- haltOnError: 'bool',
- instructions: 'Vec<XcmV1Xcm>'
+ Definite: 'XcmV2MultiassetMultiAssets',
+ Wild: 'XcmV2MultiassetWildMultiAsset'
+ }
+ },
+ /**
+ * Lookup299: xcm::v2::multiasset::WildMultiAsset
+ **/
+ XcmV2MultiassetWildMultiAsset: {
+ _enum: {
+ All: 'Null',
+ AllOf: {
+ id: 'XcmV2MultiassetAssetId',
+ fun: 'XcmV2MultiassetWildFungibility'
}
}
},
/**
- * Lookup286: xcm::v1::Response
+ * Lookup300: xcm::v2::multiasset::WildFungibility
+ **/
+ XcmV2MultiassetWildFungibility: {
+ _enum: ['Fungible', 'NonFungible']
+ },
+ /**
+ * Lookup301: xcm::v2::WeightLimit
**/
- XcmV1Response: {
+ XcmV2WeightLimit: {
_enum: {
- Assets: 'XcmV1MultiassetMultiAssets',
- Version: 'u32'
+ Unlimited: 'Null',
+ Limited: 'Compact<u64>'
}
},
/**
- * Lookup300: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup310: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup301: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup311: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
service_overweight: {
index: 'u64',
- weightLimit: 'u64'
+ weightLimit: 'SpWeightsWeightV2Weight'
}
}
},
/**
- * Lookup302: pallet_inflation::pallet::Call<T>
+ * Lookup312: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2441,7 +2566,7 @@
}
},
/**
- * Lookup303: pallet_unique::Call<T>
+ * Lookup313: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2592,7 +2717,7 @@
}
},
/**
- * Lookup308: up_data_structs::CollectionMode
+ * Lookup318: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2602,7 +2727,7 @@
}
},
/**
- * Lookup309: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup319: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2617,13 +2742,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup311: up_data_structs::AccessMode
+ * Lookup321: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup313: up_data_structs::CollectionLimits
+ * Lookup323: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2637,7 +2762,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup315: up_data_structs::SponsoringRateLimit
+ * Lookup325: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2646,7 +2771,7 @@
}
},
/**
- * Lookup318: up_data_structs::CollectionPermissions
+ * Lookup328: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2654,7 +2779,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup320: up_data_structs::NestingPermissions
+ * Lookup330: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2662,18 +2787,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup322: up_data_structs::OwnerRestrictedSet
+ * Lookup332: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup327: up_data_structs::PropertyKeyPermission
+ * Lookup337: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup328: up_data_structs::PropertyPermission
+ * Lookup338: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2681,14 +2806,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup331: up_data_structs::Property
+ * Lookup341: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup334: up_data_structs::CreateItemData
+ * Lookup344: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2698,26 +2823,26 @@
}
},
/**
- * Lookup335: up_data_structs::CreateNftData
+ * Lookup345: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup336: up_data_structs::CreateFungibleData
+ * Lookup346: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup337: up_data_structs::CreateReFungibleData
+ * Lookup347: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup340: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup350: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2728,14 +2853,14 @@
}
},
/**
- * Lookup342: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup352: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup349: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup359: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2743,14 +2868,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup351: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup361: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup352: pallet_configuration::pallet::Call<T>
+ * Lookup362: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2760,9 +2885,7 @@
set_min_gas_price_override: {
coeff: 'Option<u64>',
},
- set_xcm_allowed_locations: {
- locations: 'Option<Vec<XcmV1MultiLocation>>',
- },
+ __Unused2: 'Null',
set_app_promotion_configuration_override: {
configuration: 'PalletConfigurationAppPromotionConfiguration',
},
@@ -2778,7 +2901,7 @@
}
},
/**
- * Lookup357: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup364: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2787,15 +2910,15 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup361: pallet_template_transaction_payment::Call<T>
+ * Lookup368: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup362: pallet_structure::pallet::Call<T>
+ * Lookup369: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup363: pallet_app_promotion::pallet::Call<T>
+ * Lookup370: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -2827,7 +2950,7 @@
}
},
/**
- * Lookup364: pallet_foreign_assets::module::Call<T>
+ * Lookup371: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2844,7 +2967,7 @@
}
},
/**
- * Lookup365: pallet_evm::pallet::Call<T>
+ * Lookup372: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2887,7 +3010,7 @@
}
},
/**
- * Lookup371: pallet_ethereum::pallet::Call<T>
+ * Lookup378: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2897,7 +3020,7 @@
}
},
/**
- * Lookup372: ethereum::transaction::TransactionV2
+ * Lookup379: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2907,7 +3030,7 @@
}
},
/**
- * Lookup373: ethereum::transaction::LegacyTransaction
+ * Lookup380: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2919,7 +3042,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup374: ethereum::transaction::TransactionAction
+ * Lookup381: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2928,7 +3051,7 @@
}
},
/**
- * Lookup375: ethereum::transaction::TransactionSignature
+ * Lookup382: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2936,7 +3059,7 @@
s: 'H256'
},
/**
- * Lookup377: ethereum::transaction::EIP2930Transaction
+ * Lookup384: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -2952,14 +3075,14 @@
s: 'H256'
},
/**
- * Lookup379: ethereum::transaction::AccessListItem
+ * Lookup386: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup380: ethereum::transaction::EIP1559Transaction
+ * Lookup387: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -2976,7 +3099,23 @@
s: 'H256'
},
/**
- * Lookup381: pallet_evm_migration::pallet::Call<T>
+ * Lookup388: pallet_evm_coder_substrate::pallet::Call<T>
+ **/
+ PalletEvmCoderSubstrateCall: {
+ _enum: ['empty_call']
+ },
+ /**
+ * Lookup389: pallet_evm_contract_helpers::pallet::Call<T>
+ **/
+ PalletEvmContractHelpersCall: {
+ _enum: {
+ migrate_from_self_sponsoring: {
+ addresses: 'Vec<H160>'
+ }
+ }
+ },
+ /**
+ * Lookup391: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -3001,7 +3140,7 @@
}
},
/**
- * Lookup385: pallet_maintenance::pallet::Call<T>
+ * Lookup395: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: {
@@ -3017,7 +3156,7 @@
}
},
/**
- * Lookup386: pallet_test_utils::pallet::Call<T>
+ * Lookup396: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -3036,32 +3175,32 @@
}
},
/**
- * Lookup388: pallet_sudo::pallet::Error<T>
+ * Lookup398: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup390: orml_vesting::module::Error<T>
+ * Lookup400: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup391: orml_xtokens::module::Error<T>
+ * Lookup401: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup394: orml_tokens::BalanceLock<Balance>
+ * Lookup404: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup396: orml_tokens::AccountData<Balance>
+ * Lookup406: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -3069,20 +3208,20 @@
frozen: 'u128'
},
/**
- * Lookup398: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup408: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup400: orml_tokens::module::Error<T>
+ * Lookup410: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup405: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
+ * Lookup415: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
**/
PalletIdentityRegistrarInfo: {
account: 'AccountId32',
@@ -3090,13 +3229,13 @@
fields: 'PalletIdentityBitFlags'
},
/**
- * Lookup407: pallet_identity::pallet::Error<T>
+ * Lookup417: pallet_identity::pallet::Error<T>
**/
PalletIdentityError: {
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']
},
/**
- * Lookup408: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
+ * Lookup418: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
**/
PalletPreimageRequestStatus: {
_enum: {
@@ -3112,13 +3251,13 @@
}
},
/**
- * Lookup413: pallet_preimage::pallet::Error<T>
+ * Lookup423: pallet_preimage::pallet::Error<T>
**/
PalletPreimageError: {
_enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']
},
/**
- * Lookup415: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup425: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -3126,19 +3265,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup416: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup426: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup419: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup429: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup422: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup432: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -3148,13 +3287,13 @@
lastIndex: 'u16'
},
/**
- * Lookup423: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup433: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup425: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup435: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3165,29 +3304,92 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup427: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup437: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup428: pallet_xcm::pallet::Error<T>
+ * Lookup438: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
+ PalletXcmQueryStatus: {
+ _enum: {
+ Pending: {
+ responder: 'XcmVersionedMultiLocation',
+ maybeMatchQuerier: 'Option<XcmVersionedMultiLocation>',
+ maybeNotify: 'Option<(u8,u8)>',
+ timeout: 'u32',
+ },
+ VersionNotifier: {
+ origin: 'XcmVersionedMultiLocation',
+ isActive: 'bool',
+ },
+ Ready: {
+ response: 'XcmVersionedResponse',
+ at: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup442: xcm::VersionedResponse
+ **/
+ XcmVersionedResponse: {
+ _enum: {
+ __Unused0: 'Null',
+ __Unused1: 'Null',
+ V2: 'XcmV2Response',
+ V3: 'XcmV3Response'
+ }
+ },
+ /**
+ * Lookup448: pallet_xcm::pallet::VersionMigrationStage
+ **/
+ PalletXcmVersionMigrationStage: {
+ _enum: {
+ MigrateSupportedVersion: 'Null',
+ MigrateVersionNotifiers: 'Null',
+ NotifyCurrentTargets: 'Option<Bytes>',
+ MigrateAndNotifyOldTargets: 'Null'
+ }
+ },
+ /**
+ * Lookup451: xcm::VersionedAssetId
+ **/
+ XcmVersionedAssetId: {
+ _enum: {
+ __Unused0: 'Null',
+ __Unused1: 'Null',
+ __Unused2: 'Null',
+ V3: 'XcmV3MultiassetAssetId'
+ }
+ },
+ /**
+ * Lookup452: pallet_xcm::pallet::RemoteLockedFungibleRecord
+ **/
+ PalletXcmRemoteLockedFungibleRecord: {
+ amount: 'u128',
+ owner: 'XcmVersionedMultiLocation',
+ locker: 'XcmVersionedMultiLocation',
+ users: 'u32'
+ },
+ /**
+ * Lookup456: pallet_xcm::pallet::Error<T>
+ **/
PalletXcmError: {
- _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
+ _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'InvalidAsset', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse']
},
/**
- * Lookup429: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup457: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup430: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup458: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup431: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup459: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3195,25 +3397,25 @@
overweightCount: 'u64'
},
/**
- * Lookup434: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup462: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup438: pallet_unique::Error<T>
+ * Lookup466: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup439: pallet_configuration::pallet::Error<T>
+ * Lookup467: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup440: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup468: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3227,7 +3429,7 @@
flags: '[u8;1]'
},
/**
- * Lookup441: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup469: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3237,23 +3439,23 @@
}
},
/**
- * Lookup442: up_data_structs::Properties
+ * Lookup470: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
consumedSpace: 'u32',
- spaceLimit: 'u32'
+ reserved: 'u32'
},
/**
- * Lookup443: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup471: up_data_structs::PropertiesMap<bounded_collections::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup448: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup476: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup455: up_data_structs::CollectionStats
+ * Lookup483: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3261,18 +3463,18 @@
alive: 'u32'
},
/**
- * Lookup456: up_data_structs::TokenChild
+ * Lookup484: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup457: PhantomType::up_data_structs<T>
+ * Lookup485: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]',
/**
- * Lookup459: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup487: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3280,7 +3482,7 @@
pieces: 'u128'
},
/**
- * Lookup461: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup489: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3297,14 +3499,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup462: up_data_structs::RpcCollectionFlags
+ * Lookup490: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup463: up_pov_estimate_rpc::PovInfo
+ * Lookup491: up_pov_estimate_rpc::PovInfo
**/
UpPovEstimateRpcPovInfo: {
proofSize: 'u64',
@@ -3314,7 +3516,7 @@
keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'
},
/**
- * Lookup466: sp_runtime::transaction_validity::TransactionValidityError
+ * Lookup494: sp_runtime::transaction_validity::TransactionValidityError
**/
SpRuntimeTransactionValidityTransactionValidityError: {
_enum: {
@@ -3323,7 +3525,7 @@
}
},
/**
- * Lookup467: sp_runtime::transaction_validity::InvalidTransaction
+ * Lookup495: sp_runtime::transaction_validity::InvalidTransaction
**/
SpRuntimeTransactionValidityInvalidTransaction: {
_enum: {
@@ -3341,7 +3543,7 @@
}
},
/**
- * Lookup468: sp_runtime::transaction_validity::UnknownTransaction
+ * Lookup496: sp_runtime::transaction_validity::UnknownTransaction
**/
SpRuntimeTransactionValidityUnknownTransaction: {
_enum: {
@@ -3351,74 +3553,74 @@
}
},
/**
- * Lookup470: up_pov_estimate_rpc::TrieKeyValue
+ * Lookup498: up_pov_estimate_rpc::TrieKeyValue
**/
UpPovEstimateRpcTrieKeyValue: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup472: pallet_common::pallet::Error<T>
+ * Lookup500: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup474: pallet_fungible::pallet::Error<T>
+ * Lookup502: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup478: pallet_refungible::pallet::Error<T>
+ * Lookup507: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup479: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup508: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup481: up_data_structs::PropertyScope
+ * Lookup510: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup484: pallet_nonfungible::pallet::Error<T>
+ * Lookup513: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup485: pallet_structure::pallet::Error<T>
+ * Lookup514: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection']
},
/**
- * Lookup490: pallet_app_promotion::pallet::Error<T>
+ * Lookup519: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation', 'InsufficientStakedBalance']
},
/**
- * Lookup491: pallet_foreign_assets::module::Error<T>
+ * Lookup520: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup493: pallet_evm::pallet::Error<T>
+ * Lookup522: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
},
/**
- * Lookup496: fp_rpc::TransactionStatus
+ * Lookup525: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3430,11 +3632,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup498: ethbloom::Bloom
+ * Lookup527: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup500: ethereum::receipt::ReceiptV3
+ * Lookup529: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3444,7 +3646,7 @@
}
},
/**
- * Lookup501: ethereum::receipt::EIP658ReceiptData
+ * Lookup530: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3453,7 +3655,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup502: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup531: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3461,7 +3663,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup503: ethereum::header::Header
+ * Lookup532: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3481,23 +3683,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup504: ethereum_types::hash::H64
+ * Lookup533: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup509: pallet_ethereum::pallet::Error<T>
+ * Lookup538: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup510: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup539: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup511: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup540: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3507,35 +3709,35 @@
}
},
/**
- * Lookup512: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup541: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup518: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup547: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup519: pallet_evm_migration::pallet::Error<T>
+ * Lookup548: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup520: pallet_maintenance::pallet::Error<T>
+ * Lookup549: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup521: pallet_test_utils::pallet::Error<T>
+ * Lookup550: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup523: sp_runtime::MultiSignature
+ * Lookup552: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3545,55 +3747,55 @@
}
},
/**
- * Lookup524: sp_core::ed25519::Signature
+ * Lookup553: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup526: sp_core::sr25519::Signature
+ * Lookup555: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup527: sp_core::ecdsa::Signature
+ * Lookup556: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup530: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup559: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup531: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup560: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup532: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup561: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup535: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup564: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup536: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup565: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup537: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup566: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup538: opal_runtime::runtime_common::identity::DisableIdentityCalls
+ * Lookup567: opal_runtime::runtime_common::identity::DisableIdentityCalls
**/
OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',
/**
- * Lookup539: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup568: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup540: opal_runtime::Runtime
+ * Lookup569: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup541: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup570: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/povinfo/index.tsdiffbeforeafterboth--- a/tests/src/interfaces/povinfo/index.ts
+++ b/tests/src/interfaces/povinfo/index.ts
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-export * from './types';
+export * from './types.js';
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -93,9 +93,6 @@
PalletAppPromotionCall: PalletAppPromotionCall;
PalletAppPromotionError: PalletAppPromotionError;
PalletAppPromotionEvent: PalletAppPromotionEvent;
- PalletAuthorshipCall: PalletAuthorshipCall;
- PalletAuthorshipError: PalletAuthorshipError;
- PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
@@ -118,7 +115,9 @@
PalletEthereumFakeTransactionFinalizer: PalletEthereumFakeTransactionFinalizer;
PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;
PalletEvmCall: PalletEvmCall;
+ PalletEvmCoderSubstrateCall: PalletEvmCoderSubstrateCall;
PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;
+ PalletEvmContractHelpersCall: PalletEvmContractHelpersCall;
PalletEvmContractHelpersError: PalletEvmContractHelpersError;
PalletEvmContractHelpersEvent: PalletEvmContractHelpersEvent;
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
@@ -180,6 +179,10 @@
PalletXcmCall: PalletXcmCall;
PalletXcmError: PalletXcmError;
PalletXcmEvent: PalletXcmEvent;
+ PalletXcmQueryStatus: PalletXcmQueryStatus;
+ PalletXcmRemoteLockedFungibleRecord: PalletXcmRemoteLockedFungibleRecord;
+ PalletXcmVersionMigrationStage: PalletXcmVersionMigrationStage;
+ ParachainInfoCall: ParachainInfoCall;
PhantomTypeUpDataStructs: PhantomTypeUpDataStructs;
PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage;
PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage;
@@ -196,11 +199,9 @@
SpCoreEd25519Signature: SpCoreEd25519Signature;
SpCoreSr25519Public: SpCoreSr25519Public;
SpCoreSr25519Signature: SpCoreSr25519Signature;
- SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
- SpRuntimeHeader: SpRuntimeHeader;
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
@@ -246,39 +247,54 @@
UpPovEstimateRpcPovInfo: UpPovEstimateRpcPovInfo;
UpPovEstimateRpcTrieKeyValue: UpPovEstimateRpcTrieKeyValue;
XcmDoubleEncoded: XcmDoubleEncoded;
- XcmV0Junction: XcmV0Junction;
- XcmV0JunctionBodyId: XcmV0JunctionBodyId;
- XcmV0JunctionBodyPart: XcmV0JunctionBodyPart;
- XcmV0JunctionNetworkId: XcmV0JunctionNetworkId;
- XcmV0MultiAsset: XcmV0MultiAsset;
- XcmV0MultiLocation: XcmV0MultiLocation;
- XcmV0Order: XcmV0Order;
- XcmV0OriginKind: XcmV0OriginKind;
- XcmV0Response: XcmV0Response;
- XcmV0Xcm: XcmV0Xcm;
- XcmV1Junction: XcmV1Junction;
- XcmV1MultiAsset: XcmV1MultiAsset;
- XcmV1MultiLocation: XcmV1MultiLocation;
- XcmV1MultiassetAssetId: XcmV1MultiassetAssetId;
- XcmV1MultiassetAssetInstance: XcmV1MultiassetAssetInstance;
- XcmV1MultiassetFungibility: XcmV1MultiassetFungibility;
- XcmV1MultiassetMultiAssetFilter: XcmV1MultiassetMultiAssetFilter;
- XcmV1MultiassetMultiAssets: XcmV1MultiassetMultiAssets;
- XcmV1MultiassetWildFungibility: XcmV1MultiassetWildFungibility;
- XcmV1MultiassetWildMultiAsset: XcmV1MultiassetWildMultiAsset;
- XcmV1MultilocationJunctions: XcmV1MultilocationJunctions;
- XcmV1Order: XcmV1Order;
- XcmV1Response: XcmV1Response;
- XcmV1Xcm: XcmV1Xcm;
+ XcmV2BodyId: XcmV2BodyId;
+ XcmV2BodyPart: XcmV2BodyPart;
XcmV2Instruction: XcmV2Instruction;
+ XcmV2Junction: XcmV2Junction;
+ XcmV2MultiAsset: XcmV2MultiAsset;
+ XcmV2MultiLocation: XcmV2MultiLocation;
+ XcmV2MultiassetAssetId: XcmV2MultiassetAssetId;
+ XcmV2MultiassetAssetInstance: XcmV2MultiassetAssetInstance;
+ XcmV2MultiassetFungibility: XcmV2MultiassetFungibility;
+ XcmV2MultiassetMultiAssetFilter: XcmV2MultiassetMultiAssetFilter;
+ XcmV2MultiassetMultiAssets: XcmV2MultiassetMultiAssets;
+ XcmV2MultiassetWildFungibility: XcmV2MultiassetWildFungibility;
+ XcmV2MultiassetWildMultiAsset: XcmV2MultiassetWildMultiAsset;
+ XcmV2MultilocationJunctions: XcmV2MultilocationJunctions;
+ XcmV2NetworkId: XcmV2NetworkId;
+ XcmV2OriginKind: XcmV2OriginKind;
XcmV2Response: XcmV2Response;
XcmV2TraitsError: XcmV2TraitsError;
- XcmV2TraitsOutcome: XcmV2TraitsOutcome;
XcmV2WeightLimit: XcmV2WeightLimit;
XcmV2Xcm: XcmV2Xcm;
+ XcmV3Instruction: XcmV3Instruction;
+ XcmV3Junction: XcmV3Junction;
+ XcmV3JunctionBodyId: XcmV3JunctionBodyId;
+ XcmV3JunctionBodyPart: XcmV3JunctionBodyPart;
+ XcmV3JunctionNetworkId: XcmV3JunctionNetworkId;
+ XcmV3Junctions: XcmV3Junctions;
+ XcmV3MaybeErrorCode: XcmV3MaybeErrorCode;
+ XcmV3MultiAsset: XcmV3MultiAsset;
+ XcmV3MultiLocation: XcmV3MultiLocation;
+ XcmV3MultiassetAssetId: XcmV3MultiassetAssetId;
+ XcmV3MultiassetAssetInstance: XcmV3MultiassetAssetInstance;
+ XcmV3MultiassetFungibility: XcmV3MultiassetFungibility;
+ XcmV3MultiassetMultiAssetFilter: XcmV3MultiassetMultiAssetFilter;
+ XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets;
+ XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility;
+ XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset;
+ XcmV3PalletInfo: XcmV3PalletInfo;
+ XcmV3QueryResponseInfo: XcmV3QueryResponseInfo;
+ XcmV3Response: XcmV3Response;
+ XcmV3TraitsError: XcmV3TraitsError;
+ XcmV3TraitsOutcome: XcmV3TraitsOutcome;
+ XcmV3WeightLimit: XcmV3WeightLimit;
+ XcmV3Xcm: XcmV3Xcm;
+ XcmVersionedAssetId: XcmVersionedAssetId;
XcmVersionedMultiAsset: XcmVersionedMultiAsset;
XcmVersionedMultiAssets: XcmVersionedMultiAssets;
XcmVersionedMultiLocation: XcmVersionedMultiLocation;
+ XcmVersionedResponse: XcmVersionedResponse;
XcmVersionedXcm: XcmVersionedXcm;
} // InterfaceTypes
} // declare module
tests/src/interfaces/types-lookup.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();
});
});