From fc5e5ddfed312f5266c3a5bfb3fedc6e0bc6d11e Mon Sep 17 00:00:00 2001 From: samclassix <96245183+samclassix@users.noreply.github.com> Date: Fri, 17 Jan 2025 02:05:20 +0100 Subject: [PATCH] feat: added savings module for frankencoin (#13124) --- projects/frankencoin/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/frankencoin/index.js b/projects/frankencoin/index.js index 09560c0f09..1a62519044 100644 --- a/projects/frankencoin/index.js +++ b/projects/frankencoin/index.js @@ -1,8 +1,12 @@ const { sumTokens2 } = require('../helper/unwrapLPs'); +const { staking } = require("../helper/staking.js"); const { cachedGraphQuery } = require('../helper/cache') // @dev: mapping of XCHF to its Bridge const XCHFBridge = ["0xb4272071ecadd69d933adcd19ca99fe80664fc08", "0x7bbe8F18040aF0032f4C2435E7a76db6F1E346DF"]; +const Frankencoin = "0xB58E61C3098d85632Df34EecfB899A1Ed80921cB"; +const SavingsModule = "0x3BF301B0e2003E75A3e86AB82bD1EFF6A9dFB2aE"; + async function tvl(api) { const tokensAndOwners = [XCHFBridge]; @@ -21,6 +25,7 @@ async function tvl(api) { module.exports = { ethereum: { tvl, + staking: staking(SavingsModule, Frankencoin) }, start: '2023-10-28', };