/** * Constants module - organized by domain * * This barrel file re-exports all constants for convenience. * For better tree-shaking, import directly from specific files: * - import { PROGRAM_ID } from '@pit-protocol/sdk/constants/program' * - import { SOL_USD_FEED_ID } from '@pit-protocol/sdk/constants/pyth' * - import { WAD } from '@pit-protocol/sdk/constants/math' * - import { COMPUTE_UNIT_LIMITS } from '@pit-protocol/sdk/constants/compute' */ // Program constants export { PROGRAM_ID, OPERATOR, TOKEN_2022_PROGRAM_ID, WSOL_MINT, NUM_OUTCOMES, TOKEN_DECIMALS, } from "./program.js"; // Pyth constants export { SOL_USD_FEED_ID, PYTH_RECEIVER_PROGRAM_ID, SOL_USD_PRICE_FEED_ACCOUNT, PYTH_MAX_PRICE_AGE_SECONDS, HERMES_URL, } from "./pyth.js"; // Math constants export { WAD, TRADE_FEE_PERCENTAGE, LN_2_WAD, LN_4_WAD, MAX_SIMULATION_SOL_AMOUNT, MAX_Q_VECTOR_DIFF_MULTIPLIER, getMaxTradeAmountForMarket, } from "./math.js"; // Compute constants export { COMPUTE_UNIT_LIMITS } from "./compute.js";