"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KEY_PAIR_APP_ID = exports.DEFAULT_TOKEN_ADDRESS = exports.loadingKeys = exports.ChainTxType = exports.VERSION_KEY = exports.TEST_OPENSEA_PROFILE = exports.MAIN_OPENSEA_PROFILE = exports.ENUM_SEND_TYPE = exports.INIT_GENERATE_DEFAULT = exports.INIT_CONNECT_SOCKET = exports.INIT_WALLET_TITLE = exports.INIT_WALLET = exports.CURRENT_VERSION = exports.EVM_DEFAULT_TOKEN_ADDRESS = exports.INFURA_PROJECT_ID = exports.TX_SEND_STATUS = exports.DEFAULT_IPFS_GATEWAY = exports.DEFAULT_IPFS_GATEWAY_HOST = exports.HIDE_PRICE = exports.HIDE_TEST_CHAINS = exports.CURRENT_UNIT = exports.BASE_RATE = exports.DEFAULT_DECIMAL = exports.GWEI = exports.DEFAULT_WITHDRAW_GAS_LIMIT = exports.CONTRACT_GAS_LIMIT = exports.DEFAULT_ERC20_GAS_LIMIT = exports.DEFAULT_GAS_LIMIT = exports.DEFAULT_ETH_TOKEN = exports.DEFAULT_CHAIN_TOKEN = exports.ETH_MAIN_CHAIN_ID = exports.BETA_CHAIN = exports.ASSET_CHAIN_ID = exports.ABT_TOKEN_ADDRESS = exports.ARCBLOCK_TOKEN_CONTRACT_ADDRESS = exports.TOKEN_SWAP_CHAIN_HOSTS = exports.DEFAULT_BETA_HOST = exports.DEFAULT_MAIN_HOST = exports.BLACK_LIST_CHAIN_HOST = exports.IGNORE_CHAIN = exports.NONE_FLAG = exports.ASSETS_TYPES = exports.SUPPORT_TX_TYPES = exports.DEFAULT_AVATAR = void 0;
exports.DEFAULT_AVATAR = 'https://web.abtwallet.io/static/images/public_default_avatar.png';
exports.SUPPORT_TX_TYPES = [
    'Transfer',
    'TransferV2',
    'Exchange',
    'ExchangeV2',
    'AcquireAssetV2',
    'Delegate',
    'RevokeStake',
    'ClaimStake',
    'CreateAsset',
    'CreateFactory',
    'CreateToken',
    'ConsumeAsset',
];
exports.ASSETS_TYPES = {
    WALLET: 'WALLET',
    VC_BADGE: 'VC_BADGE',
    VC_CREDENTIAL: 'VC_CREDENTIAL',
    VC_CERTIFICATION: 'VC_CERTIFICATION',
    VC_TICKET: 'VC_TICKET',
    VC_PASSPORT: 'VC_PASSPORT',
    UNKNOWN: 'UNKNOWN',
    NFT_COMMON_DISPLAY: 'NFT_COMMON_DISPLAY',
};
exports.NONE_FLAG = 'none';
exports.IGNORE_CHAIN = [exports.NONE_FLAG, 'abtnode', 'eth', 'playground'];
exports.BLACK_LIST_CHAIN_HOST = [
    'lbd.abtnetwork.io',
    'zinc.network.arcblockio.cn',
    'app.didconnect.io',
    'ausd.abtnetwork.io',
    'zinc.abtnetwork.io',
];
exports.DEFAULT_MAIN_HOST = 'https://main.abtnetwork.io/api/';
exports.DEFAULT_BETA_HOST = 'https://beta.abtnetwork.io/api/';
exports.TOKEN_SWAP_CHAIN_HOSTS = ['xenon.abtnetwork.io', 'xenon.network.arcblockio.cn', 'main.abtnetwork.io'];
exports.ARCBLOCK_TOKEN_CONTRACT_ADDRESS = '0xB98d4C97425d9908E66E53A6fDf673ACcA0BE986';
exports.ABT_TOKEN_ADDRESS = 'z35nNRvYxBoHitx9yZ5ATS88psfShzPPBLxYD';
exports.ASSET_CHAIN_ID = 'xenon-2020-01-15';
exports.BETA_CHAIN = 'beta';
exports.ETH_MAIN_CHAIN_ID = 'evm-1';
exports.DEFAULT_CHAIN_TOKEN = 'ABT';
exports.DEFAULT_ETH_TOKEN = 'ETH';
exports.DEFAULT_GAS_LIMIT = 25200;
exports.DEFAULT_ERC20_GAS_LIMIT = 80000;
exports.CONTRACT_GAS_LIMIT = 40000;
exports.DEFAULT_WITHDRAW_GAS_LIMIT = 100000;
exports.GWEI = 10 ** 9;
exports.DEFAULT_DECIMAL = 18;
exports.BASE_RATE = 10000;
exports.CURRENT_UNIT = 'price-unit';
exports.HIDE_TEST_CHAINS = 'hide-test-chains';
exports.HIDE_PRICE = 'hide-balance-price';
exports.DEFAULT_IPFS_GATEWAY_HOST = 'default-ipfs-gateway-host';
exports.DEFAULT_IPFS_GATEWAY = 'default-ipfs-gateway';
exports.TX_SEND_STATUS = {
    WAITING: 'WAITING',
    PENDING: 'PENDING',
    OK: 'OK',
    REPLACED: 'replaced',
    FAIL_BEFORE_SEND: 'fail-before-send',
    FAIL: 'fail',
};
exports.INFURA_PROJECT_ID = 'ffa38bc49bc64c9c94df039a626aeeaf';
exports.EVM_DEFAULT_TOKEN_ADDRESS = 'default';
exports.CURRENT_VERSION = '4.0';
exports.INIT_WALLET = 'init-wallet';
exports.INIT_WALLET_TITLE = 'wallet-title';
exports.INIT_CONNECT_SOCKET = 'have-checked-connect-socket';
exports.INIT_GENERATE_DEFAULT = 'default-information-has-been-generated';
exports.ENUM_SEND_TYPE = {
    EVM_ASSET: 'evm-asset',
    OCAP_ASSET: 'ocap-asset',
    EVM_TOKEN: 'evm-token',
    OCAP_TOKEN: 'ocap-token',
};
exports.MAIN_OPENSEA_PROFILE = 'https://opensea.io/account';
exports.TEST_OPENSEA_PROFILE = 'https://testnets.opensea.io/account';
exports.VERSION_KEY = 'local-wallet-version';
exports.ChainTxType = {
    Transfer: 'transfer',
    TransferV2: 'transfer_v2',
    TransferV3: 'transfer_v3',
    ExchangeV2: 'exchange_v2',
    Stake: 'stake',
    RevokeStake: 'revoke_stake',
    ClaimStake: 'claim_stake',
    CreateFactory: 'create_factory',
    CreateToken: 'create_token',
    CreateAsset: 'create_asset',
    AcquireAssetV2: 'acquire_asset_v2',
    AcquireAssetV3: 'acquire_asset_v3',
    WithdrawTokenV2: 'withdraw_token_v2',
    DepositTokenV2: 'deposit_token_v2',
    Delegate: 'delegate',
    RevokeDelegate: 'revoke_delegate',
    SlashStake: 'slash_stake',
    MintAsset: 'mint_asset',
};
exports.loadingKeys = {
    migration: 'migrationProviderLoading',
    generate: 'generateProviderLoading',
    states: 'statesProviderLoading',
    importData: 'isImportBackupFile',
    security: 'securityPassword',
};
exports.DEFAULT_TOKEN_ADDRESS = [exports.NONE_FLAG, exports.EVM_DEFAULT_TOKEN_ADDRESS];
exports.KEY_PAIR_APP_ID = 'zfffffffffffffffffffffffffffffffff';
