@proton/wrap-constants 0.2.46 → 0.2.48
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/dist/wrap-constants.cjs.development.js +15 -2
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +15 -2
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +14 -0
- package/src/constants.ts +2 -2
|
@@ -988,6 +988,19 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
988
988
|
}] : []),
|
|
989
989
|
image: 'https://www.proton.org/images/tokens/xtokensXMATIC.png',
|
|
990
990
|
coingeckoId: 'matic-network'
|
|
991
|
+
}, {
|
|
992
|
+
allowSwap: true,
|
|
993
|
+
allowBridge: false,
|
|
994
|
+
allowLend: false,
|
|
995
|
+
allowBorrow: false,
|
|
996
|
+
name: 'Metal Dollar',
|
|
997
|
+
coin: 'XMD',
|
|
998
|
+
xtokenSymbol: 'XMD',
|
|
999
|
+
xtokenPrecision: 6,
|
|
1000
|
+
xtokenContract: 'xmd.token',
|
|
1001
|
+
wallets: [],
|
|
1002
|
+
image: 'https://github.com/eoscafe/eos-airdrops/blob/master/logos/xmd.png?raw=true',
|
|
1003
|
+
coingeckoId: ''
|
|
991
1004
|
}, {
|
|
992
1005
|
allowSwap: false,
|
|
993
1006
|
allowBridge: IS_TESTNET,
|
|
@@ -1235,8 +1248,8 @@ var initializeConstants = function initializeConstants(chain) {
|
|
|
1235
1248
|
WRAP_AUTH_ACTION: WRAP_AUTH_ACTION,
|
|
1236
1249
|
METAL_ENDPOINT: chain === 'proton' ? 'https://cirrus.metalpay.com' : 'https://cirrus-dev.metalpay.com',
|
|
1237
1250
|
METAL_PROTON_ENDPOINT: chain === 'proton' ? 'https://api.protonchain.com' : 'https://api-dev.protonchain.com',
|
|
1238
|
-
METAL_DEX_HTTP_ENDPOINT: chain === 'proton' ? 'https://
|
|
1239
|
-
METAL_DEX_WS_ENDPOINT: chain === 'proton' ? 'wss://
|
|
1251
|
+
METAL_DEX_HTTP_ENDPOINT: chain === 'proton' ? 'https://metal-dexdb.global.binfra.one/dex' : 'https://metallicus-dbapi-dev01.binfra.one/dex',
|
|
1252
|
+
METAL_DEX_WS_ENDPOINT: chain === 'proton' ? 'wss://metal-dexdb.global.binfra.one/dexws' : 'wss://metallicus-dbapi-dev01.binfra.one/dexws',
|
|
1240
1253
|
PROTON_ENDPOINTS: chain === 'proton' ? ['https://metal-proton-rpc.global.binfra.one', 'https://proton.greymass.com', 'https://proton.eoscafeblock.com', 'https://proton.cryptolions.io', 'https://proton.eosusa.news'] : ['https://metal-protontest-rpc.global.binfra.one', 'https://testnet.protonchain.com'],
|
|
1241
1254
|
CHAIN_ID: chain === 'proton' ? '384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0' : '71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd',
|
|
1242
1255
|
DEX_PROCESS_SIZE: 30,
|