import type { bool } from '@polkadot/types'; import type { Currency, TransferReason } from '@equilab/api/interfaces/latest'; import type { EthereumAddress } from '@polkadot/types/interfaces/claims'; import type { AuthorityList } from '@polkadot/types/interfaces/grandpa'; import type { AccountId, Balance, ValidatorId } from '@polkadot/types/interfaces/runtime'; import type { SessionIndex } from '@polkadot/types/interfaces/session'; import type { DispatchError, DispatchInfo, DispatchResult } from '@polkadot/types/interfaces/system'; import type { ApiTypes } from '@polkadot/api/types'; declare module '@polkadot/api/types/events' { interface AugmentedEvents { balances: { /** * Transfer event. Included values are: * - from `AccountId` * - to `AccountId` * - transfer `Currency` * - transferred amount * - transfer reason **/ Transfer: AugmentedEvent; }; claim: { /** * `AccountId` claimed `Balance` amount of currency reserved for `EthereumAddress` **/ Claimed: AugmentedEvent; }; eqSessionManager: { /** * Validator successfully added **/ ValidatorAdded: AugmentedEvent; /** * Validator successfully removed **/ ValidatorRemoved: AugmentedEvent; }; eqVesting: { /** * An [account] has become fully vested. No further vesting can happen **/ VestingCompleted: AugmentedEvent; /** * The amount vested has been updated. This could indicate more funds are available. The * balance given is the amount which is left unvested (and thus locked) * [account, unvested] **/ VestingUpdated: AugmentedEvent; }; grandpa: { /** * New authority set has been applied. \[authority_set\] **/ NewAuthorities: AugmentedEvent; /** * Current authority set has been paused. **/ Paused: AugmentedEvent; /** * Current authority set has been resumed. **/ Resumed: AugmentedEvent; }; session: { /** * New session has happened. Note that the argument is the \[session_index\], not the block * number as the type might suggest. **/ NewSession: AugmentedEvent; }; sudo: { /** * The \[sudoer\] just switched identity; the old key is supplied. **/ KeyChanged: AugmentedEvent; /** * A sudo just took place. \[result\] **/ Sudid: AugmentedEvent; /** * A sudo just took place. \[result\] **/ SudoAsDone: AugmentedEvent; }; system: { /** * `:code` was updated. **/ CodeUpdated: AugmentedEvent; /** * An extrinsic failed. \[error, info\] **/ ExtrinsicFailed: AugmentedEvent; /** * An extrinsic completed successfully. \[info\] **/ ExtrinsicSuccess: AugmentedEvent; /** * An \[account\] was reaped. **/ KilledAccount: AugmentedEvent; /** * A new \[account\] was created. **/ NewAccount: AugmentedEvent; }; } interface DecoratedEvents extends AugmentedEvents { } }