Skip to content

Commit

Permalink
feat: polynomial bridge tvl (DefiLlama#11573)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket965 authored Sep 10, 2024
1 parent 0ee9cf9 commit 832e064
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions projects/polynomial-bridge/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
const { sumTokens2, nullAddress } = require("../helper/unwrapLPs");
const ADDRESSES = require('../helper/coreAssets.json')

module.exports = {
ethereum: {
tvl: (api) =>
sumTokens2({
api,
owners: [
"0xDE1617Ddb7C8A250A409D986930001985cfad76F", // usdc vault
"0x615172e47c0C5A6dA8ea959632Ac0166f7a59eDc", // sdai vault
"0xC6cfb996A7CFEB89813A68CD13942CD75553032b", // susde vault
"0x034cbb620d1e0e4C2E29845229bEAc57083b04eC" // eth bridge
],
tokens: [ADDRESSES.ethereum.USDC, ADDRESSES.ethereum.SDAI, ADDRESSES.ethereum.sUSDe, nullAddress],
}),
},
optimism: {
tvl: (api) =>
sumTokens2({
api,
owners: [
"0xc374967634133F5Ed1DF5050276e5B33986625D3", // usdc vault
],
tokens: [ADDRESSES.optimism.USDC_CIRCLE],
}),
},
base: {
tvl: (api) =>
sumTokens2({
api,
owners: [
"0x038bc0f438C6b46FaCc5C83475925F4Dc111d79F", // usdc vault
],
tokens: [ADDRESSES.base.USDC],
}),
},
arbitrum: {
tvl: (api) =>
sumTokens2({
api,
owners: [
"0x615172e47c0C5A6dA8ea959632Ac0166f7a59eDc", // usdc vault
],
tokens: [ADDRESSES.arbitrum.USDC_CIRCLE],
}),
},
};

0 comments on commit 832e064

Please sign in to comment.