Trading Rewards

For off-chain trading, it is recommended to use the lyra-js SDK, which routes trades through OptionMarketWrapper.sol under-the-hood and automatically accrues rewards.
For on-chain trading, it is recommended to inherit the LyraAdapter.sol and request whitelisting via the Lyra Discord. The whitelisting process will be prompt as long as:
  • The parent contract is not upgradeable
  • The _open/close/closeOrForceClosePosition() functions are not modified