ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 254 txns
Deployed by via 0x400d1f4b at 14311684
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
17 additional variables
ERC-20
--
0x56a3626ae3bdb10e0626c7872a30c3b912e25bd6ac29bd8192237b3516f97794
0x20ae703787dd2589d2e55359d9a0998b37fc9d11934e21a20cf6972781421379
0x41da3a4ca84dea3398a7c11869e0e346b4ff8115ea2951424115df7ea4b023c7
0xdcbf65d6bf3462b268ed62a67257dc0b74233099fb69703c938b246df6fec757
0x4fc2e1b43498cf15459e0fe762d4d974743ffae7c9d36eebee21e66390ccfbc4
0xe6ff7841e67db03ad5a5adea6b08b50a24973b35816ef95834e77000d4cdc4c3
0x0591e202fb65e117f195ca268d212811c25059aa2389a74925d4f6cf3777b92d
0x6c95e07624d3f3f95c49a94bb5d30123cbf5339d2a8dcfd9d8cbeedeab2b9ad0
0x1acecd0c9623ee402b92cf4f19296f94d4d9e2670ff5d2da14ef52ef5bc047a9
0x83321e33ce72dcc0204c93b67797d3075e2a740309e9e1dd2d59cd4e996a5a6e

Functions
Getter at block 21318377
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
communityAddress(view returns (address)
0x2e8dde78d2a1f3bc05aefb1c3ceb72e25793bb9a
lastUpdateTime(view returns (uint256)
1702822523
maxLoss(view returns (uint256)
75000000000
maxStakingWeeks(view returns (uint256)
104
minClaimPeriod(view returns (uint256)
7776000
rewardPerToken(view returns (uint256)
3179075850444580918
rewardPerTokenStored(view returns (uint256)
2705067654574354902
rewardRate(view returns (uint256)
190258751902588000
rewardToken(view returns (address)
0xb30f5d11b94efbbfdeaa4de38edffceec0be6513
stakingEnabled(view returns (bool)
true
stakingToken(view returns (address)
0xb30f5d11b94efbbfdeaa4de38edffceec0be6513
totalRewardsClaimed(view returns (uint256)
6398793153080155453709105
totalTokensStaked(view returns (uint256)
3827098644040761157318489
totalTokensStakedWithBonusTokens(view returns (uint256)
12187153202441029191746686
uniqueAddressesStaked(view returns (uint256)
43
Read-only
balances(addressview returns (uint256)
earned(address account_view returns (uint256)
getAllAddressStakes(address userAddress_view returns (struct StakePIFStakingInfo[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
lastClaimedTimestamp(addressview returns (uint256)
rewards(addressview returns (uint256)
stakingInfoForAddress(addressuint256view returns (address owneruint256 iduint256 timeToUnlockuint256 stakingTimeuint256 tokensStakeduint256 tokensStakedWithBonus)
stakingNonce(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokensStakedByAddress(addressview returns (uint256)
tokensStakedWithBonusByAddress(addressview returns (uint256)
totalRewardsClaimedByAddress(addressview returns (uint256)
userRewardPerTokenPaid(addressview returns (uint256)
State-modifying
__AccessLevel_init(address owner
getReward(
grantRole(bytes32 roleaddress account
initialize(address tokenAddress_address rewardToken_address owner_address communityAddress_uint256 minClaimPeriod_uint256 rewardRate_uint256 maxLoss_uint256 maxStakingWeeks_
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setCommunityAddress_(address communityAddress_
setMaxLoss(uint256 maxLoss_
setMaxStakingWeeks(uint256 maxStakingWeeks_
setMinClaimPeriod(uint256 minClaimPeriod_
setRewardRate(uint256 rewardRate_
setStakingEnabled(bool stakingEnabled_
stake(uint256 amount_uint256 lockWeek_
unstake(uint256 stakeId_
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetCommunityAddress(address communityAddressaddress sender
SetMaxLoss(uint256 maxLossaddress sender
SetMaxStakingWeeks(uint256 maxStakingWeeksaddress sender
SetMinClaimPeriod(uint256 rewardRateaddress sender
SetRewardRate(uint256 rewardRateaddress sender
SetStakingEnabled(bool stakingEnabledaddress sender
Stake(uint256 stakeIdaddress staker
Unstake(uint256 stakeIdaddress unstaker
Upgraded(address indexed implementation
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.