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

Staking and CCIP transition to USDC #488

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

kirilaa
Copy link
Collaborator

@kirilaa kirilaa commented Oct 2, 2024

Transition from sUSD/USDbC -> USDC
Steps:

  1. Upgrade Staking contract (add setFeeToken(address newFeeToken) function)
  2. Pause StakingThales
  3. Set new feeToken (USDC) using setFeeToken(USDC_address) on StakingThales
  4. Set new feeToken (USDC) using setSUSD(USDC_address)on SafeBoxBuffer
  5. Withdraw old feeToken (sUSD/USDCb) from StakingThales
  6. (Swap &) Send equal amount of new collateral to StakingThales
  7. Send funds of new collateral to SafeBoxBuffer
  8. Batch transactions:
    • unpause StakingThales
    • closePeriod() on StakingThales

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.90%. Comparing base (7f33f88) to head (17f5c8b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #488      +/-   ##
==========================================
+ Coverage   83.68%   83.90%   +0.22%     
==========================================
  Files         117      117              
  Lines        3683     3685       +2     
  Branches     1924     1925       +1     
==========================================
+ Hits         3082     3092      +10     
+ Misses        601      593       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant