ExampleDEX

ExampleDEX

uniswapRouter

contract IUniswapV2Router02 uniswapRouter

router

contract IOCPRouter router

remoteChainId

uint16 remoteChainId

constructor

constructor(address _uniswapRouter, uint16 _remoteChainId, address _router) public

omniAddLiquidity

function omniAddLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) external

omniRemoveLiquidity

function omniRemoveLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) external

Last updated