57028 sc insight wrong amount variable in repay event
Description
Brief/Intro
Vulnerability Details
emit Repay(msg.sender, amount, recipientTokenId, creditToYield);/// @notice Emitted when `amount` of `underlyingToken` are repaid to grant credit to account owned by `recipientId`.
///
/// @param sender The address which is repaying tokens.
/// @param amount The amount of the underlying token that was used to repay debt.
/// @param recipientId The id of account that received credit for the repaid tokens.
/// @param credit The amount of debt that was paid-off to the account owned by owner.
event Repay(address indexed sender, uint256 amount, uint256 indexed recipientId, uint256 credit);Impact Details
References
Proof of Concept
Proof of Concept
Previous57369 sc high deallocation may revert due to an underflowNext57331 sc medium conditional eth wrapping logic causes withdrawal dos in moonwellweth and stargateeth strategies
Was this helpful?