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

[WIP] Skybridge v3 → main #30

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

[WIP] Skybridge v3 → main #30

wants to merge 217 commits into from

Conversation

creamwhip
Copy link
Contributor

@creamwhip creamwhip commented Apr 28, 2023

Skybridge V3 updates.
V3 includes the following updates:

  • Solidity version updated to v0.8.19
  • Removed Skypools logic and contracts/Params.sol
  • Supported initial Liquidity setup when deploying contract [on the constructor params]
    • _initBTCFloat -- initial liquidity of BTC
    • _initWBTCFloat -- initial liquidity of WBTC
  • Changed function interfaces
    • collectSwapFeesForBTC() --- A param _isUpdatelimitBTCForSPFlow2 has been removed
  • Buyback sbBTC applied.
    • 25% of sbBTC rewards will be sent to _buybackAddress, which should be a DAO contract or the organization address.
  • Added new function updateParams() to change some configs on the contract
    • _sbBTCPool needs to be updated when the sbBTC contract has been updated.
    • _buybackAddress needs to be updated when the buyback address has been changed.
    • _withdrawalFeeBPS needs to be updated when the LP token withdrawal fee has been changed.
    • _nodeRewardsRatio needs to be updated when the node rewards ratio [default: 66]
    • _buybackRewardsRatio needs to be updated when the buyback rewards ratio [default: 25]

jbarber13 and others added 30 commits August 11, 2021 17:12
feat: modified registration logic for node
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.

None yet

3 participants