Scallop Bridge Contracts

Scallop Bridge is a trustless bridge that supports asset transfer over EVM chains Ethereum, Polygon and Binance Smart Chain(BSC).

Scallop Bridge uses Chainbridge standard contracts for bridging tokens over supported EVM chains. Scallop Bridge uses Bridge contracts, ERC20/SRC20 handlers, Relayers and Generic handlers.

A bridge contract on each chain forms either side of a bridge.

Handler contracts

These contracts allow for customisable behaviour upon receiving transactions to and from the bridge. For example, locking up an asset on one side and minting a new one on the other.

ERC20/SRC20 handler contracts exist on the source and target chains. They perform the task of locking/unlocking tokens on the source chain and minting/burning tokens on target chains. The liquidity is protected using the on-chain ERC20/SRC20 contracts and can only be withdrawn or deposited abiding by the contract rules.

Relayers

The relayers perform the service of validating transfers across the Chainbridge. With 3 relayers serving as the distributed bridging authorities, proposal events (propose/execute) which are responsible for either the issuance or consumption of tokens, among other things, are communicated to their corresponding chain contracts when/if a consensus is reached between this group.

Generic Handler

A Generic Handler is highly customisable - you can deploy a handler contract to perform any action like bridging generic data and documents over different EVM chains like Ethereum, Polygon and Binance Smart Chain(BSC).

The configurations of the existing contracts and their deployments can be found in the Configurations page.

Last updated