feat: add emergency treasury initialization and recover funds function #134
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After a successful proposal from BuilderDAO to SelloutDAO -- this transaction was executed: https://nouns.build/dao/base/0xe8af882f2f5c79580230710ac0e2344070099432/vote/15
The issue is, because BuilderDAO is now on BASE, and nouns.build allows users to create DAOs on multiple L2s, the shortcuts that compose proposal arguments (in this case Transfer), do not take into account the possibility of cross chain interactions.
So the funds were sent to the address of our treasury on BASE instead of the address of our treasury on Zora Network.
Using CREATE2, the
Manager
contract is able to deploy the Treasury contract on Base with the same address that it exists on Zora, however there are 2 issuesTo recover the funds on BASE I am proposing to make these temporary changes to the protocol that allow the owner of Manager to initialize a treasury using CREATE2, and then allow the owner of a treasury (which is the governor contract for all existing DAOs) to withdraw the funds to an arbitrary address
I believe this should not introduce any security concerns for existing DAOs, but would also allow the multisig that controls Builder to help Sellout DAO recover these funds
Steps to Recovery
CLEANUP