TokenSwap
Verified contract
Active on
Ethereum with 6,009 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WDT | ERC-20 | 0.0001 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 9001039 | 5 years ago | | | 0 | 0.00028315000 | |
| 9000894 | 5 years ago | | | 0 | 0.00040890600 | |
| 9000851 | 5 years ago | | | 0 | 0.00040890600 | |
| 9000772 | 5 years ago | | | 0 | 0.00036347200 | |
| 9000592 | 5 years ago | | | 0 | 0.00043616640 | |
| 9000481 | 5 years ago | | | 50 | 0.00074800800 | |
| 9000473 | 5 years ago | | | 0 | 0.00054520800 | |
| 9000411 | 5 years ago | | | 0 | 0.00054444000 | |
| 9000356 | 5 years ago | | | 0 | 0.00054520800 | |
| 9000256 | 5 years ago | | | 0 | 0.00054520800 |
ABI
ABI objects
Getter at block 21302640
baseTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
buyRate() view returns (uint256)
6738000000
buyRateDecimals() view returns (uint256)
0
owner() view returns (address)
0x477b2d92c1182ef1c7ddf1b5d0f6e95b32f6dca8
paused() view returns (bool)
true
quoteTokenAddress() view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
sellRate() view returns (uint256)
14547443578
sellRateDecimals() view returns (uint256)
20
wallet() view returns (address)
0xf4ba4c2aa5bc3c373537ec85f61a02afdb697106
Read-only
getAmount(uint256 _offerTokenAmount, bool _isBuy) view returns (uint256)
isBuy(address _offerTokenAddress) view returns (bool)
isETH(address _tokenAddress) pure returns (bool)
isOfferInPair(address _offerTokenAddress) view returns (bool)
State-modifying
Events destroy()
destroyAndSend(address _recipient)
pause()
renounceOwnership()
setBaseTokenAddress(address _baseTokenAddress) returns (bool)
setQuoteTokenAddress(address _quoteTokenAddress) returns (bool)
setRateAndRateDecimals(uint256 _buyRate, uint256 _buyRateDecimals, uint256 _sellRate, uint256 _sellRateDecimals) returns (bool)
setWallet(address _wallet) returns (bool)
swapToken(address _userOfferTokenAddress, uint256 _userOfferTokenAmount) payable returns (bool)
transferOwnership(address _newOwner)
unpause()
withdrawToken(address _tokenAddress) returns (bool)
LogSetBaseTokenAddress(address indexed _token)
LogSetNumberOfZeroesFromLastDigit(uint256 _numberOfZeroesFromLastDigit)
LogSetQuoteTokenAddress(address indexed _token)
LogSetRateAndRateDecimals(uint256 _buyRate, uint256 _buyRateDecimals, uint256 _sellRate, uint256 _sellRateDecimals)
LogSetWallet(address indexed _wallet)
LogTokenSwap(address indexed _userAddress, address indexed _userSentTokenAddress, uint256 _userSentTokenAmount, address indexed _userReceivedTokenAddress, uint256 _userReceivedTokenAmount)
LogWithdrawToken(address indexed _from, address indexed _token, uint256 amount)
OwnershipRenounced(address indexed previousOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Pause()
Unpause()
constructor(address _baseTokenAddress, address _quoteTokenAddress, address _wallet, uint256 _buyRate, uint256 _buyRateDecimals, uint256 _sellRate, uint256 _sellRateDecimals)
fallback()
This contract contains no error objects.