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

bsc testnet deployment #310

Draft
wants to merge 16 commits into
base: spablob/bsc-deployment
Choose a base branch
from

Conversation

Spablob
Copy link
Contributor

@Spablob Spablob commented Mar 8, 2023

Steps made before the PR below:

  1. Deploy Opyn contracts on BSC Testnet | Branch - 1b3c62d030d8fa0f711b4ff2009498e9d8cb4503 on https://github.com/opynfinance/GammaProtocol/tree/1b3c62d030d8fa0f711b4ff2009498e9d8cb4503

  2. Post-deployment Opyn-related manual interactions

    • Oracle contract
      • call setAssetPricer with:
        • ChainlinkPricer address (0x08Dff0F844f2c2552A901713bDBed4897ca8AD0c)
        • asset address WBNB (0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd)
      • call setStablePrice with:
        • USDT address (0x337610d27c682E347C9cD60BD4b3b107C9d34dDd)
        • uint: 1000000000000000000
    • Whitelist contract
      • call whitelistCollateral with:
        • asset address WBNB (0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd)
      • call whitelistProduct with:
        • underlying - asset address WBNB (0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd)
        • strike - USDT address (0x337610d27c682E347C9cD60BD4b3b107C9d34dDd)
        • collateral - asset address WBNB (0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd)
        • isPut - false

Opyn contract addresses:

  • AddressBook: 0x311cfE65fd2fd20D06f21Fdd04E692c96540962C
  • OtokenFactory: 0x86160c48A0fAdC9b5dc0EDF32a6CF8c2332b1782
  • Otoken: 0x434e68bF47698fcD0Cd26BA76163ac964f080831
  • Whitelist: 0xc571D18aDDd66E7503E364f13BD7570E25535985
  • Oracle: 0xe764036e7e6BB4Ad031fa2468A3Ab60b43d55f30
  • MarginPool: 0xc33C3DB6600aeaC6831f2Dd5494F87403cEb6A0c
  • MarginCalculator: 0xAC80Af99A7d1190d5FDe018afB8c28a38C52e84F
  • MarginVault: 0x4F3ef17ab460B3009E24941Cb78E3314f0F78117
  • Controller: 0x89a3c05e60f1d71a09fb16e363361a9291100219

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.

2 participants