TokenSwap
Verified contract
Active on
Ethereum with 1,256 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "TokenSwap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 8961875 | 5 years ago | | | 0 | 0.00033978000 | |
| 8961657 | 5 years ago | | | 0 | 0.00060896400 | |
| 8961552 | 5 years ago | | | 0 | 0.00054643098 | |
| 8961329 | 5 years ago | | | 0 | 0.00052777680 | |
| 8961235 | 5 years ago | | | 0 | 0.00059972880 | |
| 8960883 | 5 years ago | | | 0 | 0.00045498000 | |
| 8960727 | 5 years ago | | | 0.028587764 | 0.00060374000 | |
| 8960666 | 5 years ago | | | 0.057175529 | 0.00060374000 | |
| 8960509 | 5 years ago | | | 0.19453588 | 0.00075374000 | |
| 8959947 | 5 years ago | | | 0 | 0.00045498000 |
ABI
ABI objects
Getter at block 21162331
baseTokenAddress() view returns (address)
0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
buyRate() view returns (uint256)
17477
buyRateDecimals() view returns (uint256)
2
owner() view returns (address)
0x22e695d8adf5870c97f90ede33aaf8acac3c6cf3
paused() view returns (bool)
true
quoteTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
sellRate() view returns (uint256)
560899053875475923
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.