diff --git a/projects/degen-bridge/index.js b/projects/degen-bridge/index.js index 923997a49d..5c0557fc49 100644 --- a/projects/degen-bridge/index.js +++ b/projects/degen-bridge/index.js @@ -1,13 +1,10 @@ -const { sumTokens2 } = require("../helper/unwrapLPs"); +const { sumTokens2, sumTokensExport } = require("../helper/unwrapLPs"); module.exports = { base: { - tvl: (api) => - sumTokens2({ - api, - owners: ["0xEfEf4558802bF373Ce3307189C79a9cAb0a4Cb9C"], - fetchCoValentTokens: true, - blacklistedTokens: [], - }), + tvl: sumTokensExport({ + owner: "0xEfEf4558802bF373Ce3307189C79a9cAb0a4Cb9C", + fetchCoValentTokens: true, + }), }, }; diff --git a/projects/pulsechain-bridge/index.js b/projects/pulsechain-bridge/index.js index ceec7e8087..111ed73ba8 100644 --- a/projects/pulsechain-bridge/index.js +++ b/projects/pulsechain-bridge/index.js @@ -2,12 +2,9 @@ const { sumTokens2 } = require("../helper/unwrapLPs"); module.exports = { ethereum: { - tvl: (api) => - sumTokens2({ - api, - owners: ["0x1715a3E4A142d8b698131108995174F37aEBA10D"], - fetchCoValentTokens: true, - blacklistedTokens: [], - }), + tvl: sumTokensExport({ + owner: "0x1715a3E4A142d8b698131108995174F37aEBA10D", + fetchCoValentTokens: true, + }), }, }; diff --git a/projects/ronin-bridge/index.js b/projects/ronin-bridge/index.js index a8c25f4c77..908550dbe7 100644 --- a/projects/ronin-bridge/index.js +++ b/projects/ronin-bridge/index.js @@ -2,12 +2,9 @@ const { sumTokens2 } = require("../helper/unwrapLPs"); module.exports = { ethereum: { - tvl: (api) => - sumTokens2({ - api, - owners: ["0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08"], - fetchCoValentTokens: true, - blacklistedTokens: [], - }), + tvl: sumTokensExport({ + owner: "0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08", + fetchCoValentTokens: true, + }), }, };