Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This effort prototypes a simplified end-to-end flow of moving from WFIO to FIO.

Use case

Unwrap FIO Token:

  1. Alice (dApp) executes ERC20 approve sending amount and FIO Address

    1. Send FIO Address as hash?

    2. Add on to end of approve?

  2. Oracle monitors approve

  3. Oracle calls burnFrom from Alice’s account

  4. Oracle calls fio.oracle unwraptokens which transfers FIO to Alice

Assumptions

  • Assume there is a single Oracle managing all transactions. Do NOT worry about multisigs, approvals, etc.

  • No validation on either chain is required.

Diagram link: https://app.diagrams.net/#G1ETfA3K6VTa-rhqcH7gJmRsFUIiGS2kDn

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.