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

Migrate from 1:1 eth asset <-> sway contract to n:1 #127

Closed
DefiCake opened this issue Feb 19, 2024 · 0 comments · Fixed by #150
Closed

Migrate from 1:1 eth asset <-> sway contract to n:1 #127

DefiCake opened this issue Feb 19, 2024 · 0 comments · Fixed by #150
Assignees

Comments

@DefiCake
Copy link
Member

No description provided.

@DefiCake DefiCake self-assigned this Feb 19, 2024
DefiCake added a commit that referenced this issue Apr 9, 2024
This PR changes the architecture of the bridge

Before we would have:
- A L1 deposit contract allowing to deposit tokens to MULTIPLE L2
contracts
- Those MULTIPLE L2 contracts allowed a single L1 token to be deposited,
ie. the L2 contract validated that the deposited token in L1 was the
expected one.

Now we have migrated to a `single asset issuer` architecture, meaning
there will be a single L2 contract receiving messages from the L1
deposit contract, and minting different assets depending on the
deposited token.

Closes #127

---------

Co-authored-by: K1-R1 <77465250+K1-R1@users.noreply.github.com>
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 a pull request may close this issue.

1 participant