LP Token
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.
Deploys LPToken contract with given name, symbol, and decimals
the caller of this constructor will become the owner of this contract
name_
: name of this tokensymbol_
: symbol of this tokendecimals_
: number of decimals this token will be based on
Mints the given amount of LPToken to the recipient. During the guarded release phase, the total supply and the maximum number of the tokens that a single account can mint are limited.
only owner can call this mint function
recipient
: address of account to receive the tokensamount
: amount of tokens to mintmerkleProof
: the bytes32 array data that is used to prove recipient's address exists in the merkle tree stored in the allowlist contract. If the pool is not guarded, this parameter is ignored.
Last modified 2yr ago