Table of Contents |
---|
...
There are two main use cases that concern the Oracle, Wrap and Unwrap. These are detailed below.
TBD: What are the watchdog/monitoring routines we expect from the Oracles?
Wrap
Wrap creates wFIO on the Ethereum chain.
See the following page for an overview of the Wrap use case: Wrap
Functionality | |
---|---|
Alice (dApp) executes | Casey Gardiner Need brief overview of what is happening: which contract is used |
Oracle monitors | Todd G What was the Go code doing to monitor the chain? |
Oracle validates | Todd G Need bullet list of validations |
If exceptions are found, Oracle takes action to unwind transaction | See Exception handling below Todd G Need to flesh this out |
Oracle executes | Adam Androulidakis Need brief overview of what is happening: which calls are used. What needs to be passed. |
Oracle validates | Todd G What type of validation is done on the Ethereum chain during a wrap? |
Once all Oracles have submitted | Todd G Does the oracle do any kind of monitoring or validation of the overall transaction (post consensus?) |
Exception handling
Error condition | Trigger | Type | fields:name | fields:value | Error message | Oracle Action |
---|---|---|---|---|---|---|
Invalid chain | Chain passed to | Oracle triggers | ||||
Invalid Ethereum address | Public address passed to | Oracle triggers | ||||
...
Functionality | |
---|---|
Alice (dApp) executes | Adam Androulidakis Need brief overview of what is happening: which contract is used, when does the burn happen? |
Oracle monitors | Todd G What was the Go code doing to monitor the chain? Does it confirm burn? |
Oracle validates | Todd G Need bullet list of validations |
If exceptions are found, Oracle takes action to unwind transaction | See Exception handling below Todd G Need to flesh this out |
Oracle executes | Casey Gardiner Need brief overview of what is happening: which calls are used. What needs to be passed. How does the FIO get transferred. |
Oracle validates | Todd G What type of validation is done on the Ethereum chain during a wrap? |
Once all Oracles have submitted | Todd G Does the oracle do any kind of monitoring or validation of the overall transaction (post consensus?) |
Exception handling
Error condition | Trigger | Type | fields:name | fields:value | Error message | Oracle Action |
---|---|---|---|---|---|---|
Invalid FIO Address | FIO Address passed in with ERC-20 is not valid or does not exist | Oracle triggers a ERC20 | ||||
...