@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 +1 -0
- package/dist/wrap-constants.cjs.development.js +25 -26
- 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 +25 -26
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +26 -25
|
@@ -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
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
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,
|