Reward and bond distribution - BrightSightOO/oracle-be GitHub Wiki

---
title: Distribution of reward and bonds
config:
  flowchart:
    wrappingWidth: 1000
---
graph TD
  A{{"Assertion disputed?"}}
  A -->|No| B
  A -->|Yes| C
  
  subgraph ClaimAssertion
  B[/"Reward: asserter"/] --> D[/"Asserter bond: asserter"/]
  end
  
  C{{"Asserter correct?"}}
  C --> |Yes| E --> B
  C --> |No| G --> H
  
  subgraph ClaimVote
  E[/"Disputer bond: correct voters + protocol fee"/]
  G[/"Asserter bond: correct voters + protocol fee"/]
  end
  
  subgraph ClaimDispute
  H[/"Reward: disputer"/] --> I[/"Disputer bond: disputer"/]
  end