Submitted by bin2chen
Code reference: YieldLogic.sol#L150
In this PR, yieldSetERC721TokenData() adds the following restrictions:
This causes yieldSetERC721TokenData() to be called only once. This is fine for YieldWUSDStaking.sol. But for the other YieldStakingBase.sol, there is a problem, because it is not possible to increase borrowing again (Health Factor is still enough) as before.
In YieldStakingBase.stake()
Users cant borrow additional funds and have to pay back the loan first, losing a certain amount of handling fee.
Two possible modifications
It is recommended to choose option (2).
thorseldon (BendDAO) confirmed and commented:
For this audit, 2 reports were submitted by wardens detailing low risk and non-critical/informational issues. The report highlighted below by oakcobalt received the top score from the judge.
The following warden also submitted a report: bin2chen.
