Documentation Index
Fetch the complete documentation index at: https://thrackle.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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
| Name | Type | Description |
|---|
_name | string | Name of the token |
_symbol | string | Symbol of the token |
_appManagerAddress | address | Address of App Manager |
mint
Function mints new tokens. Allows for minting of tokens.
function mint(address to, uint256 amount) public appAdministratorOnly(appManagerAddress);
Parameters
| Name | Type | Description |
|---|
to | address | recipient address |
amount | uint256 | number of tokens to mint |
burn
Function burns tokens. Allows for burning of tokens.
function burn(address account, uint256 amount) public;
Parameters
| Name | Type | Description |
|---|
account | address | address tokens are burned from |
amount | uint256 | number of tokens to burn |