LPToken
This token is an ERC20 detailed token with added capability to be minted by the owner. It is used to represent user's shares when providing liquidity to swap contracts.
Only Swap contracts should initialize and own LPToken contracts.
Initializes this LPToken contract with the given name and symbol
The caller of this function will become the owner. A Swap contract should call this in its initializer function.
name
: name of this tokensymbol
: symbol of this token
Mints the given amount of LPToken to the recipient.
only owner can call this mint function
recipient
: address of account to receive the tokensamount
: amount of tokens to mint
Last modified 1yr ago