Skip to content

Commit 58a0f66

Browse files
committed
deploy vestings B + C
1 parent 4a53194 commit 58a0f66

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

addresses/address.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@
140140
"Splitter": "0xadF0D06e58E618de36Af0F1b52891b14FAA61187",
141141
"Distribute": "0x01BE353d9Fd3A64C591A30A8c4a6a37B5dfAe165",
142142
"VestingWallet0": "0x8D011915C437AD5f5e3B0E4c6dd6380c92599f99",
143-
"VestingWalletA": "0xf9FB1f54eA825734E3a77e73A3864f4B46C815d9"
143+
"VestingWalletA": "0xf9FB1f54eA825734E3a77e73A3864f4B46C815d9",
144+
"VestingWalletB": "0x8a8Ec65F257072e30Dd8FeF539dC6aD67d578074",
145+
"VestingWalletC": "0xe2F2Abdf25D2ECc75E21691Ee8fF9c85737Faa37"
144146
},
145147
"goerli": {
146148
"chainId": 5,

scripts/deploy_vesting.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ async function main() {
4949
OPFOwner = "0x0d27cd67c4A3fd3Eb9C7C757582f59089F058167";
5050
routerOwner = OPFOwner;
5151
OceanTokenAddress = "0x967da4048cD07aB37855c090aAF366e4ce1b9F48";
52+
gasPrice = ethers.utils.parseUnits('16', 'gwei')
5253
break;
5354

5455
default:
@@ -100,12 +101,21 @@ async function main() {
100101
const blockTimestamp = block.timestamp
101102
const endDate = "2024-03-14"
102103
const endDateUnix = parseInt(new Date(endDate).getTime() / 1000)
103-
const startTimestamp = 1705017600 // Fri Jan 12 2024 00:00:00 GMT+0000
104-
const endTimestamp = 1709856000 // Fri Mar 08 2024 00:00:00 GMT+0000 - this is when we top up last week of DF Main1
104+
//vesting A
105+
//const startTimestamp = 1705017600 // Fri Jan 12 2024 00:00:00 GMT+0000
106+
//const endTimestamp = 1709856000 // Fri Mar 08 2024 00:00:00 GMT+0000 - this is when we top up last week of DF Main1
107+
//vesting B
108+
//const startTimestamp = 1710028800 // Sun Mar 10 2024 00:00:00 GMT+0000
109+
//const endTimestamp = 1725750000 // Sat Sep 07 2024 23:00:00 GMT+0000 - this is when we top up last week of DF Main2
110+
//vesting C
111+
const startTimestamp = 1725750000 // Sat Sep 07 2024 23:00:00 GMT+0000
112+
const endTimestamp = 1741392000 // Sat Mar 08 2025 00:00:00 GMT+0000 - this is when we top up last week of DF Main3
113+
114+
105115
const vestingPeriod = endTimestamp - startTimestamp
106116
const deployVestingWallet0 = await VestingWallet0.connect(owner).deploy(addresses.Splitter, startTimestamp, vestingPeriod, options)
107117
await deployVestingWallet0.deployTransaction.wait();
108-
addresses.VestingWalletA = deployVestingWallet0.address;
118+
addresses.VestingWalletC = deployVestingWallet0.address;
109119
if (show_verify) {
110120
console.log("\tRun the following to verify on etherscan");
111121
console.log("\tnpx hardhat verify --network " + networkName + " " + addresses.VestingWalletA+" "+addresses.Splitter+" "+blockTimestamp+" "+vestingPeriod)

0 commit comments

Comments
 (0)