Skip to content

Commit

Permalink
Merge pull request #851 from oceanprotocol/bug/fix_vesting_A
Browse files Browse the repository at this point in the history
Re-deploy new vesting A
  • Loading branch information
alexcos20 committed Jan 13, 2024
2 parents 8cd1a42 + ac4227e commit 4a53194
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addresses/address.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"Splitter": "0xadF0D06e58E618de36Af0F1b52891b14FAA61187",
"Distribute": "0x01BE353d9Fd3A64C591A30A8c4a6a37B5dfAe165",
"VestingWallet0": "0x8D011915C437AD5f5e3B0E4c6dd6380c92599f99",
"VestingWalletA": "0x4Fd5ECf4Af8490418462A7d80e90A0530eFb9ac5"
"VestingWalletA": "0xf9FB1f54eA825734E3a77e73A3864f4B46C815d9"
},
"goerli": {
"chainId": 5,
Expand Down
6 changes: 4 additions & 2 deletions scripts/deploy_vesting.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ async function main() {
const blockTimestamp = block.timestamp
const endDate = "2024-03-14"
const endDateUnix = parseInt(new Date(endDate).getTime() / 1000)
const vestingPeriod = endDateUnix - blockTimestamp
const deployVestingWallet0 = await VestingWallet0.connect(owner).deploy(addresses.Splitter, blockTimestamp, vestingPeriod, options)
const startTimestamp = 1705017600 // Fri Jan 12 2024 00:00:00 GMT+0000
const endTimestamp = 1709856000 // Fri Mar 08 2024 00:00:00 GMT+0000 - this is when we top up last week of DF Main1
const vestingPeriod = endTimestamp - startTimestamp
const deployVestingWallet0 = await VestingWallet0.connect(owner).deploy(addresses.Splitter, startTimestamp, vestingPeriod, options)
await deployVestingWallet0.deployTransaction.wait();
addresses.VestingWalletA = deployVestingWallet0.address;
if (show_verify) {
Expand Down

0 comments on commit 4a53194

Please sign in to comment.