@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.js CHANGED
@@ -336,16 +336,18 @@ var initializeCoins = (protonChain) => {
336
336
  xtokenPrecision: 8,
337
337
  xtokenContract: "xtokens",
338
338
  wallets: [
339
- ...IS_MAINNET ? [{
340
- wallet: "MTL",
341
- symbol: "MTL",
342
- chain: "Ethereum" /* EthereumMainnet */,
343
- network: "erc20" /* ERC20 */,
344
- precision: 8,
345
- contract: "0xF433089366899D83A9F26A773D59EC7ECF30355E",
346
- provider: "fireblocks" /* FIREBLOCKS */,
347
- hasWithdrawMemo: false
348
- }] : []
339
+ ...IS_MAINNET ? [
340
+ {
341
+ wallet: "MTL",
342
+ symbol: "MTL",
343
+ chain: "Ethereum" /* EthereumMainnet */,
344
+ network: "erc20" /* ERC20 */,
345
+ precision: 8,
346
+ contract: "0xF433089366899D83A9F26A773D59EC7ECF30355E",
347
+ provider: "fireblocks" /* FIREBLOCKS */,
348
+ hasWithdrawMemo: false
349
+ }
350
+ ] : []
349
351
  ],
350
352
  image: "https://www.proton.org/images/tokens/xtokensXMT.png",
351
353
  coingeckoId: "metal"
@@ -361,16 +363,18 @@ var initializeCoins = (protonChain) => {
361
363
  xtokenPrecision: 8,
362
364
  xtokenContract: "xtokens",
363
365
  wallets: [
364
- ...IS_TESTNET ? [{
365
- wallet: "METAL",
366
- symbol: "METAL",
367
- chain: "Metal C-Chain (Testnet)" /* MetalCTestnet */,
368
- network: "evm" /* EVM */,
369
- precision: 18,
370
- contract: "",
371
- provider: "metal" /* METAL */,
372
- hasWithdrawMemo: false
373
- }] : [],
366
+ ...IS_TESTNET ? [
367
+ {
368
+ wallet: "METAL",
369
+ symbol: "METAL",
370
+ chain: "Metal C-Chain (Testnet)" /* MetalCTestnet */,
371
+ network: "evm" /* EVM */,
372
+ precision: 18,
373
+ contract: "",
374
+ provider: "metal" /* METAL */,
375
+ hasWithdrawMemo: false
376
+ }
377
+ ] : [],
374
378
  ...IS_MAINNET ? [
375
379
  {
376
380
  wallet: "METAL",
@@ -408,26 +412,30 @@ var initializeCoins = (protonChain) => {
408
412
  xtokenPrecision: 8,
409
413
  xtokenContract: "xtokens",
410
414
  wallets: [
411
- ...IS_MAINNET ? [{
412
- wallet: "BTC",
413
- symbol: "BTC",
414
- chain: "Bitcoin" /* BitcoinMainnet */,
415
- network: "mainnet" /* Mainnet */,
416
- precision: 8,
417
- contract: void 0,
418
- provider: "fireblocks" /* FIREBLOCKS */,
419
- hasWithdrawMemo: false
420
- }] : [],
421
- ...IS_TESTNET ? [{
422
- wallet: "BTC",
423
- symbol: "BTC",
424
- chain: "Bitcoin (Testnet)" /* BitcoinTestnet */,
425
- network: "testnet" /* Testnet */,
426
- precision: 8,
427
- contract: void 0,
428
- provider: "fireblocks" /* FIREBLOCKS */,
429
- hasWithdrawMemo: false
430
- }] : []
415
+ ...IS_MAINNET ? [
416
+ {
417
+ wallet: "BTC",
418
+ symbol: "BTC",
419
+ chain: "Bitcoin" /* BitcoinMainnet */,
420
+ network: "mainnet" /* Mainnet */,
421
+ precision: 8,
422
+ contract: void 0,
423
+ provider: "fireblocks" /* FIREBLOCKS */,
424
+ hasWithdrawMemo: false
425
+ }
426
+ ] : [],
427
+ ...IS_TESTNET ? [
428
+ {
429
+ wallet: "BTC",
430
+ symbol: "BTC",
431
+ chain: "Bitcoin (Testnet)" /* BitcoinTestnet */,
432
+ network: "testnet" /* Testnet */,
433
+ precision: 8,
434
+ contract: void 0,
435
+ provider: "fireblocks" /* FIREBLOCKS */,
436
+ hasWithdrawMemo: false
437
+ }
438
+ ] : []
431
439
  ],
432
440
  image: "https://www.proton.org/images/tokens/xtokensXBTC.png",
433
441
  coingeckoId: "bitcoin"
@@ -443,26 +451,30 @@ var initializeCoins = (protonChain) => {
443
451
  xtokenPrecision: 8,
444
452
  xtokenContract: "xtokens",
445
453
  wallets: [
446
- ...IS_MAINNET ? [{
447
- wallet: "ETH",
448
- symbol: "ETH",
449
- chain: "Ethereum" /* EthereumMainnet */,
450
- network: "mainnet" /* Mainnet */,
451
- precision: 18,
452
- contract: "0x0000000000000000000000000000000000000000",
453
- provider: "fireblocks" /* FIREBLOCKS */,
454
- hasWithdrawMemo: false
455
- }] : [],
456
- ...IS_TESTNET ? [{
457
- wallet: "ETH",
458
- symbol: "ETH",
459
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
460
- network: "ropsten" /* Ropsten */,
461
- precision: 18,
462
- contract: "0x0000000000000000000000000000000000000000",
463
- provider: "fireblocks" /* FIREBLOCKS */,
464
- hasWithdrawMemo: false
465
- }] : []
454
+ ...IS_MAINNET ? [
455
+ {
456
+ wallet: "ETH",
457
+ symbol: "ETH",
458
+ chain: "Ethereum" /* EthereumMainnet */,
459
+ network: "mainnet" /* Mainnet */,
460
+ precision: 18,
461
+ contract: "0x0000000000000000000000000000000000000000",
462
+ provider: "fireblocks" /* FIREBLOCKS */,
463
+ hasWithdrawMemo: false
464
+ }
465
+ ] : [],
466
+ ...IS_TESTNET ? [
467
+ {
468
+ wallet: "ETH",
469
+ symbol: "ETH",
470
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
471
+ network: "ropsten" /* Ropsten */,
472
+ precision: 18,
473
+ contract: "0x0000000000000000000000000000000000000000",
474
+ provider: "fireblocks" /* FIREBLOCKS */,
475
+ hasWithdrawMemo: false
476
+ }
477
+ ] : []
466
478
  ],
467
479
  image: "https://www.proton.org/images/tokens/xtokensXETH.png",
468
480
  coingeckoId: "ethereum"
@@ -492,36 +504,42 @@ var initializeCoins = (protonChain) => {
492
504
  xtokenPrecision: 6,
493
505
  xtokenContract: "xtokens",
494
506
  wallets: [
495
- ...IS_MAINNET ? [{
496
- wallet: "USDT",
497
- symbol: "USDT",
498
- chain: "Ethereum" /* EthereumMainnet */,
499
- network: "erc20" /* ERC20 */,
500
- precision: 6,
501
- contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
502
- provider: "fireblocks" /* FIREBLOCKS */,
503
- hasWithdrawMemo: false
504
- }] : [],
505
- ...IS_MAINNET ? [{
506
- wallet: "USDT-BEP20",
507
- symbol: "USDT",
508
- chain: "Binance (BEP20)" /* BinanceBEP20 */,
509
- network: "bep20" /* BEP20 */,
510
- precision: 18,
511
- contract: "0x55d398326f99059fF775485246999027B3197955",
512
- provider: "fireblocks" /* FIREBLOCKS */,
513
- hasWithdrawMemo: false
514
- }] : [],
515
- ...IS_TESTNET ? [{
516
- wallet: "USDT",
517
- symbol: "USDT",
518
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
519
- network: "ropsten" /* Ropsten */,
520
- precision: 6,
521
- contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
522
- provider: "fireblocks" /* FIREBLOCKS */,
523
- hasWithdrawMemo: false
524
- }] : []
507
+ ...IS_MAINNET ? [
508
+ {
509
+ wallet: "USDT",
510
+ symbol: "USDT",
511
+ chain: "Ethereum" /* EthereumMainnet */,
512
+ network: "erc20" /* ERC20 */,
513
+ precision: 6,
514
+ contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
515
+ provider: "fireblocks" /* FIREBLOCKS */,
516
+ hasWithdrawMemo: false
517
+ }
518
+ ] : [],
519
+ ...IS_MAINNET ? [
520
+ {
521
+ wallet: "USDT-BEP20",
522
+ symbol: "USDT",
523
+ chain: "Binance (BEP20)" /* BinanceBEP20 */,
524
+ network: "bep20" /* BEP20 */,
525
+ precision: 18,
526
+ contract: "0x55d398326f99059fF775485246999027B3197955",
527
+ provider: "fireblocks" /* FIREBLOCKS */,
528
+ hasWithdrawMemo: false
529
+ }
530
+ ] : [],
531
+ ...IS_TESTNET ? [
532
+ {
533
+ wallet: "USDT",
534
+ symbol: "USDT",
535
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
536
+ network: "ropsten" /* Ropsten */,
537
+ precision: 6,
538
+ contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
539
+ provider: "fireblocks" /* FIREBLOCKS */,
540
+ hasWithdrawMemo: false
541
+ }
542
+ ] : []
525
543
  ],
526
544
  image: "https://www.proton.org/images/tokens/xtokensXUSDT.png",
527
545
  coingeckoId: "tether"
@@ -537,16 +555,18 @@ var initializeCoins = (protonChain) => {
537
555
  xtokenPrecision: 6,
538
556
  xtokenContract: "xtokens",
539
557
  wallets: [
540
- ...IS_MAINNET ? [{
541
- wallet: "TUSD",
542
- symbol: "TUSD",
543
- chain: "Ethereum" /* EthereumMainnet */,
544
- network: "erc20" /* ERC20 */,
545
- precision: 18,
546
- contract: "0x0000000000085D4780B73119B644AE5ECD22B376",
547
- provider: "fireblocks" /* FIREBLOCKS */,
548
- hasWithdrawMemo: false
549
- }] : []
558
+ ...IS_MAINNET ? [
559
+ {
560
+ wallet: "TUSD",
561
+ symbol: "TUSD",
562
+ chain: "Ethereum" /* EthereumMainnet */,
563
+ network: "erc20" /* ERC20 */,
564
+ precision: 18,
565
+ contract: "0x0000000000085D4780B73119B644AE5ECD22B376",
566
+ provider: "fireblocks" /* FIREBLOCKS */,
567
+ hasWithdrawMemo: false
568
+ }
569
+ ] : []
550
570
  ],
551
571
  image: "https://www.proton.org/images/tokens/xtokensXTUSD.png",
552
572
  coingeckoId: "true-usd"
@@ -562,16 +582,18 @@ var initializeCoins = (protonChain) => {
562
582
  xtokenPrecision: 6,
563
583
  xtokenContract: "xtokens",
564
584
  wallets: [
565
- ...IS_MAINNET ? [{
566
- wallet: "EUROC",
567
- symbol: "EUROC-ERC20",
568
- chain: "Ethereum" /* EthereumMainnet */,
569
- network: "erc20" /* ERC20 */,
570
- precision: 6,
571
- contract: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
572
- provider: "fireblocks" /* FIREBLOCKS */,
573
- hasWithdrawMemo: false
574
- }] : []
585
+ ...IS_MAINNET ? [
586
+ {
587
+ wallet: "EUROC",
588
+ symbol: "EUROC-ERC20",
589
+ chain: "Ethereum" /* EthereumMainnet */,
590
+ network: "erc20" /* ERC20 */,
591
+ precision: 6,
592
+ contract: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
593
+ provider: "fireblocks" /* FIREBLOCKS */,
594
+ hasWithdrawMemo: false
595
+ }
596
+ ] : []
575
597
  ],
576
598
  image: "https://assets.coingecko.com/coins/images/26045/small/euro-coin.png?1655394420",
577
599
  coingeckoId: "euro-coin"
@@ -587,16 +609,18 @@ var initializeCoins = (protonChain) => {
587
609
  xtokenPrecision: 4,
588
610
  xtokenContract: "xtokens",
589
611
  wallets: [
590
- ...IS_MAINNET ? [{
591
- wallet: "XDC",
592
- symbol: "XDC",
593
- chain: "XDC Network" /* XDCMainnet */,
594
- network: "mainnet" /* Mainnet */,
595
- precision: 18,
596
- contract: "",
597
- provider: "fireblocks" /* FIREBLOCKS */,
598
- hasWithdrawMemo: false
599
- }] : []
612
+ ...IS_MAINNET ? [
613
+ {
614
+ wallet: "XDC",
615
+ symbol: "XDC",
616
+ chain: "XDC Network" /* XDCMainnet */,
617
+ network: "mainnet" /* Mainnet */,
618
+ precision: 18,
619
+ contract: "",
620
+ provider: "fireblocks" /* FIREBLOCKS */,
621
+ hasWithdrawMemo: false
622
+ }
623
+ ] : []
600
624
  ],
601
625
  image: "https://assets.coingecko.com/coins/images/2912/small/xdc-icon.png?1633700890",
602
626
  coingeckoId: "xdce-crowd-sale"
@@ -612,16 +636,18 @@ var initializeCoins = (protonChain) => {
612
636
  xtokenPrecision: 6,
613
637
  xtokenContract: "xtokens",
614
638
  wallets: [
615
- ...IS_MAINNET ? [{
616
- wallet: "PAX",
617
- symbol: "PAX",
618
- chain: "Ethereum" /* EthereumMainnet */,
619
- network: "erc20" /* ERC20 */,
620
- precision: 18,
621
- contract: "0x8E870D67F660D95D5BE530380D0EC0BD388289E1",
622
- provider: "fireblocks" /* FIREBLOCKS */,
623
- hasWithdrawMemo: false
624
- }] : []
639
+ ...IS_MAINNET ? [
640
+ {
641
+ wallet: "PAX",
642
+ symbol: "PAX",
643
+ chain: "Ethereum" /* EthereumMainnet */,
644
+ network: "erc20" /* ERC20 */,
645
+ precision: 18,
646
+ contract: "0x8E870D67F660D95D5BE530380D0EC0BD388289E1",
647
+ provider: "fireblocks" /* FIREBLOCKS */,
648
+ hasWithdrawMemo: false
649
+ }
650
+ ] : []
625
651
  ],
626
652
  image: "https://www.proton.org/images/tokens/xtokensXPAX.png",
627
653
  coingeckoId: "paxos-standard"
@@ -637,26 +663,30 @@ var initializeCoins = (protonChain) => {
637
663
  xtokenPrecision: 8,
638
664
  xtokenContract: "xtokens",
639
665
  wallets: [
640
- ...IS_MAINNET ? [{
641
- wallet: "PAXG",
642
- symbol: "PAXG",
643
- chain: "Ethereum" /* EthereumMainnet */,
644
- network: "erc20" /* ERC20 */,
645
- precision: 18,
646
- contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
647
- provider: "fireblocks" /* FIREBLOCKS */,
648
- hasWithdrawMemo: false
649
- }] : [],
650
- ...IS_TESTNET ? [{
651
- wallet: "PAXG",
652
- symbol: "PAXG",
653
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
654
- network: "ropsten" /* Ropsten */,
655
- precision: 18,
656
- contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
657
- provider: "fireblocks" /* FIREBLOCKS */,
658
- hasWithdrawMemo: false
659
- }] : []
666
+ ...IS_MAINNET ? [
667
+ {
668
+ wallet: "PAXG",
669
+ symbol: "PAXG",
670
+ chain: "Ethereum" /* EthereumMainnet */,
671
+ network: "erc20" /* ERC20 */,
672
+ precision: 18,
673
+ contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
674
+ provider: "fireblocks" /* FIREBLOCKS */,
675
+ hasWithdrawMemo: false
676
+ }
677
+ ] : [],
678
+ ...IS_TESTNET ? [
679
+ {
680
+ wallet: "PAXG",
681
+ symbol: "PAXG",
682
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
683
+ network: "ropsten" /* Ropsten */,
684
+ precision: 18,
685
+ contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
686
+ provider: "fireblocks" /* FIREBLOCKS */,
687
+ hasWithdrawMemo: false
688
+ }
689
+ ] : []
660
690
  ],
661
691
  image: "https://www.proton.org/images/tokens/xtokensXPAXG.png",
662
692
  coingeckoId: "pax-gold"
@@ -676,7 +706,7 @@ var initializeCoins = (protonChain) => {
676
706
  coingeckoId: ""
677
707
  },
678
708
  {
679
- allowSwap: IS_MAINNET,
709
+ allowSwap: false,
680
710
  allowBridge: false,
681
711
  allowLend: false,
682
712
  allowBorrow: false,
@@ -714,26 +744,30 @@ var initializeCoins = (protonChain) => {
714
744
  xtokenPrecision: 6,
715
745
  xtokenContract: "xtokens",
716
746
  wallets: [
717
- ...IS_MAINNET ? [{
718
- wallet: "UNI",
719
- symbol: "UNI",
720
- chain: "Ethereum" /* EthereumMainnet */,
721
- network: "erc20" /* ERC20 */,
722
- precision: 18,
723
- contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
724
- provider: "fireblocks" /* FIREBLOCKS */,
725
- hasWithdrawMemo: false
726
- }] : [],
727
- ...IS_TESTNET ? [{
728
- wallet: "UNI",
729
- symbol: "UNI",
730
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
731
- network: "ropsten" /* Ropsten */,
732
- precision: 18,
733
- contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
734
- provider: "fireblocks" /* FIREBLOCKS */,
735
- hasWithdrawMemo: false
736
- }] : []
747
+ ...IS_MAINNET ? [
748
+ {
749
+ wallet: "UNI",
750
+ symbol: "UNI",
751
+ chain: "Ethereum" /* EthereumMainnet */,
752
+ network: "erc20" /* ERC20 */,
753
+ precision: 18,
754
+ contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
755
+ provider: "fireblocks" /* FIREBLOCKS */,
756
+ hasWithdrawMemo: false
757
+ }
758
+ ] : [],
759
+ ...IS_TESTNET ? [
760
+ {
761
+ wallet: "UNI",
762
+ symbol: "UNI",
763
+ chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
764
+ network: "ropsten" /* Ropsten */,
765
+ precision: 18,
766
+ contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
767
+ provider: "fireblocks" /* FIREBLOCKS */,
768
+ hasWithdrawMemo: false
769
+ }
770
+ ] : []
737
771
  ],
738
772
  image: "https://www.proton.org/images/tokens/xtokensXUNI.png",
739
773
  coingeckoId: "uniswap"
@@ -749,16 +783,18 @@ var initializeCoins = (protonChain) => {
749
783
  xtokenPrecision: 6,
750
784
  xtokenContract: "xtokens",
751
785
  wallets: [
752
- ...IS_MAINNET ? [{
753
- wallet: "1INCH",
754
- symbol: "1INCH",
755
- chain: "Ethereum" /* EthereumMainnet */,
756
- network: "erc20" /* ERC20 */,
757
- precision: 18,
758
- contract: "0x111111111117DC0AA78B770FA6A738034120C302",
759
- provider: "fireblocks" /* FIREBLOCKS */,
760
- hasWithdrawMemo: false
761
- }] : []
786
+ ...IS_MAINNET ? [
787
+ {
788
+ wallet: "1INCH",
789
+ symbol: "1INCH",
790
+ chain: "Ethereum" /* EthereumMainnet */,
791
+ network: "erc20" /* ERC20 */,
792
+ precision: 18,
793
+ contract: "0x111111111117DC0AA78B770FA6A738034120C302",
794
+ provider: "fireblocks" /* FIREBLOCKS */,
795
+ hasWithdrawMemo: false
796
+ }
797
+ ] : []
762
798
  ],
763
799
  image: "https://www.proton.org/images/tokens/xtokensXINCH.png",
764
800
  coingeckoId: "1inch"
@@ -774,16 +810,18 @@ var initializeCoins = (protonChain) => {
774
810
  xtokenPrecision: 6,
775
811
  xtokenContract: "xtokens",
776
812
  wallets: [
777
- ...IS_MAINNET ? [{
778
- wallet: "LINK",
779
- symbol: "LINK",
780
- chain: "Ethereum" /* EthereumMainnet */,
781
- network: "erc20" /* ERC20 */,
782
- precision: 18,
783
- contract: "0x514910771AF9CA656AF840DFF83E8264ECF986CA",
784
- provider: "fireblocks" /* FIREBLOCKS */,
785
- hasWithdrawMemo: false
786
- }] : []
813
+ ...IS_MAINNET ? [
814
+ {
815
+ wallet: "LINK",
816
+ symbol: "LINK",
817
+ chain: "Ethereum" /* EthereumMainnet */,
818
+ network: "erc20" /* ERC20 */,
819
+ precision: 18,
820
+ contract: "0x514910771AF9CA656AF840DFF83E8264ECF986CA",
821
+ provider: "fireblocks" /* FIREBLOCKS */,
822
+ hasWithdrawMemo: false
823
+ }
824
+ ] : []
787
825
  ],
788
826
  image: "https://www.proton.org/images/tokens/xtokensXLINK.png",
789
827
  coingeckoId: "chainlink"
@@ -799,26 +837,30 @@ var initializeCoins = (protonChain) => {
799
837
  xtokenPrecision: 8,
800
838
  xtokenContract: "xtokens",
801
839
  wallets: [
802
- ...IS_MAINNET ? [{
803
- wallet: "LTC",
804
- symbol: "LTC",
805
- chain: "Litecoin" /* LitecoinMainnet */,
806
- network: "mainnet" /* Mainnet */,
807
- precision: 8,
808
- contract: void 0,
809
- provider: "fireblocks" /* FIREBLOCKS */,
810
- hasWithdrawMemo: false
811
- }] : [],
812
- ...IS_TESTNET ? [{
813
- wallet: "LTC",
814
- symbol: "LTC",
815
- chain: "Litecoin (Testnet)" /* LitecoinTestnet */,
816
- network: "testnet" /* Testnet */,
817
- precision: 8,
818
- contract: void 0,
819
- provider: "fireblocks" /* FIREBLOCKS */,
820
- hasWithdrawMemo: false
821
- }] : []
840
+ ...IS_MAINNET ? [
841
+ {
842
+ wallet: "LTC",
843
+ symbol: "LTC",
844
+ chain: "Litecoin" /* LitecoinMainnet */,
845
+ network: "mainnet" /* Mainnet */,
846
+ precision: 8,
847
+ contract: void 0,
848
+ provider: "fireblocks" /* FIREBLOCKS */,
849
+ hasWithdrawMemo: false
850
+ }
851
+ ] : [],
852
+ ...IS_TESTNET ? [
853
+ {
854
+ wallet: "LTC",
855
+ symbol: "LTC",
856
+ chain: "Litecoin (Testnet)" /* LitecoinTestnet */,
857
+ network: "testnet" /* Testnet */,
858
+ precision: 8,
859
+ contract: void 0,
860
+ provider: "fireblocks" /* FIREBLOCKS */,
861
+ hasWithdrawMemo: false
862
+ }
863
+ ] : []
822
864
  ],
823
865
  image: "https://www.proton.org/images/tokens/xtokensXLTC.png",
824
866
  coingeckoId: "litecoin"
@@ -834,26 +876,30 @@ var initializeCoins = (protonChain) => {
834
876
  xtokenPrecision: 8,
835
877
  xtokenContract: "xtokens",
836
878
  wallets: [
837
- ...IS_MAINNET ? [{
838
- wallet: "BCH",
839
- symbol: "BCH",
840
- chain: "Bitcoin Cash" /* BitcoinCashMainnet */,
841
- network: "mainnet" /* Mainnet */,
842
- precision: 8,
843
- contract: void 0,
844
- provider: "fireblocks" /* FIREBLOCKS */,
845
- hasWithdrawMemo: false
846
- }] : [],
847
- ...IS_TESTNET ? [{
848
- wallet: "BCH",
849
- symbol: "BCH",
850
- chain: "Bitcoin Cash (Testnet)" /* BitcoinCashTestnet */,
851
- network: "testnet" /* Testnet */,
852
- precision: 8,
853
- contract: void 0,
854
- provider: "fireblocks" /* FIREBLOCKS */,
855
- hasWithdrawMemo: false
856
- }] : []
879
+ ...IS_MAINNET ? [
880
+ {
881
+ wallet: "BCH",
882
+ symbol: "BCH",
883
+ chain: "Bitcoin Cash" /* BitcoinCashMainnet */,
884
+ network: "mainnet" /* Mainnet */,
885
+ precision: 8,
886
+ contract: void 0,
887
+ provider: "fireblocks" /* FIREBLOCKS */,
888
+ hasWithdrawMemo: false
889
+ }
890
+ ] : [],
891
+ ...IS_TESTNET ? [
892
+ {
893
+ wallet: "BCH",
894
+ symbol: "BCH",
895
+ chain: "Bitcoin Cash (Testnet)" /* BitcoinCashTestnet */,
896
+ network: "testnet" /* Testnet */,
897
+ precision: 8,
898
+ contract: void 0,
899
+ provider: "fireblocks" /* FIREBLOCKS */,
900
+ hasWithdrawMemo: false
901
+ }
902
+ ] : []
857
903
  ],
858
904
  image: "https://www.proton.org/images/tokens/xtokensXBCH.png",
859
905
  coingeckoId: "bitcoin-cash"
@@ -869,16 +915,18 @@ var initializeCoins = (protonChain) => {
869
915
  xtokenPrecision: 4,
870
916
  xtokenContract: "xtokens",
871
917
  wallets: [
872
- ...IS_MAINNET ? [{
873
- wallet: "LUNR",
874
- symbol: "LUNR",
875
- chain: "Ethereum" /* EthereumMainnet */,
876
- network: "erc20" /* ERC20 */,
877
- precision: 4,
878
- contract: void 0,
879
- provider: "fireblocks" /* FIREBLOCKS */,
880
- hasWithdrawMemo: false
881
- }] : []
918
+ ...IS_MAINNET ? [
919
+ {
920
+ wallet: "LUNR",
921
+ symbol: "LUNR",
922
+ chain: "Ethereum" /* EthereumMainnet */,
923
+ network: "erc20" /* ERC20 */,
924
+ precision: 4,
925
+ contract: void 0,
926
+ provider: "fireblocks" /* FIREBLOCKS */,
927
+ hasWithdrawMemo: false
928
+ }
929
+ ] : []
882
930
  ],
883
931
  image: "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xlunr.png",
884
932
  coingeckoId: "lunr-token"
@@ -894,26 +942,30 @@ var initializeCoins = (protonChain) => {
894
942
  xtokenPrecision: 6,
895
943
  xtokenContract: "xtokens",
896
944
  wallets: [
897
- ...IS_MAINNET ? [{
898
- wallet: "XLM",
899
- symbol: "XLM",
900
- chain: "Stellar" /* StellarMainnet */,
901
- network: "mainnet" /* Mainnet */,
902
- precision: 7,
903
- contract: void 0,
904
- provider: "fireblocks" /* FIREBLOCKS */,
905
- hasWithdrawMemo: true
906
- }] : [],
907
- ...IS_TESTNET ? [{
908
- wallet: "XLM",
909
- symbol: "XLM",
910
- chain: "Stellar (Testnet)" /* StellarTestnet */,
911
- network: "testnet" /* Testnet */,
912
- precision: 7,
913
- contract: void 0,
914
- provider: "fireblocks" /* FIREBLOCKS */,
915
- hasWithdrawMemo: true
916
- }] : []
945
+ ...IS_MAINNET ? [
946
+ {
947
+ wallet: "XLM",
948
+ symbol: "XLM",
949
+ chain: "Stellar" /* StellarMainnet */,
950
+ network: "mainnet" /* Mainnet */,
951
+ precision: 7,
952
+ contract: void 0,
953
+ provider: "fireblocks" /* FIREBLOCKS */,
954
+ hasWithdrawMemo: true
955
+ }
956
+ ] : [],
957
+ ...IS_TESTNET ? [
958
+ {
959
+ wallet: "XLM",
960
+ symbol: "XLM",
961
+ chain: "Stellar (Testnet)" /* StellarTestnet */,
962
+ network: "testnet" /* Testnet */,
963
+ precision: 7,
964
+ contract: void 0,
965
+ provider: "fireblocks" /* FIREBLOCKS */,
966
+ hasWithdrawMemo: true
967
+ }
968
+ ] : []
917
969
  ],
918
970
  image: "https://www.proton.org/images/tokens/xtokensXXLM.png",
919
971
  coingeckoId: "stellar"
@@ -943,16 +995,18 @@ var initializeCoins = (protonChain) => {
943
995
  xtokenPrecision: 8,
944
996
  xtokenContract: "xtokens",
945
997
  wallets: [
946
- ...IS_MAINNET ? [{
947
- wallet: "DOT",
948
- symbol: "DOT",
949
- chain: "Polkadot" /* PolkadotMainnet */,
950
- network: "mainnet" /* Mainnet */,
951
- precision: 10,
952
- contract: void 0,
953
- provider: "fireblocks" /* FIREBLOCKS */,
954
- hasWithdrawMemo: false
955
- }] : []
998
+ ...IS_MAINNET ? [
999
+ {
1000
+ wallet: "DOT",
1001
+ symbol: "DOT",
1002
+ chain: "Polkadot" /* PolkadotMainnet */,
1003
+ network: "mainnet" /* Mainnet */,
1004
+ precision: 10,
1005
+ contract: void 0,
1006
+ provider: "fireblocks" /* FIREBLOCKS */,
1007
+ hasWithdrawMemo: false
1008
+ }
1009
+ ] : []
956
1010
  ],
957
1011
  image: "https://www.proton.org/images/tokens/xtokensXDOT.png",
958
1012
  coingeckoId: "polkadot"
@@ -968,16 +1022,18 @@ var initializeCoins = (protonChain) => {
968
1022
  xtokenPrecision: 8,
969
1023
  xtokenContract: "xtokens",
970
1024
  wallets: [
971
- ...IS_MAINNET ? [{
972
- wallet: "BNB",
973
- symbol: "BNB",
974
- chain: "Binance (BEP20)" /* BinanceBEP20 */,
975
- network: "bep20" /* BEP20 */,
976
- precision: 18,
977
- contract: void 0,
978
- provider: "fireblocks" /* FIREBLOCKS */,
979
- hasWithdrawMemo: false
980
- }] : []
1025
+ ...IS_MAINNET ? [
1026
+ {
1027
+ wallet: "BNB",
1028
+ symbol: "BNB",
1029
+ chain: "Binance (BEP20)" /* BinanceBEP20 */,
1030
+ network: "bep20" /* BEP20 */,
1031
+ precision: 18,
1032
+ contract: void 0,
1033
+ provider: "fireblocks" /* FIREBLOCKS */,
1034
+ hasWithdrawMemo: false
1035
+ }
1036
+ ] : []
981
1037
  ],
982
1038
  image: "https://www.proton.org/images/tokens/xtokensXBNB.png",
983
1039
  coingeckoId: "binancecoin"
@@ -1018,26 +1074,30 @@ var initializeCoins = (protonChain) => {
1018
1074
  xtokenPrecision: 4,
1019
1075
  xtokenContract: "xtokens",
1020
1076
  wallets: [
1021
- ...IS_MAINNET ? [{
1022
- wallet: "EOS",
1023
- symbol: "EOS",
1024
- chain: "EOS" /* EosMainnet */,
1025
- network: "mainnet" /* Mainnet */,
1026
- precision: 4,
1027
- contract: void 0,
1028
- provider: "fireblocks" /* FIREBLOCKS */,
1029
- hasWithdrawMemo: true
1030
- }] : [],
1031
- ...IS_TESTNET ? [{
1032
- wallet: "EOS",
1033
- symbol: "EOS",
1034
- chain: "EOS (Jungle Testnet)" /* EosTestnet */,
1035
- network: "testnet" /* Testnet */,
1036
- precision: 4,
1037
- contract: void 0,
1038
- provider: "fireblocks" /* FIREBLOCKS */,
1039
- hasWithdrawMemo: true
1040
- }] : []
1077
+ ...IS_MAINNET ? [
1078
+ {
1079
+ wallet: "EOS",
1080
+ symbol: "EOS",
1081
+ chain: "EOS" /* EosMainnet */,
1082
+ network: "mainnet" /* Mainnet */,
1083
+ precision: 4,
1084
+ contract: void 0,
1085
+ provider: "fireblocks" /* FIREBLOCKS */,
1086
+ hasWithdrawMemo: true
1087
+ }
1088
+ ] : [],
1089
+ ...IS_TESTNET ? [
1090
+ {
1091
+ wallet: "EOS",
1092
+ symbol: "EOS",
1093
+ chain: "EOS (Jungle Testnet)" /* EosTestnet */,
1094
+ network: "testnet" /* Testnet */,
1095
+ precision: 4,
1096
+ contract: void 0,
1097
+ provider: "fireblocks" /* FIREBLOCKS */,
1098
+ hasWithdrawMemo: true
1099
+ }
1100
+ ] : []
1041
1101
  ],
1042
1102
  image: "https://www.proton.org/images/tokens/xtokensXEOS.png",
1043
1103
  coingeckoId: "eos"
@@ -1053,16 +1113,18 @@ var initializeCoins = (protonChain) => {
1053
1113
  xtokenPrecision: 6,
1054
1114
  xtokenContract: "xtokens",
1055
1115
  wallets: [
1056
- ...IS_MAINNET ? [{
1057
- wallet: "DOGE",
1058
- symbol: "DOGE",
1059
- chain: "Dogecoin" /* DogeMainnet */,
1060
- network: "mainnet" /* Mainnet */,
1061
- precision: 8,
1062
- contract: void 0,
1063
- provider: "fireblocks" /* FIREBLOCKS */,
1064
- hasWithdrawMemo: false
1065
- }] : []
1116
+ ...IS_MAINNET ? [
1117
+ {
1118
+ wallet: "DOGE",
1119
+ symbol: "DOGE",
1120
+ chain: "Dogecoin" /* DogeMainnet */,
1121
+ network: "mainnet" /* Mainnet */,
1122
+ precision: 8,
1123
+ contract: void 0,
1124
+ provider: "fireblocks" /* FIREBLOCKS */,
1125
+ hasWithdrawMemo: false
1126
+ }
1127
+ ] : []
1066
1128
  ],
1067
1129
  image: "https://www.proton.org/images/tokens/xtokensXDOGE.png",
1068
1130
  coingeckoId: "dogecoin"
@@ -1078,16 +1140,18 @@ var initializeCoins = (protonChain) => {
1078
1140
  xtokenPrecision: 6,
1079
1141
  xtokenContract: "xtokens",
1080
1142
  wallets: [
1081
- ...IS_MAINNET ? [{
1082
- wallet: "ADA",
1083
- symbol: "ADA",
1084
- chain: "Cardano" /* CardanoMainnet */,
1085
- network: "mainnet" /* Mainnet */,
1086
- precision: 6,
1087
- contract: void 0,
1088
- provider: "fireblocks" /* FIREBLOCKS */,
1089
- hasWithdrawMemo: false
1090
- }] : []
1143
+ ...IS_MAINNET ? [
1144
+ {
1145
+ wallet: "ADA",
1146
+ symbol: "ADA",
1147
+ chain: "Cardano" /* CardanoMainnet */,
1148
+ network: "mainnet" /* Mainnet */,
1149
+ precision: 6,
1150
+ contract: void 0,
1151
+ provider: "fireblocks" /* FIREBLOCKS */,
1152
+ hasWithdrawMemo: false
1153
+ }
1154
+ ] : []
1091
1155
  ],
1092
1156
  image: "https://www.proton.org/images/tokens/xtokensXADA.png",
1093
1157
  coingeckoId: "cardano"
@@ -1129,16 +1193,18 @@ var initializeCoins = (protonChain) => {
1129
1193
  xtokenPrecision: 6,
1130
1194
  xtokenContract: "xtokens",
1131
1195
  wallets: [
1132
- ...IS_MAINNET ? [{
1133
- wallet: "UST",
1134
- symbol: "UST",
1135
- chain: "Terra" /* TerraMainnet */,
1136
- network: "mainnet" /* Mainnet */,
1137
- precision: 6,
1138
- contract: void 0,
1139
- provider: "fireblocks" /* FIREBLOCKS */,
1140
- hasWithdrawMemo: true
1141
- }] : []
1196
+ ...IS_MAINNET ? [
1197
+ {
1198
+ wallet: "UST",
1199
+ symbol: "UST",
1200
+ chain: "Terra" /* TerraMainnet */,
1201
+ network: "mainnet" /* Mainnet */,
1202
+ precision: 6,
1203
+ contract: void 0,
1204
+ provider: "fireblocks" /* FIREBLOCKS */,
1205
+ hasWithdrawMemo: true
1206
+ }
1207
+ ] : []
1142
1208
  ],
1143
1209
  image: "https://www.proton.org/images/tokens/xtokensXUST.png",
1144
1210
  coingeckoId: "terrausd"
@@ -1154,16 +1220,18 @@ var initializeCoins = (protonChain) => {
1154
1220
  xtokenPrecision: 6,
1155
1221
  xtokenContract: "xtokens",
1156
1222
  wallets: [
1157
- ...IS_MAINNET ? [{
1158
- wallet: "SOL",
1159
- symbol: "SOL",
1160
- chain: "Solana" /* SolanaMainnet */,
1161
- network: "mainnet" /* Mainnet */,
1162
- precision: 9,
1163
- contract: void 0,
1164
- provider: "fireblocks" /* FIREBLOCKS */,
1165
- hasWithdrawMemo: false
1166
- }] : []
1223
+ ...IS_MAINNET ? [
1224
+ {
1225
+ wallet: "SOL",
1226
+ symbol: "SOL",
1227
+ chain: "Solana" /* SolanaMainnet */,
1228
+ network: "mainnet" /* Mainnet */,
1229
+ precision: 9,
1230
+ contract: void 0,
1231
+ provider: "fireblocks" /* FIREBLOCKS */,
1232
+ hasWithdrawMemo: false
1233
+ }
1234
+ ] : []
1167
1235
  ],
1168
1236
  image: "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xsol.png",
1169
1237
  coingeckoId: "solana"
@@ -1179,16 +1247,18 @@ var initializeCoins = (protonChain) => {
1179
1247
  xtokenPrecision: 6,
1180
1248
  xtokenContract: "xtokens",
1181
1249
  wallets: [
1182
- ...IS_MAINNET ? [{
1183
- wallet: "XRP",
1184
- symbol: "XRP",
1185
- chain: "Ripple" /* RippleMainnet */,
1186
- network: "mainnet" /* Mainnet */,
1187
- precision: 6,
1188
- contract: void 0,
1189
- provider: "fireblocks" /* FIREBLOCKS */,
1190
- hasWithdrawMemo: true
1191
- }] : []
1250
+ ...IS_MAINNET ? [
1251
+ {
1252
+ wallet: "XRP",
1253
+ symbol: "XRP",
1254
+ chain: "Ripple" /* RippleMainnet */,
1255
+ network: "mainnet" /* Mainnet */,
1256
+ precision: 6,
1257
+ contract: void 0,
1258
+ provider: "fireblocks" /* FIREBLOCKS */,
1259
+ hasWithdrawMemo: true
1260
+ }
1261
+ ] : []
1192
1262
  ],
1193
1263
  image: "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xxrp.png",
1194
1264
  coingeckoId: "ripple"
@@ -1232,16 +1302,18 @@ var initializeCoins = (protonChain) => {
1232
1302
  xtokenPrecision: 8,
1233
1303
  xtokenContract: "xtokens",
1234
1304
  wallets: [
1235
- ...IS_MAINNET ? [{
1236
- wallet: "MATIC",
1237
- symbol: "MATIC",
1238
- chain: "Polygon" /* PolygonMainnet */,
1239
- network: "mainnet" /* Mainnet */,
1240
- precision: 18,
1241
- contract: "0x0000000000000000000000000000000000000000",
1242
- provider: "fireblocks" /* FIREBLOCKS */,
1243
- hasWithdrawMemo: false
1244
- }] : []
1305
+ ...IS_MAINNET ? [
1306
+ {
1307
+ wallet: "MATIC",
1308
+ symbol: "MATIC",
1309
+ chain: "Polygon" /* PolygonMainnet */,
1310
+ network: "mainnet" /* Mainnet */,
1311
+ precision: 18,
1312
+ contract: "0x0000000000000000000000000000000000000000",
1313
+ provider: "fireblocks" /* FIREBLOCKS */,
1314
+ hasWithdrawMemo: false
1315
+ }
1316
+ ] : []
1245
1317
  ],
1246
1318
  image: "https://www.proton.org/images/tokens/xtokensXMATIC.png",
1247
1319
  coingeckoId: "matic-network"
@@ -1271,16 +1343,18 @@ var initializeCoins = (protonChain) => {
1271
1343
  xtokenPrecision: 6,
1272
1344
  xtokenContract: "xtokens",
1273
1345
  wallets: [
1274
- ...IS_TESTNET ? [{
1275
- wallet: "HBAR",
1276
- symbol: "HBAR",
1277
- chain: "Hedera (Testnet)" /* HederaTestnet */,
1278
- network: "testnet" /* Testnet */,
1279
- precision: 8,
1280
- contract: void 0,
1281
- provider: "fireblocks" /* FIREBLOCKS */,
1282
- hasWithdrawMemo: true
1283
- }] : []
1346
+ ...IS_TESTNET ? [
1347
+ {
1348
+ wallet: "HBAR",
1349
+ symbol: "HBAR",
1350
+ chain: "Hedera (Testnet)" /* HederaTestnet */,
1351
+ network: "testnet" /* Testnet */,
1352
+ precision: 8,
1353
+ contract: void 0,
1354
+ provider: "fireblocks" /* FIREBLOCKS */,
1355
+ hasWithdrawMemo: true
1356
+ }
1357
+ ] : []
1284
1358
  ],
1285
1359
  image: "https://www.proton.org/images/tokens/xtokensXHBAR.png",
1286
1360
  coingeckoId: "hedera-hashgraph"
@@ -1291,7 +1365,9 @@ var initializeCoins = (protonChain) => {
1291
1365
  return new Set(chains).size !== chains.length;
1292
1366
  });
1293
1367
  if (walletWithDuplicateChains) {
1294
- throw new Error(`Coin ${walletWithDuplicateChains.coin} has duplicate chains in wallet`);
1368
+ throw new Error(
1369
+ `Coin ${walletWithDuplicateChains.coin} has duplicate chains in wallet`
1370
+ );
1295
1371
  }
1296
1372
  return {
1297
1373
  allCoins: coins,
@@ -1300,7 +1376,9 @@ var initializeCoins = (protonChain) => {
1300
1376
  lendCoins: coins.filter((coin) => coin.allowLend),
1301
1377
  borrowCoins: coins.filter((coin) => coin.allowBorrow),
1302
1378
  loanCoins: coins.filter((coin) => coin.allowLend || coin.allowBorrow),
1303
- allEnabledCoins: coins.filter((coin) => coin.allowSwap || coin.allowBridge || coin.xtokenSymbol === "XMD")
1379
+ allEnabledCoins: coins.filter(
1380
+ (coin) => coin.allowSwap || coin.allowBridge || coin.xtokenSymbol === "XMD"
1381
+ )
1304
1382
  };
1305
1383
  };
1306
1384