cake_wallet/lib/core/create_trade_result.dart
Adegoke David 2ac81250c2
CW-615-Add-Check-For-Contract-Address (#1387)
* feat: Check if address is a valid Externally Owned Address

* feat: Check if the EVM address received when exchanging tokens is a valid EOA address

* move the contract address check to be only in the case of ThorChain [skip ci]

* some enhancements

* feat: Implement check for contract address for inputAddress when exchanging to ETH

* fix: Remove previous implementation and clean up current implementation for the check for contract address

* chore: Remove unneed space

* chore: Remove unneed space

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-04-25 03:14:11 +02:00

9 lines
145 B
Dart

class CreateTradeResult {
bool result;
String? errorMessage;
CreateTradeResult({
required this.result,
this.errorMessage,
});
}