diff --git a/src/index.ts b/src/index.ts index 64c9e68..13a505d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,3 +11,4 @@ export * from "./status"; export * from "./wrappers"; export * from "./path"; export * from "./compliance"; +export * from "./rfq"; diff --git a/src/rfq/index.ts b/src/rfq/index.ts new file mode 100644 index 0000000..eaea0c9 --- /dev/null +++ b/src/rfq/index.ts @@ -0,0 +1,19 @@ +export interface Spoke { + chainId: string; + address: string; + startBlock: string; + subgraphUrl: string; +} + +export enum SpokeEventType { + ORDER_CREATED = "OrderCreated", + ORDER_FILLED = "OrderFilled", + ORDER_REFUNDED = "OrderRefunded", + SETTLEMENT_FORWARDED = "SettlementForwarded", + TOKENS_RELEASED = "TokensReleased", +} + +export enum HubEventType { + SETTLEMENT_FILLED = "SettlementFilled", + SETTLEMENT_PROCESSED = "SettlementProcessed", +}