We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dee2536 commit 45b2b4aCopy full SHA for 45b2b4a
fees/tonco/index.ts
@@ -37,11 +37,11 @@ const SWAPS_QUERY = (from: number, to: number) => `
37
`
38
39
const fetch = async (options: FetchOptions): Promise<FetchResultV2> => {
40
- let protocolFeePerc = 0.2;
41
- let supplySideRevenuePerc = 0.8;
+ let protocolFeePerc = 0.1;
+ let supplySideRevenuePerc = 0.9;
42
if (options.startTimestamp > 1752105600) { // Protocol Fee changed on 2025-07-10 from 10% of lp fees to 20% of lp fees
43
- protocolFeePerc = 0.1;
44
- supplySideRevenuePerc = 0.9;
+ protocolFeePerc = 0.2;
+ supplySideRevenuePerc = 0.8;
45
}
46
const swaps = await postURL(GRAPHQL_ENDPOINT, {
47
query: SWAPS_QUERY(options.fromTimestamp * 1000, options.toTimestamp * 1000)
0 commit comments