@pioneer-platform/pioneer-caip 9.0.4 → 9.0.6
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.
- package/lib/data.js +8 -0
- package/package.json +1 -1
package/lib/data.js
CHANGED
@@ -219,6 +219,14 @@ var thorchainToCaip = function (chain, symbol, ticker, type) {
|
|
219
219
|
//if chain and symbol are the same, then we have a native token
|
220
220
|
caip = exports.shortListNameToCaip['bnbsmartchain'];
|
221
221
|
}
|
222
|
+
else if (chain == "GAIA" && symbol == "ATOM") {
|
223
|
+
//if chain and symbol are the same, then we have a native token
|
224
|
+
caip = exports.shortListNameToCaip['cosmos'];
|
225
|
+
}
|
226
|
+
else if (chain == "THOR" && symbol == "RUNE") {
|
227
|
+
//if chain and symbol are the same, then we have a native token
|
228
|
+
caip = exports.shortListNameToCaip['thorchain'];
|
229
|
+
}
|
222
230
|
else if (chain == symbol) {
|
223
231
|
//if chain and symbol are the same, then we have a native token
|
224
232
|
caip = exports.ChainToCaip[chain];
|