Skip to content

Commit b8d34b2

Browse files
junliesJune
andauthored
feat: add unitas adapter (DefiLlama#15140)
Co-authored-by: June <[email protected]>
1 parent 81b1f2c commit b8d34b2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

projects/unitas/index.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const { getTokenSupplies } = require('../helper/solana');
2+
3+
const TOKEN_MINT = '9ckR7pPPvyPadACDTzLwK2ZAEeUJ3qGSnzPs8bVaHrSy';
4+
5+
async function tvl() {
6+
const supply = await getTokenSupplies([TOKEN_MINT]);
7+
return {
8+
'usd-coin': supply[TOKEN_MINT] / 1e6
9+
}
10+
}
11+
12+
module.exports = {
13+
hallmarks: [
14+
[1747670400, "solana unitas launch"]
15+
],
16+
timetravel: false,
17+
methodology: "Currently, tvl is composed of minted USDu",
18+
solana: {
19+
tvl
20+
}
21+
}

0 commit comments

Comments
 (0)