Skip to content

Commit

Permalink
feat: add polynomial liquidity layer tvl (#11670)
Browse files Browse the repository at this point in the history
Co-authored-by: g1nt0ki <[email protected]>
  • Loading branch information
Aniket965 and g1nt0ki authored Sep 20, 2024
1 parent e0908dc commit 4a3ef4a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions projects/helper/coreAssets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1897,5 +1897,10 @@
},
"ripple": {
"XRP": "XRP"
},
"polynomial": {
"USDC": "0x17C9D8Cef7Ef072844EEaEdE1F9f54C7E3fa8743",
"SDAI": "0x615172e47c0C5A6dA8ea959632Ac0166f7a59eDc",
"sUSDe": "0x2A06DEAc3E863c23DD6a89Eeacd80aBA9E08B77B"
}
}
5 changes: 5 additions & 0 deletions projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ const fixBalancesTokens = {
},
etn: {
'0x138dafbda0ccb3d8e39c19edb0510fc31b7c1c77': { coingeckoId: "electroneum", decimals: 18 }
},
polynomial: {
[ADDRESSES.polynomial.USDC]: { coingeckoId: "usd-coin", decimals: 6 },
[ADDRESSES.polynomial.SDAI]: { coingeckoId: "savings-dai", decimals: 18 },
[ADDRESSES.polynomial.sUSDe]: { coingeckoId: "ethena-staked-usde", decimals: 18 },
}
}

Expand Down
9 changes: 9 additions & 0 deletions projects/polynomial-liquidity-layer/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { sumTokensExport } = require('../helper/unwrapLPs')


module.exports = {
polynomial: {
tvl: sumTokensExport({ owner: '0xc133983D6d9140923b5eaE52664221d9099cf119', tokens: [ADDRESSES.polynomial.USDC,ADDRESSES.polynomial.SDAI, ADDRESSES.polynomial.sUSDe]})
}
}

0 comments on commit 4a3ef4a

Please sign in to comment.