module
Version:
v0.0.0-...-48b50cf
Opens a new window with list of versions in this module.
Published: May 30, 2023
License: AGPL-3.0
Opens a new window with license information.
README
¶
Skybridge-contract-v3
Environment
- hardhat (v2.14.0)
- solidity (v0.8.19)
Deployment Order
- Deploy sbBTCPool nodeRewards contracts
- Deploy LP token and swap contract (initial liquidiy setup if need)
- Initialize sbBTCPool and nodeRewards
- Mint LPT to users (if need)
- Set old LPT token for convert -- they can convert to new token with burning old token.
- Transferring owner of new LPT to swap contract
Build contract
$ npx hardhat compile
Test
$ npx hardhat test ./test/testSwapContract.js
Mainnet contracts
TBA
Testnet contracts (goerli)
SwapContract
https://goerli.etherscan.io/address/0x9e6ba6e811665849f03f56c1f22a8894aebb3993
LPToken
https://goerli.etherscan.io/address/0xb10c6c5a6baf604206867cb229baddab02eea602
SwapRewards
https://goerli.etherscan.io/address/0xf4c381d077272295641f8a53d850d9a8125e0e94
BTCT
https://goerli.etherscan.io/address/0xeb47a21c1fc00d1e863019906df1771b80dbe182
sbBTCPool
https://goerli.etherscan.io/address/0xd60126017fdf906668cfe5327c566c65e7f061ba
Barn
https://goerli.etherscan.io/address/0x009cc14ce70b2e667984c2276490d56ae3234c43
Directories
¶
Click to show internal directories.
Click to hide internal directories.