-
Notifications
You must be signed in to change notification settings - Fork 49
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
spablob/bsc-deployment #300
base: master
Are you sure you want to change the base?
Conversation
// Can't verify pricer because it's compiled with 0.7.3 | ||
|
||
const strikeSelection = await deploy("StrikeSelectionBNBWithSwap", { | ||
contract: "DeltaStrikeSelection", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets use manual strike selection like we do in wbtc with swap deployment script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in e2ac4dd
hardhat.config.ts
Outdated
default: 0, | ||
1: "0x77DA011d5314D80BE59e939c2f7EC2F702E1DCC4", | ||
42: "0x92Dd37fbc36cB7260F0d2BD09F9672525a028fB8", | ||
56: "0xF8368119Bb1073Cf01B841848725d81b542A4c19", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change this to 0x77?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in e11a3cd
hardhat.config.ts
Outdated
default: 0, | ||
1: "0x691c87dc570563D1D0AD7Fd0bb099ED367858863", | ||
42: "0x691c87dc570563D1D0AD7Fd0bb099ED367858863", | ||
56: "0xF8368119Bb1073Cf01B841848725d81b542A4c19", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change this to 0x69?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in e11a3cd
hardhat.config.ts
Outdated
default: 0, | ||
1: "0x43a43D3404eaC5fA1ec4F4BB0879495D500e390b", | ||
42: "0x422f7Bb366608723c8fe61Ac6D923023dCCBC3d7", | ||
56: "0xF8368119Bb1073Cf01B841848725d81b542A4c19", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change this to 0x43?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in e11a3cd
hardhat.config.ts
Outdated
default: 0, | ||
1: "0xDAEada3d210D2f45874724BeEa03C7d4BBD41674", // Ribbon DAO | ||
42: "0x92Dd37fbc36cB7260F0d2BD09F9672525a028fB8", | ||
56: "0xF8368119Bb1073Cf01B841848725d81b542A4c19", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change this to 0xDAE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in e11a3cd
Steps made before the PR below:
Deploy Opyn contracts on BSC Mainnet | Branch -
1b3c62d030d8fa0f711b4ff2009498e9d8cb4503
on https://github.com/opynfinance/GammaProtocol/tree/1b3c62d030d8fa0f711b4ff2009498e9d8cb4503Post-deployment Opyn-related manual interactions
Oracle
contractsetAssetPricer
with:setStablePrice
with:Whitelist
contractwhitelistCollateral
with:whitelistProduct
with:https://bscscan.com/address/0xf8368119bb1073cf01b841848725d81b542a4c19
AddressBook: 0x9DB2496f58d3777FcD95955b73B39525E400E8fB
OtokenFactory: 0x944740e4432e48429520cED81a750d9CA666F8eF
Otoken: 0x3929b62e1846B60B1AFB44729BED2f89C62f6966
Whitelist: 0xe4F23fa9067068063a5190fdc41e47AaA4ab6A5E
Oracle: 0x107412A5fa2DFd630ca8b5546F5649e7363f40Cd
MarginPool: 0x3Be589d20881315AF1a1dA02F432d5214B763d6f
MarginCalculator: 0xE551c62Ef87e8c1b3066Ce81261B811843104827
MarginVault: 0x410e1eB837a6fa04B2C484FE902b34F4cFb94170
Controller: 0xE2a65c4CCD295524080ea9fd2F00Aed038c55e8F