CAKE-53 | added dai to cryptocurrencies list; added dai to currency picker; added dai logo to contact list page; added address validator for dai

This commit is contained in:
OleksandrSobol
2020-09-24 21:58:07 +03:00
parent 9eb74f7155
commit 360e04cc4c
7 changed files with 43 additions and 44 deletions
+4
View File
@@ -22,6 +22,8 @@ class AddressValidator extends TextValidator {
return '[0-9a-zA-Z]';
case CryptoCurrency.btc:
return '[0-9a-zA-Z]';
case CryptoCurrency.dai:
return '[0-9a-zA-Z]';
case CryptoCurrency.dash:
return '[0-9a-zA-Z]';
case CryptoCurrency.eos:
@@ -57,6 +59,8 @@ class AddressValidator extends TextValidator {
return [42];
case CryptoCurrency.btc:
return [34, 42];
case CryptoCurrency.dai:
return [42];
case CryptoCurrency.dash:
return [34];
case CryptoCurrency.eos: