Skip to main content

ERC20LiquidityToken

Git Source

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

NameTypeDescription
fromaddressThe account to deduct the tokens from.
toaddressThe account to deliver the tokens to.
amountuint256The amount of tokens to be transferred.