Token
Token
interval
uint256 interval
faucetTotal
uint256 faucetTotal
faucetAmount
uint256 faucetAmount
giveawayTotal
uint256 giveawayTotal
accountLastTime
mapping(address => uint256) accountLastTime
constructor
constructor(string _n, uint8 _dc, uint256 _interval, uint256 _faucetTotal, uint256 _faucetAmount) public
decimals
function decimals() public view virtual returns (uint8)
_Returns the number of decimals used to get its user representation. For example, if decimals
equals 2
, a balance of 505
tokens should be displayed to a user as 5.05
(505 / 10 ** 2
).
Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden.
NOTE: This information is only used for display purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}._
mint
function mint(address account, uint256 amount) external
faucet
function faucet() external
setInterval
function setInterval(uint256 _interval) external
setFaucetAmount
function setFaucetAmount(uint256 _faucetAmount) external
setFaucetTotal
function setFaucetTotal(uint256 _faucetTotal) external
deposit
function deposit() public payable
withdraw
function withdraw(uint256 amount) public