Ethex

Verified contract

Active on Ethereum with 20,987 txns
Deployed by via 0x7c509d77 at 5026534
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $580.39
ERC-20
Value $20
ERC-20
Value $0.22
ERC-20
Value $0.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x72899843dc74495b7eda6fbf9e8d7d1451b0a68d8b679b7bba0e7ea63d571246
0x1c4a96f68de0853ab705f062702907339ed1a42c23ce8f4d0c542032d53ad7d8
0x2d77cc3146957516510893ae4eedbc709c5b782a3827e8864b507b66fd414ec1
0x138299cedff644f63c0fb65ed3a475d8d60d23dc5405f82c628b77534b665034
0x78c745e9d795fed5b3592e2a41dee19b8f4ea0eebd54f8979409396c717c44f0
0xeebcb31ae8cb00c4ebf3b643c3a7205d0ff97f965585b02893c48665e043b44b
0x439508ede91b85d5cf1ab23cc3ab5c06200de3f1a20af4dbaba20d7ad3bac81a
0xdd4d1041c124abdd961efabc6cbcc5da900c0d51d76c9cc4287c4ab6705931b3
0xec3bd57c773a569f777ce35493fef35694d28fc956de2a70586cdb9fd58ae652
0xf0672ac637080a252775b1fe637f225a7ab6c2bd654ccf48b9ca8597ec115493

Functions
Getter at block 21256365
admin(view returns (address)
0x008016370e643866a88b73342eef763fc2bbcc84
etxAddress(view returns (address)
0x0be8d3261cd699fc5ae124b3f8d38d568fd461b5
feeAccount(view returns (address)
0x007d8d7bc3d89386eda8742c1d2162b52a339492
lastFreeBlock(view returns (uint256)
10000000
makeFee(view returns (uint256)
0
takeFee(view returns (uint256)
2500000000000000
Read-only
buyOrderBalances(bytes32view returns (uint256)
calculateFee(uint256 costuint256 feeAmountview returns (uint256)
calculateFeeForAccount(uint256 costuint256 feeAmountaddress accountview returns (uint256)
feeFromTotalCost(uint256 totalCostuint256 feeAmountview returns (uint256)
feeFromTotalCostForAccount(uint256 totalCostuint256 feeAmountaddress accountview returns (uint256)
sellOrderBalances(bytes32view returns (uint256)
State-modifying
cancelAllBuyOrders(address tokenuint256 tokenAmountuint256 weiAmount
cancelAllSellOrders(address tokenuint256 tokenAmountuint256 weiAmount
changeAdmin(address admin_
changeETXAddress(address etxAddress_
changeFeeAccount(address feeAccount_
changeLastFreeBlock(uint256 _lastFreeBlock
changeMakeFee(uint256 makeFee_
changeTakeFee(uint256 takeFee_
makeBuyOrder(address tokenuint256 tokenAmountpayable 
makeSellOrder(address tokenuint256 tokenAmountuint256 weiAmount
takeBuyOrder(address tokenuint256 tokenAmountuint256 weiAmountuint256 totalTokensaddress buyer
takeSellOrder(address tokenuint256 tokenAmountuint256 weiAmountaddress sellerpayable 
Events
CancelBuyOrder(bytes32 orderHashaddress indexed tokenuint256 tokenAmountuint256 weiAmountaddress indexed buyer
CancelSellOrder(bytes32 orderHashaddress indexed tokenuint256 tokenAmountuint256 weiAmountaddress indexed seller
MakeBuyOrder(bytes32 orderHashaddress indexed tokenuint256 tokenAmountuint256 weiAmountaddress indexed buyer
MakeSellOrder(bytes32 orderHashaddress indexed tokenuint256 tokenAmountuint256 weiAmountaddress indexed seller
TakeBuyOrder(bytes32 orderHashaddress indexed tokenuint256 tokenAmountuint256 weiAmountuint256 totalTransactionTokensaddress indexed buyeraddress indexed seller
TakeSellOrder(bytes32 orderHashaddress indexed tokenuint256 tokenAmountuint256 weiAmountuint256 totalTransactionWeiaddress indexed buyeraddress indexed seller
Constructor
constructor(address admin_address feeAccount_uint256 makeFee_uint256 takeFee_address etxAddress_uint256 _lastFreeBlock
Fallback and receive
fallback(
Errors

This contract contains no error objects.