Skip to content

Commit

Permalink
feat: Add tvl address
Browse files Browse the repository at this point in the history
  • Loading branch information
mp0wer committed Jul 26, 2024
1 parent 2a0420e commit 8042162
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion projects/daolama/constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
BASE_API_URL: 'https://api.daolama.co',
POOL_ADDRESS: 'EQAwsDboFl_iGuaflNn5959HOamenkvQEQDwakO55CY2SGB8'
POOL_WALLET_ADDRESS: 'EQAwsDboFl_iGuaflNn5959HOamenkvQEQDwakO55CY2SGB8',
POOL_ADDRESS: 'EQCkeTvOSTBwBtP06X2BX7THj_dlX67PhgYRGuKfjWtB9FVb'
}
7 changes: 5 additions & 2 deletions projects/daolama/tvl.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
const ADDRESSES = require("../helper/coreAssets.json");
const { POOL_ADDRESS } = require("./constants");
const { POOL_ADDRESS, POOL_WALLET_ADDRESS } = require("./constants");
const { sumTokensExport } = require("../helper/chain/ton");

module.exports = {
tvl: sumTokensExport({ owner: POOL_ADDRESS, tokens: [ADDRESSES.ton.TON, ADDRESSES.ton.USDT]}),
tvl: sumTokensExport({
owners: [POOL_ADDRESS, POOL_WALLET_ADDRESS],
tokens: [ADDRESSES.ton.TON, ADDRESSES.ton.USDT]
}),
}

0 comments on commit 8042162

Please sign in to comment.