Skip to content

Support native ZETA deposits instead of WZETA in GatewayZEVM #528

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

Open
s2imonovic opened this issue Jun 12, 2025 · 0 comments · May be fixed by #529
Open

Support native ZETA deposits instead of WZETA in GatewayZEVM #528

s2imonovic opened this issue Jun 12, 2025 · 0 comments · May be fixed by #529
Assignees

Comments

@s2imonovic
Copy link
Collaborator

Currently, the GatewayZEVM contract's ZETA deposit functions (deposit(), depositAndCall(), depositAndRevert()) expect WZETA tokens from the protocol. This creates an inefficient flow:

Current flow:

  1. Protocol mints native ZETA
  2. Protocol wraps ZETA → WZETA
  3. Protocol calls deposit() on GatewayZEVM with WZETA
  4. GatewayZEVM unwraps WZETA → native ZETA
  5. GatewayZEVM transfers native ZETA to target

Desired flow:

  1. Protocol mints native ZETA
  2. Protocol calls deposit() on GatewayZEVM with native ZETA
  3. GatewayZEVM transfers native ZETA to target
@s2imonovic s2imonovic self-assigned this Jun 12, 2025
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