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

gatewayZEVM.withdrawGasFee() and withdrawGasFeeWithGasLimit() #427

Open
fadeev opened this issue Nov 13, 2024 · 0 comments
Open

gatewayZEVM.withdrawGasFee() and withdrawGasFeeWithGasLimit() #427

fadeev opened this issue Nov 13, 2024 · 0 comments

Comments

@fadeev
Copy link
Member

fadeev commented Nov 13, 2024

Right now a developer has to make a function call to a ZRC-20 contract to get the withdraw fee:

IZRC20(zrc20).withdrawGasFee()

Would be nice if the gateway could be used for that, instead:

gateway.withdrawGasFee(zrc20)

We can use the same function name for the withdraw-with-gas-limit function for consistency:

gateway.withdrawGasFee(zrc20, gasLimit)

Just makes the unified interface a bit more unified.

@fadeev fadeev changed the title gatewayZEVM.withdrawGasFee() and withdrawGasFeeWithGasLimit gatewayZEVM.withdrawGasFee() and withdrawGasFeeWithGasLimit() Nov 13, 2024
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