Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(operate) chore: update contracts data #143

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed on this change with Divya (who works on Modius QS)

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
Loading