Skip to content

Commit 00550ff

Browse files
FedererKKg1nt0ki
andauthored
Add wonton contract to tvl calculations (DefiLlama#11033)
* Add wonton contract to tvl calculations * merge files --------- Co-authored-by: g1nt0ki <[email protected]>
1 parent 4a6c854 commit 00550ff

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

projects/wonton/index.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const ADDRESSES = require("../helper/coreAssets.json")
2+
const { sumTokensExport } = require("../helper/chain/ton")
3+
const HIGHLOAD_CONTRACT = "UQD8ucMJDu-VfMbemse1GaSefy8DUB18VxpvbnWiHQGlGMED"
4+
const POOL_CONTRACT = "UQDzfsiEm9p5KCPA8xNiXHLX42WShhvXEwVadworVgFvCyV8"
5+
6+
module.exports = {
7+
methodology:
8+
"Counts all TON sitting in pre-bonding and high-load smart contact as the TVL. ",
9+
timetravel: false,
10+
ton: {
11+
tvl: sumTokensExport({
12+
owners: [HIGHLOAD_CONTRACT, POOL_CONTRACT],
13+
tokens: ADDRESSES.ton.TON,
14+
})
15+
},
16+
};

0 commit comments

Comments
 (0)