@proton/wrap-constants 0.2.16 → 0.2.20
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 -14
- 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 -14
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +13 -13
- package/src/constants.ts +1 -1
|
@@ -620,11 +620,11 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
620
620
|
image: 'https://www.proton.org/images/tokens/xtokensXBCH.png',
|
|
621
621
|
coingeckoId: 'bitcoin-cash'
|
|
622
622
|
}, {
|
|
623
|
-
allowSwap:
|
|
623
|
+
allowSwap: true,
|
|
624
624
|
allowBridge: true,
|
|
625
625
|
allowLend: false,
|
|
626
626
|
allowBorrow: false,
|
|
627
|
-
name: '
|
|
627
|
+
name: 'LunarCrush',
|
|
628
628
|
coin: 'LUNR',
|
|
629
629
|
xtokenSymbol: 'XLUNR',
|
|
630
630
|
xtokenPrecision: 4,
|
|
@@ -829,7 +829,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
829
829
|
}, // Adding
|
|
830
830
|
{
|
|
831
831
|
allowSwap: false,
|
|
832
|
-
allowBridge:
|
|
832
|
+
allowBridge: false,
|
|
833
833
|
allowLend: false,
|
|
834
834
|
allowBorrow: false,
|
|
835
835
|
name: 'Terra',
|
|
@@ -837,16 +837,17 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
837
837
|
xtokenSymbol: 'XLUNA',
|
|
838
838
|
xtokenPrecision: 6,
|
|
839
839
|
xtokenContract: 'xtokens',
|
|
840
|
-
wallets: [
|
|
841
|
-
wallet: 'LUNA',
|
|
842
|
-
symbol: 'LUNA',
|
|
843
|
-
chain:
|
|
844
|
-
network:
|
|
845
|
-
precision: 6,
|
|
846
|
-
contract: undefined,
|
|
847
|
-
provider:
|
|
848
|
-
hasWithdrawMemo: true
|
|
849
|
-
|
|
840
|
+
wallets: [// ...(IS_MAINNET ? [{
|
|
841
|
+
// wallet: 'LUNA',
|
|
842
|
+
// symbol: 'LUNA',
|
|
843
|
+
// chain: Chains.TerraMainnet,
|
|
844
|
+
// network: Networks.Mainnet,
|
|
845
|
+
// precision: 6,
|
|
846
|
+
// contract: undefined,
|
|
847
|
+
// provider: Providers.FIREBLOCKS,
|
|
848
|
+
// hasWithdrawMemo: true
|
|
849
|
+
// }]: [])
|
|
850
|
+
],
|
|
850
851
|
image: 'https://www.proton.org/images/tokens/xtokensXLUNA.png',
|
|
851
852
|
coingeckoId: 'terra-luna'
|
|
852
853
|
}, {
|
|
@@ -1172,7 +1173,7 @@ var initializeConstants = function initializeConstants(chain) {
|
|
|
1172
1173
|
|
|
1173
1174
|
var constants = {
|
|
1174
1175
|
SWAP_CONTRACT: 'proton.swaps',
|
|
1175
|
-
DEX_CONTRACT: chain === 'proton' ? 'dex' : '
|
|
1176
|
+
DEX_CONTRACT: chain === 'proton' ? 'dex' : 'dextest22',
|
|
1176
1177
|
FEE_FACTOR: FEE_FACTOR,
|
|
1177
1178
|
GOOGLE_MAPS_KEY: 'AIzaSyDb2_CrK032kSIqBXbkdwmaLKWELl0SxVs',
|
|
1178
1179
|
SWAP_URL: chain === 'proton' ? 'https://otc.protonswap.com' : 'https://otc-test.protonswap.com',
|