Skip to content

Commit

Permalink
Securitize Protocol (BUIDL) (#10906)
Browse files Browse the repository at this point in the history
* add securitize protocol (BUIDL)

* reoganization file (require a top of file)

---------

Co-authored-by: 0xpeluche <[email protected]>
  • Loading branch information
0xpeluche and 0xpeluche authored Jul 6, 2024
1 parent 7352e53 commit 73d3e2c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions projects/securitize/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const ADDRESSES = require('../helper/coreAssets.json')

const BUIDL = "0x7712c34205737192402172409a8f7ccef8aa2aec"

module.exports = {
ethereum: {
tvl: async (api) => {
const totalSupply = await api.call({
target: BUIDL,
abi: 'erc20:totalSupply'
})
return api.add(ADDRESSES.ethereum.USDC, totalSupply)
}
}
}

0 comments on commit 73d3e2c

Please sign in to comment.