addLiquidity
This method provides two-sided liquidity to the primary pool.
Function
Parameters
Parameter | Description |
---|---|
| The address of the recipient. |
| An ERC20 token address. |
| The input amount of |
| The minimal amount that the user will accept for |
| The minimal amount that the user will accept for the provided ether. |
| The UTC timestamp that if reached, causes the swap transaction to fail automatically. |
Return values
Value | Description |
---|---|
liquidity | The amount of minted ERC20 tokens (LP tokens) for the provided liquidity. |
Last updated