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

Usability Proxy Contracts #260

Open
mpetrunic opened this issue Jul 23, 2024 · 0 comments
Open

Usability Proxy Contracts #260

mpetrunic opened this issue Jul 23, 2024 · 0 comments

Comments

@mpetrunic
Copy link
Member

Story

As a developer
I want Sygma erc20 transfer to behave as all other bridges
So that I can integrate it as a drop-in solution.

Background

Right now, sygma bridge ux is weird as you approve tokens to the erc20 handler and potentially to the fee handler and then call the bridge contract. Which is sketchy at best.

Details

Create ERC20 adapter to be usability proxy where you will approve your tokens (ideally upgradable so that we can fix it in case a vulnerability is found) and on the same address. That proxy will then approve tokens to fee handler and erc20 handler.

Scenarios

Scenario:
Given I am <type of user/persona>
When
And
Then

Implementation details

Testing details

Acceptance criteria

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

No branches or pull requests

1 participant