Convexity-Protocol-Archived
Convexity-Protocol-Archived copied to clipboard
Options Factory takes in OptionsExchange as an input instead of OptionsExchangeAddress
the EVM compiler is smart enough to not store contract in bytecode if it is only referenced externally and not deployed from the contract in question. It's preferable to store these things as typed (the way it is currently on master) instead of casting every time you need to call:
https://github.com/opynfinance/Convexity-Protocol/blob/acdaaa36b42e2b68a77a549bc1f1be5eccc94ef7/contracts/OptionsFactory.sol#L18
I recommend closing this issue