Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create dao-agent.md #149

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions applications/dao-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Overview

This is a proposal for a DAO Agent to be developed and hence added to the current list of supported agents for Bitte wallet.
Interacting with Sputnik DAO contracts right now has 2 major problems.
- Interacting via a UI is fairly technical.
- There is no good application available to interact with them after the sunset of AstroDAO. (Astra++ is nice but it suffers from BOS related problems and API availability issues from Pikespeak.)
A DAO agent on Bitte wallet would make it easy for users to interact with Sputnik V2 contracts.

## Functionality

### Search Functionality
**DAOs**
- Retrieve a list of all DAOs
- Search for a specific DAO using keywords, contract addresses, or names

**Proposals**
- Fetch all proposals for a given DAO
- Retrieve detailed information for a specific proposal within a DAO, including vote counts and status (pending, done, approved, rejected)

**User-specific**
- List all DAOs a user is part of and what permissions they have.
- Display all proposals created by a user within a specific DAO or all DAOs.
- Show all proposals a user is eligible to vote on

### Voting
- Enable voting on a specific proposal ID, integrated with the proposal search functionality

### Proposal Creation
- Create Near Transfer proposals (with refinements to existing functionality)
- Generate Function Call proposals:
- Transfer stable coins
- Swap Near for stable coins via Ref
- Token swaps (implementation to be carefully considered)
- Transfer any FT token. (Maybe stable coins are a niche of this, can merge them together.)
- Add or remove DAO members

## Deliverables

### Release 1
1. List of all DAOs a user is part of. (Default to current logged in user.)
2. List of top n(or all) proposals in a DAO.
3. List proposals the user is eligible to vote on.
4. Specific Information for a given proposal.
5. Voting on a given proposal.
6. Create a Near Transfer proposal.

### Release 2
7. Fetch all DAOs.
8. Fetch a single DAO using specific keywords.
9. List proposals only created by the user. (An admin can check the status of their proposals )
10. Proposal for Stable Coin transfers. USDC and USDT for now. (Can merge with FT proposals but separate APIs would ensure safety.)

### Release 3
11. Proposals for Near to stable coin swap.
12. Add/Remove member
13. Swap A with B. (Not sure of this for now.)

**Budget**: 6000 USD (Release based payment)
**Timeline**: 45 days from approval. (A release every 15 days with 2000 USD payment.)