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

SOR support for wrapped rebasing tokens using the generic unbutton wrapper #224

Merged
merged 3 commits into from
Jan 7, 2022

Conversation

aalavandhan
Copy link
Contributor

The unbutton wrapper is a ERC-20 wrapper which wraps any generic rebasing ERC-20 token into a non-rebasing, fixed balance version.

For example:
Wrapped Ampleforth (WAMPL) is a non-rebasing version of the AMPL ERC-20. LPs create BalV2 pools using WAMPL. When traders want to trade AMPL, the sor calculates the exchange rate between AMPL/WAMPL and routes trades through the WAMPL pools. (similar to the existing stETH/wstETH implementation).

The current will allow the SOR to handle any rebasing tokens as long as they use the the generic "unbutton" wrapper without any custom integration.

@aalavandhan aalavandhan changed the base branch from master to develop January 7, 2022 13:17
@johngrantuk johngrantuk merged commit 529ee2d into balancer:develop Jan 7, 2022
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.

2 participants