@riocrypto/common 1.0.1084 → 1.0.1085
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,8 +4,8 @@ export declare class CryptoAsset extends Asset {
|
|
|
4
4
|
rawSymbol: Crypto;
|
|
5
5
|
constructor(rawSymbol: Crypto);
|
|
6
6
|
getImageUri(): string;
|
|
7
|
-
getName(): Crypto.
|
|
8
|
-
getSymbol(): Crypto.
|
|
9
|
-
getGasSymbol(): Crypto.
|
|
7
|
+
getName(): Crypto.SOL | Crypto.TRON | "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)";
|
|
8
|
+
getSymbol(): Crypto.SOL | Crypto.TRON | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "BTC" | "ETH";
|
|
9
|
+
getGasSymbol(): Crypto.SOL | Crypto.TRON | "BTC" | "ETH" | "MATIC" | "SOL";
|
|
10
10
|
getDescription(): string;
|
|
11
11
|
}
|
|
@@ -59,6 +59,9 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
59
59
|
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygon) {
|
|
60
60
|
return "USDC (Polygon)";
|
|
61
61
|
}
|
|
62
|
+
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygonBridged) {
|
|
63
|
+
return "USDC (Bridged to Polygon)";
|
|
64
|
+
}
|
|
62
65
|
else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
|
|
63
66
|
return "USDC (Solana)";
|
|
64
67
|
}
|
|
@@ -88,6 +91,9 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
88
91
|
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygon) {
|
|
89
92
|
return "USDC (Polygon)";
|
|
90
93
|
}
|
|
94
|
+
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygonBridged) {
|
|
95
|
+
return "USDC (Bridged to Polygon)";
|
|
96
|
+
}
|
|
91
97
|
else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
|
|
92
98
|
return "USDC (Solana)";
|
|
93
99
|
}
|
|
@@ -114,6 +120,9 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
114
120
|
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygon) {
|
|
115
121
|
return "MATIC";
|
|
116
122
|
}
|
|
123
|
+
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygonBridged) {
|
|
124
|
+
return "MATIC";
|
|
125
|
+
}
|
|
117
126
|
else if (this.rawSymbol === crypto_1.Crypto.USDTTron) {
|
|
118
127
|
return "MATIC";
|
|
119
128
|
}
|
|
@@ -154,7 +163,10 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
154
163
|
return "USD Coin is a digital stablecoin pegged to the United States dollar.";
|
|
155
164
|
}
|
|
156
165
|
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygon) {
|
|
157
|
-
return "USDC on the Polygon chain.";
|
|
166
|
+
return "Native USDC on the Polygon chain.";
|
|
167
|
+
}
|
|
168
|
+
else if (this.rawSymbol === crypto_1.Crypto.USDCPolygonBridged) {
|
|
169
|
+
return "Bridged USDC on the Polygon chain.";
|
|
158
170
|
}
|
|
159
171
|
else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
|
|
160
172
|
return "USDC on the Solana chain.";
|