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

feat: update staking contract addresses #579

Merged

Conversation

Tanya-atatakai
Copy link
Collaborator

Proposed changes

Update meme staking contract and its activity checker addresses

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@@ -33,7 +33,7 @@ export const OPTIMISM_ACTIVITY_CHECKERS: ActivityCheckers = {};

export const BASE_ACTIVITY_CHECKERS: ActivityCheckers = {
[ActivityCheckerType.MemeActivityChecker]: new MulticallContract(
'0xAe2f766506F6BDF740Cc348a90139EF317Fa7Faf',
'0x026AB1c5ea14E61f67d245685D9561c0c2Cb39Ba',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

[StakingProgramId.MemeBaseAlpha]:
'0x06702a05312091013fdb50c8b60b98ca30762931',
[StakingProgramId.MemeBaseAlpha2]:
'0xc653622FD75026a020995a1d8c8651316cBBc4dA',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -12,12 +12,12 @@ import { StakingProgramMap } from '.';

export const BASE_STAKING_PROGRAMS_CONTRACT_ADDRESSES: Record<string, Address> =
{
[StakingProgramId.MemeBaseAlpha]:
'0x06702a05312091013fdb50c8b60b98ca30762931',
[StakingProgramId.MemeBaseAlpha2]:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -91,7 +91,7 @@
"optimus_alpha": "0x88996bbdE7f982D93214881756840cE2c77C4992",
},
Chain.ETHEREUM: {},
Chain.BASE: {"meme_base_alpha": "0x06702A05312091013FdB50C8b60B98ca30762931"},
Chain.BASE: {"meme_base_alpha_2": "0xc653622FD75026a020995a1d8c8651316cBBc4dA"},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@jmoreira-valory not sure if the name is shared between FE and BE only or it should be updated in the service/agent/something else as well?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Tanya-atatakai it is shared between both,

staking_program_id: stakingProgramId,

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Tanya-atatakai The staking contract ID (e.g., meme_base_alpha_2) is passed to the backend only in the service template when creating/updating a service. Based on that value, the backend will fill a number of env variables ("COMPUTED") that deppend on the particular staking contract.

Please see comment above from @truemiller regarding the frontend.

@Tanya-atatakai Tanya-atatakai merged commit dc1846e into feature/agent-memeooorr Dec 13, 2024
3 of 4 checks passed
@Tanya-atatakai Tanya-atatakai deleted the tanya/staking-contracts-update branch December 13, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants