UNPKG

@moonbeam-network/api-augment

Version:
1,538 lines (1,469 loc) 270 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 CumulusPalletParachainSystemEvent (32) */ 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 PalletRootTestingEvent (34) */ interface PalletRootTestingEvent extends Enum { readonly isDefensiveTestCall: boolean; readonly type: "DefensiveTestCall"; } /** @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 PalletTransactionPaymentEvent (37) */ interface PalletTransactionPaymentEvent extends Enum { readonly isTransactionFeePaid: boolean; readonly asTransactionFeePaid: { readonly who: AccountId20; readonly actualFee: u128; readonly tip: u128; } & Struct; readonly type: "TransactionFeePaid"; } /** @name PalletParachainStakingEvent (38) */ 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 (39) */ interface PalletParachainStakingDelegationRequestsCancelledScheduledRequest extends Struct { readonly whenExecutable: u32; readonly action: PalletParachainStakingDelegationRequestsDelegationAction; } /** @name PalletParachainStakingDelegationRequestsDelegationAction (40) */ interface PalletParachainStakingDelegationRequestsDelegationAction extends Enum { readonly isRevoke: boolean; readonly asRevoke: u128; readonly isDecrease: boolean; readonly asDecrease: u128; readonly type: "Revoke" | "Decrease"; } /** @name PalletParachainStakingDelegatorAdded (41) */ interface PalletParachainStakingDelegatorAdded extends Enum { readonly isAddedToTop: boolean; readonly asAddedToTop: { readonly newTotal: u128; } & Struct; readonly isAddedToBottom: boolean; readonly type: "AddedToTop" | "AddedToBottom"; } /** @name PalletParachainStakingInflationDistributionConfig (43) */ interface PalletParachainStakingInflationDistributionConfig extends Vec<PalletParachainStakingInflationDistributionAccount> {} /** @name PalletParachainStakingInflationDistributionAccount (45) */ interface PalletParachainStakingInflationDistributionAccount extends Struct { readonly account: AccountId20; readonly percent: Percent; } /** @name PalletAuthorSlotFilterEvent (47) */ interface PalletAuthorSlotFilterEvent extends Enum { readonly isEligibleUpdated: boolean; readonly asEligibleUpdated: u32; readonly type: "EligibleUpdated"; } /** @name PalletAuthorMappingEvent (49) */ 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 (50) */ interface NimbusPrimitivesNimbusCryptoPublic extends U8aFixed {} /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (51) */ interface SessionKeysPrimitivesVrfVrfCryptoPublic extends U8aFixed {} /** @name PalletMoonbeamOrbitersEvent (52) */ interface PalletMoonbeamOrbitersEvent extends Enum { readonly isOrbiterJoinCollatorPool: boolean; readonly asOrbiterJoinCollatorPool: { readonly collator: AccountId20; readonly orbiter: AccountId20; } & Struct; readonly isOrbiterLeaveCollatorPool: boolean; readonly asOrbiterLeaveCollatorPool: { readonly collator: AccountId20; readonly orbiter: AccountId20; } & Struct; readonly isOrbiterRewarded: boolean; readonly asOrbiterRewarded: { readonly account: AccountId20; readonly rewards: u128; } & Struct; readonly isOrbiterRotation: boolean; readonly asOrbiterRotation: { readonly collator: AccountId20; readonly oldOrbiter: Option<AccountId20>; readonly newOrbiter: Option<AccountId20>; } & Struct; readonly isOrbiterRegistered: boolean; readonly asOrbiterRegistered: { readonly account: AccountId20; readonly deposit: u128; } & Struct; readonly isOrbiterUnregistered: boolean; readonly asOrbiterUnregistered: { readonly account: AccountId20; } & Struct; readonly type: | "OrbiterJoinCollatorPool" | "OrbiterLeaveCollatorPool" | "OrbiterRewarded" | "OrbiterRotation" | "OrbiterRegistered" | "OrbiterUnregistered"; } /** @name PalletUtilityEvent (54) */ 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 PalletProxyEvent (57) */ 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: MoonriverRuntimeProxyType; 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: MoonriverRuntimeProxyType; readonly delay: u32; } & Struct; readonly isProxyRemoved: boolean; readonly asProxyRemoved: { readonly delegator: AccountId20; readonly delegatee: AccountId20; readonly proxyType: MoonriverRuntimeProxyType; readonly delay: u32; } & Struct; readonly type: "ProxyExecuted" | "PureCreated" | "Announced" | "ProxyAdded" | "ProxyRemoved"; } /** @name MoonriverRuntimeProxyType (58) */ interface MoonriverRuntimeProxyType 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 (60) */ 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 (61) */ 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 PalletMigrationsEvent (63) */ interface PalletMigrationsEvent extends Enum { readonly isRuntimeUpgradeStarted: boolean; readonly isRuntimeUpgradeCompleted: boolean; readonly asRuntimeUpgradeCompleted: { readonly weight: SpWeightsWeightV2Weight; } & Struct; readonly isMigrationStarted: boolean; readonly asMigrationStarted: { readonly migrationName: Bytes; } & Struct; readonly isMigrationCompleted: boolean; readonly asMigrationCompleted: { readonly migrationName: Bytes; readonly consumedWeight: SpWeightsWeightV2Weight; } & Struct; readonly isFailedToSuspendIdleXcmExecution: boolean; readonly asFailedToSuspendIdleXcmExecution: { readonly error: SpRuntimeDispatchError; } & Struct; readonly isFailedToResumeIdleXcmExecution: boolean; readonly asFailedToResumeIdleXcmExecution: { readonly error: SpRuntimeDispatchError; } & Struct; readonly type: | "RuntimeUpgradeStarted" | "RuntimeUpgradeCompleted" | "MigrationStarted" | "MigrationCompleted" | "FailedToSuspendIdleXcmExecution" | "FailedToResumeIdleXcmExecution"; } /** @name PalletMultisigEvent (64) */ interface PalletMultisigEvent extends Enum { readonly isNewMultisig: boolean; readonly asNewMultisig: { readonly approving: AccountId20; readonly multisig: AccountId20; readonly callHash: U8aFixed; } & Struct; readonly isMultisigApproval: boolean; readonly asMultisigApproval: { readonly approving: AccountId20; readonly timepoint: PalletMultisigTimepoint; readonly multisig: AccountId20; readonly callHash: U8aFixed; } & Struct; readonly isMultisigExecuted: boolean; readonly asMultisigExecuted: { readonly approving: AccountId20; readonly timepoint: PalletMultisigTimepoint; readonly multisig: AccountId20; readonly callHash: U8aFixed; readonly result: Result<Null, SpRuntimeDispatchError>; } & Struct; readonly isMultisigCancelled: boolean; readonly asMultisigCancelled: { readonly cancelling: AccountId20; readonly timepoint: PalletMultisigTimepoint; readonly multisig: AccountId20; readonly callHash: U8aFixed; } & Struct; readonly type: "NewMultisig" | "MultisigApproval" | "MultisigExecuted" | "MultisigCancelled"; } /** @name PalletMultisigTimepoint (65) */ interface PalletMultisigTimepoint extends Struct { readonly height: u32; readonly index: u32; } /** @name PalletParametersEvent (66) */ interface PalletParametersEvent extends Enum { readonly isUpdated: boolean; readonly asUpdated: { readonly key: MoonriverRuntimeRuntimeParamsRuntimeParametersKey; readonly oldValue: Option<MoonriverRuntimeRuntimeParamsRuntimeParametersValue>; readonly newValue: Option<MoonriverRuntimeRuntimeParamsRuntimeParametersValue>; } & Struct; readonly type: "Updated"; } /** @name MoonriverRuntimeRuntimeParamsRuntimeParametersKey (67) */ interface MoonriverRuntimeRuntimeParamsRuntimeParametersKey extends Enum { readonly isRuntimeConfig: boolean; readonly asRuntimeConfig: MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey; readonly isPalletRandomness: boolean; readonly asPalletRandomness: MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey; readonly isXcmConfig: boolean; readonly asXcmConfig: MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigParametersKey; readonly type: "RuntimeConfig" | "PalletRandomness" | "XcmConfig"; } /** @name MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey (68) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey extends Enum { readonly isFeesTreasuryProportion: boolean; readonly type: "FeesTreasuryProportion"; } /** @name MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion (69) */ type MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion = Null; /** @name MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey (70) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey extends Enum { readonly isDeposit: boolean; readonly type: "Deposit"; } /** @name MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit (71) */ type MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit = Null; /** @name MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigParametersKey (72) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigParametersKey extends Enum { readonly isForeignAssetCreationDeposit: boolean; readonly type: "ForeignAssetCreationDeposit"; } /** @name MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigForeignAssetCreationDeposit (73) */ type MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigForeignAssetCreationDeposit = Null; /** @name MoonriverRuntimeRuntimeParamsRuntimeParametersValue (75) */ interface MoonriverRuntimeRuntimeParamsRuntimeParametersValue extends Enum { readonly isRuntimeConfig: boolean; readonly asRuntimeConfig: MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue; readonly isPalletRandomness: boolean; readonly asPalletRandomness: MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue; readonly isXcmConfig: boolean; readonly asXcmConfig: MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigParametersValue; readonly type: "RuntimeConfig" | "PalletRandomness" | "XcmConfig"; } /** @name MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue (76) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue extends Enum { readonly isFeesTreasuryProportion: boolean; readonly asFeesTreasuryProportion: Perbill; readonly type: "FeesTreasuryProportion"; } /** @name MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue (77) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue extends Enum { readonly isDeposit: boolean; readonly asDeposit: u128; readonly type: "Deposit"; } /** @name MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigParametersValue (79) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsXcmConfigParametersValue extends Enum { readonly isForeignAssetCreationDeposit: boolean; readonly asForeignAssetCreationDeposit: u128; readonly type: "ForeignAssetCreationDeposit"; } /** @name PalletEvmEvent (80) */ 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 (81) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec<H256>; readonly data: Bytes; } /** @name PalletEthereumEvent (84) */ 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 (85) */ 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 (86) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; readonly isSuicided: boolean; readonly type: "Stopped" | "Returned" | "Suicided"; } /** @name EvmCoreErrorExitError (87) */ 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 (91) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: "Reverted"; } /** @name EvmCoreErrorExitFatal (92) */ 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 PalletSchedulerEvent (93) */ 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 PalletPreimageEvent (95) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { readonly hash_: H256; } & Struct; readonly isRequested: boolean; readonly asRequested: { readonly hash_: H256; } & Struct; readonly isCleared: boolean; readonly asCleared: { readonly hash_: H256; } & Struct; readonly type: "Noted" | "Requested" | "Cleared"; } /** @name PalletConvictionVotingEvent (96) */ interface PalletConvictionVotingEvent extends Enum { readonly isDelegated: boolean; readonly asDelegated: ITuple<[AccountId20, AccountId20]>; readonly isUndelegated: boolean; readonly asUndelegated: AccountId20; readonly isVoted: boolean; readonly asVoted: { readonly who: AccountId20; readonly vote: PalletConvictionVotingVoteAccountVote; } & Struct; readonly isVoteRemoved: boolean; readonly asVoteRemoved: { readonly who: AccountId20; readonly vote: PalletConvictionVotingVoteAccountVote; } & Struct; readonly type: "Delegated" | "Undelegated" | "Voted" | "VoteRemoved"; } /** @name PalletConvictionVotingVoteAccountVote (97) */ interface PalletConvictionVotingVoteAccountVote extends Enum { readonly isStandard: boolean; readonly asStandard: { readonly vote: Vote; readonly balance: u128; } & Struct; readonly isSplit: boolean; readonly asSplit: { readonly aye: u128; readonly nay: u128; } & Struct; readonly isSplitAbstain: boolean; readonly asSplitAbstain: { readonly aye: u128; readonly nay: u128; readonly abstain: u128; } & Struct; readonly type: "Standard" | "Split" | "SplitAbstain"; } /** @name PalletReferendaEvent (99) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { readonly index: u32; readonly track: u16; readonly proposal: FrameSupportPreimagesBounded; } & Struct; readonly isDecisionDepositPlaced: boolean; readonly asDecisionDepositPlaced: { readonly index: u32; readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isDecisionDepositRefunded: boolean; readonly asDecisionDepositRefunded: { readonly index: u32; readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isDepositSlashed: boolean; readonly asDepositSlashed: { readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isDecisionStarted: boolean; readonly asDecisionStarted: { readonly index: u32; readonly track: u16; readonly proposal: FrameSupportPreimagesBounded; readonly tally: PalletConvictionVotingTally; } & Struct; readonly isConfirmStarted: boolean; readonly asConfirmStarted: { readonly index: u32; } & Struct; readonly isConfirmAborted: boolean; readonly asConfirmAborted: { readonly index: u32; } & Struct; readonly isConfirmed: boolean; readonly asConfirmed: { readonly index: u32; readonly tally: PalletConvictionVotingTally; } & Struct; readonly isApproved: boolean; readonly asApproved: { readonly index: u32; } & Struct; readonly isRejected: boolean; readonly asRejected: { readonly index: u32; readonly tally: PalletConvictionVotingTally; } & Struct; readonly isTimedOut: boolean; readonly asTimedOut: { readonly index: u32; readonly tally: PalletConvictionVotingTally; } & Struct; readonly isCancelled: boolean; readonly asCancelled: { readonly index: u32; readonly tally: PalletConvictionVotingTally; } & Struct; readonly isKilled: boolean; readonly asKilled: { readonly index: u32; readonly tally: PalletConvictionVotingTally; } & Struct; readonly isSubmissionDepositRefunded: boolean; readonly asSubmissionDepositRefunded: { readonly index: u32; readonly who: AccountId20; readonly amount: u128; } & Struct; readonly isMetadataSet: boolean; readonly asMetadataSet: { readonly index: u32; readonly hash_: H256; } & Struct; readonly isMetadataCleared: boolean; readonly asMetadataCleared: { readonly index: u32; readonly hash_: H256; } & Struct; readonly type: | "Submitted" | "DecisionDepositPlaced" | "DecisionDepositRefunded" | "DepositSlashed" | "DecisionStarted" | "ConfirmStarted" | "ConfirmAborted" | "Confirmed" | "Approved" | "Rejected" | "TimedOut" | "Cancelled" | "Killed" | "SubmissionDepositRefunded" | "MetadataSet" | "MetadataCleared"; } /** @name FrameSupportPreimagesBounded (100) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { readonly hash_: H256; } & Struct; readonly isInline: boolean; readonly asInline: Bytes; readonly isLookup: boolean; readonly asLookup: { readonly hash_: H256; readonly len: u32; } & Struct; readonly type: "Legacy" | "Inline" | "Lookup"; } /** @name FrameSystemCall (102) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { readonly remark: Bytes; } & Struct; readonly isSetHeapPages: boolean; readonly asSetHeapPages: { readonly pages: u64; } & Struct; readonly isSetCode: boolean; readonly asSetCode: { readonly code: Bytes; } & Struct; readonly isSetCodeWithoutChecks: boolean; readonly asSetCodeWithoutChecks: { readonly code: Bytes; } & Struct; readonly isSetStorage: boolean; readonly asSetStorage: { readonly items: Vec<ITuple<[Bytes, Bytes]>>; } & Struct; readonly isKillStorage: boolean;