Skip to content
Merged
Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions .README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Diagrams

sequenceDiagram
SLI_ORACLE_SERVICE->>+SLA_ALLOCATOR_CONTRACT: getProviders()
SLA_ALLOCATOR_CONTRACT->>-SLI_ORACLE_SERVICE: return Providers List

SLI_ORACLE_SERVICE->>SLI_ORACLE_SERVICE: Prepare CDP_API request

SLI_ORACLE_SERVICE->>+CDP_API_SERVICE: get SLI metrics about SPs
CDP_API_SERVICE->>-SLI_ORACLE_SERVICE: return SLI metrics for SPs

SLI_ORACLE_SERVICE->>SLI_ORACLE_SERVICE: Prepare multicall request

SLI_ORACLE_SERVICE->>+SLI_ORACLE_CONTRACT: validate multicall request: setSLI()
SLI_ORACLE_CONTRACT->>-SLI_ORACLE_SERVICE: return validated request

SLI_ORACLE_SERVICE->>+SLI_ORACLE_CONTRACT: tx: setSLI()
SLI_ORACLE_CONTRACT->>-SLI_ORACLE_SERVICE: rx: transaction hash

SLI_ORACLE_SERVICE->>SLI_ORACLE_SERVICE: Awaiting for transaction receipt
Binary file added image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.