Skip to content

Commit

Permalink
feat: Adapter, Comtech-Gold
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche committed Dec 12, 2024
1 parent 07c94f2 commit 979f8aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions projects/comtech-gold/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const CGO = '0x8f9920283470f52128bf11b0c14e798be704fd15'

const tvl = async (api) => {
const supply = await api.call({ target: CGO, abi: 'erc20:totalSupply' })
api.add(CGO, supply)
}

module.exports = {
xdc: { tvl }
}

0 comments on commit 979f8aa

Please sign in to comment.