VxPremiaStorage
State Variables
STORAGE_SLOT
bytes32 internal constant STORAGE_SLOT = keccak256("premia.contracts.staking.VxPremia");
Functions
layout
function layout() internal pure returns (Layout storage l);
Structs
Vote
struct Vote {
uint256 amount;
IVxPremia.VoteVersion version;
bytes target;
}
Layout
struct Layout {
mapping(address => Vote[]) userVotes;
mapping(IVxPremia.VoteVersion => mapping(bytes => uint256)) votes;
}