@riocrypto/common 1.0.2418 → 1.0.2421
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.
|
@@ -5,7 +5,7 @@ export declare class CryptoAsset extends Asset {
|
|
|
5
5
|
constructor(rawSymbol: Crypto);
|
|
6
6
|
getImageUri(): string;
|
|
7
7
|
getName(): "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDC (Stellar)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "Tron" | "Solana" | "Polygon";
|
|
8
|
-
getSymbol(): Crypto.
|
|
9
|
-
getGasSymbol(): Crypto.
|
|
8
|
+
getSymbol(): Crypto.SOL | Crypto.TRON | Crypto.POL | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDC (Stellar)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "BTC" | "ETH";
|
|
9
|
+
getGasSymbol(): Crypto.SOL | Crypto.TRON | Crypto.POL | "BTC" | "ETH" | "MATIC" | "TRX" | "SOL" | "XLM";
|
|
10
10
|
getDescription(): string;
|
|
11
11
|
}
|
|
@@ -109,6 +109,9 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
109
109
|
else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
|
|
110
110
|
return "USDC (Solana)";
|
|
111
111
|
}
|
|
112
|
+
else if (this.rawSymbol === crypto_1.Crypto.USDCStellar) {
|
|
113
|
+
return "USDC (Stellar)";
|
|
114
|
+
}
|
|
112
115
|
else if (this.rawSymbol === crypto_1.Crypto.USDTPolygon) {
|
|
113
116
|
return "USDT (Polygon)";
|
|
114
117
|
}
|
|
@@ -141,6 +144,9 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
141
144
|
else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
|
|
142
145
|
return "SOL";
|
|
143
146
|
}
|
|
147
|
+
else if (this.rawSymbol === crypto_1.Crypto.USDCStellar) {
|
|
148
|
+
return "XLM";
|
|
149
|
+
}
|
|
144
150
|
else if (this.rawSymbol === crypto_1.Crypto.USDC) {
|
|
145
151
|
return "ETH";
|
|
146
152
|
}
|
|
@@ -183,6 +189,9 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
183
189
|
else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
|
|
184
190
|
return "USDC on the Solana chain.";
|
|
185
191
|
}
|
|
192
|
+
else if (this.rawSymbol === crypto_1.Crypto.USDCStellar) {
|
|
193
|
+
return "USDC on the Stellar chain.";
|
|
194
|
+
}
|
|
186
195
|
else if (this.rawSymbol === crypto_1.Crypto.USDTPolygon) {
|
|
187
196
|
return "USDT on the Polygon chain.";
|
|
188
197
|
}
|