Skip to content

Commit

Permalink
add spoke and rfq event types
Browse files Browse the repository at this point in the history
  • Loading branch information
corysquid committed Jul 10, 2024
1 parent aab92bd commit 007c0e1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export * from "./status";
export * from "./wrappers";
export * from "./path";
export * from "./compliance";
export * from "./rfq";
19 changes: 19 additions & 0 deletions src/rfq/index.ts
Original file line number Diff line number Diff line change
@@ -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",
}

0 comments on commit 007c0e1

Please sign in to comment.