difftreelog
refactor Rename module in extrinsic
in: master
13 files changed
primitives/app_promotion_rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/app_promotion_rpc/src/lib.rs
+++ b/primitives/app_promotion_rpc/src/lib.rs
@@ -16,11 +16,6 @@
#![cfg_attr(not(feature = "std"), no_std)]
-use up_data_structs::{
- CollectionId, TokenId, RpcCollection, CollectionStats, CollectionLimits, Property,
- PropertyKeyPermission, TokenData, TokenChild,
-};
-
use sp_std::vec::Vec;
use codec::Decode;
use sp_runtime::{
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -78,7 +78,7 @@
RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,
#[runtimes(opal)]
- Promotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,
+ AppPromotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,
tests/src/app-promotion.test.tsdiffbeforeafterboth--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -38,29 +38,20 @@
const palletAddress = calculatePalleteAddress('appstake');
let accounts: IKeyringPair[] = [];
-before(async function () {
- await usingPlaygrounds(async (helper, privateKeyWrapper) => {
- if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();
- alice = privateKeyWrapper('//Alice');
- palletAdmin = privateKeyWrapper('//Charlie'); // TODO use custom address
- await helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress({Substrate: palletAdmin.address})));
- nominal = helper.balance.getOneTokenNominal();
- await helper.balance.transferToSubstrate(alice, palletAdmin.address, 1000n * nominal);
- await helper.balance.transferToSubstrate(alice, palletAddress, 1000n * nominal);
- if (!promotionStartBlock) {
- promotionStartBlock = (await helper.api!.query.parachainSystem.lastRelayChainBlockNumber()).toNumber();
- }
- await helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.startAppPromotion(promotionStartBlock!)));
- accounts = await helper.arrange.createCrowd(100, 1000n, alice); // create accounts-pool to speed up tests
- });
-});
-
-after(async function () {
- await usingPlaygrounds(async (helper) => {
+describe('app-promotions.stake extrinsic', () => {
+ before(async function () {
+ await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();
+ alice = privateKeyWrapper('//Alice');
+ palletAdmin = privateKeyWrapper('//Charlie'); // TODO use custom address
+ await helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress({Substrate: palletAdmin.address})));
+ nominal = helper.balance.getOneTokenNominal();
+ await helper.balance.transferToSubstrate(alice, palletAdmin.address, 1000n * nominal);
+ await helper.balance.transferToSubstrate(alice, palletAddress, 1000n * nominal);
+ accounts = await helper.arrange.createCrowd(100, 1000n, alice); // create accounts-pool to speed up tests
+ });
});
-});
-describe('app-promotions.stake extrinsic', () => {
it('should "lock" staking balance, add it to "staked" map, and increase "totalStaked" amount', async () => {
await usingPlaygrounds(async (helper) => {
const [staker, recepient] = [accounts.pop()!, accounts.pop()!];
@@ -264,11 +255,11 @@
await usingPlaygrounds(async (helper) => {
const nonAdmin = accounts.pop()!;
// nonAdmin can not set admin not from himself nor as a sudo
- await expect(helper.signTransaction(nonAdmin, helper.api!.tx.promotion.setAdminAddress({Substrate: nonAdmin.address}))).to.be.eventually.rejected;
- await expect(helper.signTransaction(nonAdmin, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress({Substrate: nonAdmin.address})))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(nonAdmin, helper.api!.tx.appPromotion.setAdminAddress({Substrate: nonAdmin.address}))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(nonAdmin, helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress({Substrate: nonAdmin.address})))).to.be.eventually.rejected;
// Alice can
- await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress({Substrate: palletAdmin.address})))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress({Substrate: palletAdmin.address})))).to.be.eventually.fulfilled;
});
});
@@ -279,12 +270,12 @@
const account = accounts.pop()!;
const ethAccount = helper.address.substrateToEth(account.address);
// Alice sets Ethereum address as a sudo. Then Substrate address back...
- await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress({Ethereum: ethAccount})))).to.be.eventually.fulfilled;
- await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress({Substrate: palletAdmin.address})))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress({Ethereum: ethAccount})))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress({Substrate: palletAdmin.address})))).to.be.eventually.fulfilled;
// ...It doesn't break anything;
const collection = await helper.nft.mintCollection(account, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
- await expect(helper.signTransaction(account, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(account, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
});
});
@@ -293,11 +284,11 @@
const [oldAdmin, newAdmin, collectionOwner] = [accounts.pop()!, accounts.pop()!, accounts.pop()!];
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
- await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(oldAdmin))))).to.be.eventually.fulfilled;
- await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(newAdmin))))).to.be.eventually.fulfilled;
- await expect(helper.signTransaction(oldAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress(normalizeAccountId(oldAdmin))))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress(normalizeAccountId(newAdmin))))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(oldAdmin, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
- await expect(helper.signTransaction(newAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(newAdmin, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;
});
});
});
@@ -305,7 +296,7 @@
describe('App-promotion collection sponsoring', () => {
before(async function () {
await usingPlaygrounds(async (helper) => {
- const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress({Substrate: palletAdmin.address}));
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.appPromotion.setAdminAddress({Substrate: palletAdmin.address}));
await helper.signTransaction(alice, tx);
});
});
@@ -315,7 +306,7 @@
const [collectionOwner, tokenSender, receiver] = [accounts.pop()!, accounts.pop()!, accounts.pop()!];
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'Name', description: 'Description', tokenPrefix: 'Prefix', limits: {sponsorTransferTimeout: 0}});
const token = await collection.mintToken(collectionOwner, {Substrate: tokenSender.address});
- await helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId));
+ await helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId));
const palletBalanceBefore = await helper.balance.getSubstrate(palletAddress);
await token.transfer(tokenSender, {Substrate: receiver.address});
@@ -334,7 +325,7 @@
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
- await expect(helper.signTransaction(nonAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(nonAdmin, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
expect((await collection.getData())?.raw.sponsorship).to.equal('Disabled');
});
});
@@ -345,19 +336,19 @@
// Can set sponsoring for collection without sponsor
const collectionWithoutSponsor = await helper.nft.mintCollection(collectionOwner, {name: 'No-sponsor', description: 'New Collection', tokenPrefix: 'Promotion'});
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionWithoutSponsor.collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collectionWithoutSponsor.collectionId))).to.be.eventually.fulfilled;
expect((await collectionWithoutSponsor.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: palletAddress});
// Can set sponsoring for collection with unconfirmed sponsor
const collectionWithUnconfirmedSponsor = await helper.nft.mintCollection(collectionOwner, {name: 'Unconfirmed', description: 'New Collection', tokenPrefix: 'Promotion', pendingSponsor: oldSponsor.address});
expect((await collectionWithUnconfirmedSponsor.getData())?.raw.sponsorship).to.be.deep.equal({Unconfirmed: oldSponsor.address});
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionWithUnconfirmedSponsor.collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collectionWithUnconfirmedSponsor.collectionId))).to.be.eventually.fulfilled;
expect((await collectionWithUnconfirmedSponsor.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: palletAddress});
// Can set sponsoring for collection with confirmed sponsor
const collectionWithConfirmedSponsor = await helper.nft.mintCollection(collectionOwner, {name: 'Confirmed', description: 'New Collection', tokenPrefix: 'Promotion', pendingSponsor: oldSponsor.address});
await collectionWithConfirmedSponsor.confirmSponsorship(oldSponsor);
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionWithConfirmedSponsor.collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collectionWithConfirmedSponsor.collectionId))).to.be.eventually.fulfilled;
expect((await collectionWithConfirmedSponsor.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: palletAddress});
});
});
@@ -368,7 +359,7 @@
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
const collectionId = collection.collectionId;
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
// Collection limits still can be changed by the owner
expect(await collection.setLimits(collectionOwner, {sponsorTransferTimeout: 0})).to.be.true;
@@ -386,7 +377,7 @@
const limits = {ownerCanDestroy: true, ownerCanTransfer: true, sponsorTransferTimeout: 0};
const collectionWithLimits = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion', limits});
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionWithLimits.collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collectionWithLimits.collectionId))).to.be.eventually.fulfilled;
expect((await collectionWithLimits.getData())?.raw.limits).to.be.deep.contain(limits);
});
});
@@ -396,12 +387,12 @@
const collectionOwner = accounts.pop()!;
// collection has never existed
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(999999999))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(999999999))).to.be.eventually.rejected;
// collection has been burned
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
await collection.burn(collectionOwner);
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
});
});
});
@@ -412,9 +403,9 @@
const [collectionOwner, nonAdmin] = [accounts.pop()!, accounts.pop()!];
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;
- await expect(helper.signTransaction(nonAdmin, helper.api!.tx.promotion.stopSponsoringCollection(collection.collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(nonAdmin, helper.api!.tx.appPromotion.stopSponsoringCollection(collection.collectionId))).to.be.eventually.rejected;
expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: palletAddress});
});
});
@@ -425,8 +416,8 @@
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion', limits: {sponsorTransferTimeout: 0}});
const token = await collection.mintToken(collectionOwner, {Substrate: collectionOwner.address});
- await helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId));
- await helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsoringCollection(collection.collectionId));
+ await helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.sponsorCollection(collection.collectionId));
+ await helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.stopSponsoringCollection(collection.collectionId));
expect((await collection.getData())?.raw.sponsorship).to.be.equal('Disabled');
@@ -444,7 +435,7 @@
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion', pendingSponsor: collectionOwner.address});
await collection.confirmSponsorship(collectionOwner);
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsoringCollection(collection.collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.stopSponsoringCollection(collection.collectionId))).to.be.eventually.rejected;
expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: collectionOwner.address});
});
@@ -456,8 +447,8 @@
const collection = await helper.nft.mintCollection(collectionOwner, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
await collection.burn(collectionOwner);
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsoringCollection(collection.collectionId))).to.be.eventually.rejected;
- await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsoringCollection(999999999))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.stopSponsoringCollection(collection.collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.stopSponsoringCollection(999999999))).to.be.eventually.rejected;
});
});
});
@@ -469,7 +460,7 @@
const flipper = await deployFlipper(web3, contractOwner);
const contractMethods = contractHelpers(web3, contractOwner);
- await helper.signTransaction(palletAdmin, api.tx.promotion.sponsorConract(flipper.options.address));
+ await helper.signTransaction(palletAdmin, api.tx.appPromotion.sponsorConract(flipper.options.address));
expect(await contractMethods.methods.hasSponsor(flipper.options.address).call()).to.be.true;
expect((await api.query.evmContractHelpers.owner(flipper.options.address)).toJSON()).to.be.equal(contractOwner);
@@ -497,7 +488,7 @@
});
// set promotion sponsoring
- await helper.signTransaction(palletAdmin, api.tx.promotion.sponsorConract(flipper.options.address));
+ await helper.signTransaction(palletAdmin, api.tx.appPromotion.sponsorConract(flipper.options.address));
// new sponsor is pallet address
expect(await contractMethods.methods.hasSponsor(flipper.options.address).call()).to.be.true;
@@ -517,7 +508,7 @@
const contractMethods = contractHelpers(web3, contractOwner);
// contract sponsored by pallet
- await helper.signTransaction(palletAdmin, api.tx.promotion.sponsorConract(flipper.options.address));
+ await helper.signTransaction(palletAdmin, api.tx.appPromotion.sponsorConract(flipper.options.address));
// owner sets self sponsoring
await expect(contractMethods.methods.selfSponsoredEnable(flipper.options.address).send()).to.be.not.rejected;
@@ -542,7 +533,7 @@
await expect(contractMethods.methods.selfSponsoredEnable(flipper.options.address).send()).to.be.not.rejected;
// nonAdmin calls sponsorConract
- await expect(helper.signTransaction(nonAdmin, api.tx.promotion.sponsorConract(flipper.options.address))).to.be.rejected;
+ await expect(helper.signTransaction(nonAdmin, api.tx.appPromotion.sponsorConract(flipper.options.address))).to.be.rejected;
// contract still self-sponsored
expect((await api.query.evmContractHelpers.sponsoring(flipper.options.address)).toJSON()).to.deep.equal({
@@ -569,7 +560,7 @@
await contractHelper.methods.setSponsoringMode(flipper.options.address, SponsoringMode.Generous).send({from: contractOwner});
await transferBalanceToEth(api, alice, flipper.options.address, 1000n);
- await helper.signTransaction(palletAdmin, api.tx.promotion.sponsorConract(flipper.options.address));
+ await helper.signTransaction(palletAdmin, api.tx.appPromotion.sponsorConract(flipper.options.address));
await flipper.methods.flip().send({from: caller});
expect(await flipper.methods.getValue().call()).to.be.true;
@@ -591,8 +582,8 @@
await transferBalanceToEth(api, alice, flipper.options.address);
const contractHelper = contractHelpers(web3, contractOwner);
await contractHelper.methods.setSponsoringMode(flipper.options.address, SponsoringMode.Generous).send({from: contractOwner});
- await helper.signTransaction(palletAdmin, api.tx.promotion.sponsorConract(flipper.options.address));
- await helper.signTransaction(palletAdmin, api.tx.promotion.stopSponsoringContract(flipper.options.address));
+ await helper.signTransaction(palletAdmin, api.tx.appPromotion.sponsorConract(flipper.options.address));
+ await helper.signTransaction(palletAdmin, api.tx.appPromotion.stopSponsoringContract(flipper.options.address));
expect(await contractHelper.methods.hasSponsor(flipper.options.address).call()).to.be.false;
expect((await api.query.evmContractHelpers.owner(flipper.options.address)).toJSON()).to.be.equal(contractOwner);
@@ -618,8 +609,8 @@
const contractOwner = (await createEthAccountWithBalance(api, web3, privateKeyWrapper)).toLowerCase();
const flipper = await deployFlipper(web3, contractOwner);
- await helper.signTransaction(palletAdmin, api.tx.promotion.sponsorConract(flipper.options.address));
- await expect(helper.signTransaction(nonAdmin, api.tx.promotion.stopSponsoringContract(flipper.options.address))).to.be.rejected;
+ await helper.signTransaction(palletAdmin, api.tx.appPromotion.sponsorConract(flipper.options.address));
+ await expect(helper.signTransaction(nonAdmin, api.tx.appPromotion.stopSponsoringContract(flipper.options.address))).to.be.rejected;
});
});
@@ -631,7 +622,7 @@
const contractHelper = contractHelpers(web3, contractOwner);
await expect(contractHelper.methods.selfSponsoredEnable(flipper.options.address).send()).to.be.not.rejected;
- await expect(helper.signTransaction(nonAdmin, api.tx.promotion.stopSponsoringContract(flipper.options.address))).to.be.rejected;
+ await expect(helper.signTransaction(nonAdmin, api.tx.appPromotion.stopSponsoringContract(flipper.options.address))).to.be.rejected;
});
});
});
@@ -640,7 +631,7 @@
it('can not be called by non admin', async () => {
await usingPlaygrounds(async (helper) => {
const nonAdmin = accounts.pop()!;
- await expect(helper.signTransaction(nonAdmin, helper.api!.tx.promotion.payoutStakers(100))).to.be.rejected;
+ await expect(helper.signTransaction(nonAdmin, helper.api!.tx.appPromotion.payoutStakers(100))).to.be.rejected;
});
});
@@ -652,7 +643,7 @@
await helper.staking.stake(staker, 100n * nominal);
await helper.staking.stake(staker, 200n * nominal);
await waitForRelayBlock(helper.api!, 30);
- await helper.signTransaction(palletAdmin, helper.api!.tx.promotion.payoutStakers(100));
+ await helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.payoutStakers(100));
const totalStakedPerBlock = (await helper.staking.getTotalStakedPerBlock({Substrate: staker.address})).map(s => s[1]);
expect(totalStakedPerBlock).to.be.deep.equal([calculateIncome(100n * nominal, 10n), calculateIncome(200n * nominal, 10n)]);
@@ -668,7 +659,7 @@
await helper.staking.stake(staker, 200n * nominal);
await waitForRelayBlock(helper.api!, 55);
- await helper.signTransaction(palletAdmin, helper.api!.tx.promotion.payoutStakers(100));
+ await helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.payoutStakers(100));
const stakedPerBlock = await helper.staking.getTotalStakedPerBlock({Substrate: staker.address});
expect(stakedPerBlock[0][1]).to.be.equal(calculateIncome(100n * nominal, 10n, 2));
expect(stakedPerBlock[1][1]).to.be.equal(calculateIncome(200n * nominal, 10n, 2));
@@ -707,12 +698,12 @@
await helper.staking.stake(staker, 300n * nominal);
await waitForRelayBlock(helper.api!, 34);
- await helper.signTransaction(palletAdmin, helper.api!.tx.promotion.payoutStakers(100));
+ await helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.payoutStakers(100));
let totalStakedPerBlock = (await helper.staking.getTotalStakedPerBlock({Substrate: staker.address})).map(s => s[1]);
expect(totalStakedPerBlock).to.deep.equal([calculateIncome(100n * nominal, 10n), calculateIncome(200n * nominal, 10n), calculateIncome(300n * nominal, 10n)]);
await waitForRelayBlock(helper.api!, 20);
- await helper.signTransaction(palletAdmin, helper.api!.tx.promotion.payoutStakers(100));
+ await helper.signTransaction(palletAdmin, helper.api!.tx.appPromotion.payoutStakers(100));
totalStakedPerBlock = (await helper.staking.getTotalStakedPerBlock({Substrate: staker.address})).map(s => s[1]);
expect(totalStakedPerBlock).to.deep.equal([calculateIncome(100n * nominal, 10n, 2), calculateIncome(200n * nominal, 10n, 2), calculateIncome(300n * nominal, 10n, 2)]);
});
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -15,6 +15,30 @@
declare module '@polkadot/api-base/types/consts' {
interface AugmentedConsts<ApiType extends ApiTypes> {
+ appPromotion: {
+ /**
+ * In chain blocks.
+ **/
+ day: u32 & AugmentedConst<ApiType>;
+ intervalIncome: Perbill & AugmentedConst<ApiType>;
+ nominal: u128 & AugmentedConst<ApiType>;
+ /**
+ * The app's pallet id, used for deriving its sovereign account ID.
+ **/
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
+ /**
+ * In relay blocks.
+ **/
+ pendingInterval: u32 & AugmentedConst<ApiType>;
+ /**
+ * In relay blocks.
+ **/
+ recalculationInterval: u32 & AugmentedConst<ApiType>;
+ /**
+ * Generic const
+ **/
+ [key: string]: Codec;
+ };
balances: {
/**
* The minimum amount required to keep an account open.
@@ -61,30 +85,6 @@
* Number of blocks that pass between treasury balance updates due to inflation
**/
inflationBlockInterval: u32 & AugmentedConst<ApiType>;
- /**
- * Generic const
- **/
- [key: string]: Codec;
- };
- promotion: {
- /**
- * In chain blocks.
- **/
- day: u32 & AugmentedConst<ApiType>;
- intervalIncome: Perbill & AugmentedConst<ApiType>;
- nominal: u128 & AugmentedConst<ApiType>;
- /**
- * The app's pallet id, used for deriving its sovereign account ID.
- **/
- palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
- /**
- * In relay blocks.
- **/
- pendingInterval: u32 & AugmentedConst<ApiType>;
- /**
- * In relay blocks.
- **/
- recalculationInterval: u32 & 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
@@ -11,6 +11,29 @@
declare module '@polkadot/api-base/types/errors' {
interface AugmentedErrors<ApiType extends ApiTypes> {
+ appPromotion: {
+ /**
+ * Error due to action requiring admin to be set
+ **/
+ AdminNotSet: AugmentedError<ApiType>;
+ /**
+ * An error related to the fact that an invalid argument was passed to perform an action
+ **/
+ InvalidArgument: AugmentedError<ApiType>;
+ /**
+ * No permission to perform an action
+ **/
+ NoPermission: AugmentedError<ApiType>;
+ /**
+ * Insufficient funds to perform an action
+ **/
+ NotSufficientFounds: AugmentedError<ApiType>;
+ PendingForBlockOverflow: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
balances: {
/**
* Beneficiary account must pre-exist
@@ -430,28 +453,6 @@
* The message's weight could not be determined.
**/
UnweighableMessage: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
- promotion: {
- /**
- * Error due to action requiring admin to be set
- **/
- AdminNotSet: AugmentedError<ApiType>;
- /**
- * An error related to the fact that an invalid argument was passed to perform an action
- **/
- InvalidArgument: AugmentedError<ApiType>;
- /**
- * No permission to perform an action
- **/
- NoPermission: AugmentedError<ApiType>;
- /**
- * Insufficient funds to perform an action
- **/
- NotSufficientFounds: AugmentedError<ApiType>;
/**
* Generic error
**/
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -15,6 +15,13 @@
declare module '@polkadot/api-base/types/events' {
interface AugmentedEvents<ApiType extends ApiTypes> {
+ appPromotion: {
+ StakingRecalculation: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
balances: {
/**
* A balance was set by root.
@@ -355,13 +362,6 @@
* \[ destination, result \]
**/
VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
- /**
- * Generic event
- **/
- [key: string]: AugmentedEvent<ApiType>;
- };
- promotion: {
- StakingRecalculation: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
/**
* 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
@@ -17,6 +17,35 @@
declare module '@polkadot/api-base/types/storage' {
interface AugmentedQueries<ApiType extends ApiTypes> {
+ appPromotion: {
+ admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Stores hash a record for which the last revenue recalculation was performed.
+ * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.
+ **/
+ nextCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Amount of tokens pending unstake per user per block.
+ **/
+ pendingUnstake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ /**
+ * Amount of tokens staked by account in the blocknumber.
+ **/
+ staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
+ /**
+ * Amount of stakes for an Account
+ **/
+ stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
+ **/
+ startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
balances: {
/**
* The Balances pallet example of storing the balance of an account.
@@ -505,39 +534,6 @@
* in the trie.
**/
validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- promotion: {
- admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Stores hash a record for which the last revenue recalculation was performed.
- * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.
- **/
- nextCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Next target block when interest is recalculated
- **/
- nextInterestBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Amount of tokens pending unstake per user per block.
- **/
- pendingUnstake: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
- /**
- * Amount of tokens staked by account in the blocknumber.
- **/
- staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
- /**
- * Amount of stakes for an Account
- **/
- stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
- /**
- * A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
- **/
- startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
- totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -17,6 +17,20 @@
declare module '@polkadot/api-base/types/submittable' {
interface AugmentedSubmittables<ApiType extends ApiTypes> {
+ appPromotion: {
+ payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;
+ setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;
+ sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ sponsorConract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
+ stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
+ stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
+ unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
balances: {
/**
* Exactly as `transfer`, except the origin must be root and the source account may be
@@ -370,22 +384,6 @@
* 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]>;
- /**
- * Generic tx
- **/
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
- };
- promotion: {
- payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;
- setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;
- sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- sponsorConract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
- stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
- startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
- stopAppPromotion: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
- stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
- unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Generic tx
**/
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: Option<u32>;818 } & Struct;819 readonly isStopAppPromotion: boolean;820 readonly isStake: boolean;821 readonly asStake: {822 readonly amount: u128;823 } & Struct;824 readonly isUnstake: boolean;825 readonly isSponsorCollection: boolean;826 readonly asSponsorCollection: {827 readonly collectionId: u32;828 } & Struct;829 readonly isStopSponsoringCollection: boolean;830 readonly asStopSponsoringCollection: {831 readonly collectionId: u32;832 } & Struct;833 readonly isSponsorConract: boolean;834 readonly asSponsorConract: {835 readonly contractId: H160;836 } & Struct;837 readonly isStopSponsoringContract: boolean;838 readonly asStopSponsoringContract: {839 readonly contractId: H160;840 } & Struct;841 readonly isPayoutStakers: boolean;842 readonly asPayoutStakers: {843 readonly stakersNumber: Option<u8>;844 } & Struct;845 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorConract' | 'StopSponsoringContract' | 'PayoutStakers';846}847848/** @name PalletAppPromotionError */849export interface PalletAppPromotionError extends Enum {850 readonly isAdminNotSet: boolean;851 readonly isNoPermission: boolean;852 readonly isNotSufficientFounds: boolean;853 readonly isInvalidArgument: boolean;854 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';855}856857/** @name PalletAppPromotionEvent */858export interface PalletAppPromotionEvent extends Enum {859 readonly isStakingRecalculation: boolean;860 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;861 readonly type: 'StakingRecalculation';862}863864/** @name PalletBalancesAccountData */865export interface PalletBalancesAccountData extends Struct {866 readonly free: u128;867 readonly reserved: u128;868 readonly miscFrozen: u128;869 readonly feeFrozen: u128;870}871872/** @name PalletBalancesBalanceLock */873export interface PalletBalancesBalanceLock extends Struct {874 readonly id: U8aFixed;875 readonly amount: u128;876 readonly reasons: PalletBalancesReasons;877}878879/** @name PalletBalancesCall */880export interface PalletBalancesCall extends Enum {881 readonly isTransfer: boolean;882 readonly asTransfer: {883 readonly dest: MultiAddress;884 readonly value: Compact<u128>;885 } & Struct;886 readonly isSetBalance: boolean;887 readonly asSetBalance: {888 readonly who: MultiAddress;889 readonly newFree: Compact<u128>;890 readonly newReserved: Compact<u128>;891 } & Struct;892 readonly isForceTransfer: boolean;893 readonly asForceTransfer: {894 readonly source: MultiAddress;895 readonly dest: MultiAddress;896 readonly value: Compact<u128>;897 } & Struct;898 readonly isTransferKeepAlive: boolean;899 readonly asTransferKeepAlive: {900 readonly dest: MultiAddress;901 readonly value: Compact<u128>;902 } & Struct;903 readonly isTransferAll: boolean;904 readonly asTransferAll: {905 readonly dest: MultiAddress;906 readonly keepAlive: bool;907 } & Struct;908 readonly isForceUnreserve: boolean;909 readonly asForceUnreserve: {910 readonly who: MultiAddress;911 readonly amount: u128;912 } & Struct;913 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';914}915916/** @name PalletBalancesError */917export interface PalletBalancesError extends Enum {918 readonly isVestingBalance: boolean;919 readonly isLiquidityRestrictions: boolean;920 readonly isInsufficientBalance: boolean;921 readonly isExistentialDeposit: boolean;922 readonly isKeepAlive: boolean;923 readonly isExistingVestingSchedule: boolean;924 readonly isDeadAccount: boolean;925 readonly isTooManyReserves: boolean;926 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';927}928929/** @name PalletBalancesEvent */930export interface PalletBalancesEvent extends Enum {931 readonly isEndowed: boolean;932 readonly asEndowed: {933 readonly account: AccountId32;934 readonly freeBalance: u128;935 } & Struct;936 readonly isDustLost: boolean;937 readonly asDustLost: {938 readonly account: AccountId32;939 readonly amount: u128;940 } & Struct;941 readonly isTransfer: boolean;942 readonly asTransfer: {943 readonly from: AccountId32;944 readonly to: AccountId32;945 readonly amount: u128;946 } & Struct;947 readonly isBalanceSet: boolean;948 readonly asBalanceSet: {949 readonly who: AccountId32;950 readonly free: u128;951 readonly reserved: u128;952 } & Struct;953 readonly isReserved: boolean;954 readonly asReserved: {955 readonly who: AccountId32;956 readonly amount: u128;957 } & Struct;958 readonly isUnreserved: boolean;959 readonly asUnreserved: {960 readonly who: AccountId32;961 readonly amount: u128;962 } & Struct;963 readonly isReserveRepatriated: boolean;964 readonly asReserveRepatriated: {965 readonly from: AccountId32;966 readonly to: AccountId32;967 readonly amount: u128;968 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;969 } & Struct;970 readonly isDeposit: boolean;971 readonly asDeposit: {972 readonly who: AccountId32;973 readonly amount: u128;974 } & Struct;975 readonly isWithdraw: boolean;976 readonly asWithdraw: {977 readonly who: AccountId32;978 readonly amount: u128;979 } & Struct;980 readonly isSlashed: boolean;981 readonly asSlashed: {982 readonly who: AccountId32;983 readonly amount: u128;984 } & Struct;985 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';986}987988/** @name PalletBalancesReasons */989export interface PalletBalancesReasons extends Enum {990 readonly isFee: boolean;991 readonly isMisc: boolean;992 readonly isAll: boolean;993 readonly type: 'Fee' | 'Misc' | 'All';994}995996/** @name PalletBalancesReleases */997export interface PalletBalancesReleases extends Enum {998 readonly isV100: boolean;999 readonly isV200: boolean;1000 readonly type: 'V100' | 'V200';1001}10021003/** @name PalletBalancesReserveData */1004export interface PalletBalancesReserveData extends Struct {1005 readonly id: U8aFixed;1006 readonly amount: u128;1007}10081009/** @name PalletCommonError */1010export interface PalletCommonError extends Enum {1011 readonly isCollectionNotFound: boolean;1012 readonly isMustBeTokenOwner: boolean;1013 readonly isNoPermission: boolean;1014 readonly isCantDestroyNotEmptyCollection: boolean;1015 readonly isPublicMintingNotAllowed: boolean;1016 readonly isAddressNotInAllowlist: boolean;1017 readonly isCollectionNameLimitExceeded: boolean;1018 readonly isCollectionDescriptionLimitExceeded: boolean;1019 readonly isCollectionTokenPrefixLimitExceeded: boolean;1020 readonly isTotalCollectionsLimitExceeded: boolean;1021 readonly isCollectionAdminCountExceeded: boolean;1022 readonly isCollectionLimitBoundsExceeded: boolean;1023 readonly isOwnerPermissionsCantBeReverted: boolean;1024 readonly isTransferNotAllowed: boolean;1025 readonly isAccountTokenLimitExceeded: boolean;1026 readonly isCollectionTokenLimitExceeded: boolean;1027 readonly isMetadataFlagFrozen: boolean;1028 readonly isTokenNotFound: boolean;1029 readonly isTokenValueTooLow: boolean;1030 readonly isApprovedValueTooLow: boolean;1031 readonly isCantApproveMoreThanOwned: boolean;1032 readonly isAddressIsZero: boolean;1033 readonly isUnsupportedOperation: boolean;1034 readonly isNotSufficientFounds: boolean;1035 readonly isUserIsNotAllowedToNest: boolean;1036 readonly isSourceCollectionIsNotAllowedToNest: boolean;1037 readonly isCollectionFieldSizeExceeded: boolean;1038 readonly isNoSpaceForProperty: boolean;1039 readonly isPropertyLimitReached: boolean;1040 readonly isPropertyKeyIsTooLong: boolean;1041 readonly isInvalidCharacterInPropertyKey: boolean;1042 readonly isEmptyPropertyKey: boolean;1043 readonly isCollectionIsExternal: boolean;1044 readonly isCollectionIsInternal: boolean;1045 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';1046}10471048/** @name PalletCommonEvent */1049export interface PalletCommonEvent extends Enum {1050 readonly isCollectionCreated: boolean;1051 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1052 readonly isCollectionDestroyed: boolean;1053 readonly asCollectionDestroyed: u32;1054 readonly isItemCreated: boolean;1055 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1056 readonly isItemDestroyed: boolean;1057 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1058 readonly isTransfer: boolean;1059 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1060 readonly isApproved: boolean;1061 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1062 readonly isCollectionPropertySet: boolean;1063 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1064 readonly isCollectionPropertyDeleted: boolean;1065 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1066 readonly isTokenPropertySet: boolean;1067 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1068 readonly isTokenPropertyDeleted: boolean;1069 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1070 readonly isPropertyPermissionSet: boolean;1071 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1072 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1073}10741075/** @name PalletConfigurationCall */1076export interface PalletConfigurationCall extends Enum {1077 readonly isSetWeightToFeeCoefficientOverride: boolean;1078 readonly asSetWeightToFeeCoefficientOverride: {1079 readonly coeff: Option<u32>;1080 } & Struct;1081 readonly isSetMinGasPriceOverride: boolean;1082 readonly asSetMinGasPriceOverride: {1083 readonly coeff: Option<u64>;1084 } & Struct;1085 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1086}10871088/** @name PalletEthereumCall */1089export interface PalletEthereumCall extends Enum {1090 readonly isTransact: boolean;1091 readonly asTransact: {1092 readonly transaction: EthereumTransactionTransactionV2;1093 } & Struct;1094 readonly type: 'Transact';1095}10961097/** @name PalletEthereumError */1098export interface PalletEthereumError extends Enum {1099 readonly isInvalidSignature: boolean;1100 readonly isPreLogExists: boolean;1101 readonly type: 'InvalidSignature' | 'PreLogExists';1102}11031104/** @name PalletEthereumEvent */1105export interface PalletEthereumEvent extends Enum {1106 readonly isExecuted: boolean;1107 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1108 readonly type: 'Executed';1109}11101111/** @name PalletEthereumFakeTransactionFinalizer */1112export interface PalletEthereumFakeTransactionFinalizer extends Null {}11131114/** @name PalletEthereumRawOrigin */1115export interface PalletEthereumRawOrigin extends Enum {1116 readonly isEthereumTransaction: boolean;1117 readonly asEthereumTransaction: H160;1118 readonly type: 'EthereumTransaction';1119}11201121/** @name PalletEvmAccountBasicCrossAccountIdRepr */1122export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1123 readonly isSubstrate: boolean;1124 readonly asSubstrate: AccountId32;1125 readonly isEthereum: boolean;1126 readonly asEthereum: H160;1127 readonly type: 'Substrate' | 'Ethereum';1128}11291130/** @name PalletEvmCall */1131export interface PalletEvmCall extends Enum {1132 readonly isWithdraw: boolean;1133 readonly asWithdraw: {1134 readonly address: H160;1135 readonly value: u128;1136 } & Struct;1137 readonly isCall: boolean;1138 readonly asCall: {1139 readonly source: H160;1140 readonly target: H160;1141 readonly input: Bytes;1142 readonly value: U256;1143 readonly gasLimit: u64;1144 readonly maxFeePerGas: U256;1145 readonly maxPriorityFeePerGas: Option<U256>;1146 readonly nonce: Option<U256>;1147 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1148 } & Struct;1149 readonly isCreate: boolean;1150 readonly asCreate: {1151 readonly source: H160;1152 readonly init: Bytes;1153 readonly value: U256;1154 readonly gasLimit: u64;1155 readonly maxFeePerGas: U256;1156 readonly maxPriorityFeePerGas: Option<U256>;1157 readonly nonce: Option<U256>;1158 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1159 } & Struct;1160 readonly isCreate2: boolean;1161 readonly asCreate2: {1162 readonly source: H160;1163 readonly init: Bytes;1164 readonly salt: H256;1165 readonly value: U256;1166 readonly gasLimit: u64;1167 readonly maxFeePerGas: U256;1168 readonly maxPriorityFeePerGas: Option<U256>;1169 readonly nonce: Option<U256>;1170 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1171 } & Struct;1172 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1173}11741175/** @name PalletEvmCoderSubstrateError */1176export interface PalletEvmCoderSubstrateError extends Enum {1177 readonly isOutOfGas: boolean;1178 readonly isOutOfFund: boolean;1179 readonly type: 'OutOfGas' | 'OutOfFund';1180}11811182/** @name PalletEvmContractHelpersError */1183export interface PalletEvmContractHelpersError extends Enum {1184 readonly isNoPermission: boolean;1185 readonly isNoPendingSponsor: boolean;1186 readonly type: 'NoPermission' | 'NoPendingSponsor';1187}11881189/** @name PalletEvmContractHelpersSponsoringModeT */1190export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1191 readonly isDisabled: boolean;1192 readonly isAllowlisted: boolean;1193 readonly isGenerous: boolean;1194 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1195}11961197/** @name PalletEvmError */1198export interface PalletEvmError extends Enum {1199 readonly isBalanceLow: boolean;1200 readonly isFeeOverflow: boolean;1201 readonly isPaymentOverflow: boolean;1202 readonly isWithdrawFailed: boolean;1203 readonly isGasPriceTooLow: boolean;1204 readonly isInvalidNonce: boolean;1205 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1206}12071208/** @name PalletEvmEvent */1209export interface PalletEvmEvent extends Enum {1210 readonly isLog: boolean;1211 readonly asLog: EthereumLog;1212 readonly isCreated: boolean;1213 readonly asCreated: H160;1214 readonly isCreatedFailed: boolean;1215 readonly asCreatedFailed: H160;1216 readonly isExecuted: boolean;1217 readonly asExecuted: H160;1218 readonly isExecutedFailed: boolean;1219 readonly asExecutedFailed: H160;1220 readonly isBalanceDeposit: boolean;1221 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1222 readonly isBalanceWithdraw: boolean;1223 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1224 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1225}12261227/** @name PalletEvmMigrationCall */1228export interface PalletEvmMigrationCall extends Enum {1229 readonly isBegin: boolean;1230 readonly asBegin: {1231 readonly address: H160;1232 } & Struct;1233 readonly isSetData: boolean;1234 readonly asSetData: {1235 readonly address: H160;1236 readonly data: Vec<ITuple<[H256, H256]>>;1237 } & Struct;1238 readonly isFinish: boolean;1239 readonly asFinish: {1240 readonly address: H160;1241 readonly code: Bytes;1242 } & Struct;1243 readonly type: 'Begin' | 'SetData' | 'Finish';1244}12451246/** @name PalletEvmMigrationError */1247export interface PalletEvmMigrationError extends Enum {1248 readonly isAccountNotEmpty: boolean;1249 readonly isAccountIsNotMigrating: boolean;1250 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1251}12521253/** @name PalletFungibleError */1254export interface PalletFungibleError extends Enum {1255 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1256 readonly isFungibleItemsHaveNoId: boolean;1257 readonly isFungibleItemsDontHaveData: boolean;1258 readonly isFungibleDisallowsNesting: boolean;1259 readonly isSettingPropertiesNotAllowed: boolean;1260 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1261}12621263/** @name PalletInflationCall */1264export interface PalletInflationCall extends Enum {1265 readonly isStartInflation: boolean;1266 readonly asStartInflation: {1267 readonly inflationStartRelayBlock: u32;1268 } & Struct;1269 readonly type: 'StartInflation';1270}12711272/** @name PalletNonfungibleError */1273export interface PalletNonfungibleError extends Enum {1274 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1275 readonly isNonfungibleItemsHaveNoAmount: boolean;1276 readonly isCantBurnNftWithChildren: boolean;1277 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1278}12791280/** @name PalletNonfungibleItemData */1281export interface PalletNonfungibleItemData extends Struct {1282 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1283}12841285/** @name PalletRefungibleError */1286export interface PalletRefungibleError extends Enum {1287 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1288 readonly isWrongRefungiblePieces: boolean;1289 readonly isRepartitionWhileNotOwningAllPieces: boolean;1290 readonly isRefungibleDisallowsNesting: boolean;1291 readonly isSettingPropertiesNotAllowed: boolean;1292 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1293}12941295/** @name PalletRefungibleItemData */1296export interface PalletRefungibleItemData extends Struct {1297 readonly constData: Bytes;1298}12991300/** @name PalletRmrkCoreCall */1301export interface PalletRmrkCoreCall extends Enum {1302 readonly isCreateCollection: boolean;1303 readonly asCreateCollection: {1304 readonly metadata: Bytes;1305 readonly max: Option<u32>;1306 readonly symbol: Bytes;1307 } & Struct;1308 readonly isDestroyCollection: boolean;1309 readonly asDestroyCollection: {1310 readonly collectionId: u32;1311 } & Struct;1312 readonly isChangeCollectionIssuer: boolean;1313 readonly asChangeCollectionIssuer: {1314 readonly collectionId: u32;1315 readonly newIssuer: MultiAddress;1316 } & Struct;1317 readonly isLockCollection: boolean;1318 readonly asLockCollection: {1319 readonly collectionId: u32;1320 } & Struct;1321 readonly isMintNft: boolean;1322 readonly asMintNft: {1323 readonly owner: Option<AccountId32>;1324 readonly collectionId: u32;1325 readonly recipient: Option<AccountId32>;1326 readonly royaltyAmount: Option<Permill>;1327 readonly metadata: Bytes;1328 readonly transferable: bool;1329 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1330 } & Struct;1331 readonly isBurnNft: boolean;1332 readonly asBurnNft: {1333 readonly collectionId: u32;1334 readonly nftId: u32;1335 readonly maxBurns: u32;1336 } & Struct;1337 readonly isSend: boolean;1338 readonly asSend: {1339 readonly rmrkCollectionId: u32;1340 readonly rmrkNftId: u32;1341 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1342 } & Struct;1343 readonly isAcceptNft: boolean;1344 readonly asAcceptNft: {1345 readonly rmrkCollectionId: u32;1346 readonly rmrkNftId: u32;1347 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1348 } & Struct;1349 readonly isRejectNft: boolean;1350 readonly asRejectNft: {1351 readonly rmrkCollectionId: u32;1352 readonly rmrkNftId: u32;1353 } & Struct;1354 readonly isAcceptResource: boolean;1355 readonly asAcceptResource: {1356 readonly rmrkCollectionId: u32;1357 readonly rmrkNftId: u32;1358 readonly resourceId: u32;1359 } & Struct;1360 readonly isAcceptResourceRemoval: boolean;1361 readonly asAcceptResourceRemoval: {1362 readonly rmrkCollectionId: u32;1363 readonly rmrkNftId: u32;1364 readonly resourceId: u32;1365 } & Struct;1366 readonly isSetProperty: boolean;1367 readonly asSetProperty: {1368 readonly rmrkCollectionId: Compact<u32>;1369 readonly maybeNftId: Option<u32>;1370 readonly key: Bytes;1371 readonly value: Bytes;1372 } & Struct;1373 readonly isSetPriority: boolean;1374 readonly asSetPriority: {1375 readonly rmrkCollectionId: u32;1376 readonly rmrkNftId: u32;1377 readonly priorities: Vec<u32>;1378 } & Struct;1379 readonly isAddBasicResource: boolean;1380 readonly asAddBasicResource: {1381 readonly rmrkCollectionId: u32;1382 readonly nftId: u32;1383 readonly resource: RmrkTraitsResourceBasicResource;1384 } & Struct;1385 readonly isAddComposableResource: boolean;1386 readonly asAddComposableResource: {1387 readonly rmrkCollectionId: u32;1388 readonly nftId: u32;1389 readonly resource: RmrkTraitsResourceComposableResource;1390 } & Struct;1391 readonly isAddSlotResource: boolean;1392 readonly asAddSlotResource: {1393 readonly rmrkCollectionId: u32;1394 readonly nftId: u32;1395 readonly resource: RmrkTraitsResourceSlotResource;1396 } & Struct;1397 readonly isRemoveResource: boolean;1398 readonly asRemoveResource: {1399 readonly rmrkCollectionId: u32;1400 readonly nftId: u32;1401 readonly resourceId: u32;1402 } & Struct;1403 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1404}14051406/** @name PalletRmrkCoreError */1407export interface PalletRmrkCoreError extends Enum {1408 readonly isCorruptedCollectionType: boolean;1409 readonly isRmrkPropertyKeyIsTooLong: boolean;1410 readonly isRmrkPropertyValueIsTooLong: boolean;1411 readonly isRmrkPropertyIsNotFound: boolean;1412 readonly isUnableToDecodeRmrkData: boolean;1413 readonly isCollectionNotEmpty: boolean;1414 readonly isNoAvailableCollectionId: boolean;1415 readonly isNoAvailableNftId: boolean;1416 readonly isCollectionUnknown: boolean;1417 readonly isNoPermission: boolean;1418 readonly isNonTransferable: boolean;1419 readonly isCollectionFullOrLocked: boolean;1420 readonly isResourceDoesntExist: boolean;1421 readonly isCannotSendToDescendentOrSelf: boolean;1422 readonly isCannotAcceptNonOwnedNft: boolean;1423 readonly isCannotRejectNonOwnedNft: boolean;1424 readonly isCannotRejectNonPendingNft: boolean;1425 readonly isResourceNotPending: boolean;1426 readonly isNoAvailableResourceId: boolean;1427 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1428}14291430/** @name PalletRmrkCoreEvent */1431export interface PalletRmrkCoreEvent extends Enum {1432 readonly isCollectionCreated: boolean;1433 readonly asCollectionCreated: {1434 readonly issuer: AccountId32;1435 readonly collectionId: u32;1436 } & Struct;1437 readonly isCollectionDestroyed: boolean;1438 readonly asCollectionDestroyed: {1439 readonly issuer: AccountId32;1440 readonly collectionId: u32;1441 } & Struct;1442 readonly isIssuerChanged: boolean;1443 readonly asIssuerChanged: {1444 readonly oldIssuer: AccountId32;1445 readonly newIssuer: AccountId32;1446 readonly collectionId: u32;1447 } & Struct;1448 readonly isCollectionLocked: boolean;1449 readonly asCollectionLocked: {1450 readonly issuer: AccountId32;1451 readonly collectionId: u32;1452 } & Struct;1453 readonly isNftMinted: boolean;1454 readonly asNftMinted: {1455 readonly owner: AccountId32;1456 readonly collectionId: u32;1457 readonly nftId: u32;1458 } & Struct;1459 readonly isNftBurned: boolean;1460 readonly asNftBurned: {1461 readonly owner: AccountId32;1462 readonly nftId: u32;1463 } & Struct;1464 readonly isNftSent: boolean;1465 readonly asNftSent: {1466 readonly sender: AccountId32;1467 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1468 readonly collectionId: u32;1469 readonly nftId: u32;1470 readonly approvalRequired: bool;1471 } & Struct;1472 readonly isNftAccepted: boolean;1473 readonly asNftAccepted: {1474 readonly sender: AccountId32;1475 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1476 readonly collectionId: u32;1477 readonly nftId: u32;1478 } & Struct;1479 readonly isNftRejected: boolean;1480 readonly asNftRejected: {1481 readonly sender: AccountId32;1482 readonly collectionId: u32;1483 readonly nftId: u32;1484 } & Struct;1485 readonly isPropertySet: boolean;1486 readonly asPropertySet: {1487 readonly collectionId: u32;1488 readonly maybeNftId: Option<u32>;1489 readonly key: Bytes;1490 readonly value: Bytes;1491 } & Struct;1492 readonly isResourceAdded: boolean;1493 readonly asResourceAdded: {1494 readonly nftId: u32;1495 readonly resourceId: u32;1496 } & Struct;1497 readonly isResourceRemoval: boolean;1498 readonly asResourceRemoval: {1499 readonly nftId: u32;1500 readonly resourceId: u32;1501 } & Struct;1502 readonly isResourceAccepted: boolean;1503 readonly asResourceAccepted: {1504 readonly nftId: u32;1505 readonly resourceId: u32;1506 } & Struct;1507 readonly isResourceRemovalAccepted: boolean;1508 readonly asResourceRemovalAccepted: {1509 readonly nftId: u32;1510 readonly resourceId: u32;1511 } & Struct;1512 readonly isPrioritySet: boolean;1513 readonly asPrioritySet: {1514 readonly collectionId: u32;1515 readonly nftId: u32;1516 } & Struct;1517 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1518}15191520/** @name PalletRmrkEquipCall */1521export interface PalletRmrkEquipCall extends Enum {1522 readonly isCreateBase: boolean;1523 readonly asCreateBase: {1524 readonly baseType: Bytes;1525 readonly symbol: Bytes;1526 readonly parts: Vec<RmrkTraitsPartPartType>;1527 } & Struct;1528 readonly isThemeAdd: boolean;1529 readonly asThemeAdd: {1530 readonly baseId: u32;1531 readonly theme: RmrkTraitsTheme;1532 } & Struct;1533 readonly isEquippable: boolean;1534 readonly asEquippable: {1535 readonly baseId: u32;1536 readonly slotId: u32;1537 readonly equippables: RmrkTraitsPartEquippableList;1538 } & Struct;1539 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1540}15411542/** @name PalletRmrkEquipError */1543export interface PalletRmrkEquipError extends Enum {1544 readonly isPermissionError: boolean;1545 readonly isNoAvailableBaseId: boolean;1546 readonly isNoAvailablePartId: boolean;1547 readonly isBaseDoesntExist: boolean;1548 readonly isNeedsDefaultThemeFirst: boolean;1549 readonly isPartDoesntExist: boolean;1550 readonly isNoEquippableOnFixedPart: boolean;1551 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1552}15531554/** @name PalletRmrkEquipEvent */1555export interface PalletRmrkEquipEvent extends Enum {1556 readonly isBaseCreated: boolean;1557 readonly asBaseCreated: {1558 readonly issuer: AccountId32;1559 readonly baseId: u32;1560 } & Struct;1561 readonly isEquippablesUpdated: boolean;1562 readonly asEquippablesUpdated: {1563 readonly baseId: u32;1564 readonly slotId: u32;1565 } & Struct;1566 readonly type: 'BaseCreated' | 'EquippablesUpdated';1567}15681569/** @name PalletStructureCall */1570export interface PalletStructureCall extends Null {}15711572/** @name PalletStructureError */1573export interface PalletStructureError extends Enum {1574 readonly isOuroborosDetected: boolean;1575 readonly isDepthLimit: boolean;1576 readonly isBreadthLimit: boolean;1577 readonly isTokenNotFound: boolean;1578 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1579}15801581/** @name PalletStructureEvent */1582export interface PalletStructureEvent extends Enum {1583 readonly isExecuted: boolean;1584 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1585 readonly type: 'Executed';1586}15871588/** @name PalletSudoCall */1589export interface PalletSudoCall extends Enum {1590 readonly isSudo: boolean;1591 readonly asSudo: {1592 readonly call: Call;1593 } & Struct;1594 readonly isSudoUncheckedWeight: boolean;1595 readonly asSudoUncheckedWeight: {1596 readonly call: Call;1597 readonly weight: u64;1598 } & Struct;1599 readonly isSetKey: boolean;1600 readonly asSetKey: {1601 readonly new_: MultiAddress;1602 } & Struct;1603 readonly isSudoAs: boolean;1604 readonly asSudoAs: {1605 readonly who: MultiAddress;1606 readonly call: Call;1607 } & Struct;1608 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1609}16101611/** @name PalletSudoError */1612export interface PalletSudoError extends Enum {1613 readonly isRequireSudo: boolean;1614 readonly type: 'RequireSudo';1615}16161617/** @name PalletSudoEvent */1618export interface PalletSudoEvent extends Enum {1619 readonly isSudid: boolean;1620 readonly asSudid: {1621 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1622 } & Struct;1623 readonly isKeyChanged: boolean;1624 readonly asKeyChanged: {1625 readonly oldSudoer: Option<AccountId32>;1626 } & Struct;1627 readonly isSudoAsDone: boolean;1628 readonly asSudoAsDone: {1629 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1630 } & Struct;1631 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1632}16331634/** @name PalletTemplateTransactionPaymentCall */1635export interface PalletTemplateTransactionPaymentCall extends Null {}16361637/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1638export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16391640/** @name PalletTimestampCall */1641export interface PalletTimestampCall extends Enum {1642 readonly isSet: boolean;1643 readonly asSet: {1644 readonly now: Compact<u64>;1645 } & Struct;1646 readonly type: 'Set';1647}16481649/** @name PalletTransactionPaymentEvent */1650export interface PalletTransactionPaymentEvent extends Enum {1651 readonly isTransactionFeePaid: boolean;1652 readonly asTransactionFeePaid: {1653 readonly who: AccountId32;1654 readonly actualFee: u128;1655 readonly tip: u128;1656 } & Struct;1657 readonly type: 'TransactionFeePaid';1658}16591660/** @name PalletTransactionPaymentReleases */1661export interface PalletTransactionPaymentReleases extends Enum {1662 readonly isV1Ancient: boolean;1663 readonly isV2: boolean;1664 readonly type: 'V1Ancient' | 'V2';1665}16661667/** @name PalletTreasuryCall */1668export interface PalletTreasuryCall extends Enum {1669 readonly isProposeSpend: boolean;1670 readonly asProposeSpend: {1671 readonly value: Compact<u128>;1672 readonly beneficiary: MultiAddress;1673 } & Struct;1674 readonly isRejectProposal: boolean;1675 readonly asRejectProposal: {1676 readonly proposalId: Compact<u32>;1677 } & Struct;1678 readonly isApproveProposal: boolean;1679 readonly asApproveProposal: {1680 readonly proposalId: Compact<u32>;1681 } & Struct;1682 readonly isSpend: boolean;1683 readonly asSpend: {1684 readonly amount: Compact<u128>;1685 readonly beneficiary: MultiAddress;1686 } & Struct;1687 readonly isRemoveApproval: boolean;1688 readonly asRemoveApproval: {1689 readonly proposalId: Compact<u32>;1690 } & Struct;1691 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1692}16931694/** @name PalletTreasuryError */1695export interface PalletTreasuryError extends Enum {1696 readonly isInsufficientProposersBalance: boolean;1697 readonly isInvalidIndex: boolean;1698 readonly isTooManyApprovals: boolean;1699 readonly isInsufficientPermission: boolean;1700 readonly isProposalNotApproved: boolean;1701 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1702}17031704/** @name PalletTreasuryEvent */1705export interface PalletTreasuryEvent extends Enum {1706 readonly isProposed: boolean;1707 readonly asProposed: {1708 readonly proposalIndex: u32;1709 } & Struct;1710 readonly isSpending: boolean;1711 readonly asSpending: {1712 readonly budgetRemaining: u128;1713 } & Struct;1714 readonly isAwarded: boolean;1715 readonly asAwarded: {1716 readonly proposalIndex: u32;1717 readonly award: u128;1718 readonly account: AccountId32;1719 } & Struct;1720 readonly isRejected: boolean;1721 readonly asRejected: {1722 readonly proposalIndex: u32;1723 readonly slashed: u128;1724 } & Struct;1725 readonly isBurnt: boolean;1726 readonly asBurnt: {1727 readonly burntFunds: u128;1728 } & Struct;1729 readonly isRollover: boolean;1730 readonly asRollover: {1731 readonly rolloverBalance: u128;1732 } & Struct;1733 readonly isDeposit: boolean;1734 readonly asDeposit: {1735 readonly value: u128;1736 } & Struct;1737 readonly isSpendApproved: boolean;1738 readonly asSpendApproved: {1739 readonly proposalIndex: u32;1740 readonly amount: u128;1741 readonly beneficiary: AccountId32;1742 } & Struct;1743 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1744}17451746/** @name PalletTreasuryProposal */1747export interface PalletTreasuryProposal extends Struct {1748 readonly proposer: AccountId32;1749 readonly value: u128;1750 readonly beneficiary: AccountId32;1751 readonly bond: u128;1752}17531754/** @name PalletUniqueCall */1755export interface PalletUniqueCall extends Enum {1756 readonly isCreateCollection: boolean;1757 readonly asCreateCollection: {1758 readonly collectionName: Vec<u16>;1759 readonly collectionDescription: Vec<u16>;1760 readonly tokenPrefix: Bytes;1761 readonly mode: UpDataStructsCollectionMode;1762 } & Struct;1763 readonly isCreateCollectionEx: boolean;1764 readonly asCreateCollectionEx: {1765 readonly data: UpDataStructsCreateCollectionData;1766 } & Struct;1767 readonly isDestroyCollection: boolean;1768 readonly asDestroyCollection: {1769 readonly collectionId: u32;1770 } & Struct;1771 readonly isAddToAllowList: boolean;1772 readonly asAddToAllowList: {1773 readonly collectionId: u32;1774 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1775 } & Struct;1776 readonly isRemoveFromAllowList: boolean;1777 readonly asRemoveFromAllowList: {1778 readonly collectionId: u32;1779 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1780 } & Struct;1781 readonly isChangeCollectionOwner: boolean;1782 readonly asChangeCollectionOwner: {1783 readonly collectionId: u32;1784 readonly newOwner: AccountId32;1785 } & Struct;1786 readonly isAddCollectionAdmin: boolean;1787 readonly asAddCollectionAdmin: {1788 readonly collectionId: u32;1789 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1790 } & Struct;1791 readonly isRemoveCollectionAdmin: boolean;1792 readonly asRemoveCollectionAdmin: {1793 readonly collectionId: u32;1794 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1795 } & Struct;1796 readonly isSetCollectionSponsor: boolean;1797 readonly asSetCollectionSponsor: {1798 readonly collectionId: u32;1799 readonly newSponsor: AccountId32;1800 } & Struct;1801 readonly isConfirmSponsorship: boolean;1802 readonly asConfirmSponsorship: {1803 readonly collectionId: u32;1804 } & Struct;1805 readonly isRemoveCollectionSponsor: boolean;1806 readonly asRemoveCollectionSponsor: {1807 readonly collectionId: u32;1808 } & Struct;1809 readonly isCreateItem: boolean;1810 readonly asCreateItem: {1811 readonly collectionId: u32;1812 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1813 readonly data: UpDataStructsCreateItemData;1814 } & Struct;1815 readonly isCreateMultipleItems: boolean;1816 readonly asCreateMultipleItems: {1817 readonly collectionId: u32;1818 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1819 readonly itemsData: Vec<UpDataStructsCreateItemData>;1820 } & Struct;1821 readonly isSetCollectionProperties: boolean;1822 readonly asSetCollectionProperties: {1823 readonly collectionId: u32;1824 readonly properties: Vec<UpDataStructsProperty>;1825 } & Struct;1826 readonly isDeleteCollectionProperties: boolean;1827 readonly asDeleteCollectionProperties: {1828 readonly collectionId: u32;1829 readonly propertyKeys: Vec<Bytes>;1830 } & Struct;1831 readonly isSetTokenProperties: boolean;1832 readonly asSetTokenProperties: {1833 readonly collectionId: u32;1834 readonly tokenId: u32;1835 readonly properties: Vec<UpDataStructsProperty>;1836 } & Struct;1837 readonly isDeleteTokenProperties: boolean;1838 readonly asDeleteTokenProperties: {1839 readonly collectionId: u32;1840 readonly tokenId: u32;1841 readonly propertyKeys: Vec<Bytes>;1842 } & Struct;1843 readonly isSetTokenPropertyPermissions: boolean;1844 readonly asSetTokenPropertyPermissions: {1845 readonly collectionId: u32;1846 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1847 } & Struct;1848 readonly isCreateMultipleItemsEx: boolean;1849 readonly asCreateMultipleItemsEx: {1850 readonly collectionId: u32;1851 readonly data: UpDataStructsCreateItemExData;1852 } & Struct;1853 readonly isSetTransfersEnabledFlag: boolean;1854 readonly asSetTransfersEnabledFlag: {1855 readonly collectionId: u32;1856 readonly value: bool;1857 } & Struct;1858 readonly isBurnItem: boolean;1859 readonly asBurnItem: {1860 readonly collectionId: u32;1861 readonly itemId: u32;1862 readonly value: u128;1863 } & Struct;1864 readonly isBurnFrom: boolean;1865 readonly asBurnFrom: {1866 readonly collectionId: u32;1867 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1868 readonly itemId: u32;1869 readonly value: u128;1870 } & Struct;1871 readonly isTransfer: boolean;1872 readonly asTransfer: {1873 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1874 readonly collectionId: u32;1875 readonly itemId: u32;1876 readonly value: u128;1877 } & Struct;1878 readonly isApprove: boolean;1879 readonly asApprove: {1880 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1881 readonly collectionId: u32;1882 readonly itemId: u32;1883 readonly amount: u128;1884 } & Struct;1885 readonly isTransferFrom: boolean;1886 readonly asTransferFrom: {1887 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1888 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1889 readonly collectionId: u32;1890 readonly itemId: u32;1891 readonly value: u128;1892 } & Struct;1893 readonly isSetCollectionLimits: boolean;1894 readonly asSetCollectionLimits: {1895 readonly collectionId: u32;1896 readonly newLimit: UpDataStructsCollectionLimits;1897 } & Struct;1898 readonly isSetCollectionPermissions: boolean;1899 readonly asSetCollectionPermissions: {1900 readonly collectionId: u32;1901 readonly newPermission: UpDataStructsCollectionPermissions;1902 } & Struct;1903 readonly isRepartition: boolean;1904 readonly asRepartition: {1905 readonly collectionId: u32;1906 readonly tokenId: u32;1907 readonly amount: u128;1908 } & Struct;1909 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' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';1910}19111912/** @name PalletUniqueError */1913export interface PalletUniqueError extends Enum {1914 readonly isCollectionDecimalPointLimitExceeded: boolean;1915 readonly isConfirmUnsetSponsorFail: boolean;1916 readonly isEmptyArgument: boolean;1917 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1918 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1919}19201921/** @name PalletUniqueRawEvent */1922export interface PalletUniqueRawEvent extends Enum {1923 readonly isCollectionSponsorRemoved: boolean;1924 readonly asCollectionSponsorRemoved: u32;1925 readonly isCollectionAdminAdded: boolean;1926 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1927 readonly isCollectionOwnedChanged: boolean;1928 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1929 readonly isCollectionSponsorSet: boolean;1930 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1931 readonly isSponsorshipConfirmed: boolean;1932 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1933 readonly isCollectionAdminRemoved: boolean;1934 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1935 readonly isAllowListAddressRemoved: boolean;1936 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1937 readonly isAllowListAddressAdded: boolean;1938 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1939 readonly isCollectionLimitSet: boolean;1940 readonly asCollectionLimitSet: u32;1941 readonly isCollectionPermissionSet: boolean;1942 readonly asCollectionPermissionSet: u32;1943 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1944}19451946/** @name PalletUniqueSchedulerCall */1947export interface PalletUniqueSchedulerCall extends Enum {1948 readonly isScheduleNamed: boolean;1949 readonly asScheduleNamed: {1950 readonly id: U8aFixed;1951 readonly when: u32;1952 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1953 readonly priority: u8;1954 readonly call: FrameSupportScheduleMaybeHashed;1955 } & Struct;1956 readonly isCancelNamed: boolean;1957 readonly asCancelNamed: {1958 readonly id: U8aFixed;1959 } & Struct;1960 readonly isScheduleNamedAfter: boolean;1961 readonly asScheduleNamedAfter: {1962 readonly id: U8aFixed;1963 readonly after: u32;1964 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1965 readonly priority: u8;1966 readonly call: FrameSupportScheduleMaybeHashed;1967 } & Struct;1968 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1969}19701971/** @name PalletUniqueSchedulerError */1972export interface PalletUniqueSchedulerError extends Enum {1973 readonly isFailedToSchedule: boolean;1974 readonly isNotFound: boolean;1975 readonly isTargetBlockNumberInPast: boolean;1976 readonly isRescheduleNoChange: boolean;1977 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1978}19791980/** @name PalletUniqueSchedulerEvent */1981export interface PalletUniqueSchedulerEvent extends Enum {1982 readonly isScheduled: boolean;1983 readonly asScheduled: {1984 readonly when: u32;1985 readonly index: u32;1986 } & Struct;1987 readonly isCanceled: boolean;1988 readonly asCanceled: {1989 readonly when: u32;1990 readonly index: u32;1991 } & Struct;1992 readonly isDispatched: boolean;1993 readonly asDispatched: {1994 readonly task: ITuple<[u32, u32]>;1995 readonly id: Option<U8aFixed>;1996 readonly result: Result<Null, SpRuntimeDispatchError>;1997 } & Struct;1998 readonly isCallLookupFailed: boolean;1999 readonly asCallLookupFailed: {2000 readonly task: ITuple<[u32, u32]>;2001 readonly id: Option<U8aFixed>;2002 readonly error: FrameSupportScheduleLookupError;2003 } & Struct;2004 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2005}20062007/** @name PalletUniqueSchedulerScheduledV3 */2008export interface PalletUniqueSchedulerScheduledV3 extends Struct {2009 readonly maybeId: Option<U8aFixed>;2010 readonly priority: u8;2011 readonly call: FrameSupportScheduleMaybeHashed;2012 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2013 readonly origin: OpalRuntimeOriginCaller;2014}20152016/** @name PalletXcmCall */2017export interface PalletXcmCall extends Enum {2018 readonly isSend: boolean;2019 readonly asSend: {2020 readonly dest: XcmVersionedMultiLocation;2021 readonly message: XcmVersionedXcm;2022 } & Struct;2023 readonly isTeleportAssets: boolean;2024 readonly asTeleportAssets: {2025 readonly dest: XcmVersionedMultiLocation;2026 readonly beneficiary: XcmVersionedMultiLocation;2027 readonly assets: XcmVersionedMultiAssets;2028 readonly feeAssetItem: u32;2029 } & Struct;2030 readonly isReserveTransferAssets: boolean;2031 readonly asReserveTransferAssets: {2032 readonly dest: XcmVersionedMultiLocation;2033 readonly beneficiary: XcmVersionedMultiLocation;2034 readonly assets: XcmVersionedMultiAssets;2035 readonly feeAssetItem: u32;2036 } & Struct;2037 readonly isExecute: boolean;2038 readonly asExecute: {2039 readonly message: XcmVersionedXcm;2040 readonly maxWeight: u64;2041 } & Struct;2042 readonly isForceXcmVersion: boolean;2043 readonly asForceXcmVersion: {2044 readonly location: XcmV1MultiLocation;2045 readonly xcmVersion: u32;2046 } & Struct;2047 readonly isForceDefaultXcmVersion: boolean;2048 readonly asForceDefaultXcmVersion: {2049 readonly maybeXcmVersion: Option<u32>;2050 } & Struct;2051 readonly isForceSubscribeVersionNotify: boolean;2052 readonly asForceSubscribeVersionNotify: {2053 readonly location: XcmVersionedMultiLocation;2054 } & Struct;2055 readonly isForceUnsubscribeVersionNotify: boolean;2056 readonly asForceUnsubscribeVersionNotify: {2057 readonly location: XcmVersionedMultiLocation;2058 } & Struct;2059 readonly isLimitedReserveTransferAssets: boolean;2060 readonly asLimitedReserveTransferAssets: {2061 readonly dest: XcmVersionedMultiLocation;2062 readonly beneficiary: XcmVersionedMultiLocation;2063 readonly assets: XcmVersionedMultiAssets;2064 readonly feeAssetItem: u32;2065 readonly weightLimit: XcmV2WeightLimit;2066 } & Struct;2067 readonly isLimitedTeleportAssets: boolean;2068 readonly asLimitedTeleportAssets: {2069 readonly dest: XcmVersionedMultiLocation;2070 readonly beneficiary: XcmVersionedMultiLocation;2071 readonly assets: XcmVersionedMultiAssets;2072 readonly feeAssetItem: u32;2073 readonly weightLimit: XcmV2WeightLimit;2074 } & Struct;2075 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2076}20772078/** @name PalletXcmError */2079export interface PalletXcmError extends Enum {2080 readonly isUnreachable: boolean;2081 readonly isSendFailure: boolean;2082 readonly isFiltered: boolean;2083 readonly isUnweighableMessage: boolean;2084 readonly isDestinationNotInvertible: boolean;2085 readonly isEmpty: boolean;2086 readonly isCannotReanchor: boolean;2087 readonly isTooManyAssets: boolean;2088 readonly isInvalidOrigin: boolean;2089 readonly isBadVersion: boolean;2090 readonly isBadLocation: boolean;2091 readonly isNoSubscription: boolean;2092 readonly isAlreadySubscribed: boolean;2093 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2094}20952096/** @name PalletXcmEvent */2097export interface PalletXcmEvent extends Enum {2098 readonly isAttempted: boolean;2099 readonly asAttempted: XcmV2TraitsOutcome;2100 readonly isSent: boolean;2101 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2102 readonly isUnexpectedResponse: boolean;2103 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2104 readonly isResponseReady: boolean;2105 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2106 readonly isNotified: boolean;2107 readonly asNotified: ITuple<[u64, u8, u8]>;2108 readonly isNotifyOverweight: boolean;2109 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2110 readonly isNotifyDispatchError: boolean;2111 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2112 readonly isNotifyDecodeFailed: boolean;2113 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2114 readonly isInvalidResponder: boolean;2115 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2116 readonly isInvalidResponderVersion: boolean;2117 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2118 readonly isResponseTaken: boolean;2119 readonly asResponseTaken: u64;2120 readonly isAssetsTrapped: boolean;2121 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2122 readonly isVersionChangeNotified: boolean;2123 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2124 readonly isSupportedVersionChanged: boolean;2125 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2126 readonly isNotifyTargetSendFail: boolean;2127 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2128 readonly isNotifyTargetMigrationFail: boolean;2129 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2130 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2131}21322133/** @name PalletXcmOrigin */2134export interface PalletXcmOrigin extends Enum {2135 readonly isXcm: boolean;2136 readonly asXcm: XcmV1MultiLocation;2137 readonly isResponse: boolean;2138 readonly asResponse: XcmV1MultiLocation;2139 readonly type: 'Xcm' | 'Response';2140}21412142/** @name PhantomTypeUpDataStructs */2143export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21442145/** @name PolkadotCorePrimitivesInboundDownwardMessage */2146export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2147 readonly sentAt: u32;2148 readonly msg: Bytes;2149}21502151/** @name PolkadotCorePrimitivesInboundHrmpMessage */2152export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2153 readonly sentAt: u32;2154 readonly data: Bytes;2155}21562157/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2158export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2159 readonly recipient: u32;2160 readonly data: Bytes;2161}21622163/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2164export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2165 readonly isConcatenatedVersionedXcm: boolean;2166 readonly isConcatenatedEncodedBlob: boolean;2167 readonly isSignals: boolean;2168 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2169}21702171/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2172export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2173 readonly maxCodeSize: u32;2174 readonly maxHeadDataSize: u32;2175 readonly maxUpwardQueueCount: u32;2176 readonly maxUpwardQueueSize: u32;2177 readonly maxUpwardMessageSize: u32;2178 readonly maxUpwardMessageNumPerCandidate: u32;2179 readonly hrmpMaxMessageNumPerCandidate: u32;2180 readonly validationUpgradeCooldown: u32;2181 readonly validationUpgradeDelay: u32;2182}21832184/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2185export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2186 readonly maxCapacity: u32;2187 readonly maxTotalSize: u32;2188 readonly maxMessageSize: u32;2189 readonly msgCount: u32;2190 readonly totalSize: u32;2191 readonly mqcHead: Option<H256>;2192}21932194/** @name PolkadotPrimitivesV2PersistedValidationData */2195export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2196 readonly parentHead: Bytes;2197 readonly relayParentNumber: u32;2198 readonly relayParentStorageRoot: H256;2199 readonly maxPovSize: u32;2200}22012202/** @name PolkadotPrimitivesV2UpgradeRestriction */2203export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2204 readonly isPresent: boolean;2205 readonly type: 'Present';2206}22072208/** @name RmrkTraitsBaseBaseInfo */2209export interface RmrkTraitsBaseBaseInfo extends Struct {2210 readonly issuer: AccountId32;2211 readonly baseType: Bytes;2212 readonly symbol: Bytes;2213}22142215/** @name RmrkTraitsCollectionCollectionInfo */2216export interface RmrkTraitsCollectionCollectionInfo extends Struct {2217 readonly issuer: AccountId32;2218 readonly metadata: Bytes;2219 readonly max: Option<u32>;2220 readonly symbol: Bytes;2221 readonly nftsCount: u32;2222}22232224/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2225export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2226 readonly isAccountId: boolean;2227 readonly asAccountId: AccountId32;2228 readonly isCollectionAndNftTuple: boolean;2229 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2230 readonly type: 'AccountId' | 'CollectionAndNftTuple';2231}22322233/** @name RmrkTraitsNftNftChild */2234export interface RmrkTraitsNftNftChild extends Struct {2235 readonly collectionId: u32;2236 readonly nftId: u32;2237}22382239/** @name RmrkTraitsNftNftInfo */2240export interface RmrkTraitsNftNftInfo extends Struct {2241 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2242 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2243 readonly metadata: Bytes;2244 readonly equipped: bool;2245 readonly pending: bool;2246}22472248/** @name RmrkTraitsNftRoyaltyInfo */2249export interface RmrkTraitsNftRoyaltyInfo extends Struct {2250 readonly recipient: AccountId32;2251 readonly amount: Permill;2252}22532254/** @name RmrkTraitsPartEquippableList */2255export interface RmrkTraitsPartEquippableList extends Enum {2256 readonly isAll: boolean;2257 readonly isEmpty: boolean;2258 readonly isCustom: boolean;2259 readonly asCustom: Vec<u32>;2260 readonly type: 'All' | 'Empty' | 'Custom';2261}22622263/** @name RmrkTraitsPartFixedPart */2264export interface RmrkTraitsPartFixedPart extends Struct {2265 readonly id: u32;2266 readonly z: u32;2267 readonly src: Bytes;2268}22692270/** @name RmrkTraitsPartPartType */2271export interface RmrkTraitsPartPartType extends Enum {2272 readonly isFixedPart: boolean;2273 readonly asFixedPart: RmrkTraitsPartFixedPart;2274 readonly isSlotPart: boolean;2275 readonly asSlotPart: RmrkTraitsPartSlotPart;2276 readonly type: 'FixedPart' | 'SlotPart';2277}22782279/** @name RmrkTraitsPartSlotPart */2280export interface RmrkTraitsPartSlotPart extends Struct {2281 readonly id: u32;2282 readonly equippable: RmrkTraitsPartEquippableList;2283 readonly src: Bytes;2284 readonly z: u32;2285}22862287/** @name RmrkTraitsPropertyPropertyInfo */2288export interface RmrkTraitsPropertyPropertyInfo extends Struct {2289 readonly key: Bytes;2290 readonly value: Bytes;2291}22922293/** @name RmrkTraitsResourceBasicResource */2294export interface RmrkTraitsResourceBasicResource extends Struct {2295 readonly src: Option<Bytes>;2296 readonly metadata: Option<Bytes>;2297 readonly license: Option<Bytes>;2298 readonly thumb: Option<Bytes>;2299}23002301/** @name RmrkTraitsResourceComposableResource */2302export interface RmrkTraitsResourceComposableResource extends Struct {2303 readonly parts: Vec<u32>;2304 readonly base: u32;2305 readonly src: Option<Bytes>;2306 readonly metadata: Option<Bytes>;2307 readonly license: Option<Bytes>;2308 readonly thumb: Option<Bytes>;2309}23102311/** @name RmrkTraitsResourceResourceInfo */2312export interface RmrkTraitsResourceResourceInfo extends Struct {2313 readonly id: u32;2314 readonly resource: RmrkTraitsResourceResourceTypes;2315 readonly pending: bool;2316 readonly pendingRemoval: bool;2317}23182319/** @name RmrkTraitsResourceResourceTypes */2320export interface RmrkTraitsResourceResourceTypes extends Enum {2321 readonly isBasic: boolean;2322 readonly asBasic: RmrkTraitsResourceBasicResource;2323 readonly isComposable: boolean;2324 readonly asComposable: RmrkTraitsResourceComposableResource;2325 readonly isSlot: boolean;2326 readonly asSlot: RmrkTraitsResourceSlotResource;2327 readonly type: 'Basic' | 'Composable' | 'Slot';2328}23292330/** @name RmrkTraitsResourceSlotResource */2331export interface RmrkTraitsResourceSlotResource extends Struct {2332 readonly base: u32;2333 readonly src: Option<Bytes>;2334 readonly metadata: Option<Bytes>;2335 readonly slot: u32;2336 readonly license: Option<Bytes>;2337 readonly thumb: Option<Bytes>;2338}23392340/** @name RmrkTraitsTheme */2341export interface RmrkTraitsTheme extends Struct {2342 readonly name: Bytes;2343 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2344 readonly inherit: bool;2345}23462347/** @name RmrkTraitsThemeThemeProperty */2348export interface RmrkTraitsThemeThemeProperty extends Struct {2349 readonly key: Bytes;2350 readonly value: Bytes;2351}23522353/** @name SpCoreEcdsaSignature */2354export interface SpCoreEcdsaSignature extends U8aFixed {}23552356/** @name SpCoreEd25519Signature */2357export interface SpCoreEd25519Signature extends U8aFixed {}23582359/** @name SpCoreSr25519Signature */2360export interface SpCoreSr25519Signature extends U8aFixed {}23612362/** @name SpCoreVoid */2363export interface SpCoreVoid extends Null {}23642365/** @name SpRuntimeArithmeticError */2366export interface SpRuntimeArithmeticError extends Enum {2367 readonly isUnderflow: boolean;2368 readonly isOverflow: boolean;2369 readonly isDivisionByZero: boolean;2370 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2371}23722373/** @name SpRuntimeDigest */2374export interface SpRuntimeDigest extends Struct {2375 readonly logs: Vec<SpRuntimeDigestDigestItem>;2376}23772378/** @name SpRuntimeDigestDigestItem */2379export interface SpRuntimeDigestDigestItem extends Enum {2380 readonly isOther: boolean;2381 readonly asOther: Bytes;2382 readonly isConsensus: boolean;2383 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2384 readonly isSeal: boolean;2385 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2386 readonly isPreRuntime: boolean;2387 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2388 readonly isRuntimeEnvironmentUpdated: boolean;2389 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2390}23912392/** @name SpRuntimeDispatchError */2393export interface SpRuntimeDispatchError extends Enum {2394 readonly isOther: boolean;2395 readonly isCannotLookup: boolean;2396 readonly isBadOrigin: boolean;2397 readonly isModule: boolean;2398 readonly asModule: SpRuntimeModuleError;2399 readonly isConsumerRemaining: boolean;2400 readonly isNoProviders: boolean;2401 readonly isTooManyConsumers: boolean;2402 readonly isToken: boolean;2403 readonly asToken: SpRuntimeTokenError;2404 readonly isArithmetic: boolean;2405 readonly asArithmetic: SpRuntimeArithmeticError;2406 readonly isTransactional: boolean;2407 readonly asTransactional: SpRuntimeTransactionalError;2408 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2409}24102411/** @name SpRuntimeModuleError */2412export interface SpRuntimeModuleError extends Struct {2413 readonly index: u8;2414 readonly error: U8aFixed;2415}24162417/** @name SpRuntimeMultiSignature */2418export interface SpRuntimeMultiSignature extends Enum {2419 readonly isEd25519: boolean;2420 readonly asEd25519: SpCoreEd25519Signature;2421 readonly isSr25519: boolean;2422 readonly asSr25519: SpCoreSr25519Signature;2423 readonly isEcdsa: boolean;2424 readonly asEcdsa: SpCoreEcdsaSignature;2425 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2426}24272428/** @name SpRuntimeTokenError */2429export interface SpRuntimeTokenError extends Enum {2430 readonly isNoFunds: boolean;2431 readonly isWouldDie: boolean;2432 readonly isBelowMinimum: boolean;2433 readonly isCannotCreate: boolean;2434 readonly isUnknownAsset: boolean;2435 readonly isFrozen: boolean;2436 readonly isUnsupported: boolean;2437 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2438}24392440/** @name SpRuntimeTransactionalError */2441export interface SpRuntimeTransactionalError extends Enum {2442 readonly isLimitReached: boolean;2443 readonly isNoLayer: boolean;2444 readonly type: 'LimitReached' | 'NoLayer';2445}24462447/** @name SpTrieStorageProof */2448export interface SpTrieStorageProof extends Struct {2449 readonly trieNodes: BTreeSet<Bytes>;2450}24512452/** @name SpVersionRuntimeVersion */2453export interface SpVersionRuntimeVersion extends Struct {2454 readonly specName: Text;2455 readonly implName: Text;2456 readonly authoringVersion: u32;2457 readonly specVersion: u32;2458 readonly implVersion: u32;2459 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2460 readonly transactionVersion: u32;2461 readonly stateVersion: u8;2462}24632464/** @name UpDataStructsAccessMode */2465export interface UpDataStructsAccessMode extends Enum {2466 readonly isNormal: boolean;2467 readonly isAllowList: boolean;2468 readonly type: 'Normal' | 'AllowList';2469}24702471/** @name UpDataStructsCollection */2472export interface UpDataStructsCollection extends Struct {2473 readonly owner: AccountId32;2474 readonly mode: UpDataStructsCollectionMode;2475 readonly name: Vec<u16>;2476 readonly description: Vec<u16>;2477 readonly tokenPrefix: Bytes;2478 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2479 readonly limits: UpDataStructsCollectionLimits;2480 readonly permissions: UpDataStructsCollectionPermissions;2481 readonly externalCollection: bool;2482}24832484/** @name UpDataStructsCollectionLimits */2485export interface UpDataStructsCollectionLimits extends Struct {2486 readonly accountTokenOwnershipLimit: Option<u32>;2487 readonly sponsoredDataSize: Option<u32>;2488 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2489 readonly tokenLimit: Option<u32>;2490 readonly sponsorTransferTimeout: Option<u32>;2491 readonly sponsorApproveTimeout: Option<u32>;2492 readonly ownerCanTransfer: Option<bool>;2493 readonly ownerCanDestroy: Option<bool>;2494 readonly transfersEnabled: Option<bool>;2495}24962497/** @name UpDataStructsCollectionMode */2498export interface UpDataStructsCollectionMode extends Enum {2499 readonly isNft: boolean;2500 readonly isFungible: boolean;2501 readonly asFungible: u8;2502 readonly isReFungible: boolean;2503 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2504}25052506/** @name UpDataStructsCollectionPermissions */2507export interface UpDataStructsCollectionPermissions extends Struct {2508 readonly access: Option<UpDataStructsAccessMode>;2509 readonly mintMode: Option<bool>;2510 readonly nesting: Option<UpDataStructsNestingPermissions>;2511}25122513/** @name UpDataStructsCollectionStats */2514export interface UpDataStructsCollectionStats extends Struct {2515 readonly created: u32;2516 readonly destroyed: u32;2517 readonly alive: u32;2518}25192520/** @name UpDataStructsCreateCollectionData */2521export interface UpDataStructsCreateCollectionData extends Struct {2522 readonly mode: UpDataStructsCollectionMode;2523 readonly access: Option<UpDataStructsAccessMode>;2524 readonly name: Vec<u16>;2525 readonly description: Vec<u16>;2526 readonly tokenPrefix: Bytes;2527 readonly pendingSponsor: Option<AccountId32>;2528 readonly limits: Option<UpDataStructsCollectionLimits>;2529 readonly permissions: Option<UpDataStructsCollectionPermissions>;2530 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2531 readonly properties: Vec<UpDataStructsProperty>;2532}25332534/** @name UpDataStructsCreateFungibleData */2535export interface UpDataStructsCreateFungibleData extends Struct {2536 readonly value: u128;2537}25382539/** @name UpDataStructsCreateItemData */2540export interface UpDataStructsCreateItemData extends Enum {2541 readonly isNft: boolean;2542 readonly asNft: UpDataStructsCreateNftData;2543 readonly isFungible: boolean;2544 readonly asFungible: UpDataStructsCreateFungibleData;2545 readonly isReFungible: boolean;2546 readonly asReFungible: UpDataStructsCreateReFungibleData;2547 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2548}25492550/** @name UpDataStructsCreateItemExData */2551export interface UpDataStructsCreateItemExData extends Enum {2552 readonly isNft: boolean;2553 readonly asNft: Vec<UpDataStructsCreateNftExData>;2554 readonly isFungible: boolean;2555 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2556 readonly isRefungibleMultipleItems: boolean;2557 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2558 readonly isRefungibleMultipleOwners: boolean;2559 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2560 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2561}25622563/** @name UpDataStructsCreateNftData */2564export interface UpDataStructsCreateNftData extends Struct {2565 readonly properties: Vec<UpDataStructsProperty>;2566}25672568/** @name UpDataStructsCreateNftExData */2569export interface UpDataStructsCreateNftExData extends Struct {2570 readonly properties: Vec<UpDataStructsProperty>;2571 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2572}25732574/** @name UpDataStructsCreateReFungibleData */2575export interface UpDataStructsCreateReFungibleData extends Struct {2576 readonly pieces: u128;2577 readonly properties: Vec<UpDataStructsProperty>;2578}25792580/** @name UpDataStructsCreateRefungibleExMultipleOwners */2581export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2582 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2583 readonly properties: Vec<UpDataStructsProperty>;2584}25852586/** @name UpDataStructsCreateRefungibleExSingleOwner */2587export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2588 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2589 readonly pieces: u128;2590 readonly properties: Vec<UpDataStructsProperty>;2591}25922593/** @name UpDataStructsNestingPermissions */2594export interface UpDataStructsNestingPermissions extends Struct {2595 readonly tokenOwner: bool;2596 readonly collectionAdmin: bool;2597 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2598}25992600/** @name UpDataStructsOwnerRestrictedSet */2601export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}26022603/** @name UpDataStructsProperties */2604export interface UpDataStructsProperties extends Struct {2605 readonly map: UpDataStructsPropertiesMapBoundedVec;2606 readonly consumedSpace: u32;2607 readonly spaceLimit: u32;2608}26092610/** @name UpDataStructsPropertiesMapBoundedVec */2611export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26122613/** @name UpDataStructsPropertiesMapPropertyPermission */2614export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26152616/** @name UpDataStructsProperty */2617export interface UpDataStructsProperty extends Struct {2618 readonly key: Bytes;2619 readonly value: Bytes;2620}26212622/** @name UpDataStructsPropertyKeyPermission */2623export interface UpDataStructsPropertyKeyPermission extends Struct {2624 readonly key: Bytes;2625 readonly permission: UpDataStructsPropertyPermission;2626}26272628/** @name UpDataStructsPropertyPermission */2629export interface UpDataStructsPropertyPermission extends Struct {2630 readonly mutable: bool;2631 readonly collectionAdmin: bool;2632 readonly tokenOwner: bool;2633}26342635/** @name UpDataStructsPropertyScope */2636export interface UpDataStructsPropertyScope extends Enum {2637 readonly isNone: boolean;2638 readonly isRmrk: boolean;2639 readonly type: 'None' | 'Rmrk';2640}26412642/** @name UpDataStructsRpcCollection */2643export interface UpDataStructsRpcCollection extends Struct {2644 readonly owner: AccountId32;2645 readonly mode: UpDataStructsCollectionMode;2646 readonly name: Vec<u16>;2647 readonly description: Vec<u16>;2648 readonly tokenPrefix: Bytes;2649 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2650 readonly limits: UpDataStructsCollectionLimits;2651 readonly permissions: UpDataStructsCollectionPermissions;2652 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2653 readonly properties: Vec<UpDataStructsProperty>;2654 readonly readOnly: bool;2655}26562657/** @name UpDataStructsSponsoringRateLimit */2658export interface UpDataStructsSponsoringRateLimit extends Enum {2659 readonly isSponsoringDisabled: boolean;2660 readonly isBlocks: boolean;2661 readonly asBlocks: u32;2662 readonly type: 'SponsoringDisabled' | 'Blocks';2663}26642665/** @name UpDataStructsSponsorshipStateAccountId32 */2666export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2667 readonly isDisabled: boolean;2668 readonly isUnconfirmed: boolean;2669 readonly asUnconfirmed: AccountId32;2670 readonly isConfirmed: boolean;2671 readonly asConfirmed: AccountId32;2672 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2673}26742675/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2676export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {2677 readonly isDisabled: boolean;2678 readonly isUnconfirmed: boolean;2679 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2680 readonly isConfirmed: boolean;2681 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2682 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2683}26842685/** @name UpDataStructsTokenChild */2686export interface UpDataStructsTokenChild extends Struct {2687 readonly token: u32;2688 readonly collection: u32;2689}26902691/** @name UpDataStructsTokenData */2692export interface UpDataStructsTokenData extends Struct {2693 readonly properties: Vec<UpDataStructsProperty>;2694 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2695 readonly pieces: u128;2696}26972698/** @name XcmDoubleEncoded */2699export interface XcmDoubleEncoded extends Struct {2700 readonly encoded: Bytes;2701}27022703/** @name XcmV0Junction */2704export interface XcmV0Junction extends Enum {2705 readonly isParent: boolean;2706 readonly isParachain: boolean;2707 readonly asParachain: Compact<u32>;2708 readonly isAccountId32: boolean;2709 readonly asAccountId32: {2710 readonly network: XcmV0JunctionNetworkId;2711 readonly id: U8aFixed;2712 } & Struct;2713 readonly isAccountIndex64: boolean;2714 readonly asAccountIndex64: {2715 readonly network: XcmV0JunctionNetworkId;2716 readonly index: Compact<u64>;2717 } & Struct;2718 readonly isAccountKey20: boolean;2719 readonly asAccountKey20: {2720 readonly network: XcmV0JunctionNetworkId;2721 readonly key: U8aFixed;2722 } & Struct;2723 readonly isPalletInstance: boolean;2724 readonly asPalletInstance: u8;2725 readonly isGeneralIndex: boolean;2726 readonly asGeneralIndex: Compact<u128>;2727 readonly isGeneralKey: boolean;2728 readonly asGeneralKey: Bytes;2729 readonly isOnlyChild: boolean;2730 readonly isPlurality: boolean;2731 readonly asPlurality: {2732 readonly id: XcmV0JunctionBodyId;2733 readonly part: XcmV0JunctionBodyPart;2734 } & Struct;2735 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2736}27372738/** @name XcmV0JunctionBodyId */2739export interface XcmV0JunctionBodyId extends Enum {2740 readonly isUnit: boolean;2741 readonly isNamed: boolean;2742 readonly asNamed: Bytes;2743 readonly isIndex: boolean;2744 readonly asIndex: Compact<u32>;2745 readonly isExecutive: boolean;2746 readonly isTechnical: boolean;2747 readonly isLegislative: boolean;2748 readonly isJudicial: boolean;2749 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2750}27512752/** @name XcmV0JunctionBodyPart */2753export interface XcmV0JunctionBodyPart extends Enum {2754 readonly isVoice: boolean;2755 readonly isMembers: boolean;2756 readonly asMembers: {2757 readonly count: Compact<u32>;2758 } & Struct;2759 readonly isFraction: boolean;2760 readonly asFraction: {2761 readonly nom: Compact<u32>;2762 readonly denom: Compact<u32>;2763 } & Struct;2764 readonly isAtLeastProportion: boolean;2765 readonly asAtLeastProportion: {2766 readonly nom: Compact<u32>;2767 readonly denom: Compact<u32>;2768 } & Struct;2769 readonly isMoreThanProportion: boolean;2770 readonly asMoreThanProportion: {2771 readonly nom: Compact<u32>;2772 readonly denom: Compact<u32>;2773 } & Struct;2774 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2775}27762777/** @name XcmV0JunctionNetworkId */2778export interface XcmV0JunctionNetworkId extends Enum {2779 readonly isAny: boolean;2780 readonly isNamed: boolean;2781 readonly asNamed: Bytes;2782 readonly isPolkadot: boolean;2783 readonly isKusama: boolean;2784 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2785}27862787/** @name XcmV0MultiAsset */2788export interface XcmV0MultiAsset extends Enum {2789 readonly isNone: boolean;2790 readonly isAll: boolean;2791 readonly isAllFungible: boolean;2792 readonly isAllNonFungible: boolean;2793 readonly isAllAbstractFungible: boolean;2794 readonly asAllAbstractFungible: {2795 readonly id: Bytes;2796 } & Struct;2797 readonly isAllAbstractNonFungible: boolean;2798 readonly asAllAbstractNonFungible: {2799 readonly class: Bytes;2800 } & Struct;2801 readonly isAllConcreteFungible: boolean;2802 readonly asAllConcreteFungible: {2803 readonly id: XcmV0MultiLocation;2804 } & Struct;2805 readonly isAllConcreteNonFungible: boolean;2806 readonly asAllConcreteNonFungible: {2807 readonly class: XcmV0MultiLocation;2808 } & Struct;2809 readonly isAbstractFungible: boolean;2810 readonly asAbstractFungible: {2811 readonly id: Bytes;2812 readonly amount: Compact<u128>;2813 } & Struct;2814 readonly isAbstractNonFungible: boolean;2815 readonly asAbstractNonFungible: {2816 readonly class: Bytes;2817 readonly instance: XcmV1MultiassetAssetInstance;2818 } & Struct;2819 readonly isConcreteFungible: boolean;2820 readonly asConcreteFungible: {2821 readonly id: XcmV0MultiLocation;2822 readonly amount: Compact<u128>;2823 } & Struct;2824 readonly isConcreteNonFungible: boolean;2825 readonly asConcreteNonFungible: {2826 readonly class: XcmV0MultiLocation;2827 readonly instance: XcmV1MultiassetAssetInstance;2828 } & Struct;2829 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2830}28312832/** @name XcmV0MultiLocation */2833export interface XcmV0MultiLocation extends Enum {2834 readonly isNull: boolean;2835 readonly isX1: boolean;2836 readonly asX1: XcmV0Junction;2837 readonly isX2: boolean;2838 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2839 readonly isX3: boolean;2840 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2841 readonly isX4: boolean;2842 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2843 readonly isX5: boolean;2844 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2845 readonly isX6: boolean;2846 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2847 readonly isX7: boolean;2848 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2849 readonly isX8: boolean;2850 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2851 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2852}28532854/** @name XcmV0Order */2855export interface XcmV0Order extends Enum {2856 readonly isNull: boolean;2857 readonly isDepositAsset: boolean;2858 readonly asDepositAsset: {2859 readonly assets: Vec<XcmV0MultiAsset>;2860 readonly dest: XcmV0MultiLocation;2861 } & Struct;2862 readonly isDepositReserveAsset: boolean;2863 readonly asDepositReserveAsset: {2864 readonly assets: Vec<XcmV0MultiAsset>;2865 readonly dest: XcmV0MultiLocation;2866 readonly effects: Vec<XcmV0Order>;2867 } & Struct;2868 readonly isExchangeAsset: boolean;2869 readonly asExchangeAsset: {2870 readonly give: Vec<XcmV0MultiAsset>;2871 readonly receive: Vec<XcmV0MultiAsset>;2872 } & Struct;2873 readonly isInitiateReserveWithdraw: boolean;2874 readonly asInitiateReserveWithdraw: {2875 readonly assets: Vec<XcmV0MultiAsset>;2876 readonly reserve: XcmV0MultiLocation;2877 readonly effects: Vec<XcmV0Order>;2878 } & Struct;2879 readonly isInitiateTeleport: boolean;2880 readonly asInitiateTeleport: {2881 readonly assets: Vec<XcmV0MultiAsset>;2882 readonly dest: XcmV0MultiLocation;2883 readonly effects: Vec<XcmV0Order>;2884 } & Struct;2885 readonly isQueryHolding: boolean;2886 readonly asQueryHolding: {2887 readonly queryId: Compact<u64>;2888 readonly dest: XcmV0MultiLocation;2889 readonly assets: Vec<XcmV0MultiAsset>;2890 } & Struct;2891 readonly isBuyExecution: boolean;2892 readonly asBuyExecution: {2893 readonly fees: XcmV0MultiAsset;2894 readonly weight: u64;2895 readonly debt: u64;2896 readonly haltOnError: bool;2897 readonly xcm: Vec<XcmV0Xcm>;2898 } & Struct;2899 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2900}29012902/** @name XcmV0OriginKind */2903export interface XcmV0OriginKind extends Enum {2904 readonly isNative: boolean;2905 readonly isSovereignAccount: boolean;2906 readonly isSuperuser: boolean;2907 readonly isXcm: boolean;2908 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2909}29102911/** @name XcmV0Response */2912export interface XcmV0Response extends Enum {2913 readonly isAssets: boolean;2914 readonly asAssets: Vec<XcmV0MultiAsset>;2915 readonly type: 'Assets';2916}29172918/** @name XcmV0Xcm */2919export interface XcmV0Xcm extends Enum {2920 readonly isWithdrawAsset: boolean;2921 readonly asWithdrawAsset: {2922 readonly assets: Vec<XcmV0MultiAsset>;2923 readonly effects: Vec<XcmV0Order>;2924 } & Struct;2925 readonly isReserveAssetDeposit: boolean;2926 readonly asReserveAssetDeposit: {2927 readonly assets: Vec<XcmV0MultiAsset>;2928 readonly effects: Vec<XcmV0Order>;2929 } & Struct;2930 readonly isTeleportAsset: boolean;2931 readonly asTeleportAsset: {2932 readonly assets: Vec<XcmV0MultiAsset>;2933 readonly effects: Vec<XcmV0Order>;2934 } & Struct;2935 readonly isQueryResponse: boolean;2936 readonly asQueryResponse: {2937 readonly queryId: Compact<u64>;2938 readonly response: XcmV0Response;2939 } & Struct;2940 readonly isTransferAsset: boolean;2941 readonly asTransferAsset: {2942 readonly assets: Vec<XcmV0MultiAsset>;2943 readonly dest: XcmV0MultiLocation;2944 } & Struct;2945 readonly isTransferReserveAsset: boolean;2946 readonly asTransferReserveAsset: {2947 readonly assets: Vec<XcmV0MultiAsset>;2948 readonly dest: XcmV0MultiLocation;2949 readonly effects: Vec<XcmV0Order>;2950 } & Struct;2951 readonly isTransact: boolean;2952 readonly asTransact: {2953 readonly originType: XcmV0OriginKind;2954 readonly requireWeightAtMost: u64;2955 readonly call: XcmDoubleEncoded;2956 } & Struct;2957 readonly isHrmpNewChannelOpenRequest: boolean;2958 readonly asHrmpNewChannelOpenRequest: {2959 readonly sender: Compact<u32>;2960 readonly maxMessageSize: Compact<u32>;2961 readonly maxCapacity: Compact<u32>;2962 } & Struct;2963 readonly isHrmpChannelAccepted: boolean;2964 readonly asHrmpChannelAccepted: {2965 readonly recipient: Compact<u32>;2966 } & Struct;2967 readonly isHrmpChannelClosing: boolean;2968 readonly asHrmpChannelClosing: {2969 readonly initiator: Compact<u32>;2970 readonly sender: Compact<u32>;2971 readonly recipient: Compact<u32>;2972 } & Struct;2973 readonly isRelayedFrom: boolean;2974 readonly asRelayedFrom: {2975 readonly who: XcmV0MultiLocation;2976 readonly message: XcmV0Xcm;2977 } & Struct;2978 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2979}29802981/** @name XcmV1Junction */2982export interface XcmV1Junction extends Enum {2983 readonly isParachain: boolean;2984 readonly asParachain: Compact<u32>;2985 readonly isAccountId32: boolean;2986 readonly asAccountId32: {2987 readonly network: XcmV0JunctionNetworkId;2988 readonly id: U8aFixed;2989 } & Struct;2990 readonly isAccountIndex64: boolean;2991 readonly asAccountIndex64: {2992 readonly network: XcmV0JunctionNetworkId;2993 readonly index: Compact<u64>;2994 } & Struct;2995 readonly isAccountKey20: boolean;2996 readonly asAccountKey20: {2997 readonly network: XcmV0JunctionNetworkId;2998 readonly key: U8aFixed;2999 } & Struct;3000 readonly isPalletInstance: boolean;3001 readonly asPalletInstance: u8;3002 readonly isGeneralIndex: boolean;3003 readonly asGeneralIndex: Compact<u128>;3004 readonly isGeneralKey: boolean;3005 readonly asGeneralKey: Bytes;3006 readonly isOnlyChild: boolean;3007 readonly isPlurality: boolean;3008 readonly asPlurality: {3009 readonly id: XcmV0JunctionBodyId;3010 readonly part: XcmV0JunctionBodyPart;3011 } & Struct;3012 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3013}30143015/** @name XcmV1MultiAsset */3016export interface XcmV1MultiAsset extends Struct {3017 readonly id: XcmV1MultiassetAssetId;3018 readonly fun: XcmV1MultiassetFungibility;3019}30203021/** @name XcmV1MultiassetAssetId */3022export interface XcmV1MultiassetAssetId extends Enum {3023 readonly isConcrete: boolean;3024 readonly asConcrete: XcmV1MultiLocation;3025 readonly isAbstract: boolean;3026 readonly asAbstract: Bytes;3027 readonly type: 'Concrete' | 'Abstract';3028}30293030/** @name XcmV1MultiassetAssetInstance */3031export interface XcmV1MultiassetAssetInstance extends Enum {3032 readonly isUndefined: boolean;3033 readonly isIndex: boolean;3034 readonly asIndex: Compact<u128>;3035 readonly isArray4: boolean;3036 readonly asArray4: U8aFixed;3037 readonly isArray8: boolean;3038 readonly asArray8: U8aFixed;3039 readonly isArray16: boolean;3040 readonly asArray16: U8aFixed;3041 readonly isArray32: boolean;3042 readonly asArray32: U8aFixed;3043 readonly isBlob: boolean;3044 readonly asBlob: Bytes;3045 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3046}30473048/** @name XcmV1MultiassetFungibility */3049export interface XcmV1MultiassetFungibility extends Enum {3050 readonly isFungible: boolean;3051 readonly asFungible: Compact<u128>;3052 readonly isNonFungible: boolean;3053 readonly asNonFungible: XcmV1MultiassetAssetInstance;3054 readonly type: 'Fungible' | 'NonFungible';3055}30563057/** @name XcmV1MultiassetMultiAssetFilter */3058export interface XcmV1MultiassetMultiAssetFilter extends Enum {3059 readonly isDefinite: boolean;3060 readonly asDefinite: XcmV1MultiassetMultiAssets;3061 readonly isWild: boolean;3062 readonly asWild: XcmV1MultiassetWildMultiAsset;3063 readonly type: 'Definite' | 'Wild';3064}30653066/** @name XcmV1MultiassetMultiAssets */3067export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30683069/** @name XcmV1MultiassetWildFungibility */3070export interface XcmV1MultiassetWildFungibility extends Enum {3071 readonly isFungible: boolean;3072 readonly isNonFungible: boolean;3073 readonly type: 'Fungible' | 'NonFungible';3074}30753076/** @name XcmV1MultiassetWildMultiAsset */3077export interface XcmV1MultiassetWildMultiAsset extends Enum {3078 readonly isAll: boolean;3079 readonly isAllOf: boolean;3080 readonly asAllOf: {3081 readonly id: XcmV1MultiassetAssetId;3082 readonly fun: XcmV1MultiassetWildFungibility;3083 } & Struct;3084 readonly type: 'All' | 'AllOf';3085}30863087/** @name XcmV1MultiLocation */3088export interface XcmV1MultiLocation extends Struct {3089 readonly parents: u8;3090 readonly interior: XcmV1MultilocationJunctions;3091}30923093/** @name XcmV1MultilocationJunctions */3094export interface XcmV1MultilocationJunctions extends Enum {3095 readonly isHere: boolean;3096 readonly isX1: boolean;3097 readonly asX1: XcmV1Junction;3098 readonly isX2: boolean;3099 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3100 readonly isX3: boolean;3101 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3102 readonly isX4: boolean;3103 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3104 readonly isX5: boolean;3105 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3106 readonly isX6: boolean;3107 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3108 readonly isX7: boolean;3109 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3110 readonly isX8: boolean;3111 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3112 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3113}31143115/** @name XcmV1Order */3116export interface XcmV1Order extends Enum {3117 readonly isNoop: boolean;3118 readonly isDepositAsset: boolean;3119 readonly asDepositAsset: {3120 readonly assets: XcmV1MultiassetMultiAssetFilter;3121 readonly maxAssets: u32;3122 readonly beneficiary: XcmV1MultiLocation;3123 } & Struct;3124 readonly isDepositReserveAsset: boolean;3125 readonly asDepositReserveAsset: {3126 readonly assets: XcmV1MultiassetMultiAssetFilter;3127 readonly maxAssets: u32;3128 readonly dest: XcmV1MultiLocation;3129 readonly effects: Vec<XcmV1Order>;3130 } & Struct;3131 readonly isExchangeAsset: boolean;3132 readonly asExchangeAsset: {3133 readonly give: XcmV1MultiassetMultiAssetFilter;3134 readonly receive: XcmV1MultiassetMultiAssets;3135 } & Struct;3136 readonly isInitiateReserveWithdraw: boolean;3137 readonly asInitiateReserveWithdraw: {3138 readonly assets: XcmV1MultiassetMultiAssetFilter;3139 readonly reserve: XcmV1MultiLocation;3140 readonly effects: Vec<XcmV1Order>;3141 } & Struct;3142 readonly isInitiateTeleport: boolean;3143 readonly asInitiateTeleport: {3144 readonly assets: XcmV1MultiassetMultiAssetFilter;3145 readonly dest: XcmV1MultiLocation;3146 readonly effects: Vec<XcmV1Order>;3147 } & Struct;3148 readonly isQueryHolding: boolean;3149 readonly asQueryHolding: {3150 readonly queryId: Compact<u64>;3151 readonly dest: XcmV1MultiLocation;3152 readonly assets: XcmV1MultiassetMultiAssetFilter;3153 } & Struct;3154 readonly isBuyExecution: boolean;3155 readonly asBuyExecution: {3156 readonly fees: XcmV1MultiAsset;3157 readonly weight: u64;3158 readonly debt: u64;3159 readonly haltOnError: bool;3160 readonly instructions: Vec<XcmV1Xcm>;3161 } & Struct;3162 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3163}31643165/** @name XcmV1Response */3166export interface XcmV1Response extends Enum {3167 readonly isAssets: boolean;3168 readonly asAssets: XcmV1MultiassetMultiAssets;3169 readonly isVersion: boolean;3170 readonly asVersion: u32;3171 readonly type: 'Assets' | 'Version';3172}31733174/** @name XcmV1Xcm */3175export interface XcmV1Xcm extends Enum {3176 readonly isWithdrawAsset: boolean;3177 readonly asWithdrawAsset: {3178 readonly assets: XcmV1MultiassetMultiAssets;3179 readonly effects: Vec<XcmV1Order>;3180 } & Struct;3181 readonly isReserveAssetDeposited: boolean;3182 readonly asReserveAssetDeposited: {3183 readonly assets: XcmV1MultiassetMultiAssets;3184 readonly effects: Vec<XcmV1Order>;3185 } & Struct;3186 readonly isReceiveTeleportedAsset: boolean;3187 readonly asReceiveTeleportedAsset: {3188 readonly assets: XcmV1MultiassetMultiAssets;3189 readonly effects: Vec<XcmV1Order>;3190 } & Struct;3191 readonly isQueryResponse: boolean;3192 readonly asQueryResponse: {3193 readonly queryId: Compact<u64>;3194 readonly response: XcmV1Response;3195 } & Struct;3196 readonly isTransferAsset: boolean;3197 readonly asTransferAsset: {3198 readonly assets: XcmV1MultiassetMultiAssets;3199 readonly beneficiary: XcmV1MultiLocation;3200 } & Struct;3201 readonly isTransferReserveAsset: boolean;3202 readonly asTransferReserveAsset: {3203 readonly assets: XcmV1MultiassetMultiAssets;3204 readonly dest: XcmV1MultiLocation;3205 readonly effects: Vec<XcmV1Order>;3206 } & Struct;3207 readonly isTransact: boolean;3208 readonly asTransact: {3209 readonly originType: XcmV0OriginKind;3210 readonly requireWeightAtMost: u64;3211 readonly call: XcmDoubleEncoded;3212 } & Struct;3213 readonly isHrmpNewChannelOpenRequest: boolean;3214 readonly asHrmpNewChannelOpenRequest: {3215 readonly sender: Compact<u32>;3216 readonly maxMessageSize: Compact<u32>;3217 readonly maxCapacity: Compact<u32>;3218 } & Struct;3219 readonly isHrmpChannelAccepted: boolean;3220 readonly asHrmpChannelAccepted: {3221 readonly recipient: Compact<u32>;3222 } & Struct;3223 readonly isHrmpChannelClosing: boolean;3224 readonly asHrmpChannelClosing: {3225 readonly initiator: Compact<u32>;3226 readonly sender: Compact<u32>;3227 readonly recipient: Compact<u32>;3228 } & Struct;3229 readonly isRelayedFrom: boolean;3230 readonly asRelayedFrom: {3231 readonly who: XcmV1MultilocationJunctions;3232 readonly message: XcmV1Xcm;3233 } & Struct;3234 readonly isSubscribeVersion: boolean;3235 readonly asSubscribeVersion: {3236 readonly queryId: Compact<u64>;3237 readonly maxResponseWeight: Compact<u64>;3238 } & Struct;3239 readonly isUnsubscribeVersion: boolean;3240 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3241}32423243/** @name XcmV2Instruction */3244export interface XcmV2Instruction extends Enum {3245 readonly isWithdrawAsset: boolean;3246 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3247 readonly isReserveAssetDeposited: boolean;3248 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3249 readonly isReceiveTeleportedAsset: boolean;3250 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3251 readonly isQueryResponse: boolean;3252 readonly asQueryResponse: {3253 readonly queryId: Compact<u64>;3254 readonly response: XcmV2Response;3255 readonly maxWeight: Compact<u64>;3256 } & Struct;3257 readonly isTransferAsset: boolean;3258 readonly asTransferAsset: {3259 readonly assets: XcmV1MultiassetMultiAssets;3260 readonly beneficiary: XcmV1MultiLocation;3261 } & Struct;3262 readonly isTransferReserveAsset: boolean;3263 readonly asTransferReserveAsset: {3264 readonly assets: XcmV1MultiassetMultiAssets;3265 readonly dest: XcmV1MultiLocation;3266 readonly xcm: XcmV2Xcm;3267 } & Struct;3268 readonly isTransact: boolean;3269 readonly asTransact: {3270 readonly originType: XcmV0OriginKind;3271 readonly requireWeightAtMost: Compact<u64>;3272 readonly call: XcmDoubleEncoded;3273 } & Struct;3274 readonly isHrmpNewChannelOpenRequest: boolean;3275 readonly asHrmpNewChannelOpenRequest: {3276 readonly sender: Compact<u32>;3277 readonly maxMessageSize: Compact<u32>;3278 readonly maxCapacity: Compact<u32>;3279 } & Struct;3280 readonly isHrmpChannelAccepted: boolean;3281 readonly asHrmpChannelAccepted: {3282 readonly recipient: Compact<u32>;3283 } & Struct;3284 readonly isHrmpChannelClosing: boolean;3285 readonly asHrmpChannelClosing: {3286 readonly initiator: Compact<u32>;3287 readonly sender: Compact<u32>;3288 readonly recipient: Compact<u32>;3289 } & Struct;3290 readonly isClearOrigin: boolean;3291 readonly isDescendOrigin: boolean;3292 readonly asDescendOrigin: XcmV1MultilocationJunctions;3293 readonly isReportError: boolean;3294 readonly asReportError: {3295 readonly queryId: Compact<u64>;3296 readonly dest: XcmV1MultiLocation;3297 readonly maxResponseWeight: Compact<u64>;3298 } & Struct;3299 readonly isDepositAsset: boolean;3300 readonly asDepositAsset: {3301 readonly assets: XcmV1MultiassetMultiAssetFilter;3302 readonly maxAssets: Compact<u32>;3303 readonly beneficiary: XcmV1MultiLocation;3304 } & Struct;3305 readonly isDepositReserveAsset: boolean;3306 readonly asDepositReserveAsset: {3307 readonly assets: XcmV1MultiassetMultiAssetFilter;3308 readonly maxAssets: Compact<u32>;3309 readonly dest: XcmV1MultiLocation;3310 readonly xcm: XcmV2Xcm;3311 } & Struct;3312 readonly isExchangeAsset: boolean;3313 readonly asExchangeAsset: {3314 readonly give: XcmV1MultiassetMultiAssetFilter;3315 readonly receive: XcmV1MultiassetMultiAssets;3316 } & Struct;3317 readonly isInitiateReserveWithdraw: boolean;3318 readonly asInitiateReserveWithdraw: {3319 readonly assets: XcmV1MultiassetMultiAssetFilter;3320 readonly reserve: XcmV1MultiLocation;3321 readonly xcm: XcmV2Xcm;3322 } & Struct;3323 readonly isInitiateTeleport: boolean;3324 readonly asInitiateTeleport: {3325 readonly assets: XcmV1MultiassetMultiAssetFilter;3326 readonly dest: XcmV1MultiLocation;3327 readonly xcm: XcmV2Xcm;3328 } & Struct;3329 readonly isQueryHolding: boolean;3330 readonly asQueryHolding: {3331 readonly queryId: Compact<u64>;3332 readonly dest: XcmV1MultiLocation;3333 readonly assets: XcmV1MultiassetMultiAssetFilter;3334 readonly maxResponseWeight: Compact<u64>;3335 } & Struct;3336 readonly isBuyExecution: boolean;3337 readonly asBuyExecution: {3338 readonly fees: XcmV1MultiAsset;3339 readonly weightLimit: XcmV2WeightLimit;3340 } & Struct;3341 readonly isRefundSurplus: boolean;3342 readonly isSetErrorHandler: boolean;3343 readonly asSetErrorHandler: XcmV2Xcm;3344 readonly isSetAppendix: boolean;3345 readonly asSetAppendix: XcmV2Xcm;3346 readonly isClearError: boolean;3347 readonly isClaimAsset: boolean;3348 readonly asClaimAsset: {3349 readonly assets: XcmV1MultiassetMultiAssets;3350 readonly ticket: XcmV1MultiLocation;3351 } & Struct;3352 readonly isTrap: boolean;3353 readonly asTrap: Compact<u64>;3354 readonly isSubscribeVersion: boolean;3355 readonly asSubscribeVersion: {3356 readonly queryId: Compact<u64>;3357 readonly maxResponseWeight: Compact<u64>;3358 } & Struct;3359 readonly isUnsubscribeVersion: boolean;3360 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';3361}33623363/** @name XcmV2Response */3364export interface XcmV2Response extends Enum {3365 readonly isNull: boolean;3366 readonly isAssets: boolean;3367 readonly asAssets: XcmV1MultiassetMultiAssets;3368 readonly isExecutionResult: boolean;3369 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3370 readonly isVersion: boolean;3371 readonly asVersion: u32;3372 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3373}33743375/** @name XcmV2TraitsError */3376export interface XcmV2TraitsError extends Enum {3377 readonly isOverflow: boolean;3378 readonly isUnimplemented: boolean;3379 readonly isUntrustedReserveLocation: boolean;3380 readonly isUntrustedTeleportLocation: boolean;3381 readonly isMultiLocationFull: boolean;3382 readonly isMultiLocationNotInvertible: boolean;3383 readonly isBadOrigin: boolean;3384 readonly isInvalidLocation: boolean;3385 readonly isAssetNotFound: boolean;3386 readonly isFailedToTransactAsset: boolean;3387 readonly isNotWithdrawable: boolean;3388 readonly isLocationCannotHold: boolean;3389 readonly isExceedsMaxMessageSize: boolean;3390 readonly isDestinationUnsupported: boolean;3391 readonly isTransport: boolean;3392 readonly isUnroutable: boolean;3393 readonly isUnknownClaim: boolean;3394 readonly isFailedToDecode: boolean;3395 readonly isMaxWeightInvalid: boolean;3396 readonly isNotHoldingFees: boolean;3397 readonly isTooExpensive: boolean;3398 readonly isTrap: boolean;3399 readonly asTrap: u64;3400 readonly isUnhandledXcmVersion: boolean;3401 readonly isWeightLimitReached: boolean;3402 readonly asWeightLimitReached: u64;3403 readonly isBarrier: boolean;3404 readonly isWeightNotComputable: boolean;3405 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';3406}34073408/** @name XcmV2TraitsOutcome */3409export interface XcmV2TraitsOutcome extends Enum {3410 readonly isComplete: boolean;3411 readonly asComplete: u64;3412 readonly isIncomplete: boolean;3413 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3414 readonly isError: boolean;3415 readonly asError: XcmV2TraitsError;3416 readonly type: 'Complete' | 'Incomplete' | 'Error';3417}34183419/** @name XcmV2WeightLimit */3420export interface XcmV2WeightLimit extends Enum {3421 readonly isUnlimited: boolean;3422 readonly isLimited: boolean;3423 readonly asLimited: Compact<u64>;3424 readonly type: 'Unlimited' | 'Limited';3425}34263427/** @name XcmV2Xcm */3428export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34293430/** @name XcmVersionedMultiAssets */3431export interface XcmVersionedMultiAssets extends Enum {3432 readonly isV0: boolean;3433 readonly asV0: Vec<XcmV0MultiAsset>;3434 readonly isV1: boolean;3435 readonly asV1: XcmV1MultiassetMultiAssets;3436 readonly type: 'V0' | 'V1';3437}34383439/** @name XcmVersionedMultiLocation */3440export interface XcmVersionedMultiLocation extends Enum {3441 readonly isV0: boolean;3442 readonly asV0: XcmV0MultiLocation;3443 readonly isV1: boolean;3444 readonly asV1: XcmV1MultiLocation;3445 readonly type: 'V0' | 'V1';3446}34473448/** @name XcmVersionedXcm */3449export interface XcmVersionedXcm extends Enum {3450 readonly isV0: boolean;3451 readonly asV0: XcmV0Xcm;3452 readonly isV1: boolean;3453 readonly asV1: XcmV1Xcm;3454 readonly isV2: boolean;3455 readonly asV2: XcmV2Xcm;3456 readonly type: 'V0' | 'V1' | 'V2';3457}34583459export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;815 readonly isStake: boolean;816 readonly asStake: {817 readonly amount: u128;818 } & Struct;819 readonly isUnstake: boolean;820 readonly isSponsorCollection: boolean;821 readonly asSponsorCollection: {822 readonly collectionId: u32;823 } & Struct;824 readonly isStopSponsoringCollection: boolean;825 readonly asStopSponsoringCollection: {826 readonly collectionId: u32;827 } & Struct;828 readonly isSponsorConract: boolean;829 readonly asSponsorConract: {830 readonly contractId: H160;831 } & Struct;832 readonly isStopSponsoringContract: boolean;833 readonly asStopSponsoringContract: {834 readonly contractId: H160;835 } & Struct;836 readonly isPayoutStakers: boolean;837 readonly asPayoutStakers: {838 readonly stakersNumber: Option<u8>;839 } & Struct;840 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorConract' | 'StopSponsoringContract' | 'PayoutStakers';841}842843/** @name PalletAppPromotionError */844export interface PalletAppPromotionError extends Enum {845 readonly isAdminNotSet: boolean;846 readonly isNoPermission: boolean;847 readonly isNotSufficientFounds: boolean;848 readonly isPendingForBlockOverflow: boolean;849 readonly isInvalidArgument: boolean;850 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'PendingForBlockOverflow' | 'InvalidArgument';851}852853/** @name PalletAppPromotionEvent */854export interface PalletAppPromotionEvent extends Enum {855 readonly isStakingRecalculation: boolean;856 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;857 readonly type: 'StakingRecalculation';858}859860/** @name PalletBalancesAccountData */861export interface PalletBalancesAccountData extends Struct {862 readonly free: u128;863 readonly reserved: u128;864 readonly miscFrozen: u128;865 readonly feeFrozen: u128;866}867868/** @name PalletBalancesBalanceLock */869export interface PalletBalancesBalanceLock extends Struct {870 readonly id: U8aFixed;871 readonly amount: u128;872 readonly reasons: PalletBalancesReasons;873}874875/** @name PalletBalancesCall */876export interface PalletBalancesCall extends Enum {877 readonly isTransfer: boolean;878 readonly asTransfer: {879 readonly dest: MultiAddress;880 readonly value: Compact<u128>;881 } & Struct;882 readonly isSetBalance: boolean;883 readonly asSetBalance: {884 readonly who: MultiAddress;885 readonly newFree: Compact<u128>;886 readonly newReserved: Compact<u128>;887 } & Struct;888 readonly isForceTransfer: boolean;889 readonly asForceTransfer: {890 readonly source: MultiAddress;891 readonly dest: MultiAddress;892 readonly value: Compact<u128>;893 } & Struct;894 readonly isTransferKeepAlive: boolean;895 readonly asTransferKeepAlive: {896 readonly dest: MultiAddress;897 readonly value: Compact<u128>;898 } & Struct;899 readonly isTransferAll: boolean;900 readonly asTransferAll: {901 readonly dest: MultiAddress;902 readonly keepAlive: bool;903 } & Struct;904 readonly isForceUnreserve: boolean;905 readonly asForceUnreserve: {906 readonly who: MultiAddress;907 readonly amount: u128;908 } & Struct;909 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';910}911912/** @name PalletBalancesError */913export interface PalletBalancesError extends Enum {914 readonly isVestingBalance: boolean;915 readonly isLiquidityRestrictions: boolean;916 readonly isInsufficientBalance: boolean;917 readonly isExistentialDeposit: boolean;918 readonly isKeepAlive: boolean;919 readonly isExistingVestingSchedule: boolean;920 readonly isDeadAccount: boolean;921 readonly isTooManyReserves: boolean;922 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';923}924925/** @name PalletBalancesEvent */926export interface PalletBalancesEvent extends Enum {927 readonly isEndowed: boolean;928 readonly asEndowed: {929 readonly account: AccountId32;930 readonly freeBalance: u128;931 } & Struct;932 readonly isDustLost: boolean;933 readonly asDustLost: {934 readonly account: AccountId32;935 readonly amount: u128;936 } & Struct;937 readonly isTransfer: boolean;938 readonly asTransfer: {939 readonly from: AccountId32;940 readonly to: AccountId32;941 readonly amount: u128;942 } & Struct;943 readonly isBalanceSet: boolean;944 readonly asBalanceSet: {945 readonly who: AccountId32;946 readonly free: u128;947 readonly reserved: u128;948 } & Struct;949 readonly isReserved: boolean;950 readonly asReserved: {951 readonly who: AccountId32;952 readonly amount: u128;953 } & Struct;954 readonly isUnreserved: boolean;955 readonly asUnreserved: {956 readonly who: AccountId32;957 readonly amount: u128;958 } & Struct;959 readonly isReserveRepatriated: boolean;960 readonly asReserveRepatriated: {961 readonly from: AccountId32;962 readonly to: AccountId32;963 readonly amount: u128;964 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;965 } & Struct;966 readonly isDeposit: boolean;967 readonly asDeposit: {968 readonly who: AccountId32;969 readonly amount: u128;970 } & Struct;971 readonly isWithdraw: boolean;972 readonly asWithdraw: {973 readonly who: AccountId32;974 readonly amount: u128;975 } & Struct;976 readonly isSlashed: boolean;977 readonly asSlashed: {978 readonly who: AccountId32;979 readonly amount: u128;980 } & Struct;981 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';982}983984/** @name PalletBalancesReasons */985export interface PalletBalancesReasons extends Enum {986 readonly isFee: boolean;987 readonly isMisc: boolean;988 readonly isAll: boolean;989 readonly type: 'Fee' | 'Misc' | 'All';990}991992/** @name PalletBalancesReleases */993export interface PalletBalancesReleases extends Enum {994 readonly isV100: boolean;995 readonly isV200: boolean;996 readonly type: 'V100' | 'V200';997}998999/** @name PalletBalancesReserveData */1000export interface PalletBalancesReserveData extends Struct {1001 readonly id: U8aFixed;1002 readonly amount: u128;1003}10041005/** @name PalletCommonError */1006export interface PalletCommonError extends Enum {1007 readonly isCollectionNotFound: boolean;1008 readonly isMustBeTokenOwner: boolean;1009 readonly isNoPermission: boolean;1010 readonly isCantDestroyNotEmptyCollection: boolean;1011 readonly isPublicMintingNotAllowed: boolean;1012 readonly isAddressNotInAllowlist: boolean;1013 readonly isCollectionNameLimitExceeded: boolean;1014 readonly isCollectionDescriptionLimitExceeded: boolean;1015 readonly isCollectionTokenPrefixLimitExceeded: boolean;1016 readonly isTotalCollectionsLimitExceeded: boolean;1017 readonly isCollectionAdminCountExceeded: boolean;1018 readonly isCollectionLimitBoundsExceeded: boolean;1019 readonly isOwnerPermissionsCantBeReverted: boolean;1020 readonly isTransferNotAllowed: boolean;1021 readonly isAccountTokenLimitExceeded: boolean;1022 readonly isCollectionTokenLimitExceeded: boolean;1023 readonly isMetadataFlagFrozen: boolean;1024 readonly isTokenNotFound: boolean;1025 readonly isTokenValueTooLow: boolean;1026 readonly isApprovedValueTooLow: boolean;1027 readonly isCantApproveMoreThanOwned: boolean;1028 readonly isAddressIsZero: boolean;1029 readonly isUnsupportedOperation: boolean;1030 readonly isNotSufficientFounds: boolean;1031 readonly isUserIsNotAllowedToNest: boolean;1032 readonly isSourceCollectionIsNotAllowedToNest: boolean;1033 readonly isCollectionFieldSizeExceeded: boolean;1034 readonly isNoSpaceForProperty: boolean;1035 readonly isPropertyLimitReached: boolean;1036 readonly isPropertyKeyIsTooLong: boolean;1037 readonly isInvalidCharacterInPropertyKey: boolean;1038 readonly isEmptyPropertyKey: boolean;1039 readonly isCollectionIsExternal: boolean;1040 readonly isCollectionIsInternal: boolean;1041 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';1042}10431044/** @name PalletCommonEvent */1045export interface PalletCommonEvent extends Enum {1046 readonly isCollectionCreated: boolean;1047 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1048 readonly isCollectionDestroyed: boolean;1049 readonly asCollectionDestroyed: u32;1050 readonly isItemCreated: boolean;1051 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1052 readonly isItemDestroyed: boolean;1053 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1054 readonly isTransfer: boolean;1055 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1056 readonly isApproved: boolean;1057 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1058 readonly isCollectionPropertySet: boolean;1059 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1060 readonly isCollectionPropertyDeleted: boolean;1061 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1062 readonly isTokenPropertySet: boolean;1063 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1064 readonly isTokenPropertyDeleted: boolean;1065 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1066 readonly isPropertyPermissionSet: boolean;1067 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1068 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1069}10701071/** @name PalletConfigurationCall */1072export interface PalletConfigurationCall extends Enum {1073 readonly isSetWeightToFeeCoefficientOverride: boolean;1074 readonly asSetWeightToFeeCoefficientOverride: {1075 readonly coeff: Option<u32>;1076 } & Struct;1077 readonly isSetMinGasPriceOverride: boolean;1078 readonly asSetMinGasPriceOverride: {1079 readonly coeff: Option<u64>;1080 } & Struct;1081 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1082}10831084/** @name PalletEthereumCall */1085export interface PalletEthereumCall extends Enum {1086 readonly isTransact: boolean;1087 readonly asTransact: {1088 readonly transaction: EthereumTransactionTransactionV2;1089 } & Struct;1090 readonly type: 'Transact';1091}10921093/** @name PalletEthereumError */1094export interface PalletEthereumError extends Enum {1095 readonly isInvalidSignature: boolean;1096 readonly isPreLogExists: boolean;1097 readonly type: 'InvalidSignature' | 'PreLogExists';1098}10991100/** @name PalletEthereumEvent */1101export interface PalletEthereumEvent extends Enum {1102 readonly isExecuted: boolean;1103 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1104 readonly type: 'Executed';1105}11061107/** @name PalletEthereumFakeTransactionFinalizer */1108export interface PalletEthereumFakeTransactionFinalizer extends Null {}11091110/** @name PalletEthereumRawOrigin */1111export interface PalletEthereumRawOrigin extends Enum {1112 readonly isEthereumTransaction: boolean;1113 readonly asEthereumTransaction: H160;1114 readonly type: 'EthereumTransaction';1115}11161117/** @name PalletEvmAccountBasicCrossAccountIdRepr */1118export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1119 readonly isSubstrate: boolean;1120 readonly asSubstrate: AccountId32;1121 readonly isEthereum: boolean;1122 readonly asEthereum: H160;1123 readonly type: 'Substrate' | 'Ethereum';1124}11251126/** @name PalletEvmCall */1127export interface PalletEvmCall extends Enum {1128 readonly isWithdraw: boolean;1129 readonly asWithdraw: {1130 readonly address: H160;1131 readonly value: u128;1132 } & Struct;1133 readonly isCall: boolean;1134 readonly asCall: {1135 readonly source: H160;1136 readonly target: H160;1137 readonly input: Bytes;1138 readonly value: U256;1139 readonly gasLimit: u64;1140 readonly maxFeePerGas: U256;1141 readonly maxPriorityFeePerGas: Option<U256>;1142 readonly nonce: Option<U256>;1143 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1144 } & Struct;1145 readonly isCreate: boolean;1146 readonly asCreate: {1147 readonly source: H160;1148 readonly init: Bytes;1149 readonly value: U256;1150 readonly gasLimit: u64;1151 readonly maxFeePerGas: U256;1152 readonly maxPriorityFeePerGas: Option<U256>;1153 readonly nonce: Option<U256>;1154 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1155 } & Struct;1156 readonly isCreate2: boolean;1157 readonly asCreate2: {1158 readonly source: H160;1159 readonly init: Bytes;1160 readonly salt: H256;1161 readonly value: U256;1162 readonly gasLimit: u64;1163 readonly maxFeePerGas: U256;1164 readonly maxPriorityFeePerGas: Option<U256>;1165 readonly nonce: Option<U256>;1166 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1167 } & Struct;1168 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1169}11701171/** @name PalletEvmCoderSubstrateError */1172export interface PalletEvmCoderSubstrateError extends Enum {1173 readonly isOutOfGas: boolean;1174 readonly isOutOfFund: boolean;1175 readonly type: 'OutOfGas' | 'OutOfFund';1176}11771178/** @name PalletEvmContractHelpersError */1179export interface PalletEvmContractHelpersError extends Enum {1180 readonly isNoPermission: boolean;1181 readonly isNoPendingSponsor: boolean;1182 readonly type: 'NoPermission' | 'NoPendingSponsor';1183}11841185/** @name PalletEvmContractHelpersSponsoringModeT */1186export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1187 readonly isDisabled: boolean;1188 readonly isAllowlisted: boolean;1189 readonly isGenerous: boolean;1190 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1191}11921193/** @name PalletEvmError */1194export interface PalletEvmError extends Enum {1195 readonly isBalanceLow: boolean;1196 readonly isFeeOverflow: boolean;1197 readonly isPaymentOverflow: boolean;1198 readonly isWithdrawFailed: boolean;1199 readonly isGasPriceTooLow: boolean;1200 readonly isInvalidNonce: boolean;1201 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1202}12031204/** @name PalletEvmEvent */1205export interface PalletEvmEvent extends Enum {1206 readonly isLog: boolean;1207 readonly asLog: EthereumLog;1208 readonly isCreated: boolean;1209 readonly asCreated: H160;1210 readonly isCreatedFailed: boolean;1211 readonly asCreatedFailed: H160;1212 readonly isExecuted: boolean;1213 readonly asExecuted: H160;1214 readonly isExecutedFailed: boolean;1215 readonly asExecutedFailed: H160;1216 readonly isBalanceDeposit: boolean;1217 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1218 readonly isBalanceWithdraw: boolean;1219 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1220 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1221}12221223/** @name PalletEvmMigrationCall */1224export interface PalletEvmMigrationCall extends Enum {1225 readonly isBegin: boolean;1226 readonly asBegin: {1227 readonly address: H160;1228 } & Struct;1229 readonly isSetData: boolean;1230 readonly asSetData: {1231 readonly address: H160;1232 readonly data: Vec<ITuple<[H256, H256]>>;1233 } & Struct;1234 readonly isFinish: boolean;1235 readonly asFinish: {1236 readonly address: H160;1237 readonly code: Bytes;1238 } & Struct;1239 readonly type: 'Begin' | 'SetData' | 'Finish';1240}12411242/** @name PalletEvmMigrationError */1243export interface PalletEvmMigrationError extends Enum {1244 readonly isAccountNotEmpty: boolean;1245 readonly isAccountIsNotMigrating: boolean;1246 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1247}12481249/** @name PalletFungibleError */1250export interface PalletFungibleError extends Enum {1251 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1252 readonly isFungibleItemsHaveNoId: boolean;1253 readonly isFungibleItemsDontHaveData: boolean;1254 readonly isFungibleDisallowsNesting: boolean;1255 readonly isSettingPropertiesNotAllowed: boolean;1256 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1257}12581259/** @name PalletInflationCall */1260export interface PalletInflationCall extends Enum {1261 readonly isStartInflation: boolean;1262 readonly asStartInflation: {1263 readonly inflationStartRelayBlock: u32;1264 } & Struct;1265 readonly type: 'StartInflation';1266}12671268/** @name PalletNonfungibleError */1269export interface PalletNonfungibleError extends Enum {1270 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1271 readonly isNonfungibleItemsHaveNoAmount: boolean;1272 readonly isCantBurnNftWithChildren: boolean;1273 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1274}12751276/** @name PalletNonfungibleItemData */1277export interface PalletNonfungibleItemData extends Struct {1278 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1279}12801281/** @name PalletRefungibleError */1282export interface PalletRefungibleError extends Enum {1283 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1284 readonly isWrongRefungiblePieces: boolean;1285 readonly isRepartitionWhileNotOwningAllPieces: boolean;1286 readonly isRefungibleDisallowsNesting: boolean;1287 readonly isSettingPropertiesNotAllowed: boolean;1288 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1289}12901291/** @name PalletRefungibleItemData */1292export interface PalletRefungibleItemData extends Struct {1293 readonly constData: Bytes;1294}12951296/** @name PalletRmrkCoreCall */1297export interface PalletRmrkCoreCall extends Enum {1298 readonly isCreateCollection: boolean;1299 readonly asCreateCollection: {1300 readonly metadata: Bytes;1301 readonly max: Option<u32>;1302 readonly symbol: Bytes;1303 } & Struct;1304 readonly isDestroyCollection: boolean;1305 readonly asDestroyCollection: {1306 readonly collectionId: u32;1307 } & Struct;1308 readonly isChangeCollectionIssuer: boolean;1309 readonly asChangeCollectionIssuer: {1310 readonly collectionId: u32;1311 readonly newIssuer: MultiAddress;1312 } & Struct;1313 readonly isLockCollection: boolean;1314 readonly asLockCollection: {1315 readonly collectionId: u32;1316 } & Struct;1317 readonly isMintNft: boolean;1318 readonly asMintNft: {1319 readonly owner: Option<AccountId32>;1320 readonly collectionId: u32;1321 readonly recipient: Option<AccountId32>;1322 readonly royaltyAmount: Option<Permill>;1323 readonly metadata: Bytes;1324 readonly transferable: bool;1325 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1326 } & Struct;1327 readonly isBurnNft: boolean;1328 readonly asBurnNft: {1329 readonly collectionId: u32;1330 readonly nftId: u32;1331 readonly maxBurns: u32;1332 } & Struct;1333 readonly isSend: boolean;1334 readonly asSend: {1335 readonly rmrkCollectionId: u32;1336 readonly rmrkNftId: u32;1337 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1338 } & Struct;1339 readonly isAcceptNft: boolean;1340 readonly asAcceptNft: {1341 readonly rmrkCollectionId: u32;1342 readonly rmrkNftId: u32;1343 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1344 } & Struct;1345 readonly isRejectNft: boolean;1346 readonly asRejectNft: {1347 readonly rmrkCollectionId: u32;1348 readonly rmrkNftId: u32;1349 } & Struct;1350 readonly isAcceptResource: boolean;1351 readonly asAcceptResource: {1352 readonly rmrkCollectionId: u32;1353 readonly rmrkNftId: u32;1354 readonly resourceId: u32;1355 } & Struct;1356 readonly isAcceptResourceRemoval: boolean;1357 readonly asAcceptResourceRemoval: {1358 readonly rmrkCollectionId: u32;1359 readonly rmrkNftId: u32;1360 readonly resourceId: u32;1361 } & Struct;1362 readonly isSetProperty: boolean;1363 readonly asSetProperty: {1364 readonly rmrkCollectionId: Compact<u32>;1365 readonly maybeNftId: Option<u32>;1366 readonly key: Bytes;1367 readonly value: Bytes;1368 } & Struct;1369 readonly isSetPriority: boolean;1370 readonly asSetPriority: {1371 readonly rmrkCollectionId: u32;1372 readonly rmrkNftId: u32;1373 readonly priorities: Vec<u32>;1374 } & Struct;1375 readonly isAddBasicResource: boolean;1376 readonly asAddBasicResource: {1377 readonly rmrkCollectionId: u32;1378 readonly nftId: u32;1379 readonly resource: RmrkTraitsResourceBasicResource;1380 } & Struct;1381 readonly isAddComposableResource: boolean;1382 readonly asAddComposableResource: {1383 readonly rmrkCollectionId: u32;1384 readonly nftId: u32;1385 readonly resource: RmrkTraitsResourceComposableResource;1386 } & Struct;1387 readonly isAddSlotResource: boolean;1388 readonly asAddSlotResource: {1389 readonly rmrkCollectionId: u32;1390 readonly nftId: u32;1391 readonly resource: RmrkTraitsResourceSlotResource;1392 } & Struct;1393 readonly isRemoveResource: boolean;1394 readonly asRemoveResource: {1395 readonly rmrkCollectionId: u32;1396 readonly nftId: u32;1397 readonly resourceId: u32;1398 } & Struct;1399 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1400}14011402/** @name PalletRmrkCoreError */1403export interface PalletRmrkCoreError extends Enum {1404 readonly isCorruptedCollectionType: boolean;1405 readonly isRmrkPropertyKeyIsTooLong: boolean;1406 readonly isRmrkPropertyValueIsTooLong: boolean;1407 readonly isRmrkPropertyIsNotFound: boolean;1408 readonly isUnableToDecodeRmrkData: boolean;1409 readonly isCollectionNotEmpty: boolean;1410 readonly isNoAvailableCollectionId: boolean;1411 readonly isNoAvailableNftId: boolean;1412 readonly isCollectionUnknown: boolean;1413 readonly isNoPermission: boolean;1414 readonly isNonTransferable: boolean;1415 readonly isCollectionFullOrLocked: boolean;1416 readonly isResourceDoesntExist: boolean;1417 readonly isCannotSendToDescendentOrSelf: boolean;1418 readonly isCannotAcceptNonOwnedNft: boolean;1419 readonly isCannotRejectNonOwnedNft: boolean;1420 readonly isCannotRejectNonPendingNft: boolean;1421 readonly isResourceNotPending: boolean;1422 readonly isNoAvailableResourceId: boolean;1423 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1424}14251426/** @name PalletRmrkCoreEvent */1427export interface PalletRmrkCoreEvent extends Enum {1428 readonly isCollectionCreated: boolean;1429 readonly asCollectionCreated: {1430 readonly issuer: AccountId32;1431 readonly collectionId: u32;1432 } & Struct;1433 readonly isCollectionDestroyed: boolean;1434 readonly asCollectionDestroyed: {1435 readonly issuer: AccountId32;1436 readonly collectionId: u32;1437 } & Struct;1438 readonly isIssuerChanged: boolean;1439 readonly asIssuerChanged: {1440 readonly oldIssuer: AccountId32;1441 readonly newIssuer: AccountId32;1442 readonly collectionId: u32;1443 } & Struct;1444 readonly isCollectionLocked: boolean;1445 readonly asCollectionLocked: {1446 readonly issuer: AccountId32;1447 readonly collectionId: u32;1448 } & Struct;1449 readonly isNftMinted: boolean;1450 readonly asNftMinted: {1451 readonly owner: AccountId32;1452 readonly collectionId: u32;1453 readonly nftId: u32;1454 } & Struct;1455 readonly isNftBurned: boolean;1456 readonly asNftBurned: {1457 readonly owner: AccountId32;1458 readonly nftId: u32;1459 } & Struct;1460 readonly isNftSent: boolean;1461 readonly asNftSent: {1462 readonly sender: AccountId32;1463 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1464 readonly collectionId: u32;1465 readonly nftId: u32;1466 readonly approvalRequired: bool;1467 } & Struct;1468 readonly isNftAccepted: boolean;1469 readonly asNftAccepted: {1470 readonly sender: AccountId32;1471 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1472 readonly collectionId: u32;1473 readonly nftId: u32;1474 } & Struct;1475 readonly isNftRejected: boolean;1476 readonly asNftRejected: {1477 readonly sender: AccountId32;1478 readonly collectionId: u32;1479 readonly nftId: u32;1480 } & Struct;1481 readonly isPropertySet: boolean;1482 readonly asPropertySet: {1483 readonly collectionId: u32;1484 readonly maybeNftId: Option<u32>;1485 readonly key: Bytes;1486 readonly value: Bytes;1487 } & Struct;1488 readonly isResourceAdded: boolean;1489 readonly asResourceAdded: {1490 readonly nftId: u32;1491 readonly resourceId: u32;1492 } & Struct;1493 readonly isResourceRemoval: boolean;1494 readonly asResourceRemoval: {1495 readonly nftId: u32;1496 readonly resourceId: u32;1497 } & Struct;1498 readonly isResourceAccepted: boolean;1499 readonly asResourceAccepted: {1500 readonly nftId: u32;1501 readonly resourceId: u32;1502 } & Struct;1503 readonly isResourceRemovalAccepted: boolean;1504 readonly asResourceRemovalAccepted: {1505 readonly nftId: u32;1506 readonly resourceId: u32;1507 } & Struct;1508 readonly isPrioritySet: boolean;1509 readonly asPrioritySet: {1510 readonly collectionId: u32;1511 readonly nftId: u32;1512 } & Struct;1513 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1514}15151516/** @name PalletRmrkEquipCall */1517export interface PalletRmrkEquipCall extends Enum {1518 readonly isCreateBase: boolean;1519 readonly asCreateBase: {1520 readonly baseType: Bytes;1521 readonly symbol: Bytes;1522 readonly parts: Vec<RmrkTraitsPartPartType>;1523 } & Struct;1524 readonly isThemeAdd: boolean;1525 readonly asThemeAdd: {1526 readonly baseId: u32;1527 readonly theme: RmrkTraitsTheme;1528 } & Struct;1529 readonly isEquippable: boolean;1530 readonly asEquippable: {1531 readonly baseId: u32;1532 readonly slotId: u32;1533 readonly equippables: RmrkTraitsPartEquippableList;1534 } & Struct;1535 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1536}15371538/** @name PalletRmrkEquipError */1539export interface PalletRmrkEquipError extends Enum {1540 readonly isPermissionError: boolean;1541 readonly isNoAvailableBaseId: boolean;1542 readonly isNoAvailablePartId: boolean;1543 readonly isBaseDoesntExist: boolean;1544 readonly isNeedsDefaultThemeFirst: boolean;1545 readonly isPartDoesntExist: boolean;1546 readonly isNoEquippableOnFixedPart: boolean;1547 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1548}15491550/** @name PalletRmrkEquipEvent */1551export interface PalletRmrkEquipEvent extends Enum {1552 readonly isBaseCreated: boolean;1553 readonly asBaseCreated: {1554 readonly issuer: AccountId32;1555 readonly baseId: u32;1556 } & Struct;1557 readonly isEquippablesUpdated: boolean;1558 readonly asEquippablesUpdated: {1559 readonly baseId: u32;1560 readonly slotId: u32;1561 } & Struct;1562 readonly type: 'BaseCreated' | 'EquippablesUpdated';1563}15641565/** @name PalletStructureCall */1566export interface PalletStructureCall extends Null {}15671568/** @name PalletStructureError */1569export interface PalletStructureError extends Enum {1570 readonly isOuroborosDetected: boolean;1571 readonly isDepthLimit: boolean;1572 readonly isBreadthLimit: boolean;1573 readonly isTokenNotFound: boolean;1574 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1575}15761577/** @name PalletStructureEvent */1578export interface PalletStructureEvent extends Enum {1579 readonly isExecuted: boolean;1580 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1581 readonly type: 'Executed';1582}15831584/** @name PalletSudoCall */1585export interface PalletSudoCall extends Enum {1586 readonly isSudo: boolean;1587 readonly asSudo: {1588 readonly call: Call;1589 } & Struct;1590 readonly isSudoUncheckedWeight: boolean;1591 readonly asSudoUncheckedWeight: {1592 readonly call: Call;1593 readonly weight: u64;1594 } & Struct;1595 readonly isSetKey: boolean;1596 readonly asSetKey: {1597 readonly new_: MultiAddress;1598 } & Struct;1599 readonly isSudoAs: boolean;1600 readonly asSudoAs: {1601 readonly who: MultiAddress;1602 readonly call: Call;1603 } & Struct;1604 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1605}16061607/** @name PalletSudoError */1608export interface PalletSudoError extends Enum {1609 readonly isRequireSudo: boolean;1610 readonly type: 'RequireSudo';1611}16121613/** @name PalletSudoEvent */1614export interface PalletSudoEvent extends Enum {1615 readonly isSudid: boolean;1616 readonly asSudid: {1617 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1618 } & Struct;1619 readonly isKeyChanged: boolean;1620 readonly asKeyChanged: {1621 readonly oldSudoer: Option<AccountId32>;1622 } & Struct;1623 readonly isSudoAsDone: boolean;1624 readonly asSudoAsDone: {1625 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1626 } & Struct;1627 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1628}16291630/** @name PalletTemplateTransactionPaymentCall */1631export interface PalletTemplateTransactionPaymentCall extends Null {}16321633/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1634export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16351636/** @name PalletTimestampCall */1637export interface PalletTimestampCall extends Enum {1638 readonly isSet: boolean;1639 readonly asSet: {1640 readonly now: Compact<u64>;1641 } & Struct;1642 readonly type: 'Set';1643}16441645/** @name PalletTransactionPaymentEvent */1646export interface PalletTransactionPaymentEvent extends Enum {1647 readonly isTransactionFeePaid: boolean;1648 readonly asTransactionFeePaid: {1649 readonly who: AccountId32;1650 readonly actualFee: u128;1651 readonly tip: u128;1652 } & Struct;1653 readonly type: 'TransactionFeePaid';1654}16551656/** @name PalletTransactionPaymentReleases */1657export interface PalletTransactionPaymentReleases extends Enum {1658 readonly isV1Ancient: boolean;1659 readonly isV2: boolean;1660 readonly type: 'V1Ancient' | 'V2';1661}16621663/** @name PalletTreasuryCall */1664export interface PalletTreasuryCall extends Enum {1665 readonly isProposeSpend: boolean;1666 readonly asProposeSpend: {1667 readonly value: Compact<u128>;1668 readonly beneficiary: MultiAddress;1669 } & Struct;1670 readonly isRejectProposal: boolean;1671 readonly asRejectProposal: {1672 readonly proposalId: Compact<u32>;1673 } & Struct;1674 readonly isApproveProposal: boolean;1675 readonly asApproveProposal: {1676 readonly proposalId: Compact<u32>;1677 } & Struct;1678 readonly isSpend: boolean;1679 readonly asSpend: {1680 readonly amount: Compact<u128>;1681 readonly beneficiary: MultiAddress;1682 } & Struct;1683 readonly isRemoveApproval: boolean;1684 readonly asRemoveApproval: {1685 readonly proposalId: Compact<u32>;1686 } & Struct;1687 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1688}16891690/** @name PalletTreasuryError */1691export interface PalletTreasuryError extends Enum {1692 readonly isInsufficientProposersBalance: boolean;1693 readonly isInvalidIndex: boolean;1694 readonly isTooManyApprovals: boolean;1695 readonly isInsufficientPermission: boolean;1696 readonly isProposalNotApproved: boolean;1697 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1698}16991700/** @name PalletTreasuryEvent */1701export interface PalletTreasuryEvent extends Enum {1702 readonly isProposed: boolean;1703 readonly asProposed: {1704 readonly proposalIndex: u32;1705 } & Struct;1706 readonly isSpending: boolean;1707 readonly asSpending: {1708 readonly budgetRemaining: u128;1709 } & Struct;1710 readonly isAwarded: boolean;1711 readonly asAwarded: {1712 readonly proposalIndex: u32;1713 readonly award: u128;1714 readonly account: AccountId32;1715 } & Struct;1716 readonly isRejected: boolean;1717 readonly asRejected: {1718 readonly proposalIndex: u32;1719 readonly slashed: u128;1720 } & Struct;1721 readonly isBurnt: boolean;1722 readonly asBurnt: {1723 readonly burntFunds: u128;1724 } & Struct;1725 readonly isRollover: boolean;1726 readonly asRollover: {1727 readonly rolloverBalance: u128;1728 } & Struct;1729 readonly isDeposit: boolean;1730 readonly asDeposit: {1731 readonly value: u128;1732 } & Struct;1733 readonly isSpendApproved: boolean;1734 readonly asSpendApproved: {1735 readonly proposalIndex: u32;1736 readonly amount: u128;1737 readonly beneficiary: AccountId32;1738 } & Struct;1739 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1740}17411742/** @name PalletTreasuryProposal */1743export interface PalletTreasuryProposal extends Struct {1744 readonly proposer: AccountId32;1745 readonly value: u128;1746 readonly beneficiary: AccountId32;1747 readonly bond: u128;1748}17491750/** @name PalletUniqueCall */1751export interface PalletUniqueCall extends Enum {1752 readonly isCreateCollection: boolean;1753 readonly asCreateCollection: {1754 readonly collectionName: Vec<u16>;1755 readonly collectionDescription: Vec<u16>;1756 readonly tokenPrefix: Bytes;1757 readonly mode: UpDataStructsCollectionMode;1758 } & Struct;1759 readonly isCreateCollectionEx: boolean;1760 readonly asCreateCollectionEx: {1761 readonly data: UpDataStructsCreateCollectionData;1762 } & Struct;1763 readonly isDestroyCollection: boolean;1764 readonly asDestroyCollection: {1765 readonly collectionId: u32;1766 } & Struct;1767 readonly isAddToAllowList: boolean;1768 readonly asAddToAllowList: {1769 readonly collectionId: u32;1770 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1771 } & Struct;1772 readonly isRemoveFromAllowList: boolean;1773 readonly asRemoveFromAllowList: {1774 readonly collectionId: u32;1775 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1776 } & Struct;1777 readonly isChangeCollectionOwner: boolean;1778 readonly asChangeCollectionOwner: {1779 readonly collectionId: u32;1780 readonly newOwner: AccountId32;1781 } & Struct;1782 readonly isAddCollectionAdmin: boolean;1783 readonly asAddCollectionAdmin: {1784 readonly collectionId: u32;1785 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1786 } & Struct;1787 readonly isRemoveCollectionAdmin: boolean;1788 readonly asRemoveCollectionAdmin: {1789 readonly collectionId: u32;1790 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1791 } & Struct;1792 readonly isSetCollectionSponsor: boolean;1793 readonly asSetCollectionSponsor: {1794 readonly collectionId: u32;1795 readonly newSponsor: AccountId32;1796 } & Struct;1797 readonly isConfirmSponsorship: boolean;1798 readonly asConfirmSponsorship: {1799 readonly collectionId: u32;1800 } & Struct;1801 readonly isRemoveCollectionSponsor: boolean;1802 readonly asRemoveCollectionSponsor: {1803 readonly collectionId: u32;1804 } & Struct;1805 readonly isCreateItem: boolean;1806 readonly asCreateItem: {1807 readonly collectionId: u32;1808 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1809 readonly data: UpDataStructsCreateItemData;1810 } & Struct;1811 readonly isCreateMultipleItems: boolean;1812 readonly asCreateMultipleItems: {1813 readonly collectionId: u32;1814 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1815 readonly itemsData: Vec<UpDataStructsCreateItemData>;1816 } & Struct;1817 readonly isSetCollectionProperties: boolean;1818 readonly asSetCollectionProperties: {1819 readonly collectionId: u32;1820 readonly properties: Vec<UpDataStructsProperty>;1821 } & Struct;1822 readonly isDeleteCollectionProperties: boolean;1823 readonly asDeleteCollectionProperties: {1824 readonly collectionId: u32;1825 readonly propertyKeys: Vec<Bytes>;1826 } & Struct;1827 readonly isSetTokenProperties: boolean;1828 readonly asSetTokenProperties: {1829 readonly collectionId: u32;1830 readonly tokenId: u32;1831 readonly properties: Vec<UpDataStructsProperty>;1832 } & Struct;1833 readonly isDeleteTokenProperties: boolean;1834 readonly asDeleteTokenProperties: {1835 readonly collectionId: u32;1836 readonly tokenId: u32;1837 readonly propertyKeys: Vec<Bytes>;1838 } & Struct;1839 readonly isSetTokenPropertyPermissions: boolean;1840 readonly asSetTokenPropertyPermissions: {1841 readonly collectionId: u32;1842 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1843 } & Struct;1844 readonly isCreateMultipleItemsEx: boolean;1845 readonly asCreateMultipleItemsEx: {1846 readonly collectionId: u32;1847 readonly data: UpDataStructsCreateItemExData;1848 } & Struct;1849 readonly isSetTransfersEnabledFlag: boolean;1850 readonly asSetTransfersEnabledFlag: {1851 readonly collectionId: u32;1852 readonly value: bool;1853 } & Struct;1854 readonly isBurnItem: boolean;1855 readonly asBurnItem: {1856 readonly collectionId: u32;1857 readonly itemId: u32;1858 readonly value: u128;1859 } & Struct;1860 readonly isBurnFrom: boolean;1861 readonly asBurnFrom: {1862 readonly collectionId: u32;1863 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1864 readonly itemId: u32;1865 readonly value: u128;1866 } & Struct;1867 readonly isTransfer: boolean;1868 readonly asTransfer: {1869 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1870 readonly collectionId: u32;1871 readonly itemId: u32;1872 readonly value: u128;1873 } & Struct;1874 readonly isApprove: boolean;1875 readonly asApprove: {1876 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1877 readonly collectionId: u32;1878 readonly itemId: u32;1879 readonly amount: u128;1880 } & Struct;1881 readonly isTransferFrom: boolean;1882 readonly asTransferFrom: {1883 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1884 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1885 readonly collectionId: u32;1886 readonly itemId: u32;1887 readonly value: u128;1888 } & Struct;1889 readonly isSetCollectionLimits: boolean;1890 readonly asSetCollectionLimits: {1891 readonly collectionId: u32;1892 readonly newLimit: UpDataStructsCollectionLimits;1893 } & Struct;1894 readonly isSetCollectionPermissions: boolean;1895 readonly asSetCollectionPermissions: {1896 readonly collectionId: u32;1897 readonly newPermission: UpDataStructsCollectionPermissions;1898 } & Struct;1899 readonly isRepartition: boolean;1900 readonly asRepartition: {1901 readonly collectionId: u32;1902 readonly tokenId: u32;1903 readonly amount: u128;1904 } & Struct;1905 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' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';1906}19071908/** @name PalletUniqueError */1909export interface PalletUniqueError extends Enum {1910 readonly isCollectionDecimalPointLimitExceeded: boolean;1911 readonly isConfirmUnsetSponsorFail: boolean;1912 readonly isEmptyArgument: boolean;1913 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1914 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1915}19161917/** @name PalletUniqueRawEvent */1918export interface PalletUniqueRawEvent extends Enum {1919 readonly isCollectionSponsorRemoved: boolean;1920 readonly asCollectionSponsorRemoved: u32;1921 readonly isCollectionAdminAdded: boolean;1922 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1923 readonly isCollectionOwnedChanged: boolean;1924 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1925 readonly isCollectionSponsorSet: boolean;1926 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1927 readonly isSponsorshipConfirmed: boolean;1928 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1929 readonly isCollectionAdminRemoved: boolean;1930 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1931 readonly isAllowListAddressRemoved: boolean;1932 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1933 readonly isAllowListAddressAdded: boolean;1934 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1935 readonly isCollectionLimitSet: boolean;1936 readonly asCollectionLimitSet: u32;1937 readonly isCollectionPermissionSet: boolean;1938 readonly asCollectionPermissionSet: u32;1939 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1940}19411942/** @name PalletUniqueSchedulerCall */1943export interface PalletUniqueSchedulerCall extends Enum {1944 readonly isScheduleNamed: boolean;1945 readonly asScheduleNamed: {1946 readonly id: U8aFixed;1947 readonly when: u32;1948 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1949 readonly priority: u8;1950 readonly call: FrameSupportScheduleMaybeHashed;1951 } & Struct;1952 readonly isCancelNamed: boolean;1953 readonly asCancelNamed: {1954 readonly id: U8aFixed;1955 } & Struct;1956 readonly isScheduleNamedAfter: boolean;1957 readonly asScheduleNamedAfter: {1958 readonly id: U8aFixed;1959 readonly after: u32;1960 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1961 readonly priority: u8;1962 readonly call: FrameSupportScheduleMaybeHashed;1963 } & Struct;1964 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1965}19661967/** @name PalletUniqueSchedulerError */1968export interface PalletUniqueSchedulerError extends Enum {1969 readonly isFailedToSchedule: boolean;1970 readonly isNotFound: boolean;1971 readonly isTargetBlockNumberInPast: boolean;1972 readonly isRescheduleNoChange: boolean;1973 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1974}19751976/** @name PalletUniqueSchedulerEvent */1977export interface PalletUniqueSchedulerEvent extends Enum {1978 readonly isScheduled: boolean;1979 readonly asScheduled: {1980 readonly when: u32;1981 readonly index: u32;1982 } & Struct;1983 readonly isCanceled: boolean;1984 readonly asCanceled: {1985 readonly when: u32;1986 readonly index: u32;1987 } & Struct;1988 readonly isDispatched: boolean;1989 readonly asDispatched: {1990 readonly task: ITuple<[u32, u32]>;1991 readonly id: Option<U8aFixed>;1992 readonly result: Result<Null, SpRuntimeDispatchError>;1993 } & Struct;1994 readonly isCallLookupFailed: boolean;1995 readonly asCallLookupFailed: {1996 readonly task: ITuple<[u32, u32]>;1997 readonly id: Option<U8aFixed>;1998 readonly error: FrameSupportScheduleLookupError;1999 } & Struct;2000 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2001}20022003/** @name PalletUniqueSchedulerScheduledV3 */2004export interface PalletUniqueSchedulerScheduledV3 extends Struct {2005 readonly maybeId: Option<U8aFixed>;2006 readonly priority: u8;2007 readonly call: FrameSupportScheduleMaybeHashed;2008 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2009 readonly origin: OpalRuntimeOriginCaller;2010}20112012/** @name PalletXcmCall */2013export interface PalletXcmCall extends Enum {2014 readonly isSend: boolean;2015 readonly asSend: {2016 readonly dest: XcmVersionedMultiLocation;2017 readonly message: XcmVersionedXcm;2018 } & Struct;2019 readonly isTeleportAssets: boolean;2020 readonly asTeleportAssets: {2021 readonly dest: XcmVersionedMultiLocation;2022 readonly beneficiary: XcmVersionedMultiLocation;2023 readonly assets: XcmVersionedMultiAssets;2024 readonly feeAssetItem: u32;2025 } & Struct;2026 readonly isReserveTransferAssets: boolean;2027 readonly asReserveTransferAssets: {2028 readonly dest: XcmVersionedMultiLocation;2029 readonly beneficiary: XcmVersionedMultiLocation;2030 readonly assets: XcmVersionedMultiAssets;2031 readonly feeAssetItem: u32;2032 } & Struct;2033 readonly isExecute: boolean;2034 readonly asExecute: {2035 readonly message: XcmVersionedXcm;2036 readonly maxWeight: u64;2037 } & Struct;2038 readonly isForceXcmVersion: boolean;2039 readonly asForceXcmVersion: {2040 readonly location: XcmV1MultiLocation;2041 readonly xcmVersion: u32;2042 } & Struct;2043 readonly isForceDefaultXcmVersion: boolean;2044 readonly asForceDefaultXcmVersion: {2045 readonly maybeXcmVersion: Option<u32>;2046 } & Struct;2047 readonly isForceSubscribeVersionNotify: boolean;2048 readonly asForceSubscribeVersionNotify: {2049 readonly location: XcmVersionedMultiLocation;2050 } & Struct;2051 readonly isForceUnsubscribeVersionNotify: boolean;2052 readonly asForceUnsubscribeVersionNotify: {2053 readonly location: XcmVersionedMultiLocation;2054 } & Struct;2055 readonly isLimitedReserveTransferAssets: boolean;2056 readonly asLimitedReserveTransferAssets: {2057 readonly dest: XcmVersionedMultiLocation;2058 readonly beneficiary: XcmVersionedMultiLocation;2059 readonly assets: XcmVersionedMultiAssets;2060 readonly feeAssetItem: u32;2061 readonly weightLimit: XcmV2WeightLimit;2062 } & Struct;2063 readonly isLimitedTeleportAssets: boolean;2064 readonly asLimitedTeleportAssets: {2065 readonly dest: XcmVersionedMultiLocation;2066 readonly beneficiary: XcmVersionedMultiLocation;2067 readonly assets: XcmVersionedMultiAssets;2068 readonly feeAssetItem: u32;2069 readonly weightLimit: XcmV2WeightLimit;2070 } & Struct;2071 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2072}20732074/** @name PalletXcmError */2075export interface PalletXcmError extends Enum {2076 readonly isUnreachable: boolean;2077 readonly isSendFailure: boolean;2078 readonly isFiltered: boolean;2079 readonly isUnweighableMessage: boolean;2080 readonly isDestinationNotInvertible: boolean;2081 readonly isEmpty: boolean;2082 readonly isCannotReanchor: boolean;2083 readonly isTooManyAssets: boolean;2084 readonly isInvalidOrigin: boolean;2085 readonly isBadVersion: boolean;2086 readonly isBadLocation: boolean;2087 readonly isNoSubscription: boolean;2088 readonly isAlreadySubscribed: boolean;2089 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2090}20912092/** @name PalletXcmEvent */2093export interface PalletXcmEvent extends Enum {2094 readonly isAttempted: boolean;2095 readonly asAttempted: XcmV2TraitsOutcome;2096 readonly isSent: boolean;2097 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2098 readonly isUnexpectedResponse: boolean;2099 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2100 readonly isResponseReady: boolean;2101 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2102 readonly isNotified: boolean;2103 readonly asNotified: ITuple<[u64, u8, u8]>;2104 readonly isNotifyOverweight: boolean;2105 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2106 readonly isNotifyDispatchError: boolean;2107 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2108 readonly isNotifyDecodeFailed: boolean;2109 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2110 readonly isInvalidResponder: boolean;2111 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2112 readonly isInvalidResponderVersion: boolean;2113 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2114 readonly isResponseTaken: boolean;2115 readonly asResponseTaken: u64;2116 readonly isAssetsTrapped: boolean;2117 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2118 readonly isVersionChangeNotified: boolean;2119 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2120 readonly isSupportedVersionChanged: boolean;2121 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2122 readonly isNotifyTargetSendFail: boolean;2123 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2124 readonly isNotifyTargetMigrationFail: boolean;2125 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2126 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2127}21282129/** @name PalletXcmOrigin */2130export interface PalletXcmOrigin extends Enum {2131 readonly isXcm: boolean;2132 readonly asXcm: XcmV1MultiLocation;2133 readonly isResponse: boolean;2134 readonly asResponse: XcmV1MultiLocation;2135 readonly type: 'Xcm' | 'Response';2136}21372138/** @name PhantomTypeUpDataStructs */2139export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21402141/** @name PolkadotCorePrimitivesInboundDownwardMessage */2142export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2143 readonly sentAt: u32;2144 readonly msg: Bytes;2145}21462147/** @name PolkadotCorePrimitivesInboundHrmpMessage */2148export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2149 readonly sentAt: u32;2150 readonly data: Bytes;2151}21522153/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2154export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2155 readonly recipient: u32;2156 readonly data: Bytes;2157}21582159/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2160export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2161 readonly isConcatenatedVersionedXcm: boolean;2162 readonly isConcatenatedEncodedBlob: boolean;2163 readonly isSignals: boolean;2164 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2165}21662167/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2168export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2169 readonly maxCodeSize: u32;2170 readonly maxHeadDataSize: u32;2171 readonly maxUpwardQueueCount: u32;2172 readonly maxUpwardQueueSize: u32;2173 readonly maxUpwardMessageSize: u32;2174 readonly maxUpwardMessageNumPerCandidate: u32;2175 readonly hrmpMaxMessageNumPerCandidate: u32;2176 readonly validationUpgradeCooldown: u32;2177 readonly validationUpgradeDelay: u32;2178}21792180/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2181export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2182 readonly maxCapacity: u32;2183 readonly maxTotalSize: u32;2184 readonly maxMessageSize: u32;2185 readonly msgCount: u32;2186 readonly totalSize: u32;2187 readonly mqcHead: Option<H256>;2188}21892190/** @name PolkadotPrimitivesV2PersistedValidationData */2191export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2192 readonly parentHead: Bytes;2193 readonly relayParentNumber: u32;2194 readonly relayParentStorageRoot: H256;2195 readonly maxPovSize: u32;2196}21972198/** @name PolkadotPrimitivesV2UpgradeRestriction */2199export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2200 readonly isPresent: boolean;2201 readonly type: 'Present';2202}22032204/** @name RmrkTraitsBaseBaseInfo */2205export interface RmrkTraitsBaseBaseInfo extends Struct {2206 readonly issuer: AccountId32;2207 readonly baseType: Bytes;2208 readonly symbol: Bytes;2209}22102211/** @name RmrkTraitsCollectionCollectionInfo */2212export interface RmrkTraitsCollectionCollectionInfo extends Struct {2213 readonly issuer: AccountId32;2214 readonly metadata: Bytes;2215 readonly max: Option<u32>;2216 readonly symbol: Bytes;2217 readonly nftsCount: u32;2218}22192220/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2221export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2222 readonly isAccountId: boolean;2223 readonly asAccountId: AccountId32;2224 readonly isCollectionAndNftTuple: boolean;2225 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2226 readonly type: 'AccountId' | 'CollectionAndNftTuple';2227}22282229/** @name RmrkTraitsNftNftChild */2230export interface RmrkTraitsNftNftChild extends Struct {2231 readonly collectionId: u32;2232 readonly nftId: u32;2233}22342235/** @name RmrkTraitsNftNftInfo */2236export interface RmrkTraitsNftNftInfo extends Struct {2237 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2238 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2239 readonly metadata: Bytes;2240 readonly equipped: bool;2241 readonly pending: bool;2242}22432244/** @name RmrkTraitsNftRoyaltyInfo */2245export interface RmrkTraitsNftRoyaltyInfo extends Struct {2246 readonly recipient: AccountId32;2247 readonly amount: Permill;2248}22492250/** @name RmrkTraitsPartEquippableList */2251export interface RmrkTraitsPartEquippableList extends Enum {2252 readonly isAll: boolean;2253 readonly isEmpty: boolean;2254 readonly isCustom: boolean;2255 readonly asCustom: Vec<u32>;2256 readonly type: 'All' | 'Empty' | 'Custom';2257}22582259/** @name RmrkTraitsPartFixedPart */2260export interface RmrkTraitsPartFixedPart extends Struct {2261 readonly id: u32;2262 readonly z: u32;2263 readonly src: Bytes;2264}22652266/** @name RmrkTraitsPartPartType */2267export interface RmrkTraitsPartPartType extends Enum {2268 readonly isFixedPart: boolean;2269 readonly asFixedPart: RmrkTraitsPartFixedPart;2270 readonly isSlotPart: boolean;2271 readonly asSlotPart: RmrkTraitsPartSlotPart;2272 readonly type: 'FixedPart' | 'SlotPart';2273}22742275/** @name RmrkTraitsPartSlotPart */2276export interface RmrkTraitsPartSlotPart extends Struct {2277 readonly id: u32;2278 readonly equippable: RmrkTraitsPartEquippableList;2279 readonly src: Bytes;2280 readonly z: u32;2281}22822283/** @name RmrkTraitsPropertyPropertyInfo */2284export interface RmrkTraitsPropertyPropertyInfo extends Struct {2285 readonly key: Bytes;2286 readonly value: Bytes;2287}22882289/** @name RmrkTraitsResourceBasicResource */2290export interface RmrkTraitsResourceBasicResource extends Struct {2291 readonly src: Option<Bytes>;2292 readonly metadata: Option<Bytes>;2293 readonly license: Option<Bytes>;2294 readonly thumb: Option<Bytes>;2295}22962297/** @name RmrkTraitsResourceComposableResource */2298export interface RmrkTraitsResourceComposableResource extends Struct {2299 readonly parts: Vec<u32>;2300 readonly base: u32;2301 readonly src: Option<Bytes>;2302 readonly metadata: Option<Bytes>;2303 readonly license: Option<Bytes>;2304 readonly thumb: Option<Bytes>;2305}23062307/** @name RmrkTraitsResourceResourceInfo */2308export interface RmrkTraitsResourceResourceInfo extends Struct {2309 readonly id: u32;2310 readonly resource: RmrkTraitsResourceResourceTypes;2311 readonly pending: bool;2312 readonly pendingRemoval: bool;2313}23142315/** @name RmrkTraitsResourceResourceTypes */2316export interface RmrkTraitsResourceResourceTypes extends Enum {2317 readonly isBasic: boolean;2318 readonly asBasic: RmrkTraitsResourceBasicResource;2319 readonly isComposable: boolean;2320 readonly asComposable: RmrkTraitsResourceComposableResource;2321 readonly isSlot: boolean;2322 readonly asSlot: RmrkTraitsResourceSlotResource;2323 readonly type: 'Basic' | 'Composable' | 'Slot';2324}23252326/** @name RmrkTraitsResourceSlotResource */2327export interface RmrkTraitsResourceSlotResource extends Struct {2328 readonly base: u32;2329 readonly src: Option<Bytes>;2330 readonly metadata: Option<Bytes>;2331 readonly slot: u32;2332 readonly license: Option<Bytes>;2333 readonly thumb: Option<Bytes>;2334}23352336/** @name RmrkTraitsTheme */2337export interface RmrkTraitsTheme extends Struct {2338 readonly name: Bytes;2339 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2340 readonly inherit: bool;2341}23422343/** @name RmrkTraitsThemeThemeProperty */2344export interface RmrkTraitsThemeThemeProperty extends Struct {2345 readonly key: Bytes;2346 readonly value: Bytes;2347}23482349/** @name SpCoreEcdsaSignature */2350export interface SpCoreEcdsaSignature extends U8aFixed {}23512352/** @name SpCoreEd25519Signature */2353export interface SpCoreEd25519Signature extends U8aFixed {}23542355/** @name SpCoreSr25519Signature */2356export interface SpCoreSr25519Signature extends U8aFixed {}23572358/** @name SpCoreVoid */2359export interface SpCoreVoid extends Null {}23602361/** @name SpRuntimeArithmeticError */2362export interface SpRuntimeArithmeticError extends Enum {2363 readonly isUnderflow: boolean;2364 readonly isOverflow: boolean;2365 readonly isDivisionByZero: boolean;2366 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2367}23682369/** @name SpRuntimeDigest */2370export interface SpRuntimeDigest extends Struct {2371 readonly logs: Vec<SpRuntimeDigestDigestItem>;2372}23732374/** @name SpRuntimeDigestDigestItem */2375export interface SpRuntimeDigestDigestItem extends Enum {2376 readonly isOther: boolean;2377 readonly asOther: Bytes;2378 readonly isConsensus: boolean;2379 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2380 readonly isSeal: boolean;2381 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2382 readonly isPreRuntime: boolean;2383 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2384 readonly isRuntimeEnvironmentUpdated: boolean;2385 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2386}23872388/** @name SpRuntimeDispatchError */2389export interface SpRuntimeDispatchError extends Enum {2390 readonly isOther: boolean;2391 readonly isCannotLookup: boolean;2392 readonly isBadOrigin: boolean;2393 readonly isModule: boolean;2394 readonly asModule: SpRuntimeModuleError;2395 readonly isConsumerRemaining: boolean;2396 readonly isNoProviders: boolean;2397 readonly isTooManyConsumers: boolean;2398 readonly isToken: boolean;2399 readonly asToken: SpRuntimeTokenError;2400 readonly isArithmetic: boolean;2401 readonly asArithmetic: SpRuntimeArithmeticError;2402 readonly isTransactional: boolean;2403 readonly asTransactional: SpRuntimeTransactionalError;2404 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2405}24062407/** @name SpRuntimeModuleError */2408export interface SpRuntimeModuleError extends Struct {2409 readonly index: u8;2410 readonly error: U8aFixed;2411}24122413/** @name SpRuntimeMultiSignature */2414export interface SpRuntimeMultiSignature extends Enum {2415 readonly isEd25519: boolean;2416 readonly asEd25519: SpCoreEd25519Signature;2417 readonly isSr25519: boolean;2418 readonly asSr25519: SpCoreSr25519Signature;2419 readonly isEcdsa: boolean;2420 readonly asEcdsa: SpCoreEcdsaSignature;2421 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2422}24232424/** @name SpRuntimeTokenError */2425export interface SpRuntimeTokenError extends Enum {2426 readonly isNoFunds: boolean;2427 readonly isWouldDie: boolean;2428 readonly isBelowMinimum: boolean;2429 readonly isCannotCreate: boolean;2430 readonly isUnknownAsset: boolean;2431 readonly isFrozen: boolean;2432 readonly isUnsupported: boolean;2433 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2434}24352436/** @name SpRuntimeTransactionalError */2437export interface SpRuntimeTransactionalError extends Enum {2438 readonly isLimitReached: boolean;2439 readonly isNoLayer: boolean;2440 readonly type: 'LimitReached' | 'NoLayer';2441}24422443/** @name SpTrieStorageProof */2444export interface SpTrieStorageProof extends Struct {2445 readonly trieNodes: BTreeSet<Bytes>;2446}24472448/** @name SpVersionRuntimeVersion */2449export interface SpVersionRuntimeVersion extends Struct {2450 readonly specName: Text;2451 readonly implName: Text;2452 readonly authoringVersion: u32;2453 readonly specVersion: u32;2454 readonly implVersion: u32;2455 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2456 readonly transactionVersion: u32;2457 readonly stateVersion: u8;2458}24592460/** @name UpDataStructsAccessMode */2461export interface UpDataStructsAccessMode extends Enum {2462 readonly isNormal: boolean;2463 readonly isAllowList: boolean;2464 readonly type: 'Normal' | 'AllowList';2465}24662467/** @name UpDataStructsCollection */2468export interface UpDataStructsCollection extends Struct {2469 readonly owner: AccountId32;2470 readonly mode: UpDataStructsCollectionMode;2471 readonly name: Vec<u16>;2472 readonly description: Vec<u16>;2473 readonly tokenPrefix: Bytes;2474 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2475 readonly limits: UpDataStructsCollectionLimits;2476 readonly permissions: UpDataStructsCollectionPermissions;2477 readonly externalCollection: bool;2478}24792480/** @name UpDataStructsCollectionLimits */2481export interface UpDataStructsCollectionLimits extends Struct {2482 readonly accountTokenOwnershipLimit: Option<u32>;2483 readonly sponsoredDataSize: Option<u32>;2484 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2485 readonly tokenLimit: Option<u32>;2486 readonly sponsorTransferTimeout: Option<u32>;2487 readonly sponsorApproveTimeout: Option<u32>;2488 readonly ownerCanTransfer: Option<bool>;2489 readonly ownerCanDestroy: Option<bool>;2490 readonly transfersEnabled: Option<bool>;2491}24922493/** @name UpDataStructsCollectionMode */2494export interface UpDataStructsCollectionMode extends Enum {2495 readonly isNft: boolean;2496 readonly isFungible: boolean;2497 readonly asFungible: u8;2498 readonly isReFungible: boolean;2499 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2500}25012502/** @name UpDataStructsCollectionPermissions */2503export interface UpDataStructsCollectionPermissions extends Struct {2504 readonly access: Option<UpDataStructsAccessMode>;2505 readonly mintMode: Option<bool>;2506 readonly nesting: Option<UpDataStructsNestingPermissions>;2507}25082509/** @name UpDataStructsCollectionStats */2510export interface UpDataStructsCollectionStats extends Struct {2511 readonly created: u32;2512 readonly destroyed: u32;2513 readonly alive: u32;2514}25152516/** @name UpDataStructsCreateCollectionData */2517export interface UpDataStructsCreateCollectionData extends Struct {2518 readonly mode: UpDataStructsCollectionMode;2519 readonly access: Option<UpDataStructsAccessMode>;2520 readonly name: Vec<u16>;2521 readonly description: Vec<u16>;2522 readonly tokenPrefix: Bytes;2523 readonly pendingSponsor: Option<AccountId32>;2524 readonly limits: Option<UpDataStructsCollectionLimits>;2525 readonly permissions: Option<UpDataStructsCollectionPermissions>;2526 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2527 readonly properties: Vec<UpDataStructsProperty>;2528}25292530/** @name UpDataStructsCreateFungibleData */2531export interface UpDataStructsCreateFungibleData extends Struct {2532 readonly value: u128;2533}25342535/** @name UpDataStructsCreateItemData */2536export interface UpDataStructsCreateItemData extends Enum {2537 readonly isNft: boolean;2538 readonly asNft: UpDataStructsCreateNftData;2539 readonly isFungible: boolean;2540 readonly asFungible: UpDataStructsCreateFungibleData;2541 readonly isReFungible: boolean;2542 readonly asReFungible: UpDataStructsCreateReFungibleData;2543 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2544}25452546/** @name UpDataStructsCreateItemExData */2547export interface UpDataStructsCreateItemExData extends Enum {2548 readonly isNft: boolean;2549 readonly asNft: Vec<UpDataStructsCreateNftExData>;2550 readonly isFungible: boolean;2551 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2552 readonly isRefungibleMultipleItems: boolean;2553 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2554 readonly isRefungibleMultipleOwners: boolean;2555 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2556 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2557}25582559/** @name UpDataStructsCreateNftData */2560export interface UpDataStructsCreateNftData extends Struct {2561 readonly properties: Vec<UpDataStructsProperty>;2562}25632564/** @name UpDataStructsCreateNftExData */2565export interface UpDataStructsCreateNftExData extends Struct {2566 readonly properties: Vec<UpDataStructsProperty>;2567 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2568}25692570/** @name UpDataStructsCreateReFungibleData */2571export interface UpDataStructsCreateReFungibleData extends Struct {2572 readonly pieces: u128;2573 readonly properties: Vec<UpDataStructsProperty>;2574}25752576/** @name UpDataStructsCreateRefungibleExMultipleOwners */2577export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2578 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2579 readonly properties: Vec<UpDataStructsProperty>;2580}25812582/** @name UpDataStructsCreateRefungibleExSingleOwner */2583export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2584 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2585 readonly pieces: u128;2586 readonly properties: Vec<UpDataStructsProperty>;2587}25882589/** @name UpDataStructsNestingPermissions */2590export interface UpDataStructsNestingPermissions extends Struct {2591 readonly tokenOwner: bool;2592 readonly collectionAdmin: bool;2593 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2594}25952596/** @name UpDataStructsOwnerRestrictedSet */2597export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25982599/** @name UpDataStructsProperties */2600export interface UpDataStructsProperties extends Struct {2601 readonly map: UpDataStructsPropertiesMapBoundedVec;2602 readonly consumedSpace: u32;2603 readonly spaceLimit: u32;2604}26052606/** @name UpDataStructsPropertiesMapBoundedVec */2607export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26082609/** @name UpDataStructsPropertiesMapPropertyPermission */2610export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26112612/** @name UpDataStructsProperty */2613export interface UpDataStructsProperty extends Struct {2614 readonly key: Bytes;2615 readonly value: Bytes;2616}26172618/** @name UpDataStructsPropertyKeyPermission */2619export interface UpDataStructsPropertyKeyPermission extends Struct {2620 readonly key: Bytes;2621 readonly permission: UpDataStructsPropertyPermission;2622}26232624/** @name UpDataStructsPropertyPermission */2625export interface UpDataStructsPropertyPermission extends Struct {2626 readonly mutable: bool;2627 readonly collectionAdmin: bool;2628 readonly tokenOwner: bool;2629}26302631/** @name UpDataStructsPropertyScope */2632export interface UpDataStructsPropertyScope extends Enum {2633 readonly isNone: boolean;2634 readonly isRmrk: boolean;2635 readonly type: 'None' | 'Rmrk';2636}26372638/** @name UpDataStructsRpcCollection */2639export interface UpDataStructsRpcCollection extends Struct {2640 readonly owner: AccountId32;2641 readonly mode: UpDataStructsCollectionMode;2642 readonly name: Vec<u16>;2643 readonly description: Vec<u16>;2644 readonly tokenPrefix: Bytes;2645 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2646 readonly limits: UpDataStructsCollectionLimits;2647 readonly permissions: UpDataStructsCollectionPermissions;2648 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2649 readonly properties: Vec<UpDataStructsProperty>;2650 readonly readOnly: bool;2651}26522653/** @name UpDataStructsSponsoringRateLimit */2654export interface UpDataStructsSponsoringRateLimit extends Enum {2655 readonly isSponsoringDisabled: boolean;2656 readonly isBlocks: boolean;2657 readonly asBlocks: u32;2658 readonly type: 'SponsoringDisabled' | 'Blocks';2659}26602661/** @name UpDataStructsSponsorshipStateAccountId32 */2662export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2663 readonly isDisabled: boolean;2664 readonly isUnconfirmed: boolean;2665 readonly asUnconfirmed: AccountId32;2666 readonly isConfirmed: boolean;2667 readonly asConfirmed: AccountId32;2668 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2669}26702671/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2672export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {2673 readonly isDisabled: boolean;2674 readonly isUnconfirmed: boolean;2675 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2676 readonly isConfirmed: boolean;2677 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2678 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2679}26802681/** @name UpDataStructsTokenChild */2682export interface UpDataStructsTokenChild extends Struct {2683 readonly token: u32;2684 readonly collection: u32;2685}26862687/** @name UpDataStructsTokenData */2688export interface UpDataStructsTokenData extends Struct {2689 readonly properties: Vec<UpDataStructsProperty>;2690 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2691 readonly pieces: u128;2692}26932694/** @name XcmDoubleEncoded */2695export interface XcmDoubleEncoded extends Struct {2696 readonly encoded: Bytes;2697}26982699/** @name XcmV0Junction */2700export interface XcmV0Junction extends Enum {2701 readonly isParent: boolean;2702 readonly isParachain: boolean;2703 readonly asParachain: Compact<u32>;2704 readonly isAccountId32: boolean;2705 readonly asAccountId32: {2706 readonly network: XcmV0JunctionNetworkId;2707 readonly id: U8aFixed;2708 } & Struct;2709 readonly isAccountIndex64: boolean;2710 readonly asAccountIndex64: {2711 readonly network: XcmV0JunctionNetworkId;2712 readonly index: Compact<u64>;2713 } & Struct;2714 readonly isAccountKey20: boolean;2715 readonly asAccountKey20: {2716 readonly network: XcmV0JunctionNetworkId;2717 readonly key: U8aFixed;2718 } & Struct;2719 readonly isPalletInstance: boolean;2720 readonly asPalletInstance: u8;2721 readonly isGeneralIndex: boolean;2722 readonly asGeneralIndex: Compact<u128>;2723 readonly isGeneralKey: boolean;2724 readonly asGeneralKey: Bytes;2725 readonly isOnlyChild: boolean;2726 readonly isPlurality: boolean;2727 readonly asPlurality: {2728 readonly id: XcmV0JunctionBodyId;2729 readonly part: XcmV0JunctionBodyPart;2730 } & Struct;2731 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2732}27332734/** @name XcmV0JunctionBodyId */2735export interface XcmV0JunctionBodyId extends Enum {2736 readonly isUnit: boolean;2737 readonly isNamed: boolean;2738 readonly asNamed: Bytes;2739 readonly isIndex: boolean;2740 readonly asIndex: Compact<u32>;2741 readonly isExecutive: boolean;2742 readonly isTechnical: boolean;2743 readonly isLegislative: boolean;2744 readonly isJudicial: boolean;2745 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2746}27472748/** @name XcmV0JunctionBodyPart */2749export interface XcmV0JunctionBodyPart extends Enum {2750 readonly isVoice: boolean;2751 readonly isMembers: boolean;2752 readonly asMembers: {2753 readonly count: Compact<u32>;2754 } & Struct;2755 readonly isFraction: boolean;2756 readonly asFraction: {2757 readonly nom: Compact<u32>;2758 readonly denom: Compact<u32>;2759 } & Struct;2760 readonly isAtLeastProportion: boolean;2761 readonly asAtLeastProportion: {2762 readonly nom: Compact<u32>;2763 readonly denom: Compact<u32>;2764 } & Struct;2765 readonly isMoreThanProportion: boolean;2766 readonly asMoreThanProportion: {2767 readonly nom: Compact<u32>;2768 readonly denom: Compact<u32>;2769 } & Struct;2770 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2771}27722773/** @name XcmV0JunctionNetworkId */2774export interface XcmV0JunctionNetworkId extends Enum {2775 readonly isAny: boolean;2776 readonly isNamed: boolean;2777 readonly asNamed: Bytes;2778 readonly isPolkadot: boolean;2779 readonly isKusama: boolean;2780 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2781}27822783/** @name XcmV0MultiAsset */2784export interface XcmV0MultiAsset extends Enum {2785 readonly isNone: boolean;2786 readonly isAll: boolean;2787 readonly isAllFungible: boolean;2788 readonly isAllNonFungible: boolean;2789 readonly isAllAbstractFungible: boolean;2790 readonly asAllAbstractFungible: {2791 readonly id: Bytes;2792 } & Struct;2793 readonly isAllAbstractNonFungible: boolean;2794 readonly asAllAbstractNonFungible: {2795 readonly class: Bytes;2796 } & Struct;2797 readonly isAllConcreteFungible: boolean;2798 readonly asAllConcreteFungible: {2799 readonly id: XcmV0MultiLocation;2800 } & Struct;2801 readonly isAllConcreteNonFungible: boolean;2802 readonly asAllConcreteNonFungible: {2803 readonly class: XcmV0MultiLocation;2804 } & Struct;2805 readonly isAbstractFungible: boolean;2806 readonly asAbstractFungible: {2807 readonly id: Bytes;2808 readonly amount: Compact<u128>;2809 } & Struct;2810 readonly isAbstractNonFungible: boolean;2811 readonly asAbstractNonFungible: {2812 readonly class: Bytes;2813 readonly instance: XcmV1MultiassetAssetInstance;2814 } & Struct;2815 readonly isConcreteFungible: boolean;2816 readonly asConcreteFungible: {2817 readonly id: XcmV0MultiLocation;2818 readonly amount: Compact<u128>;2819 } & Struct;2820 readonly isConcreteNonFungible: boolean;2821 readonly asConcreteNonFungible: {2822 readonly class: XcmV0MultiLocation;2823 readonly instance: XcmV1MultiassetAssetInstance;2824 } & Struct;2825 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2826}28272828/** @name XcmV0MultiLocation */2829export interface XcmV0MultiLocation extends Enum {2830 readonly isNull: boolean;2831 readonly isX1: boolean;2832 readonly asX1: XcmV0Junction;2833 readonly isX2: boolean;2834 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2835 readonly isX3: boolean;2836 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2837 readonly isX4: boolean;2838 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2839 readonly isX5: boolean;2840 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2841 readonly isX6: boolean;2842 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2843 readonly isX7: boolean;2844 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2845 readonly isX8: boolean;2846 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2847 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2848}28492850/** @name XcmV0Order */2851export interface XcmV0Order extends Enum {2852 readonly isNull: boolean;2853 readonly isDepositAsset: boolean;2854 readonly asDepositAsset: {2855 readonly assets: Vec<XcmV0MultiAsset>;2856 readonly dest: XcmV0MultiLocation;2857 } & Struct;2858 readonly isDepositReserveAsset: boolean;2859 readonly asDepositReserveAsset: {2860 readonly assets: Vec<XcmV0MultiAsset>;2861 readonly dest: XcmV0MultiLocation;2862 readonly effects: Vec<XcmV0Order>;2863 } & Struct;2864 readonly isExchangeAsset: boolean;2865 readonly asExchangeAsset: {2866 readonly give: Vec<XcmV0MultiAsset>;2867 readonly receive: Vec<XcmV0MultiAsset>;2868 } & Struct;2869 readonly isInitiateReserveWithdraw: boolean;2870 readonly asInitiateReserveWithdraw: {2871 readonly assets: Vec<XcmV0MultiAsset>;2872 readonly reserve: XcmV0MultiLocation;2873 readonly effects: Vec<XcmV0Order>;2874 } & Struct;2875 readonly isInitiateTeleport: boolean;2876 readonly asInitiateTeleport: {2877 readonly assets: Vec<XcmV0MultiAsset>;2878 readonly dest: XcmV0MultiLocation;2879 readonly effects: Vec<XcmV0Order>;2880 } & Struct;2881 readonly isQueryHolding: boolean;2882 readonly asQueryHolding: {2883 readonly queryId: Compact<u64>;2884 readonly dest: XcmV0MultiLocation;2885 readonly assets: Vec<XcmV0MultiAsset>;2886 } & Struct;2887 readonly isBuyExecution: boolean;2888 readonly asBuyExecution: {2889 readonly fees: XcmV0MultiAsset;2890 readonly weight: u64;2891 readonly debt: u64;2892 readonly haltOnError: bool;2893 readonly xcm: Vec<XcmV0Xcm>;2894 } & Struct;2895 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2896}28972898/** @name XcmV0OriginKind */2899export interface XcmV0OriginKind extends Enum {2900 readonly isNative: boolean;2901 readonly isSovereignAccount: boolean;2902 readonly isSuperuser: boolean;2903 readonly isXcm: boolean;2904 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2905}29062907/** @name XcmV0Response */2908export interface XcmV0Response extends Enum {2909 readonly isAssets: boolean;2910 readonly asAssets: Vec<XcmV0MultiAsset>;2911 readonly type: 'Assets';2912}29132914/** @name XcmV0Xcm */2915export interface XcmV0Xcm extends Enum {2916 readonly isWithdrawAsset: boolean;2917 readonly asWithdrawAsset: {2918 readonly assets: Vec<XcmV0MultiAsset>;2919 readonly effects: Vec<XcmV0Order>;2920 } & Struct;2921 readonly isReserveAssetDeposit: boolean;2922 readonly asReserveAssetDeposit: {2923 readonly assets: Vec<XcmV0MultiAsset>;2924 readonly effects: Vec<XcmV0Order>;2925 } & Struct;2926 readonly isTeleportAsset: boolean;2927 readonly asTeleportAsset: {2928 readonly assets: Vec<XcmV0MultiAsset>;2929 readonly effects: Vec<XcmV0Order>;2930 } & Struct;2931 readonly isQueryResponse: boolean;2932 readonly asQueryResponse: {2933 readonly queryId: Compact<u64>;2934 readonly response: XcmV0Response;2935 } & Struct;2936 readonly isTransferAsset: boolean;2937 readonly asTransferAsset: {2938 readonly assets: Vec<XcmV0MultiAsset>;2939 readonly dest: XcmV0MultiLocation;2940 } & Struct;2941 readonly isTransferReserveAsset: boolean;2942 readonly asTransferReserveAsset: {2943 readonly assets: Vec<XcmV0MultiAsset>;2944 readonly dest: XcmV0MultiLocation;2945 readonly effects: Vec<XcmV0Order>;2946 } & Struct;2947 readonly isTransact: boolean;2948 readonly asTransact: {2949 readonly originType: XcmV0OriginKind;2950 readonly requireWeightAtMost: u64;2951 readonly call: XcmDoubleEncoded;2952 } & Struct;2953 readonly isHrmpNewChannelOpenRequest: boolean;2954 readonly asHrmpNewChannelOpenRequest: {2955 readonly sender: Compact<u32>;2956 readonly maxMessageSize: Compact<u32>;2957 readonly maxCapacity: Compact<u32>;2958 } & Struct;2959 readonly isHrmpChannelAccepted: boolean;2960 readonly asHrmpChannelAccepted: {2961 readonly recipient: Compact<u32>;2962 } & Struct;2963 readonly isHrmpChannelClosing: boolean;2964 readonly asHrmpChannelClosing: {2965 readonly initiator: Compact<u32>;2966 readonly sender: Compact<u32>;2967 readonly recipient: Compact<u32>;2968 } & Struct;2969 readonly isRelayedFrom: boolean;2970 readonly asRelayedFrom: {2971 readonly who: XcmV0MultiLocation;2972 readonly message: XcmV0Xcm;2973 } & Struct;2974 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2975}29762977/** @name XcmV1Junction */2978export interface XcmV1Junction extends Enum {2979 readonly isParachain: boolean;2980 readonly asParachain: Compact<u32>;2981 readonly isAccountId32: boolean;2982 readonly asAccountId32: {2983 readonly network: XcmV0JunctionNetworkId;2984 readonly id: U8aFixed;2985 } & Struct;2986 readonly isAccountIndex64: boolean;2987 readonly asAccountIndex64: {2988 readonly network: XcmV0JunctionNetworkId;2989 readonly index: Compact<u64>;2990 } & Struct;2991 readonly isAccountKey20: boolean;2992 readonly asAccountKey20: {2993 readonly network: XcmV0JunctionNetworkId;2994 readonly key: U8aFixed;2995 } & Struct;2996 readonly isPalletInstance: boolean;2997 readonly asPalletInstance: u8;2998 readonly isGeneralIndex: boolean;2999 readonly asGeneralIndex: Compact<u128>;3000 readonly isGeneralKey: boolean;3001 readonly asGeneralKey: Bytes;3002 readonly isOnlyChild: boolean;3003 readonly isPlurality: boolean;3004 readonly asPlurality: {3005 readonly id: XcmV0JunctionBodyId;3006 readonly part: XcmV0JunctionBodyPart;3007 } & Struct;3008 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3009}30103011/** @name XcmV1MultiAsset */3012export interface XcmV1MultiAsset extends Struct {3013 readonly id: XcmV1MultiassetAssetId;3014 readonly fun: XcmV1MultiassetFungibility;3015}30163017/** @name XcmV1MultiassetAssetId */3018export interface XcmV1MultiassetAssetId extends Enum {3019 readonly isConcrete: boolean;3020 readonly asConcrete: XcmV1MultiLocation;3021 readonly isAbstract: boolean;3022 readonly asAbstract: Bytes;3023 readonly type: 'Concrete' | 'Abstract';3024}30253026/** @name XcmV1MultiassetAssetInstance */3027export interface XcmV1MultiassetAssetInstance extends Enum {3028 readonly isUndefined: boolean;3029 readonly isIndex: boolean;3030 readonly asIndex: Compact<u128>;3031 readonly isArray4: boolean;3032 readonly asArray4: U8aFixed;3033 readonly isArray8: boolean;3034 readonly asArray8: U8aFixed;3035 readonly isArray16: boolean;3036 readonly asArray16: U8aFixed;3037 readonly isArray32: boolean;3038 readonly asArray32: U8aFixed;3039 readonly isBlob: boolean;3040 readonly asBlob: Bytes;3041 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3042}30433044/** @name XcmV1MultiassetFungibility */3045export interface XcmV1MultiassetFungibility extends Enum {3046 readonly isFungible: boolean;3047 readonly asFungible: Compact<u128>;3048 readonly isNonFungible: boolean;3049 readonly asNonFungible: XcmV1MultiassetAssetInstance;3050 readonly type: 'Fungible' | 'NonFungible';3051}30523053/** @name XcmV1MultiassetMultiAssetFilter */3054export interface XcmV1MultiassetMultiAssetFilter extends Enum {3055 readonly isDefinite: boolean;3056 readonly asDefinite: XcmV1MultiassetMultiAssets;3057 readonly isWild: boolean;3058 readonly asWild: XcmV1MultiassetWildMultiAsset;3059 readonly type: 'Definite' | 'Wild';3060}30613062/** @name XcmV1MultiassetMultiAssets */3063export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30643065/** @name XcmV1MultiassetWildFungibility */3066export interface XcmV1MultiassetWildFungibility extends Enum {3067 readonly isFungible: boolean;3068 readonly isNonFungible: boolean;3069 readonly type: 'Fungible' | 'NonFungible';3070}30713072/** @name XcmV1MultiassetWildMultiAsset */3073export interface XcmV1MultiassetWildMultiAsset extends Enum {3074 readonly isAll: boolean;3075 readonly isAllOf: boolean;3076 readonly asAllOf: {3077 readonly id: XcmV1MultiassetAssetId;3078 readonly fun: XcmV1MultiassetWildFungibility;3079 } & Struct;3080 readonly type: 'All' | 'AllOf';3081}30823083/** @name XcmV1MultiLocation */3084export interface XcmV1MultiLocation extends Struct {3085 readonly parents: u8;3086 readonly interior: XcmV1MultilocationJunctions;3087}30883089/** @name XcmV1MultilocationJunctions */3090export interface XcmV1MultilocationJunctions extends Enum {3091 readonly isHere: boolean;3092 readonly isX1: boolean;3093 readonly asX1: XcmV1Junction;3094 readonly isX2: boolean;3095 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3096 readonly isX3: boolean;3097 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3098 readonly isX4: boolean;3099 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3100 readonly isX5: boolean;3101 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3102 readonly isX6: boolean;3103 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3104 readonly isX7: boolean;3105 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3106 readonly isX8: boolean;3107 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3108 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3109}31103111/** @name XcmV1Order */3112export interface XcmV1Order extends Enum {3113 readonly isNoop: boolean;3114 readonly isDepositAsset: boolean;3115 readonly asDepositAsset: {3116 readonly assets: XcmV1MultiassetMultiAssetFilter;3117 readonly maxAssets: u32;3118 readonly beneficiary: XcmV1MultiLocation;3119 } & Struct;3120 readonly isDepositReserveAsset: boolean;3121 readonly asDepositReserveAsset: {3122 readonly assets: XcmV1MultiassetMultiAssetFilter;3123 readonly maxAssets: u32;3124 readonly dest: XcmV1MultiLocation;3125 readonly effects: Vec<XcmV1Order>;3126 } & Struct;3127 readonly isExchangeAsset: boolean;3128 readonly asExchangeAsset: {3129 readonly give: XcmV1MultiassetMultiAssetFilter;3130 readonly receive: XcmV1MultiassetMultiAssets;3131 } & Struct;3132 readonly isInitiateReserveWithdraw: boolean;3133 readonly asInitiateReserveWithdraw: {3134 readonly assets: XcmV1MultiassetMultiAssetFilter;3135 readonly reserve: XcmV1MultiLocation;3136 readonly effects: Vec<XcmV1Order>;3137 } & Struct;3138 readonly isInitiateTeleport: boolean;3139 readonly asInitiateTeleport: {3140 readonly assets: XcmV1MultiassetMultiAssetFilter;3141 readonly dest: XcmV1MultiLocation;3142 readonly effects: Vec<XcmV1Order>;3143 } & Struct;3144 readonly isQueryHolding: boolean;3145 readonly asQueryHolding: {3146 readonly queryId: Compact<u64>;3147 readonly dest: XcmV1MultiLocation;3148 readonly assets: XcmV1MultiassetMultiAssetFilter;3149 } & Struct;3150 readonly isBuyExecution: boolean;3151 readonly asBuyExecution: {3152 readonly fees: XcmV1MultiAsset;3153 readonly weight: u64;3154 readonly debt: u64;3155 readonly haltOnError: bool;3156 readonly instructions: Vec<XcmV1Xcm>;3157 } & Struct;3158 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3159}31603161/** @name XcmV1Response */3162export interface XcmV1Response extends Enum {3163 readonly isAssets: boolean;3164 readonly asAssets: XcmV1MultiassetMultiAssets;3165 readonly isVersion: boolean;3166 readonly asVersion: u32;3167 readonly type: 'Assets' | 'Version';3168}31693170/** @name XcmV1Xcm */3171export interface XcmV1Xcm extends Enum {3172 readonly isWithdrawAsset: boolean;3173 readonly asWithdrawAsset: {3174 readonly assets: XcmV1MultiassetMultiAssets;3175 readonly effects: Vec<XcmV1Order>;3176 } & Struct;3177 readonly isReserveAssetDeposited: boolean;3178 readonly asReserveAssetDeposited: {3179 readonly assets: XcmV1MultiassetMultiAssets;3180 readonly effects: Vec<XcmV1Order>;3181 } & Struct;3182 readonly isReceiveTeleportedAsset: boolean;3183 readonly asReceiveTeleportedAsset: {3184 readonly assets: XcmV1MultiassetMultiAssets;3185 readonly effects: Vec<XcmV1Order>;3186 } & Struct;3187 readonly isQueryResponse: boolean;3188 readonly asQueryResponse: {3189 readonly queryId: Compact<u64>;3190 readonly response: XcmV1Response;3191 } & Struct;3192 readonly isTransferAsset: boolean;3193 readonly asTransferAsset: {3194 readonly assets: XcmV1MultiassetMultiAssets;3195 readonly beneficiary: XcmV1MultiLocation;3196 } & Struct;3197 readonly isTransferReserveAsset: boolean;3198 readonly asTransferReserveAsset: {3199 readonly assets: XcmV1MultiassetMultiAssets;3200 readonly dest: XcmV1MultiLocation;3201 readonly effects: Vec<XcmV1Order>;3202 } & Struct;3203 readonly isTransact: boolean;3204 readonly asTransact: {3205 readonly originType: XcmV0OriginKind;3206 readonly requireWeightAtMost: u64;3207 readonly call: XcmDoubleEncoded;3208 } & Struct;3209 readonly isHrmpNewChannelOpenRequest: boolean;3210 readonly asHrmpNewChannelOpenRequest: {3211 readonly sender: Compact<u32>;3212 readonly maxMessageSize: Compact<u32>;3213 readonly maxCapacity: Compact<u32>;3214 } & Struct;3215 readonly isHrmpChannelAccepted: boolean;3216 readonly asHrmpChannelAccepted: {3217 readonly recipient: Compact<u32>;3218 } & Struct;3219 readonly isHrmpChannelClosing: boolean;3220 readonly asHrmpChannelClosing: {3221 readonly initiator: Compact<u32>;3222 readonly sender: Compact<u32>;3223 readonly recipient: Compact<u32>;3224 } & Struct;3225 readonly isRelayedFrom: boolean;3226 readonly asRelayedFrom: {3227 readonly who: XcmV1MultilocationJunctions;3228 readonly message: XcmV1Xcm;3229 } & Struct;3230 readonly isSubscribeVersion: boolean;3231 readonly asSubscribeVersion: {3232 readonly queryId: Compact<u64>;3233 readonly maxResponseWeight: Compact<u64>;3234 } & Struct;3235 readonly isUnsubscribeVersion: boolean;3236 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3237}32383239/** @name XcmV2Instruction */3240export interface XcmV2Instruction extends Enum {3241 readonly isWithdrawAsset: boolean;3242 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3243 readonly isReserveAssetDeposited: boolean;3244 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3245 readonly isReceiveTeleportedAsset: boolean;3246 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3247 readonly isQueryResponse: boolean;3248 readonly asQueryResponse: {3249 readonly queryId: Compact<u64>;3250 readonly response: XcmV2Response;3251 readonly maxWeight: Compact<u64>;3252 } & Struct;3253 readonly isTransferAsset: boolean;3254 readonly asTransferAsset: {3255 readonly assets: XcmV1MultiassetMultiAssets;3256 readonly beneficiary: XcmV1MultiLocation;3257 } & Struct;3258 readonly isTransferReserveAsset: boolean;3259 readonly asTransferReserveAsset: {3260 readonly assets: XcmV1MultiassetMultiAssets;3261 readonly dest: XcmV1MultiLocation;3262 readonly xcm: XcmV2Xcm;3263 } & Struct;3264 readonly isTransact: boolean;3265 readonly asTransact: {3266 readonly originType: XcmV0OriginKind;3267 readonly requireWeightAtMost: Compact<u64>;3268 readonly call: XcmDoubleEncoded;3269 } & Struct;3270 readonly isHrmpNewChannelOpenRequest: boolean;3271 readonly asHrmpNewChannelOpenRequest: {3272 readonly sender: Compact<u32>;3273 readonly maxMessageSize: Compact<u32>;3274 readonly maxCapacity: Compact<u32>;3275 } & Struct;3276 readonly isHrmpChannelAccepted: boolean;3277 readonly asHrmpChannelAccepted: {3278 readonly recipient: Compact<u32>;3279 } & Struct;3280 readonly isHrmpChannelClosing: boolean;3281 readonly asHrmpChannelClosing: {3282 readonly initiator: Compact<u32>;3283 readonly sender: Compact<u32>;3284 readonly recipient: Compact<u32>;3285 } & Struct;3286 readonly isClearOrigin: boolean;3287 readonly isDescendOrigin: boolean;3288 readonly asDescendOrigin: XcmV1MultilocationJunctions;3289 readonly isReportError: boolean;3290 readonly asReportError: {3291 readonly queryId: Compact<u64>;3292 readonly dest: XcmV1MultiLocation;3293 readonly maxResponseWeight: Compact<u64>;3294 } & Struct;3295 readonly isDepositAsset: boolean;3296 readonly asDepositAsset: {3297 readonly assets: XcmV1MultiassetMultiAssetFilter;3298 readonly maxAssets: Compact<u32>;3299 readonly beneficiary: XcmV1MultiLocation;3300 } & Struct;3301 readonly isDepositReserveAsset: boolean;3302 readonly asDepositReserveAsset: {3303 readonly assets: XcmV1MultiassetMultiAssetFilter;3304 readonly maxAssets: Compact<u32>;3305 readonly dest: XcmV1MultiLocation;3306 readonly xcm: XcmV2Xcm;3307 } & Struct;3308 readonly isExchangeAsset: boolean;3309 readonly asExchangeAsset: {3310 readonly give: XcmV1MultiassetMultiAssetFilter;3311 readonly receive: XcmV1MultiassetMultiAssets;3312 } & Struct;3313 readonly isInitiateReserveWithdraw: boolean;3314 readonly asInitiateReserveWithdraw: {3315 readonly assets: XcmV1MultiassetMultiAssetFilter;3316 readonly reserve: XcmV1MultiLocation;3317 readonly xcm: XcmV2Xcm;3318 } & Struct;3319 readonly isInitiateTeleport: boolean;3320 readonly asInitiateTeleport: {3321 readonly assets: XcmV1MultiassetMultiAssetFilter;3322 readonly dest: XcmV1MultiLocation;3323 readonly xcm: XcmV2Xcm;3324 } & Struct;3325 readonly isQueryHolding: boolean;3326 readonly asQueryHolding: {3327 readonly queryId: Compact<u64>;3328 readonly dest: XcmV1MultiLocation;3329 readonly assets: XcmV1MultiassetMultiAssetFilter;3330 readonly maxResponseWeight: Compact<u64>;3331 } & Struct;3332 readonly isBuyExecution: boolean;3333 readonly asBuyExecution: {3334 readonly fees: XcmV1MultiAsset;3335 readonly weightLimit: XcmV2WeightLimit;3336 } & Struct;3337 readonly isRefundSurplus: boolean;3338 readonly isSetErrorHandler: boolean;3339 readonly asSetErrorHandler: XcmV2Xcm;3340 readonly isSetAppendix: boolean;3341 readonly asSetAppendix: XcmV2Xcm;3342 readonly isClearError: boolean;3343 readonly isClaimAsset: boolean;3344 readonly asClaimAsset: {3345 readonly assets: XcmV1MultiassetMultiAssets;3346 readonly ticket: XcmV1MultiLocation;3347 } & Struct;3348 readonly isTrap: boolean;3349 readonly asTrap: Compact<u64>;3350 readonly isSubscribeVersion: boolean;3351 readonly asSubscribeVersion: {3352 readonly queryId: Compact<u64>;3353 readonly maxResponseWeight: Compact<u64>;3354 } & Struct;3355 readonly isUnsubscribeVersion: boolean;3356 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';3357}33583359/** @name XcmV2Response */3360export interface XcmV2Response extends Enum {3361 readonly isNull: boolean;3362 readonly isAssets: boolean;3363 readonly asAssets: XcmV1MultiassetMultiAssets;3364 readonly isExecutionResult: boolean;3365 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3366 readonly isVersion: boolean;3367 readonly asVersion: u32;3368 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3369}33703371/** @name XcmV2TraitsError */3372export interface XcmV2TraitsError extends Enum {3373 readonly isOverflow: boolean;3374 readonly isUnimplemented: boolean;3375 readonly isUntrustedReserveLocation: boolean;3376 readonly isUntrustedTeleportLocation: boolean;3377 readonly isMultiLocationFull: boolean;3378 readonly isMultiLocationNotInvertible: boolean;3379 readonly isBadOrigin: boolean;3380 readonly isInvalidLocation: boolean;3381 readonly isAssetNotFound: boolean;3382 readonly isFailedToTransactAsset: boolean;3383 readonly isNotWithdrawable: boolean;3384 readonly isLocationCannotHold: boolean;3385 readonly isExceedsMaxMessageSize: boolean;3386 readonly isDestinationUnsupported: boolean;3387 readonly isTransport: boolean;3388 readonly isUnroutable: boolean;3389 readonly isUnknownClaim: boolean;3390 readonly isFailedToDecode: boolean;3391 readonly isMaxWeightInvalid: boolean;3392 readonly isNotHoldingFees: boolean;3393 readonly isTooExpensive: boolean;3394 readonly isTrap: boolean;3395 readonly asTrap: u64;3396 readonly isUnhandledXcmVersion: boolean;3397 readonly isWeightLimitReached: boolean;3398 readonly asWeightLimitReached: u64;3399 readonly isBarrier: boolean;3400 readonly isWeightNotComputable: boolean;3401 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';3402}34033404/** @name XcmV2TraitsOutcome */3405export interface XcmV2TraitsOutcome extends Enum {3406 readonly isComplete: boolean;3407 readonly asComplete: u64;3408 readonly isIncomplete: boolean;3409 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3410 readonly isError: boolean;3411 readonly asError: XcmV2TraitsError;3412 readonly type: 'Complete' | 'Incomplete' | 'Error';3413}34143415/** @name XcmV2WeightLimit */3416export interface XcmV2WeightLimit extends Enum {3417 readonly isUnlimited: boolean;3418 readonly isLimited: boolean;3419 readonly asLimited: Compact<u64>;3420 readonly type: 'Unlimited' | 'Limited';3421}34223423/** @name XcmV2Xcm */3424export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34253426/** @name XcmVersionedMultiAssets */3427export interface XcmVersionedMultiAssets extends Enum {3428 readonly isV0: boolean;3429 readonly asV0: Vec<XcmV0MultiAsset>;3430 readonly isV1: boolean;3431 readonly asV1: XcmV1MultiassetMultiAssets;3432 readonly type: 'V0' | 'V1';3433}34343435/** @name XcmVersionedMultiLocation */3436export interface XcmVersionedMultiLocation extends Enum {3437 readonly isV0: boolean;3438 readonly asV0: XcmV0MultiLocation;3439 readonly isV1: boolean;3440 readonly asV1: XcmV1MultiLocation;3441 readonly type: 'V0' | 'V1';3442}34433444/** @name XcmVersionedXcm */3445export interface XcmVersionedXcm extends Enum {3446 readonly isV0: boolean;3447 readonly asV0: XcmV0Xcm;3448 readonly isV1: boolean;3449 readonly asV1: XcmV1Xcm;3450 readonly isV2: boolean;3451 readonly asV2: XcmV2Xcm;3452 readonly type: 'V0' | 'V1' | 'V2';3453}34543455export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -2460,10 +2460,6 @@
set_admin_address: {
admin: 'PalletEvmAccountBasicCrossAccountIdRepr',
},
- start_app_promotion: {
- promotionStartRelayBlock: 'Option<u32>',
- },
- stop_app_promotion: 'Null',
stake: {
amount: 'u128',
},
@@ -3103,19 +3099,19 @@
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup412: pallet_app_promotion::pallet::Error<T>
+ * Lookup415: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
- _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument']
+ _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'PendingForBlockOverflow', 'InvalidArgument']
},
/**
- * Lookup415: pallet_evm::pallet::Error<T>
+ * Lookup418: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup418: fp_rpc::TransactionStatus
+ * Lookup421: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3127,11 +3123,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup420: ethbloom::Bloom
+ * Lookup423: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup422: ethereum::receipt::ReceiptV3
+ * Lookup425: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3141,7 +3137,7 @@
}
},
/**
- * Lookup423: ethereum::receipt::EIP658ReceiptData
+ * Lookup426: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3150,7 +3146,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup424: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup427: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3158,7 +3154,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup425: ethereum::header::Header
+ * Lookup428: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3178,23 +3174,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup426: ethereum_types::hash::H64
+ * Lookup429: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup431: pallet_ethereum::pallet::Error<T>
+ * Lookup434: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup432: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup435: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup433: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup436: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3204,25 +3200,25 @@
}
},
/**
- * Lookup434: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup437: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup436: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup439: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor']
},
/**
- * Lookup437: pallet_evm_migration::pallet::Error<T>
+ * Lookup440: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup439: sp_runtime::MultiSignature
+ * Lookup442: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3232,43 +3228,43 @@
}
},
/**
- * Lookup440: sp_core::ed25519::Signature
+ * Lookup443: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup442: sp_core::sr25519::Signature
+ * Lookup445: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup443: sp_core::ecdsa::Signature
+ * Lookup446: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup446: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup449: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup447: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup450: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup450: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup453: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup451: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup454: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup452: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup455: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup453: opal_runtime::Runtime
+ * Lookup456: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup454: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup457: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2665,11 +2665,6 @@
readonly asSetAdminAddress: {
readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;
} & Struct;
- readonly isStartAppPromotion: boolean;
- readonly asStartAppPromotion: {
- readonly promotionStartRelayBlock: Option<u32>;
- } & Struct;
- readonly isStopAppPromotion: boolean;
readonly isStake: boolean;
readonly asStake: {
readonly amount: u128;
@@ -2695,7 +2690,7 @@
readonly asPayoutStakers: {
readonly stakersNumber: Option<u8>;
} & Struct;
- readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorConract' | 'StopSponsoringContract' | 'PayoutStakers';
+ readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorConract' | 'StopSponsoringContract' | 'PayoutStakers';
}
/** @name PalletEvmCall (306) */
@@ -3291,16 +3286,17 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (412) */
+ /** @name PalletAppPromotionError (415) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
readonly isNotSufficientFounds: boolean;
+ readonly isPendingForBlockOverflow: boolean;
readonly isInvalidArgument: boolean;
- readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';
+ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'PendingForBlockOverflow' | 'InvalidArgument';
}
- /** @name PalletEvmError (415) */
+ /** @name PalletEvmError (418) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3311,7 +3307,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (418) */
+ /** @name FpRpcTransactionStatus (421) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3322,10 +3318,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (420) */
+ /** @name EthbloomBloom (423) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (422) */
+ /** @name EthereumReceiptReceiptV3 (425) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3336,7 +3332,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (423) */
+ /** @name EthereumReceiptEip658ReceiptData (426) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3344,14 +3340,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (424) */
+ /** @name EthereumBlock (427) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (425) */
+ /** @name EthereumHeader (428) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3370,24 +3366,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (426) */
+ /** @name EthereumTypesHashH64 (429) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (431) */
+ /** @name PalletEthereumError (434) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (432) */
+ /** @name PalletEvmCoderSubstrateError (435) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (433) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (436) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3397,7 +3393,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (434) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (437) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3405,21 +3401,21 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (436) */
+ /** @name PalletEvmContractHelpersError (439) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
readonly type: 'NoPermission' | 'NoPendingSponsor';
}
- /** @name PalletEvmMigrationError (437) */
+ /** @name PalletEvmMigrationError (440) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (439) */
+ /** @name SpRuntimeMultiSignature (442) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3430,34 +3426,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (440) */
+ /** @name SpCoreEd25519Signature (443) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (442) */
+ /** @name SpCoreSr25519Signature (445) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (443) */
+ /** @name SpCoreEcdsaSignature (446) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (446) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (449) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (447) */
+ /** @name FrameSystemExtensionsCheckGenesis (450) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (450) */
+ /** @name FrameSystemExtensionsCheckNonce (453) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (451) */
+ /** @name FrameSystemExtensionsCheckWeight (454) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (452) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (455) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (453) */
+ /** @name OpalRuntimeRuntime (456) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (454) */
+ /** @name PalletEthereumFakeTransactionFinalizer (457) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -48,7 +48,7 @@
Fungible = 'fungible',
NFT = 'nonfungible',
Scheduler = 'scheduler',
- AppPromotion = 'promotion',
+ AppPromotion = 'apppromotion',
}
export async function isUnique(): Promise<boolean> {
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -2008,7 +2008,7 @@
if(typeof label === 'undefined') label = `${signer.address} amount: ${amountToStake}`;
const stakeResult = await this.helper.executeExtrinsic(
signer,
- 'api.tx.promotion.stake', [amountToStake],
+ 'api.tx.appPromotion.stake', [amountToStake],
true, `stake failed for ${label}`,
);
// TODO extract info from stakeResult
@@ -2026,7 +2026,7 @@
if(typeof label === 'undefined') label = `${signer.address}`;
const unstakeResult = await this.helper.executeExtrinsic(
signer,
- 'api.tx.promotion.unstake', [],
+ 'api.tx.appPromotion.unstake', [],
true, `unstake failed for ${label}`,
);
// TODO extract info from unstakeResult