@proton/wrap-constants 0.2.48 → 0.2.50
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/constants.d.ts +1 -0
- package/dist/wrap-constants.cjs.development.js +4 -3
- 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 +4 -3
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +3 -3
- package/src/constants.ts +3 -0
|
@@ -878,7 +878,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
878
878
|
coingeckoId: 'terra-luna'
|
|
879
879
|
}, {
|
|
880
880
|
allowSwap: false,
|
|
881
|
-
allowBridge:
|
|
881
|
+
allowBridge: false,
|
|
882
882
|
allowLend: false,
|
|
883
883
|
allowBorrow: false,
|
|
884
884
|
name: 'TerraUSD',
|
|
@@ -988,7 +988,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
988
988
|
image: 'https://www.proton.org/images/tokens/xtokensXMATIC.png',
|
|
989
989
|
coingeckoId: 'matic-network'
|
|
990
990
|
}, {
|
|
991
|
-
allowSwap:
|
|
991
|
+
allowSwap: false,
|
|
992
992
|
allowBridge: false,
|
|
993
993
|
allowLend: false,
|
|
994
994
|
allowBorrow: false,
|
|
@@ -1053,7 +1053,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
1053
1053
|
return coin.allowLend || coin.allowBorrow;
|
|
1054
1054
|
}),
|
|
1055
1055
|
allEnabledCoins: coins.filter(function (coin) {
|
|
1056
|
-
return coin.allowSwap || coin.allowBridge;
|
|
1056
|
+
return coin.allowSwap || coin.allowBridge || coin.xtokenSymbol === 'XMD';
|
|
1057
1057
|
})
|
|
1058
1058
|
};
|
|
1059
1059
|
};
|
|
@@ -1255,6 +1255,7 @@ var initializeConstants = function initializeConstants(chain) {
|
|
|
1255
1255
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1256
1256
|
MAX_PRICE: "9223372036854775806",
|
|
1257
1257
|
MIN_PRICE: 1,
|
|
1258
|
+
DEFAULT_DEX_SYMBOL: chain === 'proton' ? 'XPR_XMD' : 'XPR_XUSDC',
|
|
1258
1259
|
CHAIN: chain,
|
|
1259
1260
|
SWAP_COINS: swapCoins,
|
|
1260
1261
|
BRIDGE_COINS: bridgeCoins,
|