From 8a84cb3ea79f7e38efb99f01928e422afc78fbdb Mon Sep 17 00:00:00 2001 From: Mohan Date: Tue, 5 Nov 2024 23:29:19 +0530 Subject: [PATCH] (operate) feat: update the staking contract details with their availability (#131) * fix: update availableOn field for staking contracts to 'pearl' * fix: update availableOn field for additional staking contracts to 'pearl' and 'quickstart' * fix: update minOperatingBalance for staking contracts on 'pearl' and 'quickstart' * fix: set availableOn field to null for specific staking contract --- apps/operate/components/Contracts/hooks.ts | 27 +++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/apps/operate/components/Contracts/hooks.ts b/apps/operate/components/Contracts/hooks.ts index cbd36ca5..210b4837 100644 --- a/apps/operate/components/Contracts/hooks.ts +++ b/apps/operate/components/Contracts/hooks.ts @@ -62,7 +62,7 @@ const STAKING_CONTRACT_DETAILS: Record = { minOperatingBalanceHint: '(Total Various Chains)', }, '0x000000000000000000000000daf34ec46298b53a3d24cbcb431e84ebd23927da': { - availableOn: null, + availableOn: 'pearl', minOperatingBalance: 11.5, minOperatingBalanceToken: 'xDAI', }, @@ -81,6 +81,31 @@ const STAKING_CONTRACT_DETAILS: Record = { minOperatingBalance: 135, minOperatingBalanceToken: 'xDAI', }, + '0x000000000000000000000000bd59ff0522aa773cb6074ce83cd1e4a05a457bc1': { + availableOn: 'pearl', + minOperatingBalance: 11.5, + minOperatingBalanceToken: 'xDAI', + }, + '0x0000000000000000000000003052451e1eaee78e62e169afdf6288f8791f2918': { + availableOn: 'pearl', + minOperatingBalance: 11.5, + minOperatingBalanceToken: 'xDAI', + }, + '0x0000000000000000000000004abe376fda28c2f43b84884e5f822ea775dea9f4': { + availableOn: 'pearl', + minOperatingBalance: 11.5, + minOperatingBalanceToken: 'xDAI', + }, + '0x0000000000000000000000002546214aee7eea4bee7689c81231017ca231dc93': { + availableOn: 'quickstart', + minOperatingBalance: 90, + minOperatingBalanceToken: 'xDAI', + }, + '0x000000000000000000000000d7a3c8b975f71030135f1a66e9e23164d54ff455': { + availableOn: 'quickstart', + minOperatingBalance: 135, + minOperatingBalanceToken: 'xDAI', + }, }; const getApy = (