Functional Requirements
Roles
SkyBridge™ has three roles:
admin
: full control over the bridge. Able to change the fee structure, change the address of the liquidity pool, and other bridges.pauser
: can pause the bridge.backend
: can relay fast withdrawal data.
- A standard
user
can use the bridge to transfer funds.
Features
- Change which tokens are allowed to be fast bridged
Required role: admin
- Adjust the fees
Required role: admin
- Set the address for the bridge on the other chain
Required role: admin
- Pause the bridge
Required role: pauser
- Transfer Ethereum through the bridge to the other chain
- Transfer ERC-20 tokens through the bridge to the other chain
- Transfer ERC-721 tokens through the bridge to the other chain
- Initiate a fast transfer from the L2 to the L1
Use Cases
- Users can transfer tokens from a Layer-1 network to a Layer-2 network (Base).
- Users can transfer tokens from Layer 2 (Base) to Layer 1 with a 7-day lockout as imposed by the underlying Optimism bridge.
- Users can transfer approved tokens from Layer-2 (Base) to Layer-1 using the fast bridging mechanism. This mechanism is enabled by a
LiquidityPool
on Layer-1, which will fund the exchange. After - the challenge period, tokens will be deposited into theLiquidityPool
to replenish its balance.