From eff049375bf30577fd1170c4cc1b5d08e66b2fea Mon Sep 17 00:00:00 2001 From: Junpeng Wang Date: Sun, 4 Aug 2024 00:05:15 -0700 Subject: [PATCH 1/7] add PredX project tvl on zklink --- projects/predx/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 projects/predx/index.js diff --git a/projects/predx/index.js b/projects/predx/index.js new file mode 100644 index 000000000000..d79936d8e0d6 --- /dev/null +++ b/projects/predx/index.js @@ -0,0 +1,10 @@ +const { sumTokensExport } = require('../helper/sumTokens'); + +module.exports = { + zklink: { + tvl: sumTokensExport({ + owners: ["0x986Ca3A4F05AA7EA5733d81Da6649043f43cB9A8"], + tokens: ["0x2F8A25ac62179B31D62D7F80884AE57464699059"] + }), + }, +}; From cba044dc8ee23cd6c3724f1c03844c5b421e82ed Mon Sep 17 00:00:00 2001 From: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:45:16 +0200 Subject: [PATCH 2/7] test fix --- projects/predx/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/projects/predx/index.js b/projects/predx/index.js index d79936d8e0d6..4d5bedf5bf18 100644 --- a/projects/predx/index.js +++ b/projects/predx/index.js @@ -1,10 +1,10 @@ -const { sumTokensExport } = require('../helper/sumTokens'); +const { sumTokensExport } = require('../helper/sumTokens') module.exports = { - zklink: { - tvl: sumTokensExport({ - owners: ["0x986Ca3A4F05AA7EA5733d81Da6649043f43cB9A8"], - tokens: ["0x2F8A25ac62179B31D62D7F80884AE57464699059"] - }), - }, -}; + zklink: { + tvl: sumTokensExport({ + owners: ["0x986Ca3A4F05AA7EA5733d81Da6649043f43cB9A8"], + tokens: ["0x2F8A25ac62179B31D62D7F80884AE57464699059"] + }), + }, +} \ No newline at end of file From b90b78813cdd829dd524718b6a4696a3994c2bf3 Mon Sep 17 00:00:00 2001 From: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:47:40 +0200 Subject: [PATCH 3/7] minor fix --- projects/predx/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/predx/index.js b/projects/predx/index.js index 4d5bedf5bf18..4c6a0bd0d173 100644 --- a/projects/predx/index.js +++ b/projects/predx/index.js @@ -1,4 +1,4 @@ -const { sumTokensExport } = require('../helper/sumTokens') +const { sumTokensExport } = require('../helper/unwrapLPs') module.exports = { zklink: { From 9c9dd62d359c0d53be6d814c20954599515ccbec Mon Sep 17 00:00:00 2001 From: Junpeng Wang Date: Mon, 5 Aug 2024 08:47:52 -0700 Subject: [PATCH 4/7] add more chains of PredX --- projects/predx/index.js | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/projects/predx/index.js b/projects/predx/index.js index d79936d8e0d6..7801265defc7 100644 --- a/projects/predx/index.js +++ b/projects/predx/index.js @@ -7,4 +7,46 @@ module.exports = { tokens: ["0x2F8A25ac62179B31D62D7F80884AE57464699059"] }), }, + base: { + tvl: sumTokensExport({ + owners: ["0xa6368fd44e699f6bca2ab3a02C44beFCA7257cF4"], + tokens: ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"] + }), + }, + // sei: { + // tvl: sumTokensExport({ + // owners: ["0xACbd78769333697ebB2c859a8344d1507b45F044"], + // tokens: ["0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1"] + // }), + // }, + linea: { + tvl: sumTokensExport({ + owners: ["0xF9AD26Bb325f4C82F26bF2549b65e6f9a4a04a78"], + tokens: ["0x176211869cA2b568f2A7D4EE941E073a821EE1ff"] + }), + }, + bsc: { + tvl: sumTokensExport({ + owners: ["0x38Db024F8EA400A57c15C25D1DC46aE868C08a2F"], + tokens: ["0x55d398326f99059fF775485246999027B3197955"] + }), + }, + mantle: { + tvl: sumTokensExport({ + owners: ["0x38Db024F8EA400A57c15C25D1DC46aE868C08a2F"], + tokens: ["0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"] + }), + }, + btr: { + tvl: sumTokensExport({ + owners: ["0x92CdC3a149A6bc3f39136eF4A94292cDC2Cc4b9b"], + tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] + }), + }, + btr: { + tvl: sumTokensExport({ + owners: ["0x92CdC3a149A6bc3f39136eF4A94292cDC2Cc4b9b"], + tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] + }), + }, }; From d204544a53d946eb064eb272d23191ab52e1c1f1 Mon Sep 17 00:00:00 2001 From: Junpeng Wang Date: Mon, 5 Aug 2024 10:29:36 -0700 Subject: [PATCH 5/7] minor style change --- projects/predx/index.js | 96 ++++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/projects/predx/index.js b/projects/predx/index.js index 08efd41249df..8fa688f5dcb1 100644 --- a/projects/predx/index.js +++ b/projects/predx/index.js @@ -1,52 +1,52 @@ const { sumTokensExport } = require('../helper/unwrapLPs') module.exports = { - zklink: { - tvl: sumTokensExport({ - owners: ["0x986Ca3A4F05AA7EA5733d81Da6649043f43cB9A8"], - tokens: ["0x2F8A25ac62179B31D62D7F80884AE57464699059"] - }), - }, - base: { - tvl: sumTokensExport({ - owners: ["0xa6368fd44e699f6bca2ab3a02C44beFCA7257cF4"], - tokens: ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"] - }), - }, - // sei: { - // tvl: sumTokensExport({ - // owners: ["0xACbd78769333697ebB2c859a8344d1507b45F044"], - // tokens: ["0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1"] - // }), - // }, - linea: { - tvl: sumTokensExport({ - owners: ["0xF9AD26Bb325f4C82F26bF2549b65e6f9a4a04a78"], - tokens: ["0x176211869cA2b568f2A7D4EE941E073a821EE1ff"] - }), - }, - bsc: { - tvl: sumTokensExport({ - owners: ["0x38Db024F8EA400A57c15C25D1DC46aE868C08a2F"], - tokens: ["0x55d398326f99059fF775485246999027B3197955"] - }), - }, - mantle: { - tvl: sumTokensExport({ - owners: ["0x38Db024F8EA400A57c15C25D1DC46aE868C08a2F"], - tokens: ["0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"] - }), - }, - btr: { - tvl: sumTokensExport({ - owners: ["0x92CdC3a149A6bc3f39136eF4A94292cDC2Cc4b9b"], - tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] - }), - }, - btr: { - tvl: sumTokensExport({ - owners: ["0x92CdC3a149A6bc3f39136eF4A94292cDC2Cc4b9b"], - tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] - }), - }, + zklink: { + tvl: sumTokensExport({ + owners: ["0x986Ca3A4F05AA7EA5733d81Da6649043f43cB9A8"], + tokens: ["0x2F8A25ac62179B31D62D7F80884AE57464699059"] + }), + }, + base: { + tvl: sumTokensExport({ + owners: ["0xa6368fd44e699f6bca2ab3a02C44beFCA7257cF4"], + tokens: ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"] + }), + }, + // sei: { + // tvl: sumTokensExport({ + // owners: ["0xACbd78769333697ebB2c859a8344d1507b45F044"], + // tokens: ["0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1"] + // }), + // }, + linea: { + tvl: sumTokensExport({ + owners: ["0xF9AD26Bb325f4C82F26bF2549b65e6f9a4a04a78"], + tokens: ["0x176211869cA2b568f2A7D4EE941E073a821EE1ff"] + }), + }, + bsc: { + tvl: sumTokensExport({ + owners: ["0x38Db024F8EA400A57c15C25D1DC46aE868C08a2F"], + tokens: ["0x55d398326f99059fF775485246999027B3197955"] + }), + }, + mantle: { + tvl: sumTokensExport({ + owners: ["0x38Db024F8EA400A57c15C25D1DC46aE868C08a2F"], + tokens: ["0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"] + }), + }, + btr: { + tvl: sumTokensExport({ + owners: ["0x92CdC3a149A6bc3f39136eF4A94292cDC2Cc4b9b"], + tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] + }), + }, + btr: { + tvl: sumTokensExport({ + owners: ["0x92CdC3a149A6bc3f39136eF4A94292cDC2Cc4b9b"], + tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] + }), + } }; From 5b3146490bf779c729c2567ae8d9599175ae3478 Mon Sep 17 00:00:00 2001 From: Junpeng Wang Date: Mon, 5 Aug 2024 10:33:58 -0700 Subject: [PATCH 6/7] remove duplicated btr --- projects/predx/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/predx/index.js b/projects/predx/index.js index 8fa688f5dcb1..c7f06c578178 100644 --- a/projects/predx/index.js +++ b/projects/predx/index.js @@ -43,10 +43,4 @@ module.exports = { tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] }), }, - btr: { - tvl: sumTokensExport({ - owners: ["0x92CdC3a149A6bc3f39136eF4A94292cDC2Cc4b9b"], - tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] - }), - } }; From 61417612d7719cf95ed7a5827fac7e4db9551b83 Mon Sep 17 00:00:00 2001 From: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:03:50 +0200 Subject: [PATCH 7/7] Update index.js --- projects/predx/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/projects/predx/index.js b/projects/predx/index.js index c7f06c578178..c3b0100d2eee 100644 --- a/projects/predx/index.js +++ b/projects/predx/index.js @@ -13,12 +13,12 @@ module.exports = { tokens: ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"] }), }, - // sei: { - // tvl: sumTokensExport({ - // owners: ["0xACbd78769333697ebB2c859a8344d1507b45F044"], - // tokens: ["0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1"] - // }), - // }, + sei: { + tvl: sumTokensExport({ + owners: ["0xACbd78769333697ebB2c859a8344d1507b45F044"], + tokens: ["0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1"] + }), + }, linea: { tvl: sumTokensExport({ owners: ["0xF9AD26Bb325f4C82F26bF2549b65e6f9a4a04a78"], @@ -43,4 +43,4 @@ module.exports = { tokens: ["0x9827431e8b77e87c9894bd50b055d6be56be0030"] }), }, -}; +}