From d45b8675e91d3c9deede89686cd607d8ae57828a Mon Sep 17 00:00:00 2001 From: vspaxo Date: Mon, 8 Apr 2024 18:57:01 +0530 Subject: [PATCH 1/2] Update staking --- projects/paxo-finance/index.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/projects/paxo-finance/index.js b/projects/paxo-finance/index.js index adb4f975b4e4..d116713ad2ab 100644 --- a/projects/paxo-finance/index.js +++ b/projects/paxo-finance/index.js @@ -1,9 +1,18 @@ const { compoundExports } = require('../helper/compound') const { lendingMarket } = require('../helper/methodologies') +const { stakings } = require("../helper/staking"); module.exports = { polygon: compoundExports('0x1eDf64B621F17dc45c82a65E1312E8df988A94D3', 'polygon'), xdc: compoundExports('0x301C76e7b60e9824E32991B8F29e1c4a03B4F65b', 'xdc'), linea: compoundExports('0x301C76e7b60e9824E32991B8F29e1c4a03B4F65b', 'linea'), methodology: `${lendingMarket}. TVL is calculated by getting the market addresses from comptroller and calling the getCash() on-chain method to get the amount of tokens locked in each of these addresses.`, -} \ No newline at end of file +} + +module.exports.polygon.staking = stakings( + [ + "0xC1704c99278c3e5A91AfB117301eA61B003Aa650" + ], + "0xfFA188493C15DfAf2C206c97D8633377847b6a52", + "polygon" +) \ No newline at end of file From 8c4b3bd385224201467e2c02ed1b611a8f9e7e01 Mon Sep 17 00:00:00 2001 From: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> Date: Mon, 8 Apr 2024 15:52:53 +0200 Subject: [PATCH 2/2] Update index.js --- projects/paxo-finance/index.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/projects/paxo-finance/index.js b/projects/paxo-finance/index.js index d116713ad2ab..907136555721 100644 --- a/projects/paxo-finance/index.js +++ b/projects/paxo-finance/index.js @@ -1,6 +1,6 @@ const { compoundExports } = require('../helper/compound') const { lendingMarket } = require('../helper/methodologies') -const { stakings } = require("../helper/staking"); +const { staking } = require("../helper/staking"); module.exports = { polygon: compoundExports('0x1eDf64B621F17dc45c82a65E1312E8df988A94D3', 'polygon'), @@ -9,10 +9,4 @@ module.exports = { methodology: `${lendingMarket}. TVL is calculated by getting the market addresses from comptroller and calling the getCash() on-chain method to get the amount of tokens locked in each of these addresses.`, } -module.exports.polygon.staking = stakings( - [ - "0xC1704c99278c3e5A91AfB117301eA61B003Aa650" - ], - "0xfFA188493C15DfAf2C206c97D8633377847b6a52", - "polygon" -) \ No newline at end of file +module.exports.polygon.staking = staking( "0xC1704c99278c3e5A91AfB117301eA61B003Aa650" "0xfFA188493C15DfAf2C206c97D8633377847b6a52",)