MintableIncentivizedERC20
Implements mint and burn functions for IncentivizedERC20
constructor
Constructor.
Parameters
Name | Type | Description |
---|---|---|
pool | contract IPool | The reference to the main Pool contract |
name | string | The name of the token |
symbol | string | The symbol of the token |
decimals | uint8 | The number of decimals of the token |
_mint
Mints tokens to an account and apply incentives if defined
Parameters
Name | Type | Description |
---|---|---|
account | address | The address receiving tokens |
amount | uint128 | The amount of tokens to mint |
_burn
Burns tokens from an account and apply incentives if defined
Parameters
Name | Type | Description |
---|---|---|
account | address | The account whose tokens are burnt |
amount | uint128 | The amount of tokens to burn |