diff --git a/src/platform/events/base.ts b/src/platform/events/base.ts index 7d99ffb..f48e251 100644 --- a/src/platform/events/base.ts +++ b/src/platform/events/base.ts @@ -13,7 +13,8 @@ export enum EventType { ITEM_SOLD = 'item-sold', RENTAL_ENDED = 'land-rental-ended', RENTAL_STARTED = 'land-rental-started', - ROYALTIES_EARNED = 'royalties-earned' + ROYALTIES_EARNED = 'royalties-earned', + CATALYST_DEPLOYMENT = 'catalyst-deployment' } export type BaseEvent = { diff --git a/src/platform/events/catalyst.ts b/src/platform/events/catalyst.ts new file mode 100644 index 0000000..a178d61 --- /dev/null +++ b/src/platform/events/catalyst.ts @@ -0,0 +1,7 @@ +import { Entity } from '../entity' +import { BaseEvent, EventType } from './base' + +export type CatalystDeployment = BaseEvent & { + type: EventType.CATALYST_DEPLOYMENT + entity: Entity +} diff --git a/src/platform/events/index.ts b/src/platform/events/index.ts index 8d4fdb3..1547e4b 100644 --- a/src/platform/events/index.ts +++ b/src/platform/events/index.ts @@ -1,2 +1,3 @@ export * from './base' export * from './blockchain' +export * from './catalyst'