Skip to content

Commit

Permalink
(operate) feat: update the staking contract details with their availa…
Browse files Browse the repository at this point in the history
…bility (#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
  • Loading branch information
mohandast52 authored Nov 5, 2024
1 parent f218f17 commit 8a84cb3
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion apps/operate/components/Contracts/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const STAKING_CONTRACT_DETAILS: Record<Address, StakingContractDetailsInfo> = {
minOperatingBalanceHint: '(Total Various Chains)',
},
'0x000000000000000000000000daf34ec46298b53a3d24cbcb431e84ebd23927da': {
availableOn: null,
availableOn: 'pearl',
minOperatingBalance: 11.5,
minOperatingBalanceToken: 'xDAI',
},
Expand All @@ -81,6 +81,31 @@ const STAKING_CONTRACT_DETAILS: Record<Address, StakingContractDetailsInfo> = {
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 = (
Expand Down

0 comments on commit 8a84cb3

Please sign in to comment.