Skip to content

Commit

Permalink
user Event and Queue
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed Nov 13, 2024
1 parent 3d8629c commit 5b47b4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/watchables.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { parseAbiItem } from 'viem';
import { sepolia, arbitrumSepolia } from 'viem/chains';
import { Watchable } from './types';
import { Event, Queue } from '@togethercrew.dev/tc-messagebroker';

export const watchables: Watchable[] = [
// Example: Watch WETH Transfer (Ethereum)
Expand All @@ -22,8 +23,8 @@ export const watchables: Watchable[] = [
'event Issue(address indexed account, uint indexed tokenId)',
),
target: {
queue: 'SERVER_API',
event: 'EngagementTokenIssued',
queue: Queue.SERVER_API,
event: Event.SERVER_API.EngagementTokenIssued,
},
},
{
Expand Down

0 comments on commit 5b47b4c

Please sign in to comment.