@proton/wrap-constants 0.2.70 → 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.
@@ -121,6 +121,8 @@ var explorerLinkByChain = (_explorerLinkByChain = {}, _explorerLinkByChain[Chain
121
121
  return "https://tahoe.metaltrace.io/tx/" + txid;
122
122
  }, _explorerLinkByChain[Chains.MetalCMainnet] = function (txid) {
123
123
  return "https://metalscan.io/tx/" + txid;
124
+ }, _explorerLinkByChain[Chains.XDCMainnet] = function (txid) {
125
+ return "https://xdc.blocksscan.io/txs/" + txid;
124
126
  }, _explorerLinkByChain);
125
127
  var protonExplorerTxUrl = function protonExplorerTxUrl(chain, txId, traces) {
126
128
  return chain === 'proton' ? explorerLinkByChain[Chains.ProtonMainnet](txId, traces) : explorerLinkByChain[Chains.ProtonTestnet](txId, traces);
@@ -440,32 +442,29 @@ var initializeCoins = function initializeCoins(protonChain) {
440
442
  }] : []),
441
443
  image: 'https://assets.coingecko.com/coins/images/26045/small/euro-coin.png?1655394420',
442
444
  coingeckoId: 'euro-coin'
443
- }, // {
444
- // allowSwap: false,
445
- // allowBridge: IS_MAINNET,
446
- // allowLend: false,
447
- // allowBorrow: false,
448
- // name: 'XDC Network',
449
- // coin: 'XDC',
450
- // xtokenSymbol: 'XDC',
451
- // xtokenPrecision: 4,
452
- // xtokenContract: 'xtokens',
453
- // wallets: [
454
- // ...(IS_MAINNET ? [{
455
- // wallet: 'XDC',
456
- // symbol: 'XDC',
457
- // chain: Chains.XDCMainnet,
458
- // network: Networks.Mainnet,
459
- // precision: 18,
460
- // contract: '',
461
- // provider: Providers.FIREBLOCKS,
462
- // hasWithdrawMemo: false
463
- // }]: [])
464
- // ],
465
- // image: 'https://assets.coingecko.com/coins/images/2912/small/xdc-icon.png?1633700890',
466
- // coingeckoId: 'xdce-crowd-sale'
467
- // },
468
- {
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'
467
+ }, {
469
468
  allowSwap: false,
470
469
  allowBridge: IS_MAINNET,
471
470
  allowLend: false,