ExistingStakeManager

Verified contract

Active on Ethereum with 3 txns
Deployed by via 0xf896fe6e at 18244140
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $544.55
ERC-20
Value $0.06
0x3154a4d7e251367813df5e859d64005f8106701f8cba03b6125fdb6c1437641f
0x280f81f5d2d3e79b575df584cec66c197d31f30d3f894b3dfcf095658e371cfb
0x285a3d999c69b0cae73c9133361539e8323468c15e4b51625746c5625fc5d653

Functions
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 tokenview returns (uint256 balance)
balanceOf(address ownerview returns (uint256 amount)
checkEndable(address endableview returns (bool isEndable)
clamp(uint256 amountuint256 maxpure returns (uint256 clamped)
computeDayMagnitude(uint256 limituint256 methoduint256 xuint256 todayuint256 lockedDayuint256 stakedDayspure returns (uint256 newMethoduint256 numDays)
computeMagnitude(uint256 limitstruct MagnitudeLinear linearuint256 v2uint256 v1pure returns (uint256 result)
computeTip(uint256 tipview returns (uint256 limituint256 consumed)
createTo(uint256 settingsaddress ownerpure returns (uint256 to)
currencyToIndex(address tokenview returns (uint256 index)
decodeConsentAbilities(uint256 abilitiespure returns (struct EncodableSettingsConsentAbilities)
decodeLinear(uint256 encodedLinearpure returns (struct MagnitudeLinear linear)
decodeSettings(uint256 encodedpure returns (struct EncodableSettingsSettings settings)
decrementCopyIterations(uint256 settingspure returns (uint256)
encodeConsentAbilities(struct EncodableSettingsConsentAbilities consentAbilitiespure returns (uint256)
encodeInfo(uint256 indexaddress ownerpure returns (uint256 info)
encodeLinear(struct MagnitudeLinear linearpure returns (uint256 encoded)
encodeSettings(struct EncodableSettingsSettings settingspure returns (uint256 encoded)
encodeTipSettings(bool reusableuint256 currencyIndexuint256 amountuint256 encodedLinearpure returns (uint256)
getUnattributed(address tokenview returns (uint256 amount)
hsiAddressToId(address hsiAddressview returns (uint256)
hsiCount(address stakerview returns (uint256 count)
indexToToken(uint256view returns (address)
isEarlyEnding(uint256 lockedDayuint256 stakedDaysuint256 targetDaypure returns (bool isEarly)
isGoodAccountable(address stakeruint256 indexuint256 stakeIdview returns (uint8)
isOneAtIndex(uint256 settingsuint256 indexpure returns (bool isOne)
isStakeIdGoodAccountable(uint256 stakeIdview returns (uint8)
perpetualWhitelist(address perpetualview returns (bool isPerpetual)
readEncodedSettings(uint256 settingsuint256 fromEnduint256 lengthpure returns (uint256)
rewardsTo(address perpetualuint256 periodview returns (address to)
stakeCount(address stakerview returns (uint256 count)
stakeIdInfo(uint256 stakeIdview returns (uint256 info)
stakeIdSettings(uint256 stakeIdview returns (struct EncodableSettingsSettings)
stakeIdTipSize(uint256 stakeIdview returns (uint256)
stakeIdTips(uint256 stakeIduint256view returns (uint256 tips)
stakeIdToIndex(uint256 stakeIdview returns (uint256 index)
stakeIdToInfo(uint256 stakeIdview returns (uint256 indexaddress owner)
stakeIdToOwner(uint256 stakeIdview returns (address owner)
stakeIdToSettings(uint256 stakeIdview returns (uint256 settings)
stakeLists(address stakeruint256 indexview returns (struct IUnderlyingStakeableStakeStore stake)
verifyCustodian(uint256 stakeIdview 
verifyStakeOwnership(address owneruint256 stakeIdview 
withdrawableBalanceOf(address tokenaddress accountview returns (uint256 balance)
State-modifying
addCurrencyToList(address tokenreturns (uint256)
addTipToStake(bool reusableaddress tokenuint256 stakeIduint256 amountuint256 encodedLinearpayable returns (uint256uint256)
checkAndDoStakeGoodAccounting(uint256 stakeId
checkAndDoStakeGoodAccountingFor(address stakeruint256 indexuint256 stakeId
checkPerpetual(address perpetualreturns (bool isPerpetual)
collectUnattributed(address tokenbool transferOutaddress touint256 amountpayable returns (uint256)
collectUnattributedPercent(address tokenbool transferOutaddress recipientuint256 basisPointsreturns (uint256 amount)
depositAndAddTipToStake(bool reusableaddress tokenuint256 stakeIduint256 amountuint256 encodedLinearpayable returns (uint256uint256)
depositHsi(uint256 tokenIduint256 encodedSettingsreturns (address hsiAddress)
depositToken(address tokenuint256 amountpayable returns (uint256)
depositTokenTo(address tokenaddress touint256 amountpayable returns (uint256)
depositTokenUnattributed(address tokenuint256 amount
flush(address gasReimberseraddress perpetualuint256 periodaddress[] tokens
hsiStakeEndMany(address[] hsiAddressespayable 
hsiStakeEndManyWithTipTo(address[] hsiAddressesaddress tipTopayable 
mintHedronRewards(uint256[] stakeIds
multicall(bytes[] callsbool allowFailures
multicallWithDeadline(uint256 deadlinebytes[] callsbool allowFailures
multicallWithPreviousBlockHash(bytes32 previousBlockhashbytes[] callsbool allowFailures
removeAllTips(uint256 stakeId
removeTipsFromStake(uint256 stakeIduint256[] indexespayable 
setExternalPerpetualFilter(address _externalPerpetualFilter
stakeEnd(uint256 stakeIndexuint40 stakeId
stakeEndAs(address rewardedaddress perpetualuint256 stakeId
stakeEndByConsent(uint256 stakeIdpayable returns (uint256 deltauint256 count)
stakeEndByConsentForMany(uint256[] stakeIdspayable 
stakeEndByConsentForManyWithTipTo(uint256[] stakeIdsaddress tipTopayable 
stakeEndByConsentWithTipTo(uint256 stakeIdaddress tipTopayable returns (uint256 deltauint256 count)
stakeEndById(uint256 stakeIdreturns (uint256 amount)
stakeGoodAccounting(address stakerAddruint256 stakeIndexuint40 stakeIdParam
stakeRestartById(uint256 stakeIdreturns (uint256 amountuint256 newStakeId)
stakeRestartManyById(uint256[] stakeIds
stakeStart(uint256 amountuint256 newStakedDays
updateSettings(uint256 stakeIdstruct EncodableSettingsSettings settingspayable 
updateSettingsEncoded(uint256 stakeIduint256 settingspayable 
withdrawHsi(address hsiAddressreturns (uint256 tokenId)
withdrawTokenTo(address tokenaddress touint256 amountpayable returns (uint256)
Events
AddCurrency(address indexed tokenuint256 indexed index
AddPerpetual(address indexed perpetual
AddTip(uint256 indexed stakeIdaddress indexed tokenuint256 indexed indexuint256 settings
CollectReward(address indexed perpetualuint256 indexed periodaddress indexed tokenuint256 amount
CollectUnattributedToken(address indexed tokenaddress indexed touint256 amount
RemoveTip(uint256 indexed stakeIdaddress indexed tokenuint256 indexed indexuint256 settings
Tip(uint256 indexed stakeIdaddress indexed tokenaddress indexed touint256 amount
TxFailed(uint256 indexed indexbytes result
UpdateSettings(uint256 indexed stakeIduint256 settings
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
BlockHash(bytes32 expectedbytes32 actual
Deadline(uint256 deadlineuint256 currentTime
MustBeHolder(
NotAllowed(
StakeNotCustodied(uint256 stakeId
StakeNotOwned(address providedaddress expected