Skip to content

Commit

Permalink
Adds ynBNB (#11810)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhad authored Oct 3, 2024
1 parent 115fcff commit 5d36606
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/yieldnest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ module.exports = {
api.add(lsds, bals)
}
},
bsc: {
tvl: async (api) => {
const ynBNB = '0x304B5845b9114182ECb4495Be4C91a273b74B509'
const ynBnbBalance = await api.call({ abi: 'uint256:totalAssets', target: ynBNB })
api.add(ADDRESSES.null, ynBnbBalance)
}
},
}

0 comments on commit 5d36606

Please sign in to comment.