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:
Alice (dApp) executes
wraptokens
on FIO chainOracle monitors
wraptokens
for transfersOracle calls ERC20
_mint
(to user address)ERC20 collects Oracle
_mint
observationWhen consensus reaching Oracle calls
_mint
, the mint is executedAlice can now view
balanceOf
wfio in Metamask/explorer
Diagram link: https://drive.google.com/file/d/12f8iOoZjj1txZCJprpuQ5VFb8Ejpc9Bp/view?usp=sharing
Add Comment