From 37f25e4dd67ebf82bc584df3bdf160b3caa29b0d Mon Sep 17 00:00:00 2001 From: aalavandhan1984 <6264334+aalavandhan@users.noreply.github.com> Date: Tue, 14 Feb 2023 09:24:43 -0500 Subject: [PATCH] deployed new issuer --- spot-contracts/README.md | 2 +- spot-contracts/deployments/mainnet.json | 8 ++++++-- spot-contracts/tasks/mainnet.sh | 10 ++++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/spot-contracts/README.md b/spot-contracts/README.md index 30d47478..09eb0cd4 100644 --- a/spot-contracts/README.md +++ b/spot-contracts/README.md @@ -5,7 +5,7 @@ This repository is a collection of smart contracts that implement the SPOT perpe The official mainnet addresses are: - SPOT ERC-20 Token: [0xC1f33e0cf7e40a67375007104B929E49a581bafE](https://etherscan.io/address/0xC1f33e0cf7e40a67375007104B929E49a581bafE) -- Bond issuer: [0x2E2E49eDCd5ce08677Bab6d791C863f1361B52F2](https://etherscan.io/address/0x2E2E49eDCd5ce08677Bab6d791C863f1361B52F2) +- Bond issuer: [0x85d1BA777Eb3FCBb10C82cdf3aAa8231e21B6777](https://etherscan.io/address/0x85d1BA777Eb3FCBb10C82cdf3aAa8231e21B6777) - Router: [0x38f600e08540178719BF656e6B43FC15A529c393](https://etherscan.io/address/0x38f600e08540178719BF656e6B43FC15A529c393) ## Install diff --git a/spot-contracts/deployments/mainnet.json b/spot-contracts/deployments/mainnet.json index 93de07a1..c4f8381a 100644 --- a/spot-contracts/deployments/mainnet.json +++ b/spot-contracts/deployments/mainnet.json @@ -1,9 +1,13 @@ { "ampl": "0xD46bA6D942050d489DBd938a2C909A5d5039A161", "bondFactory": "0x2b135C839d61808E1eC6F84151CD9429B0920374", - "bondIssuer": "0x2E2E49eDCd5ce08677Bab6d791C863f1361B52F2", + "bondIssuer": "0x85d1BA777Eb3FCBb10C82cdf3aAa8231e21B6777", "spot": "0xC1f33e0cf7e40a67375007104B929E49a581bafE", "proxyAdmin": "0x2978B4103985A6668CE345555b0febdE64Fb092F", "router": "0x38f600e08540178719BF656e6B43FC15A529c393", - "previousIssuers": ["0x9443b779d4AedF97d2B93D7CDa5fA0BB6312DfF2", "0xD64FA63dc5E8fcB743457E47E4d522E11Ff1AD66"] + "previousIssuers": [ + "0x9443b779d4AedF97d2B93D7CDa5fA0BB6312DfF2", + "0xD64FA63dc5E8fcB743457E47E4d522E11Ff1AD66", + "0x2E2E49eDCd5ce08677Bab6d791C863f1361B52F2" + ] } diff --git a/spot-contracts/tasks/mainnet.sh b/spot-contracts/tasks/mainnet.sh index 48ba6ad3..a2cfe4ef 100644 --- a/spot-contracts/tasks/mainnet.sh +++ b/spot-contracts/tasks/mainnet.sh @@ -2,7 +2,7 @@ ## DEPLOYMENT # monthly bonds, weekly issue, offset wednesday 2pm PST (DST) yarn hardhat --network mainnet deploy:BondIssuer \ - --bond-factory-address "0x2b135C839d61808E1eC6F84151CD9429B0920374" \ + --bond-factory-address "0x71868D38Ea3b3eB5e4db9a45ee355548B46c82E0" \ --bond-duration "2419200" \ --issue-frequency "604800" \ --issue-window-offset "597600" \ @@ -27,7 +27,7 @@ yarn hardhat --network mainnet deploy:Router ######################################################################## ## Transfer ownership -yarn hardhat --network mainnet transferOwnership "0x2E2E49eDCd5ce08677Bab6d791C863f1361B52F2" \ +yarn hardhat --network mainnet transferOwnership "0x85d1BA777Eb3FCBb10C82cdf3aAa8231e21B6777" \ --new-owner-address "0x57981B1EaFe4b18EC97f8B10859B40207b364662" yarn hardhat --network mainnet transferOwnership "0xFF732cA9EFc95E853FBD71a5c61647cd0C0898a3" \ @@ -42,7 +42,6 @@ yarn hardhat --network mainnet transferOwnership "0xC1f33e0cf7e40a67375007104B92 yarn hardhat --network mainnet transferOwnership "0x2978B4103985A6668CE345555b0febdE64Fb092F" \ --new-owner-address "0x57981B1EaFe4b18EC97f8B10859B40207b364662" - ######################################################################## ## OPS yarn hardhat --network mainnet ops:info 0xC1f33e0cf7e40a67375007104B929E49a581bafE @@ -69,9 +68,12 @@ yarn hardhat --network mainnet ops:redeemTranches \ yarn hardhat --network mainnet ops:redeemTranches \ --bond-issuer-address 0x2E2E49eDCd5ce08677Bab6d791C863f1361B52F2 +yarn hardhat --network mainnet ops:redeemTranches \ + --bond-issuer-address 0x85d1BA777Eb3FCBb10C82cdf3aAa8231e21B6777 + yarn hardhat --network mainnet ops:preview_tx:redeemTranches \ --wallet-address [INSERT_WALLET_ADDRESS] \ - --bond-issuer-address 0x2E2E49eDCd5ce08677Bab6d791C863f1361B52F2 + --bond-issuer-address 0x85d1BA777Eb3FCBb10C82cdf3aAa8231e21B6777 yarn hardhat --network mainnet ops:preview_tx:trancheAndRollover \ --wallet-address [INSERT_WALLET_ADDRESS] \