IProtocolToken

Git Source

Inherits: IVotes, IERC20Metadata, IERC20Permit, 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]