BurnMintERC677Helper API reference
BurnMintERC677Helper
This contract extends the functionality of the BurnMintERC677 token contract to
include a drip
function that mints one full token to a specified address.
Inherits from the BurnMintERC677 contract and sets the token name, symbol, decimals, and initial supply in the constructor.
constructor
constructor(string name, string symbol) public
Constructor to initialize the BurnMintERC677Helper contract with a name and symbol.
Calls the parent constructor of BurnMintERC677 with fixed decimals (18) and initial supply (0).
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the token. |
symbol | string | The symbol of the token. |
drip
function drip(address to) external
Mints one full token (1e18) to the specified address.
Calls the internal _mint
function from the BurnMintERC677 contract.
Parameters
Name | Type | Description |
---|---|---|
to | address | The address to receive the minted token. |