Purpose
Fix a situation where the maximum ETH in the UX ignores the gas fee, resulting in there being no funds left to bridge. This solution checks the balances and gas costs pre-transaction execution for low balance wallets, resulting in simplified implementations for #25 and #26.
Changes
Maximum ETH deposits now take a safe gas cost limit into account.
Max button has been added to max out deposits or withdrawals.
Reset UI values for certain edge case conditions.
Issues
Closes #12 #25
Check list
[x] Code runs without regressions even though new code is incomplete
[x] Code reviewer has been explicitly notified outside automatic notification channels
Purpose Fix a situation where the maximum ETH in the UX ignores the gas fee, resulting in there being no funds left to bridge. This solution checks the balances and gas costs pre-transaction execution for low balance wallets, resulting in simplified implementations for #25 and #26.
Changes
Issues Closes #12 #25
Check list