Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dexs/bifrost-dex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const fetch = async (_: any, _1: any, options: FetchOptions) => {
const startTime = new Date(options.startTimestamp * 1000).toISOString().split("T")[0]
if (!res)
res = fetchURL('https://dapi.bifrost.io/api/dapp/stats/swap')
const v = (await res).volume.find((v: any) => v.date === startTime)
const v = (await res).volume.find((v: { date: string }) => v.date === startTime)

return { dailyVolume: v.amount };
};
Expand Down
2 changes: 2 additions & 0 deletions dexs/prjx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ import { uniV3Exports } from "../helpers/uniswap";
export default uniV3Exports({
[CHAIN.HYPERLIQUID]: {
factory: '0xff7b3e8c00e57ea31477c32a5b52a58eea47b072',
revenueRatio: 0.25,
protocolRevenueRatio: 0.25
},
})
2 changes: 1 addition & 1 deletion fees/bifrost-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const fetch = async (_: any, _1: any, options: FetchOptions) => {
const startTime = new Date(options.startTimestamp * 1000).toISOString().split("T")[0]
if (!res)
res = fetchURL('https://dapi.bifrost.io/api/dapp/stats/overview')
const v = (await res).find((v: any) => v.date === startTime)
const v = (await res).find((v: { date: string }) => v.date === startTime)

return { dailyFees: +v.txFee };
};
Expand Down
2 changes: 1 addition & 1 deletion pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
1. Once your adapter has been merged, it takes time to show on the UI. If more than 24 hours have passed, please let us know in Discord.
3. Please fill the form below **only if the PR is for listing a new protocol** else it can be ignored/replaced with reason/details about the PR
4. **For updating listing info** It is a different repo, you can find your listing in this file: https://github.com/DefiLlama/defillama-server/blob/master/defi/src/protocols/data4.ts, you can edit it there and put up a PR
5. Do not edit/push `poackage.json/package-lock.json` file as part of your changes
5. Do not edit/push `package.json/package-lock.json` file as part of your changes
6. No need to go to our discord/other channel and announce that you've created a PR, we monitor all PRs and will review it asap

---
Expand Down
Loading