import { Coin, MarginPool, Pool } from "../types/index.mjs"; //#region src/utils/constants.d.ts type CoinMap = Record; type PoolMap = Record; type MarginPoolMap = Record; interface DeepbookPackageIds { DEEPBOOK_PACKAGE_ID?: string; REGISTRY_ID?: string; DEEP_TREASURY_ID?: string; MARGIN_PACKAGE_ID?: string; MARGIN_V1?: string; MARGIN_REGISTRY_ID?: string; LIQUIDATION_PACKAGE_ID?: string; } declare const testnetPackageIds: { DEEPBOOK_PACKAGE_ID: string; REGISTRY_ID: string; DEEP_TREASURY_ID: string; MARGIN_PACKAGE_ID: string; MARGIN_V1: string; MARGIN_REGISTRY_ID: string; LIQUIDATION_PACKAGE_ID: string; }; declare const mainnetPackageIds: { DEEPBOOK_PACKAGE_ID: string; REGISTRY_ID: string; DEEP_TREASURY_ID: string; MARGIN_PACKAGE_ID: string; MARGIN_V1: string; MARGIN_REGISTRY_ID: string; LIQUIDATION_PACKAGE_ID: string; }; /** * Feed ids and price objects on Pyth's upgraded Core, the only deployment this SDK targets. * * The testnet `MarginRegistry` was migrated (2026-08-11) off Pyth's beta feed ids and onto * the ids upgraded testnet Core carries, which are the mainnet-style ids — the beta ids * have no upgraded price objects and the upgraded Hermes does not serve them. * * DBTC is testnet's wrapped BTC and takes Crypto.XBTC/USD — the same feed mainnet XBTC * uses. The upgraded deployment carries no distinct DBTC feed. Plain Crypto.BTC/USD is * NOT an accepted substitute for either: XBTC is a distinct asset with its own peg and * redemption risk, so pricing it off BTC would misstate collateral in exactly the stress * where the two diverge. */ declare const testnetCoins: CoinMap; declare const mainnetCoins: CoinMap; declare const testnetPools: PoolMap; declare const mainnetPools: PoolMap; declare const testnetMarginPools: { SUI: { address: string; type: string; }; DBUSDC: { address: string; type: string; }; DEEP: { address: string; type: string; }; DBTC: { address: string; type: string; }; }; declare const mainnetMarginPools: { SUI: { address: string; type: string; }; USDC: { address: string; type: string; }; DEEP: { address: string; type: string; }; WAL: { address: string; type: string; }; SUIUSDE: { address: string; type: string; }; XBTC: { address: string; type: string; }; USDSUI: { address: string; type: string; }; }; declare const testnetPythConfigs: { pythStateId: string; wormholeStateId: string; }; declare const mainnetPythConfigs: { pythStateId: string; wormholeStateId: string; }; /** * Hermes serving Pyth's upgraded Core. Requires an `Authorization: Bearer ` header * and answers 401 without one. Note that from the Core cutover this also becomes true of * legacy Hermes, so an unauthenticated price push has no long-term path. */ declare const PYTH_UPGRADED_HERMES = "https://pyth.dourolabs.app/hermes"; /** * DeepBook-operated Hermes proxy: forwards to {@link PYTH_UPGRADED_HERMES} supplying * credentials server-side, so consumers without their own Pyth plan can still push price * updates. Used only when no `accessToken` is configured — bring your own token and the * SDK talks to Pyth directly, with no DeepBook infrastructure in the path. * * `undefined` until the proxy is deployed. It must stay `undefined` rather than a * placeholder URL: it is the default endpoint whenever a consumer supplies no credentials, * so a non-resolving value here surfaces as an opaque `Invalid URL`/DNS error from inside * axios instead of a configuration error naming the field to set. */ declare const DEEPBOOK_HERMES_PROXY: string | undefined; //#endregion export { CoinMap, DEEPBOOK_HERMES_PROXY, DeepbookPackageIds, MarginPoolMap, PYTH_UPGRADED_HERMES, PoolMap, mainnetCoins, mainnetMarginPools, mainnetPackageIds, mainnetPools, mainnetPythConfigs, testnetCoins, testnetMarginPools, testnetPackageIds, testnetPools, testnetPythConfigs }; //# sourceMappingURL=constants.d.mts.map