"use strict";
///////////////
// Constants //
///////////////
Object.defineProperty(exports, "__esModule", { value: true });
exports.DOGE_NATIVE_TOKEN_NAME = exports.LTC_NATIVE_TOKEN_NAME = exports.BTC_NATIVE_TOKEN_NAME = exports.ALGO_NATIVE_TOKEN_NAME = exports.XRP_NATIVE_TOKEN_NAME = exports.XRP_UTD = exports.ALGO_MDU = exports.XRP_MDU = exports.BTC_MDU = exports.PREFIXED_STD_BLOCK_HASH_REGEX = exports.STD_BLOCK_HASH_REGEX = exports.PREFIXED_STD_TXID_REGEX = exports.STD_TXID_REGEX = void 0;
exports.STD_TXID_REGEX = /^[a-fA-F0-9]{64}$/;
exports.PREFIXED_STD_TXID_REGEX = /^(0x)[a-fA-F0-9]{64}$/;
exports.STD_BLOCK_HASH_REGEX = /^[a-fA-F0-9]{64}$/;
exports.PREFIXED_STD_BLOCK_HASH_REGEX = /^(0x)[a-fA-F0-9]{64}$/;
/////////////////////////////
// Minimal divisible units //
/////////////////////////////
// These constants are provided as conversion rates between minimal divisible units and their token
// Satoshi to BTC 100_000_000
exports.BTC_MDU = 1e8;
// Ripple drops 1_000_000
exports.XRP_MDU = 1e6;
// Microalgo
exports.ALGO_MDU = 1e6;
////////////////////////////////
// TIME DELTA TRANSFORMATIONS //
////////////////////////////////
// Unix timestamp delta
exports.XRP_UTD = 946684800;
////////////////////////
// Native token names //
////////////////////////
exports.XRP_NATIVE_TOKEN_NAME = "XRP";
exports.ALGO_NATIVE_TOKEN_NAME = "ALGO";
exports.BTC_NATIVE_TOKEN_NAME = "BTC";
exports.LTC_NATIVE_TOKEN_NAME = "LTC";
exports.DOGE_NATIVE_TOKEN_NAME = "DOGE";
//# sourceMappingURL=constants.js.map