YellowToken
Inherits: ERC20Permit
Yellow Network utility token. ERC20 with permit functionality. Fixed 10 billion supply minted entirely to the treasury at deployment.
State Variables
SUPPLY_CAP
uint256 public constant SUPPLY_CAP = 10_000_000_000 ether
Functions
constructor
constructor(address treasury) ERC20Permit("Yellow") ERC20("Yellow", "YELLOW");
Parameters
| Name | Type | Description |
|---|---|---|
treasury | address | Address that receives the entire minted supply. |
Errors
InvalidAddress
error InvalidAddress();