Dex2

Verified contract

Active on Ethereum with 1,292 txns
Deployed by via 0xcbc66524 at 5547340
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x9b8b543bcde912d01de856bf878e96afb3da6a5a181e683eb6ff03c1ed9b109e
0xe42befe98aa19259b9baaf70df75320c461ca15a0b578596f5f6ef1222e99c1b
0x139b4f8c1adc689af1d3b21ef0db363906bab40fc72be62624aa9153db8065e1
0xdc542585b29c54765174e956ef982b2cdf7495242eb746e6137155be40cdc699
0x11e8276cb918284979ad34c3b2462c0db2cb1bdf8c5a49f67141c29ceb133489
0x43be47db5a39ea69a500176500b5af315b520f09654e79423664134aec21d47a
0x3615d2e25ba42cdff0bbdb67272b1fc97943d43984038a548c8eef11b611c34c
0x26c1cb4533237d877a724281a078cef32596486417f1cc49398437dd42ccacd7
0x10b42da5eaad37b6902e48311a7a94788d056f39fdd4f7260ef0763e76426b84
0xb6e22cbfd1ff0cb3639ccd4e27b448992f036154792d0fbbd2b1dbda06134bfc

Functions
Getter at block 21316339
admin(view returns (address)
0xfd2d91100c786fcb1f3e8103ca1880a869828b1f
exeStatus(view returns (uint64 logicTimeSecuint64 lastOperationIndex)
(logicTimeSec=1526858359, lastOperationIndex=856)
lastDepositIndex(view returns (uint64)
265
makerFeeRateE4(view returns (uint16)
10
marketStatus(view returns (uint8)
2
takerFeeRateE4(view returns (uint16)
20
withdrawFeeRateE4(view returns (uint16)
0
Read-only
accounts(uint176view returns (uint64 balanceE8uint64 pendingWithdrawE8)
deposits(uint64view returns (address traderAddruint16 tokenCodeuint64 pendingAmountE8)
orders(uint224view returns (uint32 pairIduint8 actionuint8 iocuint64 priceE8uint64 amountE8uint64 expireTimeSec)
tokens(uint16view returns (string symboladdress tokenAddruint64 scaleFactoruint256 minDeposit)
traders(addressview returns (address withdrawAddruint8 feeRebatePercent)
State-modifying
changeMarketStatus(uint8 status_
depositEth(address traderAddrpayable 
depositToken(address traderAddruint16 tokenCodeuint256 originalAmount
exeSequence(uint256 headeruint256[] body
setTokenInfo(uint16 tokenCodestring symboladdress tokenAddruint64 scaleFactoruint256 minDeposit
setWithdrawAddr(address withdrawAddr
transferFee(uint16 tokenCodeuint64 amountE8address toAddr
withdrawEth(address traderAddr
withdrawToken(address traderAddruint16 tokenCode
Events
ChangeMarketStatusEvent(uint8 status
ConfirmDepositEvent(address traderuint16 tokenCodeuint64 balanceE8
DeployMarketEvent(
DepositEvent(address traderuint16 tokenCodestring symboluint64 amountE8uint64 depositIndex
HardCancelOrderEvent(address traderuint64 nonce
InitiateWithdrawEvent(address traderuint16 tokenCodeuint64 amountE8uint64 pendingWithdrawE8
MatchOrdersEvent(address trader1uint64 nonce1address trader2uint64 nonce2
SetFeeRatesEvent(uint16 makerFeeRateE4uint16 takerFeeRateE4uint16 withdrawFeeRateE4
SetFeeRebatePercentEvent(address traderuint8 feeRebatePercent
SetTokenInfoEvent(uint16 tokenCodestring symboladdress tokenAddruint64 scaleFactoruint256 minDeposit
SetWithdrawAddrEvent(address traderaddress withdrawAddr
TransferFeeEvent(uint16 tokenCodeuint64 amountE8address toAddr
WithdrawEvent(address traderuint16 tokenCodestring symboluint64 amountE8uint64 lastOpIndex
Constructor
constructor(address admin_
Fallback and receive
fallback(
Errors

This contract contains no error objects.