Skip to content

Commit

Permalink
add zunETH & zunETHAps contracts to zunami (#9737)
Browse files Browse the repository at this point in the history
  • Loading branch information
fextr authored Apr 8, 2024
1 parent 647d65d commit 13e42a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/zunami/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ const abi = require("./abi.json");

const zunUSD = "0x8C0D76C9B18779665475F3E212D9Ca1Ed6A1A0e6";
const zunUSDAps = "0x28e487bbF6b64867C29e61DccbCD17aB64082889";
const zunETH = "0xc2e660C62F72c2ad35AcE6DB78a616215E2F2222";
const zunETHAps = "0x5Ab3aa11a40eB34f1d2733f08596532871bd28e2";

async function ethTvl(api) {
api.add(ADDRESSES.ethereum.DAI, await api.call({ abi: abi.totalHoldings, target: zunUSD, }))
api.add(ADDRESSES.ethereum.DAI, await api.call({ abi: abi.totalHoldings, target: zunUSDAps, }))
api.add(ADDRESSES.ethereum.WETH, await api.call({ abi: abi.totalHoldings, target: zunETH, }))
api.add(ADDRESSES.ethereum.WETH, await api.call({ abi: abi.totalHoldings, target: zunETHAps, }))
}

module.exports = {
Expand Down

0 comments on commit 13e42a2

Please sign in to comment.