YouSwapRouter
Verified contract
Active on
Ethereum with 1,678 txns
Balances ($0.00)
No balances found for "YouSwapRouter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15461901 | 2 years ago | | | 0 | 0.0021163022 | |
| 15343822 | 2 years ago | | | 0.000050100177 | 0.0020934164 | |
| 14690364 | 3 years ago | | | 0.001 | 0.017922432 | |
| 14652441 | 3 years ago | | | 0.0000001 | 0.010783795 | |
| 14652302 | 3 years ago | | | 0 | 0.0010395000 | |
| 14652302 | 3 years ago | | | 0 | 0.00063787500 | |
| 14342145 | 3 years ago | | | 0 | 0.012265939 | |
| 14342143 | 3 years ago | | | 0 | 0.011265912 | |
| 14342141 | 3 years ago | | | 0 | 0.0080170119 | |
| 14342137 | 3 years ago | | | 0 | 0.011450963 |
ABI
ABI objects
Getter at block 21293717
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory() view returns (address)
0xa7028337d3da1f04d638cc3b4dd09411486b49ea
owner() view returns (address)
0x6a02a11035136fb3ca55f163ed80eae2cee0057f
swapMining() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns (uint256 amountIn)
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns (uint256 amountOut)
getAmountsIn(uint256 amountOut, address[] path) view returns (uint256[] amounts)
getAmountsOut(uint256 amountIn, address[] path) view returns (uint256[] amounts)
quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns (uint256 amountB)
State-modifying
Events addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB, uint256 liquidity)
addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity)
removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB)
removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns (uint256 amountToken, uint256 amountETH)
removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns (uint256 amountETH)
removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns (uint256 amountToken, uint256 amountETH)
removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns (uint256 amountETH)
removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns (uint256 amountA, uint256 amountB)
renounceOwnership()
setSwapMining(address _swapMininng)
swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns (uint256[] amounts)
swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns (uint256[] amounts)
swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable
swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline)
swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline)
swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
transferOwnership(address newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _factory, address _WETH)
receive()
This contract contains no error objects.