From a96b01396701b480a162e809c326e70c7620617b Mon Sep 17 00:00:00 2001 From: nexeranet Date: Fri, 6 Dec 2024 19:18:34 +0200 Subject: [PATCH 1/3] add jeth --- projects/jeth/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 projects/jeth/index.js diff --git a/projects/jeth/index.js b/projects/jeth/index.js new file mode 100644 index 000000000000..07299752e1c9 --- /dev/null +++ b/projects/jeth/index.js @@ -0,0 +1,12 @@ +const { sumTokensExport } = require('../helper/sumTokens') +const ADDRESSES = require("../helper/coreAssets.json"); + +const JETH_ADDRESS = 'EQCb1SAX1heK9tK8a5CXtYSbdHXkPPAXWKTy3Yz5PH1lglIu' + +module.exports = { + methodology: 'Total amount of ETH locked in smart contract EQCb1SAX1heK9tK8a5CXtYSbdHXkPPAXWKTy3Yz5PH1lglIu.', + start: '2024-12-05', + ton: { + tvl: sumTokensExport({ owner: JETH_ADDRESS, tokens: [ADDRESSES.null]}), + } +} From 625f09a816c3ac011de4ae224b451bf76a77ad72 Mon Sep 17 00:00:00 2001 From: nexeranet Date: Fri, 13 Dec 2024 14:32:18 +0200 Subject: [PATCH 2/3] add eth treasury --- projects/jeth/index.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/projects/jeth/index.js b/projects/jeth/index.js index 07299752e1c9..19232bee79df 100644 --- a/projects/jeth/index.js +++ b/projects/jeth/index.js @@ -1,12 +1,9 @@ -const { sumTokensExport } = require('../helper/sumTokens') -const ADDRESSES = require("../helper/coreAssets.json"); - -const JETH_ADDRESS = 'EQCb1SAX1heK9tK8a5CXtYSbdHXkPPAXWKTy3Yz5PH1lglIu' +const { sumTokensExport, nullAddress } = require('./helper/unwrapLPs'); +const treasury = '0x7e90Ef7D172843dB68e42FC5fAA8CB7C1803Dcfa'; module.exports = { - methodology: 'Total amount of ETH locked in smart contract EQCb1SAX1heK9tK8a5CXtYSbdHXkPPAXWKTy3Yz5PH1lglIu.', - start: '2024-12-05', - ton: { - tvl: sumTokensExport({ owner: JETH_ADDRESS, tokens: [ADDRESSES.null]}), + methodology: 'Total amount of ETH locked in Ethereum network 0x7e90Ef7D172843dB68e42FC5fAA8CB7C1803Dcfa.', + ethereum: { + tvl: sumTokensExport({ tokens: [nullAddress], owners: [treasury], }) } -} +}; From 071e79efc657a85e08c742feae662417472517b1 Mon Sep 17 00:00:00 2001 From: nexeranet Date: Fri, 13 Dec 2024 14:35:41 +0200 Subject: [PATCH 3/3] fix import path --- projects/jeth/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/jeth/index.js b/projects/jeth/index.js index 19232bee79df..72fd31f5df9b 100644 --- a/projects/jeth/index.js +++ b/projects/jeth/index.js @@ -1,4 +1,4 @@ -const { sumTokensExport, nullAddress } = require('./helper/unwrapLPs'); +const { sumTokensExport, nullAddress } = require('../helper/unwrapLPs'); const treasury = '0x7e90Ef7D172843dB68e42FC5fAA8CB7C1803Dcfa'; module.exports = {