-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #724 from DefiLlama/ferro-fees
add ferro fees
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |