diff --git a/dexs/bifrost-dex.ts b/dexs/bifrost-dex.ts index 35eb38c819..d0f2115e1a 100644 --- a/dexs/bifrost-dex.ts +++ b/dexs/bifrost-dex.ts @@ -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 }; }; diff --git a/dexs/prjx.ts b/dexs/prjx.ts index 15df0a2603..8c26dac2e7 100644 --- a/dexs/prjx.ts +++ b/dexs/prjx.ts @@ -4,5 +4,7 @@ import { uniV3Exports } from "../helpers/uniswap"; export default uniV3Exports({ [CHAIN.HYPERLIQUID]: { factory: '0xff7b3e8c00e57ea31477c32a5b52a58eea47b072', + revenueRatio: 0.25, + protocolRevenueRatio: 0.25 }, }) diff --git a/fees/bifrost-chain.ts b/fees/bifrost-chain.ts index 21b2af7b74..a0789e361d 100644 --- a/fees/bifrost-chain.ts +++ b/fees/bifrost-chain.ts @@ -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 }; }; diff --git a/pull_request_template.md b/pull_request_template.md index 493a5b0bcb..9943f64c46 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -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 ---