@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
package/dist/parsers/dex.d.ts
CHANGED
|
@@ -150,18 +150,21 @@ export declare const dailyParser: z.ZodObject<{
|
|
|
150
150
|
last: z.ZodNumber;
|
|
151
151
|
bid: z.ZodNumber;
|
|
152
152
|
ask: z.ZodNumber;
|
|
153
|
+
change_percentage_24hr: z.ZodNumber;
|
|
153
154
|
}, "strip", z.ZodTypeAny, {
|
|
154
155
|
market_id: number;
|
|
155
156
|
ask: number;
|
|
156
157
|
bid: number;
|
|
157
158
|
first: number;
|
|
158
159
|
last: number;
|
|
160
|
+
change_percentage_24hr: number;
|
|
159
161
|
}, {
|
|
160
162
|
market_id: number;
|
|
161
163
|
ask: number;
|
|
162
164
|
bid: number;
|
|
163
165
|
first: number;
|
|
164
166
|
last: number;
|
|
167
|
+
change_percentage_24hr: number;
|
|
165
168
|
}>;
|
|
166
169
|
export declare type Daily = z.infer<typeof dailyParser>;
|
|
167
170
|
export declare const tradeParser: z.ZodObject<{
|
|
@@ -619,6 +619,28 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
619
619
|
}] : []),
|
|
620
620
|
image: 'https://www.proton.org/images/tokens/xtokensXBCH.png',
|
|
621
621
|
coingeckoId: 'bitcoin-cash'
|
|
622
|
+
}, {
|
|
623
|
+
allowSwap: false,
|
|
624
|
+
allowBridge: true,
|
|
625
|
+
allowLend: false,
|
|
626
|
+
allowBorrow: false,
|
|
627
|
+
name: 'LunarCrush',
|
|
628
|
+
coin: 'LUNR',
|
|
629
|
+
xtokenSymbol: 'XLUNR',
|
|
630
|
+
xtokenPrecision: 4,
|
|
631
|
+
xtokenContract: 'xtokens',
|
|
632
|
+
wallets: [].concat(IS_MAINNET ? [{
|
|
633
|
+
wallet: 'LUNR',
|
|
634
|
+
symbol: 'LUNR',
|
|
635
|
+
chain: exports.Chains.EthereumMainnet,
|
|
636
|
+
network: exports.Networks.ERC20,
|
|
637
|
+
precision: 4,
|
|
638
|
+
contract: undefined,
|
|
639
|
+
provider: exports.Providers.FIREBLOCKS,
|
|
640
|
+
hasWithdrawMemo: false
|
|
641
|
+
}] : []),
|
|
642
|
+
image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xlunr.png',
|
|
643
|
+
coingeckoId: 'lunr-token'
|
|
622
644
|
}, {
|
|
623
645
|
allowSwap: false,
|
|
624
646
|
allowBridge: IS_TESTNET,
|
|
@@ -807,7 +829,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
807
829
|
}, // Adding
|
|
808
830
|
{
|
|
809
831
|
allowSwap: false,
|
|
810
|
-
allowBridge:
|
|
832
|
+
allowBridge: false,
|
|
811
833
|
allowLend: false,
|
|
812
834
|
allowBorrow: false,
|
|
813
835
|
name: 'Terra',
|
|
@@ -815,16 +837,17 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
815
837
|
xtokenSymbol: 'XLUNA',
|
|
816
838
|
xtokenPrecision: 6,
|
|
817
839
|
xtokenContract: 'xtokens',
|
|
818
|
-
wallets: [
|
|
819
|
-
wallet: 'LUNA',
|
|
820
|
-
symbol: 'LUNA',
|
|
821
|
-
chain:
|
|
822
|
-
network:
|
|
823
|
-
precision: 6,
|
|
824
|
-
contract: undefined,
|
|
825
|
-
provider:
|
|
826
|
-
hasWithdrawMemo: true
|
|
827
|
-
|
|
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
|
+
],
|
|
828
851
|
image: 'https://www.proton.org/images/tokens/xtokensXLUNA.png',
|
|
829
852
|
coingeckoId: 'terra-luna'
|
|
830
853
|
}, {
|
|
@@ -1476,7 +1499,8 @@ var dailyParser = /*#__PURE__*/z.z.object({
|
|
|
1476
1499
|
first: /*#__PURE__*/z.z.number(),
|
|
1477
1500
|
last: /*#__PURE__*/z.z.number(),
|
|
1478
1501
|
bid: /*#__PURE__*/z.z.number(),
|
|
1479
|
-
ask: /*#__PURE__*/z.z.number()
|
|
1502
|
+
ask: /*#__PURE__*/z.z.number(),
|
|
1503
|
+
change_percentage_24hr: /*#__PURE__*/z.z.number()
|
|
1480
1504
|
});
|
|
1481
1505
|
var tradeParser = /*#__PURE__*/z.z.object({
|
|
1482
1506
|
block_num: /*#__PURE__*/z.z.number(),
|