OrderbookReserve

Verified contract

Active on Ethereum with 5 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 5 additional slots
ERC-20
--
0x64e06820ac09b648e0868a3a74c8ae2b65e09640d28b0094f1e91c5b5c343a9a
0x949bf25f373b21b665fddd7763cbeba02fd539336584a82c4a39347457652653
0x561824a0bdf6781c646748547f4be2e94e84a6bb2051705e09846ab5875d5f91
0xd42bd2d7a06e84bbae27d3cd8cf82690b450a7bf04d3ff6d8a65a188e4528235
0x3873a4fe6df46c1e0f26a59db65b5ee5c547811031093b63c3eacc8878648875

Functions
Getter at block 21331610
BURN_TO_STAKE_FACTOR(view returns (uint256)
5
HEAD_ID(view returns (uint32)
2
MAX_BURN_FEE_BPS(view returns (uint256)
100
MAX_USD_PER_ETH(view returns (uint256)
100000
MIN_REMAINING_ORDER_RATIO(view returns (uint256)
2
NUM_ORDERS(view returns (uint256)
32
TAIL_ID(view returns (uint32)
1
contracts(view returns (address kncTokenaddress tokenaddress feeBurneraddress kyberNetworkaddress medianizeraddress orderListFactory)
(kncToken=0xdd974d5c2e2928dea5f71b9825b8b646686bd200, token=0xcace207796655cd95368a64ecf59dbd0c3355b6c, feeBurner=0x52166528fcc12681af996e409ee3a421a4e128a3, kyberNetwork=0x9ae49c0d7f8f9ef4b864e004fe86ac8294e20950, medianizer=0x729d19f657bd0614b4985cf1d82531c67569197b, orderListFactory=0xe7d2c6c4e9a423412225e50464dcde99c803e42b)
ethToTokenList(view returns (address)
0xb5a5977a8f29585713d3878af7564dfa02d07b33
getEthToTokenOrderList(view returns (uint32[] orderList)
[]
getTokenToEthOrderList(view returns (uint32[] orderList)
[]
kncPerEthBaseRatePrecision(view returns (uint256)
919102740401821260447
kncRateBlocksTrade(view returns (bool)
false
limits(view returns (uint256 minNewOrderSizeUsduint256 maxOrdersPerTradeuint256 minNewOrderSizeWeiuint256 minOrderSizeWei)
(minNewOrderSizeUsd=1000, maxOrdersPerTrade=5, minNewOrderSizeWei=9176627130698111908, minOrderSizeWei=4588313565349055954)
makerBurnFeeBps(view returns (uint256)
25
tokenToEthList(view returns (address)
0x1ce4d8399269aebc1140c20edc638298e104add2
Read-only
calcBurnAmount(uint256 weiAmountview returns (uint256)
calcBurnAmountFromFeeBurner(uint256 weiAmountview returns (uint256)
calcKncStake(uint256 weiAmountview returns (uint256)
getBalance(address tokenaddress userview returns (uint256)
getConversionRate(address srcaddress dstuint256 srcQtyuint256 blockNumberview returns (uint256)
getEthToTokenAddOrderHint(uint128 srcAmountuint128 dstAmountview returns (uint32)
getEthToTokenMakerOrderIds(address makerview returns (uint32[] orderList)
getEthToTokenOrder(uint32 orderIdview returns (address _makeruint128 _srcAmountuint128 _dstAmountuint32 _prevIduint32 _nextId)
getEthToTokenUpdateOrderHint(uint32 orderIduint128 srcAmountuint128 dstAmountview returns (uint32)
getTokenToEthAddOrderHint(uint128 srcAmountuint128 dstAmountview returns (uint32)
getTokenToEthMakerOrderIds(address makerview returns (uint32[] orderList)
getTokenToEthOrder(uint32 orderIdview returns (address _makeruint128 _srcAmountuint128 _dstAmountuint32 _prevIduint32 _nextId)
getTokenToEthUpdateOrderHint(uint32 orderIduint128 srcAmountuint128 dstAmountview returns (uint32)
makerFunds(addressaddressview returns (uint256)
makerKnc(addressview returns (uint256)
makerOrdersEthToToken(addressview returns (uint32 firstOrderIduint256 takenBitmap)
makerOrdersTokenToEth(addressview returns (uint32 firstOrderIduint256 takenBitmap)
makerRequiredKncStake(address makerview returns (uint256)
makerTotalOrdersWei(addressview returns (uint256)
makerUnlockedKnc(address makerview returns (uint256)
State-modifying
addOrderBatch(bool[] isEthToTokenuint128[] srcAmountuint128[] dstAmountuint32[] hintPrevOrderbool[] isAfterPrevOrderreturns (bool)
cancelEthToTokenOrder(uint32 orderIdreturns (bool)
cancelTokenToEthOrder(uint32 orderIdreturns (bool)
depositEther(address makerpayable 
depositKncForFee(address makeruint256 amount
depositToken(address makeruint256 amount
init(returns (bool)
setKncPerEthBaseRate(
setMinOrderSizeEth(returns (bool)
submitEthToTokenOrder(uint128 srcAmountuint128 dstAmountreturns (bool)
submitEthToTokenOrderWHint(uint128 srcAmountuint128 dstAmountuint32 hintPrevOrderreturns (bool)
submitTokenToEthOrder(uint128 srcAmountuint128 dstAmountreturns (bool)
submitTokenToEthOrderWHint(uint128 srcAmountuint128 dstAmountuint32 hintPrevOrderreturns (bool)
trade(address srcTokenuint256 srcAmountaddress dstTokenaddress dstAddressuint256 conversionRatebool validatepayable returns (bool)
updateEthToTokenOrder(uint32 orderIduint128 newSrcAmountuint128 newDstAmountreturns (bool)
updateEthToTokenOrderWHint(uint32 orderIduint128 newSrcAmountuint128 newDstAmountuint32 hintPrevOrderreturns (bool)
updateOrderBatch(bool[] isEthToTokenuint32[] orderIduint128[] newSrcAmountuint128[] newDstAmountuint32[] hintPrevOrderreturns (bool)
updateTokenToEthOrder(uint32 orderIduint128 newSrcAmountuint128 newDstAmountreturns (bool)
updateTokenToEthOrderWHint(uint32 orderIduint128 newSrcAmountuint128 newDstAmountuint32 hintPrevOrderreturns (bool)
withdrawEther(uint256 amount
withdrawKncFee(uint256 amount
withdrawToken(uint256 amount
Events
EtherDeposited(address indexed makeruint256 amount
FullOrderTaken(address makeruint32 orderIdbool isEthToToken
KncFeeDeposited(address indexed makeruint256 amount
NewLimitOrder(address indexed makeruint32 orderIdbool isEthToTokenuint128 srcAmountuint128 dstAmountbool addedWithHint
OrderCanceled(address indexed makerbool isEthToTokenuint32 orderIduint128 srcAmountuint256 dstAmount
OrderUpdated(address indexed makerbool isEthToTokenuint256 orderIduint128 srcAmountuint128 dstAmountbool updatedWithHint
OrderbookReserveTrade(address srcTokenaddress dstTokenuint256 srcAmountuint256 dstAmount
PartialOrderTaken(address makeruint32 orderIdbool isEthToTokenbool isRemoved
TokenDeposited(address indexed makeruint256 amount
Constructor
constructor(address kncaddress reserveTokenaddress burneraddress networkaddress medianizeraddress factoryuint256 minNewOrderUsduint256 maxOrdersPerTradeuint256 burnFeeBps
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.