Skip to content

WIP: v2 contracts

Gregory Hill requested to merge v2 into dev

Initial implementation of the V2 XOPTS contracts.

TODO

  • Check treasury balance for option pair before obligation transfer
  • Write option safety checks
  • Protocol fees
  • More tests

Open Problems

  • Collateral check (obligation transfer) - per pair?
  • Early exits from option pool?
Edited by Gregory Hill

Merge request reports