The contract WeatherNft.sol can receive ETH through requestMintWeatherNFT(), which is a payable function
This happens via msg.value, which is the price to pay for a NFT
However, there is no way of withdrawing or sending ETH out of the contract, which makes the funds stuck inside the contract
Likelihood:
Reason 1 This is a general issue of the contract, that will happen everytime
Reason 2 Every time an amount is sent to the contract this gets blocked inside
Impact:
Impact 1 Locked funds
Impact 2 Owner not able to use mint funds
Add a withdraw function, to allow the owner to withdraw ETH from the contract to a desired address.
The function also checks that the recipient address is valid and the amount to withdraw does not exceed the contract balance.
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.