Git Source

Inherits: ProtocolERC20UMin

Functions

initialize

Initializer sets the the App Manager

function initialize(string memory _name, string memory _symbol, address _appManagerAddress) public initializer;

Parameters

NameTypeDescription
_namestringName of the token
_symbolstringSymbol of the token
_appManagerAddressaddressAddress of App Manager

mint

Function mints new tokens. Allows for minting of tokens.

function mint(address to, uint256 amount) public appAdministratorOnly(appManagerAddress);

Parameters

NameTypeDescription
toaddressrecipient address
amountuint256number of tokens to mint

burn

Function burns tokens. Allows for burning of tokens.

function burn(address account, uint256 amount) public;

Parameters

NameTypeDescription
accountaddressaddress tokens are burned from
amountuint256number of tokens to burn