forum-logic/notes/business.md

102 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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<br />with fee $ --> business
business -- 2. Assign<br />work --> availability
availability -- 3. Transfer<br />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<br />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,<br />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 <br />via citation<br />WDAG --> peers
business -- Award % fee $<br />weighted by --> expert
business -- Award % fee $<br />weighted by --> peers
```