TDRouter

Verified contract

Active on Ethereum with 165 txns
Deployed by via 0x02e733d1 at 11200115
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.85
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xd86006f50fcfde3516a4ce74d72ccff59e8c6d227e079dafbe4f82f4418dddcd
0x8167354bf90f90396c71cdd5793c6850a04b14178ce108d585f3eb3e8f13483e
0x69f35a2aef9a8670334cfc4c53ca7578334af34901f0404721004da13734d191
0xedc2383920f23f798c9bf9dcd1f3c5994519ab1e1acbe8cae28c254778ed1854
0x6bcff277cf4bfa19cec7c8fa31afecab9b098dbfd1cb99f0218c825c64f16ec4
0x476396378600645d80aacd3b415232a363b87f10d75d021036bd193433e4fac9
0xaca7938b7e9ae55b7f658d26ff018d509dc0db4f81edfd7b3374aa07e38c741f
0xce4df7f30ac72a036d08aa445b89819da4acae9a096988381d107db7ed78f4c4
0x5841695a260074145c6f576a816b0ff462a17653cc386cfa29f89a4827fdd45d
0x9df85ad413f379b4d2509f4a85ce8a3ff6f8450be81d7da3d7ecbcc2e2f16c66

Functions
Getter at block 21203529
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
totalETH(view returns (uint256)
367381615978320538526
transactions(view returns (uint256)
140
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.