The _redeem_collateral
function allows users to redeem their collateral by transferring tokens from the protocol's contract to the user's specified address.
There is using transfer
function.
In the code is using transfer
function.
This function has a few potential vulnerability,
The gas fee limit for a standard ETH transfer is 21,000 units of gas. This is the typical amount required to execute a simple ETH transfer1. However, more complex transactions, such as those involving smart contracts, can require significantly more gas.
The functionality of _redeem_collateral
can be broken. And colaterall can not be reedeem.
manual review
Please use call
inseted of transfer
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.