Skip to content

Commit

Permalink
Merge pull request #2350 from DefiLlama/ink-fees
Browse files Browse the repository at this point in the history
add link fees
  • Loading branch information
dtmkeng authored Jan 24, 2025
2 parents 70dd24f + b1ac52f commit b47bcee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions fees/ink.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { CHAIN } from "../helpers/chains";
import { Adapter, ProtocolType } from "../adapters/types";
import { L2FeesFetcher } from "../helpers/ethereum-l2";

const ethereumWallets = [
'0x4200000000000000000000000000000000000019',
'0x420000000000000000000000000000000000001A',
'0x4200000000000000000000000000000000000011'
]

const adapter: Adapter = {
version: 2,
adapter: {
[CHAIN.INK]: {
fetch: L2FeesFetcher({ ethereumWallets }),
start: '2024-12-20',
},
},
protocolType: ProtocolType.CHAIN
}

export default adapter;

0 comments on commit b47bcee

Please sign in to comment.