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