@proton/wrap-constants 0.2.72 → 0.2.73

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/index.mjs CHANGED
@@ -208,16 +208,18 @@ var initializeCoins = (protonChain) => {
208
208
  xtokenPrecision: 8,
209
209
  xtokenContract: "xtokens",
210
210
  wallets: [
211
- ...IS_MAINNET ? [{
212
- wallet: "MTL",
213
- symbol: "MTL",
214
- chain: "Ethereum" /* EthereumMainnet */,
215
- network: "erc20" /* ERC20 */,
216
- precision: 8,
217
- contract: "0xF433089366899D83A9F26A773D59EC7ECF30355E",
218
- provider: "fireblocks" /* FIREBLOCKS */,
219
- hasWithdrawMemo: false
220
- }] : []
211
+ ...IS_MAINNET ? [
212
+ {
213
+ wallet: "MTL",
214
+ symbol: "MTL",
215
+ chain: "Ethereum" /* EthereumMainnet */,
216
+ network: "erc20" /* ERC20 */,
217
+ precision: 8,
218
+ contract: "0xF433089366899D83A9F26A773D59EC7ECF30355E",
219
+ provider: "fireblocks" /* FIREBLOCKS */,
220
+ hasWithdrawMemo: false
221
+ }
222
+ ] : []
221
223
  ],
222
224
  image: "https://www.proton.org/images/tokens/xtokensXMT.png",
223
225
  coingeckoId: "metal"
@@ -233,16 +235,18 @@ var initializeCoins = (protonChain) => {
233
235
  xtokenPrecision: 8,
234
236
  xtokenContract: "xtokens",
235
237
  wallets: [
236
- ...IS_TESTNET ? [{
237
- wallet: "METAL",
238
- symbol: "METAL",
239
- chain: "Metal C-Chain (Testnet)" /* MetalCTestnet */,
240
- network: "evm" /* EVM */,
241
- precision: 18,
242
- contract: "",
243
- provider: "metal" /* METAL */,
244
- hasWithdrawMemo: false
245
- }] : [],
238
+ ...IS_TESTNET ? [
239
+ {
240
+ wallet: "METAL",
241
+ symbol: "METAL",
242
+ chain: "Metal C-Chain (Testnet)" /* MetalCTestnet */,
243
+ network: "evm" /* EVM */,
244
+ precision: 18,
245
+ contract: "",
246
+ provider: "metal" /* METAL */,
247
+ hasWithdrawMemo: false
248
+ }
249
+ ] : [],
246
250
  ...IS_MAINNET ? [
247
251
  {
248
252
  wallet: "METAL",
@@ -280,26 +284,30 @@ var initializeCoins = (protonChain) => {
280
284
  xtokenPrecision: 8,
281
285
  xtokenContract: "xtokens",
282
286
  wallets: [
283
- ...IS_MAINNET ? [{
284
- wallet: "BTC",
285
- symbol: "BTC",
286
- chain: "Bitcoin" /* BitcoinMainnet */,
287
- network: "mainnet" /* Mainnet */,
288
- precision: 8,
289
- contract: void 0,
290
- provider: "fireblocks" /* FIREBLOCKS */,
291
- hasWithdrawMemo: false
292
- }] : [],
293
- ...IS_TESTNET ? [{
294
- wallet: "BTC",
295
- symbol: "BTC",
296
- chain: "Bitcoin (Testnet)" /* BitcoinTestnet */,
297
- network: "testnet" /* Testnet */,
298
- precision: 8,
299
- contract: void 0,
300
- provider: "fireblocks" /* FIREBLOCKS */,
301
- hasWithdrawMemo: false
302
- }] : []
287
+ ...IS_MAINNET ? [
288
+ {
289
+ wallet: "BTC",
290
+ symbol: "BTC",
291
+ chain: "Bitcoin" /* BitcoinMainnet */,
292
+ network: "mainnet" /* Mainnet */,
293
+ precision: 8,
294
+ contract: void 0,
295
+ provider: "fireblocks" /* FIREBLOCKS */,
296
+ hasWithdrawMemo: false
297
+ }
298
+ ] : [],
299
+ ...IS_TESTNET ? [
300
+ {
301
+ wallet: "BTC",
302
+ symbol: "BTC",
303
+ chain: "Bitcoin (Testnet)" /* BitcoinTestnet */,
304
+ network: "testnet" /* Testnet */,
305
+ precision: 8,
306
+ contract: void 0,
307
+ provider: "fireblocks" /* FIREBLOCKS */,
308
+ hasWithdrawMemo: false
309
+ }
310
+ ] : []
303
311
  ],
304
312
  image: "https://www.proton.org/images/tokens/xtokensXBTC.png",
305
313
  coingeckoId: "bitcoin"
@@ -315,26 +323,30 @@ var initializeCoins = (protonChain) => {
315
323
  xtokenPrecision: 8,
316
324
  xtokenContract: "xtokens",
317
325
  wallets: [
318
- ...IS_MAINNET ? [{
319
- wallet: "ETH",
320
- symbol: "ETH",
321
- chain: "Ethereum" /* EthereumMainnet */,
322
- network: "mainnet" /* Mainnet */,
323
- precision: 18,
324
- contract: "0x0000000000000000000000000000000000000000",
325
- provider: "fireblocks" /* FIREBLOCKS */,
326
- hasWithdrawMemo: false
327
- }] : [],
328
- ...IS_TESTNET ? [{
329
- wallet: "ETH",
330
- symbol: "ETH",
331
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
332
- network: "ropsten" /* Ropsten */,
333
- precision: 18,
334
- contract: "0x0000000000000000000000000000000000000000",
335
- provider: "fireblocks" /* FIREBLOCKS */,
336
- hasWithdrawMemo: false
337
- }] : []
326
+ ...IS_MAINNET ? [
327
+ {
328
+ wallet: "ETH",
329
+ symbol: "ETH",
330
+ chain: "Ethereum" /* EthereumMainnet */,
331
+ network: "mainnet" /* Mainnet */,
332
+ precision: 18,
333
+ contract: "0x0000000000000000000000000000000000000000",
334
+ provider: "fireblocks" /* FIREBLOCKS */,
335
+ hasWithdrawMemo: false
336
+ }
337
+ ] : [],
338
+ ...IS_TESTNET ? [
339
+ {
340
+ wallet: "ETH",
341
+ symbol: "ETH",
342
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
343
+ network: "ropsten" /* Ropsten */,
344
+ precision: 18,
345
+ contract: "0x0000000000000000000000000000000000000000",
346
+ provider: "fireblocks" /* FIREBLOCKS */,
347
+ hasWithdrawMemo: false
348
+ }
349
+ ] : []
338
350
  ],
339
351
  image: "https://www.proton.org/images/tokens/xtokensXETH.png",
340
352
  coingeckoId: "ethereum"
@@ -364,36 +376,42 @@ var initializeCoins = (protonChain) => {
364
376
  xtokenPrecision: 6,
365
377
  xtokenContract: "xtokens",
366
378
  wallets: [
367
- ...IS_MAINNET ? [{
368
- wallet: "USDT",
369
- symbol: "USDT",
370
- chain: "Ethereum" /* EthereumMainnet */,
371
- network: "erc20" /* ERC20 */,
372
- precision: 6,
373
- contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
374
- provider: "fireblocks" /* FIREBLOCKS */,
375
- hasWithdrawMemo: false
376
- }] : [],
377
- ...IS_MAINNET ? [{
378
- wallet: "USDT-BEP20",
379
- symbol: "USDT",
380
- chain: "Binance (BEP20)" /* BinanceBEP20 */,
381
- network: "bep20" /* BEP20 */,
382
- precision: 18,
383
- contract: "0x55d398326f99059fF775485246999027B3197955",
384
- provider: "fireblocks" /* FIREBLOCKS */,
385
- hasWithdrawMemo: false
386
- }] : [],
387
- ...IS_TESTNET ? [{
388
- wallet: "USDT",
389
- symbol: "USDT",
390
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
391
- network: "ropsten" /* Ropsten */,
392
- precision: 6,
393
- contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
394
- provider: "fireblocks" /* FIREBLOCKS */,
395
- hasWithdrawMemo: false
396
- }] : []
379
+ ...IS_MAINNET ? [
380
+ {
381
+ wallet: "USDT",
382
+ symbol: "USDT",
383
+ chain: "Ethereum" /* EthereumMainnet */,
384
+ network: "erc20" /* ERC20 */,
385
+ precision: 6,
386
+ contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
387
+ provider: "fireblocks" /* FIREBLOCKS */,
388
+ hasWithdrawMemo: false
389
+ }
390
+ ] : [],
391
+ ...IS_MAINNET ? [
392
+ {
393
+ wallet: "USDT-BEP20",
394
+ symbol: "USDT",
395
+ chain: "Binance (BEP20)" /* BinanceBEP20 */,
396
+ network: "bep20" /* BEP20 */,
397
+ precision: 18,
398
+ contract: "0x55d398326f99059fF775485246999027B3197955",
399
+ provider: "fireblocks" /* FIREBLOCKS */,
400
+ hasWithdrawMemo: false
401
+ }
402
+ ] : [],
403
+ ...IS_TESTNET ? [
404
+ {
405
+ wallet: "USDT",
406
+ symbol: "USDT",
407
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
408
+ network: "ropsten" /* Ropsten */,
409
+ precision: 6,
410
+ contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
411
+ provider: "fireblocks" /* FIREBLOCKS */,
412
+ hasWithdrawMemo: false
413
+ }
414
+ ] : []
397
415
  ],
398
416
  image: "https://www.proton.org/images/tokens/xtokensXUSDT.png",
399
417
  coingeckoId: "tether"
@@ -409,16 +427,18 @@ var initializeCoins = (protonChain) => {
409
427
  xtokenPrecision: 6,
410
428
  xtokenContract: "xtokens",
411
429
  wallets: [
412
- ...IS_MAINNET ? [{
413
- wallet: "TUSD",
414
- symbol: "TUSD",
415
- chain: "Ethereum" /* EthereumMainnet */,
416
- network: "erc20" /* ERC20 */,
417
- precision: 18,
418
- contract: "0x0000000000085D4780B73119B644AE5ECD22B376",
419
- provider: "fireblocks" /* FIREBLOCKS */,
420
- hasWithdrawMemo: false
421
- }] : []
430
+ ...IS_MAINNET ? [
431
+ {
432
+ wallet: "TUSD",
433
+ symbol: "TUSD",
434
+ chain: "Ethereum" /* EthereumMainnet */,
435
+ network: "erc20" /* ERC20 */,
436
+ precision: 18,
437
+ contract: "0x0000000000085D4780B73119B644AE5ECD22B376",
438
+ provider: "fireblocks" /* FIREBLOCKS */,
439
+ hasWithdrawMemo: false
440
+ }
441
+ ] : []
422
442
  ],
423
443
  image: "https://www.proton.org/images/tokens/xtokensXTUSD.png",
424
444
  coingeckoId: "true-usd"
@@ -434,16 +454,18 @@ var initializeCoins = (protonChain) => {
434
454
  xtokenPrecision: 6,
435
455
  xtokenContract: "xtokens",
436
456
  wallets: [
437
- ...IS_MAINNET ? [{
438
- wallet: "EUROC",
439
- symbol: "EUROC-ERC20",
440
- chain: "Ethereum" /* EthereumMainnet */,
441
- network: "erc20" /* ERC20 */,
442
- precision: 6,
443
- contract: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
444
- provider: "fireblocks" /* FIREBLOCKS */,
445
- hasWithdrawMemo: false
446
- }] : []
457
+ ...IS_MAINNET ? [
458
+ {
459
+ wallet: "EUROC",
460
+ symbol: "EUROC-ERC20",
461
+ chain: "Ethereum" /* EthereumMainnet */,
462
+ network: "erc20" /* ERC20 */,
463
+ precision: 6,
464
+ contract: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
465
+ provider: "fireblocks" /* FIREBLOCKS */,
466
+ hasWithdrawMemo: false
467
+ }
468
+ ] : []
447
469
  ],
448
470
  image: "https://assets.coingecko.com/coins/images/26045/small/euro-coin.png?1655394420",
449
471
  coingeckoId: "euro-coin"
@@ -459,16 +481,18 @@ var initializeCoins = (protonChain) => {
459
481
  xtokenPrecision: 4,
460
482
  xtokenContract: "xtokens",
461
483
  wallets: [
462
- ...IS_MAINNET ? [{
463
- wallet: "XDC",
464
- symbol: "XDC",
465
- chain: "XDC Network" /* XDCMainnet */,
466
- network: "mainnet" /* Mainnet */,
467
- precision: 18,
468
- contract: "",
469
- provider: "fireblocks" /* FIREBLOCKS */,
470
- hasWithdrawMemo: false
471
- }] : []
484
+ ...IS_MAINNET ? [
485
+ {
486
+ wallet: "XDC",
487
+ symbol: "XDC",
488
+ chain: "XDC Network" /* XDCMainnet */,
489
+ network: "mainnet" /* Mainnet */,
490
+ precision: 18,
491
+ contract: "",
492
+ provider: "fireblocks" /* FIREBLOCKS */,
493
+ hasWithdrawMemo: false
494
+ }
495
+ ] : []
472
496
  ],
473
497
  image: "https://assets.coingecko.com/coins/images/2912/small/xdc-icon.png?1633700890",
474
498
  coingeckoId: "xdce-crowd-sale"
@@ -484,16 +508,18 @@ var initializeCoins = (protonChain) => {
484
508
  xtokenPrecision: 6,
485
509
  xtokenContract: "xtokens",
486
510
  wallets: [
487
- ...IS_MAINNET ? [{
488
- wallet: "PAX",
489
- symbol: "PAX",
490
- chain: "Ethereum" /* EthereumMainnet */,
491
- network: "erc20" /* ERC20 */,
492
- precision: 18,
493
- contract: "0x8E870D67F660D95D5BE530380D0EC0BD388289E1",
494
- provider: "fireblocks" /* FIREBLOCKS */,
495
- hasWithdrawMemo: false
496
- }] : []
511
+ ...IS_MAINNET ? [
512
+ {
513
+ wallet: "PAX",
514
+ symbol: "PAX",
515
+ chain: "Ethereum" /* EthereumMainnet */,
516
+ network: "erc20" /* ERC20 */,
517
+ precision: 18,
518
+ contract: "0x8E870D67F660D95D5BE530380D0EC0BD388289E1",
519
+ provider: "fireblocks" /* FIREBLOCKS */,
520
+ hasWithdrawMemo: false
521
+ }
522
+ ] : []
497
523
  ],
498
524
  image: "https://www.proton.org/images/tokens/xtokensXPAX.png",
499
525
  coingeckoId: "paxos-standard"
@@ -509,26 +535,30 @@ var initializeCoins = (protonChain) => {
509
535
  xtokenPrecision: 8,
510
536
  xtokenContract: "xtokens",
511
537
  wallets: [
512
- ...IS_MAINNET ? [{
513
- wallet: "PAXG",
514
- symbol: "PAXG",
515
- chain: "Ethereum" /* EthereumMainnet */,
516
- network: "erc20" /* ERC20 */,
517
- precision: 18,
518
- contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
519
- provider: "fireblocks" /* FIREBLOCKS */,
520
- hasWithdrawMemo: false
521
- }] : [],
522
- ...IS_TESTNET ? [{
523
- wallet: "PAXG",
524
- symbol: "PAXG",
525
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
526
- network: "ropsten" /* Ropsten */,
527
- precision: 18,
528
- contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
529
- provider: "fireblocks" /* FIREBLOCKS */,
530
- hasWithdrawMemo: false
531
- }] : []
538
+ ...IS_MAINNET ? [
539
+ {
540
+ wallet: "PAXG",
541
+ symbol: "PAXG",
542
+ chain: "Ethereum" /* EthereumMainnet */,
543
+ network: "erc20" /* ERC20 */,
544
+ precision: 18,
545
+ contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
546
+ provider: "fireblocks" /* FIREBLOCKS */,
547
+ hasWithdrawMemo: false
548
+ }
549
+ ] : [],
550
+ ...IS_TESTNET ? [
551
+ {
552
+ wallet: "PAXG",
553
+ symbol: "PAXG",
554
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
555
+ network: "ropsten" /* Ropsten */,
556
+ precision: 18,
557
+ contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
558
+ provider: "fireblocks" /* FIREBLOCKS */,
559
+ hasWithdrawMemo: false
560
+ }
561
+ ] : []
532
562
  ],
533
563
  image: "https://www.proton.org/images/tokens/xtokensXPAXG.png",
534
564
  coingeckoId: "pax-gold"
@@ -548,7 +578,7 @@ var initializeCoins = (protonChain) => {
548
578
  coingeckoId: ""
549
579
  },
550
580
  {
551
- allowSwap: IS_MAINNET,
581
+ allowSwap: false,
552
582
  allowBridge: false,
553
583
  allowLend: false,
554
584
  allowBorrow: false,
@@ -586,26 +616,30 @@ var initializeCoins = (protonChain) => {
586
616
  xtokenPrecision: 6,
587
617
  xtokenContract: "xtokens",
588
618
  wallets: [
589
- ...IS_MAINNET ? [{
590
- wallet: "UNI",
591
- symbol: "UNI",
592
- chain: "Ethereum" /* EthereumMainnet */,
593
- network: "erc20" /* ERC20 */,
594
- precision: 18,
595
- contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
596
- provider: "fireblocks" /* FIREBLOCKS */,
597
- hasWithdrawMemo: false
598
- }] : [],
599
- ...IS_TESTNET ? [{
600
- wallet: "UNI",
601
- symbol: "UNI",
602
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
603
- network: "ropsten" /* Ropsten */,
604
- precision: 18,
605
- contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
606
- provider: "fireblocks" /* FIREBLOCKS */,
607
- hasWithdrawMemo: false
608
- }] : []
619
+ ...IS_MAINNET ? [
620
+ {
621
+ wallet: "UNI",
622
+ symbol: "UNI",
623
+ chain: "Ethereum" /* EthereumMainnet */,
624
+ network: "erc20" /* ERC20 */,
625
+ precision: 18,
626
+ contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
627
+ provider: "fireblocks" /* FIREBLOCKS */,
628
+ hasWithdrawMemo: false
629
+ }
630
+ ] : [],
631
+ ...IS_TESTNET ? [
632
+ {
633
+ wallet: "UNI",
634
+ symbol: "UNI",
635
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
636
+ network: "ropsten" /* Ropsten */,
637
+ precision: 18,
638
+ contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
639
+ provider: "fireblocks" /* FIREBLOCKS */,
640
+ hasWithdrawMemo: false
641
+ }
642
+ ] : []
609
643
  ],
610
644
  image: "https://www.proton.org/images/tokens/xtokensXUNI.png",
611
645
  coingeckoId: "uniswap"
@@ -621,16 +655,18 @@ var initializeCoins = (protonChain) => {
621
655
  xtokenPrecision: 6,
622
656
  xtokenContract: "xtokens",
623
657
  wallets: [
624
- ...IS_MAINNET ? [{
625
- wallet: "1INCH",
626
- symbol: "1INCH",
627
- chain: "Ethereum" /* EthereumMainnet */,
628
- network: "erc20" /* ERC20 */,
629
- precision: 18,
630
- contract: "0x111111111117DC0AA78B770FA6A738034120C302",
631
- provider: "fireblocks" /* FIREBLOCKS */,
632
- hasWithdrawMemo: false
633
- }] : []
658
+ ...IS_MAINNET ? [
659
+ {
660
+ wallet: "1INCH",
661
+ symbol: "1INCH",
662
+ chain: "Ethereum" /* EthereumMainnet */,
663
+ network: "erc20" /* ERC20 */,
664
+ precision: 18,
665
+ contract: "0x111111111117DC0AA78B770FA6A738034120C302",
666
+ provider: "fireblocks" /* FIREBLOCKS */,
667
+ hasWithdrawMemo: false
668
+ }
669
+ ] : []
634
670
  ],
635
671
  image: "https://www.proton.org/images/tokens/xtokensXINCH.png",
636
672
  coingeckoId: "1inch"
@@ -646,16 +682,18 @@ var initializeCoins = (protonChain) => {
646
682
  xtokenPrecision: 6,
647
683
  xtokenContract: "xtokens",
648
684
  wallets: [
649
- ...IS_MAINNET ? [{
650
- wallet: "LINK",
651
- symbol: "LINK",
652
- chain: "Ethereum" /* EthereumMainnet */,
653
- network: "erc20" /* ERC20 */,
654
- precision: 18,
655
- contract: "0x514910771AF9CA656AF840DFF83E8264ECF986CA",
656
- provider: "fireblocks" /* FIREBLOCKS */,
657
- hasWithdrawMemo: false
658
- }] : []
685
+ ...IS_MAINNET ? [
686
+ {
687
+ wallet: "LINK",
688
+ symbol: "LINK",
689
+ chain: "Ethereum" /* EthereumMainnet */,
690
+ network: "erc20" /* ERC20 */,
691
+ precision: 18,
692
+ contract: "0x514910771AF9CA656AF840DFF83E8264ECF986CA",
693
+ provider: "fireblocks" /* FIREBLOCKS */,
694
+ hasWithdrawMemo: false
695
+ }
696
+ ] : []
659
697
  ],
660
698
  image: "https://www.proton.org/images/tokens/xtokensXLINK.png",
661
699
  coingeckoId: "chainlink"
@@ -671,26 +709,30 @@ var initializeCoins = (protonChain) => {
671
709
  xtokenPrecision: 8,
672
710
  xtokenContract: "xtokens",
673
711
  wallets: [
674
- ...IS_MAINNET ? [{
675
- wallet: "LTC",
676
- symbol: "LTC",
677
- chain: "Litecoin" /* LitecoinMainnet */,
678
- network: "mainnet" /* Mainnet */,
679
- precision: 8,
680
- contract: void 0,
681
- provider: "fireblocks" /* FIREBLOCKS */,
682
- hasWithdrawMemo: false
683
- }] : [],
684
- ...IS_TESTNET ? [{
685
- wallet: "LTC",
686
- symbol: "LTC",
687
- chain: "Litecoin (Testnet)" /* LitecoinTestnet */,
688
- network: "testnet" /* Testnet */,
689
- precision: 8,
690
- contract: void 0,
691
- provider: "fireblocks" /* FIREBLOCKS */,
692
- hasWithdrawMemo: false
693
- }] : []
712
+ ...IS_MAINNET ? [
713
+ {
714
+ wallet: "LTC",
715
+ symbol: "LTC",
716
+ chain: "Litecoin" /* LitecoinMainnet */,
717
+ network: "mainnet" /* Mainnet */,
718
+ precision: 8,
719
+ contract: void 0,
720
+ provider: "fireblocks" /* FIREBLOCKS */,
721
+ hasWithdrawMemo: false
722
+ }
723
+ ] : [],
724
+ ...IS_TESTNET ? [
725
+ {
726
+ wallet: "LTC",
727
+ symbol: "LTC",
728
+ chain: "Litecoin (Testnet)" /* LitecoinTestnet */,
729
+ network: "testnet" /* Testnet */,
730
+ precision: 8,
731
+ contract: void 0,
732
+ provider: "fireblocks" /* FIREBLOCKS */,
733
+ hasWithdrawMemo: false
734
+ }
735
+ ] : []
694
736
  ],
695
737
  image: "https://www.proton.org/images/tokens/xtokensXLTC.png",
696
738
  coingeckoId: "litecoin"
@@ -706,26 +748,30 @@ var initializeCoins = (protonChain) => {
706
748
  xtokenPrecision: 8,
707
749
  xtokenContract: "xtokens",
708
750
  wallets: [
709
- ...IS_MAINNET ? [{
710
- wallet: "BCH",
711
- symbol: "BCH",
712
- chain: "Bitcoin Cash" /* BitcoinCashMainnet */,
713
- network: "mainnet" /* Mainnet */,
714
- precision: 8,
715
- contract: void 0,
716
- provider: "fireblocks" /* FIREBLOCKS */,
717
- hasWithdrawMemo: false
718
- }] : [],
719
- ...IS_TESTNET ? [{
720
- wallet: "BCH",
721
- symbol: "BCH",
722
- chain: "Bitcoin Cash (Testnet)" /* BitcoinCashTestnet */,
723
- network: "testnet" /* Testnet */,
724
- precision: 8,
725
- contract: void 0,
726
- provider: "fireblocks" /* FIREBLOCKS */,
727
- hasWithdrawMemo: false
728
- }] : []
751
+ ...IS_MAINNET ? [
752
+ {
753
+ wallet: "BCH",
754
+ symbol: "BCH",
755
+ chain: "Bitcoin Cash" /* BitcoinCashMainnet */,
756
+ network: "mainnet" /* Mainnet */,
757
+ precision: 8,
758
+ contract: void 0,
759
+ provider: "fireblocks" /* FIREBLOCKS */,
760
+ hasWithdrawMemo: false
761
+ }
762
+ ] : [],
763
+ ...IS_TESTNET ? [
764
+ {
765
+ wallet: "BCH",
766
+ symbol: "BCH",
767
+ chain: "Bitcoin Cash (Testnet)" /* BitcoinCashTestnet */,
768
+ network: "testnet" /* Testnet */,
769
+ precision: 8,
770
+ contract: void 0,
771
+ provider: "fireblocks" /* FIREBLOCKS */,
772
+ hasWithdrawMemo: false
773
+ }
774
+ ] : []
729
775
  ],
730
776
  image: "https://www.proton.org/images/tokens/xtokensXBCH.png",
731
777
  coingeckoId: "bitcoin-cash"
@@ -741,16 +787,18 @@ var initializeCoins = (protonChain) => {
741
787
  xtokenPrecision: 4,
742
788
  xtokenContract: "xtokens",
743
789
  wallets: [
744
- ...IS_MAINNET ? [{
745
- wallet: "LUNR",
746
- symbol: "LUNR",
747
- chain: "Ethereum" /* EthereumMainnet */,
748
- network: "erc20" /* ERC20 */,
749
- precision: 4,
750
- contract: void 0,
751
- provider: "fireblocks" /* FIREBLOCKS */,
752
- hasWithdrawMemo: false
753
- }] : []
790
+ ...IS_MAINNET ? [
791
+ {
792
+ wallet: "LUNR",
793
+ symbol: "LUNR",
794
+ chain: "Ethereum" /* EthereumMainnet */,
795
+ network: "erc20" /* ERC20 */,
796
+ precision: 4,
797
+ contract: void 0,
798
+ provider: "fireblocks" /* FIREBLOCKS */,
799
+ hasWithdrawMemo: false
800
+ }
801
+ ] : []
754
802
  ],
755
803
  image: "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xlunr.png",
756
804
  coingeckoId: "lunr-token"
@@ -766,26 +814,30 @@ var initializeCoins = (protonChain) => {
766
814
  xtokenPrecision: 6,
767
815
  xtokenContract: "xtokens",
768
816
  wallets: [
769
- ...IS_MAINNET ? [{
770
- wallet: "XLM",
771
- symbol: "XLM",
772
- chain: "Stellar" /* StellarMainnet */,
773
- network: "mainnet" /* Mainnet */,
774
- precision: 7,
775
- contract: void 0,
776
- provider: "fireblocks" /* FIREBLOCKS */,
777
- hasWithdrawMemo: true
778
- }] : [],
779
- ...IS_TESTNET ? [{
780
- wallet: "XLM",
781
- symbol: "XLM",
782
- chain: "Stellar (Testnet)" /* StellarTestnet */,
783
- network: "testnet" /* Testnet */,
784
- precision: 7,
785
- contract: void 0,
786
- provider: "fireblocks" /* FIREBLOCKS */,
787
- hasWithdrawMemo: true
788
- }] : []
817
+ ...IS_MAINNET ? [
818
+ {
819
+ wallet: "XLM",
820
+ symbol: "XLM",
821
+ chain: "Stellar" /* StellarMainnet */,
822
+ network: "mainnet" /* Mainnet */,
823
+ precision: 7,
824
+ contract: void 0,
825
+ provider: "fireblocks" /* FIREBLOCKS */,
826
+ hasWithdrawMemo: true
827
+ }
828
+ ] : [],
829
+ ...IS_TESTNET ? [
830
+ {
831
+ wallet: "XLM",
832
+ symbol: "XLM",
833
+ chain: "Stellar (Testnet)" /* StellarTestnet */,
834
+ network: "testnet" /* Testnet */,
835
+ precision: 7,
836
+ contract: void 0,
837
+ provider: "fireblocks" /* FIREBLOCKS */,
838
+ hasWithdrawMemo: true
839
+ }
840
+ ] : []
789
841
  ],
790
842
  image: "https://www.proton.org/images/tokens/xtokensXXLM.png",
791
843
  coingeckoId: "stellar"
@@ -815,16 +867,18 @@ var initializeCoins = (protonChain) => {
815
867
  xtokenPrecision: 8,
816
868
  xtokenContract: "xtokens",
817
869
  wallets: [
818
- ...IS_MAINNET ? [{
819
- wallet: "DOT",
820
- symbol: "DOT",
821
- chain: "Polkadot" /* PolkadotMainnet */,
822
- network: "mainnet" /* Mainnet */,
823
- precision: 10,
824
- contract: void 0,
825
- provider: "fireblocks" /* FIREBLOCKS */,
826
- hasWithdrawMemo: false
827
- }] : []
870
+ ...IS_MAINNET ? [
871
+ {
872
+ wallet: "DOT",
873
+ symbol: "DOT",
874
+ chain: "Polkadot" /* PolkadotMainnet */,
875
+ network: "mainnet" /* Mainnet */,
876
+ precision: 10,
877
+ contract: void 0,
878
+ provider: "fireblocks" /* FIREBLOCKS */,
879
+ hasWithdrawMemo: false
880
+ }
881
+ ] : []
828
882
  ],
829
883
  image: "https://www.proton.org/images/tokens/xtokensXDOT.png",
830
884
  coingeckoId: "polkadot"
@@ -840,16 +894,18 @@ var initializeCoins = (protonChain) => {
840
894
  xtokenPrecision: 8,
841
895
  xtokenContract: "xtokens",
842
896
  wallets: [
843
- ...IS_MAINNET ? [{
844
- wallet: "BNB",
845
- symbol: "BNB",
846
- chain: "Binance (BEP20)" /* BinanceBEP20 */,
847
- network: "bep20" /* BEP20 */,
848
- precision: 18,
849
- contract: void 0,
850
- provider: "fireblocks" /* FIREBLOCKS */,
851
- hasWithdrawMemo: false
852
- }] : []
897
+ ...IS_MAINNET ? [
898
+ {
899
+ wallet: "BNB",
900
+ symbol: "BNB",
901
+ chain: "Binance (BEP20)" /* BinanceBEP20 */,
902
+ network: "bep20" /* BEP20 */,
903
+ precision: 18,
904
+ contract: void 0,
905
+ provider: "fireblocks" /* FIREBLOCKS */,
906
+ hasWithdrawMemo: false
907
+ }
908
+ ] : []
853
909
  ],
854
910
  image: "https://www.proton.org/images/tokens/xtokensXBNB.png",
855
911
  coingeckoId: "binancecoin"
@@ -890,26 +946,30 @@ var initializeCoins = (protonChain) => {
890
946
  xtokenPrecision: 4,
891
947
  xtokenContract: "xtokens",
892
948
  wallets: [
893
- ...IS_MAINNET ? [{
894
- wallet: "EOS",
895
- symbol: "EOS",
896
- chain: "EOS" /* EosMainnet */,
897
- network: "mainnet" /* Mainnet */,
898
- precision: 4,
899
- contract: void 0,
900
- provider: "fireblocks" /* FIREBLOCKS */,
901
- hasWithdrawMemo: true
902
- }] : [],
903
- ...IS_TESTNET ? [{
904
- wallet: "EOS",
905
- symbol: "EOS",
906
- chain: "EOS (Jungle Testnet)" /* EosTestnet */,
907
- network: "testnet" /* Testnet */,
908
- precision: 4,
909
- contract: void 0,
910
- provider: "fireblocks" /* FIREBLOCKS */,
911
- hasWithdrawMemo: true
912
- }] : []
949
+ ...IS_MAINNET ? [
950
+ {
951
+ wallet: "EOS",
952
+ symbol: "EOS",
953
+ chain: "EOS" /* EosMainnet */,
954
+ network: "mainnet" /* Mainnet */,
955
+ precision: 4,
956
+ contract: void 0,
957
+ provider: "fireblocks" /* FIREBLOCKS */,
958
+ hasWithdrawMemo: true
959
+ }
960
+ ] : [],
961
+ ...IS_TESTNET ? [
962
+ {
963
+ wallet: "EOS",
964
+ symbol: "EOS",
965
+ chain: "EOS (Jungle Testnet)" /* EosTestnet */,
966
+ network: "testnet" /* Testnet */,
967
+ precision: 4,
968
+ contract: void 0,
969
+ provider: "fireblocks" /* FIREBLOCKS */,
970
+ hasWithdrawMemo: true
971
+ }
972
+ ] : []
913
973
  ],
914
974
  image: "https://www.proton.org/images/tokens/xtokensXEOS.png",
915
975
  coingeckoId: "eos"
@@ -925,16 +985,18 @@ var initializeCoins = (protonChain) => {
925
985
  xtokenPrecision: 6,
926
986
  xtokenContract: "xtokens",
927
987
  wallets: [
928
- ...IS_MAINNET ? [{
929
- wallet: "DOGE",
930
- symbol: "DOGE",
931
- chain: "Dogecoin" /* DogeMainnet */,
932
- network: "mainnet" /* Mainnet */,
933
- precision: 8,
934
- contract: void 0,
935
- provider: "fireblocks" /* FIREBLOCKS */,
936
- hasWithdrawMemo: false
937
- }] : []
988
+ ...IS_MAINNET ? [
989
+ {
990
+ wallet: "DOGE",
991
+ symbol: "DOGE",
992
+ chain: "Dogecoin" /* DogeMainnet */,
993
+ network: "mainnet" /* Mainnet */,
994
+ precision: 8,
995
+ contract: void 0,
996
+ provider: "fireblocks" /* FIREBLOCKS */,
997
+ hasWithdrawMemo: false
998
+ }
999
+ ] : []
938
1000
  ],
939
1001
  image: "https://www.proton.org/images/tokens/xtokensXDOGE.png",
940
1002
  coingeckoId: "dogecoin"
@@ -950,16 +1012,18 @@ var initializeCoins = (protonChain) => {
950
1012
  xtokenPrecision: 6,
951
1013
  xtokenContract: "xtokens",
952
1014
  wallets: [
953
- ...IS_MAINNET ? [{
954
- wallet: "ADA",
955
- symbol: "ADA",
956
- chain: "Cardano" /* CardanoMainnet */,
957
- network: "mainnet" /* Mainnet */,
958
- precision: 6,
959
- contract: void 0,
960
- provider: "fireblocks" /* FIREBLOCKS */,
961
- hasWithdrawMemo: false
962
- }] : []
1015
+ ...IS_MAINNET ? [
1016
+ {
1017
+ wallet: "ADA",
1018
+ symbol: "ADA",
1019
+ chain: "Cardano" /* CardanoMainnet */,
1020
+ network: "mainnet" /* Mainnet */,
1021
+ precision: 6,
1022
+ contract: void 0,
1023
+ provider: "fireblocks" /* FIREBLOCKS */,
1024
+ hasWithdrawMemo: false
1025
+ }
1026
+ ] : []
963
1027
  ],
964
1028
  image: "https://www.proton.org/images/tokens/xtokensXADA.png",
965
1029
  coingeckoId: "cardano"
@@ -1001,16 +1065,18 @@ var initializeCoins = (protonChain) => {
1001
1065
  xtokenPrecision: 6,
1002
1066
  xtokenContract: "xtokens",
1003
1067
  wallets: [
1004
- ...IS_MAINNET ? [{
1005
- wallet: "UST",
1006
- symbol: "UST",
1007
- chain: "Terra" /* TerraMainnet */,
1008
- network: "mainnet" /* Mainnet */,
1009
- precision: 6,
1010
- contract: void 0,
1011
- provider: "fireblocks" /* FIREBLOCKS */,
1012
- hasWithdrawMemo: true
1013
- }] : []
1068
+ ...IS_MAINNET ? [
1069
+ {
1070
+ wallet: "UST",
1071
+ symbol: "UST",
1072
+ chain: "Terra" /* TerraMainnet */,
1073
+ network: "mainnet" /* Mainnet */,
1074
+ precision: 6,
1075
+ contract: void 0,
1076
+ provider: "fireblocks" /* FIREBLOCKS */,
1077
+ hasWithdrawMemo: true
1078
+ }
1079
+ ] : []
1014
1080
  ],
1015
1081
  image: "https://www.proton.org/images/tokens/xtokensXUST.png",
1016
1082
  coingeckoId: "terrausd"
@@ -1026,16 +1092,18 @@ var initializeCoins = (protonChain) => {
1026
1092
  xtokenPrecision: 6,
1027
1093
  xtokenContract: "xtokens",
1028
1094
  wallets: [
1029
- ...IS_MAINNET ? [{
1030
- wallet: "SOL",
1031
- symbol: "SOL",
1032
- chain: "Solana" /* SolanaMainnet */,
1033
- network: "mainnet" /* Mainnet */,
1034
- precision: 9,
1035
- contract: void 0,
1036
- provider: "fireblocks" /* FIREBLOCKS */,
1037
- hasWithdrawMemo: false
1038
- }] : []
1095
+ ...IS_MAINNET ? [
1096
+ {
1097
+ wallet: "SOL",
1098
+ symbol: "SOL",
1099
+ chain: "Solana" /* SolanaMainnet */,
1100
+ network: "mainnet" /* Mainnet */,
1101
+ precision: 9,
1102
+ contract: void 0,
1103
+ provider: "fireblocks" /* FIREBLOCKS */,
1104
+ hasWithdrawMemo: false
1105
+ }
1106
+ ] : []
1039
1107
  ],
1040
1108
  image: "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xsol.png",
1041
1109
  coingeckoId: "solana"
@@ -1051,16 +1119,18 @@ var initializeCoins = (protonChain) => {
1051
1119
  xtokenPrecision: 6,
1052
1120
  xtokenContract: "xtokens",
1053
1121
  wallets: [
1054
- ...IS_MAINNET ? [{
1055
- wallet: "XRP",
1056
- symbol: "XRP",
1057
- chain: "Ripple" /* RippleMainnet */,
1058
- network: "mainnet" /* Mainnet */,
1059
- precision: 6,
1060
- contract: void 0,
1061
- provider: "fireblocks" /* FIREBLOCKS */,
1062
- hasWithdrawMemo: true
1063
- }] : []
1122
+ ...IS_MAINNET ? [
1123
+ {
1124
+ wallet: "XRP",
1125
+ symbol: "XRP",
1126
+ chain: "Ripple" /* RippleMainnet */,
1127
+ network: "mainnet" /* Mainnet */,
1128
+ precision: 6,
1129
+ contract: void 0,
1130
+ provider: "fireblocks" /* FIREBLOCKS */,
1131
+ hasWithdrawMemo: true
1132
+ }
1133
+ ] : []
1064
1134
  ],
1065
1135
  image: "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xxrp.png",
1066
1136
  coingeckoId: "ripple"
@@ -1104,16 +1174,18 @@ var initializeCoins = (protonChain) => {
1104
1174
  xtokenPrecision: 8,
1105
1175
  xtokenContract: "xtokens",
1106
1176
  wallets: [
1107
- ...IS_MAINNET ? [{
1108
- wallet: "MATIC",
1109
- symbol: "MATIC",
1110
- chain: "Polygon" /* PolygonMainnet */,
1111
- network: "mainnet" /* Mainnet */,
1112
- precision: 18,
1113
- contract: "0x0000000000000000000000000000000000000000",
1114
- provider: "fireblocks" /* FIREBLOCKS */,
1115
- hasWithdrawMemo: false
1116
- }] : []
1177
+ ...IS_MAINNET ? [
1178
+ {
1179
+ wallet: "MATIC",
1180
+ symbol: "MATIC",
1181
+ chain: "Polygon" /* PolygonMainnet */,
1182
+ network: "mainnet" /* Mainnet */,
1183
+ precision: 18,
1184
+ contract: "0x0000000000000000000000000000000000000000",
1185
+ provider: "fireblocks" /* FIREBLOCKS */,
1186
+ hasWithdrawMemo: false
1187
+ }
1188
+ ] : []
1117
1189
  ],
1118
1190
  image: "https://www.proton.org/images/tokens/xtokensXMATIC.png",
1119
1191
  coingeckoId: "matic-network"
@@ -1143,16 +1215,18 @@ var initializeCoins = (protonChain) => {
1143
1215
  xtokenPrecision: 6,
1144
1216
  xtokenContract: "xtokens",
1145
1217
  wallets: [
1146
- ...IS_TESTNET ? [{
1147
- wallet: "HBAR",
1148
- symbol: "HBAR",
1149
- chain: "Hedera (Testnet)" /* HederaTestnet */,
1150
- network: "testnet" /* Testnet */,
1151
- precision: 8,
1152
- contract: void 0,
1153
- provider: "fireblocks" /* FIREBLOCKS */,
1154
- hasWithdrawMemo: true
1155
- }] : []
1218
+ ...IS_TESTNET ? [
1219
+ {
1220
+ wallet: "HBAR",
1221
+ symbol: "HBAR",
1222
+ chain: "Hedera (Testnet)" /* HederaTestnet */,
1223
+ network: "testnet" /* Testnet */,
1224
+ precision: 8,
1225
+ contract: void 0,
1226
+ provider: "fireblocks" /* FIREBLOCKS */,
1227
+ hasWithdrawMemo: true
1228
+ }
1229
+ ] : []
1156
1230
  ],
1157
1231
  image: "https://www.proton.org/images/tokens/xtokensXHBAR.png",
1158
1232
  coingeckoId: "hedera-hashgraph"
@@ -1163,7 +1237,9 @@ var initializeCoins = (protonChain) => {
1163
1237
  return new Set(chains).size !== chains.length;
1164
1238
  });
1165
1239
  if (walletWithDuplicateChains) {
1166
- throw new Error(`Coin ${walletWithDuplicateChains.coin} has duplicate chains in wallet`);
1240
+ throw new Error(
1241
+ `Coin ${walletWithDuplicateChains.coin} has duplicate chains in wallet`
1242
+ );
1167
1243
  }
1168
1244
  return {
1169
1245
  allCoins: coins,
@@ -1172,7 +1248,9 @@ var initializeCoins = (protonChain) => {
1172
1248
  lendCoins: coins.filter((coin) => coin.allowLend),
1173
1249
  borrowCoins: coins.filter((coin) => coin.allowBorrow),
1174
1250
  loanCoins: coins.filter((coin) => coin.allowLend || coin.allowBorrow),
1175
- allEnabledCoins: coins.filter((coin) => coin.allowSwap || coin.allowBridge || coin.xtokenSymbol === "XMD")
1251
+ allEnabledCoins: coins.filter(
1252
+ (coin) => coin.allowSwap || coin.allowBridge || coin.xtokenSymbol === "XMD"
1253
+ )
1176
1254
  };
1177
1255
  };
1178
1256