Smart contract used for managing and running DAOs through PeerMe on MultiversX Blockchain.
Specifically, two smart contracts:
- The Entity Template: Is the actual DAO smart contract that users interact with
- The Manager: Deploys and manages instances of the Entity Template smart contract & contains other utilities
Find the mentioned smart contracts on the Explorer:
- Entity Template: erd1qqqqqqqqqqqqqpgqces4kdydtp9ea29pymjjyg7vcfqfllly27rsv3qats
- Manager: erd1qqqqqqqqqqqqqpgqtatmxjhlxkehl37u5kz9tz7sm450xd7f27rsppynzj
You can find extensive Documentation about DAOs & their supporting tools in our Knowledge Base:
- To learn more about DAOs in general, read our Overview page.
- To create your own DAO, follow the simple steps on the Setup page.
- To better understand roles & permissions, check out the Roles & Permissions page.
- To learn about the technical concepts, visit the Technical page.
- The Manager smart contract must possess the
ESDTRoleLocalMint
role for the configured token ofboost-reward-token-id
โ SUPERPOWER-6f4cee in our case
Before deploying the smart contract to the blockchain, be sure to:
- Remove the
exit
part within thedeploy
function ininteraction/manager.sh
to disable deploy protection. - Configure all variables within
mxpy.data-storage.json
for the corresponding network. - Connect & unlock your Ledger device with the Elrond app open, ready to sign the deploy transaction.
. ./interaction/manager.sh && deploy
To upgrade the Manager smart contract:
. ./interaction/manager.sh && upgrade
To upgrade the Entity Template smart contract:
. ./interaction/manager.sh && upgradeEntityTemplate
You can run the tests with:
cargo test
Please review our security policy on how to report security vulnerabilities.
The GNU GENERAL PUBLIC LICENSE v3.0. Please see License File for more information.