Skip to content

Commit

Permalink
update exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Oct 14, 2023
1 parent b4b277a commit 1e20334
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/adaptors/quickswap-dex/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const topLvl = async (chainString, timestamp, url, version) => {

const main = async (timestamp = null) => {
const data = await Promise.all([topLvl('polygon', timestamp, url, 'v2')]);
return data.flat().filter((p) => utils.keepFinite(p));
return data.flat().filter((p) => utils.keepFinite(p) && p.tvlUsd < 5e6);
};

module.exports = {
Expand Down
3 changes: 2 additions & 1 deletion src/utils/exclude.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ const excludePools = [
'0x4c36a9a52ca3baf1069e3531d57d96c171a66a230002000000000000000001e9',
'0x3035917be42af437cbdd774be26b9ec90a2bd677000200000000000000000543',
'0xc963ef7d977ECb0Ab71d835C4cb1Bf737f28d010', // rdnt-weth sushi pool in radiant v1 adapter, redundant
'0x7007535de9f864f0c15fe6fa288ce3feb842f72c'
'0x7007535de9f864f0c15fe6fa288ce3feb842f72c',
'0xbefaba1c380d8b0a53bc604d8b809684775e74f8'
];

const boundaries = {
Expand Down

0 comments on commit 1e20334

Please sign in to comment.