gasp-types
Version:
Polkadot.js type definitions for GASP Network
1,015 lines (1,014 loc) • 147 kB
TypeScript
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 { Call, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
declare module '@polkadot/types/lookup' {
/** @name SpRuntimeAccountAccountId20 (0) */
interface SpRuntimeAccountAccountId20 extends U8aFixed {
}
/** @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 (21) */
interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
/** @name SpRuntimeDigestDigestItem (23) */
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 (26) */
interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
/** @name FrameSystemEvent (28) */
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: SpRuntimeAccountAccountId20;
} & Struct;
readonly isKilledAccount: boolean;
readonly asKilledAccount: {
readonly account: SpRuntimeAccountAccountId20;
} & Struct;
readonly isRemarked: boolean;
readonly asRemarked: {
readonly sender: SpRuntimeAccountAccountId20;
readonly hash_: H256;
} & Struct;
readonly isTxsEnqueued: boolean;
readonly asTxsEnqueued: {
readonly count: u64;
} & Struct;
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'TxsEnqueued';
}
/** @name FrameSupportDispatchDispatchInfo (29) */
interface FrameSupportDispatchDispatchInfo extends Struct {
readonly weight: SpWeightsWeightV2Weight;
readonly class: FrameSupportDispatchDispatchClass;
readonly paysFee: FrameSupportDispatchPays;
}
/** @name FrameSupportDispatchDispatchClass (30) */
interface FrameSupportDispatchDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
readonly isMandatory: boolean;
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
/** @name FrameSupportDispatchPays (31) */
interface FrameSupportDispatchPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
/** @name SpRuntimeDispatchError (32) */
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 (33) */
interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
/** @name SpRuntimeTokenError (34) */
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 (35) */
interface SpArithmeticArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
readonly isDivisionByZero: boolean;
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
/** @name SpRuntimeTransactionalError (36) */
interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
/** @name PalletUtilityMangataEvent (37) */
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 (39) */
interface PalletProxyEvent extends Enum {
readonly isProxyExecuted: boolean;
readonly asProxyExecuted: {
readonly result: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly isPureCreated: boolean;
readonly asPureCreated: {
readonly pure: SpRuntimeAccountAccountId20;
readonly who: SpRuntimeAccountAccountId20;
readonly proxyType: RollupRuntimeRuntimeConfigConfigPalletProxyProxyType;
readonly disambiguationIndex: u16;
} & Struct;
readonly isAnnounced: boolean;
readonly asAnnounced: {
readonly real: SpRuntimeAccountAccountId20;
readonly proxy: SpRuntimeAccountAccountId20;
readonly callHash: H256;
} & Struct;
readonly isProxyAdded: boolean;
readonly asProxyAdded: {
readonly delegator: SpRuntimeAccountAccountId20;
readonly delegatee: SpRuntimeAccountAccountId20;
readonly proxyType: RollupRuntimeRuntimeConfigConfigPalletProxyProxyType;
readonly delay: u32;
} & Struct;
readonly isProxyRemoved: boolean;
readonly asProxyRemoved: {
readonly delegator: SpRuntimeAccountAccountId20;
readonly delegatee: SpRuntimeAccountAccountId20;
readonly proxyType: RollupRuntimeRuntimeConfigConfigPalletProxyProxyType;
readonly delay: u32;
} & Struct;
readonly type: 'ProxyExecuted' | 'PureCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved';
}
/** @name RollupRuntimeRuntimeConfigConfigPalletProxyProxyType (40) */
interface RollupRuntimeRuntimeConfigConfigPalletProxyProxyType extends Enum {
readonly isAutoCompound: boolean;
readonly type: 'AutoCompound';
}
/** @name PalletMaintenanceEvent (42) */
interface PalletMaintenanceEvent extends Enum {
readonly isMaintenanceModeSwitchedOn: boolean;
readonly asMaintenanceModeSwitchedOn: SpRuntimeAccountAccountId20;
readonly isMaintenanceModeSwitchedOff: boolean;
readonly asMaintenanceModeSwitchedOff: SpRuntimeAccountAccountId20;
readonly isUpgradabilityInMaintenanceModeSwitchedOn: boolean;
readonly asUpgradabilityInMaintenanceModeSwitchedOn: SpRuntimeAccountAccountId20;
readonly isUpgradabilityInMaintenanceModeSwitchedOff: boolean;
readonly asUpgradabilityInMaintenanceModeSwitchedOff: SpRuntimeAccountAccountId20;
readonly type: 'MaintenanceModeSwitchedOn' | 'MaintenanceModeSwitchedOff' | 'UpgradabilityInMaintenanceModeSwitchedOn' | 'UpgradabilityInMaintenanceModeSwitchedOff';
}
/** @name PalletRolldownEvent (43) */
interface PalletRolldownEvent extends Enum {
readonly isL1ReadStored: boolean;
readonly asL1ReadStored: ITuple<[
PalletRolldownMessagesChain,
SpRuntimeAccountAccountId20,
u128,
{
readonly start: u128;
readonly end: u128;
} & Struct,
H256
]>;
readonly isRequestProcessedOnL2: boolean;
readonly asRequestProcessedOnL2: ITuple<[PalletRolldownMessagesChain, u128]>;
readonly type: 'L1ReadStored' | 'RequestProcessedOnL2';
}
/** @name PalletRolldownMessagesChain (45) */
interface PalletRolldownMessagesChain extends Enum {
readonly isEthereum: boolean;
readonly isArbitrum: boolean;
readonly type: 'Ethereum' | 'Arbitrum';
}
/** @name PalletMetamaskSignatureEvent (48) */
interface PalletMetamaskSignatureEvent extends Enum {
readonly isMetadataUpdated: boolean;
readonly asMetadataUpdated: {
readonly name: Option<Bytes>;
readonly version: Option<Bytes>;
readonly chainId: Option<u64>;
readonly decodeUrl: Option<Bytes>;
} & Struct;
readonly type: 'MetadataUpdated';
}
/** @name OrmlTokensModuleEvent (54) */
interface OrmlTokensModuleEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isDustLost: boolean;
readonly asDustLost: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isTransfer: boolean;
readonly asTransfer: {
readonly currencyId: u32;
readonly from: SpRuntimeAccountAccountId20;
readonly to: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isReserved: boolean;
readonly asReserved: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isUnreserved: boolean;
readonly asUnreserved: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isReserveRepatriated: boolean;
readonly asReserveRepatriated: {
readonly currencyId: u32;
readonly from: SpRuntimeAccountAccountId20;
readonly to: SpRuntimeAccountAccountId20;
readonly amount: u128;
readonly status: FrameSupportTokensMiscBalanceStatus;
} & Struct;
readonly isBalanceSet: boolean;
readonly asBalanceSet: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
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: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isSlashed: boolean;
readonly asSlashed: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly freeAmount: u128;
readonly reservedAmount: u128;
} & Struct;
readonly isDeposited: boolean;
readonly asDeposited: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isLockSet: boolean;
readonly asLockSet: {
readonly lockId: U8aFixed;
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isLockRemoved: boolean;
readonly asLockRemoved: {
readonly lockId: U8aFixed;
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
} & Struct;
readonly isCreated: boolean;
readonly asCreated: ITuple<[u32, SpRuntimeAccountAccountId20, u128]>;
readonly isMinted: boolean;
readonly asMinted: ITuple<[u32, SpRuntimeAccountAccountId20, u128]>;
readonly isLocked: boolean;
readonly asLocked: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
} & Struct;
readonly isUnlocked: boolean;
readonly asUnlocked: {
readonly currencyId: u32;
readonly who: SpRuntimeAccountAccountId20;
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 (55) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
/** @name PalletTransactionPaymentMangataEvent (57) */
interface PalletTransactionPaymentMangataEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
readonly who: SpRuntimeAccountAccountId20;
readonly actualFee: u128;
readonly tip: u128;
} & Struct;
readonly type: 'TransactionFeePaid';
}
/** @name PalletXykEvent (58) */
interface PalletXykEvent extends Enum {
readonly isPoolCreated: boolean;
readonly asPoolCreated: ITuple<[SpRuntimeAccountAccountId20, u32, u128, u32, u128]>;
readonly isAssetsSwapped: boolean;
readonly asAssetsSwapped: ITuple<[SpRuntimeAccountAccountId20, Vec<u32>, u128, u128]>;
readonly isSellAssetFailedDueToSlippage: boolean;
readonly asSellAssetFailedDueToSlippage: ITuple<[SpRuntimeAccountAccountId20, u32, u128, u32, u128, u128]>;
readonly isBuyAssetFailedDueToSlippage: boolean;
readonly asBuyAssetFailedDueToSlippage: ITuple<[SpRuntimeAccountAccountId20, u32, u128, u32, u128, u128]>;
readonly isLiquidityMinted: boolean;
readonly asLiquidityMinted: ITuple<[SpRuntimeAccountAccountId20, u32, u128, u32, u128, u32, u128]>;
readonly isLiquidityBurned: boolean;
readonly asLiquidityBurned: ITuple<[SpRuntimeAccountAccountId20, u32, u128, u32, u128, u32, u128]>;
readonly isPoolPromotionUpdated: boolean;
readonly asPoolPromotionUpdated: ITuple<[u32, Option<u8>]>;
readonly isLiquidityActivated: boolean;
readonly asLiquidityActivated: ITuple<[SpRuntimeAccountAccountId20, u32, u128]>;
readonly isLiquidityDeactivated: boolean;
readonly asLiquidityDeactivated: ITuple<[SpRuntimeAccountAccountId20, u32, u128]>;
readonly isRewardsClaimed: boolean;
readonly asRewardsClaimed: ITuple<[SpRuntimeAccountAccountId20, u32, u128]>;
readonly isMultiSwapAssetFailedOnAtomicSwap: boolean;
readonly asMultiSwapAssetFailedOnAtomicSwap: ITuple<[SpRuntimeAccountAccountId20, Vec<u32>, u128, SpRuntimeModuleError]>;
readonly type: 'PoolCreated' | 'AssetsSwapped' | 'SellAssetFailedDueToSlippage' | 'BuyAssetFailedDueToSlippage' | 'LiquidityMinted' | 'LiquidityBurned' | 'PoolPromotionUpdated' | 'LiquidityActivated' | 'LiquidityDeactivated' | 'RewardsClaimed' | 'MultiSwapAssetFailedOnAtomicSwap';
}
/** @name PalletProofOfStakeEvent (61) */
interface PalletProofOfStakeEvent extends Enum {
readonly isPoolPromotionUpdated: boolean;
readonly asPoolPromotionUpdated: ITuple<[u32, Option<u8>]>;
readonly isLiquidityActivated: boolean;
readonly asLiquidityActivated: ITuple<[SpRuntimeAccountAccountId20, u32, u128]>;
readonly isLiquidityDeactivated: boolean;
readonly asLiquidityDeactivated: ITuple<[SpRuntimeAccountAccountId20, u32, u128]>;
readonly isRewardsClaimed: boolean;
readonly asRewardsClaimed: ITuple<[SpRuntimeAccountAccountId20, u32, u128]>;
readonly isThirdPartyRewardsClaimed: boolean;
readonly asThirdPartyRewardsClaimed: ITuple<[SpRuntimeAccountAccountId20, u32, u32, u128]>;
readonly isThirdPartyLiquidityActivated: boolean;
readonly asThirdPartyLiquidityActivated: ITuple<[SpRuntimeAccountAccountId20, u32, u32, u128]>;
readonly isThirdPartyLiquidityDeactivated: boolean;
readonly asThirdPartyLiquidityDeactivated: ITuple<[SpRuntimeAccountAccountId20, u32, u32, u128]>;
readonly isThirdPartySuccessfulPoolPromotion: boolean;
readonly asThirdPartySuccessfulPoolPromotion: ITuple<[SpRuntimeAccountAccountId20, u32, u32, u128]>;
readonly type: 'PoolPromotionUpdated' | 'LiquidityActivated' | 'LiquidityDeactivated' | 'RewardsClaimed' | 'ThirdPartyRewardsClaimed' | 'ThirdPartyLiquidityActivated' | 'ThirdPartyLiquidityDeactivated' | 'ThirdPartySuccessfulPoolPromotion';
}
/** @name PalletFeeLockEvent (62) */
interface PalletFeeLockEvent extends Enum {
readonly isFeeLockMetadataUpdated: boolean;
readonly isFeeLockUnlocked: boolean;
readonly asFeeLockUnlocked: ITuple<[SpRuntimeAccountAccountId20, u128]>;
readonly isFeeLocked: boolean;
readonly asFeeLocked: {
readonly who: SpRuntimeAccountAccountId20;
readonly lockAmount: u128;
readonly totalLocked: u128;
} & Struct;
readonly type: 'FeeLockMetadataUpdated' | 'FeeLockUnlocked' | 'FeeLocked';
}
/** @name PalletVestingMangataEvent (63) */
interface PalletVestingMangataEvent extends Enum {
readonly isVestingUpdated: boolean;
readonly asVestingUpdated: {
readonly account: SpRuntimeAccountAccountId20;
readonly tokenId: u32;
readonly unvested: u128;
} & Struct;
readonly isVestingCompleted: boolean;
readonly asVestingCompleted: {
readonly account: SpRuntimeAccountAccountId20;
readonly tokenId: u32;
} & Struct;
readonly type: 'VestingUpdated' | 'VestingCompleted';
}
/** @name PalletCrowdloanRewardsEvent (64) */
interface PalletCrowdloanRewardsEvent extends Enum {
readonly isInitialPaymentMade: boolean;
readonly asInitialPaymentMade: ITuple<[SpRuntimeAccountAccountId20, u128]>;
readonly isNativeIdentityAssociated: boolean;
readonly asNativeIdentityAssociated: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128]>;
readonly isRewardsPaid: boolean;
readonly asRewardsPaid: ITuple<[SpRuntimeAccountAccountId20, u128]>;
readonly isRewardAddressUpdated: boolean;
readonly asRewardAddressUpdated: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20]>;
readonly isInitializedAlreadyInitializedAccount: boolean;
readonly asInitializedAlreadyInitializedAccount: ITuple<[SpRuntimeAccountAccountId20, Option<SpRuntimeAccountAccountId20>, u128]>;
readonly isInitializedAccountWithNotEnoughContribution: boolean;
readonly asInitializedAccountWithNotEnoughContribution: ITuple<[SpRuntimeAccountAccountId20, Option<SpRuntimeAccountAccountId20>, u128]>;
readonly type: 'InitialPaymentMade' | 'NativeIdentityAssociated' | 'RewardsPaid' | 'RewardAddressUpdated' | 'InitializedAlreadyInitializedAccount' | 'InitializedAccountWithNotEnoughContribution';
}
/** @name PalletIssuanceEvent (65) */
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 (66) */
interface PalletIssuanceIssuanceInfo extends Struct {
readonly cap: u128;
readonly issuanceAtInit: u128;
readonly linearIssuanceBlocks: u32;
readonly liquidityMiningSplit: Perbill;
readonly stakingSplit: Perbill;
readonly totalCrowdloanAllocation: u128;
}
/** @name PalletIssuanceTgeInfo (68) */
interface PalletIssuanceTgeInfo extends Struct {
readonly who: SpRuntimeAccountAccountId20;
readonly amount: u128;
}
/** @name PalletMultipurposeLiquidityEvent (69) */
interface PalletMultipurposeLiquidityEvent extends Enum {
readonly isVestingTokensReserved: boolean;
readonly asVestingTokensReserved: ITuple<[SpRuntimeAccountAccountId20, u32, u128]>;
readonly isTokensRelockedFromReserve: boolean;
readonly asTokensRelockedFromReserve: ITuple<[SpRuntimeAccountAccountId20, u32, u128, u128]>;
readonly type: 'VestingTokensReserved' | 'TokensRelockedFromReserve';
}
/** @name PalletBootstrapEvent (70) */
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<[SpRuntimeAccountAccountId20, 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 (71) */
interface ParachainStakingEvent extends Enum {
readonly isNewRound: boolean;
readonly asNewRound: ITuple<[u32, u32, u32, u128]>;
readonly isJoinedCollatorCandidates: boolean;
readonly asJoinedCollatorCandidates: ITuple<[SpRuntimeAccountAccountId20, u128, u128]>;
readonly isCollatorChosen: boolean;
readonly asCollatorChosen: ITuple<[u32, SpRuntimeAccountAccountId20, u128]>;
readonly isCandidateBondMoreRequested: boolean;
readonly asCandidateBondMoreRequested: ITuple<[SpRuntimeAccountAccountId20, u128, u32]>;
readonly isCandidateBondLessRequested: boolean;
readonly asCandidateBondLessRequested: ITuple<[SpRuntimeAccountAccountId20, u128, u32]>;
readonly isCandidateBondedMore: boolean;
readonly asCandidateBondedMore: ITuple<[SpRuntimeAccountAccountId20, u128, u128]>;
readonly isCandidateBondedLess: boolean;
readonly asCandidateBondedLess: ITuple<[SpRuntimeAccountAccountId20, u128, u128]>;
readonly isCandidateWentOffline: boolean;
readonly asCandidateWentOffline: ITuple<[u32, SpRuntimeAccountAccountId20]>;
readonly isCandidateBackOnline: boolean;
readonly asCandidateBackOnline: ITuple<[u32, SpRuntimeAccountAccountId20]>;
readonly isCandidateScheduledExit: boolean;
readonly asCandidateScheduledExit: ITuple<[u32, SpRuntimeAccountAccountId20, u32]>;
readonly isCancelledCandidateExit: boolean;
readonly asCancelledCandidateExit: SpRuntimeAccountAccountId20;
readonly isCancelledCandidateBondChange: boolean;
readonly asCancelledCandidateBondChange: ITuple<[SpRuntimeAccountAccountId20, ParachainStakingCandidateBondRequest]>;
readonly isCandidateLeft: boolean;
readonly asCandidateLeft: ITuple<[SpRuntimeAccountAccountId20, u128, u128]>;
readonly isDelegationIncreaseScheduled: boolean;
readonly asDelegationIncreaseScheduled: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128, u32]>;
readonly isDelegationDecreaseScheduled: boolean;
readonly asDelegationDecreaseScheduled: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128, u32]>;
readonly isDelegationIncreased: boolean;
readonly asDelegationIncreased: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128, bool]>;
readonly isDelegationDecreased: boolean;
readonly asDelegationDecreased: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128, bool]>;
readonly isDelegatorExitScheduled: boolean;
readonly asDelegatorExitScheduled: ITuple<[u32, SpRuntimeAccountAccountId20, u32]>;
readonly isDelegationRevocationScheduled: boolean;
readonly asDelegationRevocationScheduled: ITuple<[u32, SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u32]>;
readonly isDelegatorLeft: boolean;
readonly asDelegatorLeft: ITuple<[SpRuntimeAccountAccountId20, u128]>;
readonly isDelegationRevoked: boolean;
readonly asDelegationRevoked: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128]>;
readonly isDelegatorExitCancelled: boolean;
readonly asDelegatorExitCancelled: SpRuntimeAccountAccountId20;
readonly isCancelledDelegationRequest: boolean;
readonly asCancelledDelegationRequest: ITuple<[SpRuntimeAccountAccountId20, ParachainStakingDelegationRequest]>;
readonly isDelegation: boolean;
readonly asDelegation: ITuple<[SpRuntimeAccountAccountId20, u128, SpRuntimeAccountAccountId20, ParachainStakingDelegatorAdded]>;
readonly isDelegatorLeftCandidate: boolean;
readonly asDelegatorLeftCandidate: ITuple<[SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128, u128]>;
readonly isDelegatorDueReward: boolean;
readonly asDelegatorDueReward: ITuple<[u32, SpRuntimeAccountAccountId20, SpRuntimeAccountAccountId20, u128]>;
readonly isRewarded: boolean;
readonly asRewarded: ITuple<[u32, SpRuntimeAccountAccountId20, u128]>;
readonly isCollatorRewardsDistributed: boolean;
readonly asCollatorRewardsDistributed: ITuple<[SpRuntimeAccountAccountId20, 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<[SpRuntimeAccountAccountId20, Option<SpRuntimeAccountAccountId20>]>;
readonly isAggregatorMetadataUpdated: boolean;
readonly asAggregatorMetadataUpdated: SpRuntimeAccountAccountId20;
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 (72) */
interface ParachainStakingCandidateBondRequest extends Struct {
readonly amount: u128;
readonly change: ParachainStakingCandidateBondChange;
readonly whenExecutable: u32;
}
/** @name ParachainStakingCandidateBondChange (73) */
interface ParachainStakingCandidateBondChange extends Enum {
readonly isIncrease: boolean;
readonly isDecrease: boolean;
readonly type: 'Increase' | 'Decrease';
}
/** @name ParachainStakingDelegationRequest (74) */
interface ParachainStakingDelegationRequest extends Struct {
readonly collator: SpRuntimeAccountAccountId20;
readonly amount: u128;
readonly whenExecutable: u32;
readonly action: ParachainStakingDelegationChange;
}
/** @name ParachainStakingDelegationChange (75) */
interface ParachainStakingDelegationChange extends Enum {
readonly isRevoke: boolean;
readonly isIncrease: boolean;
readonly isDecrease: boolean;
readonly type: 'Revoke' | 'Increase' | 'Decrease';
}
/** @name ParachainStakingDelegatorAdded (76) */
interface ParachainStakingDelegatorAdded extends Enum {
readonly isAddedToTop: boolean;
readonly asAddedToTop: {
readonly newTotal: u128;
} & Struct;
readonly isAddedToBottom: boolean;
readonly type: 'AddedToTop' | 'AddedToBottom';
}
/** @name ParachainStakingPayoutRounds (77) */
interface ParachainStakingPayoutRounds extends Enum {
readonly isAll: boolean;
readonly isPartial: boolean;
readonly asPartial: Vec<u32>;
readonly type: 'All' | 'Partial';
}
/** @name PalletSequencerStakingEvent (78) */
type PalletSequencerStakingEvent = Null;
/** @name PalletSessionEvent (79) */
interface PalletSessionEvent extends Enum {
readonly isNewSession: boolean;
readonly asNewSession: {
readonly sessionIndex: u32;
} & Struct;
readonly type: 'NewSession';
}
/** @name PalletGrandpaEvent (80) */
interface PalletGrandpaEvent extends Enum {
readonly isNewAuthorities: boolean;
readonly asNewAuthorities: {
readonly authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
} & Struct;
readonly isPaused: boolean;
readonly isResumed: boolean;
readonly type: 'NewAuthorities' | 'Paused' | 'Resumed';
}
/** @name SpConsensusGrandpaAppPublic (83) */
interface SpConsensusGrandpaAppPublic extends SpCoreEd25519Public {
}
/** @name SpCoreEd25519Public (84) */
interface SpCoreEd25519Public extends U8aFixed {
}
/** @name OrmlAssetRegistryModuleEvent (85) */
interface OrmlAssetRegistryModuleEvent extends Enum {
readonly isRegisteredAsset: boolean;
readonly asRegisteredAsset: {
readonly assetId: u32;
readonly metadata: OrmlTraitsAssetRegistryAssetMetadata;
} & Struct;
readonly isUpdatedAsset: boolean;
readonly asUpdatedAsset: {
readonly assetId: u32;
readonly metadata: OrmlTraitsAssetRegistryAssetMetadata;
} & Struct;
readonly type: 'RegisteredAsset' | 'UpdatedAsset';
}
/** @name OrmlTraitsAssetRegistryAssetMetadata (86) */
interface OrmlTraitsAssetRegistryAssetMetadata extends Struct {
readonly decimals: u32;
readonly name: Bytes;
readonly symbol: Bytes;
readonly existentialDeposit: u128;
readonly location: Option<StagingXcmVersionedMultiLocation>;
readonly additional: MangataTypesAssetsCustomMetadata;
}
/** @name MangataTypesAssetsCustomMetadata (87) */
interface MangataTypesAssetsCustomMetadata extends Struct {
readonly xcm: Option<MangataTypesAssetsXcmMetadata>;
readonly xyk: Option<MangataTypesAssetsXykMetadata>;
}
/** @name MangataTypesAssetsXcmMetadata (89) */
interface MangataTypesAssetsXcmMetadata extends Struct {
readonly feePerSecond: u128;
}
/** @name MangataTypesAssetsXykMetadata (91) */
interface MangataTypesAssetsXykMetadata extends Struct {
readonly operationsDisabled: bool;
}
/** @name StagingXcmVersionedMultiLocation (94) */
interface StagingXcmVersionedMultiLocation extends Enum {
readonly isV2: boolean;
readonly asV2: StagingXcmV2MultiLocation;
readonly isV3: boolean;
readonly asV3: StagingXcmV3MultiLocation;
readonly type: 'V2' | 'V3';
}
/** @name StagingXcmV2MultiLocation (95) */
interface StagingXcmV2MultiLocation extends Struct {
readonly parents: u8;
readonly interior: StagingXcmV2MultilocationJunctions;
}
/** @name StagingXcmV2MultilocationJunctions (96) */
interface StagingXcmV2MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: StagingXcmV2Junction;
readonly isX2: boolean;
readonly asX2: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction]>;
readonly isX3: boolean;
readonly asX3: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>;
readonly isX4: boolean;
readonly asX4: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>;
readonly isX5: boolean;
readonly asX5: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>;
readonly isX6: boolean;
readonly asX6: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>;
readonly isX7: boolean;
readonly asX7: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>;
readonly isX8: boolean;
readonly asX8: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>;
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
/** @name StagingXcmV2Junction (97) */
interface StagingXcmV2Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: StagingXcmV2NetworkId;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: StagingXcmV2NetworkId;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: StagingXcmV2NetworkId;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: Bytes;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: StagingXcmV2BodyId;
readonly part: StagingXcmV2BodyPart;
} & Struct;
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
/** @name StagingXcmV2NetworkId (99) */
interface StagingXcmV2NetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
readonly isPolkadot: boolean;
readonly isKusama: boolean;
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
/** @name StagingXcmV2BodyId (102) */
interface StagingXcmV2BodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
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' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
}
/** @name StagingXcmV2BodyPart (103) */
interface StagingXcmV2BodyPart 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 StagingXcmV3MultiLocation (104) */
interface StagingXcmV3MultiLocation extends Struct {
readonly parents: u8;
readonly interior: StagingXcmV3Junctions;
}
/** @name StagingXcmV3Junctions (105) */
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 (106) */
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 (108) */
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 (109) */
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 (110) */
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 PalletTreasuryEvent (111) */
interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
readonly proposalIndex: u32;
} & Struct;
readonly isSpending: boolean;
readonly asSpending: {
readonly budgetRemaining: u128;
} & Struct;
readonly isAwarded: boolean;
readonly asAwarded: {
readonly proposalIndex: u32;
readonly award: u128;
readonly account: SpRuntimeAccountAccountId20;
} & Struct;
readonly isRejected: boolean;
readonly asRejected: {
readonly proposalIndex: u32;
readonly slashed: u128;
} & 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: SpRuntimeAccountAccountId20;
} & Struct;
readonly isUpdatedInactive: boolean;
readonly asUpdatedInactive: {
readonly reactivated: u128;
readonly deactivated: u128;
} & Struct;
readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';
}
/** @name PalletSudoMangataEvent (112) */
interface PalletSudoMangataEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly isKeyChanged: boolean;
readonly asKeyChanged: {
readonly oldSudoer: Option<SpRuntimeAccountAccountId20>;
} & Struct;
readonly isSudoAsDone: boolean;
readonly asSudoAsDone: {
readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
/** @name PalletSudoOriginEvent (113) */
interface PalletSudoOriginEvent extends Enum {