DGF workflow
- Task-based, revenue-generating work
- Expert stakes REP to register availability
```mermaid graph
subgraph EOA
expert(Expert)
end
subgraph Contracts
availability(Availability)
end
expert -- 1. Stake ℝ --> availability
```
- Public submits work request with fee
```mermaid graph
subgraph EOA
expert(Expert) public(Public)
end
subgraph Contracts
business(Business) availability(Availability)
end
public -- 1. Request
with fee $ --> business
business -- 2. Assign
work --> availability
availability -- 3. Transfer
staked ℝ --> business
availability -- 4. TODO Notify --> expert
```
- Expert submits work evidence
```mermaid graph
subgraph EOA
expert(Expert)
end
subgraph Contracts
business(Business) forum(Forum) pool(Pool)
end
expert -- 1. Work
evidence --> business
business -- 2. Post --> forum
business -- 3. Stake ℝ --> pool
```
- Peers validate the work evidence
```mermaid graph
subgraph EOA
peers(Peers)
end
subgraph Contracts
forum(Forum) pool(Pool)
end
peers -- 8. Stake ℝ --> pool
pool -- 9. Validate post,
Transfer ℝ --> forum
```
- Rewards are distributed
```mermaid graph
subgraph EOA
expert(Expert) peers(Peers)
end
subgraph Contracts
pool(Pool) business(Business) forum(Forum)
end
pool -- Reward ℝ --> peers
forum -- Award ℝ --> expert
forum -- Award ℝ
via citation
WDAG --> peers
business -- Award % fee $
weighted by ℝ--> expert
business -- Award % fee $
weighted by ℝ--> peers
```
- Internal operations
- Expert starts new DAO
```mermaid graph
subgraph EOA
expert(Expert)
end
subgraph Contracts
forum(Forum) pool(Pool)
end
expert -- Post --> forum expert -- Fee $ --> pool
```
- Expert joins existing DAO
```mermaid graph
subgraph EOA
expert(Expert) peers(Peers)
end
subgraph Contracts
forum(Forum) pool(Pool)
end
expert -- 1. Post --> forum
expert -- 2. Fee $ --> pool
peers -- 3. Stake ℝ
to approve --> pool
```
- Expert submits governance post
A governance post can be considered one that is respected in some way by the operations of the [Client/UI](./client-or-ui.md).
This is a broad class of posts.
Each type of governance post can be individually (or by category?) handled by the business contract for a given DAO.
```mermaid graph
subgraph EOA
expert(Expert) peers(Peers)
end
subgraph Contracts
forum(Forum) pool(Pool) business(Business)
end
expert -- 1. Stake ℝ on
governance post --> business
business -- 2. Post --> forum
business -- 2. Fee $ from
internal fund? --> pool
peers -- 3. Stake ℝ
to approve --> pool
pool -- 4. Validate --> forum
```