YearnBoostedStaker

Verified contract

Active on Ethereum with 434 txns
Deployed by via 0xfee68814 at 19879001
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $883,577.62
0x8085ca8527f0fa37d82be6e670dd97905275d920438624441bd0a50b4687166f
0xaa295091c3f4ecfa22b923653de7a774602c3703efcfc9334c18d72770c59b3d
0xbd17417989c62fb6be2fddd5f73cd1ef6a4c1c294eb4c9d12619150f2030ae99
0x04b0e19ebddf4479b1f0702a05e26ca09db4c314c92e8f94f472dc68dc041bba
0x1174ef1b34a30452aa719926368c4bfd4557b2ce34b7cab100812947f8eeb95b
0x47364ae9af07ddd878c4a7cd7c3860e4d799d6ad720bf34b75eedbbdf2e3d0db
0x1548ad2686ba10ba194aea64ce52f7d992f4f487c345ee4809d6c117d17acb0a
0xbeb1e3ffc3f17686f526fcdf4bfa21a85e4f0df46792e38c9cbb101d9c5d17e1
0x78c500d8012af92446519bae737f0b0359b82e5b03ab3ea490d0d14989077dcb
0xdb55ce8f452b2b3fbafedf85e695393540c8d96d3323e37917400300d7dad8cb

Functions
Getter at block 21387982
MAX_STAKE_GROWTH_WEEKS(view returns (uint256)
4
MAX_WEEK_BIT(view returns (uint8)
16
START_TIME(view returns (uint256)
1691625600
decimals(view returns (uint8)
18
getGlobalWeight(view returns (uint256)
42193977128038675893781359
getWeek(view returns (uint256 week)
70
globalGrowthRate(view returns (uint112)
575147249841425847472388
globalLastUpdateWeek(view returns (uint16)
70
owner(view returns (address)
0xfeb4acf3df3cdea7399794d0869ef76a6efaff52
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
stakeToken(view returns (address)
0xe3668873d944e4a949da05fc8bde419eff543882
totalSupply(view returns (uint256)
17191229480987885486467358
Read-only
accountData(address accountview returns (uint112 realizedStakeuint112 pendingStakeuint16 lastUpdateWeekuint8 updateWeeksBitmap)
accountWeeklyMaxStake(address accountuint256 weekview returns (uint256 amount)
accountWeeklyToRealize(address accountuint256 weekview returns (uint128 weightPersistentuint128 weight)
approvedCaller(address accountaddress callerview returns (uint8 approvalStatus)
approvedWeightedStaker(address stakerview returns (bool approved)
balanceOf(address _accountview returns (uint256)
getAccountWeight(address accountview returns (uint256)
getAccountWeightAt(address _accountuint256 _weekview returns (uint256)
getGlobalWeightAt(uint256 weekview returns (uint256)
globalWeeklyMaxStake(uint256 weekview returns (uint256 amount)
globalWeeklyToRealize(uint256 weekview returns (uint128 weightPersistentuint128 weight)
State-modifying
acceptOwnership(
checkpointAccount(address _accountreturns (struct YearnBoostedStakerAccountData acctDatauint256 weight)
checkpointAccountWithLimit(address _accountuint256 _weekreturns (struct YearnBoostedStakerAccountData acctDatauint256 weight)
checkpointGlobal(returns (uint256)
setApprovedCaller(address _calleruint8 _status
setWeightedStaker(address _stakerbool _approved
stake(uint256 _amountreturns (uint256)
stakeAsMaxWeighted(address _accountuint256 _amountreturns (uint256)
stakeFor(address _accountuint256 _amountreturns (uint256)
sweep(address _token
transferOwnership(address _pendingOwner
unstake(uint256 _amountaddress _receiverreturns (uint256)
unstakeFor(address _accountuint256 _amountaddress _receiverreturns (uint256)
Events
ApprovedCallerSet(address indexed accountaddress indexed calleruint8 status
OwnershipTransferred(address indexed newOwner
Staked(address indexed accountuint256 indexed weekuint256 amountuint256 newUserWeightuint256 weightAdded
Unstaked(address indexed accountuint256 indexed weekuint256 amountuint256 newUserWeightuint256 weightRemoved
WeightedStakerSet(address indexed stakerbool approved
Constructor
constructor(address _tokenuint256 _max_stake_growth_weeksuint256 _start_timeaddress _owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.