此代码复制自 pancake swap 的 github。 https://github.com/pancakeswap/pancake-farm/blob/master/contracts/SousChef.sol
constructor(
IBEP20 _syrup,
uint256 _rewardPerBlock,
uint256 _startBlock,
uint256 _endBlock
) public {
syrup = _syrup;
rewardPerBlock = _rewardPerBlock;
startBlock = _startBlock;
bonusEndBlock = _endBlock;
// staking pool
poolInfo = PoolInfo({
lastRewardBlock: startBlock,
accRewardPerShare: 0
});
}
我想知道他们在部署合约时放了什么参数。我知道我应该能够在 Migrations 下看到它,但只有这些。有谁知道如何找出他们使用了哪些参数?
module.exports = function(deployer) {};