From 8b22baa105e07971f01527c15f367bb6310c805b Mon Sep 17 00:00:00 2001 From: 0xgnek <0xgnek@gmail.com> Date: Tue, 14 Jan 2025 18:16:55 +0000 Subject: [PATCH] add ink --- fees/zns/index.ts | 8 ++++++++ helpers/chains.ts | 1 + 2 files changed, 9 insertions(+) diff --git a/fees/zns/index.ts b/fees/zns/index.ts index 5ba252553d..516a838d9b 100644 --- a/fees/zns/index.ts +++ b/fees/zns/index.ts @@ -23,6 +23,7 @@ const addresses: TAddress = { [CHAIN.SONIC]: "0xFb2Cd41a8aeC89EFBb19575C6c48d872cE97A0A5", [CHAIN.BASE]: "0x55b867a955e4384bcac03ef7f2e492f68016c152", [CHAIN.SONEIUM]: "0xf180136DdC9e4F8c9b5A9FE59e2b1f07265C5D4D", + [CHAIN.INK]: "0xFb2Cd41a8aeC89EFBb19575C6c48d872cE97A0A5" }; const methodology = { @@ -203,6 +204,13 @@ const adapter: Adapter = { methodology, }, }, + [CHAIN.INK]: { + fetch: fetchLogsAndCalculateFees, + start: '2024-05-30', + meta: { + methodology + } + } }, }; diff --git a/helpers/chains.ts b/helpers/chains.ts index 01f45d4a42..2f8d74f945 100644 --- a/helpers/chains.ts +++ b/helpers/chains.ts @@ -203,6 +203,7 @@ export enum CHAIN { SONIC = "sonic", HYPERLIQUID = "hyperliquid", SONEIUM = "soneium", + INK = "ink", } // DonĀ“t use