Fixed typo

This commit is contained in:
Thrilok Kumar 2020-07-08 22:44:51 +05:30
parent e9d74b2ba1
commit 96ed4f62dd

View File

@ -366,22 +366,22 @@ contract UniswapLiquidity is LiquidityHelpers {
* @dev Withdraw Liquidity. * @dev Withdraw Liquidity.
* @param tokenA tokenA address.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param tokenA tokenA address.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
* @param tokenB tokenB address.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param tokenB tokenB address.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
* @param uinAmt uni token amount. * @param uniAmt uni token amount.
* @param unitAmtA unit amount of amtA/uinAmt with slippage. * @param unitAmtA unit amount of amtA/uniAmt with slippage.
* @param unitAmtB unit amount of amtB/uinAmt with slippage. * @param unitAmtB unit amount of amtB/uniAmt with slippage.
* @param getId Get token amount at this ID from `InstaMemory` Contract. * @param getId Get token amount at this ID from `InstaMemory` Contract.
* @param setIds Set token amounts at this IDs in `InstaMemory` Contract. * @param setIds Set token amounts at this IDs in `InstaMemory` Contract.
*/ */
function withdraw( function withdraw(
address tokenA, address tokenA,
address tokenB, address tokenB,
uint uinAmt, uint uniAmt,
uint unitAmtA, uint unitAmtA,
uint unitAmtB, uint unitAmtB,
uint getId, uint getId,
uint[] calldata setIds uint[] calldata setIds
) external payable { ) external payable {
uint _amt = getUint(getId, uinAmt); uint _amt = getUint(getId, uniAmt);
(uint _amtA, uint _amtB, uint _uniAmt) = _removeLiquidity( (uint _amtA, uint _amtB, uint _uniAmt) = _removeLiquidity(
tokenA, tokenA,