import { web3 } from "@coral-xyz/anchor"; import BigNumber from "bignumber.js"; /** * Default delay between consecutive `sendRawTransaction` retries inside * {@link sendTransactionWithRetry}. 1s balances responsiveness against RPC * load — most clusters can absorb a 1Hz rebroadcast comfortably. */ export declare const DEFAULT_SEND_TRANSACTION_INTERVAL = 1000; /** Hard ceiling on compute units per transaction (Solana runtime limit). */ export declare const MAX_COMPUTE_UNIT = 1400000; /** Per-signature base fee paid in lamports, independent of priority fee. */ export declare const BASE_FEE_LAMPORTS = 5000; /** Conversion factor: 1 lamport = 1_000_000 micro-lamports. */ export declare const LAMPORTS_PER_MICRO_LAMPORT = 0.000001; /** * Safety cap (SOL) on the total priority fee any single transaction is * allowed to budget when the caller doesn't specify `maxPriorityFeeSol`. * Prevents bursty network conditions from draining wallets. */ export declare const DEFAULT_MAX_PRIORITY_FEE = 0.001; /** USDC Decimals = 6 */ export declare const USDC_DECIMALS = 6; export declare const SOL_DECIMALS = 9; /** * WSOL Mint Address */ export declare const WSOL: web3.PublicKey; export declare const ZBCN: web3.PublicKey; /** BigNumber Object for 10 */ export declare const TEN_BIGNUM: BigNumber; export declare const UNITS_PER_USDC: BigNumber; /** Token Program ID */ export declare const TOKEN_PROGRAM_ID: web3.PublicKey; /** Associated Token Program ID */ export declare const ASSOCIATED_TOKEN_PROGRAM_ID: web3.PublicKey; /** Memo Program ID */ export declare const MEMO_PROGRAM_ID: web3.PublicKey; /** * Approximate CU overhead the ComputeBudget program itself charges per * transaction. Added on top of the simulated `unitsConsumed` when sizing * the CU limit so the transaction doesn't run out of budget executing the * budget instructions. */ export declare const COMPUTE_BUDGET_PROGRAM_COMPUTE_UNIT = 400;