How to deploy INKubator contracts
-
Deploy UniswapV2Factory.sol
-
Deploy UniswapV2Locker.sol (adding UniswapV2Factory address)
-
Deploy PresaleSettings.sol
-
Deploy PresaleFactory.sol
-
In PresaleLockForwarder.sol -- add in the constructor hardcoded PresaleFactory, UniswapV2Locker, UniswapV2Factory -- Deploy
-
In PresaleGenerator01.sol -- Add in the constructor hardcoded PresaleFactory, PresaleSettings -- deploy PresaleGenerator01.sol
-
In Presale01.sol -- Add in the constructor the hardcoded UniswapV2Factory, WETH, PresaleSettings, PresaleLockForwarder address, Project/Dev address
-
In PresaleFactory.sol -- call 'adminAllowPresaleGenerator' function passing in (address PresaleGenerator01, true)
-
In UniswapV2Locker.sol -- call 'whitelistFeeAccount' with args (address PresaleLockForwarder, true)