Skip to content

Commit

Permalink
Merge pull request #1811 from LeeRyanj/master
Browse files Browse the repository at this point in the history
add bsquared configs
  • Loading branch information
dtmkeng committed Aug 22, 2024
2 parents 76e8903 + d0cb8b0 commit 7f59c48
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dexs/kiloex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const historicalVolumeEndpoints: ChainMap = {
[CHAIN.OP_BNB]: "https://opapi.kiloex.io/common/queryTradeSummary",
[CHAIN.MANTA]: "https://mantaapi.kiloex.io/common/queryTradeSummary",
[CHAIN.TAIKO]: "https://taikoapi.kiloex.io/common/queryTradeSummary",
[CHAIN.BSQUARED]: "https://b2api.kiloex.io/common/queryTradeSummary",
};

interface IVolume {
Expand Down Expand Up @@ -56,6 +57,9 @@ const adapter: SimpleAdapter = {
[CHAIN.TAIKO]: {
fetch: fetch(CHAIN.TAIKO), start: async () => 1717027200
},
[CHAIN.BSQUARED]: {
fetch: fetch(CHAIN.BSQUARED), start: async () => 1722297600
},
},
};

Expand Down
6 changes: 5 additions & 1 deletion fees/kiloex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const endpoints: ChainMap = {
[CHAIN.BSC]: "https://api.kiloex.io/common/queryTradeSummary",
[CHAIN.OP_BNB]: "https://opapi.kiloex.io/common/queryTradeSummary",
[CHAIN.MANTA]: "https://mantaapi.kiloex.io/common/queryTradeSummary",
[CHAIN.TAIKO]: "https://taikoapi.kiloex.io/common/queryTradeSummary"
[CHAIN.TAIKO]: "https://taikoapi.kiloex.io/common/queryTradeSummary",
[CHAIN.BSQUARED]: "https://b2api.kiloex.io/common/queryTradeSummary"
};

interface IFee {
Expand Down Expand Up @@ -57,6 +58,9 @@ const adapter: SimpleAdapter = {
[CHAIN.TAIKO]: {
fetch: fetch(CHAIN.TAIKO), start: async () => 1717027200
},
[CHAIN.BSQUARED]: {
fetch: fetch(CHAIN.BSQUARED), start: async () => 1722297600
},
},
};

Expand Down

0 comments on commit 7f59c48

Please sign in to comment.