Skip to content

Commit 42ab37b

Browse files
fix sailfish (#6290)
1 parent 7ab885f commit 42ab37b

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

factory/uniSubgraph.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ const configs: Record<string, SubgraphConfig> = {
6767
},
6868
start: "2025-07-26",
6969
},
70-
"sailfish": {
71-
graphUrls: {
72-
occ: "https://api.goldsky.com/api/public/project_cm1s79wa2tlb701tbchmeaflf/subgraphs/sailfish-v3-occ-mainnet/1.0.3/gn",
73-
},
74-
totalVolume: { factory: "factories", field: "totalVolumeUSD" },
75-
feesPercent: {
76-
type: "fees",
77-
ProtocolRevenue: 50,
78-
HoldersRevenue: 0,
79-
UserFees: 100,
80-
SupplySideRevenue: 50,
81-
Revenue: 50,
82-
},
83-
},
70+
// "sailfish": {
71+
// graphUrls: {
72+
// occ: "https://api.goldsky.com/api/public/project_cm1s79wa2tlb701tbchmeaflf/subgraphs/sailfish-v3-occ-mainnet/1.0.3/gn",
73+
// },
74+
// totalVolume: { factory: "factories", field: "totalVolumeUSD" },
75+
// feesPercent: {
76+
// type: "fees",
77+
// ProtocolRevenue: 50,
78+
// HoldersRevenue: 0,
79+
// UserFees: 100,
80+
// SupplySideRevenue: 50,
81+
// Revenue: 50,
82+
// },
83+
// },
8484
"upheaval-v3": {
8585
graphUrls: {
8686
[CHAIN.HYPERLIQUID]: "https://api.upheaval.fi/subgraphs/name/upheaval/exchange-v3-fixed",

factory/uniV3.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,9 @@ const configs: Record<string, Record<string, any>> = {
330330
start: '2026-03-05', userFeesRatio: 1, revenueRatio: 1, holdersRevenueRatio: 1
331331
},
332332
},
333+
"sailfish": {
334+
[CHAIN.EDU_CHAIN]: {factory: '0x963A7f4eB46967A9fd3dFbabD354fC294FA2BF5C', userFeesRatio: 1, revenueRatio: 0.5, protocolRevenueRatio: 0.5}
335+
},
333336
}
334337

335338
const optionsMap: Record<string, any> = {

0 commit comments

Comments
 (0)