Faucet

Git Source

State Variables

token

IERC20 public token;

governor

address public governor;

withdrewAlready

mapping(address => bool) public withdrewAlready;

amount

uint256 public amount = 10_000 ether;

Functions

onlyByGovernor

modifier onlyByGovernor();

constructor

constructor(IERC20 _token);

changeGovernor

function changeGovernor(address _governor) public onlyByGovernor;

changeAmount

function changeAmount(uint256 _amount) public onlyByGovernor;

withdraw

function withdraw() public onlyByGovernor;

request

function request() public;

balance

function balance() public view returns (uint256);