YearnBoostedStaker
Verified contract
Active on
Ethereum with 434 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($883,577.62)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
yPRISMA | ERC-20 | 17.191229M | $0.051397 |
$883,577.62 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21376010 | 2 days ago | | | 0 | 0.0056698475 | |
| 21365758 | 3 days ago | | | 0 | 0.0033025875 | |
| 21365082 | 3 days ago | | | 0 | 0.0052145136 | |
| 21355803 | 4 days ago | | | 0 | 0.0025640717 | |
| 21351520 | 5 days ago | | | 0 | 0.0079910045 | |
| 21336662 | 7 days ago | | | 0 | 0.0039661226 | |
| 21334653 | 7 days ago | | | 0 | 0.013183267 | |
| 21300333 | 12 days ago | | | 0 | 0.0037782699 | |
| 21278419 | 15 days ago | | | 0 | 0.00067669361 | |
| 21271159 | 16 days ago | | | 0 | 0.0030309036 |
ABI
ABI objects
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 account) view returns (uint112 realizedStake, uint112 pendingStake, uint16 lastUpdateWeek, uint8 updateWeeksBitmap)
accountWeeklyMaxStake(address account, uint256 week) view returns (uint256 amount)
accountWeeklyToRealize(address account, uint256 week) view returns (uint128 weightPersistent, uint128 weight)
approvedCaller(address account, address caller) view returns (uint8 approvalStatus)
approvedWeightedStaker(address staker) view returns (bool approved)
balanceOf(address _account) view returns (uint256)
getAccountWeight(address account) view returns (uint256)
getAccountWeightAt(address _account, uint256 _week) view returns (uint256)
getGlobalWeightAt(uint256 week) view returns (uint256)
globalWeeklyMaxStake(uint256 week) view returns (uint256 amount)
globalWeeklyToRealize(uint256 week) view returns (uint128 weightPersistent, uint128 weight)
State-modifying
Events acceptOwnership()
checkpointAccount(address _account) returns (struct YearnBoostedStakerAccountData acctData, uint256 weight)
checkpointAccountWithLimit(address _account, uint256 _week) returns (struct YearnBoostedStakerAccountData acctData, uint256 weight)
checkpointGlobal() returns (uint256)
setApprovedCaller(address _caller, uint8 _status)
setWeightedStaker(address _staker, bool _approved)
stake(uint256 _amount) returns (uint256)
stakeAsMaxWeighted(address _account, uint256 _amount) returns (uint256)
stakeFor(address _account, uint256 _amount) returns (uint256)
sweep(address _token)
transferOwnership(address _pendingOwner)
unstake(uint256 _amount, address _receiver) returns (uint256)
unstakeFor(address _account, uint256 _amount, address _receiver) returns (uint256)
ApprovedCallerSet(address indexed account, address indexed caller, uint8 status)
OwnershipTransferred(address indexed newOwner)
Staked(address indexed account, uint256 indexed week, uint256 amount, uint256 newUserWeight, uint256 weightAdded)
Unstaked(address indexed account, uint256 indexed week, uint256 amount, uint256 newUserWeight, uint256 weightRemoved)
WeightedStakerSet(address indexed staker, bool approved)
constructor(address _token, uint256 _max_stake_growth_weeks, uint256 _start_time, address _owner)
This contract contains no fallback and receive objects.
This contract contains no error objects.