TokenSwap

Verified contract

Active on Ethereum with 6,009 txns
Deployed by via 0xda90acc2 at 7886566
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xe7d1e5b4523119d9aa030c684a5e4a98d12571db040d0beb8ad6b2ab151c011a
0xdac4f49bbccec4e7cd6031e34955c0868a79164036aa9cc6819e0d2e05a9c909
0x0bc4aaa65cf0346b13a8f0f1beb550773c335e4339ea02e22bc7aa90a63c1b7f
0xd0b82a77a42d9c870b95ee559cc4714f7b78084a11d4119f6b95da54476e7f32
0x9aa6d659989b7ef49213206d79bf4ef7d4133374cf7166113ef9ac274038e7a7
0x56f0cb732e447c998d19c16c140604e1257e099220a68a86085b3bf3d44c4cd4
0x9ce40b76ee1e018ac389f61812e79058e36c24df08f476ce44e60ad1355e301f
0x47b56c1da9c5566d3bfa5b416e0a3aa3303ba95f1d11c4d288dfa8a3d9b6731f
0xd62678b1ae9f95ab7f3c1c36a0e625a7d5297932687f3a763786484332c6b4ba
0x2de7558f4a08c390e204b8b440d17a5c05cec7ccbd62161d7fa07c289db70188

Functions
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 _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.