Funds can get stuck in FootiumPrizeDistributor.sol
Summary
Vulnerability Detail
FootiumPrizeDistributor contract is lack of withdraw function that can lead to funds being locked.
FootiumPrizeDistributor can obtain funds in a couple of ways::
totalFee from FootiumAcademy are transferred to FootiumPrizeDistributor
Phantasmagoria
medium
Funds can get stuck in FootiumPrizeDistributor.sol
Summary
Vulnerability Detail
FootiumPrizeDistributor contract is lack of withdraw function that can lead to funds being locked. FootiumPrizeDistributor can obtain funds in a couple of ways::
totalFee
from FootiumAcademy are transferred to FootiumPrizeDistributorFunds can get stuck when new merkleroot was set or user doesn't claimed his rewards see the following issue: https://github.com/sherlock-audit/2023-04-footium-Phantasmagoria13/issues/8
Impact
Funds can get stuck in FootiumPrizeDistributor.sol because there is no withdraw function
Code Snippet
https://github.com/sherlock-audit/2023-04-footium/blob/main/footium-eth-shareable/contracts/FootiumPrizeDistributor.sol#L1C1-L176
Tool used
Manual Review
Recommendation
Implement withdraw function in FootiumPrizeDistributor.sol