StakePIF

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc0bf21c5 at 14311682
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
13 additional variables

No balances found for "StakePIF"

No transactions found for "StakePIF"


Functions
Getter at block 21318377
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
communityAddress(view returns (address)
0x0000000000000000000000000000000000000000
lastUpdateTime(view returns (uint256)
0
maxLoss(view returns (uint256)
0
maxStakingWeeks(view returns (uint256)
0
minClaimPeriod(view returns (uint256)
0
rewardPerToken(view returns (uint256)
0
rewardPerTokenStored(view returns (uint256)
0
rewardRate(view returns (uint256)
0
rewardToken(view returns (address)
0x0000000000000000000000000000000000000000
stakingEnabled(view returns (bool)
false
stakingToken(view returns (address)
0x0000000000000000000000000000000000000000
totalRewardsClaimed(view returns (uint256)
0
totalTokensStaked(view returns (uint256)
0
totalTokensStakedWithBonusTokens(view returns (uint256)
0
uniqueAddressesStaked(view returns (uint256)
0
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
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

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.