Summary
The contract does not refund users if the oracle fails to fulfill their mint request.
Impact:
Impact: NFT buyers.
They Are Affected: Buyers lose funds without receiving the promised NFT.
fulfillMintRequest
function to return the mint price to the user if the oracle request fails.Emit Failure Event:
Emit a WeatherNFTMintRequestFailed
event to log the failure and notify the user.
2. Early Return:
If the oracle request fails, the function exits early to prevent further execution.
If Oracle fails, the `fulfillMintRequest` function will not return the payed fee for the token to the user.
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.