DualMiningStorage

Git Source

State Variables

STORAGE_SLOT

bytes32 internal constant STORAGE_SLOT = keccak256("premia.contracts.storage.DualMining");

Functions

layout

function layout() internal pure returns (Layout storage l);

Structs

Layout

struct Layout {
    address vault;
    uint256 startTimestamp;
    uint256 endTimestamp;
    UD60x18 rewardsPerYear;
    UD60x18 rewardsAvailable;
    address rewardToken;
    uint8 rewardTokenDecimals;
    UD60x18 parentAccTotalRewards;
    UD60x18 accTotalRewards;
    UD60x18 initialParentAccRewardsPerShare;
    UD60x18 finalParentAccRewardsPerShare;
    uint256 lastRewardTimestamp;
    mapping(address user => IDualMining.UserInfo info) userInfo;
}