What could cause the errors in the picture? #6722
Unanswered
EddiePumpin
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`//SPDX License-Identifier: MIT;
pragma solidity ^0.8.20;
import {VRFConsumerBaseV2Plus} from "@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus.sol";
import "@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.sol";
import {AutomationCompatibleInterface} from "@chainlink/contracts/src/v0.8/automation/AutomationCompatible.sol";
// 1. Enter Raffle
// 2. Pick a random winner - Chainlink VRF
// 3. In every X minutes - Chainlink automation
error Raffle__NotEnoughETH();
error Raffle__RaffleNotOpened();
error Raffle__TransferFailed();
error Raffle__upKeepNotNeeded();
contract Raffle is VRFConsumerBaseV2Plus, AutomationCompatibleInterface {
// State Varables
enum RaffleState {
OPEN,
CALCULATING
}
}
`
Beta Was this translation helpful? Give feedback.
All reactions