@defillama/sdk 4.0.79 → 4.0.80
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/build/util/cosmos.js +2 -2
- package/package.json +1 -1
package/build/util/cosmos.js
CHANGED
|
@@ -56,7 +56,7 @@ var endPoints = {
|
|
|
56
56
|
umee: "https://umee-api.polkachu.com",
|
|
57
57
|
orai: "https://lcd.orai.io",
|
|
58
58
|
juno: "https://juno.api.m.stavr.tech",
|
|
59
|
-
cronos: "https://rest.mainnet.crypto.org",
|
|
59
|
+
// cronos: "https://rest.mainnet.crypto.org", // it is also evm like kava
|
|
60
60
|
chihuahua: "https://rest.cosmos.directory/chihuahua",
|
|
61
61
|
stargaze: "https://rest.stargaze-apis.com",
|
|
62
62
|
quicksilver: "https://rest.cosmos.directory/quicksilver",
|
|
@@ -77,7 +77,7 @@ var endPoints = {
|
|
|
77
77
|
nolus: "https://pirin-cl.nolus.network:1317",
|
|
78
78
|
bostrom: "https://lcd.bostrom.cybernode.ai"
|
|
79
79
|
};
|
|
80
|
-
var ibcChains = ['
|
|
80
|
+
var ibcChains = ['terra', 'terra2', 'crescent', 'osmosis', 'kujira', 'stargaze', 'juno', 'injective', 'cosmos', 'comdex', 'umee', 'orai', 'persistence', 'fxcore', 'neutron', 'quasar', 'chihuahua', 'sei', 'archway', 'migaloo', 'secret', 'aura', 'xpla', 'bostrom'];
|
|
81
81
|
var isCosmosChain = function (chain) { return ibcChains.includes(chain) || !!endPoints[chain]; };
|
|
82
82
|
exports.isCosmosChain = isCosmosChain;
|
|
83
83
|
function getCosmosBlock(block, chain) {
|