Dex2

Verified contract

Active on Ethereum with 289,161 txns
Deployed by via 0xf15be8e8 at 5616000
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $570,011.68
ERC-20
Value $1,488.21
ERC-20
Value $895.48
ERC-20
Value $515.23
ERC-20
Value $511.51
ERC-20
Value $344.42
ERC-20
Value $141.4
ERC-20
Value $121.53
ERC-20
Value $101.72
ERC-20
Value $13.3
0xe78e061922fe2288aaa87340e69259a1901b6753fcfe308576d635ea32995906
0x62d0ed8f93ef789de1668ebae59a92cc4b7dccf5d1831ca4b094fed5ee06b78d
0x6a1b40ae99f82cddf48a334f7a06785351809c115e80b7faea4eefbfc91a3854
0x7c86a513cb4d0939f7446b41196665b4fc604cf3b31feec67e71bb6816c56eed
0xf1421116079cee34da119b53172bb26cd63029e95994835739594881f7b0ea73
0x2577b63b30057a624ce66a5b47208843ffe85be990ec67d1a00a90d64eee00d3
0x6b6021b56fd97517adc74cda5110083f43d1736380f7ec3c3af16b83b6c29cad
0x354fa3de07cd096945d817437e2acade15ab56db4aad92b362355e371f454875
0x8e3c8bfab1c3759177dd2cfe79538f4a1e5ae5d6c719cb3914addb8140306ff2
0xf90e1ac3c199f2185d19e1aa6f838bbbb1cbfa0bff1e5cdb583763ad5b325443

Functions
Getter at block 21266220
admin(view returns (address)
0xfd2d91100c786fcb1f3e8103ca1880a869828b1f
exeStatus(view returns (uint64 logicTimeSecuint64 lastOperationIndex)
(logicTimeSec=1588927016, lastOperationIndex=397555)
lastDepositIndex(view returns (uint64)
33132
makerFeeRateE4(view returns (uint16)
10
marketStatus(view returns (uint8)
0
takerFeeRateE4(view returns (uint16)
20
withdrawFeeRateE4(view returns (uint16)
60
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.