CAKE-54 | added usdt erc20 to cryptocurrencies list; added usdt erc20 to currency picker; added usdt erc20 logo to contact list page; added address validator for usdt erc20; reworked currency picker

This commit is contained in:
OleksandrSobol
2020-09-25 16:30:39 +03:00
parent 360e04cc4c
commit dfb3112fd2
5 changed files with 121 additions and 49 deletions
+4
View File
@@ -38,6 +38,8 @@ class AddressValidator extends TextValidator {
return '[0-9a-zA-Z]';
case CryptoCurrency.usdt:
return '[0-9a-zA-Z]';
case CryptoCurrency.usdterc20:
return '[0-9a-zA-Z]';
case CryptoCurrency.xlm:
return '[0-9a-zA-Z]';
case CryptoCurrency.xrp:
@@ -75,6 +77,8 @@ class AddressValidator extends TextValidator {
return [34];
case CryptoCurrency.usdt:
return [42];
case CryptoCurrency.usdterc20:
return [42];
case CryptoCurrency.xlm:
return [56];
case CryptoCurrency.xrp: