sherlock-audit / 2024-07-sense-points-marketplace-judging

8 stars 5 forks source link

Narrow Quartz Raven - There is a receive function without a withdraw function at PointTokenVault.sol #207

Closed sherlock-admin4 closed 2 months ago

sherlock-admin4 commented 2 months ago

Narrow Quartz Raven

Low/Info

There is a receive function without a withdraw function at PointTokenVault.sol

Summary

There is a payable receive function at PointTokenVault.sol contract to receive Ether, however there is no withdraw function, causing the received Ether to be locked in the contract forever.

Root Cause

No response

Internal pre-conditions

No response

External pre-conditions

No response

Attack Path

No response

Impact

The Ether transferred to the PointTokenVault.sol contract can not be recovered later and it will be locked to the contract forever.

PoC

No response

Mitigation

No response