Exchange

Verified contract

Active on Ethereum with 48 txns
Deployed by via 0xc09960ff at 8876566
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $11,523.36
ERC-20
--
ERC-20
--
ERC-20
--
0x0da08f7132524d6c9674ac9c5caacd580df034d733a5ff15d6c2bf347963ff82
0x1b82cf954644af5fa342dabb73ea112d323e0264686b8092600cc076a1f00f03
0x7e191f6a510cc4314e60dad84c64d1ea019663c2b5e86caabd3ade4704d470eb
0x409a6ed7a473ad9af250c1a10f9740d7e1bbafeba5520bc4329be9f6d1a03b3c
0x2cff67f47f9d4d7e0024b525de451e92995a277869c2b8065c9f3583c2bd9406
0xdfb9e385d9593c1003e37922ae9fb7454a08d1cc95a703bcd04749883f5e8192
0x777df40c70d0f915fef4f1dc274ff31a009323e5e6a813865bd4c355a96b2acd
0x68d28e45574fee64a42c8346ae4204842d38c190cb43602511dfc6931c1f89d0
0x813115c677e075b38ff25f029d0b41f12db12ba0f851a584944129dd63d12c93
0xc9159251033564d787e7e53b629d62566b8ec3cadedd56e4608608a78d7957e9

Functions
Getter at block 21200927
EtmTokenAddress(view returns (address)
0x0000000000000000000000000000000000000000
feeAccount(view returns (address)
0x95445852148540acb6fcb9e39856d15f1c416381
fistFuturesContract(view returns (address)
0x0c74f22130c985fa02e7105d6095fb782e9eb08c
getInactivityReleasePeriod(view returns (uint256)
500
inactivityReleasePeriod(view returns (uint256)
500
makerFee(view returns (uint256)
0
owner(view returns (address)
0x95445852148540acb6fcb9e39856d15f1c416381
takerFee(view returns (uint256)
2000000000000000
Read-only
admins(addressview returns (bool)
availableBalanceOf(address tokenaddress userview returns (uint256)
balanceOf(address tokenaddress userview returns (uint256)
balances(addressaddressview returns (uint256)
futuresContracts(addressview returns (bool)
futuresContractsAddedBlock(addressview returns (uint256)
getMakerTakerBalances(address tokenaddress makeraddress takerview returns (uint256[4])
getReserve(address tokenaddress userview returns (uint256)
getUserBalances(address tokenaddress userview returns (uint256[2])
lastActiveTransaction(addressview returns (uint256)
orderFills(bytes32view returns (uint256)
userAllowedFuturesContracts(addressaddressview returns (bool)
userFirstDeposits(addressview returns (uint256)
withdrawn(bytes32view returns (bool)
State-modifying
addBalanceAddReserve(address tokenaddress useruint256 addBalanceuint256 addReservereturns (bool)
addBalanceSubReserve(address tokenaddress useruint256 addBalanceuint256 subReservereturns (bool)
adminWithdraw(address tokenuint256 amountaddress useruint256 nonceuint8 vbytes32 rbytes32 suint256 feeWithdrawalreturns (bool success)
allowFuturesContractForUser(address futuresContractaddress useruint8 vbytes32 rbytes32 s
assert(bool assertion
batchAdminWithdraw(address[] tokenuint256[] amountaddress[] useruint256[] nonceuint8[] vbytes32[] rbytes32[] suint256[] feeWithdrawal
batchOrderTrade(uint8[2][] vbytes32[4][] rsuint256[8][] tradeValuesaddress[6][] tradeAddresses
cancelOrder(uint8[2] vbytes32[4] rsuint256[5] cancelValuesaddress[4] cancelAddresses
decodeBalanceAndReserve(address tokenaddress userreturns (uint256[2])
deposit(payable 
depositForUser(address userpayable 
depositToken(address tokenuint128 amount
depositToken(address tokenuint128 amountaddress user
futuresContractAllowed(address futuresContractaddress userreturns (bool)
getOwner(returns (address out)
safeAdd(uint256 auint256 breturns (uint256)
safeMul(uint256 auint256 breturns (uint256)
safeSub(uint256 auint256 breturns (uint256)
setAdmin(address adminbool isAdmin
setBalance(address tokenaddress useruint256 amountreturns (bool success)
setFees(uint256 makerFee_uint256 takerFee_
setFuturesContract(address futuresContractbool isFuturesContract
setInactivityReleasePeriod(uint256 expiryreturns (bool success)
setOwner(address newOwner
setReserve(address tokenaddress useruint256 amountreturns (bool success)
subBalanceAddReserve(address tokenaddress useruint256 subBalanceuint256 addReservereturns (bool)
subBalanceSubReserve(address tokenaddress useruint256 subBalanceuint256 subReservereturns (bool)
trade(uint8[2] vbytes32[4] rsuint256[8] tradeValuesaddress[6] tradeAddressesreturns (uint256 filledTakerTokenAmount)
userAllowFuturesContract(address futuresContract
withdraw(address tokenuint256 amountreturns (bool success)
Events
AllowFuturesContract(address futuresContractaddress user
CancelOrder(bytes32 indexed cancelHashbytes32 indexed orderHashaddress indexed useraddress tokenSelluint256 amountSelluint256 cancelFee
Deposit(address indexed tokenaddress indexed useruint256 amountuint256 balance
FeeChange(uint256 indexed makerFeeuint256 indexed takerFee
InactivityReleasePeriodChange(uint256 value
LogAddress(uint8 idaddress value
LogBool(uint8 idbool value
LogError(uint8 indexed errorIdbytes32 indexed makerOrderHashbytes32 indexed takerOrderHash
LogUint(uint8 iduint256 value
SetFuturesContract(address futuresContractbool isFuturesContract
SetOwner(address indexed previousOwneraddress indexed newOwner
Trade(address takerTokenBuyuint256 takerAmountBuyaddress takerTokenSelluint256 takerAmountSelladdress makeraddress indexed takeruint256 makerFeeuint256 takerFeeuint256 makerAmountTakenuint256 takerAmountTakenbytes32 indexed makerOrderHashbytes32 indexed takerOrderHash
Withdraw(address indexed tokenaddress indexed useruint256 amountuint256 balanceuint256 withdrawFee
Constructor
constructor(address feeAccount_uint256 makerFee_uint256 takerFee_uint256 inactivityReleasePeriod_
Fallback and receive
fallback(
Errors

This contract contains no error objects.