From 84f0cda4d42bc71afcb26a687817be86b019b3e1 Mon Sep 17 00:00:00 2001 From: mellaught Date: Tue, 17 Dec 2024 18:41:11 +0300 Subject: [PATCH 1/5] updated the logic, added the inwstETHs vault --- projects/inception-lrt/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/inception-lrt/index.js b/projects/inception-lrt/index.js index 3731811b65e8..6f54675793ad 100644 --- a/projects/inception-lrt/index.js +++ b/projects/inception-lrt/index.js @@ -1,11 +1,11 @@ const ADDRESSES = require('../helper/coreAssets.json') async function tvl_eth(api) { - const vaults = ['0x36B429439AB227fAB170A4dFb3321741c8815e55', '0xfE715358368416E01d3A961D3a037b7359735d5e', '0x90E80E25ABDB6205B08DeBa29a87f7eb039023C2', '0x4878F636A9Aa314B776Ac51A25021C44CAF86bEd', '0xA9F8c770661BeE8DF2D026edB1Cb6FF763C780FF', '0x1Aa53BC4Beb82aDf7f5EDEE9e3bBF3434aD59F12', '0x814CC6B8fd2555845541FB843f37418b05977d8d', '0xc4181dC7BB31453C4A48689ce0CBe975e495321c', '0xC0660932C5dCaD4A1409b7975d147203B1e9A2B6', '0x6E17a8b5D33e6DBdB9fC61d758BF554b6AD93322', '0x295234B7E370a5Db2D2447aCA83bc7448f151161', '0xd0ee89d82183D7Ddaef14C6b4fC0AA742F426355'] + const vaults = ['0x36B429439AB227fAB170A4dFb3321741c8815e55', '0xfE715358368416E01d3A961D3a037b7359735d5e', '0x90E80E25ABDB6205B08DeBa29a87f7eb039023C2', '0x4878F636A9Aa314B776Ac51A25021C44CAF86bEd', '0xA9F8c770661BeE8DF2D026edB1Cb6FF763C780FF', '0x1Aa53BC4Beb82aDf7f5EDEE9e3bBF3434aD59F12', '0x814CC6B8fd2555845541FB843f37418b05977d8d', '0xc4181dC7BB31453C4A48689ce0CBe975e495321c', '0xC0660932C5dCaD4A1409b7975d147203B1e9A2B6', '0x6E17a8b5D33e6DBdB9fC61d758BF554b6AD93322', '0x295234B7E370a5Db2D2447aCA83bc7448f151161', '0xd0ee89d82183D7Ddaef14C6b4fC0AA742F426355', '0xf9D9F828989A624423C48b95BC04E9Ae0ef5Ec97'] const total_deposited = await api.multiCall({ abi: 'uint256:getTotalDeposited', calls: vaults, permitFailure: true}) // const total_withdraw = await api.multiCall({ abi: 'uint256:totalAmountToWithdraw', calls: vaults, permitFailure: true}) - const strategies = await api.multiCall({ abi: 'address:strategy', calls: vaults}) - const tokens = await api.multiCall({ abi: 'address:underlyingToken', calls: strategies}) + // const strategies = await api.multiCall({ abi: 'address:strategy', calls: vaults}) + const tokens = await api.multiCall({ abi: 'address:asset', calls: vaults}) // const result = total_deposited.map((deposited, index) => deposited - total_withdraw[index]); api.add(tokens, total_deposited) } From 7acc88490653f08ea3b75c0b35e45e2c6c7350ae Mon Sep 17 00:00:00 2001 From: mellaught Date: Wed, 18 Dec 2024 20:51:11 +0300 Subject: [PATCH 2/5] added an info regarding the company merge --- projects/genesis-lrt/index.js | 3 ++- projects/inception-lrt/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/genesis-lrt/index.js b/projects/genesis-lrt/index.js index 9f7799cc3976..a00735fde75f 100644 --- a/projects/genesis-lrt/index.js +++ b/projects/genesis-lrt/index.js @@ -7,7 +7,8 @@ async function tvl(api) { module.exports = { hallmarks: [ - [1714953600,"Genesis Merges with InceptionLRT"] + [1714953600,"Genesis Merges with InceptionLRT"], + [1734530420,"https://x.com/Amphor_io/status/1869416042323120254"] ], doublecounted: true, ethereum: { tvl: tvl, } diff --git a/projects/inception-lrt/index.js b/projects/inception-lrt/index.js index 6f54675793ad..8caa9ec7b77a 100644 --- a/projects/inception-lrt/index.js +++ b/projects/inception-lrt/index.js @@ -12,7 +12,8 @@ async function tvl_eth(api) { module.exports = { hallmarks: [ - [1714953600,"Genesis Merges with InceptionLRT"] + [1714953600,"Genesis Merges with InceptionLRT"], + [1734530420,"https://x.com/Amphor_io/status/1869416042323120254"] ], doublecounted: true, ethereum: { tvl: tvl_eth, } , From 21e0775ea75c4769153dd3814a80d50e3e632b1c Mon Sep 17 00:00:00 2001 From: mellaught Date: Wed, 18 Dec 2024 21:04:15 +0300 Subject: [PATCH 3/5] text -> link --- projects/genesis-lrt/index.js | 7 +++++-- projects/inception-lrt/index.js | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/projects/genesis-lrt/index.js b/projects/genesis-lrt/index.js index a00735fde75f..b2ddbab7bd5a 100644 --- a/projects/genesis-lrt/index.js +++ b/projects/genesis-lrt/index.js @@ -7,8 +7,11 @@ async function tvl(api) { module.exports = { hallmarks: [ - [1714953600,"Genesis Merges with InceptionLRT"], - [1734530420,"https://x.com/Amphor_io/status/1869416042323120254"] + [1714953600, "Genesis Merges with InceptionLRT"], + [1734530420, { + text: "Amphor Labs Merges with InceptionLRT", + link: "https://x.com/Amphor_io/status/1869419216383918258" + }] ], doublecounted: true, ethereum: { tvl: tvl, } diff --git a/projects/inception-lrt/index.js b/projects/inception-lrt/index.js index 8caa9ec7b77a..e3b1eb00381a 100644 --- a/projects/inception-lrt/index.js +++ b/projects/inception-lrt/index.js @@ -12,8 +12,11 @@ async function tvl_eth(api) { module.exports = { hallmarks: [ - [1714953600,"Genesis Merges with InceptionLRT"], - [1734530420,"https://x.com/Amphor_io/status/1869416042323120254"] + [1714953600, "Genesis Merges with InceptionLRT"], + [1734530420, { + text: "Amphor Labs Merges with InceptionLRT", + link: "https://x.com/Amphor_io/status/1869419216383918258" + }] ], doublecounted: true, ethereum: { tvl: tvl_eth, } , From 8bb58a425241a56168b044f0dbe4101efd607591 Mon Sep 17 00:00:00 2001 From: mellaught Date: Thu, 19 Dec 2024 12:19:27 +0300 Subject: [PATCH 4/5] link -> text rollback --- projects/genesis-lrt/index.js | 5 +---- projects/inception-lrt/index.js | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/projects/genesis-lrt/index.js b/projects/genesis-lrt/index.js index b2ddbab7bd5a..03e3c61ea521 100644 --- a/projects/genesis-lrt/index.js +++ b/projects/genesis-lrt/index.js @@ -8,10 +8,7 @@ async function tvl(api) { module.exports = { hallmarks: [ [1714953600, "Genesis Merges with InceptionLRT"], - [1734530420, { - text: "Amphor Labs Merges with InceptionLRT", - link: "https://x.com/Amphor_io/status/1869419216383918258" - }] + [1734530420, "Amphor Labs Merges with InceptionLRT"] ], doublecounted: true, ethereum: { tvl: tvl, } diff --git a/projects/inception-lrt/index.js b/projects/inception-lrt/index.js index e3b1eb00381a..0fa72a37e415 100644 --- a/projects/inception-lrt/index.js +++ b/projects/inception-lrt/index.js @@ -13,10 +13,7 @@ async function tvl_eth(api) { module.exports = { hallmarks: [ [1714953600, "Genesis Merges with InceptionLRT"], - [1734530420, { - text: "Amphor Labs Merges with InceptionLRT", - link: "https://x.com/Amphor_io/status/1869419216383918258" - }] + [1734530420, "Amphor Labs Merges with InceptionLRT"] ], doublecounted: true, ethereum: { tvl: tvl_eth, } , From 41cb11722dd4c741ee88ae99a0c62f6dfb78a1cb Mon Sep 17 00:00:00 2001 From: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:44:59 +0100 Subject: [PATCH 5/5] remove hallmark --- projects/genesis-lrt/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/genesis-lrt/index.js b/projects/genesis-lrt/index.js index 03e3c61ea521..b7ab940d5b2f 100644 --- a/projects/genesis-lrt/index.js +++ b/projects/genesis-lrt/index.js @@ -7,8 +7,7 @@ async function tvl(api) { module.exports = { hallmarks: [ - [1714953600, "Genesis Merges with InceptionLRT"], - [1734530420, "Amphor Labs Merges with InceptionLRT"] + [1714953600, "Genesis Merges with InceptionLRT"] ], doublecounted: true, ethereum: { tvl: tvl, }