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