The Shuttleflow Smart Contracts Design and Implementation
Design Goals
The Shuttleflow smart contracts have following design goals:
- Support atomic mapping between Conflux cToken and cross chain assets including BTC, ETH and ERC20 tokens.
- Maintain the membership and authority of custodian alliance.
- Pausable and upgradable, data migration.
The code of smart contract will open source in future.
Components (on Conflux)
- CustodianCore: crosschain goverance contract
- TokenSponsor: token sponsor contract
- TokenBase: cToken contract
Components (on Ethereum)
- EthFactory: crosschain goverance contract on ethereum
- DefiRelayer: the defi relayer contract for defi on ethereum who want to receive assets migrated from conflux chain.