update script of deploy stake
This commit is contained in:
parent
ea0c6e8da8
commit
a43a693dc7
@ -28,10 +28,10 @@ module.exports = async function (deployer, network, accounts) {
|
||||
const DAYSECONDS = 24 * 60 * 60;
|
||||
const periods = [
|
||||
30 * DAYSECONDS, // 1 month 2592000
|
||||
91 * DAYSECONDS, // 3 months 7862400
|
||||
182 * DAYSECONDS, // 6 months 15724800
|
||||
365 * DAYSECONDS, // 1 year 31536000
|
||||
730 * DAYSECONDS, // 2 years 63072000
|
||||
90 * DAYSECONDS, // 3 months 7776000
|
||||
180 * DAYSECONDS, // 6 months 15552000
|
||||
360 * DAYSECONDS, // 1 year 31104000
|
||||
720 * DAYSECONDS, // 2 years 62208000
|
||||
];
|
||||
for (let i = 0; i < periods.length; i++) {
|
||||
await stakeInstance.updatePeriods(periods[i], true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user