import { GenericEvent, GenericEventData } from 'https://deno.land/x/polkadot@0.2.45/types/index.ts'; import { CodeChangedData, MessageQueuedData, MessageWaitedData, MessageWakenData, MessagesDispatchedData, ProgramChangedData, ProgramResumeSessionStartedData, TransferData, UserMessageReadData, UserMessageSentData, VoucherDeclinedData, VoucherIssuedData, VoucherRevokedData, VoucherUpdatedData, } from './GearEventData.ts'; export interface GearEvent extends GenericEvent { data: D; } export type MessageQueued = GearEvent; export type UserMessageSent = GearEvent; export type UserMessageRead = GearEvent; export type MessagesDispatched = GearEvent; export type MessageWaited = GearEvent; export type MessageWaken = GearEvent; export type CodeChanged = GearEvent; export type ProgramChanged = GearEvent; export type Transfer = GearEvent; export type ProgramResumeSessionStarted = GearEvent; export type VoucherIssued = GearEvent; export type VoucherUpdated = GearEvent; export type VoucherRevoked = GearEvent; export type VoucherDeclined = GearEvent;