HodlDex

Verified contract

Active on Ethereum with 4,377 txns
Deployed by via 0x291fac4a at 10544997
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
-
variable spans 4 additional slots
-
variable spans 1 additional slot
Native
Value $21,997.29
ERC-20
--
0x4fa59c88b691408eb9cd9d752b0479fc9aa6710e8439e42c871cb52bcbdfb75f
0x70439ebeb945eb8a90a5ca16a34d012db026e0b7944397f9aef755335a2722bd
0x4c4740633f82952c0f146f2c0512ef0967cc05a94dd0f9e3a0fd4f3bb5621526
0x1575c605c65eaa8e2a451480237e430714041c6ecac461da8bc70cb9fd1f7f8c
0x76f2c5f81f0000674ee40bf81e43cc85a0459cd4a9af586d522732efdb05a6af
0xd3e859ca4ea82c7dacabb7d5f5ddd2aa1ee1a966e0afa279fb154cef2583df1b
0x1a36714ca6f771a6a322df62d496ec9ca8e36abae31208db648fe294505c2349
0xafe5878ed0972fe9b1ba6e3b0d2dd24777a226b94d6037ed97582b869a3bca65
0xca3e062af42fc4dfc3b30bd36185beee0b877d9229c4de17bd06dba406d16f6a
0x18da5a90a68f4acc688bc9dae59d0b05b8b834c616cb3f16b25139f1b077a167

Functions
Getter at block 21299836
BIRTHDAY(view returns (uint256)
1595899309
accrualDaysProcessed(view returns (uint256)
113
buyOrderCount(view returns (uint256 count)
0
buyOrderFirst(view returns (bytes32 orderId)
0x0000000000000000000000000000000000000000000000000000000000000000
buyOrderLast(view returns (bytes32 orderId)
0x0000000000000000000000000000000000000000000000000000000000000000
contractBalanceEth(view returns (uint256 ineth)
5962907920425658691
distributionDelay(view returns (uint256)
86400
distributionNext(view returns (uint256)
51
distributionsLength(view returns (uint256 row)
51
entropyCounter(view returns (uint256)
437
hodlTAddr(view returns (address)
0xe95bcb1edf596bf040d4a0d81930b25fc13174f0
hodlerCount(view returns (uint256 count)
170
isAccruing(view returns (bool accruing)
true
isRunning(view returns (bool running)
true
makerAddr(view returns (address)
0x729d19f657bd0614b4985cf1d82531c67569197b
maxDistributionUsd(view returns (uint256)
250000000000000000000
maxOrderUsd(view returns (uint256)
500000000000000000000
maxThresholdUsd(view returns (uint256)
10000000000000000000
minOrderUsd(view returns (uint256)
50000000000000000000
orderLimit(view returns (uint256 limitUsd)
500000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
rates(view returns (uint256 hodlUsduint256 dailyAccrualRate)
(hodlUsd=1495974079077603308, dailyAccrualRate=1001882400556486689)
sellOrderCount(view returns (uint256 count)
25
sellOrderFirst(view returns (bytes32 orderId)
0x74f46fb7dae2f5c342ca755344216830a81fb8bb1c87a622e48da91b53b96ac7
sellOrderLast(view returns (bytes32 orderId)
0x3b48b2ebccc2ca00bc1b84e3270ae785a95577e3d1069fe1d7bbcfd90e1bf94a
Read-only
buyOrder(bytes32view returns (address buyeruint256 bidEth)
buyOrderIterate(bytes32 orderIdview returns (bytes32 ifBeforebytes32 idAfter)
convertEthToHodl(uint256 amtEthview returns (uint256 inHodl)
convertEthToUsd(uint256 amtEthview returns (uint256 inUsd)
convertHodlToEth(uint256 amtHodlview returns (uint256 inEth)
convertHodlToUsd(uint256 amtHodlview returns (uint256 inUsd)
convertUsdToEth(uint256 amtUsdview returns (uint256 inEth)
convertUsdToHodl(uint256 amtUsdview returns (uint256 inHodl)
distribution(uint256view returns (uint256 amountEthuint256 timeStamp)
hodlerAtIndex(uint256 indexview returns (address userAddr)
sellOrder(bytes32view returns (address selleruint256 volumeHodluint256 askUsd)
sellOrderIterate(bytes32 orderIdview returns (bytes32 idBeforebytes32 idAfter)
user(address userAddrview returns (uint256 balanceEthuint256 balanceHodl)
userBuyOrderCount(address userAddrview returns (uint256 count)
userBuyOrderFirst(address userAddrview returns (bytes32 orderId)
userBuyOrderIdFifo(address userAddrbytes32 orderIdview returns (bytes32 idBeforebytes32 idAfter)
userBuyOrderLast(address userAddrview returns (bytes32 orderId)
userSellOrderCount(address userAddrview returns (uint256 count)
userSellOrderFirst(address userAddrview returns (bytes32 orderId)
userSellOrderIterate(address userAddrbytes32 orderIdview returns (bytes32 idBeforebytes32 idAfter)
userSellOrderLast(address userAddrview returns (bytes32 orderId)
State-modifying
buyHodlC(uint256 amountEthuint256 lowGasreturns (bytes32 orderId)
cancelBuy(bytes32 orderId
cancelSell(bytes32 orderId
depositEth(payable 
hodlTIssue(uint256 amount
hodlTRedeem(uint256 amount
initResetUser(address userAddr
initSetHodlTAddress(address hodlToken
initSetHodlUsd(uint256 price
initSetMaker(address _maker
initUser(address userAddruint256 hodlpayable 
poke(
renounceOwnership(
sellHodlC(uint256 quantityHodluint256 lowGasreturns (bytes32 orderId)
transferOwnership(address newOwner
withdrawEth(uint256 amount
Events
BuyFromReserve(address indexed buyeruint256 txnEthuint256 txnHodl
BuyHodlC(address indexed buyeruint256 amountEthuint256 lowGas
BuyOrderCancelled(address indexed userAddrbytes32 indexed orderId
BuyOrderFilled(address indexed sellerbytes32 indexed orderIdaddress indexed buyeruint256 txnEthuint256 txnHodl
BuyOrderOpened(bytes32 indexed orderedIdaddress indexed buyeruint256 amountEth
BuyOrderRefunded(address indexed sellerbytes32 indexed orderIduint256 refundedEth
Deployed(address admin
DistributionAwarded(address processoruint256 indexed indexaddress indexed recipientuint256 amount
HodlTIssued(address indexed useruint256 amount
HodlTRedeemed(address indexed useruint256 amount
MakerSet(address adminaddress maker
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PriceSet(address adminuint256 hodlUsd
SellHodlC(address indexed selleruint256 quantityHodluint256 lowGas
SellOrderCancelled(address indexed userAddrbytes32 indexed orderId
SellOrderFilled(address indexed buyerbytes32 indexed orderIdaddress indexed selleruint256 txnEthuint256 txnHodl
SellOrderOpened(bytes32 indexed orderIdaddress indexed selleruint256 quantityHodluint256 askUsd
TokenSet(address adminaddress hodlToken
UserDepositEth(address indexed useruint256 amountEth
UserInitialized(address adminaddress indexed useruint256 hodlCRuint256 ethCR
UserUninitialized(address adminaddress indexed useruint256 hodlDBuint256 ethDB
UserWithdrawEth(address indexed useruint256 amountEth
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.