NRGYMarketMaker

Verified contract

Active on Ethereum with 1,047 txns
Deployed by via 0xdb0c7b2c at 11832978
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
ERC-20
--
0xe7f9a2d6f7e16249ee7a6caab8144668d455c438d126e5a6177e55af512c5a1b
0x36b7e8fb5e8785d52f206bcb0cdb085d8b486742ed7caf17b2f00b674b456ea3
0x854505839bfd6740aa210e0fbf179b925aa14bc1573a975cbec1d670cdfccd96
0x39738475fcb7b36cf248dc09aa8224c1a6439f81ad7bff4766e9b7a7d05991a5
0x4f65e7b8be6ab45cfef432b287e09a82663dc6a59311743f4f0f0a08c0852e10
0x148c86c640cc134e76d09e3f18f6d9b8d01cbc0d078e07bcf8889dce0e037f07
0xe24b5829d4241844fe8e223d6ead1c5be7d2c33f5c62d93edb0c9cbae5bcb2bf
0xc36a2855d6417bb1d3302f08024922cacac551b7110c82a8f11fcb1905893535
0x1554bd6f3b8138e3cea670b556c2468d86869cd066f412e3845051828d63ae58
0x1070384b215ae9fd545726d00ebe00ac348ec957d40a2403287cad362a2146c0

Functions
Getter at block 21097247
calculateRewards(view returns (uint256 _lastWeekRewarduint256 _secondLastWeekRewarduint256 _thirdLastWeekReward)
(_lastWeekReward=278510, _secondLastWeekReward=65369540, _thirdLastWeekReward=15060000)
energy(view returns (address)
0xc29acac647c63dbd8618e817d41ea9de69174ae1
feeRewardsAvailableInContract(view returns (uint256)
810360
feeRewardsCount(view returns (uint256)
9
getRewardPercentages(view returns (uint256[3])
[10, 30, 60]
lpToken(view returns (address)
0xc29acac647c63dbd8618e817d41ea9de69174ae1
minStakeForFeeRewards(view returns (uint256)
25000000
percentageDivider(view returns (uint256)
100
rewardsAvailableInContract(view returns (uint256)
1397562935
totalFeeRewards(view returns (uint256)
1000000
totalRewards(view returns (uint256)
136835122617
totalShares(view returns (uint256)
28052547609
totalStakeUsers(view returns (uint256)
583
totalWeeks(view returns (uint256)
100
unstakeFees(view returns (uint256)
75
Read-only
calculateRewardsByWeekCount(uint256 _weekCountview returns (uint256 _lastWeekRewarduint256 _secondLastWeekRewarduint256 _thirdLastWeekReward)
claimedBalanceOf(address _whoview returns (uint256)
getFeeRewardsByIndex(uint256 _indexview returns (uint256uint256uint256uint256)
getRewardsByWeekNo(uint256 _weekCountview returns (uint256[3])
getSharesByWeekNo(uint256 _weekCountview returns (uint256)
getStakeByWeekNo(uint256 _weekCountview returns (uint256)
getUserCurrentRewards(address _whoview returns (uint256)
getUserEndedWeek(address _whoview returns (uint256)
getUserFeeRewardClaimStatus(address _whouint256 _indexview returns (bool)
getUserFeeRewards(address _whoview returns (uint256)
getUserLastDepositTime(address _whoview returns (uint256)
getUserPercentageShareByWeekNo(address _whouint256 _weekCountview returns (uint256)
getUserRewards(address _whoview returns (uint256)
getUserRewardsByWeekNo(address _whouint256 _weekCountview returns (uint256)
getUserShare(address _whoview returns (uint256)
getUserShareByWeekNo(address _whouint256 _weekCountview returns (uint256)
getUserStartedWeek(address _whoview returns (uint256)
getUserStatus(address _whoview returns (bool)
getUserTotalRewards(address _whoview returns (uint256)
getUserUnclaimedFeesRewards(address _whoview returns (uint256)
isStakingLimitReached(uint256 _amountuint256 _weekCountview returns (bool)
isUserPreviouslyStaked(address _whoview returns (bool)
remainingStakingLimit(uint256 _weekCountview returns (uint256)
smartContractStakers(addressview returns (bool)
stakingLimit(uint256view returns (uint256)
userInfo(addressview returns (address userbool isActiveuint256 rewardsuint256 feeRewardsuint256 depositTimeuint256 shareuint256 startedWeekuint256 endedWeek)
userList(uint256view returns (address)
State-modifying
distributeFees(uint256 _amount
stake(uint256 amount
stakeOnBehalf(uint256 amountaddress _who
unstake(uint256 _amount
Events
FeeRewardDistributed(uint256 _amountuint256 _totalFeeRewards
RewardDistributed(uint256 _weekNouint256[3] _lastWeekRewards
Staked(address indexed _useruint256 _amountStakeduint256 _balanceOf
Withdrawn(address indexed _useruint256 _amountTransferreduint256 _amountUnstakeduint256 _shareDeducteduint256 _rewardsDeducteduint256 _feeRewardsDeducted
Constructor
constructor(address _energy
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.