Git Source
bytes32 internal constant STORAGE_SLOT = keccak256("premia.contracts.staking.PremiaStaking");
function layout() internal pure returns (Layout storage l);
struct Withdrawal {
uint256 amount;
uint256 startDate;
}
struct UserInfo {
uint256 reward;
uint256 rewardDebt;
uint256 unstakeRewardDebt;
uint64 stakePeriod;
uint64 lockedUntil;
}
struct Layout {
uint256 pendingWithdrawal;
uint256 _deprecated_withdrawalDelay;
mapping(address => Withdrawal) withdrawals;
uint256 availableRewards;
uint256 lastRewardUpdate;
uint256 totalPower;
mapping(address => UserInfo) userInfo;
uint256 accRewardPerShare;
uint256 accUnstakeRewardPerShare;
uint256 availableUnstakeRewards;
}