Skip to content

Commit 9b09048

Browse files
authored
Add ZKP2P TVL Adapter (DefiLlama#15351)
1 parent c8826cc commit 9b09048

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

projects/zkp2p/index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
const { sumTokens2 } = require('../helper/unwrapLPs')
2+
3+
const CONTRACT = '0xca38607d85e8f6294dc10728669605e6664c2d70'
4+
const USDC = '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
5+
const chain = 'base'
6+
7+
async function tvl(_, _b, _cb, { api }) {
8+
return sumTokens2({
9+
api,
10+
tokens: [USDC],
11+
owners: [CONTRACT],
12+
chain,
13+
})
14+
}
15+
16+
module.exports = {
17+
timetravel: false,
18+
start: 1705770337, // Jan-20-2025 06:05:37 PM +UTC
19+
base: { tvl },
20+
}

0 commit comments

Comments
 (0)