TokenSwap

Verified contract

Active on Ethereum with 633 txns
Deployed by via 0x770e69a0 at 7886666
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xf0f60f11e5401001ed4cf16b2aa1b488c92f03843e8237bcc0f5c743c3605122
0x4bfb26c37794c546e8a670d766adbbc5d483cb28d5243359b25d88c7a59e936d
0x479ea64dae10e8bf089991e77b3680e3b556c4b6fdaed0e8ae342040b341f851
0x835f78c6974ef1ba000074aff8757d3f0595a8e155b3877dbd7feda74c8f0273
0x56b70c0e594972d4dd66737430459ea2ad03a436e281bf1b3e53b11941b7bff5
0xcc842753a8c2f886f27ec6be08cb8593e2062b5f0549d407b1d728b801bc7773
0xe575916a582f1f7b77bff84b2b57c43e64e57c9864a8b9d98778bacdd034e86b
0xc67bca877fc7a495774c3bce025a81ddbe20dfb93b8378a08e953efcf2b66b33
0xfbb86d5f9acf14b88d010fb3b2a6ca0ea253532b5c7a36cb3957dd7c3410c0af
0x3f4e20e422df249b9db8c8cb9c7e6bd592c0ae4c5b7c45cb694a2e75769c3c8f

Functions
Getter at block 21178642
baseTokenAddress(view returns (address)
0x2af5d2ad76741191d15dfe7bf6ac92d4bd912ca3
buyRate(view returns (uint256)
1064100000000
buyRateDecimals(view returns (uint256)
0
owner(view returns (address)
0x477b2d92c1182ef1c7ddf1b5d0f6e95b32f6dca8
paused(view returns (bool)
true
quoteTokenAddress(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
sellRate(view returns (uint256)
88575293
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.