CErc20Swap
Verified contract
Active on
Ethereum with 273 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xf5dc…44dc
Balances ($0.00)
No balances found for "CErc20Swap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 9005920 | 5 years ago | | | 0 | 0.0010924550 | |
| 8999344 | 5 years ago | | | 0 | 0.0035607000 | |
| 8997286 | 5 years ago | | | 0 | 0.0054422000 | |
| 8995177 | 5 years ago | | | 0 | 0.0021762400 | |
| 8994253 | 5 years ago | | | 0 | 0.0010941696 | |
| 8991504 | 5 years ago | | | 0 | 0.0015606500 | |
| 8991491 | 5 years ago | | | 0 | 0.0021768800 | |
| 8991476 | 5 years ago | | | 0 | 0.0018236160 | |
| 8990053 | 5 years ago | | | 0 | 0.0010437120 | |
| 8986563 | 5 years ago | | | 0 | 0.0020262400 |
ABI
ABI objects
Getter at block 21197942
buyRate() view returns (uint256)
4657395927
buyRateDecimals() pure returns (uint256)
18
cToken() view returns (address)
0xf5dce57282a584d2746faf1593d3121fcac444dc
owner() view returns (address)
0xfb0fce9d94f3f69d419dbf11cf35bed84a501034
paused() view returns (bool)
false
sellRate() view returns (uint256)
214283049120283009551971186
sellRateDecimals() pure returns (uint256)
18
spread() view returns (uint256)
1000
wallet() view returns (address)
0xf4ba4c2aa5bc3c373537ec85f61a02afdb697106
Read-only
getAmount(uint256 _offerTokenAmount, bool _isRedeem) view returns (uint256 toUserAmount)
State-modifying
Events destroy()
destroyAndSend(address _recipient)
pause()
renounceOwnership()
setSpread(uint256 _spread)
setWallet(address _wallet)
swapToken(address _userOfferTokenAddress, uint256 _userOfferTokenAmount) returns (bool)
transferOwnership(address _newOwner)
unpause()
withdrawToken(address _tokenAddress)
LogFee(address token, uint256 amount)
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 _cTokenAddress, address _wallet, uint256 _spread)
fallback()
This contract contains no error objects.