Skip to content

Commit

Permalink
Merge pull request #724 from DefiLlama/ferro-fees
Browse files Browse the repository at this point in the history
add ferro fees
  • Loading branch information
dtmkeng authored Aug 9, 2023
2 parents 29c39c4 + f14744a commit a874269
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions fees/ferro.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { CHAIN } from "../helpers/chains";
import { univ2DimensionAdapter } from "../helpers/getUniSubgraph";

const adapters = univ2DimensionAdapter({
graphUrls: {
[CHAIN.CRONOS]: "https://graph.cronoslabs.com/subgraphs/name/ferro/swap",
},
dailyVolume: {
factory: "dailyVolume",
field: "volume",
dateField: "timestamp"
},
totalVolume: {
factory: "tradeVolumes",
field: "volume"
},
feesPercent: {
type: "volume",
Fees: 0.04,
UserFees: 0.04,
Revenue: 0.02,
ProtocolRevenue: 0.004,
HoldersRevenue: 0.016,
SupplySideRevenue: 0.02,
}
}, {
});
adapters.adapter.cronos.start = async () => 1661731973;
export default adapters;

0 comments on commit a874269

Please sign in to comment.