import { PublicKey } from "@solana/web3.js"; /** * Address Lookup Table Program ID */ export declare const ALT_PROGRAM_ID: PublicKey; /** * SPL Token Program ID */ export declare const TOKEN_PROGRAM_ID: PublicKey; /** * Associated Token Account Program ID */ export declare const ASSOCIATED_TOKEN_PROGRAM_ID: PublicKey; /** * Metaplex Token Metadata Program ID */ export declare const MPL_TOKEN_METADATA_PROGRAM_ID: PublicKey; /** * System Program ID */ export declare const SYSTEM_PROGRAM_ID: PublicKey; /** * Rent Sysvar ID */ export declare const RENT_SYSVAR_ID: PublicKey; /** * Instruction discriminators (single byte indices) */ export declare const INSTRUCTION: { readonly INITIALIZE: 0; readonly CREATE_MARKET: 1; readonly ADD_DEPOSIT_MINT: 2; readonly MINT_COMPLETE_SET: 3; readonly MERGE_COMPLETE_SET: 4; readonly CANCEL_ORDER: 5; readonly INCREMENT_NONCE: 6; readonly SETTLE_MARKET: 7; readonly REDEEM_WINNINGS: 8; readonly SET_PAUSED: 9; readonly SET_OPERATOR: 10; readonly WITHDRAW_FROM_POSITION: 11; readonly ACTIVATE_MARKET: 12; readonly MATCH_ORDERS_MULTI: 13; readonly SET_AUTHORITY: 14; readonly CREATE_ORDERBOOK: 15; readonly WHITELIST_DEPOSIT_TOKEN: 16; readonly DEPOSIT_TO_GLOBAL: 17; readonly GLOBAL_TO_MARKET_DEPOSIT: 18; readonly INIT_POSITION_TOKENS: 19; readonly DEPOSIT_AND_SWAP: 20; readonly EXTEND_POSITION_TOKENS: 21; readonly WITHDRAW_FROM_GLOBAL: 22; readonly CLOSE_POSITION_ALT: 23; readonly CLOSE_ORDER_STATUS: 24; readonly CLOSE_POSITION_TOKEN_ACCOUNTS: 25; readonly CLOSE_ORDERBOOK_ALT: 26; readonly CLOSE_ORDERBOOK: 27; readonly SET_MANAGER: 28; readonly SET_MARKET_FEES: 29; readonly SET_FEE_RECEIVER: 30; readonly CREATE_CONDITIONAL_METADATA: 31; readonly UPDATE_CONDITIONAL_METADATA: 32; }; /** * Account discriminators (8 bytes each) * SHA-256 hash bytes matching the on-chain program */ export declare const DISCRIMINATOR: { readonly EXCHANGE: Buffer; readonly MARKET: Buffer; readonly ORDER_STATUS: Buffer; readonly USER_NONCE: Buffer; readonly POSITION: Buffer; readonly ORDERBOOK: Buffer; readonly GLOBAL_DEPOSIT_TOKEN: Buffer; }; /** * Account sizes in bytes */ export declare const ACCOUNT_SIZE: { readonly EXCHANGE: 212; readonly MARKET: 212; readonly ORDER_STATUS: 32; readonly USER_NONCE: 16; readonly POSITION: 80; readonly ORDERBOOK: 144; readonly GLOBAL_DEPOSIT_TOKEN: 48; }; /** * Order sizes in bytes */ export declare const ORDER_SIZE: { readonly SIGNED_ORDER: 233; readonly ORDER: 37; readonly SIGNATURE: 64; }; /** * Maximum number of outcomes per market (2-6) */ export declare const MAX_OUTCOMES = 6; /** * Minimum number of outcomes per market */ export declare const MIN_OUTCOMES = 2; /** * Maximum number of makers per match_orders_multi instruction */ export declare const MAX_MAKERS = 5; /** * PDA Seeds */ export declare const SEEDS: { readonly CENTRAL_STATE: "central_state"; readonly MARKET: "market"; readonly MARKET_DEPOSIT_TOKEN_ACCOUNT: "market_deposit_token_account"; readonly MARKET_MINT_AUTHORITY: "market_mint_authority"; readonly CONDITIONAL_MINT: "conditional_mint"; readonly CONDITION: "condition"; readonly ORDER_STATUS: "order_status"; readonly USER_NONCE: "user_nonce"; readonly POSITION: "position"; readonly ORDERBOOK: "orderbook"; readonly GLOBAL_DEPOSIT: "global_deposit"; readonly FEE_RECEIVER: "fee_receiver"; readonly MPL_METADATA: "metadata"; }; //# sourceMappingURL=constants.d.ts.map