TokenSwap

Verified contract

Active on Ethereum with 153 txns
Deployed by via 0x49570ece at 8611557
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "TokenSwap"

0x8ce132216c9642dd0605643c3f58f2a9ea8bafdc3c1a7819f6c35d4037e3b906
0x99c4a2b9c4f76cbdb1d3c2456fbc25a8f61a9d3d08804fd7af14a69c2a71c20f
0xbd8d952636e8c2f97506a815305d44ae71ac2188fab0db3882d7022004998477
0xd4853985db41b08b316bdf7eae10a78f157804131d06f4deb865a8dba0661c7a
0x4b846d679b147cda6ce2ced059977b4c0dd772a506c4814d4a0ea47f6c4141d4
0xccc4d8529731b059c17c86c393aecc707e7f7a9edc13ac7eac8cd84575b7e1e5
0x16028fdd3837ecc5c4dac410017df4fa6fd3bd741ae035ab7dfaffb3d8b6b0a6
0xc29e7caa6c81b11c39d31bf0f717c7cd36e736ea577a2a524657b0a3f434e8eb
0xa6cdfb155a9f212f95226a9342d14a27bc03150740bf0d34b145e0f645169105
0x376502e1904ba28ac5c6d84e5cbd08cd908e3dbfc015c7a6cc61cacd369220a8

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