@proton/wrap-constants 0.2.69 → 0.2.71

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.
@@ -34,6 +34,7 @@ var Chains;
34
34
  Chains["TerraMainnet"] = "Terra";
35
35
  Chains["RippleMainnet"] = "Ripple";
36
36
  Chains["SolanaMainnet"] = "Solana";
37
+ Chains["XDCMainnet"] = "XDC Network";
37
38
  Chains["MetalXTestnet"] = "Metal X-Chain (Testnet)";
38
39
  Chains["MetalCTestnet"] = "Metal C-Chain (Testnet)";
39
40
  Chains["MetalCMainnet"] = "Metal C-Chain";
@@ -120,6 +121,8 @@ var explorerLinkByChain = (_explorerLinkByChain = {}, _explorerLinkByChain[Chain
120
121
  return "https://tahoe.metaltrace.io/tx/" + txid;
121
122
  }, _explorerLinkByChain[Chains.MetalCMainnet] = function (txid) {
122
123
  return "https://metalscan.io/tx/" + txid;
124
+ }, _explorerLinkByChain[Chains.XDCMainnet] = function (txid) {
125
+ return "https://xdc.blocksscan.io/txs/" + txid;
123
126
  }, _explorerLinkByChain);
124
127
  var protonExplorerTxUrl = function protonExplorerTxUrl(chain, txId, traces) {
125
128
  return chain === 'proton' ? explorerLinkByChain[Chains.ProtonMainnet](txId, traces) : explorerLinkByChain[Chains.ProtonTestnet](txId, traces);
@@ -439,6 +442,28 @@ var initializeCoins = function initializeCoins(protonChain) {
439
442
  }] : []),
440
443
  image: 'https://assets.coingecko.com/coins/images/26045/small/euro-coin.png?1655394420',
441
444
  coingeckoId: 'euro-coin'
445
+ }, {
446
+ allowSwap: false,
447
+ allowBridge: IS_MAINNET,
448
+ allowLend: false,
449
+ allowBorrow: false,
450
+ name: 'XDC Network',
451
+ coin: 'XDC',
452
+ xtokenSymbol: 'XDC',
453
+ xtokenPrecision: 4,
454
+ xtokenContract: 'xtokens',
455
+ wallets: [].concat(IS_MAINNET ? [{
456
+ wallet: 'XDC',
457
+ symbol: 'XDC',
458
+ chain: Chains.XDCMainnet,
459
+ network: Networks.Mainnet,
460
+ precision: 18,
461
+ contract: '',
462
+ provider: Providers.FIREBLOCKS,
463
+ hasWithdrawMemo: false
464
+ }] : []),
465
+ image: 'https://assets.coingecko.com/coins/images/2912/small/xdc-icon.png?1633700890',
466
+ coingeckoId: 'xdce-crowd-sale'
442
467
  }, {
443
468
  allowSwap: false,
444
469
  allowBridge: IS_MAINNET,
@@ -1629,7 +1654,9 @@ var dailyParser = /*#__PURE__*/object({
1629
1654
  last: /*#__PURE__*/number(),
1630
1655
  bid: /*#__PURE__*/number(),
1631
1656
  ask: /*#__PURE__*/number(),
1632
- change_percentage_24hr: /*#__PURE__*/number()
1657
+ change_percentage_24hr: /*#__PURE__*/number(),
1658
+ high: /*#__PURE__*/number(),
1659
+ low: /*#__PURE__*/number()
1633
1660
  });
1634
1661
  var getDailyResponseParser = /*#__PURE__*/object({
1635
1662
  sync: /*#__PURE__*/number(),