From dca816df3d3ab14f787f2b60ac0b44480bbe7382 Mon Sep 17 00:00:00 2001 From: Cyrille <1618640+cyri113@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:58:26 +0100 Subject: [PATCH] add arbitrum contract --- src/watchables.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/watchables.ts b/src/watchables.ts index 5503e5f..89cbe5f 100644 --- a/src/watchables.ts +++ b/src/watchables.ts @@ -1,5 +1,5 @@ import { parseAbiItem } from 'viem'; -import { baseSepolia } from 'viem/chains'; +import { baseSepolia, arbitrum } from 'viem/chains'; import { Watchable } from './types'; import { Event, Queue } from '@togethercrew.dev/tc-messagebroker'; @@ -27,6 +27,17 @@ export const watchables: Watchable[] = [ event: Event.SERVER_API.EngagementTokenIssued, }, }, + { + chain: arbitrum, + address: '0x89aDc2E7561914884c47a2F5447ac5052e6770b1', + event: parseAbiItem( + 'event Issue(address indexed account, uint indexed tokenId)', + ), + target: { + queue: Queue.SERVER_API, + event: Event.SERVER_API.EngagementTokenIssued, + }, + }, // { // chain: arbitrumSepolia, // address: '0x14A19Db36DfB60C41932daE2d1c1b15Bd0f99792',