Build
Architecture
protocol
contracts
evm
interfaces
IZetaNonEthNew.sol
Interface.izetanonethnew

Git Source (opens in a new tab)

Inherits: IERC20

IZetaNonEthNew is a mintable / burnable version of IERC20.

burnFrom

Burns the specified amount of tokens from the specified account.

Emits a {Transfer} event with to set to the zero address.

function burnFrom(address account, uint256 amount) external;

Parameters

NameTypeDescription
accountaddressThe address of the account from which tokens will be burned.
amountuint256The amount of tokens to burn.

mint

Mints the specified amount of tokens to the specified account.

Emits a {Transfer} event with from set to the zero address.

function mint(address mintee, uint256 value, bytes32 internalSendHash) external;

Parameters

NameTypeDescription
minteeaddressThe address of the account to which tokens will be minted.
valueuint256The amount of tokens to mint.
internalSendHashbytes32A hash used for internal tracking of the minting transaction.