YearnRewards

Verified contract

Active on Ethereum with 3,688 txns
Deployed by via 0x9abcf2df at 10705533
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0x88b79ed87a7287544d7adc5fc6fa53a7c16f49fad0463c831eb7c219781b154c
0x05cc04eea17670482d7e5c3b44af5a44566f290fb8a5fa26cea1b9caecb909b1
0x76433b3b0d2a68089435fe4a90952e14b1d3a11c96f52370c3083d487451d416
0xae14933e92cf80bb75bc37fdd38e5d07c9b801b2b92d5f8e8ac3817bdb65b1c3
0xdae4b09a952a22f4fba3893c5eb4d7003a455b2e91b86065df494cd1e7160a98
0x78710938a7a50029ddd3c94f24687e55a89d71d798e70231535d9eb6a7669980
0xab03c08696d02d3b92b5bf351abe3644d145f9e434b03e0e13b77dc7d7a8ae21
0xcd3fb12f57c866b64122c618c87836a8c1d948ca223fbbfec86b962c7a0c8421
0x501d7b05580612b4be6820a6b5be9ccebc3f7ed4590dbcd7d558281ad5f48366
0x62c4ed70343010a4ec663ec0c1c92467132caa2c45de013e39f7e615e136aab9

Functions
Getter at block 21160305
DURATION(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
FourtyPercentBonus(view returns (uint256)
400000000000000000
TenPercentBonus(view returns (uint256)
100000000000000000
ThirtyPercentBonus(view returns (uint256)
300000000000000000
TwentyPercentBonus(view returns (uint256)
200000000000000000
bpt(view returns (address)
0x0de0322d3ac0d5002e2bc9c3a188728728d90799
calculateCycle(view returns (address)
0x3d3eb13738c72a81e93fcf13ce7a8b3aaabac654
deployedTime(view returns (uint256)
1598038882
isOwner(view returns (bool)
false
lastTimeRewardApplicable(view returns (uint256)
1607902488
lastUpdateTime(view returns (uint256)
1600160221
multiplier(view returns (address)
0x64912352749e2be98c374b93a57f301f95cf1bff
napsDiscountRange(view returns (uint256)
28800
napsLevelOneCost(view returns (uint256)
10000000000000000000000
napsLevelThreeCost(view returns (uint256)
30000000000000000000000
napsLevelTwoCost(view returns (uint256)
20000000000000000000000
owner(view returns (address)
0x50b3830641a5fd46ac191f168e3eac638c40343c
periodFinish(view returns (uint256)
1607902488
rewardPerToken(view returns (uint256)
430134306049462199599
rewardPerTokenStored(view returns (uint256)
109301864908361324678
rewardRate(view returns (uint256)
1378000891372343746
totalSupply(view returns (uint256)
33253653493695676787876
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
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.