Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Usability Proxy Contracts #260

Open
Open
@mpetrunic

Description

@mpetrunic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions