difftreelog
refactor(collator-selection) rename revoke to release + update tx + cargo fmt
in: master
13 files changed
pallets/collator-selection/src/lib.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/lib.rs
+++ b/pallets/collator-selection/src/lib.rs
@@ -217,7 +217,7 @@
let bounded_invulnerables =
BoundedVec::<_, T::MaxCollators>::try_from(self.invulnerables.clone())
.expect("genesis invulnerables are more than T::MaxCollators");
-
+
<Invulnerables<T>>::put(bounded_invulnerables);
}
}
@@ -284,6 +284,7 @@
#[pallet::call]
impl<T: Config> Pallet<T> {
/// Add a collator to the list of invulnerable (fixed) collators.
+ #[pallet::call_index(0)]
#[pallet::weight(T::WeightInfo::set_invulnerables(1u32))] // todo:collator weight
pub fn add_invulnerable(
origin: OriginFor<T>,
@@ -313,6 +314,7 @@
}
/// Remove a collator from the list of invulnerable (fixed) collators.
+ #[pallet::call_index(1)]
#[pallet::weight(T::WeightInfo::set_invulnerables(1))] // todo:collator weight
pub fn remove_invulnerable(
origin: OriginFor<T>,
@@ -341,6 +343,7 @@
/// (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.
///
/// This call is not available to `Invulnerable` collators.
+ #[pallet::call_index(2)]
#[pallet::weight(T::WeightInfo::register_as_candidate(T::MaxCollators::get()))] // todo:collator weight
pub fn get_license(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// register_as_candidate
@@ -373,6 +376,7 @@
/// The account must already hold a license, and cannot offboard immediately during a session.
///
/// This call is not available to `Invulnerable` collators.
+ #[pallet::call_index(3)]
#[pallet::weight(T::WeightInfo::register_as_candidate(T::MaxCollators::get()))] // todo:collator weight
pub fn onboard(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// register_as_candidate
@@ -418,6 +422,7 @@
/// Deregister `origin` as a collator candidate. Note that the collator can only leave on
/// session change. The license to `onboard` later at any other time will remain.
+ #[pallet::call_index(4)]
#[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
pub fn offboard(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// leave_intent
@@ -430,6 +435,7 @@
/// Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.
///
/// This call is not available to `Invulnerable` collators.
+ #[pallet::call_index(5)]
#[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
pub fn release_license(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// leave_intent
@@ -445,8 +451,9 @@
/// The `LicenseBond` will be unreserved and returned immediately.
///
/// This call is, of course, not applicable to `Invulnerable` collators.
+ #[pallet::call_index(6)]
#[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
- pub fn force_revoke_license(
+ pub fn force_release_license(
origin: OriginFor<T>,
who: T::AccountId,
) -> DispatchResultWithPostInfo {
pallets/collator-selection/src/mock.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/mock.rs
+++ b/pallets/collator-selection/src/mock.rs
@@ -281,9 +281,7 @@
)
})
.collect::<Vec<_>>();
- let collator_selection = collator_selection::GenesisConfig::<Test> {
- invulnerables,
- };
+ let collator_selection = collator_selection::GenesisConfig::<Test> { invulnerables };
let session = pallet_session::GenesisConfig::<Test> { keys };
pallet_balances::GenesisConfig::<Test> { balances }
.assimilate_storage(&mut t)
pallets/collator-selection/src/tests.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/tests.rs
+++ b/pallets/collator-selection/src/tests.rs
@@ -380,7 +380,7 @@
}
#[test]
-fn force_revoke_license() {
+fn force_release_license() {
new_test_ext().execute_with(|| {
// obtain a license to collate and reserve the bond.
assert_ok!(CollatorSelection::get_license(RuntimeOrigin::signed(3)));
@@ -388,12 +388,12 @@
// cannot execute the operation as non-root
assert_noop!(
- CollatorSelection::force_revoke_license(RuntimeOrigin::signed(3), 3),
+ CollatorSelection::force_release_license(RuntimeOrigin::signed(3), 3),
BadOrigin
);
// release the license and get the bond back.
- assert_ok!(CollatorSelection::force_revoke_license(
+ assert_ok!(CollatorSelection::force_release_license(
RuntimeOrigin::signed(RootAccount::get()),
3
));
@@ -404,7 +404,7 @@
assert_eq!(Balances::free_balance(3), 90);
// can release license even if onboarded.
- assert_ok!(CollatorSelection::force_revoke_license(
+ assert_ok!(CollatorSelection::force_release_license(
RuntimeOrigin::signed(RootAccount::get()),
3
));
@@ -532,9 +532,7 @@
.unwrap();
let invulnerables = vec![1, 1];
- let collator_selection = collator_selection::GenesisConfig::<Test> {
- invulnerables,
- };
+ let collator_selection = collator_selection::GenesisConfig::<Test> { invulnerables };
// collator selection must be initialized before session.
collator_selection.assimilate_storage(&mut t).unwrap();
}
pallets/configuration/src/lib.rsdiffbeforeafterboth--- a/pallets/configuration/src/lib.rs
+++ b/pallets/configuration/src/lib.rs
@@ -201,6 +201,7 @@
Ok(())
}
+ #[pallet::call_index(4)]
#[pallet::weight(T::DbWeight::get().writes(1))]
pub fn set_collator_selection_desired_collators(
origin: OriginFor<T>,
@@ -216,10 +217,13 @@
} else {
<CollatorSelectionDesiredCollatorsOverride<T>>::kill();
}
- Self::deposit_event(Event::NewDesiredCollators { desired_collators: max });
+ Self::deposit_event(Event::NewDesiredCollators {
+ desired_collators: max,
+ });
Ok(())
}
+ #[pallet::call_index(5)]
#[pallet::weight(T::DbWeight::get().writes(1))]
pub fn set_collator_selection_license_bond(
origin: OriginFor<T>,
@@ -235,6 +239,7 @@
Ok(())
}
+ #[pallet::call_index(6)]
#[pallet::weight(T::DbWeight::get().writes(1))]
pub fn set_collator_selection_kick_threshold(
origin: OriginFor<T>,
@@ -246,7 +251,9 @@
} else {
<CollatorSelectionKickThresholdOverride<T>>::kill();
}
- Self::deposit_event(Event::NewCollatorKickThreshold { length_in_blocks: threshold });
+ Self::deposit_event(Event::NewCollatorKickThreshold {
+ length_in_blocks: threshold,
+ });
Ok(())
}
}
runtime/common/data_management.rsdiffbeforeafterboth--- a/runtime/common/data_management.rs
+++ b/runtime/common/data_management.rs
@@ -58,10 +58,10 @@
_info: &DispatchInfoOf<Self::Call>,
_len: usize,
) -> TransactionValidity {
- match call {
- #[cfg(feature = "collator-selection")]
- RuntimeCall::Identity(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)),
- _ => Ok(ValidTransaction::default()),
- }
+ match call {
+ #[cfg(feature = "collator-selection")]
+ RuntimeCall::Identity(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)),
+ _ => Ok(ValidTransaction::default()),
+ }
}
}
runtime/common/mod.rsdiffbeforeafterboth--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -16,11 +16,11 @@
pub mod config;
pub mod construct_runtime;
+pub mod data_management;
pub mod dispatch;
pub mod ethereum;
pub mod instance;
pub mod maintenance;
-pub mod data_management;
pub mod runtime_apis;
pub mod xcm;
runtime/common/tests/mod.rsdiffbeforeafterboth--- a/runtime/common/tests/mod.rs
+++ b/runtime/common/tests/mod.rs
@@ -63,9 +63,7 @@
.collect::<Vec<_>>();
let cfg = GenesisConfig {
- collator_selection: CollatorSelectionConfig {
- invulnerables,
- },
+ collator_selection: CollatorSelectionConfig { invulnerables },
session: SessionConfig { keys },
parachain_info: ParachainInfoConfig {
parachain_id: para_id.into(),
tests/src/collatorSelection.seqtest.tsdiffbeforeafterboth--- a/tests/src/collatorSelection.seqtest.ts
+++ b/tests/src/collatorSelection.seqtest.ts
@@ -209,7 +209,7 @@
expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(licenseBond);
// force-releasing a license un-reserves the license bond cost as well
- await helper.getSudo().collatorSelection.forceRevokeLicense(superuser, account.address);
+ await helper.getSudo().collatorSelection.forceReleaseLicense(superuser, account.address);
expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(previousBalance.reserved);
const balance = await helper.balance.getSubstrateFull(account.address);
@@ -243,7 +243,7 @@
itSub('Cannot force revoke a license as non-sudo', async ({helper}) => {
const account = crowd.pop()!;
await helper.collatorSelection.obtainLicense(account);
- await expect(helper.collatorSelection.forceRevokeLicense(superuser, account.address))
+ await expect(helper.collatorSelection.forceReleaseLicense(superuser, account.address))
.to.be.rejectedWith(/BadOrigin/);
});
});
@@ -459,7 +459,7 @@
const candidates = await helper.collatorSelection.getCandidates();
let nonce = await helper.chain.getNonce(superuser.address);
await Promise.all(candidates.map(candidate =>
- helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.forceRevokeLicense', [candidate], true, {nonce: nonce++})));
+ helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.forceReleaseLicense', [candidate], true, {nonce: nonce++})));
});
});
});
\ No newline at end of file
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -237,7 +237,7 @@
*
* This call is, of course, not applicable to `Invulnerable` collators.
**/
- forceRevokeLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ forceReleaseLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Purchase a license on block collation for this account.
* It does not make it a collator candidate, use `onboard` afterward. The account must
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1243,11 +1243,11 @@
readonly isOnboard: boolean;
readonly isOffboard: boolean;
readonly isReleaseLicense: boolean;
- readonly isForceRevokeLicense: boolean;
- readonly asForceRevokeLicense: {
+ readonly isForceReleaseLicense: boolean;
+ readonly asForceReleaseLicense: {
readonly who: AccountId32;
} & Struct;
- readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
+ readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';
}
/** @name PalletCollatorSelectionError */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1692,7 +1692,7 @@
onboard: 'Null',
offboard: 'Null',
release_license: 'Null',
- force_revoke_license: {
+ force_release_license: {
who: 'AccountId32'
}
}
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { Data } from '@polkadot/types';9import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { Event } from '@polkadot/types/interfaces/system';1314declare module '@polkadot/types/lookup' {15 /** @name FrameSystemAccountInfo (3) */16 interface FrameSystemAccountInfo extends Struct {17 readonly nonce: u32;18 readonly consumers: u32;19 readonly providers: u32;20 readonly sufficients: u32;21 readonly data: PalletBalancesAccountData;22 }2324 /** @name PalletBalancesAccountData (5) */25 interface PalletBalancesAccountData extends Struct {26 readonly free: u128;27 readonly reserved: u128;28 readonly miscFrozen: u128;29 readonly feeFrozen: u128;30 }3132 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */33 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {34 readonly normal: SpWeightsWeightV2Weight;35 readonly operational: SpWeightsWeightV2Weight;36 readonly mandatory: SpWeightsWeightV2Weight;37 }3839 /** @name SpWeightsWeightV2Weight (8) */40 interface SpWeightsWeightV2Weight extends Struct {41 readonly refTime: Compact<u64>;42 readonly proofSize: Compact<u64>;43 }4445 /** @name SpRuntimeDigest (13) */46 interface SpRuntimeDigest extends Struct {47 readonly logs: Vec<SpRuntimeDigestDigestItem>;48 }4950 /** @name SpRuntimeDigestDigestItem (15) */51 interface SpRuntimeDigestDigestItem extends Enum {52 readonly isOther: boolean;53 readonly asOther: Bytes;54 readonly isConsensus: boolean;55 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;56 readonly isSeal: boolean;57 readonly asSeal: ITuple<[U8aFixed, Bytes]>;58 readonly isPreRuntime: boolean;59 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;60 readonly isRuntimeEnvironmentUpdated: boolean;61 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';62 }6364 /** @name FrameSystemEventRecord (18) */65 interface FrameSystemEventRecord extends Struct {66 readonly phase: FrameSystemPhase;67 readonly event: Event;68 readonly topics: Vec<H256>;69 }7071 /** @name FrameSystemEvent (20) */72 interface FrameSystemEvent extends Enum {73 readonly isExtrinsicSuccess: boolean;74 readonly asExtrinsicSuccess: {75 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;76 } & Struct;77 readonly isExtrinsicFailed: boolean;78 readonly asExtrinsicFailed: {79 readonly dispatchError: SpRuntimeDispatchError;80 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;81 } & Struct;82 readonly isCodeUpdated: boolean;83 readonly isNewAccount: boolean;84 readonly asNewAccount: {85 readonly account: AccountId32;86 } & Struct;87 readonly isKilledAccount: boolean;88 readonly asKilledAccount: {89 readonly account: AccountId32;90 } & Struct;91 readonly isRemarked: boolean;92 readonly asRemarked: {93 readonly sender: AccountId32;94 readonly hash_: H256;95 } & Struct;96 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';97 }9899 /** @name FrameSupportDispatchDispatchInfo (21) */100 interface FrameSupportDispatchDispatchInfo extends Struct {101 readonly weight: SpWeightsWeightV2Weight;102 readonly class: FrameSupportDispatchDispatchClass;103 readonly paysFee: FrameSupportDispatchPays;104 }105106 /** @name FrameSupportDispatchDispatchClass (22) */107 interface FrameSupportDispatchDispatchClass extends Enum {108 readonly isNormal: boolean;109 readonly isOperational: boolean;110 readonly isMandatory: boolean;111 readonly type: 'Normal' | 'Operational' | 'Mandatory';112 }113114 /** @name FrameSupportDispatchPays (23) */115 interface FrameSupportDispatchPays extends Enum {116 readonly isYes: boolean;117 readonly isNo: boolean;118 readonly type: 'Yes' | 'No';119 }120121 /** @name SpRuntimeDispatchError (24) */122 interface SpRuntimeDispatchError extends Enum {123 readonly isOther: boolean;124 readonly isCannotLookup: boolean;125 readonly isBadOrigin: boolean;126 readonly isModule: boolean;127 readonly asModule: SpRuntimeModuleError;128 readonly isConsumerRemaining: boolean;129 readonly isNoProviders: boolean;130 readonly isTooManyConsumers: boolean;131 readonly isToken: boolean;132 readonly asToken: SpRuntimeTokenError;133 readonly isArithmetic: boolean;134 readonly asArithmetic: SpRuntimeArithmeticError;135 readonly isTransactional: boolean;136 readonly asTransactional: SpRuntimeTransactionalError;137 readonly isExhausted: boolean;138 readonly isCorruption: boolean;139 readonly isUnavailable: boolean;140 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';141 }142143 /** @name SpRuntimeModuleError (25) */144 interface SpRuntimeModuleError extends Struct {145 readonly index: u8;146 readonly error: U8aFixed;147 }148149 /** @name SpRuntimeTokenError (26) */150 interface SpRuntimeTokenError extends Enum {151 readonly isNoFunds: boolean;152 readonly isWouldDie: boolean;153 readonly isBelowMinimum: boolean;154 readonly isCannotCreate: boolean;155 readonly isUnknownAsset: boolean;156 readonly isFrozen: boolean;157 readonly isUnsupported: boolean;158 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';159 }160161 /** @name SpRuntimeArithmeticError (27) */162 interface SpRuntimeArithmeticError extends Enum {163 readonly isUnderflow: boolean;164 readonly isOverflow: boolean;165 readonly isDivisionByZero: boolean;166 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';167 }168169 /** @name SpRuntimeTransactionalError (28) */170 interface SpRuntimeTransactionalError extends Enum {171 readonly isLimitReached: boolean;172 readonly isNoLayer: boolean;173 readonly type: 'LimitReached' | 'NoLayer';174 }175176 /** @name CumulusPalletParachainSystemEvent (29) */177 interface CumulusPalletParachainSystemEvent extends Enum {178 readonly isValidationFunctionStored: boolean;179 readonly isValidationFunctionApplied: boolean;180 readonly asValidationFunctionApplied: {181 readonly relayChainBlockNum: u32;182 } & Struct;183 readonly isValidationFunctionDiscarded: boolean;184 readonly isUpgradeAuthorized: boolean;185 readonly asUpgradeAuthorized: {186 readonly codeHash: H256;187 } & Struct;188 readonly isDownwardMessagesReceived: boolean;189 readonly asDownwardMessagesReceived: {190 readonly count: u32;191 } & Struct;192 readonly isDownwardMessagesProcessed: boolean;193 readonly asDownwardMessagesProcessed: {194 readonly weightUsed: SpWeightsWeightV2Weight;195 readonly dmqHead: H256;196 } & Struct;197 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';198 }199200 /** @name PalletCollatorSelectionEvent (30) */201 interface PalletCollatorSelectionEvent extends Enum {202 readonly isInvulnerableAdded: boolean;203 readonly asInvulnerableAdded: {204 readonly invulnerable: AccountId32;205 } & Struct;206 readonly isInvulnerableRemoved: boolean;207 readonly asInvulnerableRemoved: {208 readonly invulnerable: AccountId32;209 } & Struct;210 readonly isLicenseObtained: boolean;211 readonly asLicenseObtained: {212 readonly accountId: AccountId32;213 readonly deposit: u128;214 } & Struct;215 readonly isLicenseForfeited: boolean;216 readonly asLicenseForfeited: {217 readonly accountId: AccountId32;218 readonly depositReturned: u128;219 } & Struct;220 readonly isCandidateAdded: boolean;221 readonly asCandidateAdded: {222 readonly accountId: AccountId32;223 } & Struct;224 readonly isCandidateRemoved: boolean;225 readonly asCandidateRemoved: {226 readonly accountId: AccountId32;227 } & Struct;228 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';229 }230231 /** @name PalletSessionEvent (31) */232 interface PalletSessionEvent extends Enum {233 readonly isNewSession: boolean;234 readonly asNewSession: {235 readonly sessionIndex: u32;236 } & Struct;237 readonly type: 'NewSession';238 }239240 /** @name PalletIdentityEvent (32) */241 interface PalletIdentityEvent extends Enum {242 readonly isIdentitySet: boolean;243 readonly asIdentitySet: {244 readonly who: AccountId32;245 } & Struct;246 readonly isIdentityCleared: boolean;247 readonly asIdentityCleared: {248 readonly who: AccountId32;249 readonly deposit: u128;250 } & Struct;251 readonly isIdentityKilled: boolean;252 readonly asIdentityKilled: {253 readonly who: AccountId32;254 readonly deposit: u128;255 } & Struct;256 readonly isJudgementRequested: boolean;257 readonly asJudgementRequested: {258 readonly who: AccountId32;259 readonly registrarIndex: u32;260 } & Struct;261 readonly isJudgementUnrequested: boolean;262 readonly asJudgementUnrequested: {263 readonly who: AccountId32;264 readonly registrarIndex: u32;265 } & Struct;266 readonly isJudgementGiven: boolean;267 readonly asJudgementGiven: {268 readonly target: AccountId32;269 readonly registrarIndex: u32;270 } & Struct;271 readonly isRegistrarAdded: boolean;272 readonly asRegistrarAdded: {273 readonly registrarIndex: u32;274 } & Struct;275 readonly isSubIdentityAdded: boolean;276 readonly asSubIdentityAdded: {277 readonly sub: AccountId32;278 readonly main: AccountId32;279 readonly deposit: u128;280 } & Struct;281 readonly isSubIdentityRemoved: boolean;282 readonly asSubIdentityRemoved: {283 readonly sub: AccountId32;284 readonly main: AccountId32;285 readonly deposit: u128;286 } & Struct;287 readonly isSubIdentityRevoked: boolean;288 readonly asSubIdentityRevoked: {289 readonly sub: AccountId32;290 readonly main: AccountId32;291 readonly deposit: u128;292 } & Struct;293 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';294 }295296 /** @name PalletBalancesEvent (33) */297 interface PalletBalancesEvent extends Enum {298 readonly isEndowed: boolean;299 readonly asEndowed: {300 readonly account: AccountId32;301 readonly freeBalance: u128;302 } & Struct;303 readonly isDustLost: boolean;304 readonly asDustLost: {305 readonly account: AccountId32;306 readonly amount: u128;307 } & Struct;308 readonly isTransfer: boolean;309 readonly asTransfer: {310 readonly from: AccountId32;311 readonly to: AccountId32;312 readonly amount: u128;313 } & Struct;314 readonly isBalanceSet: boolean;315 readonly asBalanceSet: {316 readonly who: AccountId32;317 readonly free: u128;318 readonly reserved: u128;319 } & Struct;320 readonly isReserved: boolean;321 readonly asReserved: {322 readonly who: AccountId32;323 readonly amount: u128;324 } & Struct;325 readonly isUnreserved: boolean;326 readonly asUnreserved: {327 readonly who: AccountId32;328 readonly amount: u128;329 } & Struct;330 readonly isReserveRepatriated: boolean;331 readonly asReserveRepatriated: {332 readonly from: AccountId32;333 readonly to: AccountId32;334 readonly amount: u128;335 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;336 } & Struct;337 readonly isDeposit: boolean;338 readonly asDeposit: {339 readonly who: AccountId32;340 readonly amount: u128;341 } & Struct;342 readonly isWithdraw: boolean;343 readonly asWithdraw: {344 readonly who: AccountId32;345 readonly amount: u128;346 } & Struct;347 readonly isSlashed: boolean;348 readonly asSlashed: {349 readonly who: AccountId32;350 readonly amount: u128;351 } & Struct;352 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';353 }354355 /** @name FrameSupportTokensMiscBalanceStatus (34) */356 interface FrameSupportTokensMiscBalanceStatus extends Enum {357 readonly isFree: boolean;358 readonly isReserved: boolean;359 readonly type: 'Free' | 'Reserved';360 }361362 /** @name PalletTransactionPaymentEvent (35) */363 interface PalletTransactionPaymentEvent extends Enum {364 readonly isTransactionFeePaid: boolean;365 readonly asTransactionFeePaid: {366 readonly who: AccountId32;367 readonly actualFee: u128;368 readonly tip: u128;369 } & Struct;370 readonly type: 'TransactionFeePaid';371 }372373 /** @name PalletTreasuryEvent (36) */374 interface PalletTreasuryEvent extends Enum {375 readonly isProposed: boolean;376 readonly asProposed: {377 readonly proposalIndex: u32;378 } & Struct;379 readonly isSpending: boolean;380 readonly asSpending: {381 readonly budgetRemaining: u128;382 } & Struct;383 readonly isAwarded: boolean;384 readonly asAwarded: {385 readonly proposalIndex: u32;386 readonly award: u128;387 readonly account: AccountId32;388 } & Struct;389 readonly isRejected: boolean;390 readonly asRejected: {391 readonly proposalIndex: u32;392 readonly slashed: u128;393 } & Struct;394 readonly isBurnt: boolean;395 readonly asBurnt: {396 readonly burntFunds: u128;397 } & Struct;398 readonly isRollover: boolean;399 readonly asRollover: {400 readonly rolloverBalance: u128;401 } & Struct;402 readonly isDeposit: boolean;403 readonly asDeposit: {404 readonly value: u128;405 } & Struct;406 readonly isSpendApproved: boolean;407 readonly asSpendApproved: {408 readonly proposalIndex: u32;409 readonly amount: u128;410 readonly beneficiary: AccountId32;411 } & Struct;412 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';413 }414415 /** @name PalletSudoEvent (37) */416 interface PalletSudoEvent extends Enum {417 readonly isSudid: boolean;418 readonly asSudid: {419 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;420 } & Struct;421 readonly isKeyChanged: boolean;422 readonly asKeyChanged: {423 readonly oldSudoer: Option<AccountId32>;424 } & Struct;425 readonly isSudoAsDone: boolean;426 readonly asSudoAsDone: {427 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;428 } & Struct;429 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';430 }431432 /** @name OrmlVestingModuleEvent (41) */433 interface OrmlVestingModuleEvent extends Enum {434 readonly isVestingScheduleAdded: boolean;435 readonly asVestingScheduleAdded: {436 readonly from: AccountId32;437 readonly to: AccountId32;438 readonly vestingSchedule: OrmlVestingVestingSchedule;439 } & Struct;440 readonly isClaimed: boolean;441 readonly asClaimed: {442 readonly who: AccountId32;443 readonly amount: u128;444 } & Struct;445 readonly isVestingSchedulesUpdated: boolean;446 readonly asVestingSchedulesUpdated: {447 readonly who: AccountId32;448 } & Struct;449 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';450 }451452 /** @name OrmlVestingVestingSchedule (42) */453 interface OrmlVestingVestingSchedule extends Struct {454 readonly start: u32;455 readonly period: u32;456 readonly periodCount: u32;457 readonly perPeriod: Compact<u128>;458 }459460 /** @name OrmlXtokensModuleEvent (44) */461 interface OrmlXtokensModuleEvent extends Enum {462 readonly isTransferredMultiAssets: boolean;463 readonly asTransferredMultiAssets: {464 readonly sender: AccountId32;465 readonly assets: XcmV1MultiassetMultiAssets;466 readonly fee: XcmV1MultiAsset;467 readonly dest: XcmV1MultiLocation;468 } & Struct;469 readonly type: 'TransferredMultiAssets';470 }471472 /** @name XcmV1MultiassetMultiAssets (45) */473 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}474475 /** @name XcmV1MultiAsset (47) */476 interface XcmV1MultiAsset extends Struct {477 readonly id: XcmV1MultiassetAssetId;478 readonly fun: XcmV1MultiassetFungibility;479 }480481 /** @name XcmV1MultiassetAssetId (48) */482 interface XcmV1MultiassetAssetId extends Enum {483 readonly isConcrete: boolean;484 readonly asConcrete: XcmV1MultiLocation;485 readonly isAbstract: boolean;486 readonly asAbstract: Bytes;487 readonly type: 'Concrete' | 'Abstract';488 }489490 /** @name XcmV1MultiLocation (49) */491 interface XcmV1MultiLocation extends Struct {492 readonly parents: u8;493 readonly interior: XcmV1MultilocationJunctions;494 }495496 /** @name XcmV1MultilocationJunctions (50) */497 interface XcmV1MultilocationJunctions extends Enum {498 readonly isHere: boolean;499 readonly isX1: boolean;500 readonly asX1: XcmV1Junction;501 readonly isX2: boolean;502 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;503 readonly isX3: boolean;504 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;505 readonly isX4: boolean;506 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;507 readonly isX5: boolean;508 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;509 readonly isX6: boolean;510 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;511 readonly isX7: boolean;512 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;513 readonly isX8: boolean;514 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;515 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';516 }517518 /** @name XcmV1Junction (51) */519 interface XcmV1Junction extends Enum {520 readonly isParachain: boolean;521 readonly asParachain: Compact<u32>;522 readonly isAccountId32: boolean;523 readonly asAccountId32: {524 readonly network: XcmV0JunctionNetworkId;525 readonly id: U8aFixed;526 } & Struct;527 readonly isAccountIndex64: boolean;528 readonly asAccountIndex64: {529 readonly network: XcmV0JunctionNetworkId;530 readonly index: Compact<u64>;531 } & Struct;532 readonly isAccountKey20: boolean;533 readonly asAccountKey20: {534 readonly network: XcmV0JunctionNetworkId;535 readonly key: U8aFixed;536 } & Struct;537 readonly isPalletInstance: boolean;538 readonly asPalletInstance: u8;539 readonly isGeneralIndex: boolean;540 readonly asGeneralIndex: Compact<u128>;541 readonly isGeneralKey: boolean;542 readonly asGeneralKey: Bytes;543 readonly isOnlyChild: boolean;544 readonly isPlurality: boolean;545 readonly asPlurality: {546 readonly id: XcmV0JunctionBodyId;547 readonly part: XcmV0JunctionBodyPart;548 } & Struct;549 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';550 }551552 /** @name XcmV0JunctionNetworkId (53) */553 interface XcmV0JunctionNetworkId extends Enum {554 readonly isAny: boolean;555 readonly isNamed: boolean;556 readonly asNamed: Bytes;557 readonly isPolkadot: boolean;558 readonly isKusama: boolean;559 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';560 }561562 /** @name XcmV0JunctionBodyId (56) */563 interface XcmV0JunctionBodyId extends Enum {564 readonly isUnit: boolean;565 readonly isNamed: boolean;566 readonly asNamed: Bytes;567 readonly isIndex: boolean;568 readonly asIndex: Compact<u32>;569 readonly isExecutive: boolean;570 readonly isTechnical: boolean;571 readonly isLegislative: boolean;572 readonly isJudicial: boolean;573 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';574 }575576 /** @name XcmV0JunctionBodyPart (57) */577 interface XcmV0JunctionBodyPart extends Enum {578 readonly isVoice: boolean;579 readonly isMembers: boolean;580 readonly asMembers: {581 readonly count: Compact<u32>;582 } & Struct;583 readonly isFraction: boolean;584 readonly asFraction: {585 readonly nom: Compact<u32>;586 readonly denom: Compact<u32>;587 } & Struct;588 readonly isAtLeastProportion: boolean;589 readonly asAtLeastProportion: {590 readonly nom: Compact<u32>;591 readonly denom: Compact<u32>;592 } & Struct;593 readonly isMoreThanProportion: boolean;594 readonly asMoreThanProportion: {595 readonly nom: Compact<u32>;596 readonly denom: Compact<u32>;597 } & Struct;598 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';599 }600601 /** @name XcmV1MultiassetFungibility (58) */602 interface XcmV1MultiassetFungibility extends Enum {603 readonly isFungible: boolean;604 readonly asFungible: Compact<u128>;605 readonly isNonFungible: boolean;606 readonly asNonFungible: XcmV1MultiassetAssetInstance;607 readonly type: 'Fungible' | 'NonFungible';608 }609610 /** @name XcmV1MultiassetAssetInstance (59) */611 interface XcmV1MultiassetAssetInstance extends Enum {612 readonly isUndefined: boolean;613 readonly isIndex: boolean;614 readonly asIndex: Compact<u128>;615 readonly isArray4: boolean;616 readonly asArray4: U8aFixed;617 readonly isArray8: boolean;618 readonly asArray8: U8aFixed;619 readonly isArray16: boolean;620 readonly asArray16: U8aFixed;621 readonly isArray32: boolean;622 readonly asArray32: U8aFixed;623 readonly isBlob: boolean;624 readonly asBlob: Bytes;625 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';626 }627628 /** @name OrmlTokensModuleEvent (62) */629 interface OrmlTokensModuleEvent extends Enum {630 readonly isEndowed: boolean;631 readonly asEndowed: {632 readonly currencyId: PalletForeignAssetsAssetIds;633 readonly who: AccountId32;634 readonly amount: u128;635 } & Struct;636 readonly isDustLost: boolean;637 readonly asDustLost: {638 readonly currencyId: PalletForeignAssetsAssetIds;639 readonly who: AccountId32;640 readonly amount: u128;641 } & Struct;642 readonly isTransfer: boolean;643 readonly asTransfer: {644 readonly currencyId: PalletForeignAssetsAssetIds;645 readonly from: AccountId32;646 readonly to: AccountId32;647 readonly amount: u128;648 } & Struct;649 readonly isReserved: boolean;650 readonly asReserved: {651 readonly currencyId: PalletForeignAssetsAssetIds;652 readonly who: AccountId32;653 readonly amount: u128;654 } & Struct;655 readonly isUnreserved: boolean;656 readonly asUnreserved: {657 readonly currencyId: PalletForeignAssetsAssetIds;658 readonly who: AccountId32;659 readonly amount: u128;660 } & Struct;661 readonly isReserveRepatriated: boolean;662 readonly asReserveRepatriated: {663 readonly currencyId: PalletForeignAssetsAssetIds;664 readonly from: AccountId32;665 readonly to: AccountId32;666 readonly amount: u128;667 readonly status: FrameSupportTokensMiscBalanceStatus;668 } & Struct;669 readonly isBalanceSet: boolean;670 readonly asBalanceSet: {671 readonly currencyId: PalletForeignAssetsAssetIds;672 readonly who: AccountId32;673 readonly free: u128;674 readonly reserved: u128;675 } & Struct;676 readonly isTotalIssuanceSet: boolean;677 readonly asTotalIssuanceSet: {678 readonly currencyId: PalletForeignAssetsAssetIds;679 readonly amount: u128;680 } & Struct;681 readonly isWithdrawn: boolean;682 readonly asWithdrawn: {683 readonly currencyId: PalletForeignAssetsAssetIds;684 readonly who: AccountId32;685 readonly amount: u128;686 } & Struct;687 readonly isSlashed: boolean;688 readonly asSlashed: {689 readonly currencyId: PalletForeignAssetsAssetIds;690 readonly who: AccountId32;691 readonly freeAmount: u128;692 readonly reservedAmount: u128;693 } & Struct;694 readonly isDeposited: boolean;695 readonly asDeposited: {696 readonly currencyId: PalletForeignAssetsAssetIds;697 readonly who: AccountId32;698 readonly amount: u128;699 } & Struct;700 readonly isLockSet: boolean;701 readonly asLockSet: {702 readonly lockId: U8aFixed;703 readonly currencyId: PalletForeignAssetsAssetIds;704 readonly who: AccountId32;705 readonly amount: u128;706 } & Struct;707 readonly isLockRemoved: boolean;708 readonly asLockRemoved: {709 readonly lockId: U8aFixed;710 readonly currencyId: PalletForeignAssetsAssetIds;711 readonly who: AccountId32;712 } & Struct;713 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';714 }715716 /** @name PalletForeignAssetsAssetIds (63) */717 interface PalletForeignAssetsAssetIds extends Enum {718 readonly isForeignAssetId: boolean;719 readonly asForeignAssetId: u32;720 readonly isNativeAssetId: boolean;721 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;722 readonly type: 'ForeignAssetId' | 'NativeAssetId';723 }724725 /** @name PalletForeignAssetsNativeCurrency (64) */726 interface PalletForeignAssetsNativeCurrency extends Enum {727 readonly isHere: boolean;728 readonly isParent: boolean;729 readonly type: 'Here' | 'Parent';730 }731732 /** @name CumulusPalletXcmpQueueEvent (65) */733 interface CumulusPalletXcmpQueueEvent extends Enum {734 readonly isSuccess: boolean;735 readonly asSuccess: {736 readonly messageHash: Option<H256>;737 readonly weight: SpWeightsWeightV2Weight;738 } & Struct;739 readonly isFail: boolean;740 readonly asFail: {741 readonly messageHash: Option<H256>;742 readonly error: XcmV2TraitsError;743 readonly weight: SpWeightsWeightV2Weight;744 } & Struct;745 readonly isBadVersion: boolean;746 readonly asBadVersion: {747 readonly messageHash: Option<H256>;748 } & Struct;749 readonly isBadFormat: boolean;750 readonly asBadFormat: {751 readonly messageHash: Option<H256>;752 } & Struct;753 readonly isUpwardMessageSent: boolean;754 readonly asUpwardMessageSent: {755 readonly messageHash: Option<H256>;756 } & Struct;757 readonly isXcmpMessageSent: boolean;758 readonly asXcmpMessageSent: {759 readonly messageHash: Option<H256>;760 } & Struct;761 readonly isOverweightEnqueued: boolean;762 readonly asOverweightEnqueued: {763 readonly sender: u32;764 readonly sentAt: u32;765 readonly index: u64;766 readonly required: SpWeightsWeightV2Weight;767 } & Struct;768 readonly isOverweightServiced: boolean;769 readonly asOverweightServiced: {770 readonly index: u64;771 readonly used: SpWeightsWeightV2Weight;772 } & Struct;773 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';774 }775776 /** @name XcmV2TraitsError (67) */777 interface XcmV2TraitsError extends Enum {778 readonly isOverflow: boolean;779 readonly isUnimplemented: boolean;780 readonly isUntrustedReserveLocation: boolean;781 readonly isUntrustedTeleportLocation: boolean;782 readonly isMultiLocationFull: boolean;783 readonly isMultiLocationNotInvertible: boolean;784 readonly isBadOrigin: boolean;785 readonly isInvalidLocation: boolean;786 readonly isAssetNotFound: boolean;787 readonly isFailedToTransactAsset: boolean;788 readonly isNotWithdrawable: boolean;789 readonly isLocationCannotHold: boolean;790 readonly isExceedsMaxMessageSize: boolean;791 readonly isDestinationUnsupported: boolean;792 readonly isTransport: boolean;793 readonly isUnroutable: boolean;794 readonly isUnknownClaim: boolean;795 readonly isFailedToDecode: boolean;796 readonly isMaxWeightInvalid: boolean;797 readonly isNotHoldingFees: boolean;798 readonly isTooExpensive: boolean;799 readonly isTrap: boolean;800 readonly asTrap: u64;801 readonly isUnhandledXcmVersion: boolean;802 readonly isWeightLimitReached: boolean;803 readonly asWeightLimitReached: u64;804 readonly isBarrier: boolean;805 readonly isWeightNotComputable: boolean;806 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';807 }808809 /** @name PalletXcmEvent (69) */810 interface PalletXcmEvent extends Enum {811 readonly isAttempted: boolean;812 readonly asAttempted: XcmV2TraitsOutcome;813 readonly isSent: boolean;814 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;815 readonly isUnexpectedResponse: boolean;816 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;817 readonly isResponseReady: boolean;818 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;819 readonly isNotified: boolean;820 readonly asNotified: ITuple<[u64, u8, u8]>;821 readonly isNotifyOverweight: boolean;822 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;823 readonly isNotifyDispatchError: boolean;824 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;825 readonly isNotifyDecodeFailed: boolean;826 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;827 readonly isInvalidResponder: boolean;828 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;829 readonly isInvalidResponderVersion: boolean;830 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;831 readonly isResponseTaken: boolean;832 readonly asResponseTaken: u64;833 readonly isAssetsTrapped: boolean;834 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;835 readonly isVersionChangeNotified: boolean;836 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;837 readonly isSupportedVersionChanged: boolean;838 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;839 readonly isNotifyTargetSendFail: boolean;840 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;841 readonly isNotifyTargetMigrationFail: boolean;842 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;843 readonly isAssetsClaimed: boolean;844 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;845 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';846 }847848 /** @name XcmV2TraitsOutcome (70) */849 interface XcmV2TraitsOutcome extends Enum {850 readonly isComplete: boolean;851 readonly asComplete: u64;852 readonly isIncomplete: boolean;853 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;854 readonly isError: boolean;855 readonly asError: XcmV2TraitsError;856 readonly type: 'Complete' | 'Incomplete' | 'Error';857 }858859 /** @name XcmV2Xcm (71) */860 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}861862 /** @name XcmV2Instruction (73) */863 interface XcmV2Instruction extends Enum {864 readonly isWithdrawAsset: boolean;865 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;866 readonly isReserveAssetDeposited: boolean;867 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;868 readonly isReceiveTeleportedAsset: boolean;869 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;870 readonly isQueryResponse: boolean;871 readonly asQueryResponse: {872 readonly queryId: Compact<u64>;873 readonly response: XcmV2Response;874 readonly maxWeight: Compact<u64>;875 } & Struct;876 readonly isTransferAsset: boolean;877 readonly asTransferAsset: {878 readonly assets: XcmV1MultiassetMultiAssets;879 readonly beneficiary: XcmV1MultiLocation;880 } & Struct;881 readonly isTransferReserveAsset: boolean;882 readonly asTransferReserveAsset: {883 readonly assets: XcmV1MultiassetMultiAssets;884 readonly dest: XcmV1MultiLocation;885 readonly xcm: XcmV2Xcm;886 } & Struct;887 readonly isTransact: boolean;888 readonly asTransact: {889 readonly originType: XcmV0OriginKind;890 readonly requireWeightAtMost: Compact<u64>;891 readonly call: XcmDoubleEncoded;892 } & Struct;893 readonly isHrmpNewChannelOpenRequest: boolean;894 readonly asHrmpNewChannelOpenRequest: {895 readonly sender: Compact<u32>;896 readonly maxMessageSize: Compact<u32>;897 readonly maxCapacity: Compact<u32>;898 } & Struct;899 readonly isHrmpChannelAccepted: boolean;900 readonly asHrmpChannelAccepted: {901 readonly recipient: Compact<u32>;902 } & Struct;903 readonly isHrmpChannelClosing: boolean;904 readonly asHrmpChannelClosing: {905 readonly initiator: Compact<u32>;906 readonly sender: Compact<u32>;907 readonly recipient: Compact<u32>;908 } & Struct;909 readonly isClearOrigin: boolean;910 readonly isDescendOrigin: boolean;911 readonly asDescendOrigin: XcmV1MultilocationJunctions;912 readonly isReportError: boolean;913 readonly asReportError: {914 readonly queryId: Compact<u64>;915 readonly dest: XcmV1MultiLocation;916 readonly maxResponseWeight: Compact<u64>;917 } & Struct;918 readonly isDepositAsset: boolean;919 readonly asDepositAsset: {920 readonly assets: XcmV1MultiassetMultiAssetFilter;921 readonly maxAssets: Compact<u32>;922 readonly beneficiary: XcmV1MultiLocation;923 } & Struct;924 readonly isDepositReserveAsset: boolean;925 readonly asDepositReserveAsset: {926 readonly assets: XcmV1MultiassetMultiAssetFilter;927 readonly maxAssets: Compact<u32>;928 readonly dest: XcmV1MultiLocation;929 readonly xcm: XcmV2Xcm;930 } & Struct;931 readonly isExchangeAsset: boolean;932 readonly asExchangeAsset: {933 readonly give: XcmV1MultiassetMultiAssetFilter;934 readonly receive: XcmV1MultiassetMultiAssets;935 } & Struct;936 readonly isInitiateReserveWithdraw: boolean;937 readonly asInitiateReserveWithdraw: {938 readonly assets: XcmV1MultiassetMultiAssetFilter;939 readonly reserve: XcmV1MultiLocation;940 readonly xcm: XcmV2Xcm;941 } & Struct;942 readonly isInitiateTeleport: boolean;943 readonly asInitiateTeleport: {944 readonly assets: XcmV1MultiassetMultiAssetFilter;945 readonly dest: XcmV1MultiLocation;946 readonly xcm: XcmV2Xcm;947 } & Struct;948 readonly isQueryHolding: boolean;949 readonly asQueryHolding: {950 readonly queryId: Compact<u64>;951 readonly dest: XcmV1MultiLocation;952 readonly assets: XcmV1MultiassetMultiAssetFilter;953 readonly maxResponseWeight: Compact<u64>;954 } & Struct;955 readonly isBuyExecution: boolean;956 readonly asBuyExecution: {957 readonly fees: XcmV1MultiAsset;958 readonly weightLimit: XcmV2WeightLimit;959 } & Struct;960 readonly isRefundSurplus: boolean;961 readonly isSetErrorHandler: boolean;962 readonly asSetErrorHandler: XcmV2Xcm;963 readonly isSetAppendix: boolean;964 readonly asSetAppendix: XcmV2Xcm;965 readonly isClearError: boolean;966 readonly isClaimAsset: boolean;967 readonly asClaimAsset: {968 readonly assets: XcmV1MultiassetMultiAssets;969 readonly ticket: XcmV1MultiLocation;970 } & Struct;971 readonly isTrap: boolean;972 readonly asTrap: Compact<u64>;973 readonly isSubscribeVersion: boolean;974 readonly asSubscribeVersion: {975 readonly queryId: Compact<u64>;976 readonly maxResponseWeight: Compact<u64>;977 } & Struct;978 readonly isUnsubscribeVersion: boolean;979 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';980 }981982 /** @name XcmV2Response (74) */983 interface XcmV2Response extends Enum {984 readonly isNull: boolean;985 readonly isAssets: boolean;986 readonly asAssets: XcmV1MultiassetMultiAssets;987 readonly isExecutionResult: boolean;988 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;989 readonly isVersion: boolean;990 readonly asVersion: u32;991 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';992 }993994 /** @name XcmV0OriginKind (77) */995 interface XcmV0OriginKind extends Enum {996 readonly isNative: boolean;997 readonly isSovereignAccount: boolean;998 readonly isSuperuser: boolean;999 readonly isXcm: boolean;1000 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';1001 }10021003 /** @name XcmDoubleEncoded (78) */1004 interface XcmDoubleEncoded extends Struct {1005 readonly encoded: Bytes;1006 }10071008 /** @name XcmV1MultiassetMultiAssetFilter (79) */1009 interface XcmV1MultiassetMultiAssetFilter extends Enum {1010 readonly isDefinite: boolean;1011 readonly asDefinite: XcmV1MultiassetMultiAssets;1012 readonly isWild: boolean;1013 readonly asWild: XcmV1MultiassetWildMultiAsset;1014 readonly type: 'Definite' | 'Wild';1015 }10161017 /** @name XcmV1MultiassetWildMultiAsset (80) */1018 interface XcmV1MultiassetWildMultiAsset extends Enum {1019 readonly isAll: boolean;1020 readonly isAllOf: boolean;1021 readonly asAllOf: {1022 readonly id: XcmV1MultiassetAssetId;1023 readonly fun: XcmV1MultiassetWildFungibility;1024 } & Struct;1025 readonly type: 'All' | 'AllOf';1026 }10271028 /** @name XcmV1MultiassetWildFungibility (81) */1029 interface XcmV1MultiassetWildFungibility extends Enum {1030 readonly isFungible: boolean;1031 readonly isNonFungible: boolean;1032 readonly type: 'Fungible' | 'NonFungible';1033 }10341035 /** @name XcmV2WeightLimit (82) */1036 interface XcmV2WeightLimit extends Enum {1037 readonly isUnlimited: boolean;1038 readonly isLimited: boolean;1039 readonly asLimited: Compact<u64>;1040 readonly type: 'Unlimited' | 'Limited';1041 }10421043 /** @name XcmVersionedMultiAssets (84) */1044 interface XcmVersionedMultiAssets extends Enum {1045 readonly isV0: boolean;1046 readonly asV0: Vec<XcmV0MultiAsset>;1047 readonly isV1: boolean;1048 readonly asV1: XcmV1MultiassetMultiAssets;1049 readonly type: 'V0' | 'V1';1050 }10511052 /** @name XcmV0MultiAsset (86) */1053 interface XcmV0MultiAsset extends Enum {1054 readonly isNone: boolean;1055 readonly isAll: boolean;1056 readonly isAllFungible: boolean;1057 readonly isAllNonFungible: boolean;1058 readonly isAllAbstractFungible: boolean;1059 readonly asAllAbstractFungible: {1060 readonly id: Bytes;1061 } & Struct;1062 readonly isAllAbstractNonFungible: boolean;1063 readonly asAllAbstractNonFungible: {1064 readonly class: Bytes;1065 } & Struct;1066 readonly isAllConcreteFungible: boolean;1067 readonly asAllConcreteFungible: {1068 readonly id: XcmV0MultiLocation;1069 } & Struct;1070 readonly isAllConcreteNonFungible: boolean;1071 readonly asAllConcreteNonFungible: {1072 readonly class: XcmV0MultiLocation;1073 } & Struct;1074 readonly isAbstractFungible: boolean;1075 readonly asAbstractFungible: {1076 readonly id: Bytes;1077 readonly amount: Compact<u128>;1078 } & Struct;1079 readonly isAbstractNonFungible: boolean;1080 readonly asAbstractNonFungible: {1081 readonly class: Bytes;1082 readonly instance: XcmV1MultiassetAssetInstance;1083 } & Struct;1084 readonly isConcreteFungible: boolean;1085 readonly asConcreteFungible: {1086 readonly id: XcmV0MultiLocation;1087 readonly amount: Compact<u128>;1088 } & Struct;1089 readonly isConcreteNonFungible: boolean;1090 readonly asConcreteNonFungible: {1091 readonly class: XcmV0MultiLocation;1092 readonly instance: XcmV1MultiassetAssetInstance;1093 } & Struct;1094 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';1095 }10961097 /** @name XcmV0MultiLocation (87) */1098 interface XcmV0MultiLocation extends Enum {1099 readonly isNull: boolean;1100 readonly isX1: boolean;1101 readonly asX1: XcmV0Junction;1102 readonly isX2: boolean;1103 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;1104 readonly isX3: boolean;1105 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1106 readonly isX4: boolean;1107 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1108 readonly isX5: boolean;1109 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1110 readonly isX6: boolean;1111 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1112 readonly isX7: boolean;1113 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1114 readonly isX8: boolean;1115 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1116 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1117 }11181119 /** @name XcmV0Junction (88) */1120 interface XcmV0Junction extends Enum {1121 readonly isParent: boolean;1122 readonly isParachain: boolean;1123 readonly asParachain: Compact<u32>;1124 readonly isAccountId32: boolean;1125 readonly asAccountId32: {1126 readonly network: XcmV0JunctionNetworkId;1127 readonly id: U8aFixed;1128 } & Struct;1129 readonly isAccountIndex64: boolean;1130 readonly asAccountIndex64: {1131 readonly network: XcmV0JunctionNetworkId;1132 readonly index: Compact<u64>;1133 } & Struct;1134 readonly isAccountKey20: boolean;1135 readonly asAccountKey20: {1136 readonly network: XcmV0JunctionNetworkId;1137 readonly key: U8aFixed;1138 } & Struct;1139 readonly isPalletInstance: boolean;1140 readonly asPalletInstance: u8;1141 readonly isGeneralIndex: boolean;1142 readonly asGeneralIndex: Compact<u128>;1143 readonly isGeneralKey: boolean;1144 readonly asGeneralKey: Bytes;1145 readonly isOnlyChild: boolean;1146 readonly isPlurality: boolean;1147 readonly asPlurality: {1148 readonly id: XcmV0JunctionBodyId;1149 readonly part: XcmV0JunctionBodyPart;1150 } & Struct;1151 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1152 }11531154 /** @name XcmVersionedMultiLocation (89) */1155 interface XcmVersionedMultiLocation extends Enum {1156 readonly isV0: boolean;1157 readonly asV0: XcmV0MultiLocation;1158 readonly isV1: boolean;1159 readonly asV1: XcmV1MultiLocation;1160 readonly type: 'V0' | 'V1';1161 }11621163 /** @name CumulusPalletXcmEvent (90) */1164 interface CumulusPalletXcmEvent extends Enum {1165 readonly isInvalidFormat: boolean;1166 readonly asInvalidFormat: U8aFixed;1167 readonly isUnsupportedVersion: boolean;1168 readonly asUnsupportedVersion: U8aFixed;1169 readonly isExecutedDownward: boolean;1170 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1171 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1172 }11731174 /** @name CumulusPalletDmpQueueEvent (91) */1175 interface CumulusPalletDmpQueueEvent extends Enum {1176 readonly isInvalidFormat: boolean;1177 readonly asInvalidFormat: {1178 readonly messageId: U8aFixed;1179 } & Struct;1180 readonly isUnsupportedVersion: boolean;1181 readonly asUnsupportedVersion: {1182 readonly messageId: U8aFixed;1183 } & Struct;1184 readonly isExecutedDownward: boolean;1185 readonly asExecutedDownward: {1186 readonly messageId: U8aFixed;1187 readonly outcome: XcmV2TraitsOutcome;1188 } & Struct;1189 readonly isWeightExhausted: boolean;1190 readonly asWeightExhausted: {1191 readonly messageId: U8aFixed;1192 readonly remainingWeight: SpWeightsWeightV2Weight;1193 readonly requiredWeight: SpWeightsWeightV2Weight;1194 } & Struct;1195 readonly isOverweightEnqueued: boolean;1196 readonly asOverweightEnqueued: {1197 readonly messageId: U8aFixed;1198 readonly overweightIndex: u64;1199 readonly requiredWeight: SpWeightsWeightV2Weight;1200 } & Struct;1201 readonly isOverweightServiced: boolean;1202 readonly asOverweightServiced: {1203 readonly overweightIndex: u64;1204 readonly weightUsed: SpWeightsWeightV2Weight;1205 } & Struct;1206 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1207 }12081209 /** @name PalletConfigurationEvent (92) */1210 interface PalletConfigurationEvent extends Enum {1211 readonly isNewDesiredCollators: boolean;1212 readonly asNewDesiredCollators: {1213 readonly desiredCollators: Option<u32>;1214 } & Struct;1215 readonly isNewCollatorLicenseBond: boolean;1216 readonly asNewCollatorLicenseBond: {1217 readonly bondCost: Option<u128>;1218 } & Struct;1219 readonly isNewCollatorKickThreshold: boolean;1220 readonly asNewCollatorKickThreshold: {1221 readonly lengthInBlocks: Option<u32>;1222 } & Struct;1223 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1224 }12251226 /** @name PalletCommonEvent (95) */1227 interface PalletCommonEvent extends Enum {1228 readonly isCollectionCreated: boolean;1229 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1230 readonly isCollectionDestroyed: boolean;1231 readonly asCollectionDestroyed: u32;1232 readonly isItemCreated: boolean;1233 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1234 readonly isItemDestroyed: boolean;1235 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1236 readonly isTransfer: boolean;1237 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1238 readonly isApproved: boolean;1239 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1240 readonly isApprovedForAll: boolean;1241 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1242 readonly isCollectionPropertySet: boolean;1243 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1244 readonly isCollectionPropertyDeleted: boolean;1245 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1246 readonly isTokenPropertySet: boolean;1247 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1248 readonly isTokenPropertyDeleted: boolean;1249 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1250 readonly isPropertyPermissionSet: boolean;1251 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1252 readonly isAllowListAddressAdded: boolean;1253 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1254 readonly isAllowListAddressRemoved: boolean;1255 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1256 readonly isCollectionAdminAdded: boolean;1257 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1258 readonly isCollectionAdminRemoved: boolean;1259 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1260 readonly isCollectionLimitSet: boolean;1261 readonly asCollectionLimitSet: u32;1262 readonly isCollectionOwnerChanged: boolean;1263 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1264 readonly isCollectionPermissionSet: boolean;1265 readonly asCollectionPermissionSet: u32;1266 readonly isCollectionSponsorSet: boolean;1267 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1268 readonly isSponsorshipConfirmed: boolean;1269 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1270 readonly isCollectionSponsorRemoved: boolean;1271 readonly asCollectionSponsorRemoved: u32;1272 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1273 }12741275 /** @name PalletEvmAccountBasicCrossAccountIdRepr (98) */1276 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1277 readonly isSubstrate: boolean;1278 readonly asSubstrate: AccountId32;1279 readonly isEthereum: boolean;1280 readonly asEthereum: H160;1281 readonly type: 'Substrate' | 'Ethereum';1282 }12831284 /** @name PalletStructureEvent (102) */1285 interface PalletStructureEvent extends Enum {1286 readonly isExecuted: boolean;1287 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1288 readonly type: 'Executed';1289 }12901291 /** @name PalletRmrkCoreEvent (103) */1292 interface PalletRmrkCoreEvent extends Enum {1293 readonly isCollectionCreated: boolean;1294 readonly asCollectionCreated: {1295 readonly issuer: AccountId32;1296 readonly collectionId: u32;1297 } & Struct;1298 readonly isCollectionDestroyed: boolean;1299 readonly asCollectionDestroyed: {1300 readonly issuer: AccountId32;1301 readonly collectionId: u32;1302 } & Struct;1303 readonly isIssuerChanged: boolean;1304 readonly asIssuerChanged: {1305 readonly oldIssuer: AccountId32;1306 readonly newIssuer: AccountId32;1307 readonly collectionId: u32;1308 } & Struct;1309 readonly isCollectionLocked: boolean;1310 readonly asCollectionLocked: {1311 readonly issuer: AccountId32;1312 readonly collectionId: u32;1313 } & Struct;1314 readonly isNftMinted: boolean;1315 readonly asNftMinted: {1316 readonly owner: AccountId32;1317 readonly collectionId: u32;1318 readonly nftId: u32;1319 } & Struct;1320 readonly isNftBurned: boolean;1321 readonly asNftBurned: {1322 readonly owner: AccountId32;1323 readonly nftId: u32;1324 } & Struct;1325 readonly isNftSent: boolean;1326 readonly asNftSent: {1327 readonly sender: AccountId32;1328 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1329 readonly collectionId: u32;1330 readonly nftId: u32;1331 readonly approvalRequired: bool;1332 } & Struct;1333 readonly isNftAccepted: boolean;1334 readonly asNftAccepted: {1335 readonly sender: AccountId32;1336 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1337 readonly collectionId: u32;1338 readonly nftId: u32;1339 } & Struct;1340 readonly isNftRejected: boolean;1341 readonly asNftRejected: {1342 readonly sender: AccountId32;1343 readonly collectionId: u32;1344 readonly nftId: u32;1345 } & Struct;1346 readonly isPropertySet: boolean;1347 readonly asPropertySet: {1348 readonly collectionId: u32;1349 readonly maybeNftId: Option<u32>;1350 readonly key: Bytes;1351 readonly value: Bytes;1352 } & Struct;1353 readonly isResourceAdded: boolean;1354 readonly asResourceAdded: {1355 readonly nftId: u32;1356 readonly resourceId: u32;1357 } & Struct;1358 readonly isResourceRemoval: boolean;1359 readonly asResourceRemoval: {1360 readonly nftId: u32;1361 readonly resourceId: u32;1362 } & Struct;1363 readonly isResourceAccepted: boolean;1364 readonly asResourceAccepted: {1365 readonly nftId: u32;1366 readonly resourceId: u32;1367 } & Struct;1368 readonly isResourceRemovalAccepted: boolean;1369 readonly asResourceRemovalAccepted: {1370 readonly nftId: u32;1371 readonly resourceId: u32;1372 } & Struct;1373 readonly isPrioritySet: boolean;1374 readonly asPrioritySet: {1375 readonly collectionId: u32;1376 readonly nftId: u32;1377 } & Struct;1378 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1379 }13801381 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (104) */1382 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1383 readonly isAccountId: boolean;1384 readonly asAccountId: AccountId32;1385 readonly isCollectionAndNftTuple: boolean;1386 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1387 readonly type: 'AccountId' | 'CollectionAndNftTuple';1388 }13891390 /** @name PalletRmrkEquipEvent (107) */1391 interface PalletRmrkEquipEvent extends Enum {1392 readonly isBaseCreated: boolean;1393 readonly asBaseCreated: {1394 readonly issuer: AccountId32;1395 readonly baseId: u32;1396 } & Struct;1397 readonly isEquippablesUpdated: boolean;1398 readonly asEquippablesUpdated: {1399 readonly baseId: u32;1400 readonly slotId: u32;1401 } & Struct;1402 readonly type: 'BaseCreated' | 'EquippablesUpdated';1403 }14041405 /** @name PalletAppPromotionEvent (108) */1406 interface PalletAppPromotionEvent extends Enum {1407 readonly isStakingRecalculation: boolean;1408 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1409 readonly isStake: boolean;1410 readonly asStake: ITuple<[AccountId32, u128]>;1411 readonly isUnstake: boolean;1412 readonly asUnstake: ITuple<[AccountId32, u128]>;1413 readonly isSetAdmin: boolean;1414 readonly asSetAdmin: AccountId32;1415 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1416 }14171418 /** @name PalletForeignAssetsModuleEvent (109) */1419 interface PalletForeignAssetsModuleEvent extends Enum {1420 readonly isForeignAssetRegistered: boolean;1421 readonly asForeignAssetRegistered: {1422 readonly assetId: u32;1423 readonly assetAddress: XcmV1MultiLocation;1424 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1425 } & Struct;1426 readonly isForeignAssetUpdated: boolean;1427 readonly asForeignAssetUpdated: {1428 readonly assetId: u32;1429 readonly assetAddress: XcmV1MultiLocation;1430 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1431 } & Struct;1432 readonly isAssetRegistered: boolean;1433 readonly asAssetRegistered: {1434 readonly assetId: PalletForeignAssetsAssetIds;1435 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1436 } & Struct;1437 readonly isAssetUpdated: boolean;1438 readonly asAssetUpdated: {1439 readonly assetId: PalletForeignAssetsAssetIds;1440 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1441 } & Struct;1442 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1443 }14441445 /** @name PalletForeignAssetsModuleAssetMetadata (110) */1446 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1447 readonly name: Bytes;1448 readonly symbol: Bytes;1449 readonly decimals: u8;1450 readonly minimalBalance: u128;1451 }14521453 /** @name PalletEvmEvent (111) */1454 interface PalletEvmEvent extends Enum {1455 readonly isLog: boolean;1456 readonly asLog: {1457 readonly log: EthereumLog;1458 } & Struct;1459 readonly isCreated: boolean;1460 readonly asCreated: {1461 readonly address: H160;1462 } & Struct;1463 readonly isCreatedFailed: boolean;1464 readonly asCreatedFailed: {1465 readonly address: H160;1466 } & Struct;1467 readonly isExecuted: boolean;1468 readonly asExecuted: {1469 readonly address: H160;1470 } & Struct;1471 readonly isExecutedFailed: boolean;1472 readonly asExecutedFailed: {1473 readonly address: H160;1474 } & Struct;1475 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1476 }14771478 /** @name EthereumLog (112) */1479 interface EthereumLog extends Struct {1480 readonly address: H160;1481 readonly topics: Vec<H256>;1482 readonly data: Bytes;1483 }14841485 /** @name PalletEthereumEvent (114) */1486 interface PalletEthereumEvent extends Enum {1487 readonly isExecuted: boolean;1488 readonly asExecuted: {1489 readonly from: H160;1490 readonly to: H160;1491 readonly transactionHash: H256;1492 readonly exitReason: EvmCoreErrorExitReason;1493 } & Struct;1494 readonly type: 'Executed';1495 }14961497 /** @name EvmCoreErrorExitReason (115) */1498 interface EvmCoreErrorExitReason extends Enum {1499 readonly isSucceed: boolean;1500 readonly asSucceed: EvmCoreErrorExitSucceed;1501 readonly isError: boolean;1502 readonly asError: EvmCoreErrorExitError;1503 readonly isRevert: boolean;1504 readonly asRevert: EvmCoreErrorExitRevert;1505 readonly isFatal: boolean;1506 readonly asFatal: EvmCoreErrorExitFatal;1507 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1508 }15091510 /** @name EvmCoreErrorExitSucceed (116) */1511 interface EvmCoreErrorExitSucceed extends Enum {1512 readonly isStopped: boolean;1513 readonly isReturned: boolean;1514 readonly isSuicided: boolean;1515 readonly type: 'Stopped' | 'Returned' | 'Suicided';1516 }15171518 /** @name EvmCoreErrorExitError (117) */1519 interface EvmCoreErrorExitError extends Enum {1520 readonly isStackUnderflow: boolean;1521 readonly isStackOverflow: boolean;1522 readonly isInvalidJump: boolean;1523 readonly isInvalidRange: boolean;1524 readonly isDesignatedInvalid: boolean;1525 readonly isCallTooDeep: boolean;1526 readonly isCreateCollision: boolean;1527 readonly isCreateContractLimit: boolean;1528 readonly isOutOfOffset: boolean;1529 readonly isOutOfGas: boolean;1530 readonly isOutOfFund: boolean;1531 readonly isPcUnderflow: boolean;1532 readonly isCreateEmpty: boolean;1533 readonly isOther: boolean;1534 readonly asOther: Text;1535 readonly isInvalidCode: boolean;1536 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1537 }15381539 /** @name EvmCoreErrorExitRevert (120) */1540 interface EvmCoreErrorExitRevert extends Enum {1541 readonly isReverted: boolean;1542 readonly type: 'Reverted';1543 }15441545 /** @name EvmCoreErrorExitFatal (121) */1546 interface EvmCoreErrorExitFatal extends Enum {1547 readonly isNotSupported: boolean;1548 readonly isUnhandledInterrupt: boolean;1549 readonly isCallErrorAsFatal: boolean;1550 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1551 readonly isOther: boolean;1552 readonly asOther: Text;1553 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1554 }15551556 /** @name PalletEvmContractHelpersEvent (122) */1557 interface PalletEvmContractHelpersEvent extends Enum {1558 readonly isContractSponsorSet: boolean;1559 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1560 readonly isContractSponsorshipConfirmed: boolean;1561 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1562 readonly isContractSponsorRemoved: boolean;1563 readonly asContractSponsorRemoved: H160;1564 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1565 }15661567 /** @name PalletDataManagementEvent (123) */1568 interface PalletDataManagementEvent extends Enum {1569 readonly isTestEvent: boolean;1570 readonly type: 'TestEvent';1571 }15721573 /** @name PalletMaintenanceEvent (124) */1574 interface PalletMaintenanceEvent extends Enum {1575 readonly isMaintenanceEnabled: boolean;1576 readonly isMaintenanceDisabled: boolean;1577 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1578 }15791580 /** @name PalletTestUtilsEvent (125) */1581 interface PalletTestUtilsEvent extends Enum {1582 readonly isValueIsSet: boolean;1583 readonly isShouldRollback: boolean;1584 readonly isBatchCompleted: boolean;1585 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1586 }15871588 /** @name FrameSystemPhase (126) */1589 interface FrameSystemPhase extends Enum {1590 readonly isApplyExtrinsic: boolean;1591 readonly asApplyExtrinsic: u32;1592 readonly isFinalization: boolean;1593 readonly isInitialization: boolean;1594 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1595 }15961597 /** @name FrameSystemLastRuntimeUpgradeInfo (129) */1598 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1599 readonly specVersion: Compact<u32>;1600 readonly specName: Text;1601 }16021603 /** @name FrameSystemCall (130) */1604 interface FrameSystemCall extends Enum {1605 readonly isRemark: boolean;1606 readonly asRemark: {1607 readonly remark: Bytes;1608 } & Struct;1609 readonly isSetHeapPages: boolean;1610 readonly asSetHeapPages: {1611 readonly pages: u64;1612 } & Struct;1613 readonly isSetCode: boolean;1614 readonly asSetCode: {1615 readonly code: Bytes;1616 } & Struct;1617 readonly isSetCodeWithoutChecks: boolean;1618 readonly asSetCodeWithoutChecks: {1619 readonly code: Bytes;1620 } & Struct;1621 readonly isSetStorage: boolean;1622 readonly asSetStorage: {1623 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1624 } & Struct;1625 readonly isKillStorage: boolean;1626 readonly asKillStorage: {1627 readonly keys_: Vec<Bytes>;1628 } & Struct;1629 readonly isKillPrefix: boolean;1630 readonly asKillPrefix: {1631 readonly prefix: Bytes;1632 readonly subkeys: u32;1633 } & Struct;1634 readonly isRemarkWithEvent: boolean;1635 readonly asRemarkWithEvent: {1636 readonly remark: Bytes;1637 } & Struct;1638 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1639 }16401641 /** @name FrameSystemLimitsBlockWeights (134) */1642 interface FrameSystemLimitsBlockWeights extends Struct {1643 readonly baseBlock: SpWeightsWeightV2Weight;1644 readonly maxBlock: SpWeightsWeightV2Weight;1645 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1646 }16471648 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (135) */1649 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1650 readonly normal: FrameSystemLimitsWeightsPerClass;1651 readonly operational: FrameSystemLimitsWeightsPerClass;1652 readonly mandatory: FrameSystemLimitsWeightsPerClass;1653 }16541655 /** @name FrameSystemLimitsWeightsPerClass (136) */1656 interface FrameSystemLimitsWeightsPerClass extends Struct {1657 readonly baseExtrinsic: SpWeightsWeightV2Weight;1658 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1659 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1660 readonly reserved: Option<SpWeightsWeightV2Weight>;1661 }16621663 /** @name FrameSystemLimitsBlockLength (138) */1664 interface FrameSystemLimitsBlockLength extends Struct {1665 readonly max: FrameSupportDispatchPerDispatchClassU32;1666 }16671668 /** @name FrameSupportDispatchPerDispatchClassU32 (139) */1669 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1670 readonly normal: u32;1671 readonly operational: u32;1672 readonly mandatory: u32;1673 }16741675 /** @name SpWeightsRuntimeDbWeight (140) */1676 interface SpWeightsRuntimeDbWeight extends Struct {1677 readonly read: u64;1678 readonly write: u64;1679 }16801681 /** @name SpVersionRuntimeVersion (141) */1682 interface SpVersionRuntimeVersion extends Struct {1683 readonly specName: Text;1684 readonly implName: Text;1685 readonly authoringVersion: u32;1686 readonly specVersion: u32;1687 readonly implVersion: u32;1688 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1689 readonly transactionVersion: u32;1690 readonly stateVersion: u8;1691 }16921693 /** @name FrameSystemError (146) */1694 interface FrameSystemError extends Enum {1695 readonly isInvalidSpecName: boolean;1696 readonly isSpecVersionNeedsToIncrease: boolean;1697 readonly isFailedToExtractRuntimeVersion: boolean;1698 readonly isNonDefaultComposite: boolean;1699 readonly isNonZeroRefCount: boolean;1700 readonly isCallFiltered: boolean;1701 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1702 }17031704 /** @name PolkadotPrimitivesV2PersistedValidationData (147) */1705 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1706 readonly parentHead: Bytes;1707 readonly relayParentNumber: u32;1708 readonly relayParentStorageRoot: H256;1709 readonly maxPovSize: u32;1710 }17111712 /** @name PolkadotPrimitivesV2UpgradeRestriction (150) */1713 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1714 readonly isPresent: boolean;1715 readonly type: 'Present';1716 }17171718 /** @name SpTrieStorageProof (151) */1719 interface SpTrieStorageProof extends Struct {1720 readonly trieNodes: BTreeSet<Bytes>;1721 }17221723 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (153) */1724 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1725 readonly dmqMqcHead: H256;1726 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1727 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1728 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1729 }17301731 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (156) */1732 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1733 readonly maxCapacity: u32;1734 readonly maxTotalSize: u32;1735 readonly maxMessageSize: u32;1736 readonly msgCount: u32;1737 readonly totalSize: u32;1738 readonly mqcHead: Option<H256>;1739 }17401741 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (157) */1742 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1743 readonly maxCodeSize: u32;1744 readonly maxHeadDataSize: u32;1745 readonly maxUpwardQueueCount: u32;1746 readonly maxUpwardQueueSize: u32;1747 readonly maxUpwardMessageSize: u32;1748 readonly maxUpwardMessageNumPerCandidate: u32;1749 readonly hrmpMaxMessageNumPerCandidate: u32;1750 readonly validationUpgradeCooldown: u32;1751 readonly validationUpgradeDelay: u32;1752 }17531754 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (163) */1755 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1756 readonly recipient: u32;1757 readonly data: Bytes;1758 }17591760 /** @name CumulusPalletParachainSystemCall (164) */1761 interface CumulusPalletParachainSystemCall extends Enum {1762 readonly isSetValidationData: boolean;1763 readonly asSetValidationData: {1764 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1765 } & Struct;1766 readonly isSudoSendUpwardMessage: boolean;1767 readonly asSudoSendUpwardMessage: {1768 readonly message: Bytes;1769 } & Struct;1770 readonly isAuthorizeUpgrade: boolean;1771 readonly asAuthorizeUpgrade: {1772 readonly codeHash: H256;1773 } & Struct;1774 readonly isEnactAuthorizedUpgrade: boolean;1775 readonly asEnactAuthorizedUpgrade: {1776 readonly code: Bytes;1777 } & Struct;1778 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1779 }17801781 /** @name CumulusPrimitivesParachainInherentParachainInherentData (165) */1782 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1783 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1784 readonly relayChainState: SpTrieStorageProof;1785 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1786 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1787 }17881789 /** @name PolkadotCorePrimitivesInboundDownwardMessage (167) */1790 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1791 readonly sentAt: u32;1792 readonly msg: Bytes;1793 }17941795 /** @name PolkadotCorePrimitivesInboundHrmpMessage (170) */1796 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1797 readonly sentAt: u32;1798 readonly data: Bytes;1799 }18001801 /** @name CumulusPalletParachainSystemError (173) */1802 interface CumulusPalletParachainSystemError extends Enum {1803 readonly isOverlappingUpgrades: boolean;1804 readonly isProhibitedByPolkadot: boolean;1805 readonly isTooBig: boolean;1806 readonly isValidationDataNotAvailable: boolean;1807 readonly isHostConfigurationNotAvailable: boolean;1808 readonly isNotScheduled: boolean;1809 readonly isNothingAuthorized: boolean;1810 readonly isUnauthorized: boolean;1811 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1812 }18131814 /** @name PalletAuthorshipUncleEntryItem (175) */1815 interface PalletAuthorshipUncleEntryItem extends Enum {1816 readonly isInclusionHeight: boolean;1817 readonly asInclusionHeight: u32;1818 readonly isUncle: boolean;1819 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1820 readonly type: 'InclusionHeight' | 'Uncle';1821 }18221823 /** @name PalletAuthorshipCall (177) */1824 interface PalletAuthorshipCall extends Enum {1825 readonly isSetUncles: boolean;1826 readonly asSetUncles: {1827 readonly newUncles: Vec<SpRuntimeHeader>;1828 } & Struct;1829 readonly type: 'SetUncles';1830 }18311832 /** @name SpRuntimeHeader (179) */1833 interface SpRuntimeHeader extends Struct {1834 readonly parentHash: H256;1835 readonly number: Compact<u32>;1836 readonly stateRoot: H256;1837 readonly extrinsicsRoot: H256;1838 readonly digest: SpRuntimeDigest;1839 }18401841 /** @name SpRuntimeBlakeTwo256 (180) */1842 type SpRuntimeBlakeTwo256 = Null;18431844 /** @name PalletAuthorshipError (181) */1845 interface PalletAuthorshipError extends Enum {1846 readonly isInvalidUncleParent: boolean;1847 readonly isUnclesAlreadySet: boolean;1848 readonly isTooManyUncles: boolean;1849 readonly isGenesisUncle: boolean;1850 readonly isTooHighUncle: boolean;1851 readonly isUncleAlreadyIncluded: boolean;1852 readonly isOldUncle: boolean;1853 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1854 }18551856 /** @name PalletCollatorSelectionCall (184) */1857 interface PalletCollatorSelectionCall extends Enum {1858 readonly isAddInvulnerable: boolean;1859 readonly asAddInvulnerable: {1860 readonly new_: AccountId32;1861 } & Struct;1862 readonly isRemoveInvulnerable: boolean;1863 readonly asRemoveInvulnerable: {1864 readonly who: AccountId32;1865 } & Struct;1866 readonly isGetLicense: boolean;1867 readonly isOnboard: boolean;1868 readonly isOffboard: boolean;1869 readonly isReleaseLicense: boolean;1870 readonly isForceRevokeLicense: boolean;1871 readonly asForceRevokeLicense: {1872 readonly who: AccountId32;1873 } & Struct;1874 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';1875 }18761877 /** @name PalletCollatorSelectionError (185) */1878 interface PalletCollatorSelectionError extends Enum {1879 readonly isTooManyCandidates: boolean;1880 readonly isUnknown: boolean;1881 readonly isPermission: boolean;1882 readonly isAlreadyHoldingLicense: boolean;1883 readonly isNoLicense: boolean;1884 readonly isAlreadyCandidate: boolean;1885 readonly isNotCandidate: boolean;1886 readonly isTooManyInvulnerables: boolean;1887 readonly isTooFewInvulnerables: boolean;1888 readonly isAlreadyInvulnerable: boolean;1889 readonly isNotInvulnerable: boolean;1890 readonly isNoAssociatedValidatorId: boolean;1891 readonly isValidatorNotRegistered: boolean;1892 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1893 }18941895 /** @name OpalRuntimeRuntimeCommonSessionKeys (188) */1896 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {1897 readonly aura: SpConsensusAuraSr25519AppSr25519Public;1898 }18991900 /** @name SpConsensusAuraSr25519AppSr25519Public (189) */1901 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}19021903 /** @name SpCoreSr25519Public (190) */1904 interface SpCoreSr25519Public extends U8aFixed {}19051906 /** @name SpCoreCryptoKeyTypeId (193) */1907 interface SpCoreCryptoKeyTypeId extends U8aFixed {}19081909 /** @name PalletSessionCall (194) */1910 interface PalletSessionCall extends Enum {1911 readonly isSetKeys: boolean;1912 readonly asSetKeys: {1913 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;1914 readonly proof: Bytes;1915 } & Struct;1916 readonly isPurgeKeys: boolean;1917 readonly type: 'SetKeys' | 'PurgeKeys';1918 }19191920 /** @name PalletSessionError (195) */1921 interface PalletSessionError extends Enum {1922 readonly isInvalidProof: boolean;1923 readonly isNoAssociatedValidatorId: boolean;1924 readonly isDuplicatedKey: boolean;1925 readonly isNoKeys: boolean;1926 readonly isNoAccount: boolean;1927 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';1928 }19291930 /** @name PalletIdentityRegistration (196) */1931 interface PalletIdentityRegistration extends Struct {1932 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1933 readonly deposit: u128;1934 readonly info: PalletIdentityIdentityInfo;1935 }19361937 /** @name PalletIdentityJudgement (199) */1938 interface PalletIdentityJudgement extends Enum {1939 readonly isUnknown: boolean;1940 readonly isFeePaid: boolean;1941 readonly asFeePaid: u128;1942 readonly isReasonable: boolean;1943 readonly isKnownGood: boolean;1944 readonly isOutOfDate: boolean;1945 readonly isLowQuality: boolean;1946 readonly isErroneous: boolean;1947 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1948 }19491950 /** @name PalletIdentityIdentityInfo (201) */1951 interface PalletIdentityIdentityInfo extends Struct {1952 readonly additional: Vec<ITuple<[Data, Data]>>;1953 readonly display: Data;1954 readonly legal: Data;1955 readonly web: Data;1956 readonly riot: Data;1957 readonly email: Data;1958 readonly pgpFingerprint: Option<U8aFixed>;1959 readonly image: Data;1960 readonly twitter: Data;1961 }19621963 /** @name PalletIdentityRegistrarInfo (240) */1964 interface PalletIdentityRegistrarInfo extends Struct {1965 readonly account: AccountId32;1966 readonly fee: u128;1967 readonly fields: PalletIdentityBitFlags;1968 }19691970 /** @name PalletIdentityBitFlags (241) */1971 interface PalletIdentityBitFlags extends Set {1972 readonly isDisplay: boolean;1973 readonly isLegal: boolean;1974 readonly isWeb: boolean;1975 readonly isRiot: boolean;1976 readonly isEmail: boolean;1977 readonly isPgpFingerprint: boolean;1978 readonly isImage: boolean;1979 readonly isTwitter: boolean;1980 }19811982 /** @name PalletIdentityIdentityField (242) */1983 interface PalletIdentityIdentityField extends Enum {1984 readonly isDisplay: boolean;1985 readonly isLegal: boolean;1986 readonly isWeb: boolean;1987 readonly isRiot: boolean;1988 readonly isEmail: boolean;1989 readonly isPgpFingerprint: boolean;1990 readonly isImage: boolean;1991 readonly isTwitter: boolean;1992 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1993 }19941995 /** @name PalletIdentityCall (244) */1996 interface PalletIdentityCall extends Enum {1997 readonly isAddRegistrar: boolean;1998 readonly asAddRegistrar: {1999 readonly account: MultiAddress;2000 } & Struct;2001 readonly isSetIdentity: boolean;2002 readonly asSetIdentity: {2003 readonly info: PalletIdentityIdentityInfo;2004 } & Struct;2005 readonly isSetSubs: boolean;2006 readonly asSetSubs: {2007 readonly subs: Vec<ITuple<[AccountId32, Data]>>;2008 } & Struct;2009 readonly isClearIdentity: boolean;2010 readonly isRequestJudgement: boolean;2011 readonly asRequestJudgement: {2012 readonly regIndex: Compact<u32>;2013 readonly maxFee: Compact<u128>;2014 } & Struct;2015 readonly isCancelRequest: boolean;2016 readonly asCancelRequest: {2017 readonly regIndex: u32;2018 } & Struct;2019 readonly isSetFee: boolean;2020 readonly asSetFee: {2021 readonly index: Compact<u32>;2022 readonly fee: Compact<u128>;2023 } & Struct;2024 readonly isSetAccountId: boolean;2025 readonly asSetAccountId: {2026 readonly index: Compact<u32>;2027 readonly new_: MultiAddress;2028 } & Struct;2029 readonly isSetFields: boolean;2030 readonly asSetFields: {2031 readonly index: Compact<u32>;2032 readonly fields: PalletIdentityBitFlags;2033 } & Struct;2034 readonly isProvideJudgement: boolean;2035 readonly asProvideJudgement: {2036 readonly regIndex: Compact<u32>;2037 readonly target: MultiAddress;2038 readonly judgement: PalletIdentityJudgement;2039 readonly identity: H256;2040 } & Struct;2041 readonly isKillIdentity: boolean;2042 readonly asKillIdentity: {2043 readonly target: MultiAddress;2044 } & Struct;2045 readonly isAddSub: boolean;2046 readonly asAddSub: {2047 readonly sub: MultiAddress;2048 readonly data: Data;2049 } & Struct;2050 readonly isRenameSub: boolean;2051 readonly asRenameSub: {2052 readonly sub: MultiAddress;2053 readonly data: Data;2054 } & Struct;2055 readonly isRemoveSub: boolean;2056 readonly asRemoveSub: {2057 readonly sub: MultiAddress;2058 } & Struct;2059 readonly isQuitSub: boolean;2060 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';2061 }20622063 /** @name PalletIdentityError (248) */2064 interface PalletIdentityError extends Enum {2065 readonly isTooManySubAccounts: boolean;2066 readonly isNotFound: boolean;2067 readonly isNotNamed: boolean;2068 readonly isEmptyIndex: boolean;2069 readonly isFeeChanged: boolean;2070 readonly isNoIdentity: boolean;2071 readonly isStickyJudgement: boolean;2072 readonly isJudgementGiven: boolean;2073 readonly isInvalidJudgement: boolean;2074 readonly isInvalidIndex: boolean;2075 readonly isInvalidTarget: boolean;2076 readonly isTooManyFields: boolean;2077 readonly isTooManyRegistrars: boolean;2078 readonly isAlreadyClaimed: boolean;2079 readonly isNotSub: boolean;2080 readonly isNotOwned: boolean;2081 readonly isJudgementForDifferentIdentity: boolean;2082 readonly isJudgementPaymentFailed: boolean;2083 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';2084 }20852086 /** @name PalletBalancesBalanceLock (250) */2087 interface PalletBalancesBalanceLock extends Struct {2088 readonly id: U8aFixed;2089 readonly amount: u128;2090 readonly reasons: PalletBalancesReasons;2091 }20922093 /** @name PalletBalancesReasons (251) */2094 interface PalletBalancesReasons extends Enum {2095 readonly isFee: boolean;2096 readonly isMisc: boolean;2097 readonly isAll: boolean;2098 readonly type: 'Fee' | 'Misc' | 'All';2099 }21002101 /** @name PalletBalancesReserveData (254) */2102 interface PalletBalancesReserveData extends Struct {2103 readonly id: U8aFixed;2104 readonly amount: u128;2105 }21062107 /** @name PalletBalancesCall (256) */2108 interface PalletBalancesCall extends Enum {2109 readonly isTransfer: boolean;2110 readonly asTransfer: {2111 readonly dest: MultiAddress;2112 readonly value: Compact<u128>;2113 } & Struct;2114 readonly isSetBalance: boolean;2115 readonly asSetBalance: {2116 readonly who: MultiAddress;2117 readonly newFree: Compact<u128>;2118 readonly newReserved: Compact<u128>;2119 } & Struct;2120 readonly isForceTransfer: boolean;2121 readonly asForceTransfer: {2122 readonly source: MultiAddress;2123 readonly dest: MultiAddress;2124 readonly value: Compact<u128>;2125 } & Struct;2126 readonly isTransferKeepAlive: boolean;2127 readonly asTransferKeepAlive: {2128 readonly dest: MultiAddress;2129 readonly value: Compact<u128>;2130 } & Struct;2131 readonly isTransferAll: boolean;2132 readonly asTransferAll: {2133 readonly dest: MultiAddress;2134 readonly keepAlive: bool;2135 } & Struct;2136 readonly isForceUnreserve: boolean;2137 readonly asForceUnreserve: {2138 readonly who: MultiAddress;2139 readonly amount: u128;2140 } & Struct;2141 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2142 }21432144 /** @name PalletBalancesError (257) */2145 interface PalletBalancesError extends Enum {2146 readonly isVestingBalance: boolean;2147 readonly isLiquidityRestrictions: boolean;2148 readonly isInsufficientBalance: boolean;2149 readonly isExistentialDeposit: boolean;2150 readonly isKeepAlive: boolean;2151 readonly isExistingVestingSchedule: boolean;2152 readonly isDeadAccount: boolean;2153 readonly isTooManyReserves: boolean;2154 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';2155 }21562157 /** @name PalletTimestampCall (259) */2158 interface PalletTimestampCall extends Enum {2159 readonly isSet: boolean;2160 readonly asSet: {2161 readonly now: Compact<u64>;2162 } & Struct;2163 readonly type: 'Set';2164 }21652166 /** @name PalletTransactionPaymentReleases (261) */2167 interface PalletTransactionPaymentReleases extends Enum {2168 readonly isV1Ancient: boolean;2169 readonly isV2: boolean;2170 readonly type: 'V1Ancient' | 'V2';2171 }21722173 /** @name PalletTreasuryProposal (262) */2174 interface PalletTreasuryProposal extends Struct {2175 readonly proposer: AccountId32;2176 readonly value: u128;2177 readonly beneficiary: AccountId32;2178 readonly bond: u128;2179 }21802181 /** @name PalletTreasuryCall (264) */2182 interface PalletTreasuryCall extends Enum {2183 readonly isProposeSpend: boolean;2184 readonly asProposeSpend: {2185 readonly value: Compact<u128>;2186 readonly beneficiary: MultiAddress;2187 } & Struct;2188 readonly isRejectProposal: boolean;2189 readonly asRejectProposal: {2190 readonly proposalId: Compact<u32>;2191 } & Struct;2192 readonly isApproveProposal: boolean;2193 readonly asApproveProposal: {2194 readonly proposalId: Compact<u32>;2195 } & Struct;2196 readonly isSpend: boolean;2197 readonly asSpend: {2198 readonly amount: Compact<u128>;2199 readonly beneficiary: MultiAddress;2200 } & Struct;2201 readonly isRemoveApproval: boolean;2202 readonly asRemoveApproval: {2203 readonly proposalId: Compact<u32>;2204 } & Struct;2205 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2206 }22072208 /** @name FrameSupportPalletId (266) */2209 interface FrameSupportPalletId extends U8aFixed {}22102211 /** @name PalletTreasuryError (267) */2212 interface PalletTreasuryError extends Enum {2213 readonly isInsufficientProposersBalance: boolean;2214 readonly isInvalidIndex: boolean;2215 readonly isTooManyApprovals: boolean;2216 readonly isInsufficientPermission: boolean;2217 readonly isProposalNotApproved: boolean;2218 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2219 }22202221 /** @name PalletSudoCall (268) */2222 interface PalletSudoCall extends Enum {2223 readonly isSudo: boolean;2224 readonly asSudo: {2225 readonly call: Call;2226 } & Struct;2227 readonly isSudoUncheckedWeight: boolean;2228 readonly asSudoUncheckedWeight: {2229 readonly call: Call;2230 readonly weight: SpWeightsWeightV2Weight;2231 } & Struct;2232 readonly isSetKey: boolean;2233 readonly asSetKey: {2234 readonly new_: MultiAddress;2235 } & Struct;2236 readonly isSudoAs: boolean;2237 readonly asSudoAs: {2238 readonly who: MultiAddress;2239 readonly call: Call;2240 } & Struct;2241 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2242 }22432244 /** @name OrmlVestingModuleCall (270) */2245 interface OrmlVestingModuleCall extends Enum {2246 readonly isClaim: boolean;2247 readonly isVestedTransfer: boolean;2248 readonly asVestedTransfer: {2249 readonly dest: MultiAddress;2250 readonly schedule: OrmlVestingVestingSchedule;2251 } & Struct;2252 readonly isUpdateVestingSchedules: boolean;2253 readonly asUpdateVestingSchedules: {2254 readonly who: MultiAddress;2255 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;2256 } & Struct;2257 readonly isClaimFor: boolean;2258 readonly asClaimFor: {2259 readonly dest: MultiAddress;2260 } & Struct;2261 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2262 }22632264 /** @name OrmlXtokensModuleCall (272) */2265 interface OrmlXtokensModuleCall extends Enum {2266 readonly isTransfer: boolean;2267 readonly asTransfer: {2268 readonly currencyId: PalletForeignAssetsAssetIds;2269 readonly amount: u128;2270 readonly dest: XcmVersionedMultiLocation;2271 readonly destWeightLimit: XcmV2WeightLimit;2272 } & Struct;2273 readonly isTransferMultiasset: boolean;2274 readonly asTransferMultiasset: {2275 readonly asset: XcmVersionedMultiAsset;2276 readonly dest: XcmVersionedMultiLocation;2277 readonly destWeightLimit: XcmV2WeightLimit;2278 } & Struct;2279 readonly isTransferWithFee: boolean;2280 readonly asTransferWithFee: {2281 readonly currencyId: PalletForeignAssetsAssetIds;2282 readonly amount: u128;2283 readonly fee: u128;2284 readonly dest: XcmVersionedMultiLocation;2285 readonly destWeightLimit: XcmV2WeightLimit;2286 } & Struct;2287 readonly isTransferMultiassetWithFee: boolean;2288 readonly asTransferMultiassetWithFee: {2289 readonly asset: XcmVersionedMultiAsset;2290 readonly fee: XcmVersionedMultiAsset;2291 readonly dest: XcmVersionedMultiLocation;2292 readonly destWeightLimit: XcmV2WeightLimit;2293 } & Struct;2294 readonly isTransferMulticurrencies: boolean;2295 readonly asTransferMulticurrencies: {2296 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;2297 readonly feeItem: u32;2298 readonly dest: XcmVersionedMultiLocation;2299 readonly destWeightLimit: XcmV2WeightLimit;2300 } & Struct;2301 readonly isTransferMultiassets: boolean;2302 readonly asTransferMultiassets: {2303 readonly assets: XcmVersionedMultiAssets;2304 readonly feeItem: u32;2305 readonly dest: XcmVersionedMultiLocation;2306 readonly destWeightLimit: XcmV2WeightLimit;2307 } & Struct;2308 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2309 }23102311 /** @name XcmVersionedMultiAsset (273) */2312 interface XcmVersionedMultiAsset extends Enum {2313 readonly isV0: boolean;2314 readonly asV0: XcmV0MultiAsset;2315 readonly isV1: boolean;2316 readonly asV1: XcmV1MultiAsset;2317 readonly type: 'V0' | 'V1';2318 }23192320 /** @name OrmlTokensModuleCall (276) */2321 interface OrmlTokensModuleCall extends Enum {2322 readonly isTransfer: boolean;2323 readonly asTransfer: {2324 readonly dest: MultiAddress;2325 readonly currencyId: PalletForeignAssetsAssetIds;2326 readonly amount: Compact<u128>;2327 } & Struct;2328 readonly isTransferAll: boolean;2329 readonly asTransferAll: {2330 readonly dest: MultiAddress;2331 readonly currencyId: PalletForeignAssetsAssetIds;2332 readonly keepAlive: bool;2333 } & Struct;2334 readonly isTransferKeepAlive: boolean;2335 readonly asTransferKeepAlive: {2336 readonly dest: MultiAddress;2337 readonly currencyId: PalletForeignAssetsAssetIds;2338 readonly amount: Compact<u128>;2339 } & Struct;2340 readonly isForceTransfer: boolean;2341 readonly asForceTransfer: {2342 readonly source: MultiAddress;2343 readonly dest: MultiAddress;2344 readonly currencyId: PalletForeignAssetsAssetIds;2345 readonly amount: Compact<u128>;2346 } & Struct;2347 readonly isSetBalance: boolean;2348 readonly asSetBalance: {2349 readonly who: MultiAddress;2350 readonly currencyId: PalletForeignAssetsAssetIds;2351 readonly newFree: Compact<u128>;2352 readonly newReserved: Compact<u128>;2353 } & Struct;2354 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2355 }23562357 /** @name CumulusPalletXcmpQueueCall (277) */2358 interface CumulusPalletXcmpQueueCall extends Enum {2359 readonly isServiceOverweight: boolean;2360 readonly asServiceOverweight: {2361 readonly index: u64;2362 readonly weightLimit: u64;2363 } & Struct;2364 readonly isSuspendXcmExecution: boolean;2365 readonly isResumeXcmExecution: boolean;2366 readonly isUpdateSuspendThreshold: boolean;2367 readonly asUpdateSuspendThreshold: {2368 readonly new_: u32;2369 } & Struct;2370 readonly isUpdateDropThreshold: boolean;2371 readonly asUpdateDropThreshold: {2372 readonly new_: u32;2373 } & Struct;2374 readonly isUpdateResumeThreshold: boolean;2375 readonly asUpdateResumeThreshold: {2376 readonly new_: u32;2377 } & Struct;2378 readonly isUpdateThresholdWeight: boolean;2379 readonly asUpdateThresholdWeight: {2380 readonly new_: u64;2381 } & Struct;2382 readonly isUpdateWeightRestrictDecay: boolean;2383 readonly asUpdateWeightRestrictDecay: {2384 readonly new_: u64;2385 } & Struct;2386 readonly isUpdateXcmpMaxIndividualWeight: boolean;2387 readonly asUpdateXcmpMaxIndividualWeight: {2388 readonly new_: u64;2389 } & Struct;2390 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2391 }23922393 /** @name PalletXcmCall (278) */2394 interface PalletXcmCall extends Enum {2395 readonly isSend: boolean;2396 readonly asSend: {2397 readonly dest: XcmVersionedMultiLocation;2398 readonly message: XcmVersionedXcm;2399 } & Struct;2400 readonly isTeleportAssets: boolean;2401 readonly asTeleportAssets: {2402 readonly dest: XcmVersionedMultiLocation;2403 readonly beneficiary: XcmVersionedMultiLocation;2404 readonly assets: XcmVersionedMultiAssets;2405 readonly feeAssetItem: u32;2406 } & Struct;2407 readonly isReserveTransferAssets: boolean;2408 readonly asReserveTransferAssets: {2409 readonly dest: XcmVersionedMultiLocation;2410 readonly beneficiary: XcmVersionedMultiLocation;2411 readonly assets: XcmVersionedMultiAssets;2412 readonly feeAssetItem: u32;2413 } & Struct;2414 readonly isExecute: boolean;2415 readonly asExecute: {2416 readonly message: XcmVersionedXcm;2417 readonly maxWeight: u64;2418 } & Struct;2419 readonly isForceXcmVersion: boolean;2420 readonly asForceXcmVersion: {2421 readonly location: XcmV1MultiLocation;2422 readonly xcmVersion: u32;2423 } & Struct;2424 readonly isForceDefaultXcmVersion: boolean;2425 readonly asForceDefaultXcmVersion: {2426 readonly maybeXcmVersion: Option<u32>;2427 } & Struct;2428 readonly isForceSubscribeVersionNotify: boolean;2429 readonly asForceSubscribeVersionNotify: {2430 readonly location: XcmVersionedMultiLocation;2431 } & Struct;2432 readonly isForceUnsubscribeVersionNotify: boolean;2433 readonly asForceUnsubscribeVersionNotify: {2434 readonly location: XcmVersionedMultiLocation;2435 } & Struct;2436 readonly isLimitedReserveTransferAssets: boolean;2437 readonly asLimitedReserveTransferAssets: {2438 readonly dest: XcmVersionedMultiLocation;2439 readonly beneficiary: XcmVersionedMultiLocation;2440 readonly assets: XcmVersionedMultiAssets;2441 readonly feeAssetItem: u32;2442 readonly weightLimit: XcmV2WeightLimit;2443 } & Struct;2444 readonly isLimitedTeleportAssets: boolean;2445 readonly asLimitedTeleportAssets: {2446 readonly dest: XcmVersionedMultiLocation;2447 readonly beneficiary: XcmVersionedMultiLocation;2448 readonly assets: XcmVersionedMultiAssets;2449 readonly feeAssetItem: u32;2450 readonly weightLimit: XcmV2WeightLimit;2451 } & Struct;2452 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2453 }24542455 /** @name XcmVersionedXcm (279) */2456 interface XcmVersionedXcm extends Enum {2457 readonly isV0: boolean;2458 readonly asV0: XcmV0Xcm;2459 readonly isV1: boolean;2460 readonly asV1: XcmV1Xcm;2461 readonly isV2: boolean;2462 readonly asV2: XcmV2Xcm;2463 readonly type: 'V0' | 'V1' | 'V2';2464 }24652466 /** @name XcmV0Xcm (280) */2467 interface XcmV0Xcm extends Enum {2468 readonly isWithdrawAsset: boolean;2469 readonly asWithdrawAsset: {2470 readonly assets: Vec<XcmV0MultiAsset>;2471 readonly effects: Vec<XcmV0Order>;2472 } & Struct;2473 readonly isReserveAssetDeposit: boolean;2474 readonly asReserveAssetDeposit: {2475 readonly assets: Vec<XcmV0MultiAsset>;2476 readonly effects: Vec<XcmV0Order>;2477 } & Struct;2478 readonly isTeleportAsset: boolean;2479 readonly asTeleportAsset: {2480 readonly assets: Vec<XcmV0MultiAsset>;2481 readonly effects: Vec<XcmV0Order>;2482 } & Struct;2483 readonly isQueryResponse: boolean;2484 readonly asQueryResponse: {2485 readonly queryId: Compact<u64>;2486 readonly response: XcmV0Response;2487 } & Struct;2488 readonly isTransferAsset: boolean;2489 readonly asTransferAsset: {2490 readonly assets: Vec<XcmV0MultiAsset>;2491 readonly dest: XcmV0MultiLocation;2492 } & Struct;2493 readonly isTransferReserveAsset: boolean;2494 readonly asTransferReserveAsset: {2495 readonly assets: Vec<XcmV0MultiAsset>;2496 readonly dest: XcmV0MultiLocation;2497 readonly effects: Vec<XcmV0Order>;2498 } & Struct;2499 readonly isTransact: boolean;2500 readonly asTransact: {2501 readonly originType: XcmV0OriginKind;2502 readonly requireWeightAtMost: u64;2503 readonly call: XcmDoubleEncoded;2504 } & Struct;2505 readonly isHrmpNewChannelOpenRequest: boolean;2506 readonly asHrmpNewChannelOpenRequest: {2507 readonly sender: Compact<u32>;2508 readonly maxMessageSize: Compact<u32>;2509 readonly maxCapacity: Compact<u32>;2510 } & Struct;2511 readonly isHrmpChannelAccepted: boolean;2512 readonly asHrmpChannelAccepted: {2513 readonly recipient: Compact<u32>;2514 } & Struct;2515 readonly isHrmpChannelClosing: boolean;2516 readonly asHrmpChannelClosing: {2517 readonly initiator: Compact<u32>;2518 readonly sender: Compact<u32>;2519 readonly recipient: Compact<u32>;2520 } & Struct;2521 readonly isRelayedFrom: boolean;2522 readonly asRelayedFrom: {2523 readonly who: XcmV0MultiLocation;2524 readonly message: XcmV0Xcm;2525 } & Struct;2526 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2527 }25282529 /** @name XcmV0Order (282) */2530 interface XcmV0Order extends Enum {2531 readonly isNull: boolean;2532 readonly isDepositAsset: boolean;2533 readonly asDepositAsset: {2534 readonly assets: Vec<XcmV0MultiAsset>;2535 readonly dest: XcmV0MultiLocation;2536 } & Struct;2537 readonly isDepositReserveAsset: boolean;2538 readonly asDepositReserveAsset: {2539 readonly assets: Vec<XcmV0MultiAsset>;2540 readonly dest: XcmV0MultiLocation;2541 readonly effects: Vec<XcmV0Order>;2542 } & Struct;2543 readonly isExchangeAsset: boolean;2544 readonly asExchangeAsset: {2545 readonly give: Vec<XcmV0MultiAsset>;2546 readonly receive: Vec<XcmV0MultiAsset>;2547 } & Struct;2548 readonly isInitiateReserveWithdraw: boolean;2549 readonly asInitiateReserveWithdraw: {2550 readonly assets: Vec<XcmV0MultiAsset>;2551 readonly reserve: XcmV0MultiLocation;2552 readonly effects: Vec<XcmV0Order>;2553 } & Struct;2554 readonly isInitiateTeleport: boolean;2555 readonly asInitiateTeleport: {2556 readonly assets: Vec<XcmV0MultiAsset>;2557 readonly dest: XcmV0MultiLocation;2558 readonly effects: Vec<XcmV0Order>;2559 } & Struct;2560 readonly isQueryHolding: boolean;2561 readonly asQueryHolding: {2562 readonly queryId: Compact<u64>;2563 readonly dest: XcmV0MultiLocation;2564 readonly assets: Vec<XcmV0MultiAsset>;2565 } & Struct;2566 readonly isBuyExecution: boolean;2567 readonly asBuyExecution: {2568 readonly fees: XcmV0MultiAsset;2569 readonly weight: u64;2570 readonly debt: u64;2571 readonly haltOnError: bool;2572 readonly xcm: Vec<XcmV0Xcm>;2573 } & Struct;2574 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2575 }25762577 /** @name XcmV0Response (284) */2578 interface XcmV0Response extends Enum {2579 readonly isAssets: boolean;2580 readonly asAssets: Vec<XcmV0MultiAsset>;2581 readonly type: 'Assets';2582 }25832584 /** @name XcmV1Xcm (285) */2585 interface XcmV1Xcm extends Enum {2586 readonly isWithdrawAsset: boolean;2587 readonly asWithdrawAsset: {2588 readonly assets: XcmV1MultiassetMultiAssets;2589 readonly effects: Vec<XcmV1Order>;2590 } & Struct;2591 readonly isReserveAssetDeposited: boolean;2592 readonly asReserveAssetDeposited: {2593 readonly assets: XcmV1MultiassetMultiAssets;2594 readonly effects: Vec<XcmV1Order>;2595 } & Struct;2596 readonly isReceiveTeleportedAsset: boolean;2597 readonly asReceiveTeleportedAsset: {2598 readonly assets: XcmV1MultiassetMultiAssets;2599 readonly effects: Vec<XcmV1Order>;2600 } & Struct;2601 readonly isQueryResponse: boolean;2602 readonly asQueryResponse: {2603 readonly queryId: Compact<u64>;2604 readonly response: XcmV1Response;2605 } & Struct;2606 readonly isTransferAsset: boolean;2607 readonly asTransferAsset: {2608 readonly assets: XcmV1MultiassetMultiAssets;2609 readonly beneficiary: XcmV1MultiLocation;2610 } & Struct;2611 readonly isTransferReserveAsset: boolean;2612 readonly asTransferReserveAsset: {2613 readonly assets: XcmV1MultiassetMultiAssets;2614 readonly dest: XcmV1MultiLocation;2615 readonly effects: Vec<XcmV1Order>;2616 } & Struct;2617 readonly isTransact: boolean;2618 readonly asTransact: {2619 readonly originType: XcmV0OriginKind;2620 readonly requireWeightAtMost: u64;2621 readonly call: XcmDoubleEncoded;2622 } & Struct;2623 readonly isHrmpNewChannelOpenRequest: boolean;2624 readonly asHrmpNewChannelOpenRequest: {2625 readonly sender: Compact<u32>;2626 readonly maxMessageSize: Compact<u32>;2627 readonly maxCapacity: Compact<u32>;2628 } & Struct;2629 readonly isHrmpChannelAccepted: boolean;2630 readonly asHrmpChannelAccepted: {2631 readonly recipient: Compact<u32>;2632 } & Struct;2633 readonly isHrmpChannelClosing: boolean;2634 readonly asHrmpChannelClosing: {2635 readonly initiator: Compact<u32>;2636 readonly sender: Compact<u32>;2637 readonly recipient: Compact<u32>;2638 } & Struct;2639 readonly isRelayedFrom: boolean;2640 readonly asRelayedFrom: {2641 readonly who: XcmV1MultilocationJunctions;2642 readonly message: XcmV1Xcm;2643 } & Struct;2644 readonly isSubscribeVersion: boolean;2645 readonly asSubscribeVersion: {2646 readonly queryId: Compact<u64>;2647 readonly maxResponseWeight: Compact<u64>;2648 } & Struct;2649 readonly isUnsubscribeVersion: boolean;2650 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2651 }26522653 /** @name XcmV1Order (287) */2654 interface XcmV1Order extends Enum {2655 readonly isNoop: boolean;2656 readonly isDepositAsset: boolean;2657 readonly asDepositAsset: {2658 readonly assets: XcmV1MultiassetMultiAssetFilter;2659 readonly maxAssets: u32;2660 readonly beneficiary: XcmV1MultiLocation;2661 } & Struct;2662 readonly isDepositReserveAsset: boolean;2663 readonly asDepositReserveAsset: {2664 readonly assets: XcmV1MultiassetMultiAssetFilter;2665 readonly maxAssets: u32;2666 readonly dest: XcmV1MultiLocation;2667 readonly effects: Vec<XcmV1Order>;2668 } & Struct;2669 readonly isExchangeAsset: boolean;2670 readonly asExchangeAsset: {2671 readonly give: XcmV1MultiassetMultiAssetFilter;2672 readonly receive: XcmV1MultiassetMultiAssets;2673 } & Struct;2674 readonly isInitiateReserveWithdraw: boolean;2675 readonly asInitiateReserveWithdraw: {2676 readonly assets: XcmV1MultiassetMultiAssetFilter;2677 readonly reserve: XcmV1MultiLocation;2678 readonly effects: Vec<XcmV1Order>;2679 } & Struct;2680 readonly isInitiateTeleport: boolean;2681 readonly asInitiateTeleport: {2682 readonly assets: XcmV1MultiassetMultiAssetFilter;2683 readonly dest: XcmV1MultiLocation;2684 readonly effects: Vec<XcmV1Order>;2685 } & Struct;2686 readonly isQueryHolding: boolean;2687 readonly asQueryHolding: {2688 readonly queryId: Compact<u64>;2689 readonly dest: XcmV1MultiLocation;2690 readonly assets: XcmV1MultiassetMultiAssetFilter;2691 } & Struct;2692 readonly isBuyExecution: boolean;2693 readonly asBuyExecution: {2694 readonly fees: XcmV1MultiAsset;2695 readonly weight: u64;2696 readonly debt: u64;2697 readonly haltOnError: bool;2698 readonly instructions: Vec<XcmV1Xcm>;2699 } & Struct;2700 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2701 }27022703 /** @name XcmV1Response (289) */2704 interface XcmV1Response extends Enum {2705 readonly isAssets: boolean;2706 readonly asAssets: XcmV1MultiassetMultiAssets;2707 readonly isVersion: boolean;2708 readonly asVersion: u32;2709 readonly type: 'Assets' | 'Version';2710 }27112712 /** @name CumulusPalletXcmCall (303) */2713 type CumulusPalletXcmCall = Null;27142715 /** @name CumulusPalletDmpQueueCall (304) */2716 interface CumulusPalletDmpQueueCall extends Enum {2717 readonly isServiceOverweight: boolean;2718 readonly asServiceOverweight: {2719 readonly index: u64;2720 readonly weightLimit: u64;2721 } & Struct;2722 readonly type: 'ServiceOverweight';2723 }27242725 /** @name PalletInflationCall (305) */2726 interface PalletInflationCall extends Enum {2727 readonly isStartInflation: boolean;2728 readonly asStartInflation: {2729 readonly inflationStartRelayBlock: u32;2730 } & Struct;2731 readonly type: 'StartInflation';2732 }27332734 /** @name PalletUniqueCall (306) */2735 interface PalletUniqueCall extends Enum {2736 readonly isCreateCollection: boolean;2737 readonly asCreateCollection: {2738 readonly collectionName: Vec<u16>;2739 readonly collectionDescription: Vec<u16>;2740 readonly tokenPrefix: Bytes;2741 readonly mode: UpDataStructsCollectionMode;2742 } & Struct;2743 readonly isCreateCollectionEx: boolean;2744 readonly asCreateCollectionEx: {2745 readonly data: UpDataStructsCreateCollectionData;2746 } & Struct;2747 readonly isDestroyCollection: boolean;2748 readonly asDestroyCollection: {2749 readonly collectionId: u32;2750 } & Struct;2751 readonly isAddToAllowList: boolean;2752 readonly asAddToAllowList: {2753 readonly collectionId: u32;2754 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2755 } & Struct;2756 readonly isRemoveFromAllowList: boolean;2757 readonly asRemoveFromAllowList: {2758 readonly collectionId: u32;2759 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2760 } & Struct;2761 readonly isChangeCollectionOwner: boolean;2762 readonly asChangeCollectionOwner: {2763 readonly collectionId: u32;2764 readonly newOwner: AccountId32;2765 } & Struct;2766 readonly isAddCollectionAdmin: boolean;2767 readonly asAddCollectionAdmin: {2768 readonly collectionId: u32;2769 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2770 } & Struct;2771 readonly isRemoveCollectionAdmin: boolean;2772 readonly asRemoveCollectionAdmin: {2773 readonly collectionId: u32;2774 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2775 } & Struct;2776 readonly isSetCollectionSponsor: boolean;2777 readonly asSetCollectionSponsor: {2778 readonly collectionId: u32;2779 readonly newSponsor: AccountId32;2780 } & Struct;2781 readonly isConfirmSponsorship: boolean;2782 readonly asConfirmSponsorship: {2783 readonly collectionId: u32;2784 } & Struct;2785 readonly isRemoveCollectionSponsor: boolean;2786 readonly asRemoveCollectionSponsor: {2787 readonly collectionId: u32;2788 } & Struct;2789 readonly isCreateItem: boolean;2790 readonly asCreateItem: {2791 readonly collectionId: u32;2792 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2793 readonly data: UpDataStructsCreateItemData;2794 } & Struct;2795 readonly isCreateMultipleItems: boolean;2796 readonly asCreateMultipleItems: {2797 readonly collectionId: u32;2798 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2799 readonly itemsData: Vec<UpDataStructsCreateItemData>;2800 } & Struct;2801 readonly isSetCollectionProperties: boolean;2802 readonly asSetCollectionProperties: {2803 readonly collectionId: u32;2804 readonly properties: Vec<UpDataStructsProperty>;2805 } & Struct;2806 readonly isDeleteCollectionProperties: boolean;2807 readonly asDeleteCollectionProperties: {2808 readonly collectionId: u32;2809 readonly propertyKeys: Vec<Bytes>;2810 } & Struct;2811 readonly isSetTokenProperties: boolean;2812 readonly asSetTokenProperties: {2813 readonly collectionId: u32;2814 readonly tokenId: u32;2815 readonly properties: Vec<UpDataStructsProperty>;2816 } & Struct;2817 readonly isDeleteTokenProperties: boolean;2818 readonly asDeleteTokenProperties: {2819 readonly collectionId: u32;2820 readonly tokenId: u32;2821 readonly propertyKeys: Vec<Bytes>;2822 } & Struct;2823 readonly isSetTokenPropertyPermissions: boolean;2824 readonly asSetTokenPropertyPermissions: {2825 readonly collectionId: u32;2826 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2827 } & Struct;2828 readonly isCreateMultipleItemsEx: boolean;2829 readonly asCreateMultipleItemsEx: {2830 readonly collectionId: u32;2831 readonly data: UpDataStructsCreateItemExData;2832 } & Struct;2833 readonly isSetTransfersEnabledFlag: boolean;2834 readonly asSetTransfersEnabledFlag: {2835 readonly collectionId: u32;2836 readonly value: bool;2837 } & Struct;2838 readonly isBurnItem: boolean;2839 readonly asBurnItem: {2840 readonly collectionId: u32;2841 readonly itemId: u32;2842 readonly value: u128;2843 } & Struct;2844 readonly isBurnFrom: boolean;2845 readonly asBurnFrom: {2846 readonly collectionId: u32;2847 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2848 readonly itemId: u32;2849 readonly value: u128;2850 } & Struct;2851 readonly isTransfer: boolean;2852 readonly asTransfer: {2853 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2854 readonly collectionId: u32;2855 readonly itemId: u32;2856 readonly value: u128;2857 } & Struct;2858 readonly isApprove: boolean;2859 readonly asApprove: {2860 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2861 readonly collectionId: u32;2862 readonly itemId: u32;2863 readonly amount: u128;2864 } & Struct;2865 readonly isTransferFrom: boolean;2866 readonly asTransferFrom: {2867 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2868 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2869 readonly collectionId: u32;2870 readonly itemId: u32;2871 readonly value: u128;2872 } & Struct;2873 readonly isSetCollectionLimits: boolean;2874 readonly asSetCollectionLimits: {2875 readonly collectionId: u32;2876 readonly newLimit: UpDataStructsCollectionLimits;2877 } & Struct;2878 readonly isSetCollectionPermissions: boolean;2879 readonly asSetCollectionPermissions: {2880 readonly collectionId: u32;2881 readonly newPermission: UpDataStructsCollectionPermissions;2882 } & Struct;2883 readonly isRepartition: boolean;2884 readonly asRepartition: {2885 readonly collectionId: u32;2886 readonly tokenId: u32;2887 readonly amount: u128;2888 } & Struct;2889 readonly isSetAllowanceForAll: boolean;2890 readonly asSetAllowanceForAll: {2891 readonly collectionId: u32;2892 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2893 readonly approve: bool;2894 } & Struct;2895 readonly isForceRepairCollection: boolean;2896 readonly asForceRepairCollection: {2897 readonly collectionId: u32;2898 } & Struct;2899 readonly isForceRepairItem: boolean;2900 readonly asForceRepairItem: {2901 readonly collectionId: u32;2902 readonly itemId: u32;2903 } & Struct;2904 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' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2905 }29062907 /** @name UpDataStructsCollectionMode (311) */2908 interface UpDataStructsCollectionMode extends Enum {2909 readonly isNft: boolean;2910 readonly isFungible: boolean;2911 readonly asFungible: u8;2912 readonly isReFungible: boolean;2913 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2914 }29152916 /** @name UpDataStructsCreateCollectionData (312) */2917 interface UpDataStructsCreateCollectionData extends Struct {2918 readonly mode: UpDataStructsCollectionMode;2919 readonly access: Option<UpDataStructsAccessMode>;2920 readonly name: Vec<u16>;2921 readonly description: Vec<u16>;2922 readonly tokenPrefix: Bytes;2923 readonly pendingSponsor: Option<AccountId32>;2924 readonly limits: Option<UpDataStructsCollectionLimits>;2925 readonly permissions: Option<UpDataStructsCollectionPermissions>;2926 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2927 readonly properties: Vec<UpDataStructsProperty>;2928 }29292930 /** @name UpDataStructsAccessMode (314) */2931 interface UpDataStructsAccessMode extends Enum {2932 readonly isNormal: boolean;2933 readonly isAllowList: boolean;2934 readonly type: 'Normal' | 'AllowList';2935 }29362937 /** @name UpDataStructsCollectionLimits (316) */2938 interface UpDataStructsCollectionLimits extends Struct {2939 readonly accountTokenOwnershipLimit: Option<u32>;2940 readonly sponsoredDataSize: Option<u32>;2941 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2942 readonly tokenLimit: Option<u32>;2943 readonly sponsorTransferTimeout: Option<u32>;2944 readonly sponsorApproveTimeout: Option<u32>;2945 readonly ownerCanTransfer: Option<bool>;2946 readonly ownerCanDestroy: Option<bool>;2947 readonly transfersEnabled: Option<bool>;2948 }29492950 /** @name UpDataStructsSponsoringRateLimit (318) */2951 interface UpDataStructsSponsoringRateLimit extends Enum {2952 readonly isSponsoringDisabled: boolean;2953 readonly isBlocks: boolean;2954 readonly asBlocks: u32;2955 readonly type: 'SponsoringDisabled' | 'Blocks';2956 }29572958 /** @name UpDataStructsCollectionPermissions (321) */2959 interface UpDataStructsCollectionPermissions extends Struct {2960 readonly access: Option<UpDataStructsAccessMode>;2961 readonly mintMode: Option<bool>;2962 readonly nesting: Option<UpDataStructsNestingPermissions>;2963 }29642965 /** @name UpDataStructsNestingPermissions (323) */2966 interface UpDataStructsNestingPermissions extends Struct {2967 readonly tokenOwner: bool;2968 readonly collectionAdmin: bool;2969 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2970 }29712972 /** @name UpDataStructsOwnerRestrictedSet (325) */2973 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29742975 /** @name UpDataStructsPropertyKeyPermission (330) */2976 interface UpDataStructsPropertyKeyPermission extends Struct {2977 readonly key: Bytes;2978 readonly permission: UpDataStructsPropertyPermission;2979 }29802981 /** @name UpDataStructsPropertyPermission (331) */2982 interface UpDataStructsPropertyPermission extends Struct {2983 readonly mutable: bool;2984 readonly collectionAdmin: bool;2985 readonly tokenOwner: bool;2986 }29872988 /** @name UpDataStructsProperty (334) */2989 interface UpDataStructsProperty extends Struct {2990 readonly key: Bytes;2991 readonly value: Bytes;2992 }29932994 /** @name UpDataStructsCreateItemData (337) */2995 interface UpDataStructsCreateItemData extends Enum {2996 readonly isNft: boolean;2997 readonly asNft: UpDataStructsCreateNftData;2998 readonly isFungible: boolean;2999 readonly asFungible: UpDataStructsCreateFungibleData;3000 readonly isReFungible: boolean;3001 readonly asReFungible: UpDataStructsCreateReFungibleData;3002 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3003 }30043005 /** @name UpDataStructsCreateNftData (338) */3006 interface UpDataStructsCreateNftData extends Struct {3007 readonly properties: Vec<UpDataStructsProperty>;3008 }30093010 /** @name UpDataStructsCreateFungibleData (339) */3011 interface UpDataStructsCreateFungibleData extends Struct {3012 readonly value: u128;3013 }30143015 /** @name UpDataStructsCreateReFungibleData (340) */3016 interface UpDataStructsCreateReFungibleData extends Struct {3017 readonly pieces: u128;3018 readonly properties: Vec<UpDataStructsProperty>;3019 }30203021 /** @name UpDataStructsCreateItemExData (343) */3022 interface UpDataStructsCreateItemExData extends Enum {3023 readonly isNft: boolean;3024 readonly asNft: Vec<UpDataStructsCreateNftExData>;3025 readonly isFungible: boolean;3026 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3027 readonly isRefungibleMultipleItems: boolean;3028 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3029 readonly isRefungibleMultipleOwners: boolean;3030 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3031 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3032 }30333034 /** @name UpDataStructsCreateNftExData (345) */3035 interface UpDataStructsCreateNftExData extends Struct {3036 readonly properties: Vec<UpDataStructsProperty>;3037 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3038 }30393040 /** @name UpDataStructsCreateRefungibleExSingleOwner (352) */3041 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3042 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3043 readonly pieces: u128;3044 readonly properties: Vec<UpDataStructsProperty>;3045 }30463047 /** @name UpDataStructsCreateRefungibleExMultipleOwners (354) */3048 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3049 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3050 readonly properties: Vec<UpDataStructsProperty>;3051 }30523053 /** @name PalletConfigurationCall (355) */3054 interface PalletConfigurationCall extends Enum {3055 readonly isSetWeightToFeeCoefficientOverride: boolean;3056 readonly asSetWeightToFeeCoefficientOverride: {3057 readonly coeff: Option<u64>;3058 } & Struct;3059 readonly isSetMinGasPriceOverride: boolean;3060 readonly asSetMinGasPriceOverride: {3061 readonly coeff: Option<u64>;3062 } & Struct;3063 readonly isSetXcmAllowedLocations: boolean;3064 readonly asSetXcmAllowedLocations: {3065 readonly locations: Option<Vec<XcmV1MultiLocation>>;3066 } & Struct;3067 readonly isSetAppPromotionConfigurationOverride: boolean;3068 readonly asSetAppPromotionConfigurationOverride: {3069 readonly configuration: PalletConfigurationAppPromotionConfiguration;3070 } & Struct;3071 readonly isSetCollatorSelectionDesiredCollators: boolean;3072 readonly asSetCollatorSelectionDesiredCollators: {3073 readonly max: Option<u32>;3074 } & Struct;3075 readonly isSetCollatorSelectionLicenseBond: boolean;3076 readonly asSetCollatorSelectionLicenseBond: {3077 readonly amount: Option<u128>;3078 } & Struct;3079 readonly isSetCollatorSelectionKickThreshold: boolean;3080 readonly asSetCollatorSelectionKickThreshold: {3081 readonly threshold: Option<u32>;3082 } & Struct;3083 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';3084 }30853086 /** @name PalletConfigurationAppPromotionConfiguration (360) */3087 interface PalletConfigurationAppPromotionConfiguration extends Struct {3088 readonly recalculationInterval: Option<u32>;3089 readonly pendingInterval: Option<u32>;3090 readonly intervalIncome: Option<Perbill>;3091 readonly maxStakersPerCalculation: Option<u8>;3092 }30933094 /** @name PalletTemplateTransactionPaymentCall (364) */3095 type PalletTemplateTransactionPaymentCall = Null;30963097 /** @name PalletStructureCall (365) */3098 type PalletStructureCall = Null;30993100 /** @name PalletRmrkCoreCall (366) */3101 interface PalletRmrkCoreCall extends Enum {3102 readonly isCreateCollection: boolean;3103 readonly asCreateCollection: {3104 readonly metadata: Bytes;3105 readonly max: Option<u32>;3106 readonly symbol: Bytes;3107 } & Struct;3108 readonly isDestroyCollection: boolean;3109 readonly asDestroyCollection: {3110 readonly collectionId: u32;3111 } & Struct;3112 readonly isChangeCollectionIssuer: boolean;3113 readonly asChangeCollectionIssuer: {3114 readonly collectionId: u32;3115 readonly newIssuer: MultiAddress;3116 } & Struct;3117 readonly isLockCollection: boolean;3118 readonly asLockCollection: {3119 readonly collectionId: u32;3120 } & Struct;3121 readonly isMintNft: boolean;3122 readonly asMintNft: {3123 readonly owner: Option<AccountId32>;3124 readonly collectionId: u32;3125 readonly recipient: Option<AccountId32>;3126 readonly royaltyAmount: Option<Permill>;3127 readonly metadata: Bytes;3128 readonly transferable: bool;3129 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;3130 } & Struct;3131 readonly isBurnNft: boolean;3132 readonly asBurnNft: {3133 readonly collectionId: u32;3134 readonly nftId: u32;3135 readonly maxBurns: u32;3136 } & Struct;3137 readonly isSend: boolean;3138 readonly asSend: {3139 readonly rmrkCollectionId: u32;3140 readonly rmrkNftId: u32;3141 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3142 } & Struct;3143 readonly isAcceptNft: boolean;3144 readonly asAcceptNft: {3145 readonly rmrkCollectionId: u32;3146 readonly rmrkNftId: u32;3147 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3148 } & Struct;3149 readonly isRejectNft: boolean;3150 readonly asRejectNft: {3151 readonly rmrkCollectionId: u32;3152 readonly rmrkNftId: u32;3153 } & Struct;3154 readonly isAcceptResource: boolean;3155 readonly asAcceptResource: {3156 readonly rmrkCollectionId: u32;3157 readonly rmrkNftId: u32;3158 readonly resourceId: u32;3159 } & Struct;3160 readonly isAcceptResourceRemoval: boolean;3161 readonly asAcceptResourceRemoval: {3162 readonly rmrkCollectionId: u32;3163 readonly rmrkNftId: u32;3164 readonly resourceId: u32;3165 } & Struct;3166 readonly isSetProperty: boolean;3167 readonly asSetProperty: {3168 readonly rmrkCollectionId: Compact<u32>;3169 readonly maybeNftId: Option<u32>;3170 readonly key: Bytes;3171 readonly value: Bytes;3172 } & Struct;3173 readonly isSetPriority: boolean;3174 readonly asSetPriority: {3175 readonly rmrkCollectionId: u32;3176 readonly rmrkNftId: u32;3177 readonly priorities: Vec<u32>;3178 } & Struct;3179 readonly isAddBasicResource: boolean;3180 readonly asAddBasicResource: {3181 readonly rmrkCollectionId: u32;3182 readonly nftId: u32;3183 readonly resource: RmrkTraitsResourceBasicResource;3184 } & Struct;3185 readonly isAddComposableResource: boolean;3186 readonly asAddComposableResource: {3187 readonly rmrkCollectionId: u32;3188 readonly nftId: u32;3189 readonly resource: RmrkTraitsResourceComposableResource;3190 } & Struct;3191 readonly isAddSlotResource: boolean;3192 readonly asAddSlotResource: {3193 readonly rmrkCollectionId: u32;3194 readonly nftId: u32;3195 readonly resource: RmrkTraitsResourceSlotResource;3196 } & Struct;3197 readonly isRemoveResource: boolean;3198 readonly asRemoveResource: {3199 readonly rmrkCollectionId: u32;3200 readonly nftId: u32;3201 readonly resourceId: u32;3202 } & Struct;3203 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';3204 }32053206 /** @name RmrkTraitsResourceResourceTypes (372) */3207 interface RmrkTraitsResourceResourceTypes extends Enum {3208 readonly isBasic: boolean;3209 readonly asBasic: RmrkTraitsResourceBasicResource;3210 readonly isComposable: boolean;3211 readonly asComposable: RmrkTraitsResourceComposableResource;3212 readonly isSlot: boolean;3213 readonly asSlot: RmrkTraitsResourceSlotResource;3214 readonly type: 'Basic' | 'Composable' | 'Slot';3215 }32163217 /** @name RmrkTraitsResourceBasicResource (374) */3218 interface RmrkTraitsResourceBasicResource extends Struct {3219 readonly src: Option<Bytes>;3220 readonly metadata: Option<Bytes>;3221 readonly license: Option<Bytes>;3222 readonly thumb: Option<Bytes>;3223 }32243225 /** @name RmrkTraitsResourceComposableResource (376) */3226 interface RmrkTraitsResourceComposableResource extends Struct {3227 readonly parts: Vec<u32>;3228 readonly base: u32;3229 readonly src: Option<Bytes>;3230 readonly metadata: Option<Bytes>;3231 readonly license: Option<Bytes>;3232 readonly thumb: Option<Bytes>;3233 }32343235 /** @name RmrkTraitsResourceSlotResource (377) */3236 interface RmrkTraitsResourceSlotResource extends Struct {3237 readonly base: u32;3238 readonly src: Option<Bytes>;3239 readonly metadata: Option<Bytes>;3240 readonly slot: u32;3241 readonly license: Option<Bytes>;3242 readonly thumb: Option<Bytes>;3243 }32443245 /** @name PalletRmrkEquipCall (380) */3246 interface PalletRmrkEquipCall extends Enum {3247 readonly isCreateBase: boolean;3248 readonly asCreateBase: {3249 readonly baseType: Bytes;3250 readonly symbol: Bytes;3251 readonly parts: Vec<RmrkTraitsPartPartType>;3252 } & Struct;3253 readonly isThemeAdd: boolean;3254 readonly asThemeAdd: {3255 readonly baseId: u32;3256 readonly theme: RmrkTraitsTheme;3257 } & Struct;3258 readonly isEquippable: boolean;3259 readonly asEquippable: {3260 readonly baseId: u32;3261 readonly slotId: u32;3262 readonly equippables: RmrkTraitsPartEquippableList;3263 } & Struct;3264 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3265 }32663267 /** @name RmrkTraitsPartPartType (383) */3268 interface RmrkTraitsPartPartType extends Enum {3269 readonly isFixedPart: boolean;3270 readonly asFixedPart: RmrkTraitsPartFixedPart;3271 readonly isSlotPart: boolean;3272 readonly asSlotPart: RmrkTraitsPartSlotPart;3273 readonly type: 'FixedPart' | 'SlotPart';3274 }32753276 /** @name RmrkTraitsPartFixedPart (385) */3277 interface RmrkTraitsPartFixedPart extends Struct {3278 readonly id: u32;3279 readonly z: u32;3280 readonly src: Bytes;3281 }32823283 /** @name RmrkTraitsPartSlotPart (386) */3284 interface RmrkTraitsPartSlotPart extends Struct {3285 readonly id: u32;3286 readonly equippable: RmrkTraitsPartEquippableList;3287 readonly src: Bytes;3288 readonly z: u32;3289 }32903291 /** @name RmrkTraitsPartEquippableList (387) */3292 interface RmrkTraitsPartEquippableList extends Enum {3293 readonly isAll: boolean;3294 readonly isEmpty: boolean;3295 readonly isCustom: boolean;3296 readonly asCustom: Vec<u32>;3297 readonly type: 'All' | 'Empty' | 'Custom';3298 }32993300 /** @name RmrkTraitsTheme (389) */3301 interface RmrkTraitsTheme extends Struct {3302 readonly name: Bytes;3303 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3304 readonly inherit: bool;3305 }33063307 /** @name RmrkTraitsThemeThemeProperty (391) */3308 interface RmrkTraitsThemeThemeProperty extends Struct {3309 readonly key: Bytes;3310 readonly value: Bytes;3311 }33123313 /** @name PalletAppPromotionCall (393) */3314 interface PalletAppPromotionCall extends Enum {3315 readonly isSetAdminAddress: boolean;3316 readonly asSetAdminAddress: {3317 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;3318 } & Struct;3319 readonly isStake: boolean;3320 readonly asStake: {3321 readonly amount: u128;3322 } & Struct;3323 readonly isUnstake: boolean;3324 readonly isSponsorCollection: boolean;3325 readonly asSponsorCollection: {3326 readonly collectionId: u32;3327 } & Struct;3328 readonly isStopSponsoringCollection: boolean;3329 readonly asStopSponsoringCollection: {3330 readonly collectionId: u32;3331 } & Struct;3332 readonly isSponsorContract: boolean;3333 readonly asSponsorContract: {3334 readonly contractId: H160;3335 } & Struct;3336 readonly isStopSponsoringContract: boolean;3337 readonly asStopSponsoringContract: {3338 readonly contractId: H160;3339 } & Struct;3340 readonly isPayoutStakers: boolean;3341 readonly asPayoutStakers: {3342 readonly stakersNumber: Option<u8>;3343 } & Struct;3344 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3345 }33463347 /** @name PalletForeignAssetsModuleCall (394) */3348 interface PalletForeignAssetsModuleCall extends Enum {3349 readonly isRegisterForeignAsset: boolean;3350 readonly asRegisterForeignAsset: {3351 readonly owner: AccountId32;3352 readonly location: XcmVersionedMultiLocation;3353 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3354 } & Struct;3355 readonly isUpdateForeignAsset: boolean;3356 readonly asUpdateForeignAsset: {3357 readonly foreignAssetId: u32;3358 readonly location: XcmVersionedMultiLocation;3359 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3360 } & Struct;3361 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3362 }33633364 /** @name PalletEvmCall (395) */3365 interface PalletEvmCall extends Enum {3366 readonly isWithdraw: boolean;3367 readonly asWithdraw: {3368 readonly address: H160;3369 readonly value: u128;3370 } & Struct;3371 readonly isCall: boolean;3372 readonly asCall: {3373 readonly source: H160;3374 readonly target: H160;3375 readonly input: Bytes;3376 readonly value: U256;3377 readonly gasLimit: u64;3378 readonly maxFeePerGas: U256;3379 readonly maxPriorityFeePerGas: Option<U256>;3380 readonly nonce: Option<U256>;3381 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3382 } & Struct;3383 readonly isCreate: boolean;3384 readonly asCreate: {3385 readonly source: H160;3386 readonly init: Bytes;3387 readonly value: U256;3388 readonly gasLimit: u64;3389 readonly maxFeePerGas: U256;3390 readonly maxPriorityFeePerGas: Option<U256>;3391 readonly nonce: Option<U256>;3392 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3393 } & Struct;3394 readonly isCreate2: boolean;3395 readonly asCreate2: {3396 readonly source: H160;3397 readonly init: Bytes;3398 readonly salt: H256;3399 readonly value: U256;3400 readonly gasLimit: u64;3401 readonly maxFeePerGas: U256;3402 readonly maxPriorityFeePerGas: Option<U256>;3403 readonly nonce: Option<U256>;3404 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3405 } & Struct;3406 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3407 }34083409 /** @name PalletEthereumCall (401) */3410 interface PalletEthereumCall extends Enum {3411 readonly isTransact: boolean;3412 readonly asTransact: {3413 readonly transaction: EthereumTransactionTransactionV2;3414 } & Struct;3415 readonly type: 'Transact';3416 }34173418 /** @name EthereumTransactionTransactionV2 (402) */3419 interface EthereumTransactionTransactionV2 extends Enum {3420 readonly isLegacy: boolean;3421 readonly asLegacy: EthereumTransactionLegacyTransaction;3422 readonly isEip2930: boolean;3423 readonly asEip2930: EthereumTransactionEip2930Transaction;3424 readonly isEip1559: boolean;3425 readonly asEip1559: EthereumTransactionEip1559Transaction;3426 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3427 }34283429 /** @name EthereumTransactionLegacyTransaction (403) */3430 interface EthereumTransactionLegacyTransaction extends Struct {3431 readonly nonce: U256;3432 readonly gasPrice: U256;3433 readonly gasLimit: U256;3434 readonly action: EthereumTransactionTransactionAction;3435 readonly value: U256;3436 readonly input: Bytes;3437 readonly signature: EthereumTransactionTransactionSignature;3438 }34393440 /** @name EthereumTransactionTransactionAction (404) */3441 interface EthereumTransactionTransactionAction extends Enum {3442 readonly isCall: boolean;3443 readonly asCall: H160;3444 readonly isCreate: boolean;3445 readonly type: 'Call' | 'Create';3446 }34473448 /** @name EthereumTransactionTransactionSignature (405) */3449 interface EthereumTransactionTransactionSignature extends Struct {3450 readonly v: u64;3451 readonly r: H256;3452 readonly s: H256;3453 }34543455 /** @name EthereumTransactionEip2930Transaction (407) */3456 interface EthereumTransactionEip2930Transaction extends Struct {3457 readonly chainId: u64;3458 readonly nonce: U256;3459 readonly gasPrice: U256;3460 readonly gasLimit: U256;3461 readonly action: EthereumTransactionTransactionAction;3462 readonly value: U256;3463 readonly input: Bytes;3464 readonly accessList: Vec<EthereumTransactionAccessListItem>;3465 readonly oddYParity: bool;3466 readonly r: H256;3467 readonly s: H256;3468 }34693470 /** @name EthereumTransactionAccessListItem (409) */3471 interface EthereumTransactionAccessListItem extends Struct {3472 readonly address: H160;3473 readonly storageKeys: Vec<H256>;3474 }34753476 /** @name EthereumTransactionEip1559Transaction (410) */3477 interface EthereumTransactionEip1559Transaction extends Struct {3478 readonly chainId: u64;3479 readonly nonce: U256;3480 readonly maxPriorityFeePerGas: U256;3481 readonly maxFeePerGas: U256;3482 readonly gasLimit: U256;3483 readonly action: EthereumTransactionTransactionAction;3484 readonly value: U256;3485 readonly input: Bytes;3486 readonly accessList: Vec<EthereumTransactionAccessListItem>;3487 readonly oddYParity: bool;3488 readonly r: H256;3489 readonly s: H256;3490 }34913492 /** @name PalletDataManagementCall (411) */3493 interface PalletDataManagementCall extends Enum {3494 readonly isBegin: boolean;3495 readonly asBegin: {3496 readonly address: H160;3497 } & Struct;3498 readonly isSetData: boolean;3499 readonly asSetData: {3500 readonly address: H160;3501 readonly data: Vec<ITuple<[H256, H256]>>;3502 } & Struct;3503 readonly isFinish: boolean;3504 readonly asFinish: {3505 readonly address: H160;3506 readonly code: Bytes;3507 } & Struct;3508 readonly isInsertEthLogs: boolean;3509 readonly asInsertEthLogs: {3510 readonly logs: Vec<EthereumLog>;3511 } & Struct;3512 readonly isInsertEvents: boolean;3513 readonly asInsertEvents: {3514 readonly events: Vec<Bytes>;3515 } & Struct;3516 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3517 }35183519 /** @name PalletMaintenanceCall (415) */3520 interface PalletMaintenanceCall extends Enum {3521 readonly isEnable: boolean;3522 readonly isDisable: boolean;3523 readonly type: 'Enable' | 'Disable';3524 }35253526 /** @name PalletTestUtilsCall (416) */3527 interface PalletTestUtilsCall extends Enum {3528 readonly isEnable: boolean;3529 readonly isSetTestValue: boolean;3530 readonly asSetTestValue: {3531 readonly value: u32;3532 } & Struct;3533 readonly isSetTestValueAndRollback: boolean;3534 readonly asSetTestValueAndRollback: {3535 readonly value: u32;3536 } & Struct;3537 readonly isIncTestValue: boolean;3538 readonly isJustTakeFee: boolean;3539 readonly isBatchAll: boolean;3540 readonly asBatchAll: {3541 readonly calls: Vec<Call>;3542 } & Struct;3543 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3544 }35453546 /** @name PalletSudoError (418) */3547 interface PalletSudoError extends Enum {3548 readonly isRequireSudo: boolean;3549 readonly type: 'RequireSudo';3550 }35513552 /** @name OrmlVestingModuleError (420) */3553 interface OrmlVestingModuleError extends Enum {3554 readonly isZeroVestingPeriod: boolean;3555 readonly isZeroVestingPeriodCount: boolean;3556 readonly isInsufficientBalanceToLock: boolean;3557 readonly isTooManyVestingSchedules: boolean;3558 readonly isAmountLow: boolean;3559 readonly isMaxVestingSchedulesExceeded: boolean;3560 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3561 }35623563 /** @name OrmlXtokensModuleError (421) */3564 interface OrmlXtokensModuleError extends Enum {3565 readonly isAssetHasNoReserve: boolean;3566 readonly isNotCrossChainTransfer: boolean;3567 readonly isInvalidDest: boolean;3568 readonly isNotCrossChainTransferableCurrency: boolean;3569 readonly isUnweighableMessage: boolean;3570 readonly isXcmExecutionFailed: boolean;3571 readonly isCannotReanchor: boolean;3572 readonly isInvalidAncestry: boolean;3573 readonly isInvalidAsset: boolean;3574 readonly isDestinationNotInvertible: boolean;3575 readonly isBadVersion: boolean;3576 readonly isDistinctReserveForAssetAndFee: boolean;3577 readonly isZeroFee: boolean;3578 readonly isZeroAmount: boolean;3579 readonly isTooManyAssetsBeingSent: boolean;3580 readonly isAssetIndexNonExistent: boolean;3581 readonly isFeeNotEnough: boolean;3582 readonly isNotSupportedMultiLocation: boolean;3583 readonly isMinXcmFeeNotDefined: boolean;3584 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3585 }35863587 /** @name OrmlTokensBalanceLock (424) */3588 interface OrmlTokensBalanceLock extends Struct {3589 readonly id: U8aFixed;3590 readonly amount: u128;3591 }35923593 /** @name OrmlTokensAccountData (426) */3594 interface OrmlTokensAccountData extends Struct {3595 readonly free: u128;3596 readonly reserved: u128;3597 readonly frozen: u128;3598 }35993600 /** @name OrmlTokensReserveData (428) */3601 interface OrmlTokensReserveData extends Struct {3602 readonly id: Null;3603 readonly amount: u128;3604 }36053606 /** @name OrmlTokensModuleError (430) */3607 interface OrmlTokensModuleError extends Enum {3608 readonly isBalanceTooLow: boolean;3609 readonly isAmountIntoBalanceFailed: boolean;3610 readonly isLiquidityRestrictions: boolean;3611 readonly isMaxLocksExceeded: boolean;3612 readonly isKeepAlive: boolean;3613 readonly isExistentialDeposit: boolean;3614 readonly isDeadAccount: boolean;3615 readonly isTooManyReserves: boolean;3616 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3617 }36183619 /** @name CumulusPalletXcmpQueueInboundChannelDetails (432) */3620 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3621 readonly sender: u32;3622 readonly state: CumulusPalletXcmpQueueInboundState;3623 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3624 }36253626 /** @name CumulusPalletXcmpQueueInboundState (433) */3627 interface CumulusPalletXcmpQueueInboundState extends Enum {3628 readonly isOk: boolean;3629 readonly isSuspended: boolean;3630 readonly type: 'Ok' | 'Suspended';3631 }36323633 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (436) */3634 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3635 readonly isConcatenatedVersionedXcm: boolean;3636 readonly isConcatenatedEncodedBlob: boolean;3637 readonly isSignals: boolean;3638 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3639 }36403641 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (439) */3642 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3643 readonly recipient: u32;3644 readonly state: CumulusPalletXcmpQueueOutboundState;3645 readonly signalsExist: bool;3646 readonly firstIndex: u16;3647 readonly lastIndex: u16;3648 }36493650 /** @name CumulusPalletXcmpQueueOutboundState (440) */3651 interface CumulusPalletXcmpQueueOutboundState extends Enum {3652 readonly isOk: boolean;3653 readonly isSuspended: boolean;3654 readonly type: 'Ok' | 'Suspended';3655 }36563657 /** @name CumulusPalletXcmpQueueQueueConfigData (442) */3658 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3659 readonly suspendThreshold: u32;3660 readonly dropThreshold: u32;3661 readonly resumeThreshold: u32;3662 readonly thresholdWeight: SpWeightsWeightV2Weight;3663 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3664 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3665 }36663667 /** @name CumulusPalletXcmpQueueError (444) */3668 interface CumulusPalletXcmpQueueError extends Enum {3669 readonly isFailedToSend: boolean;3670 readonly isBadXcmOrigin: boolean;3671 readonly isBadXcm: boolean;3672 readonly isBadOverweightIndex: boolean;3673 readonly isWeightOverLimit: boolean;3674 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3675 }36763677 /** @name PalletXcmError (445) */3678 interface PalletXcmError extends Enum {3679 readonly isUnreachable: boolean;3680 readonly isSendFailure: boolean;3681 readonly isFiltered: boolean;3682 readonly isUnweighableMessage: boolean;3683 readonly isDestinationNotInvertible: boolean;3684 readonly isEmpty: boolean;3685 readonly isCannotReanchor: boolean;3686 readonly isTooManyAssets: boolean;3687 readonly isInvalidOrigin: boolean;3688 readonly isBadVersion: boolean;3689 readonly isBadLocation: boolean;3690 readonly isNoSubscription: boolean;3691 readonly isAlreadySubscribed: boolean;3692 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3693 }36943695 /** @name CumulusPalletXcmError (446) */3696 type CumulusPalletXcmError = Null;36973698 /** @name CumulusPalletDmpQueueConfigData (447) */3699 interface CumulusPalletDmpQueueConfigData extends Struct {3700 readonly maxIndividual: SpWeightsWeightV2Weight;3701 }37023703 /** @name CumulusPalletDmpQueuePageIndexData (448) */3704 interface CumulusPalletDmpQueuePageIndexData extends Struct {3705 readonly beginUsed: u32;3706 readonly endUsed: u32;3707 readonly overweightCount: u64;3708 }37093710 /** @name CumulusPalletDmpQueueError (451) */3711 interface CumulusPalletDmpQueueError extends Enum {3712 readonly isUnknown: boolean;3713 readonly isOverLimit: boolean;3714 readonly type: 'Unknown' | 'OverLimit';3715 }37163717 /** @name PalletUniqueError (455) */3718 interface PalletUniqueError extends Enum {3719 readonly isCollectionDecimalPointLimitExceeded: boolean;3720 readonly isEmptyArgument: boolean;3721 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3722 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3723 }37243725 /** @name PalletConfigurationError (456) */3726 interface PalletConfigurationError extends Enum {3727 readonly isInconsistentConfiguration: boolean;3728 readonly type: 'InconsistentConfiguration';3729 }37303731 /** @name UpDataStructsCollection (457) */3732 interface UpDataStructsCollection extends Struct {3733 readonly owner: AccountId32;3734 readonly mode: UpDataStructsCollectionMode;3735 readonly name: Vec<u16>;3736 readonly description: Vec<u16>;3737 readonly tokenPrefix: Bytes;3738 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3739 readonly limits: UpDataStructsCollectionLimits;3740 readonly permissions: UpDataStructsCollectionPermissions;3741 readonly flags: U8aFixed;3742 }37433744 /** @name UpDataStructsSponsorshipStateAccountId32 (458) */3745 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3746 readonly isDisabled: boolean;3747 readonly isUnconfirmed: boolean;3748 readonly asUnconfirmed: AccountId32;3749 readonly isConfirmed: boolean;3750 readonly asConfirmed: AccountId32;3751 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3752 }37533754 /** @name UpDataStructsProperties (459) */3755 interface UpDataStructsProperties extends Struct {3756 readonly map: UpDataStructsPropertiesMapBoundedVec;3757 readonly consumedSpace: u32;3758 readonly spaceLimit: u32;3759 }37603761 /** @name UpDataStructsPropertiesMapBoundedVec (460) */3762 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}37633764 /** @name UpDataStructsPropertiesMapPropertyPermission (465) */3765 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}37663767 /** @name UpDataStructsCollectionStats (472) */3768 interface UpDataStructsCollectionStats extends Struct {3769 readonly created: u32;3770 readonly destroyed: u32;3771 readonly alive: u32;3772 }37733774 /** @name UpDataStructsTokenChild (473) */3775 interface UpDataStructsTokenChild extends Struct {3776 readonly token: u32;3777 readonly collection: u32;3778 }37793780 /** @name PhantomTypeUpDataStructs (474) */3781 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}37823783 /** @name UpDataStructsTokenData (476) */3784 interface UpDataStructsTokenData extends Struct {3785 readonly properties: Vec<UpDataStructsProperty>;3786 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3787 readonly pieces: u128;3788 }37893790 /** @name UpDataStructsRpcCollection (478) */3791 interface UpDataStructsRpcCollection extends Struct {3792 readonly owner: AccountId32;3793 readonly mode: UpDataStructsCollectionMode;3794 readonly name: Vec<u16>;3795 readonly description: Vec<u16>;3796 readonly tokenPrefix: Bytes;3797 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3798 readonly limits: UpDataStructsCollectionLimits;3799 readonly permissions: UpDataStructsCollectionPermissions;3800 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3801 readonly properties: Vec<UpDataStructsProperty>;3802 readonly readOnly: bool;3803 readonly flags: UpDataStructsRpcCollectionFlags;3804 }38053806 /** @name UpDataStructsRpcCollectionFlags (479) */3807 interface UpDataStructsRpcCollectionFlags extends Struct {3808 readonly foreign: bool;3809 readonly erc721metadata: bool;3810 }38113812 /** @name RmrkTraitsCollectionCollectionInfo (480) */3813 interface RmrkTraitsCollectionCollectionInfo extends Struct {3814 readonly issuer: AccountId32;3815 readonly metadata: Bytes;3816 readonly max: Option<u32>;3817 readonly symbol: Bytes;3818 readonly nftsCount: u32;3819 }38203821 /** @name RmrkTraitsNftNftInfo (481) */3822 interface RmrkTraitsNftNftInfo extends Struct {3823 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3824 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3825 readonly metadata: Bytes;3826 readonly equipped: bool;3827 readonly pending: bool;3828 }38293830 /** @name RmrkTraitsNftRoyaltyInfo (483) */3831 interface RmrkTraitsNftRoyaltyInfo extends Struct {3832 readonly recipient: AccountId32;3833 readonly amount: Permill;3834 }38353836 /** @name RmrkTraitsResourceResourceInfo (484) */3837 interface RmrkTraitsResourceResourceInfo extends Struct {3838 readonly id: u32;3839 readonly resource: RmrkTraitsResourceResourceTypes;3840 readonly pending: bool;3841 readonly pendingRemoval: bool;3842 }38433844 /** @name RmrkTraitsPropertyPropertyInfo (485) */3845 interface RmrkTraitsPropertyPropertyInfo extends Struct {3846 readonly key: Bytes;3847 readonly value: Bytes;3848 }38493850 /** @name RmrkTraitsBaseBaseInfo (486) */3851 interface RmrkTraitsBaseBaseInfo extends Struct {3852 readonly issuer: AccountId32;3853 readonly baseType: Bytes;3854 readonly symbol: Bytes;3855 }38563857 /** @name RmrkTraitsNftNftChild (487) */3858 interface RmrkTraitsNftNftChild extends Struct {3859 readonly collectionId: u32;3860 readonly nftId: u32;3861 }38623863 /** @name UpPovEstimateRpcPovInfo (488) */3864 interface UpPovEstimateRpcPovInfo extends Struct {3865 readonly proofSize: u64;3866 readonly compactProofSize: u64;3867 readonly compressedProofSize: u64;3868 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3869 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3870 }38713872 /** @name SpRuntimeTransactionValidityTransactionValidityError (491) */3873 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3874 readonly isInvalid: boolean;3875 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3876 readonly isUnknown: boolean;3877 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3878 readonly type: 'Invalid' | 'Unknown';3879 }38803881 /** @name SpRuntimeTransactionValidityInvalidTransaction (492) */3882 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3883 readonly isCall: boolean;3884 readonly isPayment: boolean;3885 readonly isFuture: boolean;3886 readonly isStale: boolean;3887 readonly isBadProof: boolean;3888 readonly isAncientBirthBlock: boolean;3889 readonly isExhaustsResources: boolean;3890 readonly isCustom: boolean;3891 readonly asCustom: u8;3892 readonly isBadMandatory: boolean;3893 readonly isMandatoryValidation: boolean;3894 readonly isBadSigner: boolean;3895 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3896 }38973898 /** @name SpRuntimeTransactionValidityUnknownTransaction (493) */3899 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3900 readonly isCannotLookup: boolean;3901 readonly isNoUnsignedValidator: boolean;3902 readonly isCustom: boolean;3903 readonly asCustom: u8;3904 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3905 }39063907 /** @name UpPovEstimateRpcTrieKeyValue (495) */3908 interface UpPovEstimateRpcTrieKeyValue extends Struct {3909 readonly key: Bytes;3910 readonly value: Bytes;3911 }39123913 /** @name PalletCommonError (497) */3914 interface PalletCommonError extends Enum {3915 readonly isCollectionNotFound: boolean;3916 readonly isMustBeTokenOwner: boolean;3917 readonly isNoPermission: boolean;3918 readonly isCantDestroyNotEmptyCollection: boolean;3919 readonly isPublicMintingNotAllowed: boolean;3920 readonly isAddressNotInAllowlist: boolean;3921 readonly isCollectionNameLimitExceeded: boolean;3922 readonly isCollectionDescriptionLimitExceeded: boolean;3923 readonly isCollectionTokenPrefixLimitExceeded: boolean;3924 readonly isTotalCollectionsLimitExceeded: boolean;3925 readonly isCollectionAdminCountExceeded: boolean;3926 readonly isCollectionLimitBoundsExceeded: boolean;3927 readonly isOwnerPermissionsCantBeReverted: boolean;3928 readonly isTransferNotAllowed: boolean;3929 readonly isAccountTokenLimitExceeded: boolean;3930 readonly isCollectionTokenLimitExceeded: boolean;3931 readonly isMetadataFlagFrozen: boolean;3932 readonly isTokenNotFound: boolean;3933 readonly isTokenValueTooLow: boolean;3934 readonly isApprovedValueTooLow: boolean;3935 readonly isCantApproveMoreThanOwned: boolean;3936 readonly isAddressIsZero: boolean;3937 readonly isUnsupportedOperation: boolean;3938 readonly isNotSufficientFounds: boolean;3939 readonly isUserIsNotAllowedToNest: boolean;3940 readonly isSourceCollectionIsNotAllowedToNest: boolean;3941 readonly isCollectionFieldSizeExceeded: boolean;3942 readonly isNoSpaceForProperty: boolean;3943 readonly isPropertyLimitReached: boolean;3944 readonly isPropertyKeyIsTooLong: boolean;3945 readonly isInvalidCharacterInPropertyKey: boolean;3946 readonly isEmptyPropertyKey: boolean;3947 readonly isCollectionIsExternal: boolean;3948 readonly isCollectionIsInternal: boolean;3949 readonly isConfirmSponsorshipFail: boolean;3950 readonly isUserIsNotCollectionAdmin: boolean;3951 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' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3952 }39533954 /** @name PalletFungibleError (499) */3955 interface PalletFungibleError extends Enum {3956 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3957 readonly isFungibleItemsHaveNoId: boolean;3958 readonly isFungibleItemsDontHaveData: boolean;3959 readonly isFungibleDisallowsNesting: boolean;3960 readonly isSettingPropertiesNotAllowed: boolean;3961 readonly isSettingAllowanceForAllNotAllowed: boolean;3962 readonly isFungibleTokensAreAlwaysValid: boolean;3963 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3964 }39653966 /** @name PalletRefungibleError (503) */3967 interface PalletRefungibleError extends Enum {3968 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3969 readonly isWrongRefungiblePieces: boolean;3970 readonly isRepartitionWhileNotOwningAllPieces: boolean;3971 readonly isRefungibleDisallowsNesting: boolean;3972 readonly isSettingPropertiesNotAllowed: boolean;3973 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3974 }39753976 /** @name PalletNonfungibleItemData (504) */3977 interface PalletNonfungibleItemData extends Struct {3978 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3979 }39803981 /** @name UpDataStructsPropertyScope (506) */3982 interface UpDataStructsPropertyScope extends Enum {3983 readonly isNone: boolean;3984 readonly isRmrk: boolean;3985 readonly type: 'None' | 'Rmrk';3986 }39873988 /** @name PalletNonfungibleError (509) */3989 interface PalletNonfungibleError extends Enum {3990 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3991 readonly isNonfungibleItemsHaveNoAmount: boolean;3992 readonly isCantBurnNftWithChildren: boolean;3993 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3994 }39953996 /** @name PalletStructureError (510) */3997 interface PalletStructureError extends Enum {3998 readonly isOuroborosDetected: boolean;3999 readonly isDepthLimit: boolean;4000 readonly isBreadthLimit: boolean;4001 readonly isTokenNotFound: boolean;4002 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';4003 }40044005 /** @name PalletRmrkCoreError (511) */4006 interface PalletRmrkCoreError extends Enum {4007 readonly isCorruptedCollectionType: boolean;4008 readonly isRmrkPropertyKeyIsTooLong: boolean;4009 readonly isRmrkPropertyValueIsTooLong: boolean;4010 readonly isRmrkPropertyIsNotFound: boolean;4011 readonly isUnableToDecodeRmrkData: boolean;4012 readonly isCollectionNotEmpty: boolean;4013 readonly isNoAvailableCollectionId: boolean;4014 readonly isNoAvailableNftId: boolean;4015 readonly isCollectionUnknown: boolean;4016 readonly isNoPermission: boolean;4017 readonly isNonTransferable: boolean;4018 readonly isCollectionFullOrLocked: boolean;4019 readonly isResourceDoesntExist: boolean;4020 readonly isCannotSendToDescendentOrSelf: boolean;4021 readonly isCannotAcceptNonOwnedNft: boolean;4022 readonly isCannotRejectNonOwnedNft: boolean;4023 readonly isCannotRejectNonPendingNft: boolean;4024 readonly isResourceNotPending: boolean;4025 readonly isNoAvailableResourceId: boolean;4026 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';4027 }40284029 /** @name PalletRmrkEquipError (513) */4030 interface PalletRmrkEquipError extends Enum {4031 readonly isPermissionError: boolean;4032 readonly isNoAvailableBaseId: boolean;4033 readonly isNoAvailablePartId: boolean;4034 readonly isBaseDoesntExist: boolean;4035 readonly isNeedsDefaultThemeFirst: boolean;4036 readonly isPartDoesntExist: boolean;4037 readonly isNoEquippableOnFixedPart: boolean;4038 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';4039 }40404041 /** @name PalletAppPromotionError (519) */4042 interface PalletAppPromotionError extends Enum {4043 readonly isAdminNotSet: boolean;4044 readonly isNoPermission: boolean;4045 readonly isNotSufficientFunds: boolean;4046 readonly isPendingForBlockOverflow: boolean;4047 readonly isSponsorNotSet: boolean;4048 readonly isIncorrectLockedBalanceOperation: boolean;4049 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';4050 }40514052 /** @name PalletForeignAssetsModuleError (520) */4053 interface PalletForeignAssetsModuleError extends Enum {4054 readonly isBadLocation: boolean;4055 readonly isMultiLocationExisted: boolean;4056 readonly isAssetIdNotExists: boolean;4057 readonly isAssetIdExisted: boolean;4058 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';4059 }40604061 /** @name PalletEvmError (522) */4062 interface PalletEvmError extends Enum {4063 readonly isBalanceLow: boolean;4064 readonly isFeeOverflow: boolean;4065 readonly isPaymentOverflow: boolean;4066 readonly isWithdrawFailed: boolean;4067 readonly isGasPriceTooLow: boolean;4068 readonly isInvalidNonce: boolean;4069 readonly isGasLimitTooLow: boolean;4070 readonly isGasLimitTooHigh: boolean;4071 readonly isUndefined: boolean;4072 readonly isReentrancy: boolean;4073 readonly isTransactionMustComeFromEOA: boolean;4074 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';4075 }40764077 /** @name FpRpcTransactionStatus (525) */4078 interface FpRpcTransactionStatus extends Struct {4079 readonly transactionHash: H256;4080 readonly transactionIndex: u32;4081 readonly from: H160;4082 readonly to: Option<H160>;4083 readonly contractAddress: Option<H160>;4084 readonly logs: Vec<EthereumLog>;4085 readonly logsBloom: EthbloomBloom;4086 }40874088 /** @name EthbloomBloom (527) */4089 interface EthbloomBloom extends U8aFixed {}40904091 /** @name EthereumReceiptReceiptV3 (529) */4092 interface EthereumReceiptReceiptV3 extends Enum {4093 readonly isLegacy: boolean;4094 readonly asLegacy: EthereumReceiptEip658ReceiptData;4095 readonly isEip2930: boolean;4096 readonly asEip2930: EthereumReceiptEip658ReceiptData;4097 readonly isEip1559: boolean;4098 readonly asEip1559: EthereumReceiptEip658ReceiptData;4099 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4100 }41014102 /** @name EthereumReceiptEip658ReceiptData (530) */4103 interface EthereumReceiptEip658ReceiptData extends Struct {4104 readonly statusCode: u8;4105 readonly usedGas: U256;4106 readonly logsBloom: EthbloomBloom;4107 readonly logs: Vec<EthereumLog>;4108 }41094110 /** @name EthereumBlock (531) */4111 interface EthereumBlock extends Struct {4112 readonly header: EthereumHeader;4113 readonly transactions: Vec<EthereumTransactionTransactionV2>;4114 readonly ommers: Vec<EthereumHeader>;4115 }41164117 /** @name EthereumHeader (532) */4118 interface EthereumHeader extends Struct {4119 readonly parentHash: H256;4120 readonly ommersHash: H256;4121 readonly beneficiary: H160;4122 readonly stateRoot: H256;4123 readonly transactionsRoot: H256;4124 readonly receiptsRoot: H256;4125 readonly logsBloom: EthbloomBloom;4126 readonly difficulty: U256;4127 readonly number: U256;4128 readonly gasLimit: U256;4129 readonly gasUsed: U256;4130 readonly timestamp: u64;4131 readonly extraData: Bytes;4132 readonly mixHash: H256;4133 readonly nonce: EthereumTypesHashH64;4134 }41354136 /** @name EthereumTypesHashH64 (533) */4137 interface EthereumTypesHashH64 extends U8aFixed {}41384139 /** @name PalletEthereumError (538) */4140 interface PalletEthereumError extends Enum {4141 readonly isInvalidSignature: boolean;4142 readonly isPreLogExists: boolean;4143 readonly type: 'InvalidSignature' | 'PreLogExists';4144 }41454146 /** @name PalletEvmCoderSubstrateError (539) */4147 interface PalletEvmCoderSubstrateError extends Enum {4148 readonly isOutOfGas: boolean;4149 readonly isOutOfFund: boolean;4150 readonly type: 'OutOfGas' | 'OutOfFund';4151 }41524153 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (540) */4154 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4155 readonly isDisabled: boolean;4156 readonly isUnconfirmed: boolean;4157 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;4158 readonly isConfirmed: boolean;4159 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;4160 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4161 }41624163 /** @name PalletEvmContractHelpersSponsoringModeT (541) */4164 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4165 readonly isDisabled: boolean;4166 readonly isAllowlisted: boolean;4167 readonly isGenerous: boolean;4168 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4169 }41704171 /** @name PalletEvmContractHelpersError (547) */4172 interface PalletEvmContractHelpersError extends Enum {4173 readonly isNoPermission: boolean;4174 readonly isNoPendingSponsor: boolean;4175 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4176 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4177 }41784179 /** @name PalletDataManagementError (548) */4180 interface PalletDataManagementError extends Enum {4181 readonly isAccountNotEmpty: boolean;4182 readonly isAccountIsNotMigrating: boolean;4183 readonly isBadEvent: boolean;4184 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4185 }41864187 /** @name PalletMaintenanceError (549) */4188 type PalletMaintenanceError = Null;41894190 /** @name PalletTestUtilsError (550) */4191 interface PalletTestUtilsError extends Enum {4192 readonly isTestPalletDisabled: boolean;4193 readonly isTriggerRollback: boolean;4194 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4195 }41964197 /** @name SpRuntimeMultiSignature (552) */4198 interface SpRuntimeMultiSignature extends Enum {4199 readonly isEd25519: boolean;4200 readonly asEd25519: SpCoreEd25519Signature;4201 readonly isSr25519: boolean;4202 readonly asSr25519: SpCoreSr25519Signature;4203 readonly isEcdsa: boolean;4204 readonly asEcdsa: SpCoreEcdsaSignature;4205 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4206 }42074208 /** @name SpCoreEd25519Signature (553) */4209 interface SpCoreEd25519Signature extends U8aFixed {}42104211 /** @name SpCoreSr25519Signature (555) */4212 interface SpCoreSr25519Signature extends U8aFixed {}42134214 /** @name SpCoreEcdsaSignature (556) */4215 interface SpCoreEcdsaSignature extends U8aFixed {}42164217 /** @name FrameSystemExtensionsCheckSpecVersion (559) */4218 type FrameSystemExtensionsCheckSpecVersion = Null;42194220 /** @name FrameSystemExtensionsCheckTxVersion (560) */4221 type FrameSystemExtensionsCheckTxVersion = Null;42224223 /** @name FrameSystemExtensionsCheckGenesis (561) */4224 type FrameSystemExtensionsCheckGenesis = Null;42254226 /** @name FrameSystemExtensionsCheckNonce (564) */4227 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}42284229 /** @name FrameSystemExtensionsCheckWeight (565) */4230 type FrameSystemExtensionsCheckWeight = Null;42314232 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (566) */4233 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;42344235 /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (567) */4236 type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;42374238 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (568) */4239 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}42404241 /** @name OpalRuntimeRuntime (569) */4242 type OpalRuntimeRuntime = Null;42434244 /** @name PalletEthereumFakeTransactionFinalizer (570) */4245 type PalletEthereumFakeTransactionFinalizer = Null;42464247} // declare moduletests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -2772,8 +2772,8 @@
return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.releaseLicense', []);
}
- forceRevokeLicense(signer: TSigner, released: string) {
- return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.forceRevokeLicense', [released]);
+ forceReleaseLicense(signer: TSigner, released: string) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.forceReleaseLicense', [released]);
}
async hasLicense(address: string): Promise<bigint> {