IToken
Author: fx(hash)
Interface for minters to interact with tokens
Functions
mint
Mints arbitrary number of tokens
Only callable by registered minter contracts
function mint(address _to, uint256 _amount, uint256 _payment) external;
Parameters
Name | Type | Description |
---|---|---|
_to | address | Address receiving tokens |
_amount | uint256 | Number of tokens being minted |
_payment | uint256 | Total payment amount of the transaction |
primaryReceiver
Returns address of primary receiver for token sales
function primaryReceiver() external view returns (address);