TDRouterV2

Verified contract

Active on Ethereum with 364 txns
Deployed by via 0xa4509aeb at 11448570
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $29.05
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x6d47dddfc73b978f53c54f29c00d40647318d7e861c16f44b548cd4654968812
0x5650da3eda4e466c4e08b1140989ab19bc6224ac8adf9c80634cd5e0674ba372
0x63832058258f9014b5aa0f6e9bb8cdac15451b8a2b4dedec1428b0779d24aaa3
0x08bbe6b5f4da866be985d33663e170db04df693aaff2b6d3015e82f0f28135a1
0x19d34fbac5ceeeeef009ae1ec8543092b196928ec70a2db2b70919bd2ef76cef
0xe98786d600efa8d6ae2648d155d5e1108548130819d55270a45155add3954dac
0x5e3d6d3fa5f61b71bf964d75b4d0203f7fe2a8aabd7837c1fe6c900bb750ad59
0xe9ec604fb50a5fd25367badc5add60304ecf69bd12f9c5c2ca4800c4a04a81ae
0x147abe80a6b84a0848a51d0a0689de974fa0fa0d172dac0adbc8bad09f881b27
0x69c5d929f0b02dddfd5b59f97067d3455447c5f4258fc11992f3329947f8acd1

Functions
Getter at block 21275439
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
totalETH(view returns (uint256)
808233892814110401075
transactions(view returns (uint256)
345
Read-only
getAmountIn(uint256 amountOutuint256 reserveInuint256 reserveOutpure returns (uint256 amountIn)
getAmountOut(uint256 amountInuint256 reserveInuint256 reserveOutpure returns (uint256 amountOut)
getAmountsIn(uint256 amountOutaddress[] pathview returns (uint256[] amounts)
getAmountsOut(uint256 amountInaddress[] pathview returns (uint256[] amounts)
quote(uint256 amountAuint256 reserveAuint256 reserveBpure returns (uint256 amountB)
swapInfo(addressview returns (uint256 totalETHuint256 transactionsuint256 totalTD)
tokenAd(addressview returns (address)
State-modifying
addTokenPair(address tokenAaddress tokenBuint256 _totalETHuint256 _totalTDuint256 _transactions
buy(uint256 amountOutMinaddress[] pathaddress touint256 deadlinepayable returns (uint256[] amounts)
dividend(
sell(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
Events
Buy(uint256 amountOutMinaddress pathaddress touint256 deadline
Sell(uint256 amountInuint256 amountOutMinaddress pathaddress touint256 deadline
print(string struint256 a
printadd(string straddress a
Constructor
constructor(
Fallback and receive
receive(
Errors

This contract contains no error objects.