You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
fadeev
changed the title
gatewayZEVM.withdrawGasFee() and withdrawGasFeeWithGasLimitgatewayZEVM.withdrawGasFee() and withdrawGasFeeWithGasLimit()Nov 13, 2024
Right now a developer has to make a function call to a ZRC-20 contract to get the withdraw fee:
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.
The text was updated successfully, but these errors were encountered: