CakeWallet/cw_ethereum
David Adegoke 5aeb6b7522
Deuro Savings Error Handling (#2340)
* feat(deuro): Enhance gas fee handling and error management for Deuro Savings Transactions.

This change:
- Introduces DeuroGasFeeException to handle insufficient ETH for gas fees.
- Adds check for ETH balance before savings transactions to prevent failures due to insufficient funds.
- Updates savings transaction methods to include error handling.
- Adds UI feedback for transaction failures in DEuroSavingsPage.

* Fix conflicts

* Update cw_ethereum/lib/deuro/deuro_savings.dart

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2025-06-27 17:53:46 +03:00
..
lib Deuro Savings Error Handling (#2340) 2025-06-27 17:53:46 +03:00
test Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00
.gitignore Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00
.metadata Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00
analysis_options.yaml Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00
CHANGELOG.md Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00
LICENSE Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00
pubspec.yaml CW-1069-implement-deuro-dapp-support (#2304) 2025-06-19 05:37:41 +03:00
README.md Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them.

Features

TODO: List what your package can do. Maybe include images, gifs, or videos.

Getting started

TODO: List prerequisites and provide or point to information on how to start using the package.

Usage

TODO: Include short and useful examples for package users. Add longer examples to /example folder.

const like = 'sample';

Additional information

TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.