ebtc-protocol/ebtc

adjustCdp refactor

Closed this issue · 0 comments

remove

function adjustCdpWithColl(
        bytes32 _cdpId,
        uint _stEthBalanceToDecrease,
        uint _debtChange,
        bool _isDebtIncrease,
        bytes32 _upperHint,
        bytes32 _lowerHint,
        uint _stEthBalanceToIncrease
    ) external override nonReentrantSelfAndCdpM {

make adjustCdp look like

function adjustCdp(
        bytes32 _cdpId,
        uint _stEthBalanceChange,
        bool _isCollIncrease,
        uint _debtChange,
        bool _isDebtIncrease,
        bytes32 _upperHint,
        bytes32 _lowerHint
    ) external override nonReentrantSelfAndCdpM {