Skip to content

Commit 0825760

Browse files
authored
update fees and volumes on katana (DefiLlama#3576)
1 parent 3dca785 commit 0825760

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

dexs/sushiswap/swap.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ const RP7_ADDRESS: any = {
218218
[CHAIN.ZKLINK]: '0xd7C94C8C61628911C41141289af1D0dE17d7aC8d',
219219
[CHAIN.APECHAIN]: '0x3Ced11c610556e5292fBC2e75D68c3899098C14C',
220220
[CHAIN.SONIC]: '0x3Ced11c610556e5292fBC2e75D68c3899098C14C',
221-
[CHAIN.HEMI]: '0x3Ced11c610556e5292fBC2e75D68c3899098C14C'
221+
[CHAIN.HEMI]: '0x3Ced11c610556e5292fBC2e75D68c3899098C14C',
222+
[CHAIN.KATANA]: '0x3Ced11c610556e5292fBC2e75D68c3899098C14C',
222223
}
223224

224225
const WNATIVE_ADDRESS: any = {
@@ -263,7 +264,7 @@ const WNATIVE_ADDRESS: any = {
263264
[CHAIN.ZKLINK]: ADDRESSES.zklink.WETH,
264265
[CHAIN.APECHAIN]: ADDRESSES.apechain.WAPE,
265266
[CHAIN.SONIC]: ADDRESSES.sonic.wS,
266-
[CHAIN.HEMI]: ADDRESSES.optimism.WETH_1
267+
[CHAIN.HEMI]: ADDRESSES.optimism.WETH_1,
267268
}
268269

269270
const useSushiAPIPrice = (chain: any) => [
@@ -501,6 +502,10 @@ const adapters = {
501502
[CHAIN.HEMI]: {
502503
fetch,
503504
start: '2025-02-19'
505+
},
506+
[CHAIN.KATANA]: {
507+
fetch,
508+
start: '2025-07-01'
504509
}
505510
}
506511

fees/morpho/index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ const MorphoBlues = {
5151
chainId: 130,
5252
blue: "0x8f5ae9cddb9f68de460c77730b018ae7e04a140a",
5353
},
54+
[CHAIN.KATANA]: {
55+
chainId: 747474,
56+
blue: "0xD50F2DffFd62f94Ee4AEd9ca05C61d0753268aBc",
57+
},
5458
};
5559

5660
const MorphoBlueAbis = {
@@ -164,6 +168,13 @@ const adapter: SimpleAdapter = {
164168
methodology,
165169
},
166170
},
171+
katana: {
172+
fetch: fetch,
173+
start: "2025-07-01",
174+
meta: {
175+
methodology,
176+
},
177+
},
167178
},
168179
version: 2,
169180
};

helpers/aggregators/lifi.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ export const LifiDiamonds: IContract = {
188188
[CHAIN.GRAVITY]: {
189189
id: '0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae',
190190
startTime: '2024-07-30'
191+
},
192+
[CHAIN.KATANA]: {
193+
id: '0xC59fe32C9549e3E8B5dCcdAbC45BD287Bd5bA2bc',
194+
startTime: '2025-07-01'
191195
}
192196
}
193197

@@ -367,7 +371,11 @@ export const LifiFeeCollectors: IContract = {
367371
[CHAIN.XDAI]: {
368372
id: '0xbD6C7B0d2f68c2b7805d88388319cfB6EcB50eA9',
369373
startTime: '2023-07-24'
370-
}
374+
},
375+
[CHAIN.KATANA]: {
376+
id: '0xB7ea489dB36820f0d57F1A67353AA4f5d0890ce3',
377+
startTime: '2025-07-01'
378+
},
371379
}
372380

373381
export const fetchVolumeFromLIFIAPI = async (chain: Chain, startTime: number, endTime: number, integrators?: string[], exclude_integrators?: string[], swapType?: 'cross-chain' | 'same-chain'): Promise<number> => {

0 commit comments

Comments
 (0)