mirror of
				https://github.com/Instadapp/trustwallet-assets.git
				synced 2024-07-29 22:37:31 +00:00 
			
		
		
		
	Add missing info files for Waves tokens (#9271)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									0b2f37c97c
								
							
						
					
					
						commit
						fbaa48e748
					
				| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Waves Enterprise System Token",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "WEST",
 | 
				
			||||||
 | 
					    "decimals": 8,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/4LHHvYGNKJUg5hj65aGD5vgScvCBmLpdRFtjokvCjSL8",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "4LHHvYGNKJUg5hj65aGD5vgScvCBmLpdRFtjokvCjSL8"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino System Base Token",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NSBT",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino JPY",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NeutrinoJPY",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/8inca5fv4xr6KZtRMRPYr7vADfk8fd6G2z1gMoRkbUYS",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "8inca5fv4xr6KZtRMRPYr7vADfk8fd6G2z1gMoRkbUYS"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "SignatureChain",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "SIGN",
 | 
				
			||||||
 | 
					    "decimals": 8,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/9sQutD5HnRvjM1uui5cVC4w9xkMPAfYEV8ymug3Mon2Y",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "9sQutD5HnRvjM1uui5cVC4w9xkMPAfYEV8ymug3Mon2Y"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino USD",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NeutrinoUSD",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino TRY",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NeutrinoTRY",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/DGbqkzM6Ds5NAF2B3GHYfyZRmWKt7xLYRYcwpMm7D6V4",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "DGbqkzM6Ds5NAF2B3GHYfyZRmWKt7xLYRYcwpMm7D6V4"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "WavesCommunity",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "WavesCommunity",
 | 
				
			||||||
 | 
					    "decimals": 2,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/DHgwrRvVyqJsepd32YbBqUeDH4GJ1N984X8QoekjgH8J",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "DHgwrRvVyqJsepd32YbBqUeDH4GJ1N984X8QoekjgH8J"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino EUR",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NeutrinoEUR",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino GBP",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NeutrinoGBP",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/DhaaqiG8xz8njeBuMtTM2G6avg9Jdhfrxw5onm5GaXx1",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "DhaaqiG8xz8njeBuMtTM2G6avg9Jdhfrxw5onm5GaXx1"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino BRL",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NeutrinoBRL",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/DxFwXxS1r3uZ2QEiSqhe6uoXMJBsz4ShLtHvr4HDzNri",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "DxFwXxS1r3uZ2QEiSqhe6uoXMJBsz4ShLtHvr4HDzNri"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "TurtleNetwork",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "TurtleNetwork",
 | 
				
			||||||
 | 
					    "decimals": 8,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/bPWkA3MNyEr1TuDchWgdpqJZhGhfPXj7dJdr3qiW2kD",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "bPWkA3MNyEr1TuDchWgdpqJZhGhfPXj7dJdr3qiW2kD"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "Neutrino RUB",
 | 
				
			||||||
 | 
					    "type": "WAVES",
 | 
				
			||||||
 | 
					    "symbol": "NeutrinoRUB",
 | 
				
			||||||
 | 
					    "decimals": 6,
 | 
				
			||||||
 | 
					    "website": "",
 | 
				
			||||||
 | 
					    "description": "-",
 | 
				
			||||||
 | 
					    "explorer": "https://wavesexplorer.com/assets/eWeMD5KNeuRaALCAb4uuJKtAvon2JcTyXQyoBMhuN2X",
 | 
				
			||||||
 | 
					    "status": "active",
 | 
				
			||||||
 | 
					    "id": "eWeMD5KNeuRaALCAb4uuJKtAvon2JcTyXQyoBMhuN2X"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -118,6 +118,7 @@ export function chainFromAssetType(type: string): string {
 | 
				
			||||||
        case "THETA": return "theta";
 | 
					        case "THETA": return "theta";
 | 
				
			||||||
        case "TOMO": return "tomochain";
 | 
					        case "TOMO": return "tomochain";
 | 
				
			||||||
        case "XDAI": return "xdai";
 | 
					        case "XDAI": return "xdai";
 | 
				
			||||||
 | 
					        case "WAVES": return "waves";
 | 
				
			||||||
        default: return "";
 | 
					        default: return "";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -185,6 +186,9 @@ export function explorerUrl(chain: string, contract: string): string {
 | 
				
			||||||
            case "vechain":
 | 
					            case "vechain":
 | 
				
			||||||
                return `https://explore.vechain.org/accounts/${contract}`;
 | 
					                return `https://explore.vechain.org/accounts/${contract}`;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            case CoinType.name(CoinType.waves).toLowerCase():
 | 
				
			||||||
 | 
					                return `https://wavesexplorer.com/assets/${contract}`;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            case "xdai":
 | 
					            case "xdai":
 | 
				
			||||||
                return `https://blockscout.com/xdai/mainnet/tokens/${contract}`;
 | 
					                return `https://blockscout.com/xdai/mainnet/tokens/${contract}`;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -89,7 +89,7 @@ export class FoldersFiles implements ActionInterface {
 | 
				
			||||||
                                if (!isPathExistsSync(infoFullPath)) {
 | 
					                                if (!isPathExistsSync(infoFullPath)) {
 | 
				
			||||||
                                    const msg = `Missing info file for asset '${chain}/${address}' -- ${infoFullPath}`;
 | 
					                                    const msg = `Missing info file for asset '${chain}/${address}' -- ${infoFullPath}`;
 | 
				
			||||||
                                    // enforce that info must be present (with some exceptions)
 | 
					                                    // enforce that info must be present (with some exceptions)
 | 
				
			||||||
                                    if (chain === 'classic' || chain === 'poa' || chain === 'terra' || chain === 'thundertoken' || chain === 'waves') {
 | 
					                                    if (chain === 'classic' || chain === 'poa' || chain === 'terra' || chain === 'thundertoken') {
 | 
				
			||||||
                                        //console.log(msg);
 | 
					                                        //console.log(msg);
 | 
				
			||||||
                                        warnings.push(msg);
 | 
					                                        warnings.push(msg);
 | 
				
			||||||
                                    } else {
 | 
					                                    } else {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user