function deployPool(
address _router,
address _stakedToken,
address _rewardToken,
uint256 _rewardPerSecond,
uint256 _startTimestamp,
uint256 _bonusEndTimestamp
) external onlyOwner returns(MantiswapStakingPool pool)
// single staking pool 생성
// START_TIMESTAMP : 1695715200, // 시작시간 (9월 26일 17:00 - 1695715200)
// BONUES_PERIOD_SECONDS : 86400*30, // 풀 유효시간 (초)
const rewardPerSecond =
CONFIG.TOTAL_REWARD_FOR_DURATION.div(CONFIG.BONUES_PERIOD_SECONDS);
const poolRewardEndTime = CONFIG.START_TIMESTAMP + CONFIG.BONUES_PERIOD_SECONDS;
await factoryContract.deployPool(
routerContract.address,
tokenContract.address,
tokenContract.address,
rewardPerSecond,
CONFIG.START_TIMESTAMP,
poolRewardEndTime,
)