The contract implements on-chain token exchange with up leverage short and long positions. The team fixed all the issues we found, except to one owner capability issue which gives the owner the ability to set the gas threashold. The owner can set the gas price that is used to calculate the autoClose and autoOpen bonuses, which are deducted from users' commitments. If the gas price is too high, users can have a large part of their commitments drained unnecessarily.

Last updated