GithubHelp home page GithubHelp logo

levyyitzchak / dandelion-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 1hive/dandelion-template

0.0 0.0 0.0 367 KB

An Aragon template featuring Moloch-style ragequit functionality

License: MIT License

JavaScript 57.24% Solidity 42.76%

dandelion-template's Introduction

Dandelion Template

An organization template intended to enable organizations to form and dissolve quickly.

๐Ÿšจ Security review status: Contracts audited

Overview

1Hive's Dandelion Organization template is intended to help facilitate collaboration by providing an organization structure that makes it easy for contributors easily part ways when disagreements occur. By guaranteeing that participants can exit if they disagree with the decisions other members are making, dandelion organizations are more easily able to attract capital investment.

The dandelion organization template consists of the Agent (optional), Finance, and Token Manager apps maintained by Aragon One. As well as the following applications developed and maintained by 1Hive:

  • Redemptions: Allows users to manage a list of eligible assets held within an organizations Vault and allow members of the organization to redeem (burn) organization token in exchange for a proportional amount of the eligible assets.
  • Token Request: Allows users to propose minting tokens in exchange for a payment to the organization, subject to the approval of existing members.
  • Time Lock: Allows an organization to require users to lock a configure amount of tokens for a configurable amount of time in order to forward an intent.
  • Dandelion Voting An enhanced version of Aragon One's voting app which implements an ACL Oracle which allows an organization to configure permissions that restrict actions based on whether an address has recently voted Yes.

Permissions

App Permission Grantee Manager ACL Oracle
Kernel APP_MANAGER Dandelion Voting Dandelion Voting None
ACL CREATE_PERMISSIONS Dandelion Voting Dandelion Voting None
EVMScriptRegistry REGISTRY_MANAGER Dandelion Voting Dandelion Voting None
EVMScriptRegistry REGISTRY_ADD_EXECUTOR Dandelion Voting Dandelion Voting None
Dandelion Voting CREATE_VOTES Time Lock Dandelion Voting None
Dandelion Voting MODIFY_QUORUM Dandelion Voting Dandelion Voting None
Dandelion Voting MODIFY_SUPPORT Dandelion Voting Dandelion Voting None
Dandelion Voting MODIFY_BUFFER Dandelion Voting Dandelion Voting None
Dandelion Voting MODIFY_EXECUTION_DELAY Dandelion Voting Dandelion Voting None
Agent or Vault TRANSFER Finance and Redemptions Dandelion Voting None
Finance CREATE_PAYMENTS Dandelion Voting Dandelion Voting None
Finance EXECUTE_PAYMENTS Dandelion Voting Dandelion Voting None
Finance MANAGE_PAYMENTS Dandelion Voting Dandelion Voting None
Token Manager MINT Token Request Dandelion Voting None
Token Manager BURN Redemptions Dandelion Voting None
Redemptions ADD_TOKEN Dandelion Voting Dandelion Voting None
Redemptions REMOVE_TOKEN Dandelion Voting Dandelion Voting None
Redemptions REDEEM ANY ENTITY Dandelion Voting Dandelion Voting
Token Request SET_TOKEN_MANAGER Dandelion Voting Dandelion Voting None
Token Request SET_VAULT Dandelion Voting Dandelion Voting None
Token Request MODIFY_TOKENS Dandelion Voting Dandelion Voting None
Token Request FINALISE_TOKEN_REQUEST Dandelion Voting Dandelion Voting None
Time Lock CHANGE_DURATION Dandelion Voting Dandelion Voting None
Time Lock CHANGE_AMOUNT Dandelion Voting Dandelion Voting None
Time Lock CHANGE_SPAM_PENALTY Dandelion Voting Dandelion Voting None
Time Lock LOCK_TOKENS_ROLE ANY ENTITY Dandelion Voting Token Oracle
Token Oracle SET_TOKEN Dandelion Voting Dandelion Voting None
Token Oracle SET_MIN_BALANCE Dandelion Voting Dandelion Voting None

Additional permissions if the Agent app is installed

App Permission Grantee Manager
Agent RUN_SCRIPT Dandelion Voting Dandelion Voting
Agent EXECUTE Dandelion Voting Dandelion Voting

Testing

  • On a separate terminal, run the aragon devchain
aragon devchain --network-id 15
  • Run tests
npm run test

| Note that you will need to have all dandelion apps published to the devchain before running tests.

Contributing

We welcome community contributions!

Please check out our open Issues to get started.

If you discover something that could potentially impact security, please notify us immediately. The quickest way to reach us is via the #dev channel in our team Keybase chat. Just say hi and that you discovered a potential security vulnerability and we'll DM you to discuss details.

dandelion-template's People

Contributors

fabriziovigevani avatar rperez89 avatar willjgriff avatar lkngtn avatar 0xgabi avatar ro5s avatar yeqbfgxjiq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.