<commit_before>'use strict';
import * as CWC from 'crypto-wallet-core';

export const Constants = {
  SCRIPT_TYPES: {
    P2SH: 'P2SH',
    P2PKH: 'P2PKH',
    P2WPKH: 'P2WPKH',
    P2WSH: 'P2WSH'
  },
  // not used, since Credentials 2.0
  DERIVATION_STRATEGIES: {
    BIP44: 'BIP44',
    BIP45: 'BIP45',
    BIP48: 'BIP48'
  },
  PATHS: {
    SINGLE_ADDRESS: 'm/0/0',
    REQUEST_KEY: "m/1'/0",
    //  TXPROPOSAL_KEY: "m/1'/1",
    REQUEST_KEY_AUTH: 'm/2' // relative to BASE
  },
  BIP45_SHARED_INDEX: 0x80000000 - 1,
  COINS: ['btc', 'bch', 'eth', 'matic', 'xrp', 'doge', 'ltc'],

  ETH_ERC20: [
    'matic_e',
    'usdc_e',
    'pax_e',
    'gusd_e',
    'busd_e',
    'dai_e',
    'wbtc_e',
    'shib_e',
    'ape_e',
    'eurc_e'
  ],

  MATIC_ERC20: [
    'eth_m',
    'usdc_m',
    'pax_m',
    'gusd_m',
    'busd_m',
    'dai_m',
    'wbtc_m',
    'shib_m',
    'ape_m',
    'eurc_m'
  ],
  UTXO_COINS: ['btc', 'bch', 'doge', 'ltc'],
  EVM_COINS: ['eth', 'matic'],
  ETH_TOKEN_OPTS: CWC.Constants.ETH_TOKEN_OPTS,
  MATIC_TOKEN_OPTS: CWC.Constants.MATIC_TOKEN_OPTS,
  UNITS: CWC.Constants.UNITS<commit_msg>Added all ERC20s to COIN Array<commit_after>'use strict';
import * as CWC from 'crypto-wallet-core';

export const Constants = {
  SCRIPT_TYPES: {
    P2SH: 'P2SH',
    P2PKH: 'P2PKH',
    P2WPKH: 'P2WPKH',
    P2WSH: 'P2WSH'
  },
  // not used, since Credentials 2.0
  DERIVATION_STRATEGIES: {
    BIP44: 'BIP44',
    BIP45: 'BIP45',
    BIP48: 'BIP48'
  },
  PATHS: {
    SINGLE_ADDRESS: 'm/0/0',
    REQUEST_KEY: "m/1'/0",
    //  TXPROPOSAL_KEY: "m/1'/1",
    REQUEST_KEY_AUTH: 'm/2' // relative to BASE
  },
  BIP45_SHARED_INDEX: 0x80000000 - 1,
  
  COINS: [
    'btc',
    'bch',
    'eth',
    'matic',
    'xrp',
    'doge',
    'ltc',
    'matic_e',
    'usdc_e',
    'pax_e',
    'gusd_e',
    'busd_e',
    'dai_e',
    'wbtc_e',
    'shib_e',
    'ape_e',
    'euroc_e',
    'eth_m',
    'usdc_m',
    'pax_m',
    'gusd_m',
    'busd_m',
    'dai_m',
    'wbtc_m',
    'shib_m',
    'ape_m',
    'euroc_m'
  ],

  ETH_ERC20: [
    'matic_e',
    'usdc_e',
    'pax_e',
    'gusd_e',
    'busd_e',
    'dai_e',
    'wbtc_e',
    'shib_e',
    'ape_e',
    'euroc_e'
  ],

  MATIC_ERC20: [
    'eth_m',
    'usdc_m',
    'pax_m',
    'gusd_m',
    'busd_m',
    'dai_m',
    'wbtc_m',
    'shib_m',
    'ape_m',
    'euroc_m'
  ],
  UTXO_COINS: ['btc', 'bch', 'doge', 'ltc'],
  EVM_COINS: ['eth', 'matic'],
  ETH_TOKEN_OPTS: CWC.Constants.ETH_TOKEN_OPTS,
  MATIC_TOKEN_OPTS: CWC.Constants.MATIC_TOKEN_OPTS,
  UNITS: CWC.Constants.UNITS
{'fraction_non_alphanumeric': 0.18876755070202808, 'fraction_numerical': 0.0358814352574103, 'mean_word_length': 2.5281980742778543, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5448952', 'n_tokens_mistral': 1379, 'n_tokens_neox': 1300, 'n_words': 204}