YearnRewards

Verified contract

Active on Ethereum with 1,613 txns
Deployed by via 0xaf4b70db at 10730293
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x4676b36789ae6d23a06c71d1ed123a5c7713b54bfc6dfcd59383123c3c3ea5ad
0x5bd80af41cf36cf12aff67e1da5ab635673d29e6f2fee929caa7a33373e0b38b
0x0b9ed2d7a902195fbdbeaf2dc85d95bde7b2e78ad4f4427a58ff64125bcbbfe4
0x8779927283789a39e42c6bed82f47412d64eb6da43edb2236ad3719e989aca9f
0x2dd85c438c832d5d56564be625506f5df8765e1059e9a583a12c676d17e980ee
0xaddda2e31aae59023dce1675846151d350e555b6b1a482a8a20816295999a8a0
From
0x8aa22684175bea033ace8f774186ad9ce9bb88380ec625e2283167a5eee19cfb
From
0x20346337473cccd9bcfc16ba7b14d22af12a70309de5f3cc4e7321fad0f45d53
0x3d72e46cba7136bd550eb5f4a733f8abf1b780e72dc390e4cd46651edb4cd471
0xcf40f97daa8d16b8b022ccedf5111dc098b96b90d7c28c23c4b842649fc391b3
From

Functions
Getter at block 21415097
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)
0xc75f15ada581219c95485c578e124df3985e4ce0
calculateCycle(view returns (address)
0x3d3eb13738c72a81e93fcf13ce7a8b3aaabac654
deployedTime(view returns (uint256)
1598368033
devfund(view returns (address)
0x57241e5f9a8e6ff569b368ea5c9ca7c0e1a9c175
isOwner(view returns (bool)
false
lastTimeRewardApplicable(view returns (uint256)
1606183976
lastUpdateTime(view returns (uint256)
1605903563
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)
1606183976
rewardPerToken(view returns (uint256)
119850806322225490221
rewardPerTokenStored(view returns (uint256)
107528223828805490618
rewardRate(view returns (uint256)
234427927549620
totalSupply(view returns (uint256)
5334647869719969670
yfi(view returns (address)
0x0de0322d3ac0d5002e2bc9c3a188728728d90799
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.