# NetworkRegistry V2 Proposal ## NetworkRegistry contract - Complete code review based on [Dedaub first report](https://docs.google.com/document/d/1yEgrI3bn_wcIYhLD_TVmd5qQitFog5GdU6DdOysaKts/edit?tab=t.0#heading=h.kqxi3kc5lnoq) - Implement changes suggested in [Dedaub 2nd report](https://docs.google.com/document/d/12UT6dW6g-2QQ2SzNvDUz1t3nbEGgI9vybkG3n5jKDF8/edit) - Feedback from last PG call: - Inactive members should be removed from the registry - Ignore the front-running issues, i.e. keep updates permissionless - Do fuzzy testing on the CalculatorLibrary based on suggestions from [RedGuild's report](https://hackmd.io/7I1fSZm_RfS7EcxX6Qt7RQ?both) - Cross-chain related code: - Cleanup the `xReceive` function to avoid decode/re-encode calldata -> just validate function selector matches any whitelisted function - Remove all code related to cross-chain behaviour on NetworkRegistry V2 - Out-of-scope tasks: - Consider using the DiamondStandard for the new contract design - Monitor progress on 0xSplit V2 [repo](https://github.com/0xSplits/splits-contracts-monorepo/tree/main) ## Custom Proposals - Spec & Requirements ### Smart Contracts - DAOHaus Shaman - Implement EarlyExecutionShaman contract module + unit tests [PoC report](https://hackmd.io/@santteegt/Sy-Tu4G36) - e2e tests: DAO -> EarlyExecutionShaman -> PassthroughWallet -> 0xSplit - Implement setup script (deploy + add module to dao) - what about replicas? - Update NetworkRegistry contract to include emergency 0xSplit update - what about replicas? - Optional: define & setup roles (it depends on project preferences): - proposer/executor role @ shaman level - calling function permissions @ zodiac module level ### Backend - DAOHaus Subgraph - Update DAOHaus subgraph - index dao EarlyExecution shaman module - index early execution proposal data ### Frontend - DAOHaus Admin - Update subgraph queries to include DAO's module data - Enable EarlyExecution module setup in the DAO settings - Update proposal modal to allow to set min quorum and submit a proposal through the EarlyExecution shaman - Update proposal view to include early execution info + actions ### Frontend - PG Registry - Implement two custom proposals: should be submitted through the enabled shaman module (forms + tx builder) ## Timelines & Payout ### Team - Dekan - Santiago ## Estimated Time - Implementation: xxx hours (yyy weeks) - Testing: xxx hours (yyy weeks) ## Payout -