ERC20LiquidityToken
Inherits: ERC20Base
Functions
constructor
constructor(
ERC20BaseConfig memory config
) ERC20Base(config);
ownerMint
override ERC20Base-ownerMint.
function ownerMint(address sender, address to, uint256 assets, uint256 shares) public virtual override onlyOwner;
ownerBurn
override ERC20Base-ownerBurn.
function ownerBurn(address sender, address to, uint256 assets, uint256 shares) public virtual override onlyOwner;
ownerTransfer
Transfers amount tokens from the from address to the to address.
override ERC20Base-ownerTransfer.
function ownerTransfer(address from, address to, uint256 amount) public virtual override onlyOwner;
Parameters
| Name | Type | Description |
|---|---|---|
from | address | The account to deduct the tokens from. |
to | address | The account to deliver the tokens to. |
amount | uint256 | The amount of tokens to be transferred. |