difftreelog
add rpc methods + tests
in: master
17 files changed
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -262,6 +262,14 @@
#[method(name = "unique_totalStakingLocked")]
fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>)
-> Result<String>;
+
+ /// Return the total amount locked by staking tokens.
+ #[method(name = "unique_pendingUnstake")]
+ fn pending_unstake(
+ &self,
+ staker: Option<CrossAccountId>,
+ at: Option<BlockHash>,
+ ) -> Result<String>;
}
mod rmrk_unique_rpc {
@@ -548,6 +556,7 @@
.map(|(b, a)| (b, a.to_string()))
.collect::<Vec<_>>(), unique_api);
pass_method!(total_staking_locked(staker: CrossAccountId) -> String => |v| v.to_string(), unique_api);
+ pass_method!(pending_unstake(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), unique_api);
}
#[allow(deprecated)]
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -63,7 +63,7 @@
use fc_rpc_core::types::FilterPool;
use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};
-use unique_runtime_common::types::{
+use up_common::types::opaque::{
AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block, BlockNumber,
};
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -31,12 +31,12 @@
#[cfg(feature = "runtime-benchmarks")]
mod benchmarking;
-pub mod types;
-
#[cfg(test)]
mod tests;
+pub mod types;
+pub mod weights;
-use sp_std::vec::Vec;
+use sp_std::{vec::Vec, iter::Sum};
use codec::EncodeLike;
use pallet_balances::BalanceLock;
pub use types::ExtendedLockableCurrency;
@@ -48,6 +48,9 @@
},
ensure,
};
+
+use weights::WeightInfo;
+
pub use pallet::*;
use pallet_evm::account::CrossAccountId;
use sp_runtime::{
@@ -79,6 +82,9 @@
type TreasuryAccountId: Get<Self::AccountId>;
+ /// Weight information for extrinsics in this pallet.
+ type WeightInfo: WeightInfo;
+
// The block number provider
type BlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;
@@ -136,6 +142,7 @@
fn on_initialize(current_block: T::BlockNumber) -> Weight
where
<T as frame_system::Config>::BlockNumber: From<u32>,
+ // <<T as pallet::Config>::Currency as Currency<T::AccountId>>::Balance: Sum,
{
PendingUnstake::<T>::iter()
.filter_map(|((staker, block), amount)| {
@@ -172,7 +179,7 @@
#[pallet::call]
impl<T: Config> Pallet<T> {
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::set_admin_address())]
pub fn set_admin_address(origin: OriginFor<T>, admin: T::AccountId) -> DispatchResult {
ensure_root(origin)?;
<Admin<T>>::set(Some(admin));
@@ -180,7 +187,7 @@
Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::start_app_promotion())]
pub fn start_app_promotion(
origin: OriginFor<T>,
promotion_start_relay_block: T::BlockNumber,
@@ -201,7 +208,7 @@
Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::stake())]
pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
@@ -210,10 +217,16 @@
ensure!(balance >= amount, ArithmeticError::Underflow);
- Self::set_lock_unchecked(&staker_id, amount);
+ <<T as Config>::Currency as Currency<T::AccountId>>::ensure_can_withdraw(
+ &staker_id,
+ amount,
+ WithdrawReasons::all(),
+ balance - amount,
+ )?;
+
+ Self::add_lock_balance(&staker_id, amount)?;
- let block_number =
- <T::BlockNumberProvider as BlockNumberProvider>::current_block_number();
+ let block_number = frame_system::Pallet::<T>::block_number();
<Staked<T>>::insert(
(&staker_id, block_number),
@@ -231,7 +244,7 @@
Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::unstake())]
pub fn unstake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
@@ -249,7 +262,7 @@
.ok_or(ArithmeticError::Underflow)?,
);
- let block = <T::BlockNumberProvider>::current_block_number() + WEEK.into();
+ let block = frame_system::Pallet::<T>::block_number() + WEEK.into();
<PendingUnstake<T>>::insert(
(&staker_id, block),
<PendingUnstake<T>>::get((&staker_id, block))
@@ -400,8 +413,8 @@
fn add_lock_balance(staker: &T::AccountId, amount: BalanceOf<T>) -> DispatchResult {
Self::get_locked_balance(staker)
- .map(|l| l.amount)
- .and_then(|b| b.checked_add(&amount))
+ .map_or(<BalanceOf<T>>::default(), |l| l.amount)
+ .checked_add(&amount)
.map(|new_lock| Self::set_lock_unchecked(staker, new_lock))
.ok_or(ArithmeticError::Overflow.into())
}
@@ -437,10 +450,11 @@
pub fn total_staked_by_id_per_block(
staker: impl EncodeLike<T::AccountId>,
) -> Option<Vec<(T::BlockNumber, BalanceOf<T>)>> {
- let staked = Staked::<T>::iter_prefix((staker,))
+ let mut staked = Staked::<T>::iter_prefix((staker,))
.into_iter()
.map(|(block, amount)| (block, amount))
.collect::<Vec<_>>();
+ staked.sort_by_key(|(block, _)| *block);
if !staked.is_empty() {
Some(staked)
} else {
@@ -495,3 +509,14 @@
day_rate * base
}
}
+
+impl<T: Config> Pallet<T>
+where
+ <<T as pallet::Config>::Currency as Currency<T::AccountId>>::Balance: Sum,
+{
+ pub fn cross_id_pending_unstake(staker: Option<T::CrossAccountId>) -> BalanceOf<T> {
+ staker.map_or(PendingUnstake::<T>::iter_values().sum(), |s| {
+ PendingUnstake::<T>::iter_prefix_values((s.as_sub(),)).sum()
+ })
+ }
+}
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -129,5 +129,6 @@
fn total_staked(staker: Option<CrossAccountId>) -> Result<u128>;
fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;
fn total_staking_locked(staker: CrossAccountId) -> Result<u128>;
+ fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128>;
}
}
runtime/common/config/pallets/app_promotion.rsdiffbeforeafterboth--- /dev/null
+++ b/runtime/common/config/pallets/app_promotion.rs
@@ -0,0 +1,27 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+use crate::{
+ runtime_common::config::pallets::{TreasuryAccountId, RelayChainBlockNumberProvider},
+ Runtime, Balances,
+};
+
+impl pallet_app_promotion::Config for Runtime {
+ type Currency = Balances;
+ type WeightInfo = pallet_app_promotion::weights::SubstrateWeight<Self>;
+ type TreasuryAccountId = TreasuryAccountId;
+ type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;
+}
runtime/common/config/pallets/mod.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -40,6 +40,9 @@
#[cfg(feature = "scheduler")]
pub mod scheduler;
+#[cfg(feature = "app-promotion")]
+pub mod app_promotion;
+
parameter_types! {
pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -77,6 +77,9 @@
#[runtimes(opal)]
RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,
+ #[runtimes(opal)]
+ Promotion: pallet_app_promotion::{Pallet, Call, Storage} = 73,
+
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,
Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -190,7 +190,6 @@
fn total_staked(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default())
- // Ok(0)
}
fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {
@@ -198,9 +197,12 @@
}
fn total_staking_locked(staker: CrossAccountId) -> Result<u128, DispatchError> {
- // Ok(0)
Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_locked_balance(staker))
}
+
+ fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
+ Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake(staker))
+ }
}
impl rmrk_rpc::RmrkApi<
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -124,11 +124,12 @@
"orml-vesting/std",
]
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-opal-runtime = ['refungible', 'scheduler', 'rmrk']
+opal-runtime = ['refungible', 'scheduler', 'rmrk', 'app-promotion']
refungible = []
scheduler = []
rmrk = []
+app-promotion = []
################################################################################
# Substrate Dependencies
tests/src/app-promotion.test.tsdiffbeforeafterboth--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -15,7 +15,7 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
import {default as usingApi, submitTransactionAsync} from './substrate/substrate-api';
-import {IKeyringPair} from '@polkadot/types/types';
+import {IKeyringPair, ITuple} from '@polkadot/types/types';
import {
createMultipleItemsExpectSuccess,
@@ -33,26 +33,38 @@
U128_MAX,
burnFromExpectSuccess,
UNIQUE,
+ getModuleNames,
+ Pallets,
+ getBlockNumber,
} from './util/helpers';
-import chai from 'chai';
+import chai, {use} from 'chai';
import chaiAsPromised from 'chai-as-promised';
-import getBalance from './substrate/get-balance';
-import { unique } from './interfaces/definitions';
+import getBalance, {getBalanceSingle} from './substrate/get-balance';
+import {unique} from './interfaces/definitions';
+import {usingPlaygrounds} from './util/playgrounds';
+import {default as waitNewBlocks} from './substrate/wait-new-blocks';
+
+import BN from 'bn.js';
+import {mnemonicGenerate} from '@polkadot/util-crypto';
+import {UniqueHelper} from './util/playgrounds/unique';
chai.use(chaiAsPromised);
const expect = chai.expect;
let alice: IKeyringPair;
let bob: IKeyringPair;
let palletAdmin: IKeyringPair;
+let nominal: bigint;
describe('integration test: AppPromotion', () => {
- before(async () => {
- await usingApi(async (api, privateKeyWrapper) => {
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();
alice = privateKeyWrapper('//Alice');
bob = privateKeyWrapper('//Bob');
palletAdmin = privateKeyWrapper('//palletAdmin');
- const tx = api.tx.sudo.sudo(api.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ nominal = helper.balance.getOneTokenNominal();
await submitTransactionAsync(alice, tx);
});
});
@@ -69,22 +81,110 @@
// assert: query appPromotion.staked(Alice) equal [100, 200]
// assert: query appPromotion.totalStaked() increased by 200
- await usingApi(async (api, privateKeyWrapper) => {
- await submitTransactionAsync(alice, api.tx.balances.transfer(bob.addressRaw, 10n * UNIQUE));
- const [alicesBalanceBefore, bobsBalanceBefore] = await getBalance(api, [alice.address, bob.address]);
+ await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();
+ const staker = await createUser();
+
+ const firstStakedBlock = await helper.chain.getLatestBlockNumber();
+
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;
+ expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);
+ expect(9n * nominal - await helper.balance.getSubstrate(staker.address) <= nominal / 2n).to.be.true;
+ expect((await helper.api!.rpc.unique.totalStaked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);
+ expect((await helper.api!.rpc.unique.totalStaked()).toBigInt()).to.be.equal(totalStakedBefore + nominal);
- console.log(`alice: ${alicesBalanceBefore} \n bob: ${bobsBalanceBefore}`);
+ await waitNewBlocks(helper.api!, 1);
+ const secondStakedBlock = await helper.chain.getLatestBlockNumber();
- await submitTransactionAsync(alice, api.tx.promotion.stake(1n * UNIQUE));
- await submitTransactionAsync(bob, api.tx.promotion.stake(1n * UNIQUE));
- const alice_total_staked = (await (api.rpc.unique.totalStaked(normalizeAccountId(alice)))).toBigInt();
- const bob_total_staked = (await api.rpc.unique.totalStaked(normalizeAccountId(bob))).toBigInt();
-
- console.log(`alice staked: ${alice_total_staked} \n bob staked: ${bob_total_staked}, total staked: ${(await api.rpc.unique.totalStaked()).toBigInt()}`);
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;
+ expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(3n * nominal);
+
+ const stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([block, amount]) => [block.toBigInt(), amount.toBigInt()]);
+ expect(stakedPerBlock.map((x) => x[1])).to.be.deep.equal([nominal, 2n * nominal]);
+ });
+ });
+
+ it('will throws if stake amount is more than total free balance', async () => {
+ // arrange: Alice balance = 1000
+ // assert: Alice calls appPromotion.stake(1000) throws /// because Alice needs some fee
+
+ // act: Alice calls appPromotion.stake(700)
+ // assert: Alice calls appPromotion.stake(400) throws /// because Alice has ~300 free QTZ and 700 locked
+
+ await usingPlaygrounds(async helper => {
+ const staker = await createUser();
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.rejected;
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(7n * nominal))).to.be.eventually.fulfilled;
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(4n * nominal))).to.be.eventually.rejected;
});
});
+
+ it.skip('for different accounts in one block is possible', async () => {
+ // arrange: Alice, Bob, Charlie, Dave balance = 1000
+ // arrange: Alice, Bob, Charlie, Dave calls appPromotion.stake(100) in the same time
+
+ // assert: query appPromotion.staked(Alice/Bob/Charlie/Dave) equal [100]
+ await usingPlaygrounds(async helper => {
+ const crowd = await creteAccounts([10n, 10n, 10n, 10n], alice, helper);
+ // const promises = crowd.map(async user => submitTransactionAsync(user, helper.api!.tx.promotion.stake(nominal)));
+ // await expect(Promise.all(promises)).to.be.eventually.fulfilled;
+ });
+ });
+
+});
+
+describe.skip('unstake balance extrinsic', () => {
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();
+ alice = privateKeyWrapper('//Alice');
+ bob = privateKeyWrapper('//Bob');
+ palletAdmin = privateKeyWrapper('//palletAdmin');
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ nominal = helper.balance.getOneTokenNominal();
+ await submitTransactionAsync(alice, tx);
+ });
+ });
+ it('will change balance state to "reserved", add it to "pendingUnstake" map, and subtract it from totalStaked', async () => {
+ // arrange: Alice balance = 1000
+ // arrange: Alice calls appPromotion.stake(Alice, 500)
+
+ // act: Alice calls appPromotion.unstake(300)
+ // assert: Alice reserved balance to equal 300
+ // assert: query appPromotion.staked(Alice) equal [200] /// 500 - 300
+ // assert: query appPromotion.pendingUnstake(Alice) to equal [300]
+ // assert: query appPromotion.totalStaked() decreased by 300
+ });
+});
+
+
+
+async function createUser(amount?: bigint) {
+ return await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ const user: IKeyringPair = privateKeyWrapper(`//Alice+${(new Date()).getTime()}`);
+ await helper.balance.transferToSubstrate(alice, user.address, amount ? amount : 10n * helper.balance.getOneTokenNominal());
+ return user;
+ });
+}
+
+const creteAccounts = async (balances: bigint[], donor: IKeyringPair, helper: UniqueHelper) => {
+ let nonce = await helper.chain.getNonce(donor.address);
+ const tokenNominal = helper.balance.getOneTokenNominal();
+ const transactions = [];
+ const accounts = [];
+ for (const balance of balances) {
+ const recepient = helper.util.fromSeed(mnemonicGenerate());
+ accounts.push(recepient);
+ if (balance !== 0n){
+ const tx = helper.constructApiCall('api.tx.balances.transfer', [{Id: recepient.address}, balance * tokenNominal]);
+ transactions.push(helper.signTransaction(donor, tx, 'account generation', {nonce}));
+ nonce++;
+ }
+ }
-});
\ No newline at end of file
+ await Promise.all(transactions);
+ return accounts;
+};
\ No newline at end of file
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -703,6 +703,10 @@
**/
nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;
/**
+ * Returns the total amount of unstaked tokens
+ **/
+ pendingUnstake: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+ /**
* Get property permissions, optionally limited to the provided keys
**/
propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
tests/src/interfaces/lookup.tsdiffbeforeafterboth556export default {6export default {7 /**7 /**8 * Lookup3: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>8 * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>9 **/9 **/10 FrameSystemAccountInfo: {11 nonce: 'u32',12 consumers: 'u32',13 providers: 'u32',14 sufficients: 'u32',15 data: 'PalletBalancesAccountData'16 },17 /**18 * Lookup5: pallet_balances::AccountData<Balance>19 **/20 PalletBalancesAccountData: {21 free: 'u128',22 reserved: 'u128',23 miscFrozen: 'u128',24 feeFrozen: 'u128'25 },26 /**27 * Lookup7: frame_support::weights::PerDispatchClass<T>28 **/29 FrameSupportWeightsPerDispatchClassU64: {30 normal: 'u64',31 operational: 'u64',32 mandatory: 'u64'33 },34 /**35 * Lookup11: sp_runtime::generic::digest::Digest36 **/37 SpRuntimeDigest: {38 logs: 'Vec<SpRuntimeDigestDigestItem>'39 },40 /**41 * Lookup13: sp_runtime::generic::digest::DigestItem42 **/43 SpRuntimeDigestDigestItem: {44 _enum: {45 Other: 'Bytes',46 __Unused1: 'Null',47 __Unused2: 'Null',48 __Unused3: 'Null',49 Consensus: '([u8;4],Bytes)',50 Seal: '([u8;4],Bytes)',51 PreRuntime: '([u8;4],Bytes)',52 __Unused7: 'Null',53 RuntimeEnvironmentUpdated: 'Null'54 }55 },56 /**57 * Lookup16: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>58 **/59 FrameSystemEventRecord: {60 phase: 'FrameSystemPhase',61 event: 'Event',62 topics: 'Vec<H256>'63 },64 /**65 * Lookup18: frame_system::pallet::Event<T>66 **/67 FrameSystemEvent: {68 _enum: {69 ExtrinsicSuccess: {70 dispatchInfo: 'FrameSupportWeightsDispatchInfo',71 },72 ExtrinsicFailed: {73 dispatchError: 'SpRuntimeDispatchError',74 dispatchInfo: 'FrameSupportWeightsDispatchInfo',75 },76 CodeUpdated: 'Null',77 NewAccount: {78 account: 'AccountId32',79 },80 KilledAccount: {81 account: 'AccountId32',82 },83 Remarked: {84 _alias: {85 hash_: 'hash',86 },87 sender: 'AccountId32',88 hash_: 'H256'89 }90 }91 },92 /**93 * Lookup19: frame_support::weights::DispatchInfo94 **/95 FrameSupportWeightsDispatchInfo: {96 weight: 'u64',97 class: 'FrameSupportWeightsDispatchClass',98 paysFee: 'FrameSupportWeightsPays'99 },100 /**101 * Lookup20: frame_support::weights::DispatchClass102 **/103 FrameSupportWeightsDispatchClass: {104 _enum: ['Normal', 'Operational', 'Mandatory']105 },106 /**107 * Lookup21: frame_support::weights::Pays108 **/109 FrameSupportWeightsPays: {110 _enum: ['Yes', 'No']111 },112 /**113 * Lookup22: sp_runtime::DispatchError114 **/115 SpRuntimeDispatchError: {116 _enum: {117 Other: 'Null',118 CannotLookup: 'Null',119 BadOrigin: 'Null',120 Module: 'SpRuntimeModuleError',121 ConsumerRemaining: 'Null',122 NoProviders: 'Null',123 TooManyConsumers: 'Null',124 Token: 'SpRuntimeTokenError',125 Arithmetic: 'SpRuntimeArithmeticError',126 Transactional: 'SpRuntimeTransactionalError'127 }128 },129 /**130 * Lookup23: sp_runtime::ModuleError131 **/132 SpRuntimeModuleError: {133 index: 'u8',134 error: '[u8;4]'135 },136 /**137 * Lookup24: sp_runtime::TokenError138 **/139 SpRuntimeTokenError: {140 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']141 },142 /**143 * Lookup25: sp_runtime::ArithmeticError144 **/145 SpRuntimeArithmeticError: {146 _enum: ['Underflow', 'Overflow', 'DivisionByZero']147 },148 /**149 * Lookup26: sp_runtime::TransactionalError150 **/151 SpRuntimeTransactionalError: {152 _enum: ['LimitReached', 'NoLayer']153 },154 /**155 * Lookup27: cumulus_pallet_parachain_system::pallet::Event<T>156 **/157 CumulusPalletParachainSystemEvent: {158 _enum: {159 ValidationFunctionStored: 'Null',160 ValidationFunctionApplied: {161 relayChainBlockNum: 'u32',162 },163 ValidationFunctionDiscarded: 'Null',164 UpgradeAuthorized: {165 codeHash: 'H256',166 },167 DownwardMessagesReceived: {168 count: 'u32',169 },170 DownwardMessagesProcessed: {171 weightUsed: 'u64',172 dmqHead: 'H256'173 }174 }175 },176 /**177 * Lookup28: pallet_balances::pallet::Event<T, I>178 **/179 PalletBalancesEvent: {180 _enum: {181 Endowed: {182 account: 'AccountId32',183 freeBalance: 'u128',184 },185 DustLost: {186 account: 'AccountId32',187 amount: 'u128',188 },189 Transfer: {190 from: 'AccountId32',191 to: 'AccountId32',192 amount: 'u128',193 },194 BalanceSet: {195 who: 'AccountId32',196 free: 'u128',197 reserved: 'u128',198 },199 Reserved: {200 who: 'AccountId32',201 amount: 'u128',202 },203 Unreserved: {204 who: 'AccountId32',205 amount: 'u128',206 },207 ReserveRepatriated: {208 from: 'AccountId32',209 to: 'AccountId32',210 amount: 'u128',211 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',212 },213 Deposit: {214 who: 'AccountId32',215 amount: 'u128',216 },217 Withdraw: {218 who: 'AccountId32',219 amount: 'u128',220 },221 Slashed: {222 who: 'AccountId32',223 amount: 'u128'224 }225 }226 },227 /**228 * Lookup29: frame_support::traits::tokens::misc::BalanceStatus229 **/230 FrameSupportTokensMiscBalanceStatus: {231 _enum: ['Free', 'Reserved']232 },233 /**234 * Lookup30: pallet_transaction_payment::pallet::Event<T>235 **/236 PalletTransactionPaymentEvent: {237 _enum: {238 TransactionFeePaid: {239 who: 'AccountId32',240 actualFee: 'u128',241 tip: 'u128'242 }243 }244 },245 /**246 * Lookup31: pallet_treasury::pallet::Event<T, I>247 **/248 PalletTreasuryEvent: {249 _enum: {250 Proposed: {251 proposalIndex: 'u32',252 },253 Spending: {254 budgetRemaining: 'u128',255 },256 Awarded: {257 proposalIndex: 'u32',258 award: 'u128',259 account: 'AccountId32',260 },261 Rejected: {262 proposalIndex: 'u32',263 slashed: 'u128',264 },265 Burnt: {266 burntFunds: 'u128',267 },268 Rollover: {269 rolloverBalance: 'u128',270 },271 Deposit: {272 value: 'u128',273 },274 SpendApproved: {275 proposalIndex: 'u32',276 amount: 'u128',277 beneficiary: 'AccountId32'278 }279 }280 },281 /**282 * Lookup32: pallet_sudo::pallet::Event<T>283 **/284 PalletSudoEvent: {285 _enum: {286 Sudid: {287 sudoResult: 'Result<Null, SpRuntimeDispatchError>',288 },289 KeyChanged: {290 oldSudoer: 'Option<AccountId32>',291 },292 SudoAsDone: {293 sudoResult: 'Result<Null, SpRuntimeDispatchError>'294 }295 }296 },297 /**298 * Lookup36: orml_vesting::module::Event<T>299 **/300 OrmlVestingModuleEvent: {301 _enum: {302 VestingScheduleAdded: {303 from: 'AccountId32',304 to: 'AccountId32',305 vestingSchedule: 'OrmlVestingVestingSchedule',306 },307 Claimed: {308 who: 'AccountId32',309 amount: 'u128',310 },311 VestingSchedulesUpdated: {312 who: 'AccountId32'313 }314 }315 },316 /**317 * Lookup37: orml_vesting::VestingSchedule<BlockNumber, Balance>318 **/319 OrmlVestingVestingSchedule: {320 start: 'u32',321 period: 'u32',322 periodCount: 'u32',323 perPeriod: 'Compact<u128>'324 },325 /**326 * Lookup39: cumulus_pallet_xcmp_queue::pallet::Event<T>327 **/328 CumulusPalletXcmpQueueEvent: {329 _enum: {330 Success: {331 messageHash: 'Option<H256>',332 weight: 'u64',333 },334 Fail: {335 messageHash: 'Option<H256>',336 error: 'XcmV2TraitsError',337 weight: 'u64',338 },339 BadVersion: {340 messageHash: 'Option<H256>',341 },342 BadFormat: {343 messageHash: 'Option<H256>',344 },345 UpwardMessageSent: {346 messageHash: 'Option<H256>',347 },348 XcmpMessageSent: {349 messageHash: 'Option<H256>',350 },351 OverweightEnqueued: {352 sender: 'u32',353 sentAt: 'u32',354 index: 'u64',355 required: 'u64',356 },357 OverweightServiced: {358 index: 'u64',359 used: 'u64'360 }361 }362 },363 /**364 * Lookup41: xcm::v2::traits::Error365 **/366 XcmV2TraitsError: {367 _enum: {368 Overflow: 'Null',369 Unimplemented: 'Null',370 UntrustedReserveLocation: 'Null',371 UntrustedTeleportLocation: 'Null',372 MultiLocationFull: 'Null',373 MultiLocationNotInvertible: 'Null',374 BadOrigin: 'Null',375 InvalidLocation: 'Null',376 AssetNotFound: 'Null',377 FailedToTransactAsset: 'Null',378 NotWithdrawable: 'Null',379 LocationCannotHold: 'Null',380 ExceedsMaxMessageSize: 'Null',381 DestinationUnsupported: 'Null',382 Transport: 'Null',383 Unroutable: 'Null',384 UnknownClaim: 'Null',385 FailedToDecode: 'Null',386 MaxWeightInvalid: 'Null',387 NotHoldingFees: 'Null',388 TooExpensive: 'Null',389 Trap: 'u64',390 UnhandledXcmVersion: 'Null',391 WeightLimitReached: 'u64',392 Barrier: 'Null',393 WeightNotComputable: 'Null'394 }395 },396 /**397 * Lookup43: pallet_xcm::pallet::Event<T>398 **/399 PalletXcmEvent: {400 _enum: {401 Attempted: 'XcmV2TraitsOutcome',402 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',403 UnexpectedResponse: '(XcmV1MultiLocation,u64)',404 ResponseReady: '(u64,XcmV2Response)',405 Notified: '(u64,u8,u8)',406 NotifyOverweight: '(u64,u8,u8,u64,u64)',407 NotifyDispatchError: '(u64,u8,u8)',408 NotifyDecodeFailed: '(u64,u8,u8)',409 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',410 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',411 ResponseTaken: 'u64',412 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',413 VersionChangeNotified: '(XcmV1MultiLocation,u32)',414 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',415 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',416 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'417 }418 },419 /**420 * Lookup44: xcm::v2::traits::Outcome421 **/422 XcmV2TraitsOutcome: {423 _enum: {424 Complete: 'u64',425 Incomplete: '(u64,XcmV2TraitsError)',426 Error: 'XcmV2TraitsError'427 }428 },429 /**430 * Lookup45: xcm::v1::multilocation::MultiLocation431 **/432 XcmV1MultiLocation: {433 parents: 'u8',434 interior: 'XcmV1MultilocationJunctions'435 },436 /**437 * Lookup46: xcm::v1::multilocation::Junctions438 **/439 XcmV1MultilocationJunctions: {440 _enum: {441 Here: 'Null',442 X1: 'XcmV1Junction',443 X2: '(XcmV1Junction,XcmV1Junction)',444 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',445 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',446 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',447 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',448 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',449 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'450 }451 },452 /**453 * Lookup47: xcm::v1::junction::Junction454 **/455 XcmV1Junction: {456 _enum: {457 Parachain: 'Compact<u32>',458 AccountId32: {459 network: 'XcmV0JunctionNetworkId',460 id: '[u8;32]',461 },462 AccountIndex64: {463 network: 'XcmV0JunctionNetworkId',464 index: 'Compact<u64>',465 },466 AccountKey20: {467 network: 'XcmV0JunctionNetworkId',468 key: '[u8;20]',469 },470 PalletInstance: 'u8',471 GeneralIndex: 'Compact<u128>',472 GeneralKey: 'Bytes',473 OnlyChild: 'Null',474 Plurality: {475 id: 'XcmV0JunctionBodyId',476 part: 'XcmV0JunctionBodyPart'477 }478 }479 },480 /**481 * Lookup49: xcm::v0::junction::NetworkId482 **/483 XcmV0JunctionNetworkId: {484 _enum: {485 Any: 'Null',486 Named: 'Bytes',487 Polkadot: 'Null',488 Kusama: 'Null'489 }490 },491 /**492 * Lookup53: xcm::v0::junction::BodyId493 **/494 XcmV0JunctionBodyId: {495 _enum: {496 Unit: 'Null',497 Named: 'Bytes',498 Index: 'Compact<u32>',499 Executive: 'Null',500 Technical: 'Null',501 Legislative: 'Null',502 Judicial: 'Null'503 }504 },505 /**506 * Lookup54: xcm::v0::junction::BodyPart507 **/508 XcmV0JunctionBodyPart: {509 _enum: {510 Voice: 'Null',511 Members: {512 count: 'Compact<u32>',513 },514 Fraction: {515 nom: 'Compact<u32>',516 denom: 'Compact<u32>',517 },518 AtLeastProportion: {519 nom: 'Compact<u32>',520 denom: 'Compact<u32>',521 },522 MoreThanProportion: {523 nom: 'Compact<u32>',524 denom: 'Compact<u32>'525 }526 }527 },528 /**529 * Lookup55: xcm::v2::Xcm<Call>530 **/531 XcmV2Xcm: 'Vec<XcmV2Instruction>',532 /**533 * Lookup57: xcm::v2::Instruction<Call>534 **/535 XcmV2Instruction: {536 _enum: {537 WithdrawAsset: 'XcmV1MultiassetMultiAssets',538 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',539 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',540 QueryResponse: {541 queryId: 'Compact<u64>',542 response: 'XcmV2Response',543 maxWeight: 'Compact<u64>',544 },545 TransferAsset: {546 assets: 'XcmV1MultiassetMultiAssets',547 beneficiary: 'XcmV1MultiLocation',548 },549 TransferReserveAsset: {550 assets: 'XcmV1MultiassetMultiAssets',551 dest: 'XcmV1MultiLocation',552 xcm: 'XcmV2Xcm',553 },554 Transact: {555 originType: 'XcmV0OriginKind',556 requireWeightAtMost: 'Compact<u64>',557 call: 'XcmDoubleEncoded',558 },559 HrmpNewChannelOpenRequest: {560 sender: 'Compact<u32>',561 maxMessageSize: 'Compact<u32>',562 maxCapacity: 'Compact<u32>',563 },564 HrmpChannelAccepted: {565 recipient: 'Compact<u32>',566 },567 HrmpChannelClosing: {568 initiator: 'Compact<u32>',569 sender: 'Compact<u32>',570 recipient: 'Compact<u32>',571 },572 ClearOrigin: 'Null',573 DescendOrigin: 'XcmV1MultilocationJunctions',574 ReportError: {575 queryId: 'Compact<u64>',576 dest: 'XcmV1MultiLocation',577 maxResponseWeight: 'Compact<u64>',578 },579 DepositAsset: {580 assets: 'XcmV1MultiassetMultiAssetFilter',581 maxAssets: 'Compact<u32>',582 beneficiary: 'XcmV1MultiLocation',583 },584 DepositReserveAsset: {585 assets: 'XcmV1MultiassetMultiAssetFilter',586 maxAssets: 'Compact<u32>',587 dest: 'XcmV1MultiLocation',588 xcm: 'XcmV2Xcm',589 },590 ExchangeAsset: {591 give: 'XcmV1MultiassetMultiAssetFilter',592 receive: 'XcmV1MultiassetMultiAssets',593 },594 InitiateReserveWithdraw: {595 assets: 'XcmV1MultiassetMultiAssetFilter',596 reserve: 'XcmV1MultiLocation',597 xcm: 'XcmV2Xcm',598 },599 InitiateTeleport: {600 assets: 'XcmV1MultiassetMultiAssetFilter',601 dest: 'XcmV1MultiLocation',602 xcm: 'XcmV2Xcm',603 },604 QueryHolding: {605 queryId: 'Compact<u64>',606 dest: 'XcmV1MultiLocation',607 assets: 'XcmV1MultiassetMultiAssetFilter',608 maxResponseWeight: 'Compact<u64>',609 },610 BuyExecution: {611 fees: 'XcmV1MultiAsset',612 weightLimit: 'XcmV2WeightLimit',613 },614 RefundSurplus: 'Null',615 SetErrorHandler: 'XcmV2Xcm',616 SetAppendix: 'XcmV2Xcm',617 ClearError: 'Null',618 ClaimAsset: {619 assets: 'XcmV1MultiassetMultiAssets',620 ticket: 'XcmV1MultiLocation',621 },622 Trap: 'Compact<u64>',623 SubscribeVersion: {624 queryId: 'Compact<u64>',625 maxResponseWeight: 'Compact<u64>',626 },627 UnsubscribeVersion: 'Null'628 }629 },630 /**631 * Lookup58: xcm::v1::multiasset::MultiAssets632 **/633 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',634 /**635 * Lookup60: xcm::v1::multiasset::MultiAsset636 **/637 XcmV1MultiAsset: {638 id: 'XcmV1MultiassetAssetId',639 fun: 'XcmV1MultiassetFungibility'640 },641 /**642 * Lookup61: xcm::v1::multiasset::AssetId643 **/644 XcmV1MultiassetAssetId: {645 _enum: {646 Concrete: 'XcmV1MultiLocation',647 Abstract: 'Bytes'648 }649 },650 /**651 * Lookup62: xcm::v1::multiasset::Fungibility652 **/653 XcmV1MultiassetFungibility: {654 _enum: {655 Fungible: 'Compact<u128>',656 NonFungible: 'XcmV1MultiassetAssetInstance'657 }658 },659 /**660 * Lookup63: xcm::v1::multiasset::AssetInstance661 **/662 XcmV1MultiassetAssetInstance: {663 _enum: {664 Undefined: 'Null',665 Index: 'Compact<u128>',666 Array4: '[u8;4]',667 Array8: '[u8;8]',668 Array16: '[u8;16]',669 Array32: '[u8;32]',670 Blob: 'Bytes'671 }672 },673 /**674 * Lookup66: xcm::v2::Response675 **/676 XcmV2Response: {677 _enum: {678 Null: 'Null',679 Assets: 'XcmV1MultiassetMultiAssets',680 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',681 Version: 'u32'682 }683 },684 /**685 * Lookup69: xcm::v0::OriginKind686 **/687 XcmV0OriginKind: {688 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']689 },690 /**691 * Lookup70: xcm::double_encoded::DoubleEncoded<T>692 **/693 XcmDoubleEncoded: {694 encoded: 'Bytes'695 },696 /**697 * Lookup71: xcm::v1::multiasset::MultiAssetFilter698 **/699 XcmV1MultiassetMultiAssetFilter: {700 _enum: {701 Definite: 'XcmV1MultiassetMultiAssets',702 Wild: 'XcmV1MultiassetWildMultiAsset'703 }704 },705 /**706 * Lookup72: xcm::v1::multiasset::WildMultiAsset707 **/708 XcmV1MultiassetWildMultiAsset: {709 _enum: {710 All: 'Null',711 AllOf: {712 id: 'XcmV1MultiassetAssetId',713 fun: 'XcmV1MultiassetWildFungibility'714 }715 }716 },717 /**718 * Lookup73: xcm::v1::multiasset::WildFungibility719 **/720 XcmV1MultiassetWildFungibility: {721 _enum: ['Fungible', 'NonFungible']722 },723 /**724 * Lookup74: xcm::v2::WeightLimit725 **/726 XcmV2WeightLimit: {727 _enum: {728 Unlimited: 'Null',729 Limited: 'Compact<u64>'730 }731 },732 /**733 * Lookup76: xcm::VersionedMultiAssets734 **/735 XcmVersionedMultiAssets: {736 _enum: {737 V0: 'Vec<XcmV0MultiAsset>',738 V1: 'XcmV1MultiassetMultiAssets'739 }740 },741 /**742 * Lookup78: xcm::v0::multi_asset::MultiAsset743 **/744 XcmV0MultiAsset: {745 _enum: {746 None: 'Null',747 All: 'Null',748 AllFungible: 'Null',749 AllNonFungible: 'Null',750 AllAbstractFungible: {751 id: 'Bytes',752 },753 AllAbstractNonFungible: {754 class: 'Bytes',755 },756 AllConcreteFungible: {757 id: 'XcmV0MultiLocation',758 },759 AllConcreteNonFungible: {760 class: 'XcmV0MultiLocation',761 },762 AbstractFungible: {763 id: 'Bytes',764 amount: 'Compact<u128>',765 },766 AbstractNonFungible: {767 class: 'Bytes',768 instance: 'XcmV1MultiassetAssetInstance',769 },770 ConcreteFungible: {771 id: 'XcmV0MultiLocation',772 amount: 'Compact<u128>',773 },774 ConcreteNonFungible: {775 class: 'XcmV0MultiLocation',776 instance: 'XcmV1MultiassetAssetInstance'777 }778 }779 },780 /**781 * Lookup79: xcm::v0::multi_location::MultiLocation782 **/783 XcmV0MultiLocation: {784 _enum: {785 Null: 'Null',786 X1: 'XcmV0Junction',787 X2: '(XcmV0Junction,XcmV0Junction)',788 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',789 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',790 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',791 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',792 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',793 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'794 }795 },796 /**797 * Lookup80: xcm::v0::junction::Junction798 **/799 XcmV0Junction: {800 _enum: {801 Parent: 'Null',802 Parachain: 'Compact<u32>',803 AccountId32: {804 network: 'XcmV0JunctionNetworkId',805 id: '[u8;32]',806 },807 AccountIndex64: {808 network: 'XcmV0JunctionNetworkId',809 index: 'Compact<u64>',810 },811 AccountKey20: {812 network: 'XcmV0JunctionNetworkId',813 key: '[u8;20]',814 },815 PalletInstance: 'u8',816 GeneralIndex: 'Compact<u128>',817 GeneralKey: 'Bytes',818 OnlyChild: 'Null',819 Plurality: {820 id: 'XcmV0JunctionBodyId',821 part: 'XcmV0JunctionBodyPart'822 }823 }824 },825 /**826 * Lookup81: xcm::VersionedMultiLocation827 **/828 XcmVersionedMultiLocation: {829 _enum: {830 V0: 'XcmV0MultiLocation',831 V1: 'XcmV1MultiLocation'832 }833 },834 /**835 * Lookup82: cumulus_pallet_xcm::pallet::Event<T>836 **/837 CumulusPalletXcmEvent: {838 _enum: {839 InvalidFormat: '[u8;8]',840 UnsupportedVersion: '[u8;8]',841 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'842 }843 },844 /**845 * Lookup83: cumulus_pallet_dmp_queue::pallet::Event<T>846 **/847 CumulusPalletDmpQueueEvent: {848 _enum: {849 InvalidFormat: {850 messageId: '[u8;32]',851 },852 UnsupportedVersion: {853 messageId: '[u8;32]',854 },855 ExecutedDownward: {856 messageId: '[u8;32]',857 outcome: 'XcmV2TraitsOutcome',858 },859 WeightExhausted: {860 messageId: '[u8;32]',861 remainingWeight: 'u64',862 requiredWeight: 'u64',863 },864 OverweightEnqueued: {865 messageId: '[u8;32]',866 overweightIndex: 'u64',867 requiredWeight: 'u64',868 },869 OverweightServiced: {870 overweightIndex: 'u64',871 weightUsed: 'u64'872 }873 }874 },875 /**876 * Lookup84: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>877 **/878 PalletUniqueRawEvent: {879 _enum: {880 CollectionSponsorRemoved: 'u32',881 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',882 CollectionOwnedChanged: '(u32,AccountId32)',883 CollectionSponsorSet: '(u32,AccountId32)',884 SponsorshipConfirmed: '(u32,AccountId32)',885 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',886 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',887 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',888 CollectionLimitSet: 'u32',889 CollectionPermissionSet: 'u32'890 }891 },892 /**893 * Lookup85: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>894 **/895 PalletEvmAccountBasicCrossAccountIdRepr: {896 _enum: {897 Substrate: 'AccountId32',898 Ethereum: 'H160'899 }900 },901 /**902 * Lookup88: pallet_unique_scheduler::pallet::Event<T>903 **/904 PalletUniqueSchedulerEvent: {905 _enum: {906 Scheduled: {907 when: 'u32',908 index: 'u32',909 },910 Canceled: {911 when: 'u32',912 index: 'u32',913 },914 Dispatched: {915 task: '(u32,u32)',916 id: 'Option<[u8;16]>',917 result: 'Result<Null, SpRuntimeDispatchError>',918 },919 CallLookupFailed: {920 task: '(u32,u32)',921 id: 'Option<[u8;16]>',922 error: 'FrameSupportScheduleLookupError'923 }924 }925 },926 /**927 * Lookup91: frame_support::traits::schedule::LookupError928 **/929 FrameSupportScheduleLookupError: {930 _enum: ['Unknown', 'BadFormat']931 },932 /**933 * Lookup92: pallet_common::pallet::Event<T>934 **/935 PalletCommonEvent: {936 _enum: {937 CollectionCreated: '(u32,u8,AccountId32)',938 CollectionDestroyed: 'u32',939 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',940 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',941 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',942 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',943 CollectionPropertySet: '(u32,Bytes)',944 CollectionPropertyDeleted: '(u32,Bytes)',945 TokenPropertySet: '(u32,u32,Bytes)',946 TokenPropertyDeleted: '(u32,u32,Bytes)',947 PropertyPermissionSet: '(u32,Bytes)'948 }949 },950 /**951 * Lookup95: pallet_structure::pallet::Event<T>952 **/953 PalletStructureEvent: {954 _enum: {955 Executed: 'Result<Null, SpRuntimeDispatchError>'956 }957 },958 /**959 * Lookup96: pallet_rmrk_core::pallet::Event<T>960 **/961 PalletRmrkCoreEvent: {962 _enum: {963 CollectionCreated: {964 issuer: 'AccountId32',965 collectionId: 'u32',966 },967 CollectionDestroyed: {968 issuer: 'AccountId32',969 collectionId: 'u32',970 },971 IssuerChanged: {972 oldIssuer: 'AccountId32',973 newIssuer: 'AccountId32',974 collectionId: 'u32',975 },976 CollectionLocked: {977 issuer: 'AccountId32',978 collectionId: 'u32',979 },980 NftMinted: {981 owner: 'AccountId32',982 collectionId: 'u32',983 nftId: 'u32',984 },985 NFTBurned: {986 owner: 'AccountId32',987 nftId: 'u32',988 },989 NFTSent: {990 sender: 'AccountId32',991 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',992 collectionId: 'u32',993 nftId: 'u32',994 approvalRequired: 'bool',995 },996 NFTAccepted: {997 sender: 'AccountId32',998 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',999 collectionId: 'u32',1000 nftId: 'u32',1001 },1002 NFTRejected: {1003 sender: 'AccountId32',1004 collectionId: 'u32',1005 nftId: 'u32',1006 },1007 PropertySet: {1008 collectionId: 'u32',1009 maybeNftId: 'Option<u32>',1010 key: 'Bytes',1011 value: 'Bytes',1012 },1013 ResourceAdded: {1014 nftId: 'u32',1015 resourceId: 'u32',1016 },1017 ResourceRemoval: {1018 nftId: 'u32',1019 resourceId: 'u32',1020 },1021 ResourceAccepted: {1022 nftId: 'u32',1023 resourceId: 'u32',1024 },1025 ResourceRemovalAccepted: {1026 nftId: 'u32',1027 resourceId: 'u32',1028 },1029 PrioritySet: {1030 collectionId: 'u32',1031 nftId: 'u32'1032 }1033 }1034 },1035 /**1036 * Lookup97: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1037 **/1038 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1039 _enum: {1040 AccountId: 'AccountId32',1041 CollectionAndNftTuple: '(u32,u32)'1042 }1043 },1044 /**1045 * Lookup102: pallet_rmrk_equip::pallet::Event<T>1046 **/1047 PalletRmrkEquipEvent: {1048 _enum: {1049 BaseCreated: {1050 issuer: 'AccountId32',1051 baseId: 'u32',1052 },1053 EquippablesUpdated: {1054 baseId: 'u32',1055 slotId: 'u32'1056 }1057 }1058 },1059 /**1060 * Lookup103: pallet_evm::pallet::Event<T>1061 **/1062 PalletEvmEvent: {1063 _enum: {1064 Log: 'EthereumLog',1065 Created: 'H160',1066 CreatedFailed: 'H160',1067 Executed: 'H160',1068 ExecutedFailed: 'H160',1069 BalanceDeposit: '(AccountId32,H160,U256)',1070 BalanceWithdraw: '(AccountId32,H160,U256)'1071 }1072 },1073 /**1074 * Lookup104: ethereum::log::Log1075 **/1076 EthereumLog: {1077 address: 'H160',1078 topics: 'Vec<H256>',1079 data: 'Bytes'1080 },1081 /**1082 * Lookup108: pallet_ethereum::pallet::Event1083 **/1084 PalletEthereumEvent: {1085 _enum: {1086 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1087 }1088 },1089 /**1090 * Lookup109: evm_core::error::ExitReason1091 **/1092 EvmCoreErrorExitReason: {1093 _enum: {1094 Succeed: 'EvmCoreErrorExitSucceed',1095 Error: 'EvmCoreErrorExitError',1096 Revert: 'EvmCoreErrorExitRevert',1097 Fatal: 'EvmCoreErrorExitFatal'1098 }1099 },1100 /**1101 * Lookup110: evm_core::error::ExitSucceed1102 **/1103 EvmCoreErrorExitSucceed: {1104 _enum: ['Stopped', 'Returned', 'Suicided']1105 },1106 /**1107 * Lookup111: evm_core::error::ExitError1108 **/1109 EvmCoreErrorExitError: {1110 _enum: {1111 StackUnderflow: 'Null',1112 StackOverflow: 'Null',1113 InvalidJump: 'Null',1114 InvalidRange: 'Null',1115 DesignatedInvalid: 'Null',1116 CallTooDeep: 'Null',1117 CreateCollision: 'Null',1118 CreateContractLimit: 'Null',1119 OutOfOffset: 'Null',1120 OutOfGas: 'Null',1121 OutOfFund: 'Null',1122 PCUnderflow: 'Null',1123 CreateEmpty: 'Null',1124 Other: 'Text',1125 InvalidCode: 'Null'1126 }1127 },1128 /**1129 * Lookup114: evm_core::error::ExitRevert1130 **/1131 EvmCoreErrorExitRevert: {1132 _enum: ['Reverted']1133 },1134 /**1135 * Lookup115: evm_core::error::ExitFatal1136 **/1137 EvmCoreErrorExitFatal: {1138 _enum: {1139 NotSupported: 'Null',1140 UnhandledInterrupt: 'Null',1141 CallErrorAsFatal: 'EvmCoreErrorExitError',1142 Other: 'Text'1143 }1144 },1145 /**1146 * Lookup116: frame_system::Phase1147 **/1148 FrameSystemPhase: {1149 _enum: {1150 ApplyExtrinsic: 'u32',1151 Finalization: 'Null',1152 Initialization: 'Null'1153 }1154 },1155 /**1156 * Lookup118: frame_system::LastRuntimeUpgradeInfo1157 **/1158 FrameSystemLastRuntimeUpgradeInfo: {1159 specVersion: 'Compact<u32>',1160 specName: 'Text'1161 },1162 /**1163 * Lookup119: frame_system::pallet::Call<T>1164 **/1165 FrameSystemCall: {1166 _enum: {1167 fill_block: {1168 ratio: 'Perbill',1169 },1170 remark: {1171 remark: 'Bytes',1172 },1173 set_heap_pages: {1174 pages: 'u64',1175 },1176 set_code: {1177 code: 'Bytes',1178 },1179 set_code_without_checks: {1180 code: 'Bytes',1181 },1182 set_storage: {1183 items: 'Vec<(Bytes,Bytes)>',1184 },1185 kill_storage: {1186 _alias: {1187 keys_: 'keys',1188 },1189 keys_: 'Vec<Bytes>',1190 },1191 kill_prefix: {1192 prefix: 'Bytes',1193 subkeys: 'u32',1194 },1195 remark_with_event: {1196 remark: 'Bytes'1197 }1198 }1199 },1200 /**1201 * Lookup124: frame_system::limits::BlockWeights1202 **/1203 FrameSystemLimitsBlockWeights: {1204 baseBlock: 'u64',1205 maxBlock: 'u64',1206 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'1207 },1208 /**1209 * Lookup125: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>1210 **/1211 FrameSupportWeightsPerDispatchClassWeightsPerClass: {1212 normal: 'FrameSystemLimitsWeightsPerClass',1213 operational: 'FrameSystemLimitsWeightsPerClass',1214 mandatory: 'FrameSystemLimitsWeightsPerClass'1215 },1216 /**1217 * Lookup126: frame_system::limits::WeightsPerClass1218 **/1219 FrameSystemLimitsWeightsPerClass: {1220 baseExtrinsic: 'u64',1221 maxExtrinsic: 'Option<u64>',1222 maxTotal: 'Option<u64>',1223 reserved: 'Option<u64>'1224 },1225 /**1226 * Lookup128: frame_system::limits::BlockLength1227 **/1228 FrameSystemLimitsBlockLength: {1229 max: 'FrameSupportWeightsPerDispatchClassU32'1230 },1231 /**1232 * Lookup129: frame_support::weights::PerDispatchClass<T>1233 **/1234 FrameSupportWeightsPerDispatchClassU32: {1235 normal: 'u32',1236 operational: 'u32',1237 mandatory: 'u32'1238 },1239 /**1240 * Lookup130: frame_support::weights::RuntimeDbWeight1241 **/1242 FrameSupportWeightsRuntimeDbWeight: {1243 read: 'u64',1244 write: 'u64'1245 },1246 /**1247 * Lookup131: sp_version::RuntimeVersion1248 **/1249 SpVersionRuntimeVersion: {1250 specName: 'Text',1251 implName: 'Text',1252 authoringVersion: 'u32',1253 specVersion: 'u32',1254 implVersion: 'u32',1255 apis: 'Vec<([u8;8],u32)>',1256 transactionVersion: 'u32',1257 stateVersion: 'u8'1258 },1259 /**1260 * Lookup136: frame_system::pallet::Error<T>1261 **/1262 FrameSystemError: {1263 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1264 },1265 /**1266 * Lookup137: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1267 **/1268 PolkadotPrimitivesV2PersistedValidationData: {10 PolkadotPrimitivesV2PersistedValidationData: {1269 parentHead: 'Bytes',11 parentHead: 'Bytes',1270 relayParentNumber: 'u32',12 relayParentNumber: 'u32',1271 relayParentStorageRoot: 'H256',13 relayParentStorageRoot: 'H256',1272 maxPovSize: 'u32'14 maxPovSize: 'u32'1273 },15 },1274 /**16 /**1275 * Lookup140: polkadot_primitives::v2::UpgradeRestriction17 * Lookup9: polkadot_primitives::v2::UpgradeRestriction1276 **/18 **/1277 PolkadotPrimitivesV2UpgradeRestriction: {19 PolkadotPrimitivesV2UpgradeRestriction: {1278 _enum: ['Present']20 _enum: ['Present']1279 },21 },1280 /**22 /**1281 * Lookup141: sp_trie::storage_proof::StorageProof23 * Lookup10: sp_trie::storage_proof::StorageProof1282 **/24 **/1283 SpTrieStorageProof: {25 SpTrieStorageProof: {1284 trieNodes: 'BTreeSet<Bytes>'26 trieNodes: 'BTreeSet<Bytes>'1285 },27 },1286 /**28 /**1287 * Lookup143: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot29 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1288 **/30 **/1289 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {31 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1290 dmqMqcHead: 'H256',32 dmqMqcHead: 'H256',1293 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'35 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1294 },36 },1295 /**37 /**1296 * Lookup146: polkadot_primitives::v2::AbridgedHrmpChannel38 * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel1297 **/39 **/1298 PolkadotPrimitivesV2AbridgedHrmpChannel: {40 PolkadotPrimitivesV2AbridgedHrmpChannel: {1299 maxCapacity: 'u32',41 maxCapacity: 'u32',1304 mqcHead: 'Option<H256>'46 mqcHead: 'Option<H256>'1305 },47 },1306 /**48 /**1307 * Lookup147: polkadot_primitives::v2::AbridgedHostConfiguration49 * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration1308 **/50 **/1309 PolkadotPrimitivesV2AbridgedHostConfiguration: {51 PolkadotPrimitivesV2AbridgedHostConfiguration: {1310 maxCodeSize: 'u32',52 maxCodeSize: 'u32',1318 validationUpgradeDelay: 'u32'60 validationUpgradeDelay: 'u32'1319 },61 },1320 /**62 /**1321 * Lookup153: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>63 * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1322 **/64 **/1323 PolkadotCorePrimitivesOutboundHrmpMessage: {65 PolkadotCorePrimitivesOutboundHrmpMessage: {1324 recipient: 'u32',66 recipient: 'u32',1325 data: 'Bytes'67 data: 'Bytes'1326 },68 },1327 /**69 /**1328 * Lookup154: cumulus_pallet_parachain_system::pallet::Call<T>70 * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>1329 **/71 **/1330 CumulusPalletParachainSystemCall: {72 CumulusPalletParachainSystemCall: {1331 _enum: {73 _enum: {1344 }86 }1345 },87 },1346 /**88 /**1347 * Lookup155: cumulus_primitives_parachain_inherent::ParachainInherentData89 * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData1348 **/90 **/1349 CumulusPrimitivesParachainInherentParachainInherentData: {91 CumulusPrimitivesParachainInherentParachainInherentData: {1350 validationData: 'PolkadotPrimitivesV2PersistedValidationData',92 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1353 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'95 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1354 },96 },1355 /**97 /**1356 * Lookup157: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>98 * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1357 **/99 **/1358 PolkadotCorePrimitivesInboundDownwardMessage: {100 PolkadotCorePrimitivesInboundDownwardMessage: {1359 sentAt: 'u32',101 sentAt: 'u32',1360 msg: 'Bytes'102 msg: 'Bytes'1361 },103 },1362 /**104 /**1363 * Lookup160: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>105 * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1364 **/106 **/1365 PolkadotCorePrimitivesInboundHrmpMessage: {107 PolkadotCorePrimitivesInboundHrmpMessage: {1366 sentAt: 'u32',108 sentAt: 'u32',1367 data: 'Bytes'109 data: 'Bytes'1368 },110 },1369 /**111 /**1370 * Lookup163: cumulus_pallet_parachain_system::pallet::Error<T>112 * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>1371 **/113 **/114 CumulusPalletParachainSystemEvent: {115 _enum: {116 ValidationFunctionStored: 'Null',117 ValidationFunctionApplied: {118 relayChainBlockNum: 'u32',119 },120 ValidationFunctionDiscarded: 'Null',121 UpgradeAuthorized: {122 codeHash: 'H256',123 },124 DownwardMessagesReceived: {125 count: 'u32',126 },127 DownwardMessagesProcessed: {128 weightUsed: 'u64',129 dmqHead: 'H256'130 }131 }132 },133 /**134 * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>135 **/1372 CumulusPalletParachainSystemError: {136 CumulusPalletParachainSystemError: {1373 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']137 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']138 },139 /**140 * Lookup41: pallet_balances::AccountData<Balance>141 **/142 PalletBalancesAccountData: {143 free: 'u128',144 reserved: 'u128',145 miscFrozen: 'u128',146 feeFrozen: 'u128'1374 },147 },1375 /**148 /**1376 * Lookup165: pallet_balances::BalanceLock<Balance>149 * Lookup43: pallet_balances::BalanceLock<Balance>1377 **/150 **/1378 PalletBalancesBalanceLock: {151 PalletBalancesBalanceLock: {1379 id: '[u8;8]',152 id: '[u8;8]',1380 amount: 'u128',153 amount: 'u128',1381 reasons: 'PalletBalancesReasons'154 reasons: 'PalletBalancesReasons'1382 },155 },1383 /**156 /**1384 * Lookup166: pallet_balances::Reasons157 * Lookup45: pallet_balances::Reasons1385 **/158 **/1386 PalletBalancesReasons: {159 PalletBalancesReasons: {1387 _enum: ['Fee', 'Misc', 'All']160 _enum: ['Fee', 'Misc', 'All']1388 },161 },1389 /**162 /**1390 * Lookup169: pallet_balances::ReserveData<ReserveIdentifier, Balance>163 * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>1391 **/164 **/1392 PalletBalancesReserveData: {165 PalletBalancesReserveData: {1393 id: '[u8;16]',166 id: '[u8;16]',2706 _enum: ['Unknown', 'OverLimit']1479 _enum: ['Unknown', 'OverLimit']2707 },1480 },2708 /**1481 /**2709 * Lookup347: pallet_unique::Error<T>1482 * Lookup346: pallet_unique::Error<T>2710 **/1483 **/2711 PalletUniqueError: {1484 PalletUniqueError: {2712 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']1485 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2713 },1486 },2714 /**1487 /**2715 * Lookup350: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>1488 * Lookup349: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2716 **/1489 **/2717 PalletUniqueSchedulerScheduledV3: {1490 PalletUniqueSchedulerScheduledV3: {2718 maybeId: 'Option<[u8;16]>',1491 maybeId: 'Option<[u8;16]>',2722 origin: 'OpalRuntimeOriginCaller'1495 origin: 'OpalRuntimeOriginCaller'2723 },1496 },2724 /**1497 /**2725 * Lookup351: opal_runtime::OriginCaller1498 * Lookup350: opal_runtime::OriginCaller2726 **/1499 **/2727 OpalRuntimeOriginCaller: {1500 OpalRuntimeOriginCaller: {2728 _enum: {1501 _enum: {2831 }1604 }2832 },1605 },2833 /**1606 /**2834 * Lookup352: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>1607 * Lookup351: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2835 **/1608 **/2836 FrameSupportDispatchRawOrigin: {1609 FrameSupportDispatchRawOrigin: {2837 _enum: {1610 _enum: {2841 }1614 }2842 },1615 },2843 /**1616 /**2844 * Lookup353: pallet_xcm::pallet::Origin1617 * Lookup352: pallet_xcm::pallet::Origin2845 **/1618 **/2846 PalletXcmOrigin: {1619 PalletXcmOrigin: {2847 _enum: {1620 _enum: {2850 }1623 }2851 },1624 },2852 /**1625 /**2853 * Lookup354: cumulus_pallet_xcm::pallet::Origin1626 * Lookup353: cumulus_pallet_xcm::pallet::Origin2854 **/1627 **/2855 CumulusPalletXcmOrigin: {1628 CumulusPalletXcmOrigin: {2856 _enum: {1629 _enum: {2859 }1632 }2860 },1633 },2861 /**1634 /**2862 * Lookup355: pallet_ethereum::RawOrigin1635 * Lookup354: pallet_ethereum::RawOrigin2863 **/1636 **/2864 PalletEthereumRawOrigin: {1637 PalletEthereumRawOrigin: {2865 _enum: {1638 _enum: {2866 EthereumTransaction: 'H160'1639 EthereumTransaction: 'H160'2867 }1640 }2868 },1641 },2869 /**1642 /**2870 * Lookup356: sp_core::Void1643 * Lookup355: sp_core::Void2871 **/1644 **/2872 SpCoreVoid: 'Null',1645 SpCoreVoid: 'Null',2873 /**1646 /**2874 * Lookup357: pallet_unique_scheduler::pallet::Error<T>1647 * Lookup356: pallet_unique_scheduler::pallet::Error<T>2875 **/1648 **/2876 PalletUniqueSchedulerError: {1649 PalletUniqueSchedulerError: {2877 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']1650 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2878 },1651 },2879 /**1652 /**2880 * Lookup358: up_data_structs::Collection<sp_core::crypto::AccountId32>1653 * Lookup357: up_data_structs::Collection<sp_core::crypto::AccountId32>2881 **/1654 **/2882 UpDataStructsCollection: {1655 UpDataStructsCollection: {2883 owner: 'AccountId32',1656 owner: 'AccountId32',2891 externalCollection: 'bool'1664 externalCollection: 'bool'2892 },1665 },2893 /**1666 /**2894 * Lookup359: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>1667 * Lookup358: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2895 **/1668 **/2896 UpDataStructsSponsorshipState: {1669 UpDataStructsSponsorshipState: {2897 _enum: {1670 _enum: {2901 }1674 }2902 },1675 },2903 /**1676 /**2904 * Lookup360: up_data_structs::Properties1677 * Lookup359: up_data_structs::Properties2905 **/1678 **/2906 UpDataStructsProperties: {1679 UpDataStructsProperties: {2907 map: 'UpDataStructsPropertiesMapBoundedVec',1680 map: 'UpDataStructsPropertiesMapBoundedVec',2908 consumedSpace: 'u32',1681 consumedSpace: 'u32',2909 spaceLimit: 'u32'1682 spaceLimit: 'u32'2910 },1683 },2911 /**1684 /**2912 * Lookup361: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>1685 * Lookup360: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2913 **/1686 **/2914 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',1687 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2915 /**1688 /**2916 * Lookup366: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>1689 * Lookup366: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2917 **/1690 **/2918 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',1691 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2919 /**1692 /**2920 * Lookup373: up_data_structs::CollectionStats1693 * Lookup372: up_data_structs::CollectionStats2921 **/1694 **/2922 UpDataStructsCollectionStats: {1695 UpDataStructsCollectionStats: {2923 created: 'u32',1696 created: 'u32',2924 destroyed: 'u32',1697 destroyed: 'u32',2925 alive: 'u32'1698 alive: 'u32'2926 },1699 },2927 /**1700 /**2928 * Lookup374: up_data_structs::TokenChild1701 * Lookup373: up_data_structs::TokenChild2929 **/1702 **/2930 UpDataStructsTokenChild: {1703 UpDataStructsTokenChild: {2931 token: 'u32',1704 token: 'u32',2932 collection: 'u32'1705 collection: 'u32'2933 },1706 },2934 /**1707 /**2935 * Lookup375: PhantomType::up_data_structs<T>1708 * Lookup374: PhantomType::up_data_structs<T>2936 **/1709 **/2937 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',1710 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2938 /**1711 /**2939 * Lookup377: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1712 * Lookup376: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2940 **/1713 **/2941 UpDataStructsTokenData: {1714 UpDataStructsTokenData: {2942 properties: 'Vec<UpDataStructsProperty>',1715 properties: 'Vec<UpDataStructsProperty>',2943 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',1716 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2944 pieces: 'u128'1717 pieces: 'u128'2945 },1718 },2946 /**1719 /**2947 * Lookup379: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>1720 * Lookup378: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2948 **/1721 **/2949 UpDataStructsRpcCollection: {1722 UpDataStructsRpcCollection: {2950 owner: 'AccountId32',1723 owner: 'AccountId32',2960 readOnly: 'bool'1733 readOnly: 'bool'2961 },1734 },2962 /**1735 /**2963 * Lookup380: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>1736 * Lookup379: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2964 **/1737 **/2965 RmrkTraitsCollectionCollectionInfo: {1738 RmrkTraitsCollectionCollectionInfo: {2966 issuer: 'AccountId32',1739 issuer: 'AccountId32',2970 nftsCount: 'u32'1743 nftsCount: 'u32'2971 },1744 },2972 /**1745 /**2973 * Lookup381: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>1746 * Lookup380: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2974 **/1747 **/2975 RmrkTraitsNftNftInfo: {1748 RmrkTraitsNftNftInfo: {2976 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1749 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2980 pending: 'bool'1753 pending: 'bool'2981 },1754 },2982 /**1755 /**2983 * Lookup383: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>1756 * Lookup382: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2984 **/1757 **/2985 RmrkTraitsNftRoyaltyInfo: {1758 RmrkTraitsNftRoyaltyInfo: {2986 recipient: 'AccountId32',1759 recipient: 'AccountId32',2987 amount: 'Permill'1760 amount: 'Permill'2988 },1761 },2989 /**1762 /**2990 * Lookup384: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>1763 * Lookup383: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2991 **/1764 **/2992 RmrkTraitsResourceResourceInfo: {1765 RmrkTraitsResourceResourceInfo: {2993 id: 'u32',1766 id: 'u32',2996 pendingRemoval: 'bool'1769 pendingRemoval: 'bool'2997 },1770 },2998 /**1771 /**2999 * Lookup385: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>1772 * Lookup384: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>3000 **/1773 **/3001 RmrkTraitsPropertyPropertyInfo: {1774 RmrkTraitsPropertyPropertyInfo: {3002 key: 'Bytes',1775 key: 'Bytes',3003 value: 'Bytes'1776 value: 'Bytes'3004 },1777 },3005 /**1778 /**3006 * Lookup386: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>1779 * Lookup385: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>3007 **/1780 **/3008 RmrkTraitsBaseBaseInfo: {1781 RmrkTraitsBaseBaseInfo: {3009 issuer: 'AccountId32',1782 issuer: 'AccountId32',3010 baseType: 'Bytes',1783 baseType: 'Bytes',3011 symbol: 'Bytes'1784 symbol: 'Bytes'3012 },1785 },3013 /**1786 /**3014 * Lookup387: rmrk_traits::nft::NftChild1787 * Lookup386: rmrk_traits::nft::NftChild3015 **/1788 **/3016 RmrkTraitsNftNftChild: {1789 RmrkTraitsNftNftChild: {3017 collectionId: 'u32',1790 collectionId: 'u32',3018 nftId: 'u32'1791 nftId: 'u32'3019 },1792 },3020 /**1793 /**3021 * Lookup389: pallet_common::pallet::Error<T>1794 * Lookup388: pallet_common::pallet::Error<T>3022 **/1795 **/3023 PalletCommonError: {1796 PalletCommonError: {3024 _enum: ['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']1797 _enum: ['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']3025 },1798 },3026 /**1799 /**3027 * Lookup391: pallet_fungible::pallet::Error<T>1800 * Lookup390: pallet_fungible::pallet::Error<T>3028 **/1801 **/3029 PalletFungibleError: {1802 PalletFungibleError: {3030 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']1803 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3031 },1804 },3032 /**1805 /**3033 * Lookup392: pallet_refungible::ItemData1806 * Lookup391: pallet_refungible::ItemData3034 **/1807 **/3035 PalletRefungibleItemData: {1808 PalletRefungibleItemData: {3036 constData: 'Bytes'1809 constData: 'Bytes'3037 },1810 },3038 /**1811 /**3039 * Lookup397: pallet_refungible::pallet::Error<T>1812 * Lookup394: pallet_refungible::pallet::Error<T>3040 **/1813 **/3041 PalletRefungibleError: {1814 PalletRefungibleError: {3042 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']1815 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3043 },1816 },3044 /**1817 /**3045 * Lookup398: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1818 * Lookup395: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3046 **/1819 **/3047 PalletNonfungibleItemData: {1820 PalletNonfungibleItemData: {3048 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1821 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3049 },1822 },3050 /**1823 /**3051 * Lookup400: up_data_structs::PropertyScope1824 * Lookup397: up_data_structs::PropertyScope3052 **/1825 **/3053 UpDataStructsPropertyScope: {1826 UpDataStructsPropertyScope: {3054 _enum: ['None', 'Rmrk', 'Eth']1827 _enum: ['None', 'Rmrk', 'Eth']3055 },1828 },3056 /**1829 /**3057 * Lookup402: pallet_nonfungible::pallet::Error<T>1830 * Lookup399: pallet_nonfungible::pallet::Error<T>3058 **/1831 **/3059 PalletNonfungibleError: {1832 PalletNonfungibleError: {3060 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']1833 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3061 },1834 },3062 /**1835 /**3063 * Lookup403: pallet_structure::pallet::Error<T>1836 * Lookup400: pallet_structure::pallet::Error<T>3064 **/1837 **/3065 PalletStructureError: {1838 PalletStructureError: {3066 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']1839 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3067 },1840 },3068 /**1841 /**3069 * Lookup404: pallet_rmrk_core::pallet::Error<T>1842 * Lookup401: pallet_rmrk_core::pallet::Error<T>3070 **/1843 **/3071 PalletRmrkCoreError: {1844 PalletRmrkCoreError: {3072 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']1845 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3073 },1846 },3074 /**1847 /**3075 * Lookup406: pallet_rmrk_equip::pallet::Error<T>1848 * Lookup403: pallet_rmrk_equip::pallet::Error<T>3076 **/1849 **/3077 PalletRmrkEquipError: {1850 PalletRmrkEquipError: {3078 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']1851 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3079 },1852 },3080 /**1853 /**3081 * Lookup409: pallet_evm::pallet::Error<T>1854 * Lookup406: pallet_evm::pallet::Error<T>3082 **/1855 **/3083 PalletEvmError: {1856 PalletEvmError: {3084 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']1857 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3085 },1858 },3086 /**1859 /**3087 * Lookup412: fp_rpc::TransactionStatus1860 * Lookup409: fp_rpc::TransactionStatus3088 **/1861 **/3089 FpRpcTransactionStatus: {1862 FpRpcTransactionStatus: {3090 transactionHash: 'H256',1863 transactionHash: 'H256',3096 logsBloom: 'EthbloomBloom'1869 logsBloom: 'EthbloomBloom'3097 },1870 },3098 /**1871 /**3099 * Lookup414: ethbloom::Bloom1872 * Lookup411: ethbloom::Bloom3100 **/1873 **/3101 EthbloomBloom: '[u8;256]',1874 EthbloomBloom: '[u8;256]',3102 /**1875 /**3103 * Lookup416: ethereum::receipt::ReceiptV31876 * Lookup413: ethereum::receipt::ReceiptV33104 **/1877 **/3105 EthereumReceiptReceiptV3: {1878 EthereumReceiptReceiptV3: {3106 _enum: {1879 _enum: {3110 }1883 }3111 },1884 },3112 /**1885 /**3113 * Lookup417: ethereum::receipt::EIP658ReceiptData1886 * Lookup414: ethereum::receipt::EIP658ReceiptData3114 **/1887 **/3115 EthereumReceiptEip658ReceiptData: {1888 EthereumReceiptEip658ReceiptData: {3116 statusCode: 'u8',1889 statusCode: 'u8',3119 logs: 'Vec<EthereumLog>'1892 logs: 'Vec<EthereumLog>'3120 },1893 },3121 /**1894 /**3122 * Lookup418: ethereum::block::Block<ethereum::transaction::TransactionV2>1895 * Lookup415: ethereum::block::Block<ethereum::transaction::TransactionV2>3123 **/1896 **/3124 EthereumBlock: {1897 EthereumBlock: {3125 header: 'EthereumHeader',1898 header: 'EthereumHeader',3126 transactions: 'Vec<EthereumTransactionTransactionV2>',1899 transactions: 'Vec<EthereumTransactionTransactionV2>',3127 ommers: 'Vec<EthereumHeader>'1900 ommers: 'Vec<EthereumHeader>'3128 },1901 },3129 /**1902 /**3130 * Lookup419: ethereum::header::Header1903 * Lookup416: ethereum::header::Header3131 **/1904 **/3132 EthereumHeader: {1905 EthereumHeader: {3133 parentHash: 'H256',1906 parentHash: 'H256',3147 nonce: 'EthereumTypesHashH64'1920 nonce: 'EthereumTypesHashH64'3148 },1921 },3149 /**1922 /**3150 * Lookup420: ethereum_types::hash::H641923 * Lookup417: ethereum_types::hash::H643151 **/1924 **/3152 EthereumTypesHashH64: '[u8;8]',1925 EthereumTypesHashH64: '[u8;8]',3153 /**1926 /**3154 * Lookup425: pallet_ethereum::pallet::Error<T>1927 * Lookup422: pallet_ethereum::pallet::Error<T>3155 **/1928 **/3156 PalletEthereumError: {1929 PalletEthereumError: {3157 _enum: ['InvalidSignature', 'PreLogExists']1930 _enum: ['InvalidSignature', 'PreLogExists']3158 },1931 },3159 /**1932 /**3160 * Lookup426: pallet_evm_coder_substrate::pallet::Error<T>1933 * Lookup423: pallet_evm_coder_substrate::pallet::Error<T>3161 **/1934 **/3162 PalletEvmCoderSubstrateError: {1935 PalletEvmCoderSubstrateError: {3163 _enum: ['OutOfGas', 'OutOfFund']1936 _enum: ['OutOfGas', 'OutOfFund']3164 },1937 },3165 /**1938 /**3166 * Lookup427: pallet_evm_contract_helpers::SponsoringModeT1939 * Lookup424: pallet_evm_contract_helpers::SponsoringModeT3167 **/1940 **/3168 PalletEvmContractHelpersSponsoringModeT: {1941 PalletEvmContractHelpersSponsoringModeT: {3169 _enum: ['Disabled', 'Allowlisted', 'Generous']1942 _enum: ['Disabled', 'Allowlisted', 'Generous']3170 },1943 },3171 /**1944 /**3172 * Lookup429: pallet_evm_contract_helpers::pallet::Error<T>1945 * Lookup426: pallet_evm_contract_helpers::pallet::Error<T>3173 **/1946 **/3174 PalletEvmContractHelpersError: {1947 PalletEvmContractHelpersError: {3175 _enum: ['NoPermission']1948 _enum: ['NoPermission']3176 },1949 },3177 /**1950 /**3178 * Lookup430: pallet_evm_migration::pallet::Error<T>1951 * Lookup427: pallet_evm_migration::pallet::Error<T>3179 **/1952 **/3180 PalletEvmMigrationError: {1953 PalletEvmMigrationError: {3181 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']1954 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3182 },1955 },3183 /**1956 /**3184 * Lookup432: sp_runtime::MultiSignature1957 * Lookup429: sp_runtime::MultiSignature3185 **/1958 **/3186 SpRuntimeMultiSignature: {1959 SpRuntimeMultiSignature: {3187 _enum: {1960 _enum: {3191 }1964 }3192 },1965 },3193 /**1966 /**3194 * Lookup433: sp_core::ed25519::Signature1967 * Lookup430: sp_core::ed25519::Signature3195 **/1968 **/3196 SpCoreEd25519Signature: '[u8;64]',1969 SpCoreEd25519Signature: '[u8;64]',3197 /**1970 /**3198 * Lookup435: sp_core::sr25519::Signature1971 * Lookup434: sp_core::sr25519::Signature3199 **/1972 **/3200 SpCoreSr25519Signature: '[u8;64]',1973 SpCoreSr25519Signature: '[u8;64]',3201 /**1974 /**3202 * Lookup436: sp_core::ecdsa::Signature1975 * Lookup435: sp_core::ecdsa::Signature3203 **/1976 **/3204 SpCoreEcdsaSignature: '[u8;65]',1977 SpCoreEcdsaSignature: '[u8;65]',3205 /**1978 /**3206 * Lookup439: frame_system::extensions::check_spec_version::CheckSpecVersion<T>1979 * Lookup438: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3207 **/1980 **/3208 FrameSystemExtensionsCheckSpecVersion: 'Null',1981 FrameSystemExtensionsCheckSpecVersion: 'Null',3209 /**1982 /**3210 * Lookup440: frame_system::extensions::check_genesis::CheckGenesis<T>1983 * Lookup439: frame_system::extensions::check_genesis::CheckGenesis<T>3211 **/1984 **/3212 FrameSystemExtensionsCheckGenesis: 'Null',1985 FrameSystemExtensionsCheckGenesis: 'Null',3213 /**1986 /**3214 * Lookup443: frame_system::extensions::check_nonce::CheckNonce<T>1987 * Lookup442: frame_system::extensions::check_nonce::CheckNonce<T>3215 **/1988 **/3216 FrameSystemExtensionsCheckNonce: 'Compact<u32>',1989 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3217 /**1990 /**3218 * Lookup444: frame_system::extensions::check_weight::CheckWeight<T>1991 * Lookup443: frame_system::extensions::check_weight::CheckWeight<T>3219 **/1992 **/3220 FrameSystemExtensionsCheckWeight: 'Null',1993 FrameSystemExtensionsCheckWeight: 'Null',3221 /**1994 /**3222 * Lookup445: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>1995 * Lookup444: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3223 **/1996 **/3224 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',1997 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3225 /**1998 /**3226 * Lookup446: opal_runtime::Runtime1999 * Lookup445: opal_runtime::Runtime3227 **/2000 **/3228 OpalRuntimeRuntime: 'Null',2001 OpalRuntimeRuntime: 'Null',3229 /**2002 /**3230 * Lookup447: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>2003 * Lookup444: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3231 **/2004 **/3232 PalletEthereumFakeTransactionFinalizer: 'Null'2005 PalletEthereumFakeTransactionFinalizer: 'Null'3233};2006};tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1393,28 +1393,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletAppPromotionCall (148) */
- export interface PalletAppPromotionCall extends Enum {
- readonly isSetAdminAddress: boolean;
- readonly asSetAdminAddress: {
- readonly admin: AccountId32;
- } & Struct;
- readonly isStartAppPromotion: boolean;
- readonly asStartAppPromotion: {
- readonly promotionStartRelayBlock: u32;
- } & Struct;
- readonly isStake: boolean;
- readonly asStake: {
- readonly amount: u128;
- } & Struct;
- readonly isUnstake: boolean;
- readonly asUnstake: {
- readonly amount: u128;
- } & Struct;
- readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';
- }
-
- /** @name PalletUniqueCall (149) */
+ /** @name PalletUniqueCall (148) */
export interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -1629,164 +1608,28 @@
readonly nftId: u32;
readonly resourceId: u32;
} & Struct;
- readonly isResourceRemovalAccepted: boolean;
- readonly asResourceRemovalAccepted: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isPrioritySet: boolean;
- readonly asPrioritySet: {
+ readonly isCreateMultipleItemsEx: boolean;
+ readonly asCreateMultipleItemsEx: {
readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
- }
-
-<<<<<<< HEAD
- /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */
- interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
- readonly isAccountId: boolean;
- readonly asAccountId: AccountId32;
- readonly isCollectionAndNftTuple: boolean;
- readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
- readonly type: 'AccountId' | 'CollectionAndNftTuple';
- }
-
- /** @name PalletRmrkEquipEvent (102) */
- interface PalletRmrkEquipEvent extends Enum {
- readonly isBaseCreated: boolean;
- readonly asBaseCreated: {
- readonly issuer: AccountId32;
- readonly baseId: u32;
+ readonly data: UpDataStructsCreateItemExData;
} & Struct;
- readonly isEquippablesUpdated: boolean;
- readonly asEquippablesUpdated: {
- readonly baseId: u32;
- readonly slotId: u32;
- } & Struct;
- readonly type: 'BaseCreated' | 'EquippablesUpdated';
- }
-
- /** @name PalletEvmEvent (103) */
- interface PalletEvmEvent extends Enum {
- readonly isLog: boolean;
- readonly asLog: EthereumLog;
- readonly isCreated: boolean;
- readonly asCreated: H160;
- readonly isCreatedFailed: boolean;
- readonly asCreatedFailed: H160;
- readonly isExecuted: boolean;
- readonly asExecuted: H160;
- readonly isExecutedFailed: boolean;
- readonly asExecutedFailed: H160;
- readonly isBalanceDeposit: boolean;
- readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;
- readonly isBalanceWithdraw: boolean;
- readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;
- readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
- }
-
- /** @name EthereumLog (104) */
- interface EthereumLog extends Struct {
- readonly address: H160;
- readonly topics: Vec<H256>;
- readonly data: Bytes;
- }
-
- /** @name PalletEthereumEvent (108) */
- interface PalletEthereumEvent extends Enum {
- readonly isExecuted: boolean;
- readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
- readonly type: 'Executed';
- }
-
- /** @name EvmCoreErrorExitReason (109) */
- interface EvmCoreErrorExitReason extends Enum {
- readonly isSucceed: boolean;
- readonly asSucceed: EvmCoreErrorExitSucceed;
- readonly isError: boolean;
- readonly asError: EvmCoreErrorExitError;
- readonly isRevert: boolean;
- readonly asRevert: EvmCoreErrorExitRevert;
- readonly isFatal: boolean;
- readonly asFatal: EvmCoreErrorExitFatal;
- readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
- }
-
- /** @name EvmCoreErrorExitSucceed (110) */
- interface EvmCoreErrorExitSucceed extends Enum {
- readonly isStopped: boolean;
- readonly isReturned: boolean;
- readonly isSuicided: boolean;
- readonly type: 'Stopped' | 'Returned' | 'Suicided';
- }
-
- /** @name EvmCoreErrorExitError (111) */
- interface EvmCoreErrorExitError extends Enum {
- readonly isStackUnderflow: boolean;
- readonly isStackOverflow: boolean;
- readonly isInvalidJump: boolean;
- readonly isInvalidRange: boolean;
- readonly isDesignatedInvalid: boolean;
- readonly isCallTooDeep: boolean;
- readonly isCreateCollision: boolean;
- readonly isCreateContractLimit: boolean;
- readonly isOutOfOffset: boolean;
- readonly isOutOfGas: boolean;
- readonly isOutOfFund: boolean;
- readonly isPcUnderflow: boolean;
- readonly isCreateEmpty: boolean;
- readonly isOther: boolean;
- readonly asOther: Text;
- readonly isInvalidCode: boolean;
- readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
- }
-
- /** @name EvmCoreErrorExitRevert (114) */
- interface EvmCoreErrorExitRevert extends Enum {
- readonly isReverted: boolean;
- readonly type: 'Reverted';
- }
-
- /** @name EvmCoreErrorExitFatal (115) */
- interface EvmCoreErrorExitFatal extends Enum {
- readonly isNotSupported: boolean;
- readonly isUnhandledInterrupt: boolean;
- readonly isCallErrorAsFatal: boolean;
- readonly asCallErrorAsFatal: EvmCoreErrorExitError;
- readonly isOther: boolean;
- readonly asOther: Text;
- readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
- }
-
- /** @name FrameSystemPhase (116) */
- interface FrameSystemPhase extends Enum {
- readonly isApplyExtrinsic: boolean;
- readonly asApplyExtrinsic: u32;
- readonly isFinalization: boolean;
- readonly isInitialization: boolean;
- readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
- }
-
- /** @name FrameSystemLastRuntimeUpgradeInfo (118) */
- interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
- readonly specVersion: Compact<u32>;
- readonly specName: Text;
- }
-
- /** @name FrameSystemCall (119) */
- interface FrameSystemCall extends Enum {
- readonly isFillBlock: boolean;
- readonly asFillBlock: {
- readonly ratio: Perbill;
+ readonly isSetTransfersEnabledFlag: boolean;
+ readonly asSetTransfersEnabledFlag: {
+ readonly collectionId: u32;
+ readonly value: bool;
} & Struct;
- readonly isRemark: boolean;
- readonly asRemark: {
- readonly remark: Bytes;
+ readonly isBurnItem: boolean;
+ readonly asBurnItem: {
+ readonly collectionId: u32;
+ readonly itemId: u32;
+ readonly value: u128;
} & Struct;
- readonly isSetHeapPages: boolean;
- readonly asSetHeapPages: {
- readonly pages: u64;
+ readonly isBurnFrom: boolean;
+ readonly asBurnFrom: {
+ readonly collectionId: u32;
+ readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly itemId: u32;
+ readonly value: u128;
} & Struct;
readonly isSetCode: boolean;
readonly asSetCode: {
@@ -1813,21 +1656,7 @@
readonly asRemarkWithEvent: {
readonly remark: Bytes;
} & Struct;
- readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
- }
-
- /** @name FrameSystemLimitsBlockWeights (124) */
- interface FrameSystemLimitsBlockWeights extends Struct {
- readonly baseBlock: u64;
- readonly maxBlock: u64;
- readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
- }
-
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (125) */
- interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
- readonly normal: FrameSystemLimitsWeightsPerClass;
- readonly operational: FrameSystemLimitsWeightsPerClass;
- readonly mandatory: FrameSystemLimitsWeightsPerClass;
+ 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';
}
/** @name UpDataStructsCollectionMode (155) */
@@ -1839,7 +1668,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (156) */
+ /** @name UpDataStructsCreateCollectionData (155) */
export interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -1853,14 +1682,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (158) */
+ /** @name UpDataStructsAccessMode (157) */
export interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (161) */
+ /** @name UpDataStructsCollectionLimits (160) */
export interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -1873,7 +1702,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (163) */
+ /** @name UpDataStructsSponsoringRateLimit (162) */
export interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -1881,43 +1710,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (166) */
+ /** @name UpDataStructsCollectionPermissions (165) */
export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (168) */
+ /** @name UpDataStructsNestingPermissions (167) */
export interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (170) */
+ /** @name UpDataStructsOwnerRestrictedSet (169) */
export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (176) */
+ /** @name UpDataStructsPropertyKeyPermission (175) */
export interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (178) */
+ /** @name UpDataStructsPropertyPermission (177) */
export interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (181) */
+ /** @name UpDataStructsProperty (180) */
export interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletEvmAccountBasicCrossAccountIdRepr (184) */
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */
export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1926,7 +1755,7 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name UpDataStructsCreateItemData (186) */
+ /** @name UpDataStructsCreateItemData (185) */
export interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -1937,17 +1766,17 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (187) */
+ /** @name UpDataStructsCreateNftData (186) */
export interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (188) */
+ /** @name UpDataStructsCreateFungibleData (187) */
export interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (189) */
+ /** @name UpDataStructsCreateReFungibleData (188) */
export interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
@@ -2028,7 +1857,7 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletUniqueSchedulerCall (205) */
+ /** @name PalletUniqueSchedulerCall (204) */
export interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
@@ -2053,7 +1882,7 @@
readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
}
- /** @name FrameSupportScheduleMaybeHashed (207) */
+ /** @name FrameSupportScheduleMaybeHashed (206) */
export interface FrameSupportScheduleMaybeHashed extends Enum {
readonly isValue: boolean;
readonly asValue: Call;
@@ -2062,13 +1891,13 @@
readonly type: 'Value' | 'Hash';
}
- /** @name PalletTemplateTransactionPaymentCall (208) */
+ /** @name PalletTemplateTransactionPaymentCall (207) */
export type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (209) */
+ /** @name PalletStructureCall (208) */
export type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (210) */
+ /** @name PalletRmrkCoreCall (209) */
export interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2174,7 +2003,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (216) */
+ /** @name RmrkTraitsResourceResourceTypes (215) */
export interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -2185,7 +2014,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (218) */
+ /** @name RmrkTraitsResourceBasicResource (217) */
export interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -2193,7 +2022,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (220) */
+ /** @name RmrkTraitsResourceComposableResource (219) */
export interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -2203,7 +2032,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (221) */
+ /** @name RmrkTraitsResourceSlotResource (220) */
export interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -2213,7 +2042,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (223) */
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (222) */
export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
readonly asAccountId: AccountId32;
@@ -2222,7 +2051,7 @@
readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name PalletRmrkEquipCall (227) */
+ /** @name PalletRmrkEquipCall (226) */
export interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -2244,7 +2073,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (230) */
+ /** @name RmrkTraitsPartPartType (229) */
export interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -2253,14 +2082,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (232) */
+ /** @name RmrkTraitsPartFixedPart (231) */
export interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (233) */
+ /** @name RmrkTraitsPartSlotPart (232) */
export interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -2268,25 +2097,46 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (234) */
+ /** @name RmrkTraitsPartEquippableList (233) */
export interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name RmrkTraitsTheme (236) */
+ /** @name RmrkTraitsTheme (235) */
export interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (238) */
+ /** @name RmrkTraitsThemeThemeProperty (237) */
export interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
+ /** @name PalletAppPromotionCall (239) */
+ export interface PalletAppPromotionCall extends Enum {
+ readonly isSetAdminAddress: boolean;
+ readonly asSetAdminAddress: {
+ readonly admin: AccountId32;
+ } & Struct;
+ readonly isStartAppPromotion: boolean;
+ readonly asStartAppPromotion: {
+ readonly promotionStartRelayBlock: u32;
+ } & Struct;
+ readonly isStake: boolean;
+ readonly asStake: {
+ readonly amount: u128;
+ } & Struct;
+ readonly isUnstake: boolean;
+ readonly asUnstake: {
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';
+ }
+
/** @name PalletEvmCall (240) */
export interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
@@ -3213,7 +3063,7 @@
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (346) */
+ /** @name PalletUniqueError (345) */
export interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -3222,7 +3072,7 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletUniqueSchedulerScheduledV3 (349) */
+ /** @name PalletUniqueSchedulerScheduledV3 (348) */
export interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
@@ -3231,7 +3081,7 @@
readonly origin: OpalRuntimeOriginCaller;
}
- /** @name OpalRuntimeOriginCaller (350) */
+ /** @name OpalRuntimeOriginCaller (349) */
export interface OpalRuntimeOriginCaller extends Enum {
readonly isVoid: boolean;
readonly isSystem: boolean;
@@ -3246,7 +3096,7 @@
readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';
}
- /** @name FrameSupportDispatchRawOrigin (351) */
+ /** @name FrameSupportDispatchRawOrigin (350) */
export interface FrameSupportDispatchRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
@@ -3255,7 +3105,7 @@
readonly type: 'Root' | 'Signed' | 'None';
}
- /** @name PalletXcmOrigin (352) */
+ /** @name PalletXcmOrigin (351) */
export interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
@@ -3264,7 +3114,7 @@
readonly type: 'Xcm' | 'Response';
}
- /** @name CumulusPalletXcmOrigin (353) */
+ /** @name CumulusPalletXcmOrigin (352) */
export interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
@@ -3272,17 +3122,17 @@
readonly type: 'Relay' | 'SiblingParachain';
}
- /** @name PalletEthereumRawOrigin (354) */
+ /** @name PalletEthereumRawOrigin (353) */
export interface PalletEthereumRawOrigin extends Enum {
readonly isEthereumTransaction: boolean;
readonly asEthereumTransaction: H160;
readonly type: 'EthereumTransaction';
}
- /** @name SpCoreVoid (355) */
+ /** @name SpCoreVoid (354) */
export type SpCoreVoid = Null;
- /** @name PalletUniqueSchedulerError (356) */
+ /** @name PalletUniqueSchedulerError (355) */
export interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
@@ -3291,7 +3141,7 @@
readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
}
- /** @name UpDataStructsCollection (357) */
+ /** @name UpDataStructsCollection (356) */
export interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3304,7 +3154,7 @@
readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (358) */
+ /** @name UpDataStructsSponsorshipState (357) */
export interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3314,43 +3164,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (359) */
+ /** @name UpDataStructsProperties (358) */
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (360) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (359) */
export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (365) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (364) */
export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (372) */
+ /** @name UpDataStructsCollectionStats (371) */
export interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (373) */
+ /** @name UpDataStructsTokenChild (372) */
export interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (374) */
+ /** @name PhantomTypeUpDataStructs (373) */
export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (376) */
+ /** @name UpDataStructsTokenData (375) */
export interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (378) */
+ /** @name UpDataStructsRpcCollection (377) */
export interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3365,7 +3215,7 @@
readonly readOnly: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (379) */
+ /** @name RmrkTraitsCollectionCollectionInfo (378) */
export interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3374,7 +3224,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (380) */
+ /** @name RmrkTraitsNftNftInfo (379) */
export interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3383,13 +3233,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (382) */
+ /** @name RmrkTraitsNftRoyaltyInfo (381) */
export interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (383) */
+ /** @name RmrkTraitsResourceResourceInfo (382) */
export interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3397,26 +3247,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (384) */
+ /** @name RmrkTraitsPropertyPropertyInfo (383) */
export interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (385) */
+ /** @name RmrkTraitsBaseBaseInfo (384) */
export interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (386) */
+ /** @name RmrkTraitsNftNftChild (385) */
export interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (388) */
+ /** @name PalletCommonError (387) */
export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3455,7 +3305,7 @@
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';
}
- /** @name PalletFungibleError (390) */
+ /** @name PalletFungibleError (389) */
export interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3465,13 +3315,13 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletRefungibleItemData (391) */
+ /** @name PalletRefungibleItemData (390) */
export interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (397) */
- interface PalletRefungibleError extends Enum {
+ /** @name PalletRefungibleError (394) */
+ export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
readonly isRepartitionWhileNotOwningAllPieces: boolean;
@@ -3480,29 +3330,29 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (398) */
- interface PalletNonfungibleItemData extends Struct {
+ /** @name PalletNonfungibleItemData (395) */
+ export interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (400) */
- interface UpDataStructsPropertyScope extends Enum {
+ /** @name UpDataStructsPropertyScope (397) */
+ export interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly isEth: boolean;
readonly type: 'None' | 'Rmrk' | 'Eth';
}
- /** @name PalletNonfungibleError (402) */
- interface PalletNonfungibleError extends Enum {
+ /** @name PalletNonfungibleError (399) */
+ export interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
readonly isCantBurnNftWithChildren: boolean;
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (403) */
- interface PalletStructureError extends Enum {
+ /** @name PalletStructureError (400) */
+ export interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
readonly isBreadthLimit: boolean;
@@ -3510,8 +3360,8 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (404) */
- interface PalletRmrkCoreError extends Enum {
+ /** @name PalletRmrkCoreError (401) */
+ export interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
readonly isRmrkPropertyValueIsTooLong: boolean;
@@ -3534,8 +3384,8 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (406) */
- interface PalletRmrkEquipError extends Enum {
+ /** @name PalletRmrkEquipError (403) */
+ export interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
readonly isNoAvailablePartId: boolean;
@@ -3546,8 +3396,8 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletEvmError (409) */
- interface PalletEvmError extends Enum {
+ /** @name PalletEvmError (406) */
+ export interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
readonly isPaymentOverflow: boolean;
@@ -3557,8 +3407,8 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (412) */
- interface FpRpcTransactionStatus extends Struct {
+ /** @name FpRpcTransactionStatus (409) */
+ export interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
readonly from: H160;
@@ -3568,11 +3418,11 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (414) */
- interface EthbloomBloom extends U8aFixed {}
+ /** @name EthbloomBloom (411) */
+ export interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (416) */
- interface EthereumReceiptReceiptV3 extends Enum {
+ /** @name EthereumReceiptReceiptV3 (413) */
+ export interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
readonly isEip2930: boolean;
@@ -3582,23 +3432,23 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (417) */
- interface EthereumReceiptEip658ReceiptData extends Struct {
+ /** @name EthereumReceiptEip658ReceiptData (414) */
+ export interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
readonly logsBloom: EthbloomBloom;
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (418) */
- interface EthereumBlock extends Struct {
+ /** @name EthereumBlock (415) */
+ export interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (419) */
- interface EthereumHeader extends Struct {
+ /** @name EthereumHeader (416) */
+ export interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
readonly beneficiary: H160;
@@ -3616,46 +3466,46 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (420) */
- interface EthereumTypesHashH64 extends U8aFixed {}
+ /** @name EthereumTypesHashH64 (417) */
+ export interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (425) */
- interface PalletEthereumError extends Enum {
+ /** @name PalletEthereumError (422) */
+ export interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (426) */
- interface PalletEvmCoderSubstrateError extends Enum {
+ /** @name PalletEvmCoderSubstrateError (423) */
+ export interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (427) */
- interface PalletEvmContractHelpersSponsoringModeT extends Enum {
+ /** @name PalletEvmContractHelpersSponsoringModeT (424) */
+ export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
readonly isGenerous: boolean;
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (429) */
- interface PalletEvmContractHelpersError extends Enum {
+ /** @name PalletEvmContractHelpersError (426) */
+ export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly type: 'NoPermission';
}
- /** @name PalletEvmMigrationError (430) */
- interface PalletEvmMigrationError extends Enum {
+ /** @name PalletEvmMigrationError (427) */
+ export interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (432) */
- interface SpRuntimeMultiSignature extends Enum {
+ /** @name SpRuntimeMultiSignature (429) */
+ export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
readonly isSr25519: boolean;
@@ -3665,34 +3515,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (433) */
- interface SpCoreEd25519Signature extends U8aFixed {}
+ /** @name SpCoreEd25519Signature (430) */
+ export interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (435) */
- interface SpCoreSr25519Signature extends U8aFixed {}
+ /** @name SpCoreSr25519Signature (434) */
+ export interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (436) */
- interface SpCoreEcdsaSignature extends U8aFixed {}
+ /** @name SpCoreEcdsaSignature (435) */
+ export interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (439) */
- type FrameSystemExtensionsCheckSpecVersion = Null;
+ /** @name FrameSystemExtensionsCheckSpecVersion (438) */
+ export type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (440) */
- type FrameSystemExtensionsCheckGenesis = Null;
+ /** @name FrameSystemExtensionsCheckGenesis (439) */
+ export type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (443) */
- interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
+ /** @name FrameSystemExtensionsCheckNonce (442) */
+ export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (444) */
- type FrameSystemExtensionsCheckWeight = Null;
+ /** @name FrameSystemExtensionsCheckWeight (443) */
+ export type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (445) */
- interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (444) */
+ export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (446) */
- type OpalRuntimeRuntime = Null;
+ /** @name OpalRuntimeRuntime (445) */
+ export type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (447) */
- type PalletEthereumFakeTransactionFinalizer = Null;
+ /** @name PalletEthereumFakeTransactionFinalizer (444) */
+ export type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -190,5 +190,10 @@
[crossAccountParam('staker')],
'u128',
),
+ pendingUnstake: fun(
+ 'Returns the total amount of unstaked tokens',
+ [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],
+ 'u128',
+ ),
},
};
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -68,9 +68,10 @@
const refungible = 'refungible';
const scheduler = 'scheduler';
const rmrkPallets = ['rmrkcore', 'rmrkequip'];
+ const appPromotion = 'promotion';
if (chain.eq('OPAL by UNIQUE')) {
- requiredPallets.push(refungible, scheduler, ...rmrkPallets);
+ requiredPallets.push(refungible, scheduler, appPromotion, ...rmrkPallets);
} else if (chain.eq('QUARTZ by UNIQUE')) {
// Insert Quartz additional pallets here
} else if (chain.eq('UNIQUE')) {
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -48,6 +48,7 @@
Fungible = 'fungible',
NFT = 'nonfungible',
Scheduler = 'scheduler',
+ AppPromotion = 'promotion',
}
export async function isUnique(): Promise<boolean> {
tests/src/util/playgrounds/index.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/index.ts
+++ b/tests/src/util/playgrounds/index.ts
@@ -4,7 +4,10 @@
import {IKeyringPair} from '@polkadot/types/types';
import config from '../../config';
import '../../interfaces/augment-api-events';
-import {DevUniqueHelper} from './unique.dev';
+import * as defs from '../../interfaces/definitions';
+import {ApiPromise, WsProvider} from '@polkadot/api';
+import { UniqueHelper } from './unique';
+
class SilentLogger {
log(msg: any, level: any): void { }
@@ -15,13 +18,53 @@
};
}
-export const usingPlaygrounds = async (code: (helper: DevUniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<void>) => {
+
+class DevUniqueHelper extends UniqueHelper {
+ async connect(wsEndpoint: string, listeners?: any): Promise<void> {
+ const wsProvider = new WsProvider(wsEndpoint);
+ this.api = new ApiPromise({
+ provider: wsProvider,
+ signedExtensions: {
+ ContractHelpers: {
+ extrinsic: {},
+ payload: {},
+ },
+ FakeTransactionFinalizer: {
+ extrinsic: {},
+ payload: {},
+ },
+ },
+ rpc: {
+ unique: defs.unique.rpc,
+ rmrk: defs.rmrk.rpc,
+ eth: {
+ feeHistory: {
+ description: 'Dummy',
+ params: [],
+ type: 'u8',
+ },
+ maxPriorityFeePerGas: {
+ description: 'Dummy',
+ params: [],
+ type: 'u8',
+ },
+ },
+ },
+ });
+ await this.api.isReadyOrError;
+ this.network = await UniqueHelper.detectNetwork(this.api);
+ }
+}
+
+
+export const usingPlaygrounds = async <T = void> (code: (helper: UniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<T>) => {
// TODO: Remove, this is temporary: Filter unneeded API output
// (Jaco promised it will be removed in the next version)
const consoleErr = console.error;
const consoleLog = console.log;
const consoleWarn = console.warn;
-
+ let result: T = null as unknown as T;
+
const outFn = (printer: any) => (...args: any[]) => {
for (const arg of args) {
if (typeof arg !== 'string')
@@ -41,7 +84,7 @@
await helper.connect(config.substrateUrl);
const ss58Format = helper.chain.getChainProperties().ss58Format;
const privateKey = (seed: string) => helper.util.fromSeed(seed, ss58Format);
- await code(helper, privateKey);
+ result = await code(helper, privateKey);
}
finally {
await helper.disconnect();
@@ -49,4 +92,5 @@
console.log = consoleLog;
console.warn = consoleWarn;
}
+ return result as T;
};
\ No newline at end of file