From 3d72d85f8cf4f668d650a1a3af77eadbe40e8c28 Mon Sep 17 00:00:00 2001 From: SinLabs <134353673+SinLabs@users.noreply.github.com> Date: Sat, 10 Aug 2024 15:10:02 +0800 Subject: [PATCH] Add balus adapter (#11239) Co-authored-by: J --- projects/balus/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 projects/balus/index.js diff --git a/projects/balus/index.js b/projects/balus/index.js new file mode 100644 index 000000000000..c06b764c3953 --- /dev/null +++ b/projects/balus/index.js @@ -0,0 +1,14 @@ +const ADDRESSES = require("../helper/coreAssets.json") +const { sumTokensExport } = require("../helper/chain/ton") +const CONTRACT = "EQDswKn606G8kwS8RuUJg9baJbgAhixb6bYJC6VmIPU873uq" + +module.exports = { + methodology: "Counts all TON balance in the smart contract as the TVL", + timetravel: false, + ton: { + tvl: sumTokensExport({ + owners: [CONTRACT], + tokens: ADDRESSES.ton.TON, + }) + }, +};