Skip to content

Commit 136a9a0

Browse files
g1nt0kiasgarovf
andauthored
Add ZK pool on Clave and refactor code (DefiLlama#11327)
* Add ZK pool on Clave * code refactor --------- Co-authored-by: asgarovf <[email protected]>
1 parent b06cc17 commit 136a9a0

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

projects/clave/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const ZtakeV1Address = "0x9248F1Ee8cBD029F3D22A92EB270333a39846fB2"
2+
3+
async function tvl(api) {
4+
const ZK = await api.call({ abi: 'address:ZK', target: ZtakeV1Address})
5+
return api.sumTokens({ owner: ZtakeV1Address, tokens: [ZK] })
6+
}
7+
8+
module.exports = {
9+
era: {
10+
tvl,
11+
}
12+
}

projects/helper/coreAssets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,8 @@
13581358
"WBTC": "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011",
13591359
"USDT": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
13601360
"BUSD": "0x2039bb4116B4EFc145Ec4f0e2eA75012D6C0f181",
1361-
"DAI": "0x4B9eb6c0b6ea15176BBF62841C6B2A8a398cb656"
1361+
"DAI": "0x4B9eb6c0b6ea15176BBF62841C6B2A8a398cb656",
1362+
"ZK": "0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E"
13621363
},
13631364
"polygon_zkevm": {
13641365
"WETH": "0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9",

0 commit comments

Comments
 (0)