UNPKG

@mangata-finance/types

Version:
1,025 lines • 195 kB
import '@polkadot/types/lookup'; import type { Data } from '@polkadot/types'; import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; import type { Event } from '@polkadot/types/interfaces/system'; declare module '@polkadot/types/lookup' { /** @name FrameSystemAccountInfo (3) */ interface FrameSystemAccountInfo extends Struct { readonly nonce: u32; readonly consumers: u32; readonly providers: u32; readonly sufficients: u32; readonly data: Null; } /** @name FrameSupportDispatchPerDispatchClassWeight (6) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } /** @name SpWeightsWeightV2Weight (7) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact<u64>; readonly proofSize: Compact<u64>; } /** @name SpRuntimeDigest (20) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec<SpRuntimeDigestDigestItem>; } /** @name SpRuntimeDigestDigestItem (22) */ interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; readonly isConsensus: boolean; readonly asConsensus: ITuple<[U8aFixed, Bytes]>; readonly isSeal: boolean; readonly asSeal: ITuple<[U8aFixed, Bytes]>; readonly isPreRuntime: boolean; readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>; readonly isRuntimeEnvironmentUpdated: boolean; readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated'; } /** @name FrameSystemEventRecord (25) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec<H256>; } /** @name FrameSystemEvent (27) */ interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { readonly dispatchInfo: FrameSupportDispatchDispatchInfo; } & Struct; readonly isExtrinsicFailed: boolean; readonly asExtrinsicFailed: { readonly dispatchError: SpRuntimeDispatchError; readonly dispatchInfo: FrameSupportDispatchDispatchInfo; } & Struct; readonly isCodeUpdated: boolean; readonly isNewAccount: boolean; readonly asNewAccount: { readonly account: AccountId32; } & Struct; readonly isKilledAccount: boolean; readonly asKilledAccount: { readonly account: AccountId32; } & Struct; readonly isRemarked: boolean; readonly asRemarked: { readonly sender: AccountId32; readonly hash_: H256; } & Struct; readonly isTxsEnqueued: boolean; readonly asTxsEnqueued: { readonly count: u64; } & Struct; readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'TxsEnqueued'; } /** @name FrameSupportDispatchDispatchInfo (28) */ interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } /** @name FrameSupportDispatchDispatchClass (29) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; readonly isMandatory: boolean; readonly type: 'Normal' | 'Operational' | 'Mandatory'; } /** @name FrameSupportDispatchPays (30) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: 'Yes' | 'No'; } /** @name SpRuntimeDispatchError (31) */ interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; readonly isBadOrigin: boolean; readonly isModule: boolean; readonly asModule: SpRuntimeModuleError; readonly isConsumerRemaining: boolean; readonly isNoProviders: boolean; readonly isTooManyConsumers: boolean; readonly isToken: boolean; readonly asToken: SpRuntimeTokenError; readonly isArithmetic: boolean; readonly asArithmetic: SpArithmeticArithmeticError; readonly isTransactional: boolean; readonly asTransactional: SpRuntimeTransactionalError; readonly isExhausted: boolean; readonly isCorruption: boolean; readonly isUnavailable: boolean; readonly isRootNotAllowed: boolean; readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable' | 'RootNotAllowed'; } /** @name SpRuntimeModuleError (32) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } /** @name SpRuntimeTokenError (33) */ interface SpRuntimeTokenError extends Enum { readonly isFundsUnavailable: boolean; readonly isOnlyProvider: boolean; readonly isBelowMinimum: boolean; readonly isCannotCreate: boolean; readonly isUnknownAsset: boolean; readonly isFrozen: boolean; readonly isUnsupported: boolean; readonly isCannotCreateHold: boolean; readonly isNotExpendable: boolean; readonly isBlocked: boolean; readonly type: 'FundsUnavailable' | 'OnlyProvider' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'CannotCreateHold' | 'NotExpendable' | 'Blocked'; } /** @name SpArithmeticArithmeticError (34) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; readonly isDivisionByZero: boolean; readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero'; } /** @name SpRuntimeTransactionalError (35) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; readonly type: 'LimitReached' | 'NoLayer'; } /** @name CumulusPalletParachainSystemEvent (36) */ interface CumulusPalletParachainSystemEvent extends Enum { readonly isValidationFunctionStored: boolean; readonly isValidationFunctionApplied: boolean; readonly asValidationFunctionApplied: { readonly relayChainBlockNum: u32; } & Struct; readonly isValidationFunctionDiscarded: boolean; readonly isUpgradeAuthorized: boolean; readonly asUpgradeAuthorized: { readonly codeHash: H256; } & Struct; readonly isDownwardMessagesReceived: boolean; readonly asDownwardMessagesReceived: { readonly count: u32; } & Struct; readonly isDownwardMessagesProcessed: boolean; readonly asDownwardMessagesProcessed: { readonly weightUsed: SpWeightsWeightV2Weight; readonly dmqHead: H256; } & Struct; readonly isUpwardMessageSent: boolean; readonly asUpwardMessageSent: { readonly messageHash: Option<U8aFixed>; } & Struct; readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent'; } /** @name PalletUtilityMangataEvent (38) */ interface PalletUtilityMangataEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { readonly index: u32; readonly error: SpRuntimeDispatchError; } & Struct; readonly isBatchCompleted: boolean; readonly isBatchCompletedWithErrors: boolean; readonly isItemCompleted: boolean; readonly isItemFailed: boolean; readonly asItemFailed: { readonly error: SpRuntimeDispatchError; } & Struct; readonly isDispatchedAs: boolean; readonly asDispatchedAs: { readonly result: Result<Null, SpRuntimeDispatchError>; } & Struct; readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs'; } /** @name PalletProxyEvent (40) */ interface PalletProxyEvent extends Enum { readonly isProxyExecuted: boolean; readonly asProxyExecuted: { readonly result: Result<Null, SpRuntimeDispatchError>; } & Struct; readonly isPureCreated: boolean; readonly asPureCreated: { readonly pure: AccountId32; readonly who: AccountId32; readonly proxyType: CommonRuntimeConfigPalletProxyProxyType; readonly disambiguationIndex: u16; } & Struct; readonly isAnnounced: boolean; readonly asAnnounced: { readonly real: AccountId32; readonly proxy: AccountId32; readonly callHash: H256; } & Struct; readonly isProxyAdded: boolean; readonly asProxyAdded: { readonly delegator: AccountId32; readonly delegatee: AccountId32; readonly proxyType: CommonRuntimeConfigPalletProxyProxyType; readonly delay: u32; } & Struct; readonly isProxyRemoved: boolean; readonly asProxyRemoved: { readonly delegator: AccountId32; readonly delegatee: AccountId32; readonly proxyType: CommonRuntimeConfigPalletProxyProxyType; readonly delay: u32; } & Struct; readonly type: 'ProxyExecuted' | 'PureCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved'; } /** @name CommonRuntimeConfigPalletProxyProxyType (41) */ interface CommonRuntimeConfigPalletProxyProxyType extends Enum { readonly isAutoCompound: boolean; readonly type: 'AutoCompound'; } /** @name PalletMaintenanceEvent (43) */ interface PalletMaintenanceEvent extends Enum { readonly isMaintenanceModeSwitchedOn: boolean; readonly asMaintenanceModeSwitchedOn: AccountId32; readonly isMaintenanceModeSwitchedOff: boolean; readonly asMaintenanceModeSwitchedOff: AccountId32; readonly isUpgradabilityInMaintenanceModeSwitchedOn: boolean; readonly asUpgradabilityInMaintenanceModeSwitchedOn: AccountId32; readonly isUpgradabilityInMaintenanceModeSwitchedOff: boolean; readonly asUpgradabilityInMaintenanceModeSwitchedOff: AccountId32; readonly type: 'MaintenanceModeSwitchedOn' | 'MaintenanceModeSwitchedOff' | 'UpgradabilityInMaintenanceModeSwitchedOn' | 'UpgradabilityInMaintenanceModeSwitchedOff'; } /** @name OrmlTokensModuleEvent (44) */ interface OrmlTokensModuleEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isDustLost: boolean; readonly asDustLost: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isTransfer: boolean; readonly asTransfer: { readonly currencyId: u32; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; } & Struct; readonly isReserved: boolean; readonly asReserved: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnreserved: boolean; readonly asUnreserved: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isReserveRepatriated: boolean; readonly asReserveRepatriated: { readonly currencyId: u32; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; readonly status: FrameSupportTokensMiscBalanceStatus; } & Struct; readonly isBalanceSet: boolean; readonly asBalanceSet: { readonly currencyId: u32; readonly who: AccountId32; readonly free: u128; readonly reserved: u128; } & Struct; readonly isTotalIssuanceSet: boolean; readonly asTotalIssuanceSet: { readonly currencyId: u32; readonly amount: u128; } & Struct; readonly isWithdrawn: boolean; readonly asWithdrawn: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isSlashed: boolean; readonly asSlashed: { readonly currencyId: u32; readonly who: AccountId32; readonly freeAmount: u128; readonly reservedAmount: u128; } & Struct; readonly isDeposited: boolean; readonly asDeposited: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockSet: boolean; readonly asLockSet: { readonly lockId: U8aFixed; readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockRemoved: boolean; readonly asLockRemoved: { readonly lockId: U8aFixed; readonly currencyId: u32; readonly who: AccountId32; } & Struct; readonly isCreated: boolean; readonly asCreated: ITuple<[u32, AccountId32, u128]>; readonly isMinted: boolean; readonly asMinted: ITuple<[u32, AccountId32, u128]>; readonly isLocked: boolean; readonly asLocked: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnlocked: boolean; readonly asUnlocked: { readonly currencyId: u32; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isIssued: boolean; readonly asIssued: { readonly currencyId: u32; readonly amount: u128; } & Struct; readonly isRescinded: boolean; readonly asRescinded: { readonly currencyId: u32; readonly amount: u128; } & Struct; readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Created' | 'Minted' | 'Locked' | 'Unlocked' | 'Issued' | 'Rescinded'; } /** @name FrameSupportTokensMiscBalanceStatus (46) */ interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly isFree: boolean; readonly isReserved: boolean; readonly type: 'Free' | 'Reserved'; } /** @name PalletTransactionPaymentMangataEvent (48) */ interface PalletTransactionPaymentMangataEvent extends Enum { readonly isTransactionFeePaid: boolean; readonly asTransactionFeePaid: { readonly who: AccountId32; readonly actualFee: u128; readonly tip: u128; } & Struct; readonly type: 'TransactionFeePaid'; } /** @name PalletXykEvent (49) */ interface PalletXykEvent extends Enum { readonly isPoolCreated: boolean; readonly asPoolCreated: ITuple<[AccountId32, u32, u128, u32, u128]>; readonly isAssetsSwapped: boolean; readonly asAssetsSwapped: ITuple<[AccountId32, Vec<u32>, u128, u128]>; readonly isSellAssetFailedDueToSlippage: boolean; readonly asSellAssetFailedDueToSlippage: ITuple<[AccountId32, u32, u128, u32, u128, u128]>; readonly isBuyAssetFailedDueToSlippage: boolean; readonly asBuyAssetFailedDueToSlippage: ITuple<[AccountId32, u32, u128, u32, u128, u128]>; readonly isLiquidityMinted: boolean; readonly asLiquidityMinted: ITuple<[AccountId32, u32, u128, u32, u128, u32, u128]>; readonly isLiquidityBurned: boolean; readonly asLiquidityBurned: ITuple<[AccountId32, u32, u128, u32, u128, u32, u128]>; readonly isPoolPromotionUpdated: boolean; readonly asPoolPromotionUpdated: ITuple<[u32, Option<u8>]>; readonly isLiquidityActivated: boolean; readonly asLiquidityActivated: ITuple<[AccountId32, u32, u128]>; readonly isLiquidityDeactivated: boolean; readonly asLiquidityDeactivated: ITuple<[AccountId32, u32, u128]>; readonly isRewardsClaimed: boolean; readonly asRewardsClaimed: ITuple<[AccountId32, u32, u128]>; readonly isMultiSwapAssetFailedOnAtomicSwap: boolean; readonly asMultiSwapAssetFailedOnAtomicSwap: ITuple<[AccountId32, Vec<u32>, u128, SpRuntimeModuleError]>; readonly type: 'PoolCreated' | 'AssetsSwapped' | 'SellAssetFailedDueToSlippage' | 'BuyAssetFailedDueToSlippage' | 'LiquidityMinted' | 'LiquidityBurned' | 'PoolPromotionUpdated' | 'LiquidityActivated' | 'LiquidityDeactivated' | 'RewardsClaimed' | 'MultiSwapAssetFailedOnAtomicSwap'; } /** @name PalletProofOfStakeEvent (52) */ interface PalletProofOfStakeEvent extends Enum { readonly isPoolPromotionUpdated: boolean; readonly asPoolPromotionUpdated: ITuple<[u32, Option<u8>]>; readonly isLiquidityActivated: boolean; readonly asLiquidityActivated: ITuple<[AccountId32, u32, u128]>; readonly isLiquidityDeactivated: boolean; readonly asLiquidityDeactivated: ITuple<[AccountId32, u32, u128]>; readonly isRewardsClaimed: boolean; readonly asRewardsClaimed: ITuple<[AccountId32, u32, u128]>; readonly isThirdPartyRewardsClaimed: boolean; readonly asThirdPartyRewardsClaimed: ITuple<[AccountId32, u32, u32, u128]>; readonly isThirdPartyLiquidityActivated: boolean; readonly asThirdPartyLiquidityActivated: ITuple<[AccountId32, u32, u32, u128]>; readonly isThirdPartyLiquidityDeactivated: boolean; readonly asThirdPartyLiquidityDeactivated: ITuple<[AccountId32, u32, u32, u128]>; readonly isThirdPartySuccessfulPoolPromotion: boolean; readonly asThirdPartySuccessfulPoolPromotion: ITuple<[AccountId32, u32, u32, u128]>; readonly type: 'PoolPromotionUpdated' | 'LiquidityActivated' | 'LiquidityDeactivated' | 'RewardsClaimed' | 'ThirdPartyRewardsClaimed' | 'ThirdPartyLiquidityActivated' | 'ThirdPartyLiquidityDeactivated' | 'ThirdPartySuccessfulPoolPromotion'; } /** @name PalletFeeLockEvent (53) */ interface PalletFeeLockEvent extends Enum { readonly isFeeLockMetadataUpdated: boolean; readonly isFeeLockUnlocked: boolean; readonly asFeeLockUnlocked: ITuple<[AccountId32, u128]>; readonly isFeeLocked: boolean; readonly asFeeLocked: { readonly who: AccountId32; readonly lockAmount: u128; readonly totalLocked: u128; } & Struct; readonly type: 'FeeLockMetadataUpdated' | 'FeeLockUnlocked' | 'FeeLocked'; } /** @name PalletVestingMangataEvent (54) */ interface PalletVestingMangataEvent extends Enum { readonly isVestingUpdated: boolean; readonly asVestingUpdated: { readonly account: AccountId32; readonly tokenId: u32; readonly unvested: u128; } & Struct; readonly isVestingCompleted: boolean; readonly asVestingCompleted: { readonly account: AccountId32; readonly tokenId: u32; } & Struct; readonly type: 'VestingUpdated' | 'VestingCompleted'; } /** @name PalletCrowdloanRewardsEvent (55) */ interface PalletCrowdloanRewardsEvent extends Enum { readonly isInitialPaymentMade: boolean; readonly asInitialPaymentMade: ITuple<[AccountId32, u128]>; readonly isNativeIdentityAssociated: boolean; readonly asNativeIdentityAssociated: ITuple<[AccountId32, AccountId32, u128]>; readonly isRewardsPaid: boolean; readonly asRewardsPaid: ITuple<[AccountId32, u128]>; readonly isRewardAddressUpdated: boolean; readonly asRewardAddressUpdated: ITuple<[AccountId32, AccountId32]>; readonly isInitializedAlreadyInitializedAccount: boolean; readonly asInitializedAlreadyInitializedAccount: ITuple<[AccountId32, Option<AccountId32>, u128]>; readonly isInitializedAccountWithNotEnoughContribution: boolean; readonly asInitializedAccountWithNotEnoughContribution: ITuple<[AccountId32, Option<AccountId32>, u128]>; readonly type: 'InitialPaymentMade' | 'NativeIdentityAssociated' | 'RewardsPaid' | 'RewardAddressUpdated' | 'InitializedAlreadyInitializedAccount' | 'InitializedAccountWithNotEnoughContribution'; } /** @name PalletIssuanceEvent (56) */ interface PalletIssuanceEvent extends Enum { readonly isSessionIssuanceIssued: boolean; readonly asSessionIssuanceIssued: ITuple<[u32, u128, u128]>; readonly isSessionIssuanceRecorded: boolean; readonly asSessionIssuanceRecorded: ITuple<[u32, u128, u128]>; readonly isIssuanceConfigInitialized: boolean; readonly asIssuanceConfigInitialized: PalletIssuanceIssuanceInfo; readonly isTgeFinalized: boolean; readonly isTgeInstanceFailed: boolean; readonly asTgeInstanceFailed: PalletIssuanceTgeInfo; readonly isTgeInstanceSucceeded: boolean; readonly asTgeInstanceSucceeded: PalletIssuanceTgeInfo; readonly type: 'SessionIssuanceIssued' | 'SessionIssuanceRecorded' | 'IssuanceConfigInitialized' | 'TgeFinalized' | 'TgeInstanceFailed' | 'TgeInstanceSucceeded'; } /** @name PalletIssuanceIssuanceInfo (57) */ interface PalletIssuanceIssuanceInfo extends Struct { readonly cap: u128; readonly issuanceAtInit: u128; readonly linearIssuanceBlocks: u32; readonly liquidityMiningSplit: Perbill; readonly stakingSplit: Perbill; readonly totalCrowdloanAllocation: u128; } /** @name PalletIssuanceTgeInfo (59) */ interface PalletIssuanceTgeInfo extends Struct { readonly who: AccountId32; readonly amount: u128; } /** @name PalletMultipurposeLiquidityEvent (60) */ interface PalletMultipurposeLiquidityEvent extends Enum { readonly isVestingTokensReserved: boolean; readonly asVestingTokensReserved: ITuple<[AccountId32, u32, u128]>; readonly isTokensRelockedFromReserve: boolean; readonly asTokensRelockedFromReserve: ITuple<[AccountId32, u32, u128, u128]>; readonly type: 'VestingTokensReserved' | 'TokensRelockedFromReserve'; } /** @name PalletBootstrapEvent (61) */ interface PalletBootstrapEvent extends Enum { readonly isProvisioned: boolean; readonly asProvisioned: ITuple<[u32, u128]>; readonly isVestedProvisioned: boolean; readonly asVestedProvisioned: ITuple<[u32, u128]>; readonly isRewardsLiquidityAcitvationFailed: boolean; readonly asRewardsLiquidityAcitvationFailed: ITuple<[AccountId32, u32, u128]>; readonly isRewardsClaimed: boolean; readonly asRewardsClaimed: ITuple<[u32, u128]>; readonly isAccountsWhitelisted: boolean; readonly isBootstrapParitallyPreFinalized: boolean; readonly isBootstrapReadyToBeFinalized: boolean; readonly isBootstrapFinalized: boolean; readonly type: 'Provisioned' | 'VestedProvisioned' | 'RewardsLiquidityAcitvationFailed' | 'RewardsClaimed' | 'AccountsWhitelisted' | 'BootstrapParitallyPreFinalized' | 'BootstrapReadyToBeFinalized' | 'BootstrapFinalized'; } /** @name ParachainStakingEvent (62) */ interface ParachainStakingEvent extends Enum { readonly isNewRound: boolean; readonly asNewRound: ITuple<[u32, u32, u32, u128]>; readonly isJoinedCollatorCandidates: boolean; readonly asJoinedCollatorCandidates: ITuple<[AccountId32, u128, u128]>; readonly isCollatorChosen: boolean; readonly asCollatorChosen: ITuple<[u32, AccountId32, u128]>; readonly isCandidateBondMoreRequested: boolean; readonly asCandidateBondMoreRequested: ITuple<[AccountId32, u128, u32]>; readonly isCandidateBondLessRequested: boolean; readonly asCandidateBondLessRequested: ITuple<[AccountId32, u128, u32]>; readonly isCandidateBondedMore: boolean; readonly asCandidateBondedMore: ITuple<[AccountId32, u128, u128]>; readonly isCandidateBondedLess: boolean; readonly asCandidateBondedLess: ITuple<[AccountId32, u128, u128]>; readonly isCandidateWentOffline: boolean; readonly asCandidateWentOffline: ITuple<[u32, AccountId32]>; readonly isCandidateBackOnline: boolean; readonly asCandidateBackOnline: ITuple<[u32, AccountId32]>; readonly isCandidateScheduledExit: boolean; readonly asCandidateScheduledExit: ITuple<[u32, AccountId32, u32]>; readonly isCancelledCandidateExit: boolean; readonly asCancelledCandidateExit: AccountId32; readonly isCancelledCandidateBondChange: boolean; readonly asCancelledCandidateBondChange: ITuple<[AccountId32, ParachainStakingCandidateBondRequest]>; readonly isCandidateLeft: boolean; readonly asCandidateLeft: ITuple<[AccountId32, u128, u128]>; readonly isDelegationIncreaseScheduled: boolean; readonly asDelegationIncreaseScheduled: ITuple<[AccountId32, AccountId32, u128, u32]>; readonly isDelegationDecreaseScheduled: boolean; readonly asDelegationDecreaseScheduled: ITuple<[AccountId32, AccountId32, u128, u32]>; readonly isDelegationIncreased: boolean; readonly asDelegationIncreased: ITuple<[AccountId32, AccountId32, u128, bool]>; readonly isDelegationDecreased: boolean; readonly asDelegationDecreased: ITuple<[AccountId32, AccountId32, u128, bool]>; readonly isDelegatorExitScheduled: boolean; readonly asDelegatorExitScheduled: ITuple<[u32, AccountId32, u32]>; readonly isDelegationRevocationScheduled: boolean; readonly asDelegationRevocationScheduled: ITuple<[u32, AccountId32, AccountId32, u32]>; readonly isDelegatorLeft: boolean; readonly asDelegatorLeft: ITuple<[AccountId32, u128]>; readonly isDelegationRevoked: boolean; readonly asDelegationRevoked: ITuple<[AccountId32, AccountId32, u128]>; readonly isDelegatorExitCancelled: boolean; readonly asDelegatorExitCancelled: AccountId32; readonly isCancelledDelegationRequest: boolean; readonly asCancelledDelegationRequest: ITuple<[AccountId32, ParachainStakingDelegationRequest]>; readonly isDelegation: boolean; readonly asDelegation: ITuple<[AccountId32, u128, AccountId32, ParachainStakingDelegatorAdded]>; readonly isDelegatorLeftCandidate: boolean; readonly asDelegatorLeftCandidate: ITuple<[AccountId32, AccountId32, u128, u128]>; readonly isDelegatorDueReward: boolean; readonly asDelegatorDueReward: ITuple<[u32, AccountId32, AccountId32, u128]>; readonly isRewarded: boolean; readonly asRewarded: ITuple<[u32, AccountId32, u128]>; readonly isCollatorRewardsDistributed: boolean; readonly asCollatorRewardsDistributed: ITuple<[AccountId32, ParachainStakingPayoutRounds]>; readonly isStakeExpectationsSet: boolean; readonly asStakeExpectationsSet: ITuple<[u128, u128, u128]>; readonly isTotalSelectedSet: boolean; readonly asTotalSelectedSet: ITuple<[u32, u32]>; readonly isCollatorCommissionSet: boolean; readonly asCollatorCommissionSet: ITuple<[Perbill, Perbill]>; readonly isCandidateAggregatorUpdated: boolean; readonly asCandidateAggregatorUpdated: ITuple<[AccountId32, Option<AccountId32>]>; readonly isAggregatorMetadataUpdated: boolean; readonly asAggregatorMetadataUpdated: AccountId32; readonly type: 'NewRound' | 'JoinedCollatorCandidates' | 'CollatorChosen' | 'CandidateBondMoreRequested' | 'CandidateBondLessRequested' | 'CandidateBondedMore' | 'CandidateBondedLess' | 'CandidateWentOffline' | 'CandidateBackOnline' | 'CandidateScheduledExit' | 'CancelledCandidateExit' | 'CancelledCandidateBondChange' | 'CandidateLeft' | 'DelegationIncreaseScheduled' | 'DelegationDecreaseScheduled' | 'DelegationIncreased' | 'DelegationDecreased' | 'DelegatorExitScheduled' | 'DelegationRevocationScheduled' | 'DelegatorLeft' | 'DelegationRevoked' | 'DelegatorExitCancelled' | 'CancelledDelegationRequest' | 'Delegation' | 'DelegatorLeftCandidate' | 'DelegatorDueReward' | 'Rewarded' | 'CollatorRewardsDistributed' | 'StakeExpectationsSet' | 'TotalSelectedSet' | 'CollatorCommissionSet' | 'CandidateAggregatorUpdated' | 'AggregatorMetadataUpdated'; } /** @name ParachainStakingCandidateBondRequest (63) */ interface ParachainStakingCandidateBondRequest extends Struct { readonly amount: u128; readonly change: ParachainStakingCandidateBondChange; readonly whenExecutable: u32; } /** @name ParachainStakingCandidateBondChange (64) */ interface ParachainStakingCandidateBondChange extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: 'Increase' | 'Decrease'; } /** @name ParachainStakingDelegationRequest (65) */ interface ParachainStakingDelegationRequest extends Struct { readonly collator: AccountId32; readonly amount: u128; readonly whenExecutable: u32; readonly action: ParachainStakingDelegationChange; } /** @name ParachainStakingDelegationChange (66) */ interface ParachainStakingDelegationChange extends Enum { readonly isRevoke: boolean; readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: 'Revoke' | 'Increase' | 'Decrease'; } /** @name ParachainStakingDelegatorAdded (67) */ interface ParachainStakingDelegatorAdded extends Enum { readonly isAddedToTop: boolean; readonly asAddedToTop: { readonly newTotal: u128; } & Struct; readonly isAddedToBottom: boolean; readonly type: 'AddedToTop' | 'AddedToBottom'; } /** @name ParachainStakingPayoutRounds (68) */ interface ParachainStakingPayoutRounds extends Enum { readonly isAll: boolean; readonly isPartial: boolean; readonly asPartial: Vec<u32>; readonly type: 'All' | 'Partial'; } /** @name PalletSessionEvent (69) */ interface PalletSessionEvent extends Enum { readonly isNewSession: boolean; readonly asNewSession: { readonly sessionIndex: u32; } & Struct; readonly type: 'NewSession'; } /** @name CumulusPalletXcmpQueueEvent (70) */ interface CumulusPalletXcmpQueueEvent extends Enum { readonly isSuccess: boolean; readonly asSuccess: { readonly messageHash: U8aFixed; readonly messageId: U8aFixed; readonly weight: SpWeightsWeightV2Weight; } & Struct; readonly isFail: boolean; readonly asFail: { readonly messageHash: U8aFixed; readonly messageId: U8aFixed; readonly error: StagingXcmV3TraitsError; readonly weight: SpWeightsWeightV2Weight; } & Struct; readonly isBadVersion: boolean; readonly asBadVersion: { readonly messageHash: U8aFixed; } & Struct; readonly isBadFormat: boolean; readonly asBadFormat: { readonly messageHash: U8aFixed; } & Struct; readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { readonly messageHash: U8aFixed; } & Struct; readonly isOverweightEnqueued: boolean; readonly asOverweightEnqueued: { readonly sender: u32; readonly sentAt: u32; readonly index: u64; readonly required: SpWeightsWeightV2Weight; } & Struct; readonly isOverweightServiced: boolean; readonly asOverweightServiced: { readonly index: u64; readonly used: SpWeightsWeightV2Weight; } & Struct; readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced'; } /** @name StagingXcmV3TraitsError (71) */ interface StagingXcmV3TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; readonly isUntrustedReserveLocation: boolean; readonly isUntrustedTeleportLocation: boolean; readonly isLocationFull: boolean; readonly isLocationNotInvertible: boolean; readonly isBadOrigin: boolean; readonly isInvalidLocation: boolean; readonly isAssetNotFound: boolean; readonly isFailedToTransactAsset: boolean; readonly isNotWithdrawable: boolean; readonly isLocationCannotHold: boolean; readonly isExceedsMaxMessageSize: boolean; readonly isDestinationUnsupported: boolean; readonly isTransport: boolean; readonly isUnroutable: boolean; readonly isUnknownClaim: boolean; readonly isFailedToDecode: boolean; readonly isMaxWeightInvalid: boolean; readonly isNotHoldingFees: boolean; readonly isTooExpensive: boolean; readonly isTrap: boolean; readonly asTrap: u64; readonly isExpectationFalse: boolean; readonly isPalletNotFound: boolean; readonly isNameMismatch: boolean; readonly isVersionIncompatible: boolean; readonly isHoldingWouldOverflow: boolean; readonly isExportError: boolean; readonly isReanchorFailed: boolean; readonly isNoDeal: boolean; readonly isFeesNotMet: boolean; readonly isLockError: boolean; readonly isNoPermission: boolean; readonly isUnanchored: boolean; readonly isNotDepositable: boolean; readonly isUnhandledXcmVersion: boolean; readonly isWeightLimitReached: boolean; readonly asWeightLimitReached: SpWeightsWeightV2Weight; readonly isBarrier: boolean; readonly isWeightNotComputable: boolean; readonly isExceedsStackLimit: boolean; readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit'; } /** @name PalletXcmEvent (73) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { readonly outcome: StagingXcmV3TraitsOutcome; } & Struct; readonly isSent: boolean; readonly asSent: { readonly origin: StagingXcmV3MultiLocation; readonly destination: StagingXcmV3MultiLocation; readonly message: StagingXcmV3Xcm; readonly messageId: U8aFixed; } & Struct; readonly isUnexpectedResponse: boolean; readonly asUnexpectedResponse: { readonly origin: StagingXcmV3MultiLocation; readonly queryId: u64; } & Struct; readonly isResponseReady: boolean; readonly asResponseReady: { readonly queryId: u64; readonly response: StagingXcmV3Response; } & Struct; readonly isNotified: boolean; readonly asNotified: { readonly queryId: u64; readonly palletIndex: u8; readonly callIndex: u8; } & Struct; readonly isNotifyOverweight: boolean; readonly asNotifyOverweight: { readonly queryId: u64; readonly palletIndex: u8; readonly callIndex: u8; readonly actualWeight: SpWeightsWeightV2Weight; readonly maxBudgetedWeight: SpWeightsWeightV2Weight; } & Struct; readonly isNotifyDispatchError: boolean; readonly asNotifyDispatchError: { readonly queryId: u64; readonly palletIndex: u8; readonly callIndex: u8; } & Struct; readonly isNotifyDecodeFailed: boolean; readonly asNotifyDecodeFailed: { readonly queryId: u64; readonly palletIndex: u8; readonly callIndex: u8; } & Struct; readonly isInvalidResponder: boolean; readonly asInvalidResponder: { readonly origin: StagingXcmV3MultiLocation; readonly queryId: u64; readonly expectedLocation: Option<StagingXcmV3MultiLocation>; } & Struct; readonly isInvalidResponderVersion: boolean; readonly asInvalidResponderVersion: { readonly origin: StagingXcmV3MultiLocation; readonly queryId: u64; } & Struct; readonly isResponseTaken: boolean; readonly asResponseTaken: { readonly queryId: u64; } & Struct; readonly isAssetsTrapped: boolean; readonly asAssetsTrapped: { readonly hash_: H256; readonly origin: StagingXcmV3MultiLocation; readonly assets: StagingXcmVersionedMultiAssets; } & Struct; readonly isVersionChangeNotified: boolean; readonly asVersionChangeNotified: { readonly destination: StagingXcmV3MultiLocation; readonly result: u32; readonly cost: StagingXcmV3MultiassetMultiAssets; readonly messageId: U8aFixed; } & Struct; readonly isSupportedVersionChanged: boolean; readonly asSupportedVersionChanged: { readonly location: StagingXcmV3MultiLocation; readonly version: u32; } & Struct; readonly isNotifyTargetSendFail: boolean; readonly asNotifyTargetSendFail: { readonly location: StagingXcmV3MultiLocation; readonly queryId: u64; readonly error: StagingXcmV3TraitsError; } & Struct; readonly isNotifyTargetMigrationFail: boolean; readonly asNotifyTargetMigrationFail: { readonly location: StagingXcmVersionedMultiLocation; readonly queryId: u64; } & Struct; readonly isInvalidQuerierVersion: boolean; readonly asInvalidQuerierVersion: { readonly origin: StagingXcmV3MultiLocation; readonly queryId: u64; } & Struct; readonly isInvalidQuerier: boolean; readonly asInvalidQuerier: { readonly origin: StagingXcmV3MultiLocation; readonly queryId: u64; readonly expectedQuerier: StagingXcmV3MultiLocation; readonly maybeActualQuerier: Option<StagingXcmV3MultiLocation>; } & Struct; readonly isVersionNotifyStarted: boolean; readonly asVersionNotifyStarted: { readonly destination: StagingXcmV3MultiLocation; readonly cost: StagingXcmV3MultiassetMultiAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyRequested: boolean; readonly asVersionNotifyRequested: { readonly destination: StagingXcmV3MultiLocation; readonly cost: StagingXcmV3MultiassetMultiAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyUnrequested: boolean; readonly asVersionNotifyUnrequested: { readonly destination: StagingXcmV3MultiLocation; readonly cost: StagingXcmV3MultiassetMultiAssets; readonly messageId: U8aFixed; } & Struct; readonly isFeesPaid: boolean; readonly asFeesPaid: { readonly paying: StagingXcmV3MultiLocation; readonly fees: StagingXcmV3MultiassetMultiAssets; } & Struct; readonly isAssetsClaimed: boolean; readonly asAssetsClaimed: { readonly hash_: H256; readonly origin: StagingXcmV3MultiLocation; readonly assets: StagingXcmVersionedMultiAssets; } & Struct; readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed'; } /** @name StagingXcmV3TraitsOutcome (74) */ interface StagingXcmV3TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: SpWeightsWeightV2Weight; readonly isIncomplete: boolean; readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, StagingXcmV3TraitsError]>; readonly isError: boolean; readonly asError: StagingXcmV3TraitsError; readonly type: 'Complete' | 'Incomplete' | 'Error'; } /** @name StagingXcmV3MultiLocation (75) */ interface StagingXcmV3MultiLocation extends Struct { readonly parents: u8; readonly interior: StagingXcmV3Junctions; } /** @name StagingXcmV3Junctions (76) */ interface StagingXcmV3Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; readonly asX1: StagingXcmV3Junction; readonly isX2: boolean; readonly asX2: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX3: boolean; readonly asX3: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX4: boolean; readonly asX4: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX5: boolean; readonly asX5: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX6: boolean; readonly asX6: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX7: boolean; readonly asX7: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX8: boolean; readonly asX8: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } /** @name StagingXcmV3Junction (77) */ interface StagingXcmV3Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact<u32>; readonly isAccountId32: boolean; readonly asAccountId32: { readonly network: Option<StagingXcmV3JunctionNetworkId>; readonly id: U8aFixed; } & Struct; readonly isAccountIndex64: boolean; readonly asAccountIndex64: { readonly network: Option<StagingXcmV3JunctionNetworkId>; readonly index: Compact<u64>; } & Struct; readonly isAccountKey20: boolean; readonly asAccountKey20: { readonly network: Option<StagingXcmV3JunctionNetworkId>; readonly key: U8aFixed; } & Struct; readonly isPalletInstance: boolean; readonly asPalletInstance: u8; readonly isGeneralIndex: boolean; readonly asGeneralIndex: Compact<u128>; readonly isGeneralKey: boolean; readonly asGeneralKey: { readonly length: u8; readonly data: U8aFixed; } & Struct; readonly isOnlyChild: boolean; readonly isPlurality: boolean; readonly asPlurality: { readonly id: StagingXcmV3JunctionBodyId; readonly part: StagingXcmV3JunctionBodyPart; } & Struct; readonly isGlobalConsensus: boolean; readonly asGlobalConsensus: StagingXcmV3JunctionNetworkId; readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; } /** @name StagingXcmV3JunctionNetworkId (80) */ interface StagingXcmV3JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; readonly isByFork: boolean; readonly asByFork: { readonly blockNumber: u64; readonly blockHash: U8aFixed; } & Struct; readonly isPolkadot: boolean; readonly isKusama: boolean; readonly isWestend: boolean; readonly isRococo: boolean; readonly isWococo: boolean; readonly isEthereum: boolean; readonly asEthereum: { readonly chainId: Compact<u64>; } & Struct; readonly isBitcoinCore: boolean; readonly isBitcoinCash: boolean; readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash'; } /** @name StagingXcmV3JunctionBodyId (83) */ interface StagingXcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; readonly asMoniker: U8aFixed; readonly isIndex: boolean; readonly asIndex: Compact<u32>; readonly isExecutive: boolean; readonly isTechnical: boolean; readonly isLegislative: boolean; readonly isJudicial: boolean; readonly isDefense: boolean; readonly isAdministration: boolean; readonly isTreasury: boolean; readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; } /** @name StagingXcmV3JunctionBodyPart (84) */ interface StagingXcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; readonly asMembers: { readonly count: Compact<u32>; } & Struct; readonly isFraction: boolean; readonly asFraction: { readonly nom: Compact<u32>; readonly denom: Compact<u32>; } & Struct; readonly isAtLeastProportion: boolean; readonly asAtLeastProportion: { readonly nom: Compact<u32>; readonly denom: Compact<u32>; } & Struct; readonly isMoreThanProportion: boolean; readonly asMoreThanProportion: { readonly nom: Compact<u32>; readonly denom: Compact<u32>; } & Struct; readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; } /** @name StagingXcmV3Xcm (85) */ interface StagingXcmV3Xcm extends Vec<StagingXcmV3Instruction> { } /** @name StagingXcmV3Instruction (87) */ interface StagingXcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: StagingXcmV3MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; readonly asReserveAssetDeposited: StagingXcmV3MultiassetMultiAssets; readonly isReceiveTeleportedAsset: boolean; readonly asReceiveTeleportedAsset: StagingXcmV3MultiassetMultiAssets; readonly isQueryResponse: boolean; readonly asQueryResponse: { readonly queryId: Compact<u64>; readonly response: StagingXcmV3Response; readonly maxWeight: SpWeightsWeightV2Weight; readonly querier: Option<StagingXcmV3MultiLocation>; } & Struct; readonly isTransferAsset: boolean; readonly asTransferAsset: { readonly assets: StagingXcmV3MultiassetMultiAssets; r