Crypto-Pioneers / Evox-MarginTrading-SmartContracts

0 stars 0 forks source link

Fixing Round Issue #12

Closed mymiracle0118 closed 6 months ago

mymiracle0118 commented 6 months ago

It is so difficult to fix round issue. Maybe we should modify the several logic or algorithm. https://medium.com/coinmonks/math-in-solidity-part-4-compound-interest-512d9e13041b Researching this algorithm

mymiracle0118 commented 6 months ago

Maybe rebuild all structure and algorithm but Constantino and Wakaki donesn't agree with that. They suggest the solution that dao will define that interest.

mymiracle0118 commented 6 months ago

I added alterTotalBorrow to avoid round issue