Updated deployment scripts that utilize one another. We no longer need to copy paste the addresses, the scripts know how to fetch the new deployed addresses and reuse them wherever needed
A new logging mechanism where deployments to different environments are logged and saved
New shell scripts to ease the deployments
New shell scripts to add a module, add ceiling to a module and updating it.
Files and folders:
deployments folder - this folder contains temporary addresses and logs the addresses deployed to each network
deploy folder - contains shell scripts needed to deploy and update contracts
scripts/Addresses.sol - this file has been changed and now reads addresses from temp addresses file/past addresses file based on when its needed
scripts/UpdateAddModule.s.sol - This script adds a module
scripts/UpdateModulePHOCeiling.s.sol - this script updates the module pho ceiling
scripts/UpdateExecuteCeilingUpdate.s.sol - this script executes the ceiling update
deploy/deploy.sh - this script deploys a single contract based on parameters
deploy/deployAll.sh - this scripts calls several different depoy.sh with chosen parameters
deploy/addModule.sh - script of .s file
deploy/setPHOCeiling.sh - script of .s file
deploy/executeCeilingUpdate.sh - script for .s file
This is a big one. This PR has:
Files and folders:
deployments
folder - this folder contains temporary addresses and logs the addresses deployed to each networkdeploy
folder - contains shell scripts needed to deploy and update contractsscripts/Addresses.sol
- this file has been changed and now reads addresses from temp addresses file/past addresses file based on when its neededscripts/UpdateAddModule.s.sol
- This script adds a modulescripts/UpdateModulePHOCeiling.s.sol
- this script updates the module pho ceilingscripts/UpdateExecuteCeilingUpdate.s.sol
- this script executes the ceiling updatedeploy/deploy.sh
- this script deploys a single contract based on parametersdeploy/deployAll.sh
- this scripts calls several differentdepoy.sh
with chosen parametersdeploy/addModule.sh
- script of.s
filedeploy/setPHOCeiling.sh
- script of.s
filedeploy/executeCeilingUpdate.sh
- script for.s
file