ExistingStakeManager
Verified contract
Active on
Ethereum with 3 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($544.60)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
HEX | ERC-20 | 192.012203K | $0.002836 |
$544.55 | |
HDRN | ERC-20 | 541.440831K | $0.00 |
$0.06 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20960103 | a month ago | | | 0 | 0.0095277618 | |
| 18259124 | a year ago | | | 0 | 0.017460368 | |
| 18257102 | a year ago | | | 0 | 0.0086956905 |
ABI
ABI objects
Getter at block 21274605
HEDRON() view returns (address)
0x3819f64f282bf135d62168c1e513280daf905e06
HSIM() view returns (address)
0x8bd3d1472a656e312e94fb1bbdd599b8c51d18e3
INDEX_RIGHT_TODAY() view returns (uint8)
128
MAX_DAYS() view returns (uint256)
5555
TARGET() view returns (address)
0x2b591e99afe9f32eaa6214f7b7629768c40eeb39
currencyListSize() view returns (uint256)
3
currentDay() view returns (uint256 day)
1820
defaultEncodedSettings() pure returns (uint256)
13
defaultSettings() pure returns (struct EncodableSettingsSettings)
((0, 0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0, 0), 0, 0, 0, (true, false, true, true, false, false, false, false))
externalPerpetualFilter() view returns (address)
0x0000000000000000000000000000000000000000
externalPerpetualSetter() view returns (address)
0x73cab6c9eda8abc28099af9f5dbd100aa998ae72
globalInfo() view returns (uint256[13])
[5694598890967194595, 901268379846007, 385252, 35020690000684, 1820, 8893118798766689171, 822716, 1786651846416372, 25673397100358, 30716, 1732656419, 60237621246163763072, 0]
Read-only
attributed(address token) view returns (uint256 balance)
balanceOf(address owner) view returns (uint256 amount)
checkEndable(address endable) view returns (bool isEndable)
clamp(uint256 amount, uint256 max) pure returns (uint256 clamped)
computeDayMagnitude(uint256 limit, uint256 method, uint256 x, uint256 today, uint256 lockedDay, uint256 stakedDays) pure returns (uint256 newMethod, uint256 numDays)
computeMagnitude(uint256 limit, struct MagnitudeLinear linear, uint256 v2, uint256 v1) pure returns (uint256 result)
computeTip(uint256 tip) view returns (uint256 limit, uint256 consumed)
createTo(uint256 settings, address owner) pure returns (uint256 to)
currencyToIndex(address token) view returns (uint256 index)
decodeConsentAbilities(uint256 abilities) pure returns (struct EncodableSettingsConsentAbilities)
decodeLinear(uint256 encodedLinear) pure returns (struct MagnitudeLinear linear)
decodeSettings(uint256 encoded) pure returns (struct EncodableSettingsSettings settings)
decrementCopyIterations(uint256 settings) pure returns (uint256)
encodeConsentAbilities(struct EncodableSettingsConsentAbilities consentAbilities) pure returns (uint256)
encodeInfo(uint256 index, address owner) pure returns (uint256 info)
encodeLinear(struct MagnitudeLinear linear) pure returns (uint256 encoded)
encodeSettings(struct EncodableSettingsSettings settings) pure returns (uint256 encoded)
encodeTipSettings(bool reusable, uint256 currencyIndex, uint256 amount, uint256 encodedLinear) pure returns (uint256)
getUnattributed(address token) view returns (uint256 amount)
hsiAddressToId(address hsiAddress) view returns (uint256)
hsiCount(address staker) view returns (uint256 count)
indexToToken(uint256) view returns (address)
isEarlyEnding(uint256 lockedDay, uint256 stakedDays, uint256 targetDay) pure returns (bool isEarly)
isGoodAccountable(address staker, uint256 index, uint256 stakeId) view returns (uint8)
isOneAtIndex(uint256 settings, uint256 index) pure returns (bool isOne)
isStakeIdGoodAccountable(uint256 stakeId) view returns (uint8)
perpetualWhitelist(address perpetual) view returns (bool isPerpetual)
readEncodedSettings(uint256 settings, uint256 fromEnd, uint256 length) pure returns (uint256)
rewardsTo(address perpetual, uint256 period) view returns (address to)
stakeCount(address staker) view returns (uint256 count)
stakeIdInfo(uint256 stakeId) view returns (uint256 info)
stakeIdSettings(uint256 stakeId) view returns (struct EncodableSettingsSettings)
stakeIdTipSize(uint256 stakeId) view returns (uint256)
stakeIdTips(uint256 stakeId, uint256) view returns (uint256 tips)
stakeIdToIndex(uint256 stakeId) view returns (uint256 index)
stakeIdToInfo(uint256 stakeId) view returns (uint256 index, address owner)
stakeIdToOwner(uint256 stakeId) view returns (address owner)
stakeIdToSettings(uint256 stakeId) view returns (uint256 settings)
stakeLists(address staker, uint256 index) view returns (struct IUnderlyingStakeableStakeStore stake)
verifyCustodian(uint256 stakeId) view
verifyStakeOwnership(address owner, uint256 stakeId) view
withdrawableBalanceOf(address token, address account) view returns (uint256 balance)
State-modifying
Events addCurrencyToList(address token) returns (uint256)
addTipToStake(bool reusable, address token, uint256 stakeId, uint256 amount, uint256 encodedLinear) payable returns (uint256, uint256)
checkAndDoStakeGoodAccounting(uint256 stakeId)
checkAndDoStakeGoodAccountingFor(address staker, uint256 index, uint256 stakeId)
checkPerpetual(address perpetual) returns (bool isPerpetual)
collectUnattributed(address token, bool transferOut, address to, uint256 amount) payable returns (uint256)
collectUnattributedPercent(address token, bool transferOut, address recipient, uint256 basisPoints) returns (uint256 amount)
depositAndAddTipToStake(bool reusable, address token, uint256 stakeId, uint256 amount, uint256 encodedLinear) payable returns (uint256, uint256)
depositHsi(uint256 tokenId, uint256 encodedSettings) returns (address hsiAddress)
depositToken(address token, uint256 amount) payable returns (uint256)
depositTokenTo(address token, address to, uint256 amount) payable returns (uint256)
depositTokenUnattributed(address token, uint256 amount)
flush(address gasReimberser, address perpetual, uint256 period, address[] tokens)
hsiStakeEndMany(address[] hsiAddresses) payable
hsiStakeEndManyWithTipTo(address[] hsiAddresses, address tipTo) payable
mintHedronRewards(uint256[] stakeIds)
multicall(bytes[] calls, bool allowFailures)
multicallWithDeadline(uint256 deadline, bytes[] calls, bool allowFailures)
multicallWithPreviousBlockHash(bytes32 previousBlockhash, bytes[] calls, bool allowFailures)
removeAllTips(uint256 stakeId)
removeTipsFromStake(uint256 stakeId, uint256[] indexes) payable
setExternalPerpetualFilter(address _externalPerpetualFilter)
stakeEnd(uint256 stakeIndex, uint40 stakeId)
stakeEndAs(address rewarded, address perpetual, uint256 stakeId)
stakeEndByConsent(uint256 stakeId) payable returns (uint256 delta, uint256 count)
stakeEndByConsentForMany(uint256[] stakeIds) payable
stakeEndByConsentForManyWithTipTo(uint256[] stakeIds, address tipTo) payable
stakeEndByConsentWithTipTo(uint256 stakeId, address tipTo) payable returns (uint256 delta, uint256 count)
stakeEndById(uint256 stakeId) returns (uint256 amount)
stakeGoodAccounting(address stakerAddr, uint256 stakeIndex, uint40 stakeIdParam)
stakeRestartById(uint256 stakeId) returns (uint256 amount, uint256 newStakeId)
stakeRestartManyById(uint256[] stakeIds)
stakeStart(uint256 amount, uint256 newStakedDays)
updateSettings(uint256 stakeId, struct EncodableSettingsSettings settings) payable
updateSettingsEncoded(uint256 stakeId, uint256 settings) payable
withdrawHsi(address hsiAddress) returns (uint256 tokenId)
withdrawTokenTo(address token, address to, uint256 amount) payable returns (uint256)
AddCurrency(address indexed token, uint256 indexed index)
AddPerpetual(address indexed perpetual)
AddTip(uint256 indexed stakeId, address indexed token, uint256 indexed index, uint256 settings)
CollectReward(address indexed perpetual, uint256 indexed period, address indexed token, uint256 amount)
CollectUnattributedToken(address indexed token, address indexed to, uint256 amount)
RemoveTip(uint256 indexed stakeId, address indexed token, uint256 indexed index, uint256 settings)
Tip(uint256 indexed stakeId, address indexed token, address indexed to, uint256 amount)
TxFailed(uint256 indexed index, bytes result)
UpdateSettings(uint256 indexed stakeId, uint256 settings)
This contract contains no constructor objects.
receive()
BlockHash(bytes32 expected, bytes32 actual)
Deadline(uint256 deadline, uint256 currentTime)
MustBeHolder()
NotAllowed()
StakeNotCustodied(uint256 stakeId)
StakeNotOwned(address provided, address expected)