my changes
This commit is contained in:
parent
54d1291b96
commit
7004aeaa39
|
@ -24,7 +24,7 @@ contract ShinobiPool is IStakingRewards, RewardsDistributionRecipient, Reentranc
|
|||
IERC20 public stakingToken;
|
||||
uint256 public periodFinish = 0;
|
||||
uint256 public rewardRate = 0;
|
||||
uint256 public rewardsDuration = 7 days;
|
||||
uint256 public rewardsDuration = 1 days;
|
||||
uint256 public lastUpdateTime;
|
||||
uint256 public rewardPerTokenStored;
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
const ShinobiPool = artifacts.require("ShinobiPool");
|
||||
|
||||
module.exports = function (deployer) {
|
||||
const owner = "0x3308a42bE3BCcE4c976B35AD5bA69253B5F2F83B"; // main new sparrow wallet
|
||||
const rewardsDistributor = owner;
|
||||
//const rewardsToken = "0x3E14f43717082139a9FfB8964078DD219F32213B"; // fool's grans
|
||||
const rewardsToken = "0x0826180A4c981d5095Cb5c48BB2A098A44cf6f73"; // actual 10grans
|
||||
const stakingToken = "0x6321C294f34C2CDAF61012Ac4f3588a527F4D990"; // ubq/grans lp token
|
||||
|
||||
deployer.deploy(ShinobiPool, owner, rewardsDistributor, rewardsToken, stakingToken);
|
||||
};
|
|
@ -7,6 +7,7 @@
|
|||
"truffle": "^5.1.58"
|
||||
},
|
||||
"dependencies": {
|
||||
"@openzeppelin/contracts": "2.5.0"
|
||||
"@openzeppelin/contracts": "2.5.0",
|
||||
"@truffle/hdwallet-provider": "^1.2.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue