The AssetManager::dutchPay function will not capture the fee from the bidder, thereby causing a deficiency in the system.
Impact:
Any Dutch auction will not actually capture the fee from the bidder, permitting them to withdraw it and thus cause the fees accumulated in the AssetManager to not be claimable.
AMR-07M: Inexistent Subtraction of Fee
Description:
The
AssetManager::dutchPay
function will not capture thefee
from thebidder
, thereby causing a deficiency in the system.Impact:
Any Dutch auction will not actually capture the fee from the
bidder
, permitting them to withdraw it and thus cause the fees accumulated in theAssetManager
to not be claimable.Example:
Recommendation:
We advise the code to properly subtract the full
bid
amount from thebidder
, ensuring that the fee has been properly captured from them.