@proton/wrap-constants 0.2.14 → 0.2.18
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/parsers/dex.d.ts +3 -0
- package/dist/wrap-constants.cjs.development.js +36 -12
- 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 +36 -12
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +36 -11
- package/src/parsers/dex.ts +1 -0
|
@@ -618,6 +618,28 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
618
618
|
}] : []),
|
|
619
619
|
image: 'https://www.proton.org/images/tokens/xtokensXBCH.png',
|
|
620
620
|
coingeckoId: 'bitcoin-cash'
|
|
621
|
+
}, {
|
|
622
|
+
allowSwap: false,
|
|
623
|
+
allowBridge: true,
|
|
624
|
+
allowLend: false,
|
|
625
|
+
allowBorrow: false,
|
|
626
|
+
name: 'LunarCrush',
|
|
627
|
+
coin: 'LUNR',
|
|
628
|
+
xtokenSymbol: 'XLUNR',
|
|
629
|
+
xtokenPrecision: 4,
|
|
630
|
+
xtokenContract: 'xtokens',
|
|
631
|
+
wallets: [].concat(IS_MAINNET ? [{
|
|
632
|
+
wallet: 'LUNR',
|
|
633
|
+
symbol: 'LUNR',
|
|
634
|
+
chain: Chains.EthereumMainnet,
|
|
635
|
+
network: Networks.ERC20,
|
|
636
|
+
precision: 4,
|
|
637
|
+
contract: undefined,
|
|
638
|
+
provider: Providers.FIREBLOCKS,
|
|
639
|
+
hasWithdrawMemo: false
|
|
640
|
+
}] : []),
|
|
641
|
+
image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xlunr.png',
|
|
642
|
+
coingeckoId: 'lunr-token'
|
|
621
643
|
}, {
|
|
622
644
|
allowSwap: false,
|
|
623
645
|
allowBridge: IS_TESTNET,
|
|
@@ -806,7 +828,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
806
828
|
}, // Adding
|
|
807
829
|
{
|
|
808
830
|
allowSwap: false,
|
|
809
|
-
allowBridge:
|
|
831
|
+
allowBridge: false,
|
|
810
832
|
allowLend: false,
|
|
811
833
|
allowBorrow: false,
|
|
812
834
|
name: 'Terra',
|
|
@@ -814,16 +836,17 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
814
836
|
xtokenSymbol: 'XLUNA',
|
|
815
837
|
xtokenPrecision: 6,
|
|
816
838
|
xtokenContract: 'xtokens',
|
|
817
|
-
wallets: [
|
|
818
|
-
wallet: 'LUNA',
|
|
819
|
-
symbol: 'LUNA',
|
|
820
|
-
chain: Chains.TerraMainnet,
|
|
821
|
-
network: Networks.Mainnet,
|
|
822
|
-
precision: 6,
|
|
823
|
-
contract: undefined,
|
|
824
|
-
provider: Providers.FIREBLOCKS,
|
|
825
|
-
hasWithdrawMemo: true
|
|
826
|
-
|
|
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
|
+
],
|
|
827
850
|
image: 'https://www.proton.org/images/tokens/xtokensXLUNA.png',
|
|
828
851
|
coingeckoId: 'terra-luna'
|
|
829
852
|
}, {
|
|
@@ -1479,7 +1502,8 @@ var dailyParser = /*#__PURE__*/z.object({
|
|
|
1479
1502
|
first: /*#__PURE__*/z.number(),
|
|
1480
1503
|
last: /*#__PURE__*/z.number(),
|
|
1481
1504
|
bid: /*#__PURE__*/z.number(),
|
|
1482
|
-
ask: /*#__PURE__*/z.number()
|
|
1505
|
+
ask: /*#__PURE__*/z.number(),
|
|
1506
|
+
change_percentage_24hr: /*#__PURE__*/z.number()
|
|
1483
1507
|
});
|
|
1484
1508
|
var tradeParser = /*#__PURE__*/z.object({
|
|
1485
1509
|
block_num: /*#__PURE__*/z.number(),
|