var _a;
import { __spreadArray } from "tslib";
import { constants as ethersConstants } from "ethers";
import { CHAIN_IDs, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
export { CCTP_NO_DOMAIN, ChainFamily, CHAIN_IDs, MAINNET_CHAIN_IDs, PUBLIC_NETWORKS, PRODUCTION_NETWORKS, TESTNET_CHAIN_IDs, TOKEN_SYMBOLS_MAP, TOKEN_EQUIVALENCE_REMAPPING, } from "@across-protocol/constants";
export var ZERO_ADDRESS = ethersConstants.AddressZero, ZERO_BYTES = ethersConstants.HashZero;
// 2^96 - 1 is a conservative erc20 max allowance.
export var MAX_SAFE_ALLOWANCE = "79228162514264337593543950335";
// The maximum depositId that can be emitted in a depositV3 method is the maximum uint32 value, so
// 2^32 - 1.
export var MAX_SAFE_DEPOSIT_ID = "4294967295";
export var SECONDS_PER_YEAR = 31557600; // 365.25 days per year.
/**
 * This is the protocol default chain Id for the hub pool.
 */
export var HUBPOOL_CHAIN_ID = 1;
// List of versions where certain UMIP features were deprecated or activated
export var TRANSFER_THRESHOLD_MAX_CONFIG_STORE_VERSION = 1;
// A hardcoded identifier used, by default, to tag all Arweave records.
export var ARWEAVE_TAG_APP_NAME = "across-protocol";
// A hardcoded version number used, by default, to tag all Arweave records.
// Version 3:
// - Changed depositId number -> string (uint32 -> uint256).
// Version 4:
// - Dropped message field from Fill event data.
export var ARWEAVE_TAG_APP_VERSION = 4;
/**
 * A default list of chain Ids that the protocol supports. This is outlined
 * in the UMIP (https://github.com/UMAprotocol/UMIPs/pull/590) and is used
 * to determine which chain Ids are supported by the protocol. As time progresses,
 * new chain Ids will be available in the Across ConfigStore contract, but
 * this list serves as a baseline set of chain Ids that the protocol supports
 * before the dynamic config store was introduced.
 */
export var PROTOCOL_DEFAULT_CHAIN_ID_INDICES = [1, 10, 137, 288, 42161];
export var DEFAULT_CACHING_TTL = 60 * 60 * 24 * 7 * 2; // 2 Weeks
export var DEFAULT_CACHING_SAFE_LAG = 60 * 60; // 1 hour
export var DEFAULT_SIMULATED_RELAYER_ADDRESS = "0x07aE8551Be970cB1cCa11Dd7a11F47Ae82e70E67";
export var DEFAULT_SIMULATED_RELAYER_ADDRESS_SVM = "FmMK62wrtWVb5SVoTZftSCGw3nEDA79hDbZNTRnC1R6t";
export var DEFAULT_SIMULATED_RELAYER_ADDRESS_TEST = "0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D"; // Görli, ...
export var DEFAULT_ARWEAVE_STORAGE_ADDRESS = "Z6hjBM8FHu90lYWB8o5jR1dfX92FlV2WBaND9xgp8Lg";
export var EMPTY_MESSAGE = "0x";
export var UNDEFINED_MESSAGE_HASH = "";
export var BRIDGED_USDC_SYMBOLS = [
    TOKEN_SYMBOLS_MAP["USDC.e"].symbol,
    TOKEN_SYMBOLS_MAP.USDbC.symbol,
    TOKEN_SYMBOLS_MAP.USDzC.symbol,
    TOKEN_SYMBOLS_MAP["USDC-BNB"].symbol,
];
export var STABLE_COIN_SYMBOLS = __spreadArray(__spreadArray([], BRIDGED_USDC_SYMBOLS, true), [
    TOKEN_SYMBOLS_MAP.USDB.symbol,
    TOKEN_SYMBOLS_MAP.USDC.symbol,
    TOKEN_SYMBOLS_MAP.USDT.symbol,
    TOKEN_SYMBOLS_MAP["USDT-BNB"].symbol,
    TOKEN_SYMBOLS_MAP.DAI.symbol,
    TOKEN_SYMBOLS_MAP["TATARA-USDC"].symbol,
    TOKEN_SYMBOLS_MAP["TATARA-USDT"].symbol,
    TOKEN_SYMBOLS_MAP["TATARA-USDS"].symbol,
    TOKEN_SYMBOLS_MAP.GHO.symbol,
    TOKEN_SYMBOLS_MAP.WGHO.symbol,
], false);
export var CUSTOM_GAS_TOKENS = (_a = {},
    _a[CHAIN_IDs.BSC] = "BNB",
    _a[CHAIN_IDs.POLYGON] = "MATIC",
    _a[CHAIN_IDs.POLYGON_AMOY] = "MATIC",
    _a[CHAIN_IDs.ALEPH_ZERO] = "AZERO",
    _a[CHAIN_IDs.LENS] = "GHO",
    _a[CHAIN_IDs.LENS_SEPOLIA] = "GHO",
    _a);
//# sourceMappingURL=constants.js.map