IHEX

XfLobbyEnter

event XfLobbyEnter(uint256 data0, address memberAddr, uint256 entryId, address referrerAddr)

XfLobbyExit

event XfLobbyExit(uint256 data0, address memberAddr, uint256 entryId, address referrerAddr)

DailyDataUpdate

event DailyDataUpdate(uint256 data0, address updaterAddr)

Claim

event Claim(uint256 data0, uint256 data1, bytes20 btcAddr, address claimToAddr, address referrerAddr)

ClaimAssist

event ClaimAssist(uint256 data0, uint256 data1, uint256 data2, address senderAddr)

StakeStart

event StakeStart(uint256 data0, address stakerAddr, uint40 stakeId)

StakeGoodAccounting

event StakeGoodAccounting(uint256 data0, uint256 data1, address stakerAddr, uint40 stakeId, address senderAddr)

StakeEnd

event StakeEnd(uint256 data0, uint256 data1, address stakerAddr, uint40 stakeId)

ShareRateChange

event ShareRateChange(uint256 data0, uint40 stakeId)

stakeLists

function stakeLists(address staker, uint256 index) external view returns (struct IUnderlyingStakeable.StakeStore)

retrieve a stake at a staker's index given a staker address and an index

Parameters

Name Type Description
staker address the staker in question
index uint256 the index to focus on

Return Values

Name Type Description
[0] struct IUnderlyingStakeable.StakeStore stake the stake custodied by a given staker at a given index

currentDay

function currentDay() external view returns (uint256)

retrieve the current day from the target contract

Return Values

Name Type Description
[0] uint256 day the current day according to the hex contract

globalInfo

function globalInfo() external view returns (uint256[13])

retrieve the global info from the target contract (hex) updated at the first start or end stake on any given day

dailyData

function dailyData(uint256 day) external view returns (uint72 dayPayoutTotal, uint72 dayStakeSharesTotal, uint56 dayUnclaimedSatoshisTotal)

dailyDataRange

function dailyDataRange(uint256 beginDay, uint256 endDay) external view returns (uint256[] list)