decentdao / decent-contracts

Your Safe, Superpowered
https://app.fractalframework.xyz
MIT License
3 stars 3 forks source link

Add DAO relationship function to FractalNameRegistry #21

Closed herbig closed 1 year ago

herbig commented 1 year ago

We'd like to add a function which logs a parent/child DAO relationship to the FractalNameRegistry contract, in order to view that relationship in the DAO Hierarchy page without the need to add the parent as a signer on the child.

Spec

  1. a new method on FractalNameRegistry which logs this relationship, similar to the naming function (e.g. declareChildDAO(string memory _childAddress).
  2. Rename FractalNameRegistry to something more applicable now that is has more utility than just naming, e.g. FractalRegistry / FractalMetadataRegistry.

https://github.com/decent-dao/fractal-contracts/blob/develop/contracts/FractalNameRegistry.sol