The contract WeatherNft.sol
has payable functions, but there is no withdrawal function to retrieve funds from the contract. This leads to a situation where funds are stuck in the contract and cannot be accessed by the owner or any other party.
Likelihood: High
Any user who wants to interact with the contract and mint an NFT will have to pay so the likelihood of this happening is high.
Impact: High
Any funds sent to the contract will be stuck and cannot be retrieved.
/
Add a withdrawal function to the contract that allows the owner to withdraw funds from the contract. This can be done by adding a function like this:
The contract collects funds for minting a WeatherNFT, but there is no function that allows the owner to withdraw these funds.
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.