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) |
---|---|---|---|---|---|---|---|
| 8772185 | 5 years ago | | | 0 | 0.000028315000 | |
| 8771816 | 5 years ago | | | 0 | 0.0011058600 | |
| 8771644 | 5 years ago | | | 0 | 0.0013327800 | |
| 8771581 | 5 years ago | | | 0 | 0.0013308600 | |
| 8770343 | 5 years ago | | | 0 | 0.00073788000 | |
| 8768572 | 5 years ago | | | 0 | 0.00022749000 | |
| 8768001 | 5 years ago | | | 0 | 0.00036894000 | |
| 8765696 | 5 years ago | | | 0 | 0.00073113480 | |
| 8764817 | 5 years ago | | | 0 | 0.00088852000 | |
| 8764464 | 5 years ago | | | 0 | 0.00059064200 |
ABI
ABI objects
Getter at block 21163363
baseTokenAddress() view returns (address)
0xf5dce57282a584d2746faf1593d3121fcac444dc
buyRate() view returns (uint256)
47694
buyRateDecimals() view returns (uint256)
13
owner() view returns (address)
0x6fa69555e6db8fea4c225c2f250302b8d0ec2841
paused() view returns (bool)
true
quoteTokenAddress() view returns (address)
0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
sellRate() view returns (uint256)
2092499264800383313
sellRateDecimals() view returns (uint256)
10
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.