A registry contract for Miami DAO. Includes DAO information and membership management. To (possibly) be used with @unclemantis contracts. See contract comments for intended usage.
Because it is meant to be coupled to a core-proposal-contract there are unimplemented authorization checks in many of the functions.
I checked in the /settings files. Not sure if they should be checked in as they will eventually contain system specific info (could add env vars here for things like mnemonic).
Arbitrary hardcoded addresses are used in some places, they are meant to be replaced with an appropriate corresponding testnet or mainnet address.
Dependency contracts like miamicoin-token.clar are included and checked in since they are required to be present when wanting to test locally. I commented out some parts of the dependency contracts since it involves dependencies on other contracts for functions that never get called.
No unit test coverage as I don't even know the right way to go about doing this for Clarity contracts anymore since the mocha Clarity related docs appear to be gone.
All code provided without rigorous testing or quality guarantees.
This is very much a draft but wanted to propose merging to main since this may or may not be blocking other dev work and we need to limit the scatter in our active working branches. You can all change it as you see fit pre or post-merge. Take the good, leave the bad. Do nothing with it, all the same to me. Hope this implementation helps. Let me know if any questions.
Summary of changes:
core-proposal-contract
there are unimplemented authorization checks in many of the functions./settings
files. Not sure if they should be checked in as they will eventually contain system specific info (could add env vars here for things like mnemonic).miamicoin-token.clar
are included and checked in since they are required to be present when wanting to test locally. I commented out some parts of the dependency contracts since it involves dependencies on other contracts for functions that never get called.mocha
Clarity related docs appear to be gone.This is very much a draft but wanted to propose merging to
main
since this may or may not be blocking other dev work and we need to limit the scatter in our active working branches. You can all change it as you see fit pre or post-merge. Take the good, leave the bad. Do nothing with it, all the same to me. Hope this implementation helps. Let me know if any questions.