Skip to content

Commit

Permalink
fix biswap
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Feb 17, 2025
1 parent 04ffb72 commit ca1183e
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions dexs/biswap/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
import * as sdk from "@defillama/sdk";
import { CHAIN } from "../../helpers/chains";
import { univ2Adapter } from "../../helpers/getUniSubgraphVolume";
import { getUniV2LogAdapter } from "../../helpers/uniswap";
import { Adapter } from "../../adapters/types";

export default univ2Adapter({
[CHAIN.BSC]: sdk.graph.modifyEndpoint('2D9rXpMTvAgofWngsyRE17jKr5ywrU4W3Eaa71579qkd')
}, {
factoriesName: "pancakeFactories",
dayData: "pancakeDayData",
});
const adapter: Adapter = {
version: 2,
adapter: {
[CHAIN.BSC]: {
fetch: getUniV2LogAdapter({
factory: "0x858e3312ed3a876947ea49d572a7c42de08af7ee",
fees: 0.002
}),
start: '2021-05-24',
},
},
};

export default adapter;

0 comments on commit ca1183e

Please sign in to comment.