OrderbookReserve

Verified contract

Active on Ethereum with 16 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
Value $0.18
ERC-20
--
0x7ffa78df76be1a64845ffe0ee1cadb9530f533b84f03225dae75396e7649ca5e
0xfa1e6688b1253880dc0721e3c8be71f6d84d9b81640bdffee3111fb06c43b89f
0x5e93f7f3406cdb8fc227deaa7136d6c8d6863b0d3bcbe2910a9d4cbebb952ea7
0xe9e9bbbda01659d8dceb08af2598d5beb880048b6cd2664208205df8467c877b
0x9a4b789bd5096f898cf125b68d6f57987c7bad0d65052f8f0761a7432b9664ae
0xb897e768d365f7cec3130d29c61f7c6841e49a4ce42917c943f0a41fbb07bc57
0xf742df8cba53a8ed87d520a249bdd71eca244ed44a29b128ddf6f1e415d9eb68
0x3c2180ff291207410bde27a88d2e7906e6b9a57eaaa8374058d49a42c0d9b73e
0x049dd443a13eaa4a3e674b52892ed69404050ad44797cf76af91b7203c6d20f8
0xb37c0eab4989117037d0d1c1d5e9e4bcc32b43f9d9a161da6541763e8d4bac1b

Functions
Getter at block 21304868
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=0xdba8e8021fe321af91fc3a08e223ef15908cb2bb, feeBurner=0x52166528fcc12681af996e409ee3a421a4e128a3, kyberNetwork=0x9ae49c0d7f8f9ef4b864e004fe86ac8294e20950, medianizer=0x729d19f657bd0614b4985cf1d82531c67569197b, orderListFactory=0xe7d2c6c4e9a423412225e50464dcde99c803e42b)
ethToTokenList(view returns (address)
0x69845d71723a39701af11d2d79e95c2e46ba7d2f
getEthToTokenOrderList(view returns (uint32[] orderList)
[]
getTokenToEthOrderList(view returns (uint32[] orderList)
[]
kncPerEthBaseRatePrecision(view returns (uint256)
394450198150771526598
kncRateBlocksTrade(view returns (bool)
false
limits(view returns (uint256 minNewOrderSizeUsduint256 maxOrdersPerTradeuint256 minNewOrderSizeWeiuint256 minOrderSizeWei)
(minNewOrderSizeUsd=1000, maxOrdersPerTrade=5, minNewOrderSizeWei=7414135048469907879, minOrderSizeWei=3707067524234953939)
makerBurnFeeBps(view returns (uint256)
25
tokenToEthList(view returns (address)
0x0bb90a191ae558f5c9cef2f8db9de8022996f0a6
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.