11// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
22/* eslint-disable */
33
4- import type { ApiTypes } from 'https://deno.land/x/polkadot@0.0.0-9 /api-base/types/index.ts' ;
5- import type { Bytes , Null , Option , Result , U8aFixed , Vec , bool , u128 , u16 , u32 , u64 , u8 } from 'https://deno.land/x/polkadot@0.0.0-9 /types-codec/mod.ts' ;
6- import type { ITuple } from 'https://deno.land/x/polkadot@0.0.0-9 /types-codec/types/index.ts' ;
7- import type { EthereumAddress } from 'https://deno.land/x/polkadot@0.0.0-9 /types/interfaces/eth/index.ts' ;
8- import type { AccountId32 , H256 } from 'https://deno.land/x/polkadot@0.0.0-9 /types/interfaces/runtime/index.ts' ;
9- import type { FrameSupportScheduleLookupError , FrameSupportTokensMiscBalanceStatus , FrameSupportWeightsDispatchInfo , KusamaRuntimeProxyType , PalletDemocracyVoteAccountVote , PalletDemocracyVoteThreshold , PalletElectionProviderMultiPhaseElectionCompute , PalletImOnlineSr25519AppSr25519Public , PalletMultisigTimepoint , PalletNominationPoolsPoolState , PalletStakingExposure , PalletStakingValidatorPrefs , PolkadotParachainPrimitivesHrmpChannelId , PolkadotPrimitivesV2CandidateReceipt , PolkadotRuntimeParachainsDisputesDisputeLocation , PolkadotRuntimeParachainsDisputesDisputeResult , SpFinalityGrandpaAppPublic , SpRuntimeDispatchError , XcmV1MultiLocation , XcmV2Response , XcmV2TraitsError , XcmV2TraitsOutcome , XcmV2Xcm , XcmVersionedMultiAssets , XcmVersionedMultiLocation } from 'https://deno.land/x/polkadot@0.0.0-9 /types/lookup.ts' ;
4+ import type { ApiTypes } from 'https://deno.land/x/polkadot/api-base/types/index.ts' ;
5+ import type { Bytes , Null , Option , Result , U8aFixed , Vec , bool , u128 , u16 , u32 , u64 , u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts' ;
6+ import type { ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts' ;
7+ import type { EthereumAddress } from 'https://deno.land/x/polkadot/types/interfaces/eth/index.ts' ;
8+ import type { AccountId32 , H256 } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts' ;
9+ import type { FrameSupportScheduleLookupError , FrameSupportTokensMiscBalanceStatus , FrameSupportWeightsDispatchInfo , KusamaRuntimeProxyType , PalletDemocracyVoteAccountVote , PalletDemocracyVoteThreshold , PalletElectionProviderMultiPhaseElectionCompute , PalletImOnlineSr25519AppSr25519Public , PalletMultisigTimepoint , PalletNominationPoolsPoolState , PalletStakingExposure , PalletStakingValidatorPrefs , PolkadotParachainPrimitivesHrmpChannelId , PolkadotPrimitivesV2CandidateReceipt , PolkadotRuntimeParachainsDisputesDisputeLocation , PolkadotRuntimeParachainsDisputesDisputeResult , SpFinalityGrandpaAppPublic , SpRuntimeDispatchError , XcmV1MultiLocation , XcmV2Response , XcmV2TraitsError , XcmV2TraitsOutcome , XcmV2Xcm , XcmVersionedMultiAssets , XcmVersionedMultiLocation } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
1010
11- declare module 'https://deno.land/x/polkadot@0.0.0-9 /api-base/types/events.ts' {
11+ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
1212 export interface AugmentedEvents < ApiType extends ApiTypes > {
1313 auctions : {
1414 /**
@@ -293,6 +293,10 @@ declare module 'https://deno.land/x/polkadot@0.0.0-9/api-base/types/events.ts' {
293293 * A proposal preimage was removed and used (the deposit was returned).
294294 **/
295295 PreimageUsed : AugmentedEvent < ApiType , [ proposalHash : H256 , provider : AccountId32 , deposit : u128 ] , { proposalHash : H256 , provider : AccountId32 , deposit : u128 } > ;
296+ /**
297+ * A proposal got canceled.
298+ **/
299+ ProposalCanceled : AugmentedEvent < ApiType , [ propIndex : u32 ] , { propIndex : u32 } > ;
296300 /**
297301 * A motion has been proposed by a public account.
298302 **/
@@ -554,6 +558,10 @@ declare module 'https://deno.land/x/polkadot@0.0.0-9/api-base/types/events.ts' {
554558 * A payout has been made to a member.
555559 **/
556560 PaidOut : AugmentedEvent < ApiType , [ member : AccountId32 , poolId : u32 , payout : u128 ] , { member : AccountId32 , poolId : u32 , payout : u128 } > ;
561+ /**
562+ * The active balance of pool `pool_id` has been slashed to `balance`.
563+ **/
564+ PoolSlashed : AugmentedEvent < ApiType , [ poolId : u32 , balance : u128 ] , { poolId : u32 , balance : u128 } > ;
557565 /**
558566 * The roles of a pool have been updated to the given new roles. Note that the depositor
559567 * can never change.
@@ -565,12 +573,31 @@ declare module 'https://deno.land/x/polkadot@0.0.0-9/api-base/types/events.ts' {
565573 StateChanged : AugmentedEvent < ApiType , [ poolId : u32 , newState : PalletNominationPoolsPoolState ] , { poolId : u32 , newState : PalletNominationPoolsPoolState } > ;
566574 /**
567575 * A member has unbonded from their pool.
576+ *
577+ * - `balance` is the corresponding balance of the number of points that has been
578+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
579+ * pool.
580+ * - `points` is the number of points that are issued as a result of `balance` being
581+ * dissolved into the corresponding unbonding pool.
582+ *
583+ * In the absence of slashing, these values will match. In the presence of slashing, the
584+ * number of points that are issued in the unbonding pool will be less than the amount
585+ * requested to be unbonded.
586+ **/
587+ Unbonded : AugmentedEvent < ApiType , [ member : AccountId32 , poolId : u32 , balance : u128 , points : u128 ] , { member : AccountId32 , poolId : u32 , balance : u128 , points : u128 } > ;
588+ /**
589+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
568590 **/
569- Unbonded : AugmentedEvent < ApiType , [ member : AccountId32 , poolId : u32 , amount : u128 ] , { member : AccountId32 , poolId : u32 , amount : u128 } > ;
591+ UnbondingPoolSlashed : AugmentedEvent < ApiType , [ poolId : u32 , era : u32 , balance : u128 ] , { poolId : u32 , era : u32 , balance : u128 } > ;
570592 /**
571593 * A member has withdrawn from their pool.
594+ *
595+ * The given number of `points` have been dissolved in return of `balance`.
596+ *
597+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
598+ * will be 1.
572599 **/
573- Withdrawn : AugmentedEvent < ApiType , [ member : AccountId32 , poolId : u32 , amount : u128 ] , { member : AccountId32 , poolId : u32 , amount : u128 } > ;
600+ Withdrawn : AugmentedEvent < ApiType , [ member : AccountId32 , poolId : u32 , balance : u128 , points : u128 ] , { member : AccountId32 , poolId : u32 , balance : u128 , points : u128 } > ;
574601 /**
575602 * Generic event
576603 **/
@@ -1112,6 +1139,17 @@ declare module 'https://deno.land/x/polkadot@0.0.0-9/api-base/types/events.ts' {
11121139 **/
11131140 [ key : string ] : AugmentedEvent < ApiType > ;
11141141 } ;
1142+ transactionPayment : {
1143+ /**
1144+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1145+ * has been paid by `who`.
1146+ **/
1147+ TransactionFeePaid : AugmentedEvent < ApiType , [ who : AccountId32 , actualFee : u128 , tip : u128 ] , { who : AccountId32 , actualFee : u128 , tip : u128 } > ;
1148+ /**
1149+ * Generic event
1150+ **/
1151+ [ key : string ] : AugmentedEvent < ApiType > ;
1152+ } ;
11151153 treasury : {
11161154 /**
11171155 * Some funds have been allocated.
@@ -1137,6 +1175,10 @@ declare module 'https://deno.land/x/polkadot@0.0.0-9/api-base/types/events.ts' {
11371175 * Spending has finished; this is the amount that rolls over until next spend.
11381176 **/
11391177 Rollover : AugmentedEvent < ApiType , [ rolloverBalance : u128 ] , { rolloverBalance : u128 } > ;
1178+ /**
1179+ * A new spend proposal has been approved.
1180+ **/
1181+ SpendApproved : AugmentedEvent < ApiType , [ proposalIndex : u32 , amount : u128 , beneficiary : AccountId32 ] , { proposalIndex : u32 , amount : u128 , beneficiary : AccountId32 } > ;
11401182 /**
11411183 * We have ended a spend period and will now allocate funds.
11421184 **/
0 commit comments