Introduction
Introducing a AEFlowDAO a Project that aims to revolutionize the way we create and execute decentralized autonomous organizations (DAOs)! Built on the Aeternity blockchain, this platform provides a user-friendly interface that enables users to easily create proposal flows and automate their execution via a validator network.
DAOs have the potential to transform the way we make decisions and govern organizations, but creating and executing proposals within a DAO can be complex and time-consuming. This project aims to simplify the process by providing a streamlined platform that enables users to create and execute proposals in a secure and efficient manner.
The platform features a drag-and-drop utility that makes it easy to create proposal flows with multiple steps and conditions. Once a proposal is created, it is sent to the DAO contract for approval. Upon approval, an event is triggered which is picked up by a validator node, and the proposal flow is executed automatically.
This hackathon project leverages the power of the Aeternity blockchain to enable efficient and secure execution of proposals within a DAO, providing a user-friendly platform for decentralized decision-making.
Technical Details
The AEFlowDAO is made for scalability, To remove the need for a trusted party completely even when executing already passed proposal, We think that the true power of DAO's can only be leveraged if they are closely connected to Finance, Finance requires complex queries and task that are currently executed by trusted individuals or multisigs. We aim to remove this by introducing a flow based mechanism for proposal execution, Incentivizing independent validators to make sure that the passed Proposal is executed properly
Contracts Details :
- Guard Contract (DAO Factory) : This is the main contract which is used for the creation of DAO as well as maintains the record for the validators and assigns them the task.
- DAO contract : This is the DAO contract that is deployed for every DAO and maintains state for the proposal and voting detail, on successful voting of a proposal the DAO contract sends details regarding the graph to the Guard contract which than makes sure that the validator are executing the proposal
Flow Details :
We have created a easy drag and drop platform to create complex transaction flows which can be used to create simple flows like streaming payments as well as complex flows like dynamic liquidity maker. We have provided pre-built nodes that can be used to swap-tokens, add liquidity, transfer tokens.
Node Details :
- Basic Nodes : Timer, Boolean, Logic etc
- Aeternity Nodes : Swap Tokens , Transfer AE, Transfer Token, Add Liquidity, Remove Liquidity and many more
In total we have created 10 Nodes for Aeternity which deeply integrates to already available DEX and the AEX-9 standard of Aeternity
Full Details of All Aeternity Nodes can be found here : https://docs.google.com/document/d/1ffsOAretAHMCCC6YFSWD7ZagXzs9OomWoMz58pUkmDo/edit?usp=sharing
Consensus Handling
For the validator nodes that handle the transaction flow it's important to report malicious node that may have not executed the flow properly. We go by the Optimistic approach that every node is a good actor until reported. Once reported for bad behavior the staked token of the Malicious node gets locked and all the validator votes on the node's behavior if the node is indeed found guilty some percentage of the staked token is rewarded to the node that reported the action others are given back to the flow that was handled inappropriately
Attractions
User-Friendly Interface: The drag-and-drop interface of the platform makes it easy for users to create and manage escrows without needing to manually write conditions or check them. This user-friendly approach makes it easy for users of all skill levels to participate in escrow transactions.
Automation: The platform's worker system automates the process of checking escrow conditions. This means that users do not need to manually monitor the conditions of the proposal or worry about whether the funds will be released correctly.
Decentralization: The platform is built to be decentralized, which means that it is not controlled by a single entity or organization. This helps to ensure that the platform is resilient to attacks and that users can participate in escrow transactions without needing to trust a centralized authority.
Security: The conditions are stored on the Aeternity, which is a secure and tamper-proof ledger. This helps to ensure that the conditions of the flow cannot be modified or manipulated.
Efficiency: The use of the Aeternity and the worker system helps to make the Flow process more efficient. Transactions can be processed quickly, and the use of automation helps to reduce the potential for errors or delays.
Features :
- Single Click DAO
- Automatic Proposal Execution
- Drag and Drop Proposal Flow
- Gasless Voting Transaction
- Flexible Initial Token Distribution
How we Built It
- Backend Logic : We have tried to keep as much logic as possible OnChain it order to match our platform with the ethos of decentralization
- Validator Node : Our validator nodes are made in Nodejs, while we want to switch them to go in long-term
- UI : The UI was made using Reactjs
What's Next
Escrow Analytics: The platform could provide escrow analytics and reporting tools to help users track and analyze their escrow transactions. This could help users to make more informed decisions about their escrow transactions and identify any areas where they could improve their processes.
Improved Notification System: The platform's notification system could be enhanced to provide users with more detailed and customizable notifications. Users could choose to receive notifications via email, SMS, or other messaging systems, and could set custom notifications for specific escrow conditions.
AEX-141 Support : Adding support for AEX-141 so that the DAO proposal can also interact with NFT's
Log in or sign up for Devpost to join the conversation.