Skip to main content

P12MineStorage

P12MineStorage

p12CoinFactory

address p12CoinFactory

p12Token

address p12Token

gaugeController

contract IGaugeController gaugeController

p12RewardVault

contract IP12RewardVault p12RewardVault

delayK

uint256 delayK

delayB

uint256 delayB

rate

uint256 rate

poolInfos

struct P12MineStorage.PoolInfo[] poolInfos

isEmergency

bool isEmergency

emergencyUnlockTime

uint256 emergencyUnlockTime

__gap

uint256[40] __gap

lpTokenRegistry

mapping(address => uint256) lpTokenRegistry

userInfo

mapping(uint256 => mapping(address => struct P12MineStorage.UserInfo)) userInfo

realizedReward

mapping(address => uint256) realizedReward

periodTimestamp

mapping(address => mapping(uint256 => uint256)) periodTimestamp

preWithdrawIds

mapping(address => bytes32) preWithdrawIds

withdrawInfos

mapping(address => mapping(bytes32 => struct P12MineStorage.WithdrawInfo)) withdrawInfos

UserInfo

struct UserInfo {
uint256 amount;
uint256 rewardDebt;
}

PoolInfo

struct PoolInfo {
address lpToken;
uint256 accP12PerShare;
uint256 amount;
uint256 period;
}

WithdrawInfo

struct WithdrawInfo {
address who;
uint256 amount;
uint256 unlockTimestamp;
bool executed;
}