YearnRewards

Verified contract

Active on Ethereum with 794 txns
Deployed by via 0xea4b160f at 10725355
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0xcc39c7fb4c4db18896d585287d26fdcdd6f5343eb7882d8b379910ee2b11a76a
0x554796b7f75fa66e42eb3c8f29e968d274b6f056ad6deaa7b92c7abadaef0a3b
0x5f91f1a8084affdebf653c5c615fc6d3ef325b736405390f99c4054afe26966f
0x7b557c04c8e0dc70f86442bce0ba5c942ea7d0349ceb4c16e8c2ca3784f0a37d
0xf4b50251752684f2f7a9589627cf0edb57ba7777deabaed2c203bf33950a3579
0xf4267450252ea00ddda6935ec1df896eab668a0881344745f336ff0120b253b5
0x544fc595a1e4ed64b65af7b3c07cb842cb1d6a5987a1115b9c01a72e1c1e6e03
0x804a304a3f0fb134cb81284934192ebda4aa2140c7cd3c63b7c6208bba9a7870
0x11d79fb40dbd4d90c5bf40c42c7bca667b3a128c44b7a204148567dc5294aff9
0xdbd21e39fb79b0d5cad837cccce547a52530aeafde607f4af0fe5e8e0baf80c6

Functions
Getter at block 21210656
DURATION(view returns (uint256)
6048000
FourtyPercentBonus(view returns (uint256)
400000000000000000
TenPercentBonus(view returns (uint256)
100000000000000000
ThirtyPercentBonus(view returns (uint256)
300000000000000000
TwentyPercentBonus(view returns (uint256)
200000000000000000
bpt(view returns (address)
0x3bf1b837ccc1f62114a3e74ced4fcfb121d7e52a
calculateCycle(view returns (address)
0x3d3eb13738c72a81e93fcf13ce7a8b3aaabac654
deployedTime(view returns (uint256)
1598302223
devfund(view returns (address)
0x57241e5f9a8e6ff569b368ea5c9ca7c0e1a9c175
isOwner(view returns (bool)
false
lastTimeRewardApplicable(view returns (uint256)
1604361560
lastUpdateTime(view returns (uint256)
1604011767
multiplier(view returns (address)
0x64912352749e2be98c374b93a57f301f95cf1bff
napsDiscountRange(view returns (uint256)
28800
napsLevelOneCost(view returns (uint256)
1000000000000000000000
napsLevelThreeCost(view returns (uint256)
3000000000000000000000
napsLevelTwoCost(view returns (uint256)
2000000000000000000000
owner(view returns (address)
0x50b3830641a5fd46ac191f168e3eac638c40343c
periodFinish(view returns (uint256)
1604361560
rewardPerToken(view returns (uint256)
65571818347011277590092884
rewardPerTokenStored(view returns (uint256)
53830966651662169078965106
rewardRate(view returns (uint256)
156987083960044231
totalSupply(view returns (uint256)
4677086848936894
yfi(view returns (address)
0x66b3037aa8dd64c3ef1aee13a4d1f2509f672d1c
Read-only
NAPSlevel(addressview returns (uint256)
balanceOf(address accountview returns (uint256)
calculateCost(uint256 levelview returns (uint256)
earned(address accountview returns (uint256)
getLevel(address accountview returns (uint256)
getSpent(address accountview returns (uint256)
getTotalMultiplier(address accountview returns (uint256)
rewards(addressview returns (uint256)
spentNAPS(addressview returns (uint256)
userRewardPerTokenPaid(addressview returns (uint256)
State-modifying
exit(
getReward(
modify(address rewardTokenaddress stakingTokenuint256 duration
notifyRewardAmount(uint256 reward
purchase(uint256 level
renounceOwnership(
setCycleContract(address _cycleContract
setDevfund(address _devfund
setMultiplierAddress(address multiplierAddress
setRewardDistribution(address _rewardDistribution
stake(uint256 amount
transferOwnership(address newOwner
withdraw(uint256 amount
Events
Boost(uint256 level
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardAdded(uint256 reward
RewardPaid(address indexed useruint256 reward
Staked(address indexed useruint256 amount
Withdrawn(address indexed useruint256 amount
Constructor
constructor(address rewardTokenaddress stakingTokenaddress calculateCycleAddraddress multiplierAddr
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.