dao
dao copied to clipboard
Moonstream DAO
Which will burn all the tokens that a holder holds in a given pool ID.
## Changes No functional changes. Upgrading Moonworm generated CLIs: ```bash moonworm generate-brownie -p . -o dao -n Diamond moonworm generate-brownie -p . -o dao -n DiamondCutFacet moonworm generate-brownie -p ....
or by Terminus contoller admin. https://github.com/bugout-dev/dao/blob/5bdecfeaf22713dba6b105b907553802dd307d4e/contracts/terminus/controller/TerminusControllerFacet.sol#L58 Thanks to Hacken.io security team for calling this out.
Currently, running a `hardhat compile` in a repo that contains `@moonstream/contracts` imports breaks. This is because there is no `@moonstream/contracts` package on NPM and hardhat uses NPM packages to manage...
Need to add `name` and `symbol` to terminus token, so Polygonscan can index it, and owners can see tokens in their wallets on polygonscan.
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/extensions/ERC1155Burnable.sol