This effort prototypes a simplified end-to-end flow of FIO Wrapping.
Todo
Only initial validation was done on wraptokens
Update oracle to use _mint (to user address)
Include Oracle validation
Use case
Wrap FIO Token:ERC20: https://github.com/fioprotocol/fio.erc20/blob/main/contracts/wfio.sol
Use case: Wrap FIO Token
Alice (dApp) executes
wraptokens
on FIO chainOracle monitors
wraptokens
for transfersOracle calls ERC20
wrap
ERC20 collects Oracle
wrap
observationWhen consensus reaching ERC20 calls
_mint
Alice can now view
balanceOf
wfio in Metamask/explorer
...