YearnRewards

Verified contract

Active on Ethereum with 1,922 txns
Deployed by via 0x64dd9047 at 10730231
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x4d5ada4f217f23de1050a7f21ff3491eb081be054e5f0963fe731bf40c380d86
0xb8955363c49f663e1d7b1adbe06fa9a5bd5e12b20e73919988dc883ac5d71b11
0x1d3938704c4400a1332e3af0e87cf6b9bcd56f643a1f6edf71b86055ba11d479
0xc8a3769d7e544738bff5dac048edb593385c21cfd0410fa226dc6e312b2b84c1
0xed0dc3e26dcdd87e4d782b8a26c0eebe72f8c77d2115a6da4a794b7d3228f826
0xb8ffdb7eee668a3c203aa4a2cdee86f6590f1cd84f077f28aa786c6a758e8bd7
0xc2c46bbb24c6ffe700af3a78e4b7c9c92982324bc97021f555ad9fb3fe9b4b70
0xcff60f0486bca452fd60b8f36eb89e2df6b20bd440c7d416e6010b4dcd482acf
0x57d9c83403ae1f4a67996606a2da8b3d71ee4c9f135299d6b8cc343a65a63a08
0x2722cd216770e44ef5ef31697d3af40e59a9cf7565a90a93c6e95f180e0e2398

Functions
Getter at block 21076948
DURATION(view returns (uint256)
1
FourtyPercentBonus(view returns (uint256)
400000000000000000
TenPercentBonus(view returns (uint256)
100000000000000000
ThirtyPercentBonus(view returns (uint256)
300000000000000000
TwentyPercentBonus(view returns (uint256)
200000000000000000
bpt(view returns (address)
0x7d829fcc84f9dca5a3e6d9fb73545bacf350146a
calculateCycle(view returns (address)
0x3d3eb13738c72a81e93fcf13ce7a8b3aaabac654
deployedTime(view returns (uint256)
1598367212
devfund(view returns (address)
0x57241e5f9a8e6ff569b368ea5c9ca7c0e1a9c175
isOwner(view returns (bool)
false
lastTimeRewardApplicable(view returns (uint256)
1613408437
lastUpdateTime(view returns (uint256)
1607481353
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)
1613408437
rewardPerToken(view returns (uint256)
120747017882416678272870
rewardPerTokenStored(view returns (uint256)
83543605300842089130235
rewardRate(view returns (uint256)
49603174603174603
totalSupply(view returns (uint256)
7902559527167957833
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.