Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fast Bridge #2

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Fast Bridge #2

wants to merge 3 commits into from

Conversation

romanagureev
Copy link
Collaborator

@romanagureev romanagureev commented Oct 30, 2024

Description

Using unbacked emission of crvUSD for fast bridge from L2.

Purpose

L2 native bridges have 1 week delay what works bad for crvUSD peg and LLAMMA Lend. Can use unbacked emission to cover associated risks and allow crvUSD to peg better and grow

Contracts

Vault

Contract holding unbacked emissions. Should mint x crvUSD only when there is an associated x crvUSD in native L2 bridge. This should be abided by minters (e.g. bridge aggregator).
Contract doesn't support any minting queue, so minters might need to compete for transaction when vault is drained. Also usually native bridges need claim transaction on L1, so minters should claim funds before minting.
There can be several minters allowing it to be both: fast bridge on bridge to vault event and bridge through dedicated contract FastBridgeL2.

FastBridgeL2

Contract initiating bridge transaction and associated message to minters (bridge aggregator). It has own throughput limits to loosen Vault queue.

Open questions

  • Is there any purpose for factory? Looks more like a registry
  • Can adopt xdao LayerZero and/or CCIP contracts to deploy in short time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant