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

Zap wsteth bridge #73

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

RoseRompkxm
Copy link

To support users stake their ETH to Lido & bridge the returned wstETH to Manta Network L2 in one click, a contract is needed to zap these 2 steps into 1 transaction

revert WrapETHFailed();
}
// double check amount
if (l1Token.balanceOf(address(this)) < amount) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ sorry, it wouldn't work for wstETH (wstETH balance is defined by the stETH shares https://docs.lido.fi/guides/lido-tokens-integration-guide#wsteth)

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