IProtocolToken

Git Source

Inherits: IERC20Metadata, IERC20Permit, IVotes, IAuthorizable

Functions

mint

Mint an amount of tokens to an account

Only authorized addresses can mint tokens

function mint(address _account, uint256 _amount) external;

Parameters

NameTypeDescription
_accountaddressAddress of the account to mint tokens to
_amountuint256Amount of tokens to mint [wad]

burn

Burn an amount of tokens from the sender

function burn(uint256 _amount) external;

Parameters

NameTypeDescription
_amountuint256Amount of tokens to burn [wad]

unpause

Unpause the token transfers, minting and burning

Only authorized addresses can unpause the token

function unpause() external;