Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContractRegistry module + LoanConsolidator #19

Open
wants to merge 162 commits into
base: develop
Choose a base branch
from
Open

Conversation

0xJem
Copy link
Collaborator

@0xJem 0xJem commented Nov 12, 2024

LoanConsolidator:

  • Renames CoolerUtils to LoanConsolidator
  • Checks that the Clearinghouse parameter is registered (doesn't have to be active) with the current CHREG module
  • Checks that the Cooler parameter was created by the CoolerFactory used by the Clearinghouse (valid since the Clearinghouse has been validated by that point)
  • Adds a consolidatorActive flag
    • Disabled by default
    • Disables the consolidation function if inactive
    • activate/deactivate functions, gated to the "emergency_shutdown" role
  • Enable ownership change while consolidating
  • Allow for the consolidation of a single loan (instead of the previous minimum of 2) when consolidating across different Coolers
  • Emits events in admin functions
  • Adds MS batch scripts and OCG proposals (which will fail until contract deployment)
  • Improves CI builds
  • Bumps to version 4
  • Converts to be a Bophades policy

ContractRegistry module (RGSTY):

  • Adds the contract registry module and a configuration policy

Deployment:

  • Script improvements to allow of execution of MS batches and OCG proposals on Tenderly testnets

# Conflicts:
#	remappings.txt
#	src/scripts/deploy/DeployV2.sol
#	src/test/external/cooler/CoolerUtils.t.sol
#	src/test/policies/BoostedLiquidity/BLVaultManagerLusdFork.t.sol
# Conflicts:
#	ROLES.md
#	remappings.txt
#	shell/deploy.sh
#	src/scripts/ops/batch.sh
#	src/scripts/proposals/delegate.sh
#	src/scripts/proposals/executeOnTestnet.sh
#	src/scripts/proposals/submitProposal.sh
0xJem added a commit that referenced this pull request Nov 13, 2024
0xJem added 22 commits November 13, 2024 15:18
# Conflicts:
#	src/proposals/addresses.json
#	src/scripts/deploy/DeployV2.sol
#	src/scripts/env.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants