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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { Data } from '@polkadot/types';5import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import type { Event } from '@polkadot/types/interfaces/system';910/** @name CumulusPalletDmpQueueCall */11export interface CumulusPalletDmpQueueCall extends Enum {12 readonly isServiceOverweight: boolean;13 readonly asServiceOverweight: {14 readonly index: u64;15 readonly weightLimit: u64;16 } & Struct;17 readonly type: 'ServiceOverweight';18}1920/** @name CumulusPalletDmpQueueConfigData */21export interface CumulusPalletDmpQueueConfigData extends Struct {22 readonly maxIndividual: SpWeightsWeightV2Weight;23}2425/** @name CumulusPalletDmpQueueError */26export interface CumulusPalletDmpQueueError extends Enum {27 readonly isUnknown: boolean;28 readonly isOverLimit: boolean;29 readonly type: 'Unknown' | 'OverLimit';30}3132/** @name CumulusPalletDmpQueueEvent */33export interface CumulusPalletDmpQueueEvent extends Enum {34 readonly isInvalidFormat: boolean;35 readonly asInvalidFormat: {36 readonly messageId: U8aFixed;37 } & Struct;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: {40 readonly messageId: U8aFixed;41 } & Struct;42 readonly isExecutedDownward: boolean;43 readonly asExecutedDownward: {44 readonly messageId: U8aFixed;45 readonly outcome: XcmV2TraitsOutcome;46 } & Struct;47 readonly isWeightExhausted: boolean;48 readonly asWeightExhausted: {49 readonly messageId: U8aFixed;50 readonly remainingWeight: SpWeightsWeightV2Weight;51 readonly requiredWeight: SpWeightsWeightV2Weight;52 } & Struct;53 readonly isOverweightEnqueued: boolean;54 readonly asOverweightEnqueued: {55 readonly messageId: U8aFixed;56 readonly overweightIndex: u64;57 readonly requiredWeight: SpWeightsWeightV2Weight;58 } & Struct;59 readonly isOverweightServiced: boolean;60 readonly asOverweightServiced: {61 readonly overweightIndex: u64;62 readonly weightUsed: SpWeightsWeightV2Weight;63 } & Struct;64 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';65}6667/** @name CumulusPalletDmpQueuePageIndexData */68export interface CumulusPalletDmpQueuePageIndexData extends Struct {69 readonly beginUsed: u32;70 readonly endUsed: u32;71 readonly overweightCount: u64;72}7374/** @name CumulusPalletParachainSystemCall */75export interface CumulusPalletParachainSystemCall extends Enum {76 readonly isSetValidationData: boolean;77 readonly asSetValidationData: {78 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;79 } & Struct;80 readonly isSudoSendUpwardMessage: boolean;81 readonly asSudoSendUpwardMessage: {82 readonly message: Bytes;83 } & Struct;84 readonly isAuthorizeUpgrade: boolean;85 readonly asAuthorizeUpgrade: {86 readonly codeHash: H256;87 } & Struct;88 readonly isEnactAuthorizedUpgrade: boolean;89 readonly asEnactAuthorizedUpgrade: {90 readonly code: Bytes;91 } & Struct;92 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';93}9495/** @name CumulusPalletParachainSystemError */96export interface CumulusPalletParachainSystemError extends Enum {97 readonly isOverlappingUpgrades: boolean;98 readonly isProhibitedByPolkadot: boolean;99 readonly isTooBig: boolean;100 readonly isValidationDataNotAvailable: boolean;101 readonly isHostConfigurationNotAvailable: boolean;102 readonly isNotScheduled: boolean;103 readonly isNothingAuthorized: boolean;104 readonly isUnauthorized: boolean;105 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';106}107108/** @name CumulusPalletParachainSystemEvent */109export interface CumulusPalletParachainSystemEvent extends Enum {110 readonly isValidationFunctionStored: boolean;111 readonly isValidationFunctionApplied: boolean;112 readonly asValidationFunctionApplied: {113 readonly relayChainBlockNum: u32;114 } & Struct;115 readonly isValidationFunctionDiscarded: boolean;116 readonly isUpgradeAuthorized: boolean;117 readonly asUpgradeAuthorized: {118 readonly codeHash: H256;119 } & Struct;120 readonly isDownwardMessagesReceived: boolean;121 readonly asDownwardMessagesReceived: {122 readonly count: u32;123 } & Struct;124 readonly isDownwardMessagesProcessed: boolean;125 readonly asDownwardMessagesProcessed: {126 readonly weightUsed: SpWeightsWeightV2Weight;127 readonly dmqHead: H256;128 } & Struct;129 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';130}131132/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */133export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {134 readonly dmqMqcHead: H256;135 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;136 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;138}139140/** @name CumulusPalletXcmCall */141export interface CumulusPalletXcmCall extends Null {}142143/** @name CumulusPalletXcmError */144export interface CumulusPalletXcmError extends Null {}145146/** @name CumulusPalletXcmEvent */147export interface CumulusPalletXcmEvent extends Enum {148 readonly isInvalidFormat: boolean;149 readonly asInvalidFormat: U8aFixed;150 readonly isUnsupportedVersion: boolean;151 readonly asUnsupportedVersion: U8aFixed;152 readonly isExecutedDownward: boolean;153 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;154 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';155}156157/** @name CumulusPalletXcmpQueueCall */158export interface CumulusPalletXcmpQueueCall extends Enum {159 readonly isServiceOverweight: boolean;160 readonly asServiceOverweight: {161 readonly index: u64;162 readonly weightLimit: u64;163 } & Struct;164 readonly isSuspendXcmExecution: boolean;165 readonly isResumeXcmExecution: boolean;166 readonly isUpdateSuspendThreshold: boolean;167 readonly asUpdateSuspendThreshold: {168 readonly new_: u32;169 } & Struct;170 readonly isUpdateDropThreshold: boolean;171 readonly asUpdateDropThreshold: {172 readonly new_: u32;173 } & Struct;174 readonly isUpdateResumeThreshold: boolean;175 readonly asUpdateResumeThreshold: {176 readonly new_: u32;177 } & Struct;178 readonly isUpdateThresholdWeight: boolean;179 readonly asUpdateThresholdWeight: {180 readonly new_: u64;181 } & Struct;182 readonly isUpdateWeightRestrictDecay: boolean;183 readonly asUpdateWeightRestrictDecay: {184 readonly new_: u64;185 } & Struct;186 readonly isUpdateXcmpMaxIndividualWeight: boolean;187 readonly asUpdateXcmpMaxIndividualWeight: {188 readonly new_: u64;189 } & Struct;190 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';191}192193/** @name CumulusPalletXcmpQueueError */194export interface CumulusPalletXcmpQueueError extends Enum {195 readonly isFailedToSend: boolean;196 readonly isBadXcmOrigin: boolean;197 readonly isBadXcm: boolean;198 readonly isBadOverweightIndex: boolean;199 readonly isWeightOverLimit: boolean;200 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';201}202203/** @name CumulusPalletXcmpQueueEvent */204export interface CumulusPalletXcmpQueueEvent extends Enum {205 readonly isSuccess: boolean;206 readonly asSuccess: {207 readonly messageHash: Option<H256>;208 readonly weight: SpWeightsWeightV2Weight;209 } & Struct;210 readonly isFail: boolean;211 readonly asFail: {212 readonly messageHash: Option<H256>;213 readonly error: XcmV2TraitsError;214 readonly weight: SpWeightsWeightV2Weight;215 } & Struct;216 readonly isBadVersion: boolean;217 readonly asBadVersion: {218 readonly messageHash: Option<H256>;219 } & Struct;220 readonly isBadFormat: boolean;221 readonly asBadFormat: {222 readonly messageHash: Option<H256>;223 } & Struct;224 readonly isUpwardMessageSent: boolean;225 readonly asUpwardMessageSent: {226 readonly messageHash: Option<H256>;227 } & Struct;228 readonly isXcmpMessageSent: boolean;229 readonly asXcmpMessageSent: {230 readonly messageHash: Option<H256>;231 } & Struct;232 readonly isOverweightEnqueued: boolean;233 readonly asOverweightEnqueued: {234 readonly sender: u32;235 readonly sentAt: u32;236 readonly index: u64;237 readonly required: SpWeightsWeightV2Weight;238 } & Struct;239 readonly isOverweightServiced: boolean;240 readonly asOverweightServiced: {241 readonly index: u64;242 readonly used: SpWeightsWeightV2Weight;243 } & Struct;244 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';245}246247/** @name CumulusPalletXcmpQueueInboundChannelDetails */248export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {249 readonly sender: u32;250 readonly state: CumulusPalletXcmpQueueInboundState;251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;252}253254/** @name CumulusPalletXcmpQueueInboundState */255export interface CumulusPalletXcmpQueueInboundState extends Enum {256 readonly isOk: boolean;257 readonly isSuspended: boolean;258 readonly type: 'Ok' | 'Suspended';259}260261/** @name CumulusPalletXcmpQueueOutboundChannelDetails */262export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {263 readonly recipient: u32;264 readonly state: CumulusPalletXcmpQueueOutboundState;265 readonly signalsExist: bool;266 readonly firstIndex: u16;267 readonly lastIndex: u16;268}269270/** @name CumulusPalletXcmpQueueOutboundState */271export interface CumulusPalletXcmpQueueOutboundState extends Enum {272 readonly isOk: boolean;273 readonly isSuspended: boolean;274 readonly type: 'Ok' | 'Suspended';275}276277/** @name CumulusPalletXcmpQueueQueueConfigData */278export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {279 readonly suspendThreshold: u32;280 readonly dropThreshold: u32;281 readonly resumeThreshold: u32;282 readonly thresholdWeight: SpWeightsWeightV2Weight;283 readonly weightRestrictDecay: SpWeightsWeightV2Weight;284 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;285}286287/** @name CumulusPrimitivesParachainInherentParachainInherentData */288export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {289 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;290 readonly relayChainState: SpTrieStorageProof;291 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;292 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;293}294295/** @name EthbloomBloom */296export interface EthbloomBloom extends U8aFixed {}297298/** @name EthereumBlock */299export interface EthereumBlock extends Struct {300 readonly header: EthereumHeader;301 readonly transactions: Vec<EthereumTransactionTransactionV2>;302 readonly ommers: Vec<EthereumHeader>;303}304305/** @name EthereumHeader */306export interface EthereumHeader extends Struct {307 readonly parentHash: H256;308 readonly ommersHash: H256;309 readonly beneficiary: H160;310 readonly stateRoot: H256;311 readonly transactionsRoot: H256;312 readonly receiptsRoot: H256;313 readonly logsBloom: EthbloomBloom;314 readonly difficulty: U256;315 readonly number: U256;316 readonly gasLimit: U256;317 readonly gasUsed: U256;318 readonly timestamp: u64;319 readonly extraData: Bytes;320 readonly mixHash: H256;321 readonly nonce: EthereumTypesHashH64;322}323324/** @name EthereumLog */325export interface EthereumLog extends Struct {326 readonly address: H160;327 readonly topics: Vec<H256>;328 readonly data: Bytes;329}330331/** @name EthereumReceiptEip658ReceiptData */332export interface EthereumReceiptEip658ReceiptData extends Struct {333 readonly statusCode: u8;334 readonly usedGas: U256;335 readonly logsBloom: EthbloomBloom;336 readonly logs: Vec<EthereumLog>;337}338339/** @name EthereumReceiptReceiptV3 */340export interface EthereumReceiptReceiptV3 extends Enum {341 readonly isLegacy: boolean;342 readonly asLegacy: EthereumReceiptEip658ReceiptData;343 readonly isEip2930: boolean;344 readonly asEip2930: EthereumReceiptEip658ReceiptData;345 readonly isEip1559: boolean;346 readonly asEip1559: EthereumReceiptEip658ReceiptData;347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';348}349350/** @name EthereumTransactionAccessListItem */351export interface EthereumTransactionAccessListItem extends Struct {352 readonly address: H160;353 readonly storageKeys: Vec<H256>;354}355356/** @name EthereumTransactionEip1559Transaction */357export interface EthereumTransactionEip1559Transaction extends Struct {358 readonly chainId: u64;359 readonly nonce: U256;360 readonly maxPriorityFeePerGas: U256;361 readonly maxFeePerGas: U256;362 readonly gasLimit: U256;363 readonly action: EthereumTransactionTransactionAction;364 readonly value: U256;365 readonly input: Bytes;366 readonly accessList: Vec<EthereumTransactionAccessListItem>;367 readonly oddYParity: bool;368 readonly r: H256;369 readonly s: H256;370}371372/** @name EthereumTransactionEip2930Transaction */373export interface EthereumTransactionEip2930Transaction extends Struct {374 readonly chainId: u64;375 readonly nonce: U256;376 readonly gasPrice: U256;377 readonly gasLimit: U256;378 readonly action: EthereumTransactionTransactionAction;379 readonly value: U256;380 readonly input: Bytes;381 readonly accessList: Vec<EthereumTransactionAccessListItem>;382 readonly oddYParity: bool;383 readonly r: H256;384 readonly s: H256;385}386387/** @name EthereumTransactionLegacyTransaction */388export interface EthereumTransactionLegacyTransaction extends Struct {389 readonly nonce: U256;390 readonly gasPrice: U256;391 readonly gasLimit: U256;392 readonly action: EthereumTransactionTransactionAction;393 readonly value: U256;394 readonly input: Bytes;395 readonly signature: EthereumTransactionTransactionSignature;396}397398/** @name EthereumTransactionTransactionAction */399export interface EthereumTransactionTransactionAction extends Enum {400 readonly isCall: boolean;401 readonly asCall: H160;402 readonly isCreate: boolean;403 readonly type: 'Call' | 'Create';404}405406/** @name EthereumTransactionTransactionSignature */407export interface EthereumTransactionTransactionSignature extends Struct {408 readonly v: u64;409 readonly r: H256;410 readonly s: H256;411}412413/** @name EthereumTransactionTransactionV2 */414export interface EthereumTransactionTransactionV2 extends Enum {415 readonly isLegacy: boolean;416 readonly asLegacy: EthereumTransactionLegacyTransaction;417 readonly isEip2930: boolean;418 readonly asEip2930: EthereumTransactionEip2930Transaction;419 readonly isEip1559: boolean;420 readonly asEip1559: EthereumTransactionEip1559Transaction;421 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';422}423424/** @name EthereumTypesHashH64 */425export interface EthereumTypesHashH64 extends U8aFixed {}426427/** @name EvmCoreErrorExitError */428export interface EvmCoreErrorExitError extends Enum {429 readonly isStackUnderflow: boolean;430 readonly isStackOverflow: boolean;431 readonly isInvalidJump: boolean;432 readonly isInvalidRange: boolean;433 readonly isDesignatedInvalid: boolean;434 readonly isCallTooDeep: boolean;435 readonly isCreateCollision: boolean;436 readonly isCreateContractLimit: boolean;437 readonly isOutOfOffset: boolean;438 readonly isOutOfGas: boolean;439 readonly isOutOfFund: boolean;440 readonly isPcUnderflow: boolean;441 readonly isCreateEmpty: boolean;442 readonly isOther: boolean;443 readonly asOther: Text;444 readonly isInvalidCode: boolean;445 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';446}447448/** @name EvmCoreErrorExitFatal */449export interface EvmCoreErrorExitFatal extends Enum {450 readonly isNotSupported: boolean;451 readonly isUnhandledInterrupt: boolean;452 readonly isCallErrorAsFatal: boolean;453 readonly asCallErrorAsFatal: EvmCoreErrorExitError;454 readonly isOther: boolean;455 readonly asOther: Text;456 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';457}458459/** @name EvmCoreErrorExitReason */460export interface EvmCoreErrorExitReason extends Enum {461 readonly isSucceed: boolean;462 readonly asSucceed: EvmCoreErrorExitSucceed;463 readonly isError: boolean;464 readonly asError: EvmCoreErrorExitError;465 readonly isRevert: boolean;466 readonly asRevert: EvmCoreErrorExitRevert;467 readonly isFatal: boolean;468 readonly asFatal: EvmCoreErrorExitFatal;469 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';470}471472/** @name EvmCoreErrorExitRevert */473export interface EvmCoreErrorExitRevert extends Enum {474 readonly isReverted: boolean;475 readonly type: 'Reverted';476}477478/** @name EvmCoreErrorExitSucceed */479export interface EvmCoreErrorExitSucceed extends Enum {480 readonly isStopped: boolean;481 readonly isReturned: boolean;482 readonly isSuicided: boolean;483 readonly type: 'Stopped' | 'Returned' | 'Suicided';484}485486/** @name FpRpcTransactionStatus */487export interface FpRpcTransactionStatus extends Struct {488 readonly transactionHash: H256;489 readonly transactionIndex: u32;490 readonly from: H160;491 readonly to: Option<H160>;492 readonly contractAddress: Option<H160>;493 readonly logs: Vec<EthereumLog>;494 readonly logsBloom: EthbloomBloom;495}496497/** @name FrameSupportDispatchDispatchClass */498export interface FrameSupportDispatchDispatchClass extends Enum {499 readonly isNormal: boolean;500 readonly isOperational: boolean;501 readonly isMandatory: boolean;502 readonly type: 'Normal' | 'Operational' | 'Mandatory';503}504505/** @name FrameSupportDispatchDispatchInfo */506export interface FrameSupportDispatchDispatchInfo extends Struct {507 readonly weight: SpWeightsWeightV2Weight;508 readonly class: FrameSupportDispatchDispatchClass;509 readonly paysFee: FrameSupportDispatchPays;510}511512/** @name FrameSupportDispatchPays */513export interface FrameSupportDispatchPays extends Enum {514 readonly isYes: boolean;515 readonly isNo: boolean;516 readonly type: 'Yes' | 'No';517}518519/** @name FrameSupportDispatchPerDispatchClassU32 */520export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {521 readonly normal: u32;522 readonly operational: u32;523 readonly mandatory: u32;524}525526/** @name FrameSupportDispatchPerDispatchClassWeight */527export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {528 readonly normal: SpWeightsWeightV2Weight;529 readonly operational: SpWeightsWeightV2Weight;530 readonly mandatory: SpWeightsWeightV2Weight;531}532533/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */534export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {535 readonly normal: FrameSystemLimitsWeightsPerClass;536 readonly operational: FrameSystemLimitsWeightsPerClass;537 readonly mandatory: FrameSystemLimitsWeightsPerClass;538}539540/** @name FrameSupportPalletId */541export interface FrameSupportPalletId extends U8aFixed {}542543/** @name FrameSupportTokensMiscBalanceStatus */544export interface FrameSupportTokensMiscBalanceStatus extends Enum {545 readonly isFree: boolean;546 readonly isReserved: boolean;547 readonly type: 'Free' | 'Reserved';548}549550/** @name FrameSystemAccountInfo */551export interface FrameSystemAccountInfo extends Struct {552 readonly nonce: u32;553 readonly consumers: u32;554 readonly providers: u32;555 readonly sufficients: u32;556 readonly data: PalletBalancesAccountData;557}558559/** @name FrameSystemCall */560export interface FrameSystemCall extends Enum {561 readonly isRemark: boolean;562 readonly asRemark: {563 readonly remark: Bytes;564 } & Struct;565 readonly isSetHeapPages: boolean;566 readonly asSetHeapPages: {567 readonly pages: u64;568 } & Struct;569 readonly isSetCode: boolean;570 readonly asSetCode: {571 readonly code: Bytes;572 } & Struct;573 readonly isSetCodeWithoutChecks: boolean;574 readonly asSetCodeWithoutChecks: {575 readonly code: Bytes;576 } & Struct;577 readonly isSetStorage: boolean;578 readonly asSetStorage: {579 readonly items: Vec<ITuple<[Bytes, Bytes]>>;580 } & Struct;581 readonly isKillStorage: boolean;582 readonly asKillStorage: {583 readonly keys_: Vec<Bytes>;584 } & Struct;585 readonly isKillPrefix: boolean;586 readonly asKillPrefix: {587 readonly prefix: Bytes;588 readonly subkeys: u32;589 } & Struct;590 readonly isRemarkWithEvent: boolean;591 readonly asRemarkWithEvent: {592 readonly remark: Bytes;593 } & Struct;594 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';595}596597/** @name FrameSystemError */598export interface FrameSystemError extends Enum {599 readonly isInvalidSpecName: boolean;600 readonly isSpecVersionNeedsToIncrease: boolean;601 readonly isFailedToExtractRuntimeVersion: boolean;602 readonly isNonDefaultComposite: boolean;603 readonly isNonZeroRefCount: boolean;604 readonly isCallFiltered: boolean;605 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';606}607608/** @name FrameSystemEvent */609export interface FrameSystemEvent extends Enum {610 readonly isExtrinsicSuccess: boolean;611 readonly asExtrinsicSuccess: {612 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;613 } & Struct;614 readonly isExtrinsicFailed: boolean;615 readonly asExtrinsicFailed: {616 readonly dispatchError: SpRuntimeDispatchError;617 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;618 } & Struct;619 readonly isCodeUpdated: boolean;620 readonly isNewAccount: boolean;621 readonly asNewAccount: {622 readonly account: AccountId32;623 } & Struct;624 readonly isKilledAccount: boolean;625 readonly asKilledAccount: {626 readonly account: AccountId32;627 } & Struct;628 readonly isRemarked: boolean;629 readonly asRemarked: {630 readonly sender: AccountId32;631 readonly hash_: H256;632 } & Struct;633 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';634}635636/** @name FrameSystemEventRecord */637export interface FrameSystemEventRecord extends Struct {638 readonly phase: FrameSystemPhase;639 readonly event: Event;640 readonly topics: Vec<H256>;641}642643/** @name FrameSystemExtensionsCheckGenesis */644export interface FrameSystemExtensionsCheckGenesis extends Null {}645646/** @name FrameSystemExtensionsCheckNonce */647export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}648649/** @name FrameSystemExtensionsCheckSpecVersion */650export interface FrameSystemExtensionsCheckSpecVersion extends Null {}651652/** @name FrameSystemExtensionsCheckTxVersion */653export interface FrameSystemExtensionsCheckTxVersion extends Null {}654655/** @name FrameSystemExtensionsCheckWeight */656export interface FrameSystemExtensionsCheckWeight extends Null {}657658/** @name FrameSystemLastRuntimeUpgradeInfo */659export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {660 readonly specVersion: Compact<u32>;661 readonly specName: Text;662}663664/** @name FrameSystemLimitsBlockLength */665export interface FrameSystemLimitsBlockLength extends Struct {666 readonly max: FrameSupportDispatchPerDispatchClassU32;667}668669/** @name FrameSystemLimitsBlockWeights */670export interface FrameSystemLimitsBlockWeights extends Struct {671 readonly baseBlock: SpWeightsWeightV2Weight;672 readonly maxBlock: SpWeightsWeightV2Weight;673 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;674}675676/** @name FrameSystemLimitsWeightsPerClass */677export interface FrameSystemLimitsWeightsPerClass extends Struct {678 readonly baseExtrinsic: SpWeightsWeightV2Weight;679 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;680 readonly maxTotal: Option<SpWeightsWeightV2Weight>;681 readonly reserved: Option<SpWeightsWeightV2Weight>;682}683684/** @name FrameSystemPhase */685export interface FrameSystemPhase extends Enum {686 readonly isApplyExtrinsic: boolean;687 readonly asApplyExtrinsic: u32;688 readonly isFinalization: boolean;689 readonly isInitialization: boolean;690 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';691}692693/** @name OpalRuntimeRuntime */694export interface OpalRuntimeRuntime extends Null {}695696/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */697export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OpalRuntimeRuntimeCommonSessionKeys */703export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {704 readonly aura: SpConsensusAuraSr25519AppSr25519Public;705}706707/** @name OrmlTokensAccountData */708export interface OrmlTokensAccountData extends Struct {709 readonly free: u128;710 readonly reserved: u128;711 readonly frozen: u128;712}713714/** @name OrmlTokensBalanceLock */715export interface OrmlTokensBalanceLock extends Struct {716 readonly id: U8aFixed;717 readonly amount: u128;718}719720/** @name OrmlTokensModuleCall */721export interface OrmlTokensModuleCall extends Enum {722 readonly isTransfer: boolean;723 readonly asTransfer: {724 readonly dest: MultiAddress;725 readonly currencyId: PalletForeignAssetsAssetIds;726 readonly amount: Compact<u128>;727 } & Struct;728 readonly isTransferAll: boolean;729 readonly asTransferAll: {730 readonly dest: MultiAddress;731 readonly currencyId: PalletForeignAssetsAssetIds;732 readonly keepAlive: bool;733 } & Struct;734 readonly isTransferKeepAlive: boolean;735 readonly asTransferKeepAlive: {736 readonly dest: MultiAddress;737 readonly currencyId: PalletForeignAssetsAssetIds;738 readonly amount: Compact<u128>;739 } & Struct;740 readonly isForceTransfer: boolean;741 readonly asForceTransfer: {742 readonly source: MultiAddress;743 readonly dest: MultiAddress;744 readonly currencyId: PalletForeignAssetsAssetIds;745 readonly amount: Compact<u128>;746 } & Struct;747 readonly isSetBalance: boolean;748 readonly asSetBalance: {749 readonly who: MultiAddress;750 readonly currencyId: PalletForeignAssetsAssetIds;751 readonly newFree: Compact<u128>;752 readonly newReserved: Compact<u128>;753 } & Struct;754 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';755}756757/** @name OrmlTokensModuleError */758export interface OrmlTokensModuleError extends Enum {759 readonly isBalanceTooLow: boolean;760 readonly isAmountIntoBalanceFailed: boolean;761 readonly isLiquidityRestrictions: boolean;762 readonly isMaxLocksExceeded: boolean;763 readonly isKeepAlive: boolean;764 readonly isExistentialDeposit: boolean;765 readonly isDeadAccount: boolean;766 readonly isTooManyReserves: boolean;767 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';768}769770/** @name OrmlTokensModuleEvent */771export interface OrmlTokensModuleEvent extends Enum {772 readonly isEndowed: boolean;773 readonly asEndowed: {774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly who: AccountId32;776 readonly amount: u128;777 } & Struct;778 readonly isDustLost: boolean;779 readonly asDustLost: {780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly who: AccountId32;782 readonly amount: u128;783 } & Struct;784 readonly isTransfer: boolean;785 readonly asTransfer: {786 readonly currencyId: PalletForeignAssetsAssetIds;787 readonly from: AccountId32;788 readonly to: AccountId32;789 readonly amount: u128;790 } & Struct;791 readonly isReserved: boolean;792 readonly asReserved: {793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly who: AccountId32;795 readonly amount: u128;796 } & Struct;797 readonly isUnreserved: boolean;798 readonly asUnreserved: {799 readonly currencyId: PalletForeignAssetsAssetIds;800 readonly who: AccountId32;801 readonly amount: u128;802 } & Struct;803 readonly isReserveRepatriated: boolean;804 readonly asReserveRepatriated: {805 readonly currencyId: PalletForeignAssetsAssetIds;806 readonly from: AccountId32;807 readonly to: AccountId32;808 readonly amount: u128;809 readonly status: FrameSupportTokensMiscBalanceStatus;810 } & Struct;811 readonly isBalanceSet: boolean;812 readonly asBalanceSet: {813 readonly currencyId: PalletForeignAssetsAssetIds;814 readonly who: AccountId32;815 readonly free: u128;816 readonly reserved: u128;817 } & Struct;818 readonly isTotalIssuanceSet: boolean;819 readonly asTotalIssuanceSet: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly amount: u128;822 } & Struct;823 readonly isWithdrawn: boolean;824 readonly asWithdrawn: {825 readonly currencyId: PalletForeignAssetsAssetIds;826 readonly who: AccountId32;827 readonly amount: u128;828 } & Struct;829 readonly isSlashed: boolean;830 readonly asSlashed: {831 readonly currencyId: PalletForeignAssetsAssetIds;832 readonly who: AccountId32;833 readonly freeAmount: u128;834 readonly reservedAmount: u128;835 } & Struct;836 readonly isDeposited: boolean;837 readonly asDeposited: {838 readonly currencyId: PalletForeignAssetsAssetIds;839 readonly who: AccountId32;840 readonly amount: u128;841 } & Struct;842 readonly isLockSet: boolean;843 readonly asLockSet: {844 readonly lockId: U8aFixed;845 readonly currencyId: PalletForeignAssetsAssetIds;846 readonly who: AccountId32;847 readonly amount: u128;848 } & Struct;849 readonly isLockRemoved: boolean;850 readonly asLockRemoved: {851 readonly lockId: U8aFixed;852 readonly currencyId: PalletForeignAssetsAssetIds;853 readonly who: AccountId32;854 } & Struct;855 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';856}857858/** @name OrmlTokensReserveData */859export interface OrmlTokensReserveData extends Struct {860 readonly id: Null;861 readonly amount: u128;862}863864/** @name OrmlVestingModuleCall */865export interface OrmlVestingModuleCall extends Enum {866 readonly isClaim: boolean;867 readonly isVestedTransfer: boolean;868 readonly asVestedTransfer: {869 readonly dest: MultiAddress;870 readonly schedule: OrmlVestingVestingSchedule;871 } & Struct;872 readonly isUpdateVestingSchedules: boolean;873 readonly asUpdateVestingSchedules: {874 readonly who: MultiAddress;875 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;876 } & Struct;877 readonly isClaimFor: boolean;878 readonly asClaimFor: {879 readonly dest: MultiAddress;880 } & Struct;881 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';882}883884/** @name OrmlVestingModuleError */885export interface OrmlVestingModuleError extends Enum {886 readonly isZeroVestingPeriod: boolean;887 readonly isZeroVestingPeriodCount: boolean;888 readonly isInsufficientBalanceToLock: boolean;889 readonly isTooManyVestingSchedules: boolean;890 readonly isAmountLow: boolean;891 readonly isMaxVestingSchedulesExceeded: boolean;892 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';893}894895/** @name OrmlVestingModuleEvent */896export interface OrmlVestingModuleEvent extends Enum {897 readonly isVestingScheduleAdded: boolean;898 readonly asVestingScheduleAdded: {899 readonly from: AccountId32;900 readonly to: AccountId32;901 readonly vestingSchedule: OrmlVestingVestingSchedule;902 } & Struct;903 readonly isClaimed: boolean;904 readonly asClaimed: {905 readonly who: AccountId32;906 readonly amount: u128;907 } & Struct;908 readonly isVestingSchedulesUpdated: boolean;909 readonly asVestingSchedulesUpdated: {910 readonly who: AccountId32;911 } & Struct;912 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';913}914915/** @name OrmlVestingVestingSchedule */916export interface OrmlVestingVestingSchedule extends Struct {917 readonly start: u32;918 readonly period: u32;919 readonly periodCount: u32;920 readonly perPeriod: Compact<u128>;921}922923/** @name OrmlXtokensModuleCall */924export interface OrmlXtokensModuleCall extends Enum {925 readonly isTransfer: boolean;926 readonly asTransfer: {927 readonly currencyId: PalletForeignAssetsAssetIds;928 readonly amount: u128;929 readonly dest: XcmVersionedMultiLocation;930 readonly destWeightLimit: XcmV2WeightLimit;931 } & Struct;932 readonly isTransferMultiasset: boolean;933 readonly asTransferMultiasset: {934 readonly asset: XcmVersionedMultiAsset;935 readonly dest: XcmVersionedMultiLocation;936 readonly destWeightLimit: XcmV2WeightLimit;937 } & Struct;938 readonly isTransferWithFee: boolean;939 readonly asTransferWithFee: {940 readonly currencyId: PalletForeignAssetsAssetIds;941 readonly amount: u128;942 readonly fee: u128;943 readonly dest: XcmVersionedMultiLocation;944 readonly destWeightLimit: XcmV2WeightLimit;945 } & Struct;946 readonly isTransferMultiassetWithFee: boolean;947 readonly asTransferMultiassetWithFee: {948 readonly asset: XcmVersionedMultiAsset;949 readonly fee: XcmVersionedMultiAsset;950 readonly dest: XcmVersionedMultiLocation;951 readonly destWeightLimit: XcmV2WeightLimit;952 } & Struct;953 readonly isTransferMulticurrencies: boolean;954 readonly asTransferMulticurrencies: {955 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;956 readonly feeItem: u32;957 readonly dest: XcmVersionedMultiLocation;958 readonly destWeightLimit: XcmV2WeightLimit;959 } & Struct;960 readonly isTransferMultiassets: boolean;961 readonly asTransferMultiassets: {962 readonly assets: XcmVersionedMultiAssets;963 readonly feeItem: u32;964 readonly dest: XcmVersionedMultiLocation;965 readonly destWeightLimit: XcmV2WeightLimit;966 } & Struct;967 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';968}969970/** @name OrmlXtokensModuleError */971export interface OrmlXtokensModuleError extends Enum {972 readonly isAssetHasNoReserve: boolean;973 readonly isNotCrossChainTransfer: boolean;974 readonly isInvalidDest: boolean;975 readonly isNotCrossChainTransferableCurrency: boolean;976 readonly isUnweighableMessage: boolean;977 readonly isXcmExecutionFailed: boolean;978 readonly isCannotReanchor: boolean;979 readonly isInvalidAncestry: boolean;980 readonly isInvalidAsset: boolean;981 readonly isDestinationNotInvertible: boolean;982 readonly isBadVersion: boolean;983 readonly isDistinctReserveForAssetAndFee: boolean;984 readonly isZeroFee: boolean;985 readonly isZeroAmount: boolean;986 readonly isTooManyAssetsBeingSent: boolean;987 readonly isAssetIndexNonExistent: boolean;988 readonly isFeeNotEnough: boolean;989 readonly isNotSupportedMultiLocation: boolean;990 readonly isMinXcmFeeNotDefined: boolean;991 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';992}993994/** @name OrmlXtokensModuleEvent */995export interface OrmlXtokensModuleEvent extends Enum {996 readonly isTransferredMultiAssets: boolean;997 readonly asTransferredMultiAssets: {998 readonly sender: AccountId32;999 readonly assets: XcmV1MultiassetMultiAssets;1000 readonly fee: XcmV1MultiAsset;1001 readonly dest: XcmV1MultiLocation;1002 } & Struct;1003 readonly type: 'TransferredMultiAssets';1004}10051006/** @name PalletAppPromotionCall */1007export interface PalletAppPromotionCall extends Enum {1008 readonly isSetAdminAddress: boolean;1009 readonly asSetAdminAddress: {1010 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1011 } & Struct;1012 readonly isStake: boolean;1013 readonly asStake: {1014 readonly amount: u128;1015 } & Struct;1016 readonly isUnstake: boolean;1017 readonly isSponsorCollection: boolean;1018 readonly asSponsorCollection: {1019 readonly collectionId: u32;1020 } & Struct;1021 readonly isStopSponsoringCollection: boolean;1022 readonly asStopSponsoringCollection: {1023 readonly collectionId: u32;1024 } & Struct;1025 readonly isSponsorContract: boolean;1026 readonly asSponsorContract: {1027 readonly contractId: H160;1028 } & Struct;1029 readonly isStopSponsoringContract: boolean;1030 readonly asStopSponsoringContract: {1031 readonly contractId: H160;1032 } & Struct;1033 readonly isPayoutStakers: boolean;1034 readonly asPayoutStakers: {1035 readonly stakersNumber: Option<u8>;1036 } & Struct;1037 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1038}10391040/** @name PalletAppPromotionError */1041export interface PalletAppPromotionError extends Enum {1042 readonly isAdminNotSet: boolean;1043 readonly isNoPermission: boolean;1044 readonly isNotSufficientFunds: boolean;1045 readonly isPendingForBlockOverflow: boolean;1046 readonly isSponsorNotSet: boolean;1047 readonly isIncorrectLockedBalanceOperation: boolean;1048 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1049}10501051/** @name PalletAppPromotionEvent */1052export interface PalletAppPromotionEvent extends Enum {1053 readonly isStakingRecalculation: boolean;1054 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1055 readonly isStake: boolean;1056 readonly asStake: ITuple<[AccountId32, u128]>;1057 readonly isUnstake: boolean;1058 readonly asUnstake: ITuple<[AccountId32, u128]>;1059 readonly isSetAdmin: boolean;1060 readonly asSetAdmin: AccountId32;1061 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1062}10631064/** @name PalletAuthorshipCall */1065export interface PalletAuthorshipCall extends Enum {1066 readonly isSetUncles: boolean;1067 readonly asSetUncles: {1068 readonly newUncles: Vec<SpRuntimeHeader>;1069 } & Struct;1070 readonly type: 'SetUncles';1071}10721073/** @name PalletAuthorshipError */1074export interface PalletAuthorshipError extends Enum {1075 readonly isInvalidUncleParent: boolean;1076 readonly isUnclesAlreadySet: boolean;1077 readonly isTooManyUncles: boolean;1078 readonly isGenesisUncle: boolean;1079 readonly isTooHighUncle: boolean;1080 readonly isUncleAlreadyIncluded: boolean;1081 readonly isOldUncle: boolean;1082 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1083}10841085/** @name PalletAuthorshipUncleEntryItem */1086export interface PalletAuthorshipUncleEntryItem extends Enum {1087 readonly isInclusionHeight: boolean;1088 readonly asInclusionHeight: u32;1089 readonly isUncle: boolean;1090 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1091 readonly type: 'InclusionHeight' | 'Uncle';1092}10931094/** @name PalletBalancesAccountData */1095export interface PalletBalancesAccountData extends Struct {1096 readonly free: u128;1097 readonly reserved: u128;1098 readonly miscFrozen: u128;1099 readonly feeFrozen: u128;1100}11011102/** @name PalletBalancesBalanceLock */1103export interface PalletBalancesBalanceLock extends Struct {1104 readonly id: U8aFixed;1105 readonly amount: u128;1106 readonly reasons: PalletBalancesReasons;1107}11081109/** @name PalletBalancesCall */1110export interface PalletBalancesCall extends Enum {1111 readonly isTransfer: boolean;1112 readonly asTransfer: {1113 readonly dest: MultiAddress;1114 readonly value: Compact<u128>;1115 } & Struct;1116 readonly isSetBalance: boolean;1117 readonly asSetBalance: {1118 readonly who: MultiAddress;1119 readonly newFree: Compact<u128>;1120 readonly newReserved: Compact<u128>;1121 } & Struct;1122 readonly isForceTransfer: boolean;1123 readonly asForceTransfer: {1124 readonly source: MultiAddress;1125 readonly dest: MultiAddress;1126 readonly value: Compact<u128>;1127 } & Struct;1128 readonly isTransferKeepAlive: boolean;1129 readonly asTransferKeepAlive: {1130 readonly dest: MultiAddress;1131 readonly value: Compact<u128>;1132 } & Struct;1133 readonly isTransferAll: boolean;1134 readonly asTransferAll: {1135 readonly dest: MultiAddress;1136 readonly keepAlive: bool;1137 } & Struct;1138 readonly isForceUnreserve: boolean;1139 readonly asForceUnreserve: {1140 readonly who: MultiAddress;1141 readonly amount: u128;1142 } & Struct;1143 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1144}11451146/** @name PalletBalancesError */1147export interface PalletBalancesError extends Enum {1148 readonly isVestingBalance: boolean;1149 readonly isLiquidityRestrictions: boolean;1150 readonly isInsufficientBalance: boolean;1151 readonly isExistentialDeposit: boolean;1152 readonly isKeepAlive: boolean;1153 readonly isExistingVestingSchedule: boolean;1154 readonly isDeadAccount: boolean;1155 readonly isTooManyReserves: boolean;1156 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1157}11581159/** @name PalletBalancesEvent */1160export interface PalletBalancesEvent extends Enum {1161 readonly isEndowed: boolean;1162 readonly asEndowed: {1163 readonly account: AccountId32;1164 readonly freeBalance: u128;1165 } & Struct;1166 readonly isDustLost: boolean;1167 readonly asDustLost: {1168 readonly account: AccountId32;1169 readonly amount: u128;1170 } & Struct;1171 readonly isTransfer: boolean;1172 readonly asTransfer: {1173 readonly from: AccountId32;1174 readonly to: AccountId32;1175 readonly amount: u128;1176 } & Struct;1177 readonly isBalanceSet: boolean;1178 readonly asBalanceSet: {1179 readonly who: AccountId32;1180 readonly free: u128;1181 readonly reserved: u128;1182 } & Struct;1183 readonly isReserved: boolean;1184 readonly asReserved: {1185 readonly who: AccountId32;1186 readonly amount: u128;1187 } & Struct;1188 readonly isUnreserved: boolean;1189 readonly asUnreserved: {1190 readonly who: AccountId32;1191 readonly amount: u128;1192 } & Struct;1193 readonly isReserveRepatriated: boolean;1194 readonly asReserveRepatriated: {1195 readonly from: AccountId32;1196 readonly to: AccountId32;1197 readonly amount: u128;1198 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1199 } & Struct;1200 readonly isDeposit: boolean;1201 readonly asDeposit: {1202 readonly who: AccountId32;1203 readonly amount: u128;1204 } & Struct;1205 readonly isWithdraw: boolean;1206 readonly asWithdraw: {1207 readonly who: AccountId32;1208 readonly amount: u128;1209 } & Struct;1210 readonly isSlashed: boolean;1211 readonly asSlashed: {1212 readonly who: AccountId32;1213 readonly amount: u128;1214 } & Struct;1215 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1216}12171218/** @name PalletBalancesReasons */1219export interface PalletBalancesReasons extends Enum {1220 readonly isFee: boolean;1221 readonly isMisc: boolean;1222 readonly isAll: boolean;1223 readonly type: 'Fee' | 'Misc' | 'All';1224}12251226/** @name PalletBalancesReserveData */1227export interface PalletBalancesReserveData extends Struct {1228 readonly id: U8aFixed;1229 readonly amount: u128;1230}12311232/** @name PalletCollatorSelectionCall */1233export interface PalletCollatorSelectionCall extends Enum {1234 readonly isAddInvulnerable: boolean;1235 readonly asAddInvulnerable: {1236 readonly new_: AccountId32;1237 } & Struct;1238 readonly isRemoveInvulnerable: boolean;1239 readonly asRemoveInvulnerable: {1240 readonly who: AccountId32;1241 } & Struct;1242 readonly isGetLicense: boolean;1243 readonly isOnboard: boolean;1244 readonly isOffboard: boolean;1245 readonly isReleaseLicense: boolean;1246 readonly isForceRevokeLicense: boolean;1247 readonly asForceRevokeLicense: {1248 readonly who: AccountId32;1249 } & Struct;1250 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';1251}12521253/** @name PalletCollatorSelectionError */1254export interface PalletCollatorSelectionError extends Enum {1255 readonly isTooManyCandidates: boolean;1256 readonly isUnknown: boolean;1257 readonly isPermission: boolean;1258 readonly isAlreadyHoldingLicense: boolean;1259 readonly isNoLicense: boolean;1260 readonly isAlreadyCandidate: boolean;1261 readonly isNotCandidate: boolean;1262 readonly isTooManyInvulnerables: boolean;1263 readonly isTooFewInvulnerables: boolean;1264 readonly isAlreadyInvulnerable: boolean;1265 readonly isNotInvulnerable: boolean;1266 readonly isNoAssociatedValidatorId: boolean;1267 readonly isValidatorNotRegistered: boolean;1268 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1269}12701271/** @name PalletCollatorSelectionEvent */1272export interface PalletCollatorSelectionEvent extends Enum {1273 readonly isInvulnerableAdded: boolean;1274 readonly asInvulnerableAdded: {1275 readonly invulnerable: AccountId32;1276 } & Struct;1277 readonly isInvulnerableRemoved: boolean;1278 readonly asInvulnerableRemoved: {1279 readonly invulnerable: AccountId32;1280 } & Struct;1281 readonly isLicenseObtained: boolean;1282 readonly asLicenseObtained: {1283 readonly accountId: AccountId32;1284 readonly deposit: u128;1285 } & Struct;1286 readonly isLicenseForfeited: boolean;1287 readonly asLicenseForfeited: {1288 readonly accountId: AccountId32;1289 readonly depositReturned: u128;1290 } & Struct;1291 readonly isCandidateAdded: boolean;1292 readonly asCandidateAdded: {1293 readonly accountId: AccountId32;1294 } & Struct;1295 readonly isCandidateRemoved: boolean;1296 readonly asCandidateRemoved: {1297 readonly accountId: AccountId32;1298 } & Struct;1299 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';1300}13011302/** @name PalletCommonError */1303export interface PalletCommonError extends Enum {1304 readonly isCollectionNotFound: boolean;1305 readonly isMustBeTokenOwner: boolean;1306 readonly isNoPermission: boolean;1307 readonly isCantDestroyNotEmptyCollection: boolean;1308 readonly isPublicMintingNotAllowed: boolean;1309 readonly isAddressNotInAllowlist: boolean;1310 readonly isCollectionNameLimitExceeded: boolean;1311 readonly isCollectionDescriptionLimitExceeded: boolean;1312 readonly isCollectionTokenPrefixLimitExceeded: boolean;1313 readonly isTotalCollectionsLimitExceeded: boolean;1314 readonly isCollectionAdminCountExceeded: boolean;1315 readonly isCollectionLimitBoundsExceeded: boolean;1316 readonly isOwnerPermissionsCantBeReverted: boolean;1317 readonly isTransferNotAllowed: boolean;1318 readonly isAccountTokenLimitExceeded: boolean;1319 readonly isCollectionTokenLimitExceeded: boolean;1320 readonly isMetadataFlagFrozen: boolean;1321 readonly isTokenNotFound: boolean;1322 readonly isTokenValueTooLow: boolean;1323 readonly isApprovedValueTooLow: boolean;1324 readonly isCantApproveMoreThanOwned: boolean;1325 readonly isAddressIsZero: boolean;1326 readonly isUnsupportedOperation: boolean;1327 readonly isNotSufficientFounds: boolean;1328 readonly isUserIsNotAllowedToNest: boolean;1329 readonly isSourceCollectionIsNotAllowedToNest: boolean;1330 readonly isCollectionFieldSizeExceeded: boolean;1331 readonly isNoSpaceForProperty: boolean;1332 readonly isPropertyLimitReached: boolean;1333 readonly isPropertyKeyIsTooLong: boolean;1334 readonly isInvalidCharacterInPropertyKey: boolean;1335 readonly isEmptyPropertyKey: boolean;1336 readonly isCollectionIsExternal: boolean;1337 readonly isCollectionIsInternal: boolean;1338 readonly isConfirmSponsorshipFail: boolean;1339 readonly isUserIsNotCollectionAdmin: boolean;1340 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';1341}13421343/** @name PalletCommonEvent */1344export interface PalletCommonEvent extends Enum {1345 readonly isCollectionCreated: boolean;1346 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1347 readonly isCollectionDestroyed: boolean;1348 readonly asCollectionDestroyed: u32;1349 readonly isItemCreated: boolean;1350 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1351 readonly isItemDestroyed: boolean;1352 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1353 readonly isTransfer: boolean;1354 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1355 readonly isApproved: boolean;1356 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1357 readonly isApprovedForAll: boolean;1358 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1359 readonly isCollectionPropertySet: boolean;1360 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1361 readonly isCollectionPropertyDeleted: boolean;1362 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1363 readonly isTokenPropertySet: boolean;1364 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1365 readonly isTokenPropertyDeleted: boolean;1366 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1367 readonly isPropertyPermissionSet: boolean;1368 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1369 readonly isAllowListAddressAdded: boolean;1370 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1371 readonly isAllowListAddressRemoved: boolean;1372 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1373 readonly isCollectionAdminAdded: boolean;1374 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1375 readonly isCollectionAdminRemoved: boolean;1376 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1377 readonly isCollectionLimitSet: boolean;1378 readonly asCollectionLimitSet: u32;1379 readonly isCollectionOwnerChanged: boolean;1380 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1381 readonly isCollectionPermissionSet: boolean;1382 readonly asCollectionPermissionSet: u32;1383 readonly isCollectionSponsorSet: boolean;1384 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1385 readonly isSponsorshipConfirmed: boolean;1386 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1387 readonly isCollectionSponsorRemoved: boolean;1388 readonly asCollectionSponsorRemoved: u32;1389 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1390}13911392/** @name PalletConfigurationAppPromotionConfiguration */1393export interface PalletConfigurationAppPromotionConfiguration extends Struct {1394 readonly recalculationInterval: Option<u32>;1395 readonly pendingInterval: Option<u32>;1396 readonly intervalIncome: Option<Perbill>;1397 readonly maxStakersPerCalculation: Option<u8>;1398}13991400/** @name PalletConfigurationCall */1401export interface PalletConfigurationCall extends Enum {1402 readonly isSetWeightToFeeCoefficientOverride: boolean;1403 readonly asSetWeightToFeeCoefficientOverride: {1404 readonly coeff: Option<u64>;1405 } & Struct;1406 readonly isSetMinGasPriceOverride: boolean;1407 readonly asSetMinGasPriceOverride: {1408 readonly coeff: Option<u64>;1409 } & Struct;1410 readonly isSetXcmAllowedLocations: boolean;1411 readonly asSetXcmAllowedLocations: {1412 readonly locations: Option<Vec<XcmV1MultiLocation>>;1413 } & Struct;1414 readonly isSetAppPromotionConfigurationOverride: boolean;1415 readonly asSetAppPromotionConfigurationOverride: {1416 readonly configuration: PalletConfigurationAppPromotionConfiguration;1417 } & Struct;1418 readonly isSetCollatorSelectionDesiredCollators: boolean;1419 readonly asSetCollatorSelectionDesiredCollators: {1420 readonly max: Option<u32>;1421 } & Struct;1422 readonly isSetCollatorSelectionLicenseBond: boolean;1423 readonly asSetCollatorSelectionLicenseBond: {1424 readonly amount: Option<u128>;1425 } & Struct;1426 readonly isSetCollatorSelectionKickThreshold: boolean;1427 readonly asSetCollatorSelectionKickThreshold: {1428 readonly threshold: Option<u32>;1429 } & Struct;1430 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1431}14321433/** @name PalletConfigurationError */1434export interface PalletConfigurationError extends Enum {1435 readonly isInconsistentConfiguration: boolean;1436 readonly type: 'InconsistentConfiguration';1437}14381439/** @name PalletConfigurationEvent */1440export interface PalletConfigurationEvent extends Enum {1441 readonly isNewDesiredCollators: boolean;1442 readonly asNewDesiredCollators: {1443 readonly desiredCollators: Option<u32>;1444 } & Struct;1445 readonly isNewCollatorLicenseBond: boolean;1446 readonly asNewCollatorLicenseBond: {1447 readonly bondCost: Option<u128>;1448 } & Struct;1449 readonly isNewCollatorKickThreshold: boolean;1450 readonly asNewCollatorKickThreshold: {1451 readonly lengthInBlocks: Option<u32>;1452 } & Struct;1453 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1454}14551456/** @name PalletDataManagementCall */1457export interface PalletDataManagementCall extends Enum {1458 readonly isBegin: boolean;1459 readonly asBegin: {1460 readonly address: H160;1461 } & Struct;1462 readonly isSetData: boolean;1463 readonly asSetData: {1464 readonly address: H160;1465 readonly data: Vec<ITuple<[H256, H256]>>;1466 } & Struct;1467 readonly isFinish: boolean;1468 readonly asFinish: {1469 readonly address: H160;1470 readonly code: Bytes;1471 } & Struct;1472 readonly isInsertEthLogs: boolean;1473 readonly asInsertEthLogs: {1474 readonly logs: Vec<EthereumLog>;1475 } & Struct;1476 readonly isInsertEvents: boolean;1477 readonly asInsertEvents: {1478 readonly events: Vec<Bytes>;1479 } & Struct;1480 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1481}14821483/** @name PalletDataManagementError */1484export interface PalletDataManagementError extends Enum {1485 readonly isAccountNotEmpty: boolean;1486 readonly isAccountIsNotMigrating: boolean;1487 readonly isBadEvent: boolean;1488 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1489}14901491/** @name PalletDataManagementEvent */1492export interface PalletDataManagementEvent extends Enum {1493 readonly isTestEvent: boolean;1494 readonly type: 'TestEvent';1495}14961497/** @name PalletEthereumCall */1498export interface PalletEthereumCall extends Enum {1499 readonly isTransact: boolean;1500 readonly asTransact: {1501 readonly transaction: EthereumTransactionTransactionV2;1502 } & Struct;1503 readonly type: 'Transact';1504}15051506/** @name PalletEthereumError */1507export interface PalletEthereumError extends Enum {1508 readonly isInvalidSignature: boolean;1509 readonly isPreLogExists: boolean;1510 readonly type: 'InvalidSignature' | 'PreLogExists';1511}15121513/** @name PalletEthereumEvent */1514export interface PalletEthereumEvent extends Enum {1515 readonly isExecuted: boolean;1516 readonly asExecuted: {1517 readonly from: H160;1518 readonly to: H160;1519 readonly transactionHash: H256;1520 readonly exitReason: EvmCoreErrorExitReason;1521 } & Struct;1522 readonly type: 'Executed';1523}15241525/** @name PalletEthereumFakeTransactionFinalizer */1526export interface PalletEthereumFakeTransactionFinalizer extends Null {}15271528/** @name PalletEvmAccountBasicCrossAccountIdRepr */1529export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1530 readonly isSubstrate: boolean;1531 readonly asSubstrate: AccountId32;1532 readonly isEthereum: boolean;1533 readonly asEthereum: H160;1534 readonly type: 'Substrate' | 'Ethereum';1535}15361537/** @name PalletEvmCall */1538export interface PalletEvmCall extends Enum {1539 readonly isWithdraw: boolean;1540 readonly asWithdraw: {1541 readonly address: H160;1542 readonly value: u128;1543 } & Struct;1544 readonly isCall: boolean;1545 readonly asCall: {1546 readonly source: H160;1547 readonly target: H160;1548 readonly input: Bytes;1549 readonly value: U256;1550 readonly gasLimit: u64;1551 readonly maxFeePerGas: U256;1552 readonly maxPriorityFeePerGas: Option<U256>;1553 readonly nonce: Option<U256>;1554 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1555 } & Struct;1556 readonly isCreate: boolean;1557 readonly asCreate: {1558 readonly source: H160;1559 readonly init: Bytes;1560 readonly value: U256;1561 readonly gasLimit: u64;1562 readonly maxFeePerGas: U256;1563 readonly maxPriorityFeePerGas: Option<U256>;1564 readonly nonce: Option<U256>;1565 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1566 } & Struct;1567 readonly isCreate2: boolean;1568 readonly asCreate2: {1569 readonly source: H160;1570 readonly init: Bytes;1571 readonly salt: H256;1572 readonly value: U256;1573 readonly gasLimit: u64;1574 readonly maxFeePerGas: U256;1575 readonly maxPriorityFeePerGas: Option<U256>;1576 readonly nonce: Option<U256>;1577 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1578 } & Struct;1579 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1580}15811582/** @name PalletEvmCoderSubstrateError */1583export interface PalletEvmCoderSubstrateError extends Enum {1584 readonly isOutOfGas: boolean;1585 readonly isOutOfFund: boolean;1586 readonly type: 'OutOfGas' | 'OutOfFund';1587}15881589/** @name PalletEvmContractHelpersError */1590export interface PalletEvmContractHelpersError extends Enum {1591 readonly isNoPermission: boolean;1592 readonly isNoPendingSponsor: boolean;1593 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1594 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1595}15961597/** @name PalletEvmContractHelpersEvent */1598export interface PalletEvmContractHelpersEvent extends Enum {1599 readonly isContractSponsorSet: boolean;1600 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1601 readonly isContractSponsorshipConfirmed: boolean;1602 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1603 readonly isContractSponsorRemoved: boolean;1604 readonly asContractSponsorRemoved: H160;1605 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1606}16071608/** @name PalletEvmContractHelpersSponsoringModeT */1609export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1610 readonly isDisabled: boolean;1611 readonly isAllowlisted: boolean;1612 readonly isGenerous: boolean;1613 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1614}16151616/** @name PalletEvmError */1617export interface PalletEvmError extends Enum {1618 readonly isBalanceLow: boolean;1619 readonly isFeeOverflow: boolean;1620 readonly isPaymentOverflow: boolean;1621 readonly isWithdrawFailed: boolean;1622 readonly isGasPriceTooLow: boolean;1623 readonly isInvalidNonce: boolean;1624 readonly isGasLimitTooLow: boolean;1625 readonly isGasLimitTooHigh: boolean;1626 readonly isUndefined: boolean;1627 readonly isReentrancy: boolean;1628 readonly isTransactionMustComeFromEOA: boolean;1629 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1630}16311632/** @name PalletEvmEvent */1633export interface PalletEvmEvent extends Enum {1634 readonly isLog: boolean;1635 readonly asLog: {1636 readonly log: EthereumLog;1637 } & Struct;1638 readonly isCreated: boolean;1639 readonly asCreated: {1640 readonly address: H160;1641 } & Struct;1642 readonly isCreatedFailed: boolean;1643 readonly asCreatedFailed: {1644 readonly address: H160;1645 } & Struct;1646 readonly isExecuted: boolean;1647 readonly asExecuted: {1648 readonly address: H160;1649 } & Struct;1650 readonly isExecutedFailed: boolean;1651 readonly asExecutedFailed: {1652 readonly address: H160;1653 } & Struct;1654 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1655}16561657/** @name PalletForeignAssetsAssetIds */1658export interface PalletForeignAssetsAssetIds extends Enum {1659 readonly isForeignAssetId: boolean;1660 readonly asForeignAssetId: u32;1661 readonly isNativeAssetId: boolean;1662 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1663 readonly type: 'ForeignAssetId' | 'NativeAssetId';1664}16651666/** @name PalletForeignAssetsModuleAssetMetadata */1667export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1668 readonly name: Bytes;1669 readonly symbol: Bytes;1670 readonly decimals: u8;1671 readonly minimalBalance: u128;1672}16731674/** @name PalletForeignAssetsModuleCall */1675export interface PalletForeignAssetsModuleCall extends Enum {1676 readonly isRegisterForeignAsset: boolean;1677 readonly asRegisterForeignAsset: {1678 readonly owner: AccountId32;1679 readonly location: XcmVersionedMultiLocation;1680 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1681 } & Struct;1682 readonly isUpdateForeignAsset: boolean;1683 readonly asUpdateForeignAsset: {1684 readonly foreignAssetId: u32;1685 readonly location: XcmVersionedMultiLocation;1686 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1687 } & Struct;1688 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1689}16901691/** @name PalletForeignAssetsModuleError */1692export interface PalletForeignAssetsModuleError extends Enum {1693 readonly isBadLocation: boolean;1694 readonly isMultiLocationExisted: boolean;1695 readonly isAssetIdNotExists: boolean;1696 readonly isAssetIdExisted: boolean;1697 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1698}16991700/** @name PalletForeignAssetsModuleEvent */1701export interface PalletForeignAssetsModuleEvent extends Enum {1702 readonly isForeignAssetRegistered: boolean;1703 readonly asForeignAssetRegistered: {1704 readonly assetId: u32;1705 readonly assetAddress: XcmV1MultiLocation;1706 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1707 } & Struct;1708 readonly isForeignAssetUpdated: boolean;1709 readonly asForeignAssetUpdated: {1710 readonly assetId: u32;1711 readonly assetAddress: XcmV1MultiLocation;1712 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1713 } & Struct;1714 readonly isAssetRegistered: boolean;1715 readonly asAssetRegistered: {1716 readonly assetId: PalletForeignAssetsAssetIds;1717 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1718 } & Struct;1719 readonly isAssetUpdated: boolean;1720 readonly asAssetUpdated: {1721 readonly assetId: PalletForeignAssetsAssetIds;1722 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1723 } & Struct;1724 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1725}17261727/** @name PalletForeignAssetsNativeCurrency */1728export interface PalletForeignAssetsNativeCurrency extends Enum {1729 readonly isHere: boolean;1730 readonly isParent: boolean;1731 readonly type: 'Here' | 'Parent';1732}17331734/** @name PalletFungibleError */1735export interface PalletFungibleError extends Enum {1736 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1737 readonly isFungibleItemsHaveNoId: boolean;1738 readonly isFungibleItemsDontHaveData: boolean;1739 readonly isFungibleDisallowsNesting: boolean;1740 readonly isSettingPropertiesNotAllowed: boolean;1741 readonly isSettingAllowanceForAllNotAllowed: boolean;1742 readonly isFungibleTokensAreAlwaysValid: boolean;1743 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1744}17451746/** @name PalletIdentityBitFlags */1747export interface PalletIdentityBitFlags extends Struct {1748 readonly _bitLength: 64;1749 readonly Display: 1;1750 readonly Legal: 2;1751 readonly Web: 4;1752 readonly Riot: 8;1753 readonly Email: 16;1754 readonly PgpFingerprint: 32;1755 readonly Image: 64;1756 readonly Twitter: 128;1757}17581759/** @name PalletIdentityCall */1760export interface PalletIdentityCall extends Enum {1761 readonly isAddRegistrar: boolean;1762 readonly asAddRegistrar: {1763 readonly account: MultiAddress;1764 } & Struct;1765 readonly isSetIdentity: boolean;1766 readonly asSetIdentity: {1767 readonly info: PalletIdentityIdentityInfo;1768 } & Struct;1769 readonly isSetSubs: boolean;1770 readonly asSetSubs: {1771 readonly subs: Vec<ITuple<[AccountId32, Data]>>;1772 } & Struct;1773 readonly isClearIdentity: boolean;1774 readonly isRequestJudgement: boolean;1775 readonly asRequestJudgement: {1776 readonly regIndex: Compact<u32>;1777 readonly maxFee: Compact<u128>;1778 } & Struct;1779 readonly isCancelRequest: boolean;1780 readonly asCancelRequest: {1781 readonly regIndex: u32;1782 } & Struct;1783 readonly isSetFee: boolean;1784 readonly asSetFee: {1785 readonly index: Compact<u32>;1786 readonly fee: Compact<u128>;1787 } & Struct;1788 readonly isSetAccountId: boolean;1789 readonly asSetAccountId: {1790 readonly index: Compact<u32>;1791 readonly new_: MultiAddress;1792 } & Struct;1793 readonly isSetFields: boolean;1794 readonly asSetFields: {1795 readonly index: Compact<u32>;1796 readonly fields: PalletIdentityBitFlags;1797 } & Struct;1798 readonly isProvideJudgement: boolean;1799 readonly asProvideJudgement: {1800 readonly regIndex: Compact<u32>;1801 readonly target: MultiAddress;1802 readonly judgement: PalletIdentityJudgement;1803 readonly identity: H256;1804 } & Struct;1805 readonly isKillIdentity: boolean;1806 readonly asKillIdentity: {1807 readonly target: MultiAddress;1808 } & Struct;1809 readonly isAddSub: boolean;1810 readonly asAddSub: {1811 readonly sub: MultiAddress;1812 readonly data: Data;1813 } & Struct;1814 readonly isRenameSub: boolean;1815 readonly asRenameSub: {1816 readonly sub: MultiAddress;1817 readonly data: Data;1818 } & Struct;1819 readonly isRemoveSub: boolean;1820 readonly asRemoveSub: {1821 readonly sub: MultiAddress;1822 } & Struct;1823 readonly isQuitSub: boolean;1824 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';1825}18261827/** @name PalletIdentityError */1828export interface PalletIdentityError extends Enum {1829 readonly isTooManySubAccounts: boolean;1830 readonly isNotFound: boolean;1831 readonly isNotNamed: boolean;1832 readonly isEmptyIndex: boolean;1833 readonly isFeeChanged: boolean;1834 readonly isNoIdentity: boolean;1835 readonly isStickyJudgement: boolean;1836 readonly isJudgementGiven: boolean;1837 readonly isInvalidJudgement: boolean;1838 readonly isInvalidIndex: boolean;1839 readonly isInvalidTarget: boolean;1840 readonly isTooManyFields: boolean;1841 readonly isTooManyRegistrars: boolean;1842 readonly isAlreadyClaimed: boolean;1843 readonly isNotSub: boolean;1844 readonly isNotOwned: boolean;1845 readonly isJudgementForDifferentIdentity: boolean;1846 readonly isJudgementPaymentFailed: boolean;1847 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';1848}18491850/** @name PalletIdentityEvent */1851export interface PalletIdentityEvent extends Enum {1852 readonly isIdentitySet: boolean;1853 readonly asIdentitySet: {1854 readonly who: AccountId32;1855 } & Struct;1856 readonly isIdentityCleared: boolean;1857 readonly asIdentityCleared: {1858 readonly who: AccountId32;1859 readonly deposit: u128;1860 } & Struct;1861 readonly isIdentityKilled: boolean;1862 readonly asIdentityKilled: {1863 readonly who: AccountId32;1864 readonly deposit: u128;1865 } & Struct;1866 readonly isJudgementRequested: boolean;1867 readonly asJudgementRequested: {1868 readonly who: AccountId32;1869 readonly registrarIndex: u32;1870 } & Struct;1871 readonly isJudgementUnrequested: boolean;1872 readonly asJudgementUnrequested: {1873 readonly who: AccountId32;1874 readonly registrarIndex: u32;1875 } & Struct;1876 readonly isJudgementGiven: boolean;1877 readonly asJudgementGiven: {1878 readonly target: AccountId32;1879 readonly registrarIndex: u32;1880 } & Struct;1881 readonly isRegistrarAdded: boolean;1882 readonly asRegistrarAdded: {1883 readonly registrarIndex: u32;1884 } & Struct;1885 readonly isSubIdentityAdded: boolean;1886 readonly asSubIdentityAdded: {1887 readonly sub: AccountId32;1888 readonly main: AccountId32;1889 readonly deposit: u128;1890 } & Struct;1891 readonly isSubIdentityRemoved: boolean;1892 readonly asSubIdentityRemoved: {1893 readonly sub: AccountId32;1894 readonly main: AccountId32;1895 readonly deposit: u128;1896 } & Struct;1897 readonly isSubIdentityRevoked: boolean;1898 readonly asSubIdentityRevoked: {1899 readonly sub: AccountId32;1900 readonly main: AccountId32;1901 readonly deposit: u128;1902 } & Struct;1903 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';1904}19051906/** @name PalletIdentityIdentityField */1907export interface PalletIdentityIdentityField extends Enum {1908 readonly isDisplay: boolean;1909 readonly isLegal: boolean;1910 readonly isWeb: boolean;1911 readonly isRiot: boolean;1912 readonly isEmail: boolean;1913 readonly isPgpFingerprint: boolean;1914 readonly isImage: boolean;1915 readonly isTwitter: boolean;1916 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1917}19181919/** @name PalletIdentityIdentityInfo */1920export interface PalletIdentityIdentityInfo extends Struct {1921 readonly additional: Vec<ITuple<[Data, Data]>>;1922 readonly display: Data;1923 readonly legal: Data;1924 readonly web: Data;1925 readonly riot: Data;1926 readonly email: Data;1927 readonly pgpFingerprint: Option<U8aFixed>;1928 readonly image: Data;1929 readonly twitter: Data;1930}19311932/** @name PalletIdentityJudgement */1933export interface PalletIdentityJudgement extends Enum {1934 readonly isUnknown: boolean;1935 readonly isFeePaid: boolean;1936 readonly asFeePaid: u128;1937 readonly isReasonable: boolean;1938 readonly isKnownGood: boolean;1939 readonly isOutOfDate: boolean;1940 readonly isLowQuality: boolean;1941 readonly isErroneous: boolean;1942 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1943}19441945/** @name PalletIdentityRegistrarInfo */1946export interface PalletIdentityRegistrarInfo extends Struct {1947 readonly account: AccountId32;1948 readonly fee: u128;1949 readonly fields: PalletIdentityBitFlags;1950}19511952/** @name PalletIdentityRegistration */1953export interface PalletIdentityRegistration extends Struct {1954 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1955 readonly deposit: u128;1956 readonly info: PalletIdentityIdentityInfo;1957}19581959/** @name PalletInflationCall */1960export interface PalletInflationCall extends Enum {1961 readonly isStartInflation: boolean;1962 readonly asStartInflation: {1963 readonly inflationStartRelayBlock: u32;1964 } & Struct;1965 readonly type: 'StartInflation';1966}19671968/** @name PalletMaintenanceCall */1969export interface PalletMaintenanceCall extends Enum {1970 readonly isEnable: boolean;1971 readonly isDisable: boolean;1972 readonly type: 'Enable' | 'Disable';1973}19741975/** @name PalletMaintenanceError */1976export interface PalletMaintenanceError extends Null {}19771978/** @name PalletMaintenanceEvent */1979export interface PalletMaintenanceEvent extends Enum {1980 readonly isMaintenanceEnabled: boolean;1981 readonly isMaintenanceDisabled: boolean;1982 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1983}19841985/** @name PalletNonfungibleError */1986export interface PalletNonfungibleError extends Enum {1987 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1988 readonly isNonfungibleItemsHaveNoAmount: boolean;1989 readonly isCantBurnNftWithChildren: boolean;1990 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1991}19921993/** @name PalletNonfungibleItemData */1994export interface PalletNonfungibleItemData extends Struct {1995 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1996}19971998/** @name PalletRefungibleError */1999export interface PalletRefungibleError extends Enum {2000 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2001 readonly isWrongRefungiblePieces: boolean;2002 readonly isRepartitionWhileNotOwningAllPieces: boolean;2003 readonly isRefungibleDisallowsNesting: boolean;2004 readonly isSettingPropertiesNotAllowed: boolean;2005 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2006}20072008/** @name PalletRmrkCoreCall */2009export interface PalletRmrkCoreCall extends Enum {2010 readonly isCreateCollection: boolean;2011 readonly asCreateCollection: {2012 readonly metadata: Bytes;2013 readonly max: Option<u32>;2014 readonly symbol: Bytes;2015 } & Struct;2016 readonly isDestroyCollection: boolean;2017 readonly asDestroyCollection: {2018 readonly collectionId: u32;2019 } & Struct;2020 readonly isChangeCollectionIssuer: boolean;2021 readonly asChangeCollectionIssuer: {2022 readonly collectionId: u32;2023 readonly newIssuer: MultiAddress;2024 } & Struct;2025 readonly isLockCollection: boolean;2026 readonly asLockCollection: {2027 readonly collectionId: u32;2028 } & Struct;2029 readonly isMintNft: boolean;2030 readonly asMintNft: {2031 readonly owner: Option<AccountId32>;2032 readonly collectionId: u32;2033 readonly recipient: Option<AccountId32>;2034 readonly royaltyAmount: Option<Permill>;2035 readonly metadata: Bytes;2036 readonly transferable: bool;2037 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2038 } & Struct;2039 readonly isBurnNft: boolean;2040 readonly asBurnNft: {2041 readonly collectionId: u32;2042 readonly nftId: u32;2043 readonly maxBurns: u32;2044 } & Struct;2045 readonly isSend: boolean;2046 readonly asSend: {2047 readonly rmrkCollectionId: u32;2048 readonly rmrkNftId: u32;2049 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2050 } & Struct;2051 readonly isAcceptNft: boolean;2052 readonly asAcceptNft: {2053 readonly rmrkCollectionId: u32;2054 readonly rmrkNftId: u32;2055 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2056 } & Struct;2057 readonly isRejectNft: boolean;2058 readonly asRejectNft: {2059 readonly rmrkCollectionId: u32;2060 readonly rmrkNftId: u32;2061 } & Struct;2062 readonly isAcceptResource: boolean;2063 readonly asAcceptResource: {2064 readonly rmrkCollectionId: u32;2065 readonly rmrkNftId: u32;2066 readonly resourceId: u32;2067 } & Struct;2068 readonly isAcceptResourceRemoval: boolean;2069 readonly asAcceptResourceRemoval: {2070 readonly rmrkCollectionId: u32;2071 readonly rmrkNftId: u32;2072 readonly resourceId: u32;2073 } & Struct;2074 readonly isSetProperty: boolean;2075 readonly asSetProperty: {2076 readonly rmrkCollectionId: Compact<u32>;2077 readonly maybeNftId: Option<u32>;2078 readonly key: Bytes;2079 readonly value: Bytes;2080 } & Struct;2081 readonly isSetPriority: boolean;2082 readonly asSetPriority: {2083 readonly rmrkCollectionId: u32;2084 readonly rmrkNftId: u32;2085 readonly priorities: Vec<u32>;2086 } & Struct;2087 readonly isAddBasicResource: boolean;2088 readonly asAddBasicResource: {2089 readonly rmrkCollectionId: u32;2090 readonly nftId: u32;2091 readonly resource: RmrkTraitsResourceBasicResource;2092 } & Struct;2093 readonly isAddComposableResource: boolean;2094 readonly asAddComposableResource: {2095 readonly rmrkCollectionId: u32;2096 readonly nftId: u32;2097 readonly resource: RmrkTraitsResourceComposableResource;2098 } & Struct;2099 readonly isAddSlotResource: boolean;2100 readonly asAddSlotResource: {2101 readonly rmrkCollectionId: u32;2102 readonly nftId: u32;2103 readonly resource: RmrkTraitsResourceSlotResource;2104 } & Struct;2105 readonly isRemoveResource: boolean;2106 readonly asRemoveResource: {2107 readonly rmrkCollectionId: u32;2108 readonly nftId: u32;2109 readonly resourceId: u32;2110 } & Struct;2111 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2112}21132114/** @name PalletRmrkCoreError */2115export interface PalletRmrkCoreError extends Enum {2116 readonly isCorruptedCollectionType: boolean;2117 readonly isRmrkPropertyKeyIsTooLong: boolean;2118 readonly isRmrkPropertyValueIsTooLong: boolean;2119 readonly isRmrkPropertyIsNotFound: boolean;2120 readonly isUnableToDecodeRmrkData: boolean;2121 readonly isCollectionNotEmpty: boolean;2122 readonly isNoAvailableCollectionId: boolean;2123 readonly isNoAvailableNftId: boolean;2124 readonly isCollectionUnknown: boolean;2125 readonly isNoPermission: boolean;2126 readonly isNonTransferable: boolean;2127 readonly isCollectionFullOrLocked: boolean;2128 readonly isResourceDoesntExist: boolean;2129 readonly isCannotSendToDescendentOrSelf: boolean;2130 readonly isCannotAcceptNonOwnedNft: boolean;2131 readonly isCannotRejectNonOwnedNft: boolean;2132 readonly isCannotRejectNonPendingNft: boolean;2133 readonly isResourceNotPending: boolean;2134 readonly isNoAvailableResourceId: boolean;2135 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';2136}21372138/** @name PalletRmrkCoreEvent */2139export interface PalletRmrkCoreEvent extends Enum {2140 readonly isCollectionCreated: boolean;2141 readonly asCollectionCreated: {2142 readonly issuer: AccountId32;2143 readonly collectionId: u32;2144 } & Struct;2145 readonly isCollectionDestroyed: boolean;2146 readonly asCollectionDestroyed: {2147 readonly issuer: AccountId32;2148 readonly collectionId: u32;2149 } & Struct;2150 readonly isIssuerChanged: boolean;2151 readonly asIssuerChanged: {2152 readonly oldIssuer: AccountId32;2153 readonly newIssuer: AccountId32;2154 readonly collectionId: u32;2155 } & Struct;2156 readonly isCollectionLocked: boolean;2157 readonly asCollectionLocked: {2158 readonly issuer: AccountId32;2159 readonly collectionId: u32;2160 } & Struct;2161 readonly isNftMinted: boolean;2162 readonly asNftMinted: {2163 readonly owner: AccountId32;2164 readonly collectionId: u32;2165 readonly nftId: u32;2166 } & Struct;2167 readonly isNftBurned: boolean;2168 readonly asNftBurned: {2169 readonly owner: AccountId32;2170 readonly nftId: u32;2171 } & Struct;2172 readonly isNftSent: boolean;2173 readonly asNftSent: {2174 readonly sender: AccountId32;2175 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2176 readonly collectionId: u32;2177 readonly nftId: u32;2178 readonly approvalRequired: bool;2179 } & Struct;2180 readonly isNftAccepted: boolean;2181 readonly asNftAccepted: {2182 readonly sender: AccountId32;2183 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2184 readonly collectionId: u32;2185 readonly nftId: u32;2186 } & Struct;2187 readonly isNftRejected: boolean;2188 readonly asNftRejected: {2189 readonly sender: AccountId32;2190 readonly collectionId: u32;2191 readonly nftId: u32;2192 } & Struct;2193 readonly isPropertySet: boolean;2194 readonly asPropertySet: {2195 readonly collectionId: u32;2196 readonly maybeNftId: Option<u32>;2197 readonly key: Bytes;2198 readonly value: Bytes;2199 } & Struct;2200 readonly isResourceAdded: boolean;2201 readonly asResourceAdded: {2202 readonly nftId: u32;2203 readonly resourceId: u32;2204 } & Struct;2205 readonly isResourceRemoval: boolean;2206 readonly asResourceRemoval: {2207 readonly nftId: u32;2208 readonly resourceId: u32;2209 } & Struct;2210 readonly isResourceAccepted: boolean;2211 readonly asResourceAccepted: {2212 readonly nftId: u32;2213 readonly resourceId: u32;2214 } & Struct;2215 readonly isResourceRemovalAccepted: boolean;2216 readonly asResourceRemovalAccepted: {2217 readonly nftId: u32;2218 readonly resourceId: u32;2219 } & Struct;2220 readonly isPrioritySet: boolean;2221 readonly asPrioritySet: {2222 readonly collectionId: u32;2223 readonly nftId: u32;2224 } & Struct;2225 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2226}22272228/** @name PalletRmrkEquipCall */2229export interface PalletRmrkEquipCall extends Enum {2230 readonly isCreateBase: boolean;2231 readonly asCreateBase: {2232 readonly baseType: Bytes;2233 readonly symbol: Bytes;2234 readonly parts: Vec<RmrkTraitsPartPartType>;2235 } & Struct;2236 readonly isThemeAdd: boolean;2237 readonly asThemeAdd: {2238 readonly baseId: u32;2239 readonly theme: RmrkTraitsTheme;2240 } & Struct;2241 readonly isEquippable: boolean;2242 readonly asEquippable: {2243 readonly baseId: u32;2244 readonly slotId: u32;2245 readonly equippables: RmrkTraitsPartEquippableList;2246 } & Struct;2247 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2248}22492250/** @name PalletRmrkEquipError */2251export interface PalletRmrkEquipError extends Enum {2252 readonly isPermissionError: boolean;2253 readonly isNoAvailableBaseId: boolean;2254 readonly isNoAvailablePartId: boolean;2255 readonly isBaseDoesntExist: boolean;2256 readonly isNeedsDefaultThemeFirst: boolean;2257 readonly isPartDoesntExist: boolean;2258 readonly isNoEquippableOnFixedPart: boolean;2259 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';2260}22612262/** @name PalletRmrkEquipEvent */2263export interface PalletRmrkEquipEvent extends Enum {2264 readonly isBaseCreated: boolean;2265 readonly asBaseCreated: {2266 readonly issuer: AccountId32;2267 readonly baseId: u32;2268 } & Struct;2269 readonly isEquippablesUpdated: boolean;2270 readonly asEquippablesUpdated: {2271 readonly baseId: u32;2272 readonly slotId: u32;2273 } & Struct;2274 readonly type: 'BaseCreated' | 'EquippablesUpdated';2275}22762277/** @name PalletSessionCall */2278export interface PalletSessionCall extends Enum {2279 readonly isSetKeys: boolean;2280 readonly asSetKeys: {2281 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2282 readonly proof: Bytes;2283 } & Struct;2284 readonly isPurgeKeys: boolean;2285 readonly type: 'SetKeys' | 'PurgeKeys';2286}22872288/** @name PalletSessionError */2289export interface PalletSessionError extends Enum {2290 readonly isInvalidProof: boolean;2291 readonly isNoAssociatedValidatorId: boolean;2292 readonly isDuplicatedKey: boolean;2293 readonly isNoKeys: boolean;2294 readonly isNoAccount: boolean;2295 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2296}22972298/** @name PalletSessionEvent */2299export interface PalletSessionEvent extends Enum {2300 readonly isNewSession: boolean;2301 readonly asNewSession: {2302 readonly sessionIndex: u32;2303 } & Struct;2304 readonly type: 'NewSession';2305}23062307/** @name PalletStructureCall */2308export interface PalletStructureCall extends Null {}23092310/** @name PalletStructureError */2311export interface PalletStructureError extends Enum {2312 readonly isOuroborosDetected: boolean;2313 readonly isDepthLimit: boolean;2314 readonly isBreadthLimit: boolean;2315 readonly isTokenNotFound: boolean;2316 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';2317}23182319/** @name PalletStructureEvent */2320export interface PalletStructureEvent extends Enum {2321 readonly isExecuted: boolean;2322 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2323 readonly type: 'Executed';2324}23252326/** @name PalletSudoCall */2327export interface PalletSudoCall extends Enum {2328 readonly isSudo: boolean;2329 readonly asSudo: {2330 readonly call: Call;2331 } & Struct;2332 readonly isSudoUncheckedWeight: boolean;2333 readonly asSudoUncheckedWeight: {2334 readonly call: Call;2335 readonly weight: SpWeightsWeightV2Weight;2336 } & Struct;2337 readonly isSetKey: boolean;2338 readonly asSetKey: {2339 readonly new_: MultiAddress;2340 } & Struct;2341 readonly isSudoAs: boolean;2342 readonly asSudoAs: {2343 readonly who: MultiAddress;2344 readonly call: Call;2345 } & Struct;2346 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2347}23482349/** @name PalletSudoError */2350export interface PalletSudoError extends Enum {2351 readonly isRequireSudo: boolean;2352 readonly type: 'RequireSudo';2353}23542355/** @name PalletSudoEvent */2356export interface PalletSudoEvent extends Enum {2357 readonly isSudid: boolean;2358 readonly asSudid: {2359 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2360 } & Struct;2361 readonly isKeyChanged: boolean;2362 readonly asKeyChanged: {2363 readonly oldSudoer: Option<AccountId32>;2364 } & Struct;2365 readonly isSudoAsDone: boolean;2366 readonly asSudoAsDone: {2367 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2368 } & Struct;2369 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2370}23712372/** @name PalletTemplateTransactionPaymentCall */2373export interface PalletTemplateTransactionPaymentCall extends Null {}23742375/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2376export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}23772378/** @name PalletTestUtilsCall */2379export interface PalletTestUtilsCall extends Enum {2380 readonly isEnable: boolean;2381 readonly isSetTestValue: boolean;2382 readonly asSetTestValue: {2383 readonly value: u32;2384 } & Struct;2385 readonly isSetTestValueAndRollback: boolean;2386 readonly asSetTestValueAndRollback: {2387 readonly value: u32;2388 } & Struct;2389 readonly isIncTestValue: boolean;2390 readonly isJustTakeFee: boolean;2391 readonly isBatchAll: boolean;2392 readonly asBatchAll: {2393 readonly calls: Vec<Call>;2394 } & Struct;2395 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2396}23972398/** @name PalletTestUtilsError */2399export interface PalletTestUtilsError extends Enum {2400 readonly isTestPalletDisabled: boolean;2401 readonly isTriggerRollback: boolean;2402 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2403}24042405/** @name PalletTestUtilsEvent */2406export interface PalletTestUtilsEvent extends Enum {2407 readonly isValueIsSet: boolean;2408 readonly isShouldRollback: boolean;2409 readonly isBatchCompleted: boolean;2410 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2411}24122413/** @name PalletTimestampCall */2414export interface PalletTimestampCall extends Enum {2415 readonly isSet: boolean;2416 readonly asSet: {2417 readonly now: Compact<u64>;2418 } & Struct;2419 readonly type: 'Set';2420}24212422/** @name PalletTransactionPaymentEvent */2423export interface PalletTransactionPaymentEvent extends Enum {2424 readonly isTransactionFeePaid: boolean;2425 readonly asTransactionFeePaid: {2426 readonly who: AccountId32;2427 readonly actualFee: u128;2428 readonly tip: u128;2429 } & Struct;2430 readonly type: 'TransactionFeePaid';2431}24322433/** @name PalletTransactionPaymentReleases */2434export interface PalletTransactionPaymentReleases extends Enum {2435 readonly isV1Ancient: boolean;2436 readonly isV2: boolean;2437 readonly type: 'V1Ancient' | 'V2';2438}24392440/** @name PalletTreasuryCall */2441export interface PalletTreasuryCall extends Enum {2442 readonly isProposeSpend: boolean;2443 readonly asProposeSpend: {2444 readonly value: Compact<u128>;2445 readonly beneficiary: MultiAddress;2446 } & Struct;2447 readonly isRejectProposal: boolean;2448 readonly asRejectProposal: {2449 readonly proposalId: Compact<u32>;2450 } & Struct;2451 readonly isApproveProposal: boolean;2452 readonly asApproveProposal: {2453 readonly proposalId: Compact<u32>;2454 } & Struct;2455 readonly isSpend: boolean;2456 readonly asSpend: {2457 readonly amount: Compact<u128>;2458 readonly beneficiary: MultiAddress;2459 } & Struct;2460 readonly isRemoveApproval: boolean;2461 readonly asRemoveApproval: {2462 readonly proposalId: Compact<u32>;2463 } & Struct;2464 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2465}24662467/** @name PalletTreasuryError */2468export interface PalletTreasuryError extends Enum {2469 readonly isInsufficientProposersBalance: boolean;2470 readonly isInvalidIndex: boolean;2471 readonly isTooManyApprovals: boolean;2472 readonly isInsufficientPermission: boolean;2473 readonly isProposalNotApproved: boolean;2474 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2475}24762477/** @name PalletTreasuryEvent */2478export interface PalletTreasuryEvent extends Enum {2479 readonly isProposed: boolean;2480 readonly asProposed: {2481 readonly proposalIndex: u32;2482 } & Struct;2483 readonly isSpending: boolean;2484 readonly asSpending: {2485 readonly budgetRemaining: u128;2486 } & Struct;2487 readonly isAwarded: boolean;2488 readonly asAwarded: {2489 readonly proposalIndex: u32;2490 readonly award: u128;2491 readonly account: AccountId32;2492 } & Struct;2493 readonly isRejected: boolean;2494 readonly asRejected: {2495 readonly proposalIndex: u32;2496 readonly slashed: u128;2497 } & Struct;2498 readonly isBurnt: boolean;2499 readonly asBurnt: {2500 readonly burntFunds: u128;2501 } & Struct;2502 readonly isRollover: boolean;2503 readonly asRollover: {2504 readonly rolloverBalance: u128;2505 } & Struct;2506 readonly isDeposit: boolean;2507 readonly asDeposit: {2508 readonly value: u128;2509 } & Struct;2510 readonly isSpendApproved: boolean;2511 readonly asSpendApproved: {2512 readonly proposalIndex: u32;2513 readonly amount: u128;2514 readonly beneficiary: AccountId32;2515 } & Struct;2516 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2517}25182519/** @name PalletTreasuryProposal */2520export interface PalletTreasuryProposal extends Struct {2521 readonly proposer: AccountId32;2522 readonly value: u128;2523 readonly beneficiary: AccountId32;2524 readonly bond: u128;2525}25262527/** @name PalletUniqueCall */2528export interface PalletUniqueCall extends Enum {2529 readonly isCreateCollection: boolean;2530 readonly asCreateCollection: {2531 readonly collectionName: Vec<u16>;2532 readonly collectionDescription: Vec<u16>;2533 readonly tokenPrefix: Bytes;2534 readonly mode: UpDataStructsCollectionMode;2535 } & Struct;2536 readonly isCreateCollectionEx: boolean;2537 readonly asCreateCollectionEx: {2538 readonly data: UpDataStructsCreateCollectionData;2539 } & Struct;2540 readonly isDestroyCollection: boolean;2541 readonly asDestroyCollection: {2542 readonly collectionId: u32;2543 } & Struct;2544 readonly isAddToAllowList: boolean;2545 readonly asAddToAllowList: {2546 readonly collectionId: u32;2547 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2548 } & Struct;2549 readonly isRemoveFromAllowList: boolean;2550 readonly asRemoveFromAllowList: {2551 readonly collectionId: u32;2552 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2553 } & Struct;2554 readonly isChangeCollectionOwner: boolean;2555 readonly asChangeCollectionOwner: {2556 readonly collectionId: u32;2557 readonly newOwner: AccountId32;2558 } & Struct;2559 readonly isAddCollectionAdmin: boolean;2560 readonly asAddCollectionAdmin: {2561 readonly collectionId: u32;2562 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2563 } & Struct;2564 readonly isRemoveCollectionAdmin: boolean;2565 readonly asRemoveCollectionAdmin: {2566 readonly collectionId: u32;2567 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2568 } & Struct;2569 readonly isSetCollectionSponsor: boolean;2570 readonly asSetCollectionSponsor: {2571 readonly collectionId: u32;2572 readonly newSponsor: AccountId32;2573 } & Struct;2574 readonly isConfirmSponsorship: boolean;2575 readonly asConfirmSponsorship: {2576 readonly collectionId: u32;2577 } & Struct;2578 readonly isRemoveCollectionSponsor: boolean;2579 readonly asRemoveCollectionSponsor: {2580 readonly collectionId: u32;2581 } & Struct;2582 readonly isCreateItem: boolean;2583 readonly asCreateItem: {2584 readonly collectionId: u32;2585 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2586 readonly data: UpDataStructsCreateItemData;2587 } & Struct;2588 readonly isCreateMultipleItems: boolean;2589 readonly asCreateMultipleItems: {2590 readonly collectionId: u32;2591 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2592 readonly itemsData: Vec<UpDataStructsCreateItemData>;2593 } & Struct;2594 readonly isSetCollectionProperties: boolean;2595 readonly asSetCollectionProperties: {2596 readonly collectionId: u32;2597 readonly properties: Vec<UpDataStructsProperty>;2598 } & Struct;2599 readonly isDeleteCollectionProperties: boolean;2600 readonly asDeleteCollectionProperties: {2601 readonly collectionId: u32;2602 readonly propertyKeys: Vec<Bytes>;2603 } & Struct;2604 readonly isSetTokenProperties: boolean;2605 readonly asSetTokenProperties: {2606 readonly collectionId: u32;2607 readonly tokenId: u32;2608 readonly properties: Vec<UpDataStructsProperty>;2609 } & Struct;2610 readonly isDeleteTokenProperties: boolean;2611 readonly asDeleteTokenProperties: {2612 readonly collectionId: u32;2613 readonly tokenId: u32;2614 readonly propertyKeys: Vec<Bytes>;2615 } & Struct;2616 readonly isSetTokenPropertyPermissions: boolean;2617 readonly asSetTokenPropertyPermissions: {2618 readonly collectionId: u32;2619 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2620 } & Struct;2621 readonly isCreateMultipleItemsEx: boolean;2622 readonly asCreateMultipleItemsEx: {2623 readonly collectionId: u32;2624 readonly data: UpDataStructsCreateItemExData;2625 } & Struct;2626 readonly isSetTransfersEnabledFlag: boolean;2627 readonly asSetTransfersEnabledFlag: {2628 readonly collectionId: u32;2629 readonly value: bool;2630 } & Struct;2631 readonly isBurnItem: boolean;2632 readonly asBurnItem: {2633 readonly collectionId: u32;2634 readonly itemId: u32;2635 readonly value: u128;2636 } & Struct;2637 readonly isBurnFrom: boolean;2638 readonly asBurnFrom: {2639 readonly collectionId: u32;2640 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2641 readonly itemId: u32;2642 readonly value: u128;2643 } & Struct;2644 readonly isTransfer: boolean;2645 readonly asTransfer: {2646 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2647 readonly collectionId: u32;2648 readonly itemId: u32;2649 readonly value: u128;2650 } & Struct;2651 readonly isApprove: boolean;2652 readonly asApprove: {2653 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2654 readonly collectionId: u32;2655 readonly itemId: u32;2656 readonly amount: u128;2657 } & Struct;2658 readonly isTransferFrom: boolean;2659 readonly asTransferFrom: {2660 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2661 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2662 readonly collectionId: u32;2663 readonly itemId: u32;2664 readonly value: u128;2665 } & Struct;2666 readonly isSetCollectionLimits: boolean;2667 readonly asSetCollectionLimits: {2668 readonly collectionId: u32;2669 readonly newLimit: UpDataStructsCollectionLimits;2670 } & Struct;2671 readonly isSetCollectionPermissions: boolean;2672 readonly asSetCollectionPermissions: {2673 readonly collectionId: u32;2674 readonly newPermission: UpDataStructsCollectionPermissions;2675 } & Struct;2676 readonly isRepartition: boolean;2677 readonly asRepartition: {2678 readonly collectionId: u32;2679 readonly tokenId: u32;2680 readonly amount: u128;2681 } & Struct;2682 readonly isSetAllowanceForAll: boolean;2683 readonly asSetAllowanceForAll: {2684 readonly collectionId: u32;2685 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2686 readonly approve: bool;2687 } & Struct;2688 readonly isForceRepairCollection: boolean;2689 readonly asForceRepairCollection: {2690 readonly collectionId: u32;2691 } & Struct;2692 readonly isForceRepairItem: boolean;2693 readonly asForceRepairItem: {2694 readonly collectionId: u32;2695 readonly itemId: u32;2696 } & Struct;2697 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';2698}26992700/** @name PalletUniqueError */2701export interface PalletUniqueError extends Enum {2702 readonly isCollectionDecimalPointLimitExceeded: boolean;2703 readonly isEmptyArgument: boolean;2704 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2705 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2706}27072708/** @name PalletXcmCall */2709export interface PalletXcmCall extends Enum {2710 readonly isSend: boolean;2711 readonly asSend: {2712 readonly dest: XcmVersionedMultiLocation;2713 readonly message: XcmVersionedXcm;2714 } & Struct;2715 readonly isTeleportAssets: boolean;2716 readonly asTeleportAssets: {2717 readonly dest: XcmVersionedMultiLocation;2718 readonly beneficiary: XcmVersionedMultiLocation;2719 readonly assets: XcmVersionedMultiAssets;2720 readonly feeAssetItem: u32;2721 } & Struct;2722 readonly isReserveTransferAssets: boolean;2723 readonly asReserveTransferAssets: {2724 readonly dest: XcmVersionedMultiLocation;2725 readonly beneficiary: XcmVersionedMultiLocation;2726 readonly assets: XcmVersionedMultiAssets;2727 readonly feeAssetItem: u32;2728 } & Struct;2729 readonly isExecute: boolean;2730 readonly asExecute: {2731 readonly message: XcmVersionedXcm;2732 readonly maxWeight: u64;2733 } & Struct;2734 readonly isForceXcmVersion: boolean;2735 readonly asForceXcmVersion: {2736 readonly location: XcmV1MultiLocation;2737 readonly xcmVersion: u32;2738 } & Struct;2739 readonly isForceDefaultXcmVersion: boolean;2740 readonly asForceDefaultXcmVersion: {2741 readonly maybeXcmVersion: Option<u32>;2742 } & Struct;2743 readonly isForceSubscribeVersionNotify: boolean;2744 readonly asForceSubscribeVersionNotify: {2745 readonly location: XcmVersionedMultiLocation;2746 } & Struct;2747 readonly isForceUnsubscribeVersionNotify: boolean;2748 readonly asForceUnsubscribeVersionNotify: {2749 readonly location: XcmVersionedMultiLocation;2750 } & Struct;2751 readonly isLimitedReserveTransferAssets: boolean;2752 readonly asLimitedReserveTransferAssets: {2753 readonly dest: XcmVersionedMultiLocation;2754 readonly beneficiary: XcmVersionedMultiLocation;2755 readonly assets: XcmVersionedMultiAssets;2756 readonly feeAssetItem: u32;2757 readonly weightLimit: XcmV2WeightLimit;2758 } & Struct;2759 readonly isLimitedTeleportAssets: boolean;2760 readonly asLimitedTeleportAssets: {2761 readonly dest: XcmVersionedMultiLocation;2762 readonly beneficiary: XcmVersionedMultiLocation;2763 readonly assets: XcmVersionedMultiAssets;2764 readonly feeAssetItem: u32;2765 readonly weightLimit: XcmV2WeightLimit;2766 } & Struct;2767 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2768}27692770/** @name PalletXcmError */2771export interface PalletXcmError extends Enum {2772 readonly isUnreachable: boolean;2773 readonly isSendFailure: boolean;2774 readonly isFiltered: boolean;2775 readonly isUnweighableMessage: boolean;2776 readonly isDestinationNotInvertible: boolean;2777 readonly isEmpty: boolean;2778 readonly isCannotReanchor: boolean;2779 readonly isTooManyAssets: boolean;2780 readonly isInvalidOrigin: boolean;2781 readonly isBadVersion: boolean;2782 readonly isBadLocation: boolean;2783 readonly isNoSubscription: boolean;2784 readonly isAlreadySubscribed: boolean;2785 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2786}27872788/** @name PalletXcmEvent */2789export interface PalletXcmEvent extends Enum {2790 readonly isAttempted: boolean;2791 readonly asAttempted: XcmV2TraitsOutcome;2792 readonly isSent: boolean;2793 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2794 readonly isUnexpectedResponse: boolean;2795 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2796 readonly isResponseReady: boolean;2797 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2798 readonly isNotified: boolean;2799 readonly asNotified: ITuple<[u64, u8, u8]>;2800 readonly isNotifyOverweight: boolean;2801 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2802 readonly isNotifyDispatchError: boolean;2803 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2804 readonly isNotifyDecodeFailed: boolean;2805 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2806 readonly isInvalidResponder: boolean;2807 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2808 readonly isInvalidResponderVersion: boolean;2809 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2810 readonly isResponseTaken: boolean;2811 readonly asResponseTaken: u64;2812 readonly isAssetsTrapped: boolean;2813 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2814 readonly isVersionChangeNotified: boolean;2815 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2816 readonly isSupportedVersionChanged: boolean;2817 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2818 readonly isNotifyTargetSendFail: boolean;2819 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2820 readonly isNotifyTargetMigrationFail: boolean;2821 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2822 readonly isAssetsClaimed: boolean;2823 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2824 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2825}28262827/** @name PhantomTypeUpDataStructs */2828export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}28292830/** @name PolkadotCorePrimitivesInboundDownwardMessage */2831export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2832 readonly sentAt: u32;2833 readonly msg: Bytes;2834}28352836/** @name PolkadotCorePrimitivesInboundHrmpMessage */2837export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2838 readonly sentAt: u32;2839 readonly data: Bytes;2840}28412842/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2843export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2844 readonly recipient: u32;2845 readonly data: Bytes;2846}28472848/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2849export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2850 readonly isConcatenatedVersionedXcm: boolean;2851 readonly isConcatenatedEncodedBlob: boolean;2852 readonly isSignals: boolean;2853 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2854}28552856/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2857export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2858 readonly maxCodeSize: u32;2859 readonly maxHeadDataSize: u32;2860 readonly maxUpwardQueueCount: u32;2861 readonly maxUpwardQueueSize: u32;2862 readonly maxUpwardMessageSize: u32;2863 readonly maxUpwardMessageNumPerCandidate: u32;2864 readonly hrmpMaxMessageNumPerCandidate: u32;2865 readonly validationUpgradeCooldown: u32;2866 readonly validationUpgradeDelay: u32;2867}28682869/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2870export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2871 readonly maxCapacity: u32;2872 readonly maxTotalSize: u32;2873 readonly maxMessageSize: u32;2874 readonly msgCount: u32;2875 readonly totalSize: u32;2876 readonly mqcHead: Option<H256>;2877}28782879/** @name PolkadotPrimitivesV2PersistedValidationData */2880export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2881 readonly parentHead: Bytes;2882 readonly relayParentNumber: u32;2883 readonly relayParentStorageRoot: H256;2884 readonly maxPovSize: u32;2885}28862887/** @name PolkadotPrimitivesV2UpgradeRestriction */2888export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2889 readonly isPresent: boolean;2890 readonly type: 'Present';2891}28922893/** @name RmrkTraitsBaseBaseInfo */2894export interface RmrkTraitsBaseBaseInfo extends Struct {2895 readonly issuer: AccountId32;2896 readonly baseType: Bytes;2897 readonly symbol: Bytes;2898}28992900/** @name RmrkTraitsCollectionCollectionInfo */2901export interface RmrkTraitsCollectionCollectionInfo extends Struct {2902 readonly issuer: AccountId32;2903 readonly metadata: Bytes;2904 readonly max: Option<u32>;2905 readonly symbol: Bytes;2906 readonly nftsCount: u32;2907}29082909/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2910export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2911 readonly isAccountId: boolean;2912 readonly asAccountId: AccountId32;2913 readonly isCollectionAndNftTuple: boolean;2914 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2915 readonly type: 'AccountId' | 'CollectionAndNftTuple';2916}29172918/** @name RmrkTraitsNftNftChild */2919export interface RmrkTraitsNftNftChild extends Struct {2920 readonly collectionId: u32;2921 readonly nftId: u32;2922}29232924/** @name RmrkTraitsNftNftInfo */2925export interface RmrkTraitsNftNftInfo extends Struct {2926 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2927 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2928 readonly metadata: Bytes;2929 readonly equipped: bool;2930 readonly pending: bool;2931}29322933/** @name RmrkTraitsNftRoyaltyInfo */2934export interface RmrkTraitsNftRoyaltyInfo extends Struct {2935 readonly recipient: AccountId32;2936 readonly amount: Permill;2937}29382939/** @name RmrkTraitsPartEquippableList */2940export interface RmrkTraitsPartEquippableList extends Enum {2941 readonly isAll: boolean;2942 readonly isEmpty: boolean;2943 readonly isCustom: boolean;2944 readonly asCustom: Vec<u32>;2945 readonly type: 'All' | 'Empty' | 'Custom';2946}29472948/** @name RmrkTraitsPartFixedPart */2949export interface RmrkTraitsPartFixedPart extends Struct {2950 readonly id: u32;2951 readonly z: u32;2952 readonly src: Bytes;2953}29542955/** @name RmrkTraitsPartPartType */2956export interface RmrkTraitsPartPartType extends Enum {2957 readonly isFixedPart: boolean;2958 readonly asFixedPart: RmrkTraitsPartFixedPart;2959 readonly isSlotPart: boolean;2960 readonly asSlotPart: RmrkTraitsPartSlotPart;2961 readonly type: 'FixedPart' | 'SlotPart';2962}29632964/** @name RmrkTraitsPartSlotPart */2965export interface RmrkTraitsPartSlotPart extends Struct {2966 readonly id: u32;2967 readonly equippable: RmrkTraitsPartEquippableList;2968 readonly src: Bytes;2969 readonly z: u32;2970}29712972/** @name RmrkTraitsPropertyPropertyInfo */2973export interface RmrkTraitsPropertyPropertyInfo extends Struct {2974 readonly key: Bytes;2975 readonly value: Bytes;2976}29772978/** @name RmrkTraitsResourceBasicResource */2979export interface RmrkTraitsResourceBasicResource extends Struct {2980 readonly src: Option<Bytes>;2981 readonly metadata: Option<Bytes>;2982 readonly license: Option<Bytes>;2983 readonly thumb: Option<Bytes>;2984}29852986/** @name RmrkTraitsResourceComposableResource */2987export interface RmrkTraitsResourceComposableResource extends Struct {2988 readonly parts: Vec<u32>;2989 readonly base: u32;2990 readonly src: Option<Bytes>;2991 readonly metadata: Option<Bytes>;2992 readonly license: Option<Bytes>;2993 readonly thumb: Option<Bytes>;2994}29952996/** @name RmrkTraitsResourceResourceInfo */2997export interface RmrkTraitsResourceResourceInfo extends Struct {2998 readonly id: u32;2999 readonly resource: RmrkTraitsResourceResourceTypes;3000 readonly pending: bool;3001 readonly pendingRemoval: bool;3002}30033004/** @name RmrkTraitsResourceResourceTypes */3005export interface RmrkTraitsResourceResourceTypes extends Enum {3006 readonly isBasic: boolean;3007 readonly asBasic: RmrkTraitsResourceBasicResource;3008 readonly isComposable: boolean;3009 readonly asComposable: RmrkTraitsResourceComposableResource;3010 readonly isSlot: boolean;3011 readonly asSlot: RmrkTraitsResourceSlotResource;3012 readonly type: 'Basic' | 'Composable' | 'Slot';3013}30143015/** @name RmrkTraitsResourceSlotResource */3016export interface RmrkTraitsResourceSlotResource extends Struct {3017 readonly base: u32;3018 readonly src: Option<Bytes>;3019 readonly metadata: Option<Bytes>;3020 readonly slot: u32;3021 readonly license: Option<Bytes>;3022 readonly thumb: Option<Bytes>;3023}30243025/** @name RmrkTraitsTheme */3026export interface RmrkTraitsTheme extends Struct {3027 readonly name: Bytes;3028 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3029 readonly inherit: bool;3030}30313032/** @name RmrkTraitsThemeThemeProperty */3033export interface RmrkTraitsThemeThemeProperty extends Struct {3034 readonly key: Bytes;3035 readonly value: Bytes;3036}30373038/** @name SpConsensusAuraSr25519AppSr25519Public */3039export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}30403041/** @name SpCoreCryptoKeyTypeId */3042export interface SpCoreCryptoKeyTypeId extends U8aFixed {}30433044/** @name SpCoreEcdsaSignature */3045export interface SpCoreEcdsaSignature extends U8aFixed {}30463047/** @name SpCoreEd25519Signature */3048export interface SpCoreEd25519Signature extends U8aFixed {}30493050/** @name SpCoreSr25519Public */3051export interface SpCoreSr25519Public extends U8aFixed {}30523053/** @name SpCoreSr25519Signature */3054export interface SpCoreSr25519Signature extends U8aFixed {}30553056/** @name SpRuntimeArithmeticError */3057export interface SpRuntimeArithmeticError extends Enum {3058 readonly isUnderflow: boolean;3059 readonly isOverflow: boolean;3060 readonly isDivisionByZero: boolean;3061 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';3062}30633064/** @name SpRuntimeBlakeTwo256 */3065export interface SpRuntimeBlakeTwo256 extends Null {}30663067/** @name SpRuntimeDigest */3068export interface SpRuntimeDigest extends Struct {3069 readonly logs: Vec<SpRuntimeDigestDigestItem>;3070}30713072/** @name SpRuntimeDigestDigestItem */3073export interface SpRuntimeDigestDigestItem extends Enum {3074 readonly isOther: boolean;3075 readonly asOther: Bytes;3076 readonly isConsensus: boolean;3077 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;3078 readonly isSeal: boolean;3079 readonly asSeal: ITuple<[U8aFixed, Bytes]>;3080 readonly isPreRuntime: boolean;3081 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;3082 readonly isRuntimeEnvironmentUpdated: boolean;3083 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';3084}30853086/** @name SpRuntimeDispatchError */3087export interface SpRuntimeDispatchError extends Enum {3088 readonly isOther: boolean;3089 readonly isCannotLookup: boolean;3090 readonly isBadOrigin: boolean;3091 readonly isModule: boolean;3092 readonly asModule: SpRuntimeModuleError;3093 readonly isConsumerRemaining: boolean;3094 readonly isNoProviders: boolean;3095 readonly isTooManyConsumers: boolean;3096 readonly isToken: boolean;3097 readonly asToken: SpRuntimeTokenError;3098 readonly isArithmetic: boolean;3099 readonly asArithmetic: SpRuntimeArithmeticError;3100 readonly isTransactional: boolean;3101 readonly asTransactional: SpRuntimeTransactionalError;3102 readonly isExhausted: boolean;3103 readonly isCorruption: boolean;3104 readonly isUnavailable: boolean;3105 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';3106}31073108/** @name SpRuntimeHeader */3109export interface SpRuntimeHeader extends Struct {3110 readonly parentHash: H256;3111 readonly number: Compact<u32>;3112 readonly stateRoot: H256;3113 readonly extrinsicsRoot: H256;3114 readonly digest: SpRuntimeDigest;3115}31163117/** @name SpRuntimeModuleError */3118export interface SpRuntimeModuleError extends Struct {3119 readonly index: u8;3120 readonly error: U8aFixed;3121}31223123/** @name SpRuntimeMultiSignature */3124export interface SpRuntimeMultiSignature extends Enum {3125 readonly isEd25519: boolean;3126 readonly asEd25519: SpCoreEd25519Signature;3127 readonly isSr25519: boolean;3128 readonly asSr25519: SpCoreSr25519Signature;3129 readonly isEcdsa: boolean;3130 readonly asEcdsa: SpCoreEcdsaSignature;3131 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3132}31333134/** @name SpRuntimeTokenError */3135export interface SpRuntimeTokenError extends Enum {3136 readonly isNoFunds: boolean;3137 readonly isWouldDie: boolean;3138 readonly isBelowMinimum: boolean;3139 readonly isCannotCreate: boolean;3140 readonly isUnknownAsset: boolean;3141 readonly isFrozen: boolean;3142 readonly isUnsupported: boolean;3143 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';3144}31453146/** @name SpRuntimeTransactionalError */3147export interface SpRuntimeTransactionalError extends Enum {3148 readonly isLimitReached: boolean;3149 readonly isNoLayer: boolean;3150 readonly type: 'LimitReached' | 'NoLayer';3151}31523153/** @name SpRuntimeTransactionValidityInvalidTransaction */3154export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3155 readonly isCall: boolean;3156 readonly isPayment: boolean;3157 readonly isFuture: boolean;3158 readonly isStale: boolean;3159 readonly isBadProof: boolean;3160 readonly isAncientBirthBlock: boolean;3161 readonly isExhaustsResources: boolean;3162 readonly isCustom: boolean;3163 readonly asCustom: u8;3164 readonly isBadMandatory: boolean;3165 readonly isMandatoryValidation: boolean;3166 readonly isBadSigner: boolean;3167 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3168}31693170/** @name SpRuntimeTransactionValidityTransactionValidityError */3171export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3172 readonly isInvalid: boolean;3173 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3174 readonly isUnknown: boolean;3175 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3176 readonly type: 'Invalid' | 'Unknown';3177}31783179/** @name SpRuntimeTransactionValidityUnknownTransaction */3180export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3181 readonly isCannotLookup: boolean;3182 readonly isNoUnsignedValidator: boolean;3183 readonly isCustom: boolean;3184 readonly asCustom: u8;3185 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3186}31873188/** @name SpTrieStorageProof */3189export interface SpTrieStorageProof extends Struct {3190 readonly trieNodes: BTreeSet<Bytes>;3191}31923193/** @name SpVersionRuntimeVersion */3194export interface SpVersionRuntimeVersion extends Struct {3195 readonly specName: Text;3196 readonly implName: Text;3197 readonly authoringVersion: u32;3198 readonly specVersion: u32;3199 readonly implVersion: u32;3200 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;3201 readonly transactionVersion: u32;3202 readonly stateVersion: u8;3203}32043205/** @name SpWeightsRuntimeDbWeight */3206export interface SpWeightsRuntimeDbWeight extends Struct {3207 readonly read: u64;3208 readonly write: u64;3209}32103211/** @name SpWeightsWeightV2Weight */3212export interface SpWeightsWeightV2Weight extends Struct {3213 readonly refTime: Compact<u64>;3214 readonly proofSize: Compact<u64>;3215}32163217/** @name UpDataStructsAccessMode */3218export interface UpDataStructsAccessMode extends Enum {3219 readonly isNormal: boolean;3220 readonly isAllowList: boolean;3221 readonly type: 'Normal' | 'AllowList';3222}32233224/** @name UpDataStructsCollection */3225export interface UpDataStructsCollection extends Struct {3226 readonly owner: AccountId32;3227 readonly mode: UpDataStructsCollectionMode;3228 readonly name: Vec<u16>;3229 readonly description: Vec<u16>;3230 readonly tokenPrefix: Bytes;3231 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3232 readonly limits: UpDataStructsCollectionLimits;3233 readonly permissions: UpDataStructsCollectionPermissions;3234 readonly flags: U8aFixed;3235}32363237/** @name UpDataStructsCollectionLimits */3238export interface UpDataStructsCollectionLimits extends Struct {3239 readonly accountTokenOwnershipLimit: Option<u32>;3240 readonly sponsoredDataSize: Option<u32>;3241 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;3242 readonly tokenLimit: Option<u32>;3243 readonly sponsorTransferTimeout: Option<u32>;3244 readonly sponsorApproveTimeout: Option<u32>;3245 readonly ownerCanTransfer: Option<bool>;3246 readonly ownerCanDestroy: Option<bool>;3247 readonly transfersEnabled: Option<bool>;3248}32493250/** @name UpDataStructsCollectionMode */3251export interface UpDataStructsCollectionMode extends Enum {3252 readonly isNft: boolean;3253 readonly isFungible: boolean;3254 readonly asFungible: u8;3255 readonly isReFungible: boolean;3256 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3257}32583259/** @name UpDataStructsCollectionPermissions */3260export interface UpDataStructsCollectionPermissions extends Struct {3261 readonly access: Option<UpDataStructsAccessMode>;3262 readonly mintMode: Option<bool>;3263 readonly nesting: Option<UpDataStructsNestingPermissions>;3264}32653266/** @name UpDataStructsCollectionStats */3267export interface UpDataStructsCollectionStats extends Struct {3268 readonly created: u32;3269 readonly destroyed: u32;3270 readonly alive: u32;3271}32723273/** @name UpDataStructsCreateCollectionData */3274export interface UpDataStructsCreateCollectionData extends Struct {3275 readonly mode: UpDataStructsCollectionMode;3276 readonly access: Option<UpDataStructsAccessMode>;3277 readonly name: Vec<u16>;3278 readonly description: Vec<u16>;3279 readonly tokenPrefix: Bytes;3280 readonly pendingSponsor: Option<AccountId32>;3281 readonly limits: Option<UpDataStructsCollectionLimits>;3282 readonly permissions: Option<UpDataStructsCollectionPermissions>;3283 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3284 readonly properties: Vec<UpDataStructsProperty>;3285}32863287/** @name UpDataStructsCreateFungibleData */3288export interface UpDataStructsCreateFungibleData extends Struct {3289 readonly value: u128;3290}32913292/** @name UpDataStructsCreateItemData */3293export interface UpDataStructsCreateItemData extends Enum {3294 readonly isNft: boolean;3295 readonly asNft: UpDataStructsCreateNftData;3296 readonly isFungible: boolean;3297 readonly asFungible: UpDataStructsCreateFungibleData;3298 readonly isReFungible: boolean;3299 readonly asReFungible: UpDataStructsCreateReFungibleData;3300 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3301}33023303/** @name UpDataStructsCreateItemExData */3304export interface UpDataStructsCreateItemExData extends Enum {3305 readonly isNft: boolean;3306 readonly asNft: Vec<UpDataStructsCreateNftExData>;3307 readonly isFungible: boolean;3308 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3309 readonly isRefungibleMultipleItems: boolean;3310 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3311 readonly isRefungibleMultipleOwners: boolean;3312 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3313 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3314}33153316/** @name UpDataStructsCreateNftData */3317export interface UpDataStructsCreateNftData extends Struct {3318 readonly properties: Vec<UpDataStructsProperty>;3319}33203321/** @name UpDataStructsCreateNftExData */3322export interface UpDataStructsCreateNftExData extends Struct {3323 readonly properties: Vec<UpDataStructsProperty>;3324 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3325}33263327/** @name UpDataStructsCreateReFungibleData */3328export interface UpDataStructsCreateReFungibleData extends Struct {3329 readonly pieces: u128;3330 readonly properties: Vec<UpDataStructsProperty>;3331}33323333/** @name UpDataStructsCreateRefungibleExMultipleOwners */3334export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3335 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3336 readonly properties: Vec<UpDataStructsProperty>;3337}33383339/** @name UpDataStructsCreateRefungibleExSingleOwner */3340export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3341 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3342 readonly pieces: u128;3343 readonly properties: Vec<UpDataStructsProperty>;3344}33453346/** @name UpDataStructsNestingPermissions */3347export interface UpDataStructsNestingPermissions extends Struct {3348 readonly tokenOwner: bool;3349 readonly collectionAdmin: bool;3350 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3351}33523353/** @name UpDataStructsOwnerRestrictedSet */3354export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}33553356/** @name UpDataStructsProperties */3357export interface UpDataStructsProperties extends Struct {3358 readonly map: UpDataStructsPropertiesMapBoundedVec;3359 readonly consumedSpace: u32;3360 readonly spaceLimit: u32;3361}33623363/** @name UpDataStructsPropertiesMapBoundedVec */3364export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33653366/** @name UpDataStructsPropertiesMapPropertyPermission */3367export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33683369/** @name UpDataStructsProperty */3370export interface UpDataStructsProperty extends Struct {3371 readonly key: Bytes;3372 readonly value: Bytes;3373}33743375/** @name UpDataStructsPropertyKeyPermission */3376export interface UpDataStructsPropertyKeyPermission extends Struct {3377 readonly key: Bytes;3378 readonly permission: UpDataStructsPropertyPermission;3379}33803381/** @name UpDataStructsPropertyPermission */3382export interface UpDataStructsPropertyPermission extends Struct {3383 readonly mutable: bool;3384 readonly collectionAdmin: bool;3385 readonly tokenOwner: bool;3386}33873388/** @name UpDataStructsPropertyScope */3389export interface UpDataStructsPropertyScope extends Enum {3390 readonly isNone: boolean;3391 readonly isRmrk: boolean;3392 readonly type: 'None' | 'Rmrk';3393}33943395/** @name UpDataStructsRpcCollection */3396export interface UpDataStructsRpcCollection extends Struct {3397 readonly owner: AccountId32;3398 readonly mode: UpDataStructsCollectionMode;3399 readonly name: Vec<u16>;3400 readonly description: Vec<u16>;3401 readonly tokenPrefix: Bytes;3402 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3403 readonly limits: UpDataStructsCollectionLimits;3404 readonly permissions: UpDataStructsCollectionPermissions;3405 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3406 readonly properties: Vec<UpDataStructsProperty>;3407 readonly readOnly: bool;3408 readonly flags: UpDataStructsRpcCollectionFlags;3409}34103411/** @name UpDataStructsRpcCollectionFlags */3412export interface UpDataStructsRpcCollectionFlags extends Struct {3413 readonly foreign: bool;3414 readonly erc721metadata: bool;3415}34163417/** @name UpDataStructsSponsoringRateLimit */3418export interface UpDataStructsSponsoringRateLimit extends Enum {3419 readonly isSponsoringDisabled: boolean;3420 readonly isBlocks: boolean;3421 readonly asBlocks: u32;3422 readonly type: 'SponsoringDisabled' | 'Blocks';3423}34243425/** @name UpDataStructsSponsorshipStateAccountId32 */3426export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3427 readonly isDisabled: boolean;3428 readonly isUnconfirmed: boolean;3429 readonly asUnconfirmed: AccountId32;3430 readonly isConfirmed: boolean;3431 readonly asConfirmed: AccountId32;3432 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3433}34343435/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3436export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3437 readonly isDisabled: boolean;3438 readonly isUnconfirmed: boolean;3439 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3440 readonly isConfirmed: boolean;3441 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3442 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3443}34443445/** @name UpDataStructsTokenChild */3446export interface UpDataStructsTokenChild extends Struct {3447 readonly token: u32;3448 readonly collection: u32;3449}34503451/** @name UpDataStructsTokenData */3452export interface UpDataStructsTokenData extends Struct {3453 readonly properties: Vec<UpDataStructsProperty>;3454 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3455 readonly pieces: u128;3456}34573458/** @name UpPovEstimateRpcPovInfo */3459export interface UpPovEstimateRpcPovInfo extends Struct {3460 readonly proofSize: u64;3461 readonly compactProofSize: u64;3462 readonly compressedProofSize: u64;3463 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3464 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3465}34663467/** @name UpPovEstimateRpcTrieKeyValue */3468export interface UpPovEstimateRpcTrieKeyValue extends Struct {3469 readonly key: Bytes;3470 readonly value: Bytes;3471}34723473/** @name XcmDoubleEncoded */3474export interface XcmDoubleEncoded extends Struct {3475 readonly encoded: Bytes;3476}34773478/** @name XcmV0Junction */3479export interface XcmV0Junction extends Enum {3480 readonly isParent: boolean;3481 readonly isParachain: boolean;3482 readonly asParachain: Compact<u32>;3483 readonly isAccountId32: boolean;3484 readonly asAccountId32: {3485 readonly network: XcmV0JunctionNetworkId;3486 readonly id: U8aFixed;3487 } & Struct;3488 readonly isAccountIndex64: boolean;3489 readonly asAccountIndex64: {3490 readonly network: XcmV0JunctionNetworkId;3491 readonly index: Compact<u64>;3492 } & Struct;3493 readonly isAccountKey20: boolean;3494 readonly asAccountKey20: {3495 readonly network: XcmV0JunctionNetworkId;3496 readonly key: U8aFixed;3497 } & Struct;3498 readonly isPalletInstance: boolean;3499 readonly asPalletInstance: u8;3500 readonly isGeneralIndex: boolean;3501 readonly asGeneralIndex: Compact<u128>;3502 readonly isGeneralKey: boolean;3503 readonly asGeneralKey: Bytes;3504 readonly isOnlyChild: boolean;3505 readonly isPlurality: boolean;3506 readonly asPlurality: {3507 readonly id: XcmV0JunctionBodyId;3508 readonly part: XcmV0JunctionBodyPart;3509 } & Struct;3510 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3511}35123513/** @name XcmV0JunctionBodyId */3514export interface XcmV0JunctionBodyId extends Enum {3515 readonly isUnit: boolean;3516 readonly isNamed: boolean;3517 readonly asNamed: Bytes;3518 readonly isIndex: boolean;3519 readonly asIndex: Compact<u32>;3520 readonly isExecutive: boolean;3521 readonly isTechnical: boolean;3522 readonly isLegislative: boolean;3523 readonly isJudicial: boolean;3524 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3525}35263527/** @name XcmV0JunctionBodyPart */3528export interface XcmV0JunctionBodyPart extends Enum {3529 readonly isVoice: boolean;3530 readonly isMembers: boolean;3531 readonly asMembers: {3532 readonly count: Compact<u32>;3533 } & Struct;3534 readonly isFraction: boolean;3535 readonly asFraction: {3536 readonly nom: Compact<u32>;3537 readonly denom: Compact<u32>;3538 } & Struct;3539 readonly isAtLeastProportion: boolean;3540 readonly asAtLeastProportion: {3541 readonly nom: Compact<u32>;3542 readonly denom: Compact<u32>;3543 } & Struct;3544 readonly isMoreThanProportion: boolean;3545 readonly asMoreThanProportion: {3546 readonly nom: Compact<u32>;3547 readonly denom: Compact<u32>;3548 } & Struct;3549 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3550}35513552/** @name XcmV0JunctionNetworkId */3553export interface XcmV0JunctionNetworkId extends Enum {3554 readonly isAny: boolean;3555 readonly isNamed: boolean;3556 readonly asNamed: Bytes;3557 readonly isPolkadot: boolean;3558 readonly isKusama: boolean;3559 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3560}35613562/** @name XcmV0MultiAsset */3563export interface XcmV0MultiAsset extends Enum {3564 readonly isNone: boolean;3565 readonly isAll: boolean;3566 readonly isAllFungible: boolean;3567 readonly isAllNonFungible: boolean;3568 readonly isAllAbstractFungible: boolean;3569 readonly asAllAbstractFungible: {3570 readonly id: Bytes;3571 } & Struct;3572 readonly isAllAbstractNonFungible: boolean;3573 readonly asAllAbstractNonFungible: {3574 readonly class: Bytes;3575 } & Struct;3576 readonly isAllConcreteFungible: boolean;3577 readonly asAllConcreteFungible: {3578 readonly id: XcmV0MultiLocation;3579 } & Struct;3580 readonly isAllConcreteNonFungible: boolean;3581 readonly asAllConcreteNonFungible: {3582 readonly class: XcmV0MultiLocation;3583 } & Struct;3584 readonly isAbstractFungible: boolean;3585 readonly asAbstractFungible: {3586 readonly id: Bytes;3587 readonly amount: Compact<u128>;3588 } & Struct;3589 readonly isAbstractNonFungible: boolean;3590 readonly asAbstractNonFungible: {3591 readonly class: Bytes;3592 readonly instance: XcmV1MultiassetAssetInstance;3593 } & Struct;3594 readonly isConcreteFungible: boolean;3595 readonly asConcreteFungible: {3596 readonly id: XcmV0MultiLocation;3597 readonly amount: Compact<u128>;3598 } & Struct;3599 readonly isConcreteNonFungible: boolean;3600 readonly asConcreteNonFungible: {3601 readonly class: XcmV0MultiLocation;3602 readonly instance: XcmV1MultiassetAssetInstance;3603 } & Struct;3604 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3605}36063607/** @name XcmV0MultiLocation */3608export interface XcmV0MultiLocation extends Enum {3609 readonly isNull: boolean;3610 readonly isX1: boolean;3611 readonly asX1: XcmV0Junction;3612 readonly isX2: boolean;3613 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3614 readonly isX3: boolean;3615 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3616 readonly isX4: boolean;3617 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3618 readonly isX5: boolean;3619 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3620 readonly isX6: boolean;3621 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3622 readonly isX7: boolean;3623 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3624 readonly isX8: boolean;3625 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3626 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3627}36283629/** @name XcmV0Order */3630export interface XcmV0Order extends Enum {3631 readonly isNull: boolean;3632 readonly isDepositAsset: boolean;3633 readonly asDepositAsset: {3634 readonly assets: Vec<XcmV0MultiAsset>;3635 readonly dest: XcmV0MultiLocation;3636 } & Struct;3637 readonly isDepositReserveAsset: boolean;3638 readonly asDepositReserveAsset: {3639 readonly assets: Vec<XcmV0MultiAsset>;3640 readonly dest: XcmV0MultiLocation;3641 readonly effects: Vec<XcmV0Order>;3642 } & Struct;3643 readonly isExchangeAsset: boolean;3644 readonly asExchangeAsset: {3645 readonly give: Vec<XcmV0MultiAsset>;3646 readonly receive: Vec<XcmV0MultiAsset>;3647 } & Struct;3648 readonly isInitiateReserveWithdraw: boolean;3649 readonly asInitiateReserveWithdraw: {3650 readonly assets: Vec<XcmV0MultiAsset>;3651 readonly reserve: XcmV0MultiLocation;3652 readonly effects: Vec<XcmV0Order>;3653 } & Struct;3654 readonly isInitiateTeleport: boolean;3655 readonly asInitiateTeleport: {3656 readonly assets: Vec<XcmV0MultiAsset>;3657 readonly dest: XcmV0MultiLocation;3658 readonly effects: Vec<XcmV0Order>;3659 } & Struct;3660 readonly isQueryHolding: boolean;3661 readonly asQueryHolding: {3662 readonly queryId: Compact<u64>;3663 readonly dest: XcmV0MultiLocation;3664 readonly assets: Vec<XcmV0MultiAsset>;3665 } & Struct;3666 readonly isBuyExecution: boolean;3667 readonly asBuyExecution: {3668 readonly fees: XcmV0MultiAsset;3669 readonly weight: u64;3670 readonly debt: u64;3671 readonly haltOnError: bool;3672 readonly xcm: Vec<XcmV0Xcm>;3673 } & Struct;3674 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3675}36763677/** @name XcmV0OriginKind */3678export interface XcmV0OriginKind extends Enum {3679 readonly isNative: boolean;3680 readonly isSovereignAccount: boolean;3681 readonly isSuperuser: boolean;3682 readonly isXcm: boolean;3683 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3684}36853686/** @name XcmV0Response */3687export interface XcmV0Response extends Enum {3688 readonly isAssets: boolean;3689 readonly asAssets: Vec<XcmV0MultiAsset>;3690 readonly type: 'Assets';3691}36923693/** @name XcmV0Xcm */3694export interface XcmV0Xcm extends Enum {3695 readonly isWithdrawAsset: boolean;3696 readonly asWithdrawAsset: {3697 readonly assets: Vec<XcmV0MultiAsset>;3698 readonly effects: Vec<XcmV0Order>;3699 } & Struct;3700 readonly isReserveAssetDeposit: boolean;3701 readonly asReserveAssetDeposit: {3702 readonly assets: Vec<XcmV0MultiAsset>;3703 readonly effects: Vec<XcmV0Order>;3704 } & Struct;3705 readonly isTeleportAsset: boolean;3706 readonly asTeleportAsset: {3707 readonly assets: Vec<XcmV0MultiAsset>;3708 readonly effects: Vec<XcmV0Order>;3709 } & Struct;3710 readonly isQueryResponse: boolean;3711 readonly asQueryResponse: {3712 readonly queryId: Compact<u64>;3713 readonly response: XcmV0Response;3714 } & Struct;3715 readonly isTransferAsset: boolean;3716 readonly asTransferAsset: {3717 readonly assets: Vec<XcmV0MultiAsset>;3718 readonly dest: XcmV0MultiLocation;3719 } & Struct;3720 readonly isTransferReserveAsset: boolean;3721 readonly asTransferReserveAsset: {3722 readonly assets: Vec<XcmV0MultiAsset>;3723 readonly dest: XcmV0MultiLocation;3724 readonly effects: Vec<XcmV0Order>;3725 } & Struct;3726 readonly isTransact: boolean;3727 readonly asTransact: {3728 readonly originType: XcmV0OriginKind;3729 readonly requireWeightAtMost: u64;3730 readonly call: XcmDoubleEncoded;3731 } & Struct;3732 readonly isHrmpNewChannelOpenRequest: boolean;3733 readonly asHrmpNewChannelOpenRequest: {3734 readonly sender: Compact<u32>;3735 readonly maxMessageSize: Compact<u32>;3736 readonly maxCapacity: Compact<u32>;3737 } & Struct;3738 readonly isHrmpChannelAccepted: boolean;3739 readonly asHrmpChannelAccepted: {3740 readonly recipient: Compact<u32>;3741 } & Struct;3742 readonly isHrmpChannelClosing: boolean;3743 readonly asHrmpChannelClosing: {3744 readonly initiator: Compact<u32>;3745 readonly sender: Compact<u32>;3746 readonly recipient: Compact<u32>;3747 } & Struct;3748 readonly isRelayedFrom: boolean;3749 readonly asRelayedFrom: {3750 readonly who: XcmV0MultiLocation;3751 readonly message: XcmV0Xcm;3752 } & Struct;3753 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3754}37553756/** @name XcmV1Junction */3757export interface XcmV1Junction extends Enum {3758 readonly isParachain: boolean;3759 readonly asParachain: Compact<u32>;3760 readonly isAccountId32: boolean;3761 readonly asAccountId32: {3762 readonly network: XcmV0JunctionNetworkId;3763 readonly id: U8aFixed;3764 } & Struct;3765 readonly isAccountIndex64: boolean;3766 readonly asAccountIndex64: {3767 readonly network: XcmV0JunctionNetworkId;3768 readonly index: Compact<u64>;3769 } & Struct;3770 readonly isAccountKey20: boolean;3771 readonly asAccountKey20: {3772 readonly network: XcmV0JunctionNetworkId;3773 readonly key: U8aFixed;3774 } & Struct;3775 readonly isPalletInstance: boolean;3776 readonly asPalletInstance: u8;3777 readonly isGeneralIndex: boolean;3778 readonly asGeneralIndex: Compact<u128>;3779 readonly isGeneralKey: boolean;3780 readonly asGeneralKey: Bytes;3781 readonly isOnlyChild: boolean;3782 readonly isPlurality: boolean;3783 readonly asPlurality: {3784 readonly id: XcmV0JunctionBodyId;3785 readonly part: XcmV0JunctionBodyPart;3786 } & Struct;3787 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3788}37893790/** @name XcmV1MultiAsset */3791export interface XcmV1MultiAsset extends Struct {3792 readonly id: XcmV1MultiassetAssetId;3793 readonly fun: XcmV1MultiassetFungibility;3794}37953796/** @name XcmV1MultiassetAssetId */3797export interface XcmV1MultiassetAssetId extends Enum {3798 readonly isConcrete: boolean;3799 readonly asConcrete: XcmV1MultiLocation;3800 readonly isAbstract: boolean;3801 readonly asAbstract: Bytes;3802 readonly type: 'Concrete' | 'Abstract';3803}38043805/** @name XcmV1MultiassetAssetInstance */3806export interface XcmV1MultiassetAssetInstance extends Enum {3807 readonly isUndefined: boolean;3808 readonly isIndex: boolean;3809 readonly asIndex: Compact<u128>;3810 readonly isArray4: boolean;3811 readonly asArray4: U8aFixed;3812 readonly isArray8: boolean;3813 readonly asArray8: U8aFixed;3814 readonly isArray16: boolean;3815 readonly asArray16: U8aFixed;3816 readonly isArray32: boolean;3817 readonly asArray32: U8aFixed;3818 readonly isBlob: boolean;3819 readonly asBlob: Bytes;3820 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3821}38223823/** @name XcmV1MultiassetFungibility */3824export interface XcmV1MultiassetFungibility extends Enum {3825 readonly isFungible: boolean;3826 readonly asFungible: Compact<u128>;3827 readonly isNonFungible: boolean;3828 readonly asNonFungible: XcmV1MultiassetAssetInstance;3829 readonly type: 'Fungible' | 'NonFungible';3830}38313832/** @name XcmV1MultiassetMultiAssetFilter */3833export interface XcmV1MultiassetMultiAssetFilter extends Enum {3834 readonly isDefinite: boolean;3835 readonly asDefinite: XcmV1MultiassetMultiAssets;3836 readonly isWild: boolean;3837 readonly asWild: XcmV1MultiassetWildMultiAsset;3838 readonly type: 'Definite' | 'Wild';3839}38403841/** @name XcmV1MultiassetMultiAssets */3842export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}38433844/** @name XcmV1MultiassetWildFungibility */3845export interface XcmV1MultiassetWildFungibility extends Enum {3846 readonly isFungible: boolean;3847 readonly isNonFungible: boolean;3848 readonly type: 'Fungible' | 'NonFungible';3849}38503851/** @name XcmV1MultiassetWildMultiAsset */3852export interface XcmV1MultiassetWildMultiAsset extends Enum {3853 readonly isAll: boolean;3854 readonly isAllOf: boolean;3855 readonly asAllOf: {3856 readonly id: XcmV1MultiassetAssetId;3857 readonly fun: XcmV1MultiassetWildFungibility;3858 } & Struct;3859 readonly type: 'All' | 'AllOf';3860}38613862/** @name XcmV1MultiLocation */3863export interface XcmV1MultiLocation extends Struct {3864 readonly parents: u8;3865 readonly interior: XcmV1MultilocationJunctions;3866}38673868/** @name XcmV1MultilocationJunctions */3869export interface XcmV1MultilocationJunctions extends Enum {3870 readonly isHere: boolean;3871 readonly isX1: boolean;3872 readonly asX1: XcmV1Junction;3873 readonly isX2: boolean;3874 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3875 readonly isX3: boolean;3876 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3877 readonly isX4: boolean;3878 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3879 readonly isX5: boolean;3880 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3881 readonly isX6: boolean;3882 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3883 readonly isX7: boolean;3884 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3885 readonly isX8: boolean;3886 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3887 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3888}38893890/** @name XcmV1Order */3891export interface XcmV1Order extends Enum {3892 readonly isNoop: boolean;3893 readonly isDepositAsset: boolean;3894 readonly asDepositAsset: {3895 readonly assets: XcmV1MultiassetMultiAssetFilter;3896 readonly maxAssets: u32;3897 readonly beneficiary: XcmV1MultiLocation;3898 } & Struct;3899 readonly isDepositReserveAsset: boolean;3900 readonly asDepositReserveAsset: {3901 readonly assets: XcmV1MultiassetMultiAssetFilter;3902 readonly maxAssets: u32;3903 readonly dest: XcmV1MultiLocation;3904 readonly effects: Vec<XcmV1Order>;3905 } & Struct;3906 readonly isExchangeAsset: boolean;3907 readonly asExchangeAsset: {3908 readonly give: XcmV1MultiassetMultiAssetFilter;3909 readonly receive: XcmV1MultiassetMultiAssets;3910 } & Struct;3911 readonly isInitiateReserveWithdraw: boolean;3912 readonly asInitiateReserveWithdraw: {3913 readonly assets: XcmV1MultiassetMultiAssetFilter;3914 readonly reserve: XcmV1MultiLocation;3915 readonly effects: Vec<XcmV1Order>;3916 } & Struct;3917 readonly isInitiateTeleport: boolean;3918 readonly asInitiateTeleport: {3919 readonly assets: XcmV1MultiassetMultiAssetFilter;3920 readonly dest: XcmV1MultiLocation;3921 readonly effects: Vec<XcmV1Order>;3922 } & Struct;3923 readonly isQueryHolding: boolean;3924 readonly asQueryHolding: {3925 readonly queryId: Compact<u64>;3926 readonly dest: XcmV1MultiLocation;3927 readonly assets: XcmV1MultiassetMultiAssetFilter;3928 } & Struct;3929 readonly isBuyExecution: boolean;3930 readonly asBuyExecution: {3931 readonly fees: XcmV1MultiAsset;3932 readonly weight: u64;3933 readonly debt: u64;3934 readonly haltOnError: bool;3935 readonly instructions: Vec<XcmV1Xcm>;3936 } & Struct;3937 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3938}39393940/** @name XcmV1Response */3941export interface XcmV1Response extends Enum {3942 readonly isAssets: boolean;3943 readonly asAssets: XcmV1MultiassetMultiAssets;3944 readonly isVersion: boolean;3945 readonly asVersion: u32;3946 readonly type: 'Assets' | 'Version';3947}39483949/** @name XcmV1Xcm */3950export interface XcmV1Xcm extends Enum {3951 readonly isWithdrawAsset: boolean;3952 readonly asWithdrawAsset: {3953 readonly assets: XcmV1MultiassetMultiAssets;3954 readonly effects: Vec<XcmV1Order>;3955 } & Struct;3956 readonly isReserveAssetDeposited: boolean;3957 readonly asReserveAssetDeposited: {3958 readonly assets: XcmV1MultiassetMultiAssets;3959 readonly effects: Vec<XcmV1Order>;3960 } & Struct;3961 readonly isReceiveTeleportedAsset: boolean;3962 readonly asReceiveTeleportedAsset: {3963 readonly assets: XcmV1MultiassetMultiAssets;3964 readonly effects: Vec<XcmV1Order>;3965 } & Struct;3966 readonly isQueryResponse: boolean;3967 readonly asQueryResponse: {3968 readonly queryId: Compact<u64>;3969 readonly response: XcmV1Response;3970 } & Struct;3971 readonly isTransferAsset: boolean;3972 readonly asTransferAsset: {3973 readonly assets: XcmV1MultiassetMultiAssets;3974 readonly beneficiary: XcmV1MultiLocation;3975 } & Struct;3976 readonly isTransferReserveAsset: boolean;3977 readonly asTransferReserveAsset: {3978 readonly assets: XcmV1MultiassetMultiAssets;3979 readonly dest: XcmV1MultiLocation;3980 readonly effects: Vec<XcmV1Order>;3981 } & Struct;3982 readonly isTransact: boolean;3983 readonly asTransact: {3984 readonly originType: XcmV0OriginKind;3985 readonly requireWeightAtMost: u64;3986 readonly call: XcmDoubleEncoded;3987 } & Struct;3988 readonly isHrmpNewChannelOpenRequest: boolean;3989 readonly asHrmpNewChannelOpenRequest: {3990 readonly sender: Compact<u32>;3991 readonly maxMessageSize: Compact<u32>;3992 readonly maxCapacity: Compact<u32>;3993 } & Struct;3994 readonly isHrmpChannelAccepted: boolean;3995 readonly asHrmpChannelAccepted: {3996 readonly recipient: Compact<u32>;3997 } & Struct;3998 readonly isHrmpChannelClosing: boolean;3999 readonly asHrmpChannelClosing: {4000 readonly initiator: Compact<u32>;4001 readonly sender: Compact<u32>;4002 readonly recipient: Compact<u32>;4003 } & Struct;4004 readonly isRelayedFrom: boolean;4005 readonly asRelayedFrom: {4006 readonly who: XcmV1MultilocationJunctions;4007 readonly message: XcmV1Xcm;4008 } & Struct;4009 readonly isSubscribeVersion: boolean;4010 readonly asSubscribeVersion: {4011 readonly queryId: Compact<u64>;4012 readonly maxResponseWeight: Compact<u64>;4013 } & Struct;4014 readonly isUnsubscribeVersion: boolean;4015 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';4016}40174018/** @name XcmV2Instruction */4019export interface XcmV2Instruction extends Enum {4020 readonly isWithdrawAsset: boolean;4021 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;4022 readonly isReserveAssetDeposited: boolean;4023 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;4024 readonly isReceiveTeleportedAsset: boolean;4025 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;4026 readonly isQueryResponse: boolean;4027 readonly asQueryResponse: {4028 readonly queryId: Compact<u64>;4029 readonly response: XcmV2Response;4030 readonly maxWeight: Compact<u64>;4031 } & Struct;4032 readonly isTransferAsset: boolean;4033 readonly asTransferAsset: {4034 readonly assets: XcmV1MultiassetMultiAssets;4035 readonly beneficiary: XcmV1MultiLocation;4036 } & Struct;4037 readonly isTransferReserveAsset: boolean;4038 readonly asTransferReserveAsset: {4039 readonly assets: XcmV1MultiassetMultiAssets;4040 readonly dest: XcmV1MultiLocation;4041 readonly xcm: XcmV2Xcm;4042 } & Struct;4043 readonly isTransact: boolean;4044 readonly asTransact: {4045 readonly originType: XcmV0OriginKind;4046 readonly requireWeightAtMost: Compact<u64>;4047 readonly call: XcmDoubleEncoded;4048 } & Struct;4049 readonly isHrmpNewChannelOpenRequest: boolean;4050 readonly asHrmpNewChannelOpenRequest: {4051 readonly sender: Compact<u32>;4052 readonly maxMessageSize: Compact<u32>;4053 readonly maxCapacity: Compact<u32>;4054 } & Struct;4055 readonly isHrmpChannelAccepted: boolean;4056 readonly asHrmpChannelAccepted: {4057 readonly recipient: Compact<u32>;4058 } & Struct;4059 readonly isHrmpChannelClosing: boolean;4060 readonly asHrmpChannelClosing: {4061 readonly initiator: Compact<u32>;4062 readonly sender: Compact<u32>;4063 readonly recipient: Compact<u32>;4064 } & Struct;4065 readonly isClearOrigin: boolean;4066 readonly isDescendOrigin: boolean;4067 readonly asDescendOrigin: XcmV1MultilocationJunctions;4068 readonly isReportError: boolean;4069 readonly asReportError: {4070 readonly queryId: Compact<u64>;4071 readonly dest: XcmV1MultiLocation;4072 readonly maxResponseWeight: Compact<u64>;4073 } & Struct;4074 readonly isDepositAsset: boolean;4075 readonly asDepositAsset: {4076 readonly assets: XcmV1MultiassetMultiAssetFilter;4077 readonly maxAssets: Compact<u32>;4078 readonly beneficiary: XcmV1MultiLocation;4079 } & Struct;4080 readonly isDepositReserveAsset: boolean;4081 readonly asDepositReserveAsset: {4082 readonly assets: XcmV1MultiassetMultiAssetFilter;4083 readonly maxAssets: Compact<u32>;4084 readonly dest: XcmV1MultiLocation;4085 readonly xcm: XcmV2Xcm;4086 } & Struct;4087 readonly isExchangeAsset: boolean;4088 readonly asExchangeAsset: {4089 readonly give: XcmV1MultiassetMultiAssetFilter;4090 readonly receive: XcmV1MultiassetMultiAssets;4091 } & Struct;4092 readonly isInitiateReserveWithdraw: boolean;4093 readonly asInitiateReserveWithdraw: {4094 readonly assets: XcmV1MultiassetMultiAssetFilter;4095 readonly reserve: XcmV1MultiLocation;4096 readonly xcm: XcmV2Xcm;4097 } & Struct;4098 readonly isInitiateTeleport: boolean;4099 readonly asInitiateTeleport: {4100 readonly assets: XcmV1MultiassetMultiAssetFilter;4101 readonly dest: XcmV1MultiLocation;4102 readonly xcm: XcmV2Xcm;4103 } & Struct;4104 readonly isQueryHolding: boolean;4105 readonly asQueryHolding: {4106 readonly queryId: Compact<u64>;4107 readonly dest: XcmV1MultiLocation;4108 readonly assets: XcmV1MultiassetMultiAssetFilter;4109 readonly maxResponseWeight: Compact<u64>;4110 } & Struct;4111 readonly isBuyExecution: boolean;4112 readonly asBuyExecution: {4113 readonly fees: XcmV1MultiAsset;4114 readonly weightLimit: XcmV2WeightLimit;4115 } & Struct;4116 readonly isRefundSurplus: boolean;4117 readonly isSetErrorHandler: boolean;4118 readonly asSetErrorHandler: XcmV2Xcm;4119 readonly isSetAppendix: boolean;4120 readonly asSetAppendix: XcmV2Xcm;4121 readonly isClearError: boolean;4122 readonly isClaimAsset: boolean;4123 readonly asClaimAsset: {4124 readonly assets: XcmV1MultiassetMultiAssets;4125 readonly ticket: XcmV1MultiLocation;4126 } & Struct;4127 readonly isTrap: boolean;4128 readonly asTrap: Compact<u64>;4129 readonly isSubscribeVersion: boolean;4130 readonly asSubscribeVersion: {4131 readonly queryId: Compact<u64>;4132 readonly maxResponseWeight: Compact<u64>;4133 } & Struct;4134 readonly isUnsubscribeVersion: boolean;4135 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';4136}41374138/** @name XcmV2Response */4139export interface XcmV2Response extends Enum {4140 readonly isNull: boolean;4141 readonly isAssets: boolean;4142 readonly asAssets: XcmV1MultiassetMultiAssets;4143 readonly isExecutionResult: boolean;4144 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;4145 readonly isVersion: boolean;4146 readonly asVersion: u32;4147 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';4148}41494150/** @name XcmV2TraitsError */4151export interface XcmV2TraitsError extends Enum {4152 readonly isOverflow: boolean;4153 readonly isUnimplemented: boolean;4154 readonly isUntrustedReserveLocation: boolean;4155 readonly isUntrustedTeleportLocation: boolean;4156 readonly isMultiLocationFull: boolean;4157 readonly isMultiLocationNotInvertible: boolean;4158 readonly isBadOrigin: boolean;4159 readonly isInvalidLocation: boolean;4160 readonly isAssetNotFound: boolean;4161 readonly isFailedToTransactAsset: boolean;4162 readonly isNotWithdrawable: boolean;4163 readonly isLocationCannotHold: boolean;4164 readonly isExceedsMaxMessageSize: boolean;4165 readonly isDestinationUnsupported: boolean;4166 readonly isTransport: boolean;4167 readonly isUnroutable: boolean;4168 readonly isUnknownClaim: boolean;4169 readonly isFailedToDecode: boolean;4170 readonly isMaxWeightInvalid: boolean;4171 readonly isNotHoldingFees: boolean;4172 readonly isTooExpensive: boolean;4173 readonly isTrap: boolean;4174 readonly asTrap: u64;4175 readonly isUnhandledXcmVersion: boolean;4176 readonly isWeightLimitReached: boolean;4177 readonly asWeightLimitReached: u64;4178 readonly isBarrier: boolean;4179 readonly isWeightNotComputable: boolean;4180 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';4181}41824183/** @name XcmV2TraitsOutcome */4184export interface XcmV2TraitsOutcome extends Enum {4185 readonly isComplete: boolean;4186 readonly asComplete: u64;4187 readonly isIncomplete: boolean;4188 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;4189 readonly isError: boolean;4190 readonly asError: XcmV2TraitsError;4191 readonly type: 'Complete' | 'Incomplete' | 'Error';4192}41934194/** @name XcmV2WeightLimit */4195export interface XcmV2WeightLimit extends Enum {4196 readonly isUnlimited: boolean;4197 readonly isLimited: boolean;4198 readonly asLimited: Compact<u64>;4199 readonly type: 'Unlimited' | 'Limited';4200}42014202/** @name XcmV2Xcm */4203export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}42044205/** @name XcmVersionedMultiAsset */4206export interface XcmVersionedMultiAsset extends Enum {4207 readonly isV0: boolean;4208 readonly asV0: XcmV0MultiAsset;4209 readonly isV1: boolean;4210 readonly asV1: XcmV1MultiAsset;4211 readonly type: 'V0' | 'V1';4212}42134214/** @name XcmVersionedMultiAssets */4215export interface XcmVersionedMultiAssets extends Enum {4216 readonly isV0: boolean;4217 readonly asV0: Vec<XcmV0MultiAsset>;4218 readonly isV1: boolean;4219 readonly asV1: XcmV1MultiassetMultiAssets;4220 readonly type: 'V0' | 'V1';4221}42224223/** @name XcmVersionedMultiLocation */4224export interface XcmVersionedMultiLocation extends Enum {4225 readonly isV0: boolean;4226 readonly asV0: XcmV0MultiLocation;4227 readonly isV1: boolean;4228 readonly asV1: XcmV1MultiLocation;4229 readonly type: 'V0' | 'V1';4230}42314232/** @name XcmVersionedXcm */4233export interface XcmVersionedXcm extends Enum {4234 readonly isV0: boolean;4235 readonly asV0: XcmV0Xcm;4236 readonly isV1: boolean;4237 readonly asV1: XcmV1Xcm;4238 readonly isV2: boolean;4239 readonly asV2: XcmV2Xcm;4240 readonly type: 'V0' | 'V1' | 'V2';4241}42424243export type PHANTOM_DEFAULT = 'default';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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1867,11 +1867,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 (185) */
tests/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> {