Add Liquidity

Add liquidity to earn fees

function addLiquidity(address token, uint256 amount) external 

token - address of token to provide liquidity to a pool amount - amount of token to deposit

If there is not an LP token created for a token, then one will be created. If already created, then the contact will mint LP tokens for the respected asset.

Last updated