Skip to content

Commit

Permalink
Merge pull request #143 from valory-xyz/tanya/operate-update
Browse files Browse the repository at this point in the history
(operate) chore: update contracts data
  • Loading branch information
DavidMinarsch authored Dec 24, 2024
2 parents 3af3589 + 23f993b commit f9db1fd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/operate/components/Contracts/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ const STAKING_CONTRACT_DETAILS: Record<Address, StakingContractDetailsInfo> = {
minOperatingBalanceToken: 'ETH',
},
'0x000000000000000000000000534c0a05b6d4d28d5f3630d6d74857b253cf8332': {
minOperatingBalance: 0.17,
availableOn: 'modiusQuickstart',
minOperatingBalance: 0.01,
minOperatingBalanceToken: 'ETH',
minOperatingBalanceHint: '(Total Various Chains)',
},
'0x000000000000000000000000f39cd0ee4c502df7d26f28cfadd579724a3cfce8': {
minOperatingBalance: 0.03,
Expand Down
5 changes: 5 additions & 0 deletions apps/operate/components/RunAgentButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ const props = {
text: 'Quickstart',
href: 'https://github.com/valory-xyz/optimus-quickstart',
},
modiusQuickstart: {
icon: <Image src={`/images/github.svg`} alt="Github" width={18} height={18} />,
text: 'Quickstart',
href: 'https://github.com/valory-xyz/modius-quickstart?tab=readme-ov-file#olas-modius-quickstart',
},
contribute: {
icon: <NotificationOutlined width={18} height={18} />,
text: 'Contribute',
Expand Down
8 changes: 7 additions & 1 deletion apps/operate/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ export type StakingContract = {
maxSlots: number;
apy: number;
stakeRequired: string;
availableOn: 'pearl' | 'quickstart' | 'optimusQuickstart' | 'contribute' | null;
availableOn:
| 'pearl'
| 'quickstart'
| 'optimusQuickstart'
| 'modiusQuickstart'
| 'contribute'
| null;
minOperatingBalance: number | null;
minOperatingBalanceToken: string | null;
minOperatingBalanceHint?: string;
Expand Down

0 comments on commit f9db1fd

Please sign in to comment.