Skip to content

Commit

Permalink
sumTokensExport
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Apr 4, 2024
1 parent eae54ee commit 663b851
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 22 deletions.
13 changes: 5 additions & 8 deletions projects/degen-bridge/index.js
Original file line number Diff line number Diff line change
@@ -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,
}),
},
};
11 changes: 4 additions & 7 deletions projects/pulsechain-bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
},
};
11 changes: 4 additions & 7 deletions projects/ronin-bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
},
};

0 comments on commit 663b851

Please sign in to comment.