Scope of work
Deploy the required smart contracts in order to replace the TLOS ptoken bridge with LayerZero OFT technology. We had already done this using OFT V1.2, but the TF have decided they would like us to use OFT V2.0 instead.
Don already partly completed this work, by modifying and deploying the example NativeOFT v1.2 contract that allowed wrapping and unwrapping ETH into the OFT.
Scope of work Deploy the required smart contracts in order to replace the TLOS ptoken bridge with LayerZero OFT technology. We had already done this using OFT V1.2, but the TF have decided they would like us to use OFT V2.0 instead.
Don already partly completed this work, by modifying and deploying the example NativeOFT v1.2 contract that allowed wrapping and unwrapping ETH into the OFT.
Telos OFT Repo: https://github.com/telosnetwork/TelosOFT/blob/main/contracts/token/TelosNativeOFT.sol L0 example NativeOFT: https://github.com/LayerZero-Labs/solidity-examples/blob/main/contracts/token/oft/v2/NativeOFTV2.sol
Warning - OFT V1.2 vs v2.0 In many places within the L0 contract repositories OFT V1.2 is incorrectly labeled OFTV2. See the readme below the NativeOFT example: https://github.com/LayerZero-Labs/solidity-examples/blob/main/contracts/token/oft/v2/README.md
OFTV2 contracts
Contracts: https://github.com/LayerZero-Labs/LayerZero-v2/blob/main/oapp/contracts/oft/OFTAdapter.sol Documentation: https://docs.layerzero.network/v2/developers/evm/oft/quickstart#installation
If an audit is required, we should tackle this in partnership with HYDN to ensure they have capacity to complete the audit as soon as possible.