V1 liquidity
Providing liquidity with the wrapper has the benefit that RBTC is automatically wrapped to WRBTC and the pool tokens are automatically deposited at the liquidity mining contract.
Adding liquidity
function addLiquidityToV1(
address _liquidityPoolConverterAddress,
IERC20Token[] memory _reserveTokens,
uint256[] memory _reserveAmounts,
uint256 _minReturn) Name
Type
Description
Removing liquidity
function removeLiquidityFromV1(
address _liquidityPoolConverterAddress,
uint256 _amount,
IERC20Token[] memory _reserveTokens,
uint256[] memory _reserveMinReturnAmounts)Name
Type
Description
Last updated