The MondrianWallet
contract is missing a function to withdraw excess funds, this function is necessary to allow the contract owner to retrieve funds that exceed the required amount for transactions.
The MondrianWallet
contract lacks a mechanism for withdrawing excess funds. Without this feature, any funds deposited into the contract beyond what is needed for transactions are effectively trapped in the contract.
Like mentioned in ERC-4337 docs
"The account MAY pay more than this minimum, to cover future transactions (it can always issue withdrawTo to retrieve it)"
Without the ability to withdraw excess funds, liquidity is reduced, and funds may remain inaccessible, causing inconvenience for users and the contract owner.
Manual Review
Implement a function allowing the contract owner to withdraw excess funds, with appropriate access controls and checks to ensure security.
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.