Links
🟪

Symbiosis Core Smart Contracts

Symbiosis core smart contracts overview.
Symbiosis core smart contracts are open source and available at https://github.com/symbiosis-finance/core-contracts
For security audits of Symbiosis core smart contract, please refer to Security Audits of Symbiosis.
Symbiosis core smart contracts implement the on-chain logic of cross-chain operations (cross-chain swaps, cross-chain zaps, interchain communication, bridging). The smart contracts are deployed and tuned by Symbiosis administrators while adding a blockchain to the Symbiosis protocol.
Symbiosis protocol V1 has an identical set of smart contracts on each supported blockchain. Symbiosis protocol V2 has three slightly different sets of smart contracts: Scheme 1.
Scheme 1. Smart contracts of Symbiosis protocol V2.
All smart contracts shown in Scheme 1, except MulticallRouter and Octopool, are inherited from Symbiosis protocol V1 without a modification. Let's see what each contract does:
  1. 1.
    The MetaRouterGateway contract secures the interactions of the MetaRouter contract with users’ ERC20 tokens. The use of users’ ERC20 tokens should only be approved for this contract.
  2. 2.
    The MetaRouter contract manages calls to other Symbiosis contracts on one blockchain within one cross-chain operation.
  3. 3.
    The Portal contract locks and unlocks users' stablecoins during cross-chain operations.
  4. 4.
    The BridgeV2 contract is a proxy between the Symbiosis relayers network and the Synthesis/Portal contracts.
  5. 5.
    The Synthesis contract on S-chain mints and burns sTokens during cross-chain operations. The Synthesis contract on the BNB chain mints and burns sSIS tokens when bridging SIS tokens.
  6. 6.
    Symbiosis Octopool is a Symbiosis AMM with multiple stablecoins. The AMM contains one sToken type (a representation of a stablecoin from another blockchain) for each supported blockchain and one stablecoin type for S-chain.
  7. 7.
    The MulticallRouter contract manages calls to Symbiosis contracts on S-chain within one cross-chain operation, when S-chain isn't the source or destination blockchain of the cross-chain operation.
  8. 8.
    Uniswap-like DEX {SIS BNB / BNB}: Symbiosis owns a Uniswap-like DEX with a {SIS BNB / BNB} pair on the BNB chain, allowing users to trade SIS tokens on the BNB chain.
Symbiosis Routing Contracts describe how the contracts interact during cross-chain operations.

More Information