You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Avoid "undercollateralized" revertion due to rounding error here: https://github.com/IndexCoop/index-protocol/blob/1a587d93d273d9004d03f1235c395f6f7cd147dc/contracts/protocol/lib/IssuanceValidationUtils.sol#L63
* @dev Same as in FlashMintLeveraged but with added transfer of 1 wei of atoken to the set token to avoid "undercollateralized" revertion
736
+
*/
737
+
function _performRedemption(
738
+
address_debtToken,
739
+
uint256_debtTokenAmountNet,
740
+
uint256_premium,
741
+
DecodedParams memory_decodedParams
742
+
)
743
+
internal
744
+
override
745
+
{
746
+
// Avoid "undercollateralized" revertion due to rounding error here: https://github.com/IndexCoop/index-protocol/blob/1a587d93d273d9004d03f1235c395f6f7cd147dc/contracts/protocol/lib/IssuanceValidationUtils.sol#L6
0 commit comments