Closed surbhiaudichya closed 2 years ago
denormalize
normalize
hToken.redeem
underlyingRedeemed
hTokenReturned
hTokens
denormalized
denormalize
instead ofnormalize
to calculate how much underlying will be redeemed.hToken.redeem
; i.e.,underlyingRedeemed
instead ofhTokenReturned
.hTokens
to the end user; becausehTokenReturned
wasdenormalized
tounderlyingRedeemed
, offsetting the trailing 12 digits.