Closed grandizzy closed 1 year ago
Sorry, maybe I'm missing something. What bug is this solving for?
Sorry, maybe I'm missing something. What bug is this solving for?
That's for solving A1 invariant violation in an uniform way
won't make the change, keeping the branch around though
Description of change
High level
DebtChangeResult
struct to return result ofBorrowerActions.drawDebt
andBorrowerActions.repayDebt
(that is insteadRepayDebtResult
andDrawDebtResult
structs). ReturnquoteTokenToRepay_
var on repayDebt` in addition to structPool._updatePostDebtChangeState
function. Used inERC20Pool
andERC721Pool
functions fordrawDebt
andrepayDebt
Contract size
Pre Change
Post Change
Gas usage
Pre Change
Post Change