OrderbookReserve

Verified contract

Active on Ethereum with 247 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
Native
Value $0.03
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x7c3d9763e3953b48d9eee929f9f1eae3b440aae4f12a2a646cf4f3f12f2db002
0x8cf423d97cb4adbdaaf2a19abf1bcc29d2dfc17dfaba855952713d004b33a1d7
0x22ba9cbe72e207803488a722a459ac1e3f5ece8965bc1cc876bc8700e096fdda
0xbdfc1b330eb27bec95abd8fce5bb46b1f6ca1bf6077b3bf88e28b0d7de977f3d
0xd1d9acbe716aa4c2512eb4b9bc5405c79085f703658070c4c392c52134d9a177
0x98a055819ba576e8329203fedc72bec5bb9c5928b373e88c2326837e3c76e9c5
0x2b13909811f4ce71da45ca350a6be5edf97c30236a1252464fc18e5a30ceb145
0xb80b3c319c45853c0c9a46e2eebbdc50bdd4fbe67773a24e27fc13ce7194bc16
0x82c62ea745b65e4346333ae854101fb7090203fe6dcc95954b2c16a37373c604
0xd5f1b4f9e08ef967eb429041529425690640460da5ab6a1e03c56c1d95e2ff1b

Functions
Getter at block 21189465
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=0x0e8d6b471e332f140e7d9dbb99e5e3822f728da6, feeBurner=0x52166528fcc12681af996e409ee3a421a4e128a3, kyberNetwork=0x9ae49c0d7f8f9ef4b864e004fe86ac8294e20950, medianizer=0x729d19f657bd0614b4985cf1d82531c67569197b, orderListFactory=0xe7d2c6c4e9a423412225e50464dcde99c803e42b)
ethToTokenList(view returns (address)
0x9f097a05a067221870f830ab5a8608ac0a649039
getEthToTokenOrderList(view returns (uint32[] orderList)
[]
getTokenToEthOrderList(view returns (uint32[] orderList)
[]
kncPerEthBaseRatePrecision(view returns (uint256)
1019504140626755192640
kncRateBlocksTrade(view returns (bool)
false
limits(view returns (uint256 minNewOrderSizeUsduint256 maxOrdersPerTradeuint256 minNewOrderSizeWeiuint256 minOrderSizeWei)
(minNewOrderSizeUsd=1000, maxOrdersPerTrade=5, minNewOrderSizeWei=4083090899811157045, minOrderSizeWei=2041545449905578522)
makerBurnFeeBps(view returns (uint256)
25
tokenToEthList(view returns (address)
0x29bf8237c3850ccb94bbb18f4003606583869918
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.