diff --git a/lib/core/address_validator.dart b/lib/core/address_validator.dart index 64d96677a..059a92c44 100644 --- a/lib/core/address_validator.dart +++ b/lib/core/address_validator.dart @@ -73,6 +73,8 @@ class AddressValidator extends TextValidator { case CryptoCurrency.ape: case CryptoCurrency.avaxc: case CryptoCurrency.eth: + case CryptoCurrency.baseEth: + case CryptoCurrency.arbEth: case CryptoCurrency.mana: case CryptoCurrency.matic: case CryptoCurrency.maticpoly: @@ -227,6 +229,8 @@ class AddressValidator extends TextValidator { case CryptoCurrency.steth: case CryptoCurrency.shib: case CryptoCurrency.avaxc: + case CryptoCurrency.baseEth: + case CryptoCurrency.arbEth: return [42]; case CryptoCurrency.bch: return [42, 54, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35]; @@ -333,6 +337,7 @@ class AddressValidator extends TextValidator { case CryptoCurrency.eth: case CryptoCurrency.maticpoly: case CryptoCurrency.baseEth: + case CryptoCurrency.arbEth: pattern = '0x[0-9a-zA-Z]+'; case CryptoCurrency.nano: pattern = 'nano_[0-9a-zA-Z]{60}'; diff --git a/lib/view_model/dashboard/home_settings_view_model.dart b/lib/view_model/dashboard/home_settings_view_model.dart index 46c0248b4..7ec420de7 100644 --- a/lib/view_model/dashboard/home_settings_view_model.dart +++ b/lib/view_model/dashboard/home_settings_view_model.dart @@ -260,6 +260,7 @@ abstract class HomeSettingsViewModelBase with Store { break; case WalletType.base: defaultTokenAddresses = base!.getDefaultTokenContractAddresses(); + break; case WalletType.arbitrum: defaultTokenAddresses = arbitrum!.getDefaultTokenContractAddresses(); break; diff --git a/scripts/ios/app_config.sh b/scripts/ios/app_config.sh index d22b5ab3b..9c2f99fdb 100755 --- a/scripts/ios/app_config.sh +++ b/scripts/ios/app_config.sh @@ -31,7 +31,7 @@ case $APP_IOS_TYPE in ;; $CAKEWALLET) - CONFIG_ARGS="--monero --bitcoin --ethereum --polygon --nano --bitcoinCash --solana --tron --wownero --zano --decred --dogecoin --base" # --arbitrum + CONFIG_ARGS="--monero --bitcoin --ethereum --polygon --nano --bitcoinCash --solana --tron --wownero --zano --decred --dogecoin --base"# --arbitrum ;; esac