MagicRewards

Verified contract

Active on Ethereum with 2,158 txns
Deployed by via 0x42e0899f at 13225795
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $16,799.76
ERC-20
--
0x03d776a1884855337587fde3320523f91b01c772f5fd99dcefd96d4e1028a4f6
0x5295bd77cf8aad8132ae636ef154a3c1715928d60e27cb0b9bebb908d7bcf14e
0xa7119c7bfb94c1fb3ab2b2dd85d08b0aed79c7e0245d348242924933a9e5492f
0xf5cbdaac0b7e028eabc4cb1fcc46def31cacdb15da3c4361772fca2129cae223
0x6b54713e1604cc8fa6416b00d01e65903a122112237a12ed31226787386af90b
0x4abb5a3ae7ba13342cf838e0818986bc191ef9ca2407a64ce2f5b6d1e783d5d7
0x10a887b279f0a98b9fda35470e98e6da596bfd104fd031a12a48d641d4a56cea
0x12e26c86b24e41b1613e66e048f61e5f15d25624c4e8d2e282e0415eb100534d
0xd7f44475898329c60f44abbf05a75f3a7a7a202d129b7fa4f45968657b6f2206
0x144e018d898645d02aba165bc32800164fddd4815d4e489bc2043824dcd0840d

Functions
Getter at block 21215166
lastTimeRewardApplicable(view returns (uint64)
1635228629
lastUpdateTime(view returns (uint64)
1635228629
owner(view returns (address)
0x3577a25a1cf6b5b254798101aab6b23a3bed8b28
periodFinish(view returns (uint64)
1635228629
rewardPerToken(view returns (uint128)
387743147950430002860
rewardPerTokenStored(view returns (uint128)
387743147950430002860
rewardRate(view returns (uint256)
1342592592592592592
rewardToken(view returns (address)
0xb0c7a3ba49c7a6eaba6cd4a96c55a1391070ac9a
stakedToken(view returns (address)
0x8c56ca4f7eb12a7c217bbe36cc427a9dcb66f590
totalSupply(view returns (uint256)
188998568837092256461
Read-only
balanceOf(address accountview returns (uint256)
earned(address accountview returns (uint128)
userRewards(addressview returns (uint128 userRewardPerTokenPaiduint128 rewards)
State-modifying
exit(
getReward(
renounceOwnership(
setRewardParams(uint128 rewarduint64 duration
stake(uint128 amountpayable 
stakeFor(address forWhomuint128 amountpayable 
transferOwnership(address newOwner
withdraw(uint128 amount
withdrawReward(
Events
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 _stakedToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.