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: get address from hca + remove v2 gauge logic #10

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

schystz
Copy link
Contributor

@schystz schystz commented Jan 8, 2024

Description of Changes

  • use halodao-contract-addresses to fetch the latest address of XGSD/USDC pool
  • remove gauge v2 logic (there is only 1 gauge on the new pool)

How To Test

Run this on the terminal:
yarn hardhat snapshot-xsgd-rewards --startdate 2023-12 --network polygon

Developer Checklist:

  • I have followed the guidelines in our Contributing document
  • This PR has a corresponding JIRA ticket
  • My branch conforms with our naming convention i.e. feature/HDF-XXX-description
  • I have written new tests for your core changes, as applicable
  • I have successfully ran tests locally
  • I have formatted my code using format document in VSCode

Reviewers Checklist:

  • Code is readable and understandable; any unclear parts have explanations
  • UI/UX changes match the corresponding figma/other design resources, if applicable
  • I have successfully ran tests locally

Copy link
Contributor

@0xAplki 0xAplki left a comment

Choose a reason for hiding this comment

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

Just checking, how do we run the script?

@schystz schystz merged commit d8f5e9e into master Jan 8, 2024
2 checks passed
@schystz schystz deleted the new-xsgd-usdc-pool branch January 8, 2024 03:00
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.

3 participants