Overview

The purpose of this document is to define initial recommendation for the operating procedures for running the wrapping operations, which is planned to be conducted by a decentralized group of oracles and custodians, who are also FIO Chain Block Producers. This document is not intended to describe the detailed functionality of the FIO contracts, Ethereum contracts or the Oracle software. See References below for that information.

Ethereum gas fees

Operations on the Ethereum Chain will require gas.

Oracles

Oracles receive FIO tokens every time a user wraps FIO. The amount is set by Oracles themselves and should be set in such a way that it covers all associated costs including Ethereum gas fees for wrapping. It is the Oracles' responsibility to convert FIO to ETH as required to maintain Oracle operations.

Custodians

Custodians do not receive wrapping fees, so the Ethereum gas fees should be covered by standard fee income generated by the FIO Chain.

Procedures

Custodians

Oracles

Environment Variables

Oracles will need to set the following environment variables:

General variables:

FIO chain variables:

ETH chain variables:

ETH gas settings:

Potential Issues and Suggested Resolution

Security and Stability

Wrapping

User is attempting to wrap FIO to WFIO (FIO->Ethereum):

Unwrapping

User is attempting to unwrap WFIO to FIO (Ethereum->FIO):

Local devnet testing information

The nature of the local testing framework requires the use of the 3 producer accounts devtools utilized during the startup procedures.

Keys used during the startup process here:

These BPs are typically registered as oracles manually after the launch of the development chain. In the case of the oracles not registered, please use the following command using the eosio permissions:

Each oracle will be required to vote for fees prior to the activation of the wrapping services. Example of using setoraclefees:

Coordination channels

Custodians

Use Mainnet Telegram channel

Oracles

Use FIO Token Wrapping Committee Telegram channel

References

FIO Token Wrapping project

FIO Token Wrapping Go-to-market plan

FIO Token Wrapping Integration Test Server (Information on using the Devnet to wrap and unwrap tokens and Domains)

FIO Token Wrapping Technical Documentation