API Version: v0.2.6 Not using latest version (v0.3.1)

BurnMintERC677Helper v0.2.6 API Reference

BurnMintERC677Helper

Helper contract for ERC677 token operations.

BurnMintERC677Helper

Functions

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

NameTypeDescription
namestring- The name of the token.
symbolstring- 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

NameTypeDescription
toaddress- The address to receive the minted token.

Get the latest Chainlink content straight to your inbox.