Skip to main content

P12CoinFactoryStorage

P12CoinFactoryStorage

p12

address p12

p12 ERC20 address

uniswapRouter

contract IUniswapV2Router02 uniswapRouter

uniswap v2 Router address

uniswapFactory

contract IUniswapV2Factory uniswapFactory

uniswap v2 Factory address

delayK

uint256 delayK

length of cast delay time is a linear function of percentage of additional issues, delayK and delayB is the linear function's parameter which could be changed later

delayB

uint256 delayB

_initHash

bytes32 _initHash

a random hash value for calculate mintId

addLiquidityEffectiveTime

uint256 addLiquidityEffectiveTime

p12Mine

contract IP12MineUpgradeable p12Mine

p12 staking contract

dev

address dev

gaugeController

contract IGaugeController gaugeController

__gap

uint256[40] __gap

allGames

mapping(string => address) allGames

allGameCoins

mapping(contract IP12GameCoin => string) allGameCoins

coinMintRecords

mapping(contract IP12GameCoin => mapping(bytes32 => struct P12CoinFactoryStorage.MintCoinInfo)) coinMintRecords

preMintIds

mapping(contract IP12GameCoin => bytes32) preMintIds

MintCoinInfo

struct MintCoinInfo {
uint256 amount;
uint256 unlockTimestamp;
bool executed;
}