UNPKG

@moonbeam-network/api-augment

Version:
1,566 lines (1,510 loc) 272 kB
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ // import type lookup before we augment - in some environments // this is required to allow for ambient/previous definitions import "@polkadot/types/lookup"; import type { Data } from "@polkadot/types"; import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, i64, u128, u16, u32, u64, u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { Vote } from "@polkadot/types/interfaces/elections"; import type { AccountId20, Call, H160, H256, Perbill, Percent } 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: PalletBalancesAccountData; } /** @name PalletBalancesAccountData (5) */ interface PalletBalancesAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly frozen: u128; readonly flags: u128; } /** @name FrameSupportDispatchPerDispatchClassWeight (9) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } /** @name SpWeightsWeightV2Weight (10) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact<u64>; readonly proofSize: Compact<u64>; } /** @name SpRuntimeDigest (16) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec<SpRuntimeDigestDigestItem>; } /** @name SpRuntimeDigestDigestItem (18) */ 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 (21) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec<H256>; } /** @name FrameSystemEvent (23) */ 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: AccountId20; } & Struct; readonly isKilledAccount: boolean; readonly asKilledAccount: { readonly account: AccountId20; } & Struct; readonly isRemarked: boolean; readonly asRemarked: { readonly sender: AccountId20; readonly hash_: H256; } & Struct; readonly isUpgradeAuthorized: boolean; readonly asUpgradeAuthorized: { readonly codeHash: H256; readonly checkVersion: bool; } & Struct; readonly type: | "ExtrinsicSuccess" | "ExtrinsicFailed" | "CodeUpdated" | "NewAccount" | "KilledAccount" | "Remarked" | "UpgradeAuthorized"; } /** @name FrameSupportDispatchDispatchInfo (24) */ interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } /** @name FrameSupportDispatchDispatchClass (25) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; readonly isMandatory: boolean; readonly type: "Normal" | "Operational" | "Mandatory"; } /** @name FrameSupportDispatchPays (26) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: "Yes" | "No"; } /** @name SpRuntimeDispatchError (27) */ 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 (28) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } /** @name SpRuntimeTokenError (29) */ 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 (30) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; readonly isDivisionByZero: boolean; readonly type: "Underflow" | "Overflow" | "DivisionByZero"; } /** @name SpRuntimeTransactionalError (31) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; readonly type: "LimitReached" | "NoLayer"; } /** @name PalletUtilityEvent (32) */ interface PalletUtilityEvent 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 PalletBalancesEvent (35) */ interface PalletBalancesEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { readonly account: AccountId20; readonly freeBalance: u128; } & Struct; readonly isDustLost: boolean; readonly asDustLost: { readonly account: AccountId20; readonly amount: u128; } & Struct; readonly isTransfer: boolean; readonly asTransfer: { readonly from: AccountId20; readonly to: AccountId20; readonly amount: u128; } & Struct; readonly isBalanceSet: boolean; readonly asBalanceSet: { readonly who: AccountId20; readonly free: u128; } & Struct; readonly isReserved: boolean; readonly asReserved: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isUnreserved: boolean; readonly asUnreserved: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isReserveRepatriated: boolean; readonly asReserveRepatriated: { readonly from: AccountId20; readonly to: AccountId20; readonly amount: u128; readonly destinationStatus: FrameSupportTokensMiscBalanceStatus; } & Struct; readonly isDeposit: boolean; readonly asDeposit: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isWithdraw: boolean; readonly asWithdraw: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isSlashed: boolean; readonly asSlashed: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isMinted: boolean; readonly asMinted: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isBurned: boolean; readonly asBurned: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isSuspended: boolean; readonly asSuspended: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isRestored: boolean; readonly asRestored: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isUpgraded: boolean; readonly asUpgraded: { readonly who: AccountId20; } & Struct; readonly isIssued: boolean; readonly asIssued: { readonly amount: u128; } & Struct; readonly isRescinded: boolean; readonly asRescinded: { readonly amount: u128; } & Struct; readonly isLocked: boolean; readonly asLocked: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isUnlocked: boolean; readonly asUnlocked: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isFrozen: boolean; readonly asFrozen: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isThawed: boolean; readonly asThawed: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isTotalIssuanceForced: boolean; readonly asTotalIssuanceForced: { readonly old: u128; readonly new_: u128; } & Struct; readonly type: | "Endowed" | "DustLost" | "Transfer" | "BalanceSet" | "Reserved" | "Unreserved" | "ReserveRepatriated" | "Deposit" | "Withdraw" | "Slashed" | "Minted" | "Burned" | "Suspended" | "Restored" | "Upgraded" | "Issued" | "Rescinded" | "Locked" | "Unlocked" | "Frozen" | "Thawed" | "TotalIssuanceForced"; } /** @name FrameSupportTokensMiscBalanceStatus (36) */ interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly isFree: boolean; readonly isReserved: boolean; readonly type: "Free" | "Reserved"; } /** @name PalletSudoEvent (37) */ interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { readonly sudoResult: Result<Null, SpRuntimeDispatchError>; } & Struct; readonly isKeyChanged: boolean; readonly asKeyChanged: { readonly old: Option<AccountId20>; readonly new_: AccountId20; } & Struct; readonly isKeyRemoved: boolean; readonly isSudoAsDone: boolean; readonly asSudoAsDone: { readonly sudoResult: Result<Null, SpRuntimeDispatchError>; } & Struct; readonly type: "Sudid" | "KeyChanged" | "KeyRemoved" | "SudoAsDone"; } /** @name CumulusPalletParachainSystemEvent (39) */ interface CumulusPalletParachainSystemEvent extends Enum { readonly isValidationFunctionStored: boolean; readonly isValidationFunctionApplied: boolean; readonly asValidationFunctionApplied: { readonly relayChainBlockNum: u32; } & Struct; readonly isValidationFunctionDiscarded: boolean; 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" | "DownwardMessagesReceived" | "DownwardMessagesProcessed" | "UpwardMessageSent"; } /** @name PalletTransactionPaymentEvent (41) */ interface PalletTransactionPaymentEvent extends Enum { readonly isTransactionFeePaid: boolean; readonly asTransactionFeePaid: { readonly who: AccountId20; readonly actualFee: u128; readonly tip: u128; } & Struct; readonly type: "TransactionFeePaid"; } /** @name PalletEvmEvent (42) */ interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: { readonly log: EthereumLog; } & Struct; readonly isCreated: boolean; readonly asCreated: { readonly address: H160; } & Struct; readonly isCreatedFailed: boolean; readonly asCreatedFailed: { readonly address: H160; } & Struct; readonly isExecuted: boolean; readonly asExecuted: { readonly address: H160; } & Struct; readonly isExecutedFailed: boolean; readonly asExecutedFailed: { readonly address: H160; } & Struct; readonly type: "Log" | "Created" | "CreatedFailed" | "Executed" | "ExecutedFailed"; } /** @name EthereumLog (43) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec<H256>; readonly data: Bytes; } /** @name PalletEthereumEvent (46) */ interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: { readonly from: H160; readonly to: H160; readonly transactionHash: H256; readonly exitReason: EvmCoreErrorExitReason; readonly extraData: Bytes; } & Struct; readonly type: "Executed"; } /** @name EvmCoreErrorExitReason (47) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; readonly isError: boolean; readonly asError: EvmCoreErrorExitError; readonly isRevert: boolean; readonly asRevert: EvmCoreErrorExitRevert; readonly isFatal: boolean; readonly asFatal: EvmCoreErrorExitFatal; readonly type: "Succeed" | "Error" | "Revert" | "Fatal"; } /** @name EvmCoreErrorExitSucceed (48) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; readonly isSuicided: boolean; readonly type: "Stopped" | "Returned" | "Suicided"; } /** @name EvmCoreErrorExitError (49) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; readonly isInvalidJump: boolean; readonly isInvalidRange: boolean; readonly isDesignatedInvalid: boolean; readonly isCallTooDeep: boolean; readonly isCreateCollision: boolean; readonly isCreateContractLimit: boolean; readonly isOutOfOffset: boolean; readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly isPcUnderflow: boolean; readonly isCreateEmpty: boolean; readonly isOther: boolean; readonly asOther: Text; readonly isMaxNonce: boolean; readonly isInvalidCode: boolean; readonly asInvalidCode: u8; readonly type: | "StackUnderflow" | "StackOverflow" | "InvalidJump" | "InvalidRange" | "DesignatedInvalid" | "CallTooDeep" | "CreateCollision" | "CreateContractLimit" | "OutOfOffset" | "OutOfGas" | "OutOfFund" | "PcUnderflow" | "CreateEmpty" | "Other" | "MaxNonce" | "InvalidCode"; } /** @name EvmCoreErrorExitRevert (53) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: "Reverted"; } /** @name EvmCoreErrorExitFatal (54) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; readonly isCallErrorAsFatal: boolean; readonly asCallErrorAsFatal: EvmCoreErrorExitError; readonly isOther: boolean; readonly asOther: Text; readonly type: "NotSupported" | "UnhandledInterrupt" | "CallErrorAsFatal" | "Other"; } /** @name PalletParachainStakingEvent (55) */ interface PalletParachainStakingEvent extends Enum { readonly isNewRound: boolean; readonly asNewRound: { readonly startingBlock: u32; readonly round: u32; readonly selectedCollatorsNumber: u32; readonly totalBalance: u128; } & Struct; readonly isJoinedCollatorCandidates: boolean; readonly asJoinedCollatorCandidates: { readonly account: AccountId20; readonly amountLocked: u128; readonly newTotalAmtLocked: u128; } & Struct; readonly isCollatorChosen: boolean; readonly asCollatorChosen: { readonly round: u32; readonly collatorAccount: AccountId20; readonly totalExposedAmount: u128; } & Struct; readonly isCandidateBondLessRequested: boolean; readonly asCandidateBondLessRequested: { readonly candidate: AccountId20; readonly amountToDecrease: u128; readonly executeRound: u32; } & Struct; readonly isCandidateBondedMore: boolean; readonly asCandidateBondedMore: { readonly candidate: AccountId20; readonly amount: u128; readonly newTotalBond: u128; } & Struct; readonly isCandidateBondedLess: boolean; readonly asCandidateBondedLess: { readonly candidate: AccountId20; readonly amount: u128; readonly newBond: u128; } & Struct; readonly isCandidateWentOffline: boolean; readonly asCandidateWentOffline: { readonly candidate: AccountId20; } & Struct; readonly isCandidateBackOnline: boolean; readonly asCandidateBackOnline: { readonly candidate: AccountId20; } & Struct; readonly isCandidateScheduledExit: boolean; readonly asCandidateScheduledExit: { readonly exitAllowedRound: u32; readonly candidate: AccountId20; readonly scheduledExit: u32; } & Struct; readonly isCancelledCandidateExit: boolean; readonly asCancelledCandidateExit: { readonly candidate: AccountId20; } & Struct; readonly isCancelledCandidateBondLess: boolean; readonly asCancelledCandidateBondLess: { readonly candidate: AccountId20; readonly amount: u128; readonly executeRound: u32; } & Struct; readonly isCandidateLeft: boolean; readonly asCandidateLeft: { readonly exCandidate: AccountId20; readonly unlockedAmount: u128; readonly newTotalAmtLocked: u128; } & Struct; readonly isDelegationDecreaseScheduled: boolean; readonly asDelegationDecreaseScheduled: { readonly delegator: AccountId20; readonly candidate: AccountId20; readonly amountToDecrease: u128; readonly executeRound: u32; } & Struct; readonly isDelegationIncreased: boolean; readonly asDelegationIncreased: { readonly delegator: AccountId20; readonly candidate: AccountId20; readonly amount: u128; readonly inTop: bool; } & Struct; readonly isDelegationDecreased: boolean; readonly asDelegationDecreased: { readonly delegator: AccountId20; readonly candidate: AccountId20; readonly amount: u128; readonly inTop: bool; } & Struct; readonly isDelegatorExitScheduled: boolean; readonly asDelegatorExitScheduled: { readonly round: u32; readonly delegator: AccountId20; readonly scheduledExit: u32; } & Struct; readonly isDelegationRevocationScheduled: boolean; readonly asDelegationRevocationScheduled: { readonly round: u32; readonly delegator: AccountId20; readonly candidate: AccountId20; readonly scheduledExit: u32; } & Struct; readonly isDelegatorLeft: boolean; readonly asDelegatorLeft: { readonly delegator: AccountId20; readonly unstakedAmount: u128; } & Struct; readonly isDelegationRevoked: boolean; readonly asDelegationRevoked: { readonly delegator: AccountId20; readonly candidate: AccountId20; readonly unstakedAmount: u128; } & Struct; readonly isDelegationKicked: boolean; readonly asDelegationKicked: { readonly delegator: AccountId20; readonly candidate: AccountId20; readonly unstakedAmount: u128; } & Struct; readonly isDelegatorExitCancelled: boolean; readonly asDelegatorExitCancelled: { readonly delegator: AccountId20; } & Struct; readonly isCancelledDelegationRequest: boolean; readonly asCancelledDelegationRequest: { readonly delegator: AccountId20; readonly cancelledRequest: PalletParachainStakingDelegationRequestsCancelledScheduledRequest; readonly collator: AccountId20; } & Struct; readonly isDelegation: boolean; readonly asDelegation: { readonly delegator: AccountId20; readonly lockedAmount: u128; readonly candidate: AccountId20; readonly delegatorPosition: PalletParachainStakingDelegatorAdded; readonly autoCompound: Percent; } & Struct; readonly isDelegatorLeftCandidate: boolean; readonly asDelegatorLeftCandidate: { readonly delegator: AccountId20; readonly candidate: AccountId20; readonly unstakedAmount: u128; readonly totalCandidateStaked: u128; } & Struct; readonly isRewarded: boolean; readonly asRewarded: { readonly account: AccountId20; readonly rewards: u128; } & Struct; readonly isInflationDistributed: boolean; readonly asInflationDistributed: { readonly index: u32; readonly account: AccountId20; readonly value: u128; } & Struct; readonly isInflationDistributionConfigUpdated: boolean; readonly asInflationDistributionConfigUpdated: { readonly old: PalletParachainStakingInflationDistributionConfig; readonly new_: PalletParachainStakingInflationDistributionConfig; } & Struct; readonly isInflationSet: boolean; readonly asInflationSet: { readonly annualMin: Perbill; readonly annualIdeal: Perbill; readonly annualMax: Perbill; readonly roundMin: Perbill; readonly roundIdeal: Perbill; readonly roundMax: Perbill; } & Struct; readonly isStakeExpectationsSet: boolean; readonly asStakeExpectationsSet: { readonly expectMin: u128; readonly expectIdeal: u128; readonly expectMax: u128; } & Struct; readonly isTotalSelectedSet: boolean; readonly asTotalSelectedSet: { readonly old: u32; readonly new_: u32; } & Struct; readonly isCollatorCommissionSet: boolean; readonly asCollatorCommissionSet: { readonly old: Perbill; readonly new_: Perbill; } & Struct; readonly isBlocksPerRoundSet: boolean; readonly asBlocksPerRoundSet: { readonly currentRound: u32; readonly firstBlock: u32; readonly old: u32; readonly new_: u32; readonly newPerRoundInflationMin: Perbill; readonly newPerRoundInflationIdeal: Perbill; readonly newPerRoundInflationMax: Perbill; } & Struct; readonly isAutoCompoundSet: boolean; readonly asAutoCompoundSet: { readonly candidate: AccountId20; readonly delegator: AccountId20; readonly value: Percent; } & Struct; readonly isCompounded: boolean; readonly asCompounded: { readonly candidate: AccountId20; readonly delegator: AccountId20; readonly amount: u128; } & Struct; readonly type: | "NewRound" | "JoinedCollatorCandidates" | "CollatorChosen" | "CandidateBondLessRequested" | "CandidateBondedMore" | "CandidateBondedLess" | "CandidateWentOffline" | "CandidateBackOnline" | "CandidateScheduledExit" | "CancelledCandidateExit" | "CancelledCandidateBondLess" | "CandidateLeft" | "DelegationDecreaseScheduled" | "DelegationIncreased" | "DelegationDecreased" | "DelegatorExitScheduled" | "DelegationRevocationScheduled" | "DelegatorLeft" | "DelegationRevoked" | "DelegationKicked" | "DelegatorExitCancelled" | "CancelledDelegationRequest" | "Delegation" | "DelegatorLeftCandidate" | "Rewarded" | "InflationDistributed" | "InflationDistributionConfigUpdated" | "InflationSet" | "StakeExpectationsSet" | "TotalSelectedSet" | "CollatorCommissionSet" | "BlocksPerRoundSet" | "AutoCompoundSet" | "Compounded"; } /** @name PalletParachainStakingDelegationRequestsCancelledScheduledRequest (56) */ interface PalletParachainStakingDelegationRequestsCancelledScheduledRequest extends Struct { readonly whenExecutable: u32; readonly action: PalletParachainStakingDelegationRequestsDelegationAction; } /** @name PalletParachainStakingDelegationRequestsDelegationAction (57) */ interface PalletParachainStakingDelegationRequestsDelegationAction extends Enum { readonly isRevoke: boolean; readonly asRevoke: u128; readonly isDecrease: boolean; readonly asDecrease: u128; readonly type: "Revoke" | "Decrease"; } /** @name PalletParachainStakingDelegatorAdded (58) */ interface PalletParachainStakingDelegatorAdded extends Enum { readonly isAddedToTop: boolean; readonly asAddedToTop: { readonly newTotal: u128; } & Struct; readonly isAddedToBottom: boolean; readonly type: "AddedToTop" | "AddedToBottom"; } /** @name PalletParachainStakingInflationDistributionConfig (60) */ interface PalletParachainStakingInflationDistributionConfig extends Vec<PalletParachainStakingInflationDistributionAccount> {} /** @name PalletParachainStakingInflationDistributionAccount (62) */ interface PalletParachainStakingInflationDistributionAccount extends Struct { readonly account: AccountId20; readonly percent: Percent; } /** @name PalletSchedulerEvent (64) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { readonly when: u32; readonly index: u32; } & Struct; readonly isCanceled: boolean; readonly asCanceled: { readonly when: u32; readonly index: u32; } & Struct; readonly isDispatched: boolean; readonly asDispatched: { readonly task: ITuple<[u32, u32]>; readonly id: Option<U8aFixed>; readonly result: Result<Null, SpRuntimeDispatchError>; } & Struct; readonly isRetrySet: boolean; readonly asRetrySet: { readonly task: ITuple<[u32, u32]>; readonly id: Option<U8aFixed>; readonly period: u32; readonly retries: u8; } & Struct; readonly isRetryCancelled: boolean; readonly asRetryCancelled: { readonly task: ITuple<[u32, u32]>; readonly id: Option<U8aFixed>; } & Struct; readonly isCallUnavailable: boolean; readonly asCallUnavailable: { readonly task: ITuple<[u32, u32]>; readonly id: Option<U8aFixed>; } & Struct; readonly isPeriodicFailed: boolean; readonly asPeriodicFailed: { readonly task: ITuple<[u32, u32]>; readonly id: Option<U8aFixed>; } & Struct; readonly isRetryFailed: boolean; readonly asRetryFailed: { readonly task: ITuple<[u32, u32]>; readonly id: Option<U8aFixed>; } & Struct; readonly isPermanentlyOverweight: boolean; readonly asPermanentlyOverweight: { readonly task: ITuple<[u32, u32]>; readonly id: Option<U8aFixed>; } & Struct; readonly type: | "Scheduled" | "Canceled" | "Dispatched" | "RetrySet" | "RetryCancelled" | "CallUnavailable" | "PeriodicFailed" | "RetryFailed" | "PermanentlyOverweight"; } /** @name PalletTreasuryEvent (66) */ interface PalletTreasuryEvent extends Enum { readonly isSpending: boolean; readonly asSpending: { readonly budgetRemaining: u128; } & Struct; readonly isAwarded: boolean; readonly asAwarded: { readonly proposalIndex: u32; readonly award: u128; readonly account: AccountId20; } & Struct; readonly isBurnt: boolean; readonly asBurnt: { readonly burntFunds: u128; } & Struct; readonly isRollover: boolean; readonly asRollover: { readonly rolloverBalance: u128; } & Struct; readonly isDeposit: boolean; readonly asDeposit: { readonly value: u128; } & Struct; readonly isSpendApproved: boolean; readonly asSpendApproved: { readonly proposalIndex: u32; readonly amount: u128; readonly beneficiary: AccountId20; } & Struct; readonly isUpdatedInactive: boolean; readonly asUpdatedInactive: { readonly reactivated: u128; readonly deactivated: u128; } & Struct; readonly isAssetSpendApproved: boolean; readonly asAssetSpendApproved: { readonly index: u32; readonly assetKind: Null; readonly amount: u128; readonly beneficiary: AccountId20; readonly validFrom: u32; readonly expireAt: u32; } & Struct; readonly isAssetSpendVoided: boolean; readonly asAssetSpendVoided: { readonly index: u32; } & Struct; readonly isPaid: boolean; readonly asPaid: { readonly index: u32; readonly paymentId: Null; } & Struct; readonly isPaymentFailed: boolean; readonly asPaymentFailed: { readonly index: u32; readonly paymentId: Null; } & Struct; readonly isSpendProcessed: boolean; readonly asSpendProcessed: { readonly index: u32; } & Struct; readonly type: | "Spending" | "Awarded" | "Burnt" | "Rollover" | "Deposit" | "SpendApproved" | "UpdatedInactive" | "AssetSpendApproved" | "AssetSpendVoided" | "Paid" | "PaymentFailed" | "SpendProcessed"; } /** @name PalletAuthorSlotFilterEvent (67) */ interface PalletAuthorSlotFilterEvent extends Enum { readonly isEligibleUpdated: boolean; readonly asEligibleUpdated: u32; readonly type: "EligibleUpdated"; } /** @name PalletCrowdloanRewardsEvent (69) */ interface PalletCrowdloanRewardsEvent extends Enum { readonly isInitialPaymentMade: boolean; readonly asInitialPaymentMade: ITuple<[AccountId20, u128]>; readonly isNativeIdentityAssociated: boolean; readonly asNativeIdentityAssociated: ITuple<[U8aFixed, AccountId20, u128]>; readonly isRewardsPaid: boolean; readonly asRewardsPaid: ITuple<[AccountId20, u128]>; readonly isRewardAddressUpdated: boolean; readonly asRewardAddressUpdated: ITuple<[AccountId20, AccountId20]>; readonly isInitializedAlreadyInitializedAccount: boolean; readonly asInitializedAlreadyInitializedAccount: ITuple<[U8aFixed, Option<AccountId20>, u128]>; readonly isInitializedAccountWithNotEnoughContribution: boolean; readonly asInitializedAccountWithNotEnoughContribution: ITuple< [U8aFixed, Option<AccountId20>, u128] >; readonly type: | "InitialPaymentMade" | "NativeIdentityAssociated" | "RewardsPaid" | "RewardAddressUpdated" | "InitializedAlreadyInitializedAccount" | "InitializedAccountWithNotEnoughContribution"; } /** @name PalletAuthorMappingEvent (70) */ interface PalletAuthorMappingEvent extends Enum { readonly isKeysRegistered: boolean; readonly asKeysRegistered: { readonly nimbusId: NimbusPrimitivesNimbusCryptoPublic; readonly accountId: AccountId20; readonly keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } & Struct; readonly isKeysRemoved: boolean; readonly asKeysRemoved: { readonly nimbusId: NimbusPrimitivesNimbusCryptoPublic; readonly accountId: AccountId20; readonly keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } & Struct; readonly isKeysRotated: boolean; readonly asKeysRotated: { readonly newNimbusId: NimbusPrimitivesNimbusCryptoPublic; readonly accountId: AccountId20; readonly newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic; } & Struct; readonly type: "KeysRegistered" | "KeysRemoved" | "KeysRotated"; } /** @name NimbusPrimitivesNimbusCryptoPublic (71) */ interface NimbusPrimitivesNimbusCryptoPublic extends U8aFixed {} /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (72) */ interface SessionKeysPrimitivesVrfVrfCryptoPublic extends U8aFixed {} /** @name PalletProxyEvent (73) */ interface PalletProxyEvent extends Enum { readonly isProxyExecuted: boolean; readonly asProxyExecuted: { readonly result: Result<Null, SpRuntimeDispatchError>; } & Struct; readonly isPureCreated: boolean; readonly asPureCreated: { readonly pure: AccountId20; readonly who: AccountId20; readonly proxyType: MoonbaseRuntimeProxyType; readonly disambiguationIndex: u16; } & Struct; readonly isAnnounced: boolean; readonly asAnnounced: { readonly real: AccountId20; readonly proxy: AccountId20; readonly callHash: H256; } & Struct; readonly isProxyAdded: boolean; readonly asProxyAdded: { readonly delegator: AccountId20; readonly delegatee: AccountId20; readonly proxyType: MoonbaseRuntimeProxyType; readonly delay: u32; } & Struct; readonly isProxyRemoved: boolean; readonly asProxyRemoved: { readonly delegator: AccountId20; readonly delegatee: AccountId20; readonly proxyType: MoonbaseRuntimeProxyType; readonly delay: u32; } & Struct; readonly type: "ProxyExecuted" | "PureCreated" | "Announced" | "ProxyAdded" | "ProxyRemoved"; } /** @name MoonbaseRuntimeProxyType (74) */ interface MoonbaseRuntimeProxyType extends Enum { readonly isAny: boolean; readonly isNonTransfer: boolean; readonly isGovernance: boolean; readonly isStaking: boolean; readonly isCancelProxy: boolean; readonly isBalances: boolean; readonly isAuthorMapping: boolean; readonly isIdentityJudgement: boolean; readonly type: | "Any" | "NonTransfer" | "Governance" | "Staking" | "CancelProxy" | "Balances" | "AuthorMapping" | "IdentityJudgement"; } /** @name PalletMaintenanceModeEvent (76) */ interface PalletMaintenanceModeEvent extends Enum { readonly isEnteredMaintenanceMode: boolean; readonly isNormalOperationResumed: boolean; readonly isFailedToSuspendIdleXcmExecution: boolean; readonly asFailedToSuspendIdleXcmExecution: { readonly error: SpRuntimeDispatchError; } & Struct; readonly isFailedToResumeIdleXcmExecution: boolean; readonly asFailedToResumeIdleXcmExecution: { readonly error: SpRuntimeDispatchError; } & Struct; readonly type: | "EnteredMaintenanceMode" | "NormalOperationResumed" | "FailedToSuspendIdleXcmExecution" | "FailedToResumeIdleXcmExecution"; } /** @name PalletIdentityEvent (77) */ interface PalletIdentityEvent extends Enum { readonly isIdentitySet: boolean; readonly asIdentitySet: { readonly who: AccountId20; } & Struct; readonly isIdentityCleared: boolean; readonly asIdentityCleared: { readonly who: AccountId20; readonly deposit: u128; } & Struct; readonly isIdentityKilled: boolean; readonly asIdentityKilled: { readonly who: AccountId20; readonly deposit: u128; } & Struct; readonly isJudgementRequested: boolean; readonly asJudgementRequested: { readonly who: AccountId20; readonly registrarIndex: u32; } & Struct; readonly isJudgementUnrequested: boolean; readonly asJudgementUnrequested: { readonly who: AccountId20; readonly registrarIndex: u32; } & Struct; readonly isJudgementGiven: boolean; readonly asJudgementGiven: { readonly target: AccountId20; readonly registrarIndex: u32; } & Struct; readonly isRegistrarAdded: boolean; readonly asRegistrarAdded: { readonly registrarIndex: u32; } & Struct; readonly isSubIdentityAdded: boolean; readonly asSubIdentityAdded: { readonly sub: AccountId20; readonly main: AccountId20; readonly deposit: u128; } & Struct; readonly isSubIdentityRemoved: boolean; readonly asSubIdentityRemoved: { readonly sub: AccountId20; readonly main: AccountId20; readonly deposit: u128; } & Struct; readonly isSubIdentityRevoked: boolean; readonly asSubIdentityRevoked: { readonly sub: AccountId20; readonly main: AccountId20; readonly deposit: u128; } & Struct; readonly isAuthorityAdded: boolean; readonly asAuthorityAdded: { readonly authority: AccountId20; } & Struct; readonly isAuthorityRemoved: boolean; readonly asAuthorityRemoved: { readonly authority: AccountId20; } & Struct; readonly isUsernameSet: boolean; readonly asUsernameSet: { readonly who: AccountId20; readonly username: Bytes; } & Struct; readonly isUsernameQueued: boolean; readonly asUsernameQueued: { readonly who: AccountId20; readonly username: Bytes; readonly expiration: u32; } & Struct; readonly isPreapprovalExpired: boolean; readonly asPreapprovalExpired: { readonly whose: AccountId20; } & Struct; readonly isPrimaryUsernameSet: boolean; readonly asPrimaryUsernameSet: { readonly who: AccountId20; readonly username: Bytes; } & Struct; readonly isDanglingUsernameRemoved: boolean; readonly asDanglingUsernameRemoved: { readonly who: AccountId20; readonly username: Bytes; } & Struct; readonly type: | "IdentitySet" | "IdentityCleared" | "IdentityKilled" | "JudgementRequested" | "JudgementUnrequested" | "JudgementGiven" | "RegistrarAdded" | "SubIdentityAdded" | "SubIdentityRemoved" | "SubIdentityRevoked" | "AuthorityAdded" | "AuthorityRemoved" | "UsernameSet" | "UsernameQueued" | "PreapprovalExpired" | "PrimaryUsernameSet" | "DanglingUsernameRemoved"; } /** @name CumulusPalletXcmpQueueEvent (79) */ interface CumulusPalletXcmpQueueEvent extends Enum { readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { readonly messageHash: U8aFixed; } & Struct; readonly type: "XcmpMessageSent"; } /** @name CumulusPalletXcmEvent (80) */ interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; readonly isUnsupportedVersion: boolean; readonly asUnsupportedVersion: U8aFixed; readonly isExecutedDownward: boolean; readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV4TraitsOutcome]>; readonly type: "InvalidFormat" | "UnsupportedVersion" | "ExecutedDownward"; } /** @name StagingXcmV4TraitsOutcome (81) */ interface StagingXcmV4TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: { readonly used: SpWeightsWeightV2Weight; } & Struct; readonly isIncomplete: boolean; readonly asIncomplete: { readonly used: SpWeightsWeightV2Weight; readonly error: XcmV3TraitsError; } & Struct; readonly isError: boolean; readonly asError: { readonly error: XcmV3TraitsError; } & Struct; readonly type: "Complete" | "Incomplete" | "Error"; } /** @name XcmV3TraitsError (82) */ interface XcmV3TraitsError 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 (83) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { readonly outcome: StagingXcmV4TraitsOutcome; } & Struct; readonly isSent: boolean; readonly asSent: { readonly origin: StagingXcmV4Location; readonly destination: StagingXcmV4Location; readonly message: StagingXcmV4Xcm; readonly messageId: U8aFixed; } & Struct; readonly isUnexpectedResponse: boolean; readonly asUnexpectedResponse: { readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isResponseReady: boolean; readonly asResponseReady: { readonly queryId: u64; readonly response: StagingXcmV4Response; } & 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: StagingXcmV4Location; readonly queryId: u64; readonly expectedLocation: Option<StagingXcmV4Location>; } & Struct; readonly isInvalidResponderVersion: boolean; readonly asInvalidResponderVersion: { readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isResponseTaken: boolean; readonly asResponseTaken: { readonly queryId: u64; } & Struct; readonly isAssetsTrapped: boolean; readonly asAssetsTrapped: { readonly hash_: H256; readonly origin: StagingXcmV4Location; readonly assets: XcmVersionedAssets; } & Struct; readonly isVersionChangeNotified: boolean; readonly asVersionChangeNotified: { readonly destination: StagingXcmV4Location; readonly result: u32; readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isSupportedVersionChanged: boolean; readonly asSupportedVersionChanged: { readonly location: StagingXcmV4Location; readonly version: u32; } & Struct; readonly isNotifyTargetSendFail: boolean; readonly asNotifyTargetSendFail: { readonly location: StagingXcmV4Location; readonly queryId: u64; readonly error: XcmV3TraitsError; } & Struct; readonly isNotifyTargetMigrationFail: boolean; readonly asNotifyTargetMigrationFail: { readonly location: XcmVersionedLocation; readonly queryId: u64; } & Struct; readonly isInvalidQuerierVersion: boolean; readonly asInvalidQuerierVersion: { readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isInvalidQuerier: boolean; readonly asInvalidQuerier: { readonly origin: StagingXcmV4Location; readonly queryId: u64; readonly expectedQuerier: StagingXcmV4Location; readonly maybeActualQuerier: Option<StagingXcmV4Location>; } & Struct; readonly isVersionNotifyStarted: boolean; readonly asVersionNotifyStarted: { readonly destination: StagingXcmV4Location; readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyRequested: boolean; readonly asVersionNotifyRequested: { readonly destination: StagingXcmV4Location; readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyUnrequested: boolean; readonly asVersionNotifyUnrequested: { readonly destination: StagingXcmV4Location; readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isFeesPaid: boolean; readonly asFeesPaid: { readonly paying: StagingXcmV4Location; readonly fees: StagingXcmV4AssetAssets; } & Struct; readonly isAssetsClaimed: boolean; readonly asAssetsClaimed: { readonly hash_: H256; readonly origin: StagingXcmV4Location; readonly assets: XcmVersionedAssets; } & Struct; readonly isVersionMigrationFinished: boolean; readonly asVersionMigrationFinished: { readonly version: u32; } & 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" | "VersionMigrationFinished"; } /** @name StagingXcmV4Location (84) */ interface StagingXcmV4Location extends Struct { readonly parents: u8; readonly interior: StagingXcmV4Junctions; } /** @name StagingXcmV4Junctions (85) */ interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; readonly asX1: StagingXcmV4Junction; readonly isX2: boolean; readonly asX2: StagingXcmV4Junction; readonly isX3: boolean; readonly asX3: StagingXcmV4Junction; readonly isX4: boolean; reado