TokenSwap

Verified contract

Active on Ethereum with 1,256 txns
Deployed by via 0x61cbdd01 at 8610547
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "TokenSwap"

0xad50f17092b68cf54b2eee3097fc8dbf92056a84fbe4a0c4ca1a668646679d7a
0xf202b2236abace27d39c6a3c6b7417d64efd45b57e0901c9e7849ca6ec66189c
0x0ad2dba1cfbfbaa6aed05e7be4c7ad41126e49e89f8d89885d4aae876f3e6117
0xf8a066c64a5dbd99f5d39fdda31811590fbd8de97a43e90329e8765534a47ccc
0x5f9f795fa5e27bd7981d049956a9f93d3ee9df3ad8f6370cb6366a6650dd60fb
0x48d7e249f9a51be2ac28034004f703b3b153df96d74d0ee1adf26a61b9566aad
0x0cc825c1c1d842090b94c96a81dd121a0f506b43a2e1c7bf800e8878e9b4db82
0x0b7262abd8c6926d2b559733e955802310d75f9eb63b0b7196dd4925fc0a766d
0x97c1084b041423f2185e815bfc5260ce5cdc597f286e80d14948d1cbcbcfa247
0x70fae1e0da28be789b6f5b1753357a3468f6a69d4d286cdeb58e8f5b05ec4a3b

Functions
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 _offerTokenAmountbool _isBuyview returns (uint256)
isBuy(address _offerTokenAddressview returns (bool)
isETH(address _tokenAddresspure returns (bool)
isOfferInPair(address _offerTokenAddressview returns (bool)
State-modifying
destroy(
destroyAndSend(address _recipient
pause(
renounceOwnership(
setBaseTokenAddress(address _baseTokenAddressreturns (bool)
setQuoteTokenAddress(address _quoteTokenAddressreturns (bool)
setRateAndRateDecimals(uint256 _buyRateuint256 _buyRateDecimalsuint256 _sellRateuint256 _sellRateDecimalsreturns (bool)
setWallet(address _walletreturns (bool)
swapToken(address _userOfferTokenAddressuint256 _userOfferTokenAmountpayable returns (bool)
transferOwnership(address _newOwner
unpause(
withdrawToken(address _tokenAddressreturns (bool)
Events
LogSetBaseTokenAddress(address indexed _token
LogSetNumberOfZeroesFromLastDigit(uint256 _numberOfZeroesFromLastDigit
LogSetQuoteTokenAddress(address indexed _token
LogSetRateAndRateDecimals(uint256 _buyRateuint256 _buyRateDecimalsuint256 _sellRateuint256 _sellRateDecimals
LogSetWallet(address indexed _wallet
LogTokenSwap(address indexed _userAddressaddress indexed _userSentTokenAddressuint256 _userSentTokenAmountaddress indexed _userReceivedTokenAddressuint256 _userReceivedTokenAmount
LogWithdrawToken(address indexed _fromaddress indexed _tokenuint256 amount
OwnershipRenounced(address indexed previousOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Pause(
Unpause(
Constructor
constructor(address _baseTokenAddressaddress _quoteTokenAddressaddress _walletuint256 _buyRateuint256 _buyRateDecimalsuint256 _sellRateuint256 _sellRateDecimals
Fallback and receive
fallback(
Errors

This contract contains no error objects.