@gabox-labs/sdk 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/{index-CQcBMEah.d.ts → index-BKsLgsz8.d.ts} +4 -2
- package/dist/index.d.ts +15 -8
- package/dist/index.js +45 -10
- package/dist/index.js.map +1 -1
- package/dist/raydium/index.d.ts +1 -1
- package/dist/raydium/index.js +1 -1
- package/dist/{raydium-DXUJ-g1p.js → raydium-BZT4-i79.js} +13 -9
- package/dist/raydium-BZT4-i79.js.map +1 -0
- package/package.json +2 -2
- package/dist/raydium-DXUJ-g1p.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ and the project uses [Semantic Versioning](https://semver.org/) with the `0.x` r
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.9.1] - 2026-09-19
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `DEFAULT_TIERS` is now Common 80% at 0.5126x, Rare 15% at 2x, Epic 4% at 3.5x, Mythic 1% at
|
|
13
|
+
10x. The average payout stays 9,499 bps and the mandatory seed stays 2 packs. Every win at least
|
|
14
|
+
doubles the pack, and the top tier halves so one hit pays 1% of the supply instead of 2%. Pools
|
|
15
|
+
created before this release keep the table they were created with.
|
|
16
|
+
|
|
8
17
|
## [0.9.0] - 2026-09-19
|
|
9
18
|
|
|
10
19
|
**Breaking.** The program now sells packs in purchases of one to five, and pays a prize it cannot
|
|
@@ -46,6 +46,8 @@ declare const CLUSTER_ENDPOINTS: Readonly<Record<Cluster, {
|
|
|
46
46
|
}>>;
|
|
47
47
|
declare const DEVNET_HTTP: string;
|
|
48
48
|
declare const DEVNET_WS: string;
|
|
49
|
+
declare const MAINNET_HTTP: string;
|
|
50
|
+
declare const MAINNET_WS: string;
|
|
49
51
|
type GaboxRpc = Rpc<SolanaRpcApi>;
|
|
50
52
|
type GaboxRpcSubscriptions = RpcSubscriptions<SolanaRpcSubscriptionsApi>;
|
|
51
53
|
type ClientConfig = {
|
|
@@ -1366,5 +1368,5 @@ declare namespace index_d_exports {
|
|
|
1366
1368
|
export { ASSOCIATED_TOKEN_PROGRAM_ADDRESS, CONSTANT_CURVE_TAG, CPMM_AMM_CONFIG_DISCRIMINATOR, CPMM_AMM_CONFIG_HEAD_SIZE, CPMM_COLLECT_CREATOR_FEE, CPMM_POOL_OFFSETS, CPMM_POOL_STATE_DISCRIMINATOR, CPMM_POOL_STATE_HEAD_SIZE, CPMM_POOL_STATE_SIZE, CPMM_SEEDS, CPMM_SWAP_BASE_INPUT, CPMM_SWAP_BASE_OUTPUT, CREATOR_FEE_ON_QUOTE, ClaimCreatorFeeInput, ClaimPlatformFeeInput, CollectCreatorFeeInput, CpmmAmmConfig, CpmmFeeRates, CpmmPoolState, CpmmSwapSides, CpmmTradeAccountsInput, CreatorFees, CurveBuyExactInInput, CurveFeeRates, CurveReserves, CurveSettings, FindCpmmPoolOptions, HarvestLockedFeesInput, LAUNCHLAB_BUY_EXACT_IN, LAUNCHLAB_BUY_EXACT_OUT, LAUNCHLAB_CLAIM_CREATOR_FEE, LAUNCHLAB_CLAIM_PLATFORM_FEE_FROM_VAULT, LAUNCHLAB_GLOBAL_CONFIG_DISCRIMINATOR, LAUNCHLAB_GLOBAL_CONFIG_HEAD_SIZE, LAUNCHLAB_INITIALIZE, LAUNCHLAB_PLATFORM_CONFIG_DISCRIMINATOR, LAUNCHLAB_PLATFORM_CONFIG_HEAD_SIZE, LAUNCHLAB_POOL_STATE_DISCRIMINATOR, LAUNCHLAB_POOL_STATE_HEAD_SIZE, LAUNCHLAB_SEEDS, LAUNCHLAB_SELL_EXACT_IN, LAUNCHLAB_STATUS_FUND, LAUNCHLAB_STATUS_MIGRATE, LAUNCHLAB_STATUS_TRADE, LAUNCH_DECIMALS, LAUNCH_SUPPLY, LAUNCH_TOTAL_BASE_SELL, LOCKED_CP_LIQUIDITY_DISCRIMINATOR, LOCKED_CP_LIQUIDITY_HEAD_SIZE, LOCK_COLLECT_CP_FEES, LOCK_SEEDS, LaunchInput, LaunchParams, LaunchlabGlobalConfig, LaunchlabPlatformConfig, LaunchlabPoolState, LaunchlabTradeAccountsInput, LockIds, LockedCpLiquidity, LockedPosition, MEMO_PROGRAM_ADDRESS, METADATA_LIMITS, METADATA_SEED, METAPLEX_PROGRAM_ADDRESS, MIGRATE_TO_CPMM, MaybeAccount$1 as MaybeAccount, MigratedCpmmPool, PLATFORM_ADMIN, QuoteAsset, QuoteBinding, QuoteConfig, QuoteDisplay, RATE_DENOMINATOR, RAYDIUM_DEVNET_IDS, RAYDIUM_IDS, RAYDIUM_MAINNET_IDS, RENT_SYSVAR_ADDRESS, RaydiumClusterIds, RaydiumIds, ResolveVenueOptions, ResolvedVenue, SHARE_FEE_RATE, SYSTEM_PROGRAM_ADDRESS, TOKEN_2022_PROGRAM_ADDRESS, TOKEN_PROGRAM_ADDRESS, VenueAccountSpec, VenueInstructionAbi, VenueKind, WSOL_MINT, ata, ceilDiv, ceilDivRate, claimCreatorFee, claimPlatformFee, collectCreatorFee, compareAddresses, cpmmAuthority, cpmmBuyAccounts, cpmmCreatorFeeShare, cpmmPoolAddress, cpmmPoolMatches, cpmmSellAccounts, cpmmSwapBaseInput, cpmmSwapBaseOutput, creatorFeeOnInput, creatorFeeVaultAddress, creatorFeeVaultAuthority, curveBuyExactIn, curveBuyExactOut, curveQuote, curveSellExactIn, decodeBase64, decodeCpmmAmmConfig, decodeCpmmPool, decodeLaunchlabGlobalConfig, decodeLaunchlabPlatformConfig, decodeLaunchlabPool, decodeLockedCpLiquidity, fetchCreatorFees, fetchCurveSettings, fetchLockedPositions, fetchPlatformFees, fetchQuoteAsset, fetchQuoteBinding, fetchQuoteConfig, fetchQuoteDisplay, findCpmmPool, getClaimCreatorFeeInstructions, getClaimPlatformFeeInstructions, getCollectCreatorFeeInstructions, getCurveBuyExactInInstruction, getHarvestLockedFeesInstructions, getLaunchInstruction, harvestLockedFees, initialCurve, isQuoteSupported, launchlabAuthority, launchlabBuyAccounts, launchlabBuyExactInAccounts, launchlabEventAuthority, launchlabGlobalConfig, launchlabPlatformConfig, launchlabPoolAddress, launchlabSellAccounts, launchlabVaultAddress, lockAuthority, lockedFeeLp, lockedLiquidityAddress, metadataAddress, metaplexSymbol, mintDecimals, newCurveBuyCost, newCurveReserves, order, platformFeeVaultAddress, platformFeeVaultAuthority, preFeeAmount, quoteAccountFor, raydiumIds, readAccounts, remainingBase, resolveVenue, sellQuote, sortedMints, token2022Symbol, tokenAccountAmount, tokenAccountOwnerAndMint, totalCurveFeeRate, wsolAccountFor };
|
|
1367
1369
|
}
|
|
1368
1370
|
//#endregion
|
|
1369
|
-
export { LaunchlabTradeAccountsInput as $, LAUNCH_SUPPLY as $n, LAUNCHLAB_POOL_STATE_HEAD_SIZE as $t, creatorFeeVaultAuthority as A, MIGRATE_TO_CPMM as An, CpmmSwapSides as At, platformFeeVaultAddress as B, CPMM_COLLECT_CREATOR_FEE as Bn, curveSellExactIn as Bt, harvestLockedFees as C, LAUNCHLAB_STATUS_TRADE as Cn,
|
|
1370
|
-
//# sourceMappingURL=index-
|
|
1371
|
+
export { LaunchlabTradeAccountsInput as $, LAUNCH_SUPPLY as $n, LAUNCHLAB_POOL_STATE_HEAD_SIZE as $t, creatorFeeVaultAuthority as A, MIGRATE_TO_CPMM as An, RouteProvider as Ar, CpmmSwapSides as At, platformFeeVaultAddress as B, CPMM_COLLECT_CREATOR_FEE as Bn, curveSellExactIn as Bt, harvestLockedFees as C, LAUNCHLAB_STATUS_TRADE as Cn, assertClusterUrl as Cr, newCurveBuyCost as Ct, cpmmCreatorFeeShare as D, MEMO_PROGRAM_ADDRESS as Dn, websocketUrlFor as Dr, sellQuote as Dt, cpmmAuthority as E, LockIds as En, defaultRoute as Er, resolveVenue as Et, launchlabPoolAddress as F, compareAddresses as Fn, ceilDivRate as Ft, CollectCreatorFeeInput as G, LAUNCHLAB_BUY_EXACT_OUT as Gn, CPMM_AMM_CONFIG_HEAD_SIZE as Gt, LaunchInput as H, CPMM_SWAP_BASE_INPUT as Hn, preFeeAmount as Ht, launchlabVaultAddress as I, raydiumIds as In, cpmmSwapBaseInput as It, collectCreatorFee as J, LAUNCHLAB_GLOBAL_CONFIG_DISCRIMINATOR as Jn, CPMM_POOL_STATE_SIZE as Jt, CreatorFees as K, LAUNCHLAB_CLAIM_CREATOR_FEE as Kn, CPMM_POOL_OFFSETS as Kt, lockAuthority as L, sortedMints as Ln, cpmmSwapBaseOutput as Lt, launchlabEventAuthority as M, RAYDIUM_IDS as Mn, CurveReserves as Mt, launchlabGlobalConfig as N, RaydiumIds as Nn, LaunchParams as Nt, cpmmPoolAddress as O, METADATA_LIMITS as On, Route as Or, wsolAccountFor as Ot, launchlabPlatformConfig as P, SHARE_FEE_RATE as Pn, ceilDiv as Pt, CpmmTradeAccountsInput as Q, LAUNCHLAB_SELL_EXACT_IN as Qn, LAUNCHLAB_PLATFORM_CONFIG_HEAD_SIZE as Qt, lockedLiquidityAddress as R, ASSOCIATED_TOKEN_PROGRAM_ADDRESS as Rn, curveBuyExactIn as Rt, getHarvestLockedFeesInstructions as S, LAUNCHLAB_STATUS_MIGRATE as Sn, MAINNET_WS as Sr, findCpmmPool as St, ata as T, LOCK_SEEDS as Tn, createClient as Tr, quoteAccountFor as Tt, getLaunchInstruction as U, CPMM_SWAP_BASE_OUTPUT as Un, remainingBase as Ut, platformFeeVaultAuthority as V, CPMM_POOL_STATE_DISCRIMINATOR as Vn, initialCurve as Vt, ClaimCreatorFeeInput as W, LAUNCHLAB_BUY_EXACT_IN as Wn, totalCurveFeeRate as Wt, getClaimCreatorFeeInstructions as X, LAUNCHLAB_PLATFORM_CONFIG_DISCRIMINATOR as Xn, CpmmPoolState as Xt, fetchCreatorFees as Y, LAUNCHLAB_INITIALIZE as Yn, CpmmAmmConfig as Yt, getCollectCreatorFeeInstructions as Z, LAUNCHLAB_POOL_STATE_DISCRIMINATOR as Zn, LAUNCHLAB_GLOBAL_CONFIG_HEAD_SIZE as Zt, LockedPosition as _, CONSTANT_CURVE_TAG as _n, DEVNET_WS as _r, cpmmPoolMatches as _t, decodeBase64 as a, LockedCpLiquidity as an, RENT_SYSVAR_ADDRESS as ar, order as at, fetchPlatformFees as b, LAUNCHLAB_SEEDS as bn, GaboxRpcSubscriptions as br, fetchCurveSettings as bt, QuoteConfig as c, decodeLaunchlabGlobalConfig as cn, TOKEN_2022_PROGRAM_ADDRESS as cr, buildMessage as ct, fetchQuoteConfig as d, decodeLockedCpLiquidity as dn, VenueInstructionAbi as dr, FindCpmmPoolOptions as dt, LOCKED_CP_LIQUIDITY_DISCRIMINATOR as en, LAUNCH_TOTAL_BASE_SELL as er, cpmmBuyAccounts as et, fetchQuoteDisplay as f, metaplexSymbol as fn, WSOL_MINT as fr, MigratedCpmmPool as ft, LOCK_COLLECT_CP_FEES as g, tokenAccountOwnerAndMint as gn, DEVNET_HTTP as gr, VenueKind as gt, HarvestLockedFeesInput as h, tokenAccountAmount as hn, Cluster as hr, ResolvedVenue as ht, MaybeAccount$1 as i, LaunchlabPoolState as in, RAYDIUM_MAINNET_IDS as ir, launchlabSellAccounts as it, launchlabAuthority as j, RATE_DENOMINATOR as jn, CurveFeeRates as jt, creatorFeeVaultAddress as k, METADATA_SEED as kn, RouteMode as kr, CpmmFeeRates as kt, QuoteDisplay as l, decodeLaunchlabPlatformConfig as ln, TOKEN_PROGRAM_ADDRESS as lr, withRemainingAccounts as lt, ClaimPlatformFeeInput as m, token2022Symbol as mn, ClientConfig as mr, ResolveVenueOptions as mt, CurveBuyExactInInput as n, LaunchlabGlobalConfig as nn, PLATFORM_ADMIN as nr, launchlabBuyAccounts as nt, readAccounts as o, decodeCpmmAmmConfig as on, RaydiumClusterIds as or, BuildOptions as ot, isQuoteSupported as p, mintDecimals as pn, CLUSTER_ENDPOINTS as pr, QuoteBinding as pt, claimCreatorFee as q, LAUNCHLAB_CLAIM_PLATFORM_FEE_FROM_VAULT as qn, CPMM_POOL_STATE_HEAD_SIZE as qt, getCurveBuyExactInInstruction as r, LaunchlabPlatformConfig as rn, RAYDIUM_DEVNET_IDS as rr, launchlabBuyExactInAccounts as rt, QuoteAsset as s, decodeCpmmPool as sn, SYSTEM_PROGRAM_ADDRESS as sr, GaboxTransactionMessage as st, index_d_exports as t, LOCKED_CP_LIQUIDITY_HEAD_SIZE as tn, METAPLEX_PROGRAM_ADDRESS as tr, cpmmSellAccounts as tt, fetchQuoteAsset as u, decodeLaunchlabPool as un, VenueAccountSpec as ur, CurveSettings as ut, claimPlatformFee as v, CPMM_SEEDS as vn, GaboxClient as vr, creatorFeeOnInput as vt, lockedFeeLp as w, LAUNCH_DECIMALS as wn, clusterNamedBy as wr, newCurveReserves as wt, getClaimPlatformFeeInstructions as x, LAUNCHLAB_STATUS_FUND as xn, MAINNET_HTTP as xr, fetchQuoteBinding as xt, fetchLockedPositions as y, CREATOR_FEE_ON_QUOTE as yn, GaboxRpc as yr, curveQuote as yt, metadataAddress as z, CPMM_AMM_CONFIG_DISCRIMINATOR as zn, curveBuyExactOut as zt };
|
|
1372
|
+
//# sourceMappingURL=index-BKsLgsz8.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DRAW_DISCRIMINATOR, Draw, DrawResolvedEvent, POOL_DISCRIMINATOR, PacksBoughtEvent, Pool, PoolCreatedEvent, PrizeClaimedEvent, PrizesFundedEvent, RandomnessRetriedEvent, TokensSoldEvent, WALLET_ACTIVITY_DISCRIMINATOR, WalletActivity, decodeDraw, decodePool, decodeWalletActivity, findActivityPda, findDrawPda, findIdentityPda, findPoolPda, t as index_d_exports } from "./generated/index.js";
|
|
2
|
-
import { Cr as
|
|
2
|
+
import { Ar as RouteProvider, Cr as assertClusterUrl, Dr as websocketUrlFor, Er as defaultRoute, Or as Route, Rn as ASSOCIATED_TOKEN_PROGRAM_ADDRESS, Sr as MAINNET_WS, Tr as createClient, _r as DEVNET_WS, br as GaboxRpcSubscriptions, ct as buildMessage, fr as WSOL_MINT, gr as DEVNET_HTTP, gt as VenueKind, hr as Cluster, ht as ResolvedVenue, kr as RouteMode, lr as TOKEN_PROGRAM_ADDRESS, lt as withRemainingAccounts, mr as ClientConfig, nr as PLATFORM_ADMIN, ot as BuildOptions, pr as CLUSTER_ENDPOINTS, sr as SYSTEM_PROGRAM_ADDRESS, st as GaboxTransactionMessage, t as index_d_exports$1, tr as METAPLEX_PROGRAM_ADDRESS, vr as GaboxClient, wn as LAUNCH_DECIMALS, wr as clusterNamedBy, xr as MAINNET_HTTP, yr as GaboxRpc } from "./index-BKsLgsz8.js";
|
|
3
3
|
import { Address, AddressesByLookupTableAddress, Instruction, InstructionWithData, ProgramDerivedAddress, ReadonlyUint8Array, TransactionSigner } from "@solana/kit";
|
|
4
4
|
//#region src/math.d.ts
|
|
5
5
|
/**
|
|
@@ -73,8 +73,12 @@ export declare class GaboxMathError extends Error {
|
|
|
73
73
|
* passes `validateTiers`. This is only the table the Gabox app creates its pools with, and the
|
|
74
74
|
* starting point for a client that has no reason to pick another one.
|
|
75
75
|
*
|
|
76
|
-
* Common
|
|
77
|
-
* 0.9499x of a pack
|
|
76
|
+
* Common 80% at 0.5126x, Rare 15% at 2x, Epic 4% at 3.5x, Mythic 1% at 10x. Expected payout is
|
|
77
|
+
* 0.9499x of a pack. The mandatory seed is 2 packs, because `seedTokens` stops at the 3x minimum.
|
|
78
|
+
*
|
|
79
|
+
* Every win at least doubles the pack. The top tier stops at 10x, half the program's cap, so one
|
|
80
|
+
* hit pays 1% of the supply instead of 2%, and the vault funds the full 10x after about 140 packs
|
|
81
|
+
* instead of 360.
|
|
78
82
|
*/
|
|
79
83
|
export declare const DEFAULT_TIERS: readonly Readonly<Tier>[];
|
|
80
84
|
/** `math::tokens`. Floor division, and an overflow past u64 is an error, not a wrap. */
|
|
@@ -378,15 +382,18 @@ export declare const MAX_ATTEMPTS = 3;
|
|
|
378
382
|
export declare const PACK_TOKENS: bigint;
|
|
379
383
|
//#endregion
|
|
380
384
|
//#region src/lookupTables.d.ts
|
|
381
|
-
export declare const DEVNET_LOOKUP_TABLE_ADDRESS: Address
|
|
385
|
+
export declare const DEVNET_LOOKUP_TABLE_ADDRESS: Address | null;
|
|
382
386
|
export declare const DEVNET_LOOKUP_TABLE_ADDRESSES: readonly Address[];
|
|
383
387
|
export declare const DEVNET_ADDRESS_LOOKUP_TABLES: AddressesByLookupTableAddress;
|
|
388
|
+
export declare const MAINNET_LOOKUP_TABLE_ADDRESS: Address | null;
|
|
389
|
+
export declare const MAINNET_LOOKUP_TABLE_ADDRESSES: readonly Address[];
|
|
390
|
+
export declare const MAINNET_ADDRESS_LOOKUP_TABLES: AddressesByLookupTableAddress;
|
|
384
391
|
/**
|
|
385
392
|
* The tables a client compresses with when its config names none.
|
|
386
393
|
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
394
|
+
* Devnet and mainnet each have a shared table. A localnet client, or a cluster whose table is not
|
|
395
|
+
* provisioned yet, compresses with nothing, and a message over 1,232 bytes then fails in
|
|
396
|
+
* `buildMessage` with a request for tables. Pass `addressLookupTables` to `createClient` to
|
|
390
397
|
* supply your own.
|
|
391
398
|
*/
|
|
392
399
|
export declare function defaultAddressLookupTables(cluster: Cluster): AddressesByLookupTableAddress;
|
|
@@ -1061,5 +1068,5 @@ export type OracleAccounts = {
|
|
|
1061
1068
|
*/
|
|
1062
1069
|
export declare function oracleAccounts(): Promise<OracleAccounts>;
|
|
1063
1070
|
//#endregion
|
|
1064
|
-
export { ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BuildOptions, CLUSTER_ENDPOINTS, ClientConfig, Cluster, DEVNET_HTTP, DEVNET_WS, DRAW_DISCRIMINATOR, type Draw, type DrawResolvedEvent, GaboxClient, GaboxRpc, GaboxRpcSubscriptions, GaboxTransactionMessage, LAUNCH_DECIMALS, METAPLEX_PROGRAM_ADDRESS, PLATFORM_ADMIN, POOL_DISCRIMINATOR, type PacksBoughtEvent, type Pool, type PoolCreatedEvent, type PrizeClaimedEvent, type PrizesFundedEvent, type RandomnessRetriedEvent, Route, RouteMode, RouteProvider, SYSTEM_PROGRAM_ADDRESS, TOKEN_PROGRAM_ADDRESS, type TokensSoldEvent, WALLET_ACTIVITY_DISCRIMINATOR, WSOL_MINT, type WalletActivity, assertClusterUrl, buildMessage, clusterNamedBy, createClient, decodeDraw, decodePool, decodeWalletActivity, defaultRoute, findActivityPda, findDrawPda, findIdentityPda, findPoolPda, index_d_exports as generated, index_d_exports$1 as raydium, websocketUrlFor, withRemainingAccounts };
|
|
1071
|
+
export { ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BuildOptions, CLUSTER_ENDPOINTS, ClientConfig, Cluster, DEVNET_HTTP, DEVNET_WS, DRAW_DISCRIMINATOR, type Draw, type DrawResolvedEvent, GaboxClient, GaboxRpc, GaboxRpcSubscriptions, GaboxTransactionMessage, LAUNCH_DECIMALS, MAINNET_HTTP, MAINNET_WS, METAPLEX_PROGRAM_ADDRESS, PLATFORM_ADMIN, POOL_DISCRIMINATOR, type PacksBoughtEvent, type Pool, type PoolCreatedEvent, type PrizeClaimedEvent, type PrizesFundedEvent, type RandomnessRetriedEvent, Route, RouteMode, RouteProvider, SYSTEM_PROGRAM_ADDRESS, TOKEN_PROGRAM_ADDRESS, type TokensSoldEvent, WALLET_ACTIVITY_DISCRIMINATOR, WSOL_MINT, type WalletActivity, assertClusterUrl, buildMessage, clusterNamedBy, createClient, decodeDraw, decodePool, decodeWalletActivity, defaultRoute, findActivityPda, findDrawPda, findIdentityPda, findPoolPda, index_d_exports as generated, index_d_exports$1 as raydium, websocketUrlFor, withRemainingAccounts };
|
|
1065
1072
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as findDrawPda, Ct as getBuyPacksInstructionAsync, I as getFundPrizesInstruction, Mt as WALLET_ACTIVITY_DISCRIMINATOR, Nt as decodeWalletActivity, Ot as findPoolPda, Ut as POOL_DISCRIMINATOR, W as getExpireDrawInstruction, Wt as decodePool, b as getRetryDrawInstruction, en as DRAW_DISCRIMINATOR, ht as getClaimPrizeInstructionAsync, jt as findActivityPda, k as getInitializePoolInstructionAsync, kt as findIdentityPda, p as getSellTokensInstructionAsync, st as getClaimPrizeToInstructionAsync, tn as decodeDraw } from "./gabox-CuyJYmrS.js";
|
|
2
|
-
import { $ as readAccounts, $n as uncappedMaximum, $t as poolAddress, A as wsolAccountFor, An as VRF_PROGRAM_ADDRESS, Bn as checkedCount, Bt as decodeCpmmPool, Cn as INSTRUCTIONS_SYSVAR, Ct as fetchWalletActivity, D as quoteAccountFor, Dn as SLOT_HASHES_SYSVAR, Dt as listPools, E as newCurveReserves, En as RETRY_SLOTS, Er as CPMM_SWAP_BASE_OUTPUT, Et as listDrawsByPurchaser, Fn as MAX_MULTIPLIER_BPS, Gn as perPackCaps, Gr as TOKEN_PROGRAM_ADDRESS, Hn as chooseIndex, I as curveBuyExactOut, In as MIN_SEED_MULTIPLIER_BPS, J as fetchQuoteAsset, Jn as resolveReservation, Jt as tokenAccountAmount, Kn as quote, Kr as WSOL_MINT, Ln as TICKETS, Lr as LAUNCH_TOTAL_BASE_SELL, Mn as DEFAULT_TIERS, N as cpmmSwapBaseInput, Nn as GaboxMathError, O as resolveVenue, On as TIMEOUT_SLOTS, Ot as quotePool, P as cpmmSwapBaseOutput, Pn as MAX_BATCH_SIZE, Qn as uncappedAmounts, Qt as drawAddress, Rn as TIERS, Rr as METAPLEX_PROGRAM_ADDRESS, S as fetchCurveSettings, Sn as IDENTITY_SEED, St as fetchVaultBalance, Tn as PACK_TOKENS, Tr as CPMM_SWAP_BASE_INPUT, Tt as listDrawsByPool, Un as maxMultiplierBps, Ur as SYSTEM_PROGRAM_ADDRESS, Vn as choose, W as launchlabBuyAccounts, Wn as minTier, X as fetchQuoteDisplay, Xn as settleWith, Xt as activityAddress, Yn as seedTokens, Zn as tierAmount, Zt as associatedTokenAddress, _ as buildMessage, _t as fetchDraw, at as DEFAULT_COMPUTE_UNIT_LIMIT, b as creatorFeeOnInput, bt as fetchPoolByMint, cn as creatorFeeVaultAddress, ct as REDEEM_COMPUTE_UNITS, dt as getSetComputeUnitPriceInstruction, en as randomNonce, er as validatePack, et as BUY_PACK_COMPUTE_UNITS, ft as DRAW_POOL_OFFSET, g as getLaunchInstruction, gt as POOL_MINT_OFFSET, hn as launchlabVaultAddress, ht as POOL_CREATOR_OFFSET, in as ata, it as CREATE_MACHINE_COMPUTE_UNITS, jn as BPS, kn as VRF_DEFAULT_QUEUE, kt as tiersOf, lr as LAUNCH_DECIMALS, lt as computeBudgetInstructions, mn as launchlabPoolAddress, mt as DRAW_SETTLED_OFFSET, nn as vaultAddress, nt as CLAIM_PRIZE_COMPUTE_UNITS, ot as HARVEST_COMPUTE_UNITS, pt as DRAW_PURCHASER_OFFSET, q as order, qn as reserveFor, rn as vrfIdentityAddress, rt as COMPUTE_BUDGET_PROGRAM_ADDRESS, st as MAX_COMPUTE_UNIT_LIMIT, t as raydium_exports, tn as scopedVrfIdentityAddress, tr as validateTiers, tt as CLAIM_COMPUTE_UNITS, ut as getSetComputeUnitLimitInstruction, v as withRemainingAccounts, vt as fetchOwedDraws, wn as MAX_ATTEMPTS, wt as listDraws, xn as GABOX_PROGRAM_ID, xr as ASSOCIATED_TOKEN_PROGRAM_ADDRESS, xt as fetchPoolInventory, yn as platformFeeVaultAddress, yr as raydiumIds, yt as fetchPoolAt, zn as averageMultiplierBps, zr as PLATFORM_ADMIN, zt as decodeCpmmAmmConfig } from "./raydium-
|
|
2
|
+
import { $ as readAccounts, $n as uncappedMaximum, $t as poolAddress, A as wsolAccountFor, An as VRF_PROGRAM_ADDRESS, Bn as checkedCount, Bt as decodeCpmmPool, Cn as INSTRUCTIONS_SYSVAR, Ct as fetchWalletActivity, D as quoteAccountFor, Dn as SLOT_HASHES_SYSVAR, Dt as listPools, E as newCurveReserves, En as RETRY_SLOTS, Er as CPMM_SWAP_BASE_OUTPUT, Et as listDrawsByPurchaser, Fn as MAX_MULTIPLIER_BPS, Gn as perPackCaps, Gr as TOKEN_PROGRAM_ADDRESS, Hn as chooseIndex, I as curveBuyExactOut, In as MIN_SEED_MULTIPLIER_BPS, J as fetchQuoteAsset, Jn as resolveReservation, Jt as tokenAccountAmount, Kn as quote, Kr as WSOL_MINT, Ln as TICKETS, Lr as LAUNCH_TOTAL_BASE_SELL, Mn as DEFAULT_TIERS, N as cpmmSwapBaseInput, Nn as GaboxMathError, O as resolveVenue, On as TIMEOUT_SLOTS, Ot as quotePool, P as cpmmSwapBaseOutput, Pn as MAX_BATCH_SIZE, Qn as uncappedAmounts, Qt as drawAddress, Rn as TIERS, Rr as METAPLEX_PROGRAM_ADDRESS, S as fetchCurveSettings, Sn as IDENTITY_SEED, St as fetchVaultBalance, Tn as PACK_TOKENS, Tr as CPMM_SWAP_BASE_INPUT, Tt as listDrawsByPool, Un as maxMultiplierBps, Ur as SYSTEM_PROGRAM_ADDRESS, Vn as choose, W as launchlabBuyAccounts, Wn as minTier, X as fetchQuoteDisplay, Xn as settleWith, Xt as activityAddress, Yn as seedTokens, Zn as tierAmount, Zt as associatedTokenAddress, _ as buildMessage, _t as fetchDraw, at as DEFAULT_COMPUTE_UNIT_LIMIT, b as creatorFeeOnInput, bt as fetchPoolByMint, cn as creatorFeeVaultAddress, ct as REDEEM_COMPUTE_UNITS, dt as getSetComputeUnitPriceInstruction, en as randomNonce, er as validatePack, et as BUY_PACK_COMPUTE_UNITS, ft as DRAW_POOL_OFFSET, g as getLaunchInstruction, gt as POOL_MINT_OFFSET, hn as launchlabVaultAddress, ht as POOL_CREATOR_OFFSET, in as ata, it as CREATE_MACHINE_COMPUTE_UNITS, jn as BPS, kn as VRF_DEFAULT_QUEUE, kt as tiersOf, lr as LAUNCH_DECIMALS, lt as computeBudgetInstructions, mn as launchlabPoolAddress, mt as DRAW_SETTLED_OFFSET, nn as vaultAddress, nt as CLAIM_PRIZE_COMPUTE_UNITS, ot as HARVEST_COMPUTE_UNITS, pt as DRAW_PURCHASER_OFFSET, q as order, qn as reserveFor, rn as vrfIdentityAddress, rt as COMPUTE_BUDGET_PROGRAM_ADDRESS, st as MAX_COMPUTE_UNIT_LIMIT, t as raydium_exports, tn as scopedVrfIdentityAddress, tr as validateTiers, tt as CLAIM_COMPUTE_UNITS, ut as getSetComputeUnitLimitInstruction, v as withRemainingAccounts, vt as fetchOwedDraws, wn as MAX_ATTEMPTS, wt as listDraws, xn as GABOX_PROGRAM_ID, xr as ASSOCIATED_TOKEN_PROGRAM_ADDRESS, xt as fetchPoolInventory, yn as platformFeeVaultAddress, yr as raydiumIds, yt as fetchPoolAt, zn as averageMultiplierBps, zr as PLATFORM_ADMIN, zt as decodeCpmmAmmConfig } from "./raydium-BZT4-i79.js";
|
|
3
3
|
import { DRAW_RESOLVED_EVENT_DISCRIMINATOR, PACKS_BOUGHT_EVENT_DISCRIMINATOR, POOL_CREATED_EVENT_DISCRIMINATOR, PRIZES_FUNDED_EVENT_DISCRIMINATOR, PRIZE_CLAIMED_EVENT_DISCRIMINATOR, RANDOMNESS_RETRIED_EVENT_DISCRIMINATOR, TOKENS_SOLD_EVENT_DISCRIMINATOR, getDrawResolvedEventDecoder, getPacksBoughtEventDecoder, getPoolCreatedEventDecoder, getPrizeClaimedEventDecoder, getPrizesFundedEventDecoder, getRandomnessRetriedEventDecoder, getTokensSoldEventDecoder, t as generated_exports } from "./generated/index.js";
|
|
4
4
|
import { AccountRole, address, createNoopSigner, createSolanaRpc, createSolanaRpcSubscriptions, getAddressDecoder, getAddressEncoder, getBase64Encoder, getU64Encoder } from "@solana/kit";
|
|
5
5
|
import { getCloseAccountInstruction, getCreateAssociatedTokenIdempotentInstruction, getSyncNativeInstruction } from "@solana-program/token";
|
|
@@ -150,9 +150,12 @@ async function findResolvedDraw(client, address) {
|
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/lookupTables.ts
|
|
152
152
|
/**
|
|
153
|
-
* Shared
|
|
154
|
-
* Generated by scripts/deploy-lookup-table.ts.
|
|
155
|
-
*
|
|
153
|
+
* Shared address lookup tables, one per cluster. The mainnet-beta one was verified on
|
|
154
|
+
* 2026-09-22T17:11:02.168Z. Generated by scripts/deploy-lookup-table.ts.
|
|
155
|
+
*
|
|
156
|
+
* Existing indices are immutable, so a client on an older SDK keeps compressing correctly. Keep
|
|
157
|
+
* both tables active while clients use them. The devnet table's authority is the devnet test
|
|
158
|
+
* wallet; the mainnet table's authority is the deployer.
|
|
156
159
|
*/
|
|
157
160
|
const DEVNET_LOOKUP_TABLE_ADDRESS = address("Cx4ri1BU2bnDXPjnJykF3nbY2u4MD5pPvzFCJtNizWFa");
|
|
158
161
|
const DEVNET_LOOKUP_TABLE_ADDRESSES = [
|
|
@@ -278,17 +281,47 @@ const DEVNET_LOOKUP_TABLE_ADDRESSES = [
|
|
|
278
281
|
address("CPLUA2NTYSGjsB1E9iXT3MrPn69WRFJvKTdJZw5NdEjh"),
|
|
279
282
|
address("7LnqjXdqJEdccWZQs5YJobQ8MDmcK4sG2oo4Ty4LBC8c")
|
|
280
283
|
];
|
|
281
|
-
const DEVNET_ADDRESS_LOOKUP_TABLES = { [DEVNET_LOOKUP_TABLE_ADDRESS]: [...DEVNET_LOOKUP_TABLE_ADDRESSES] };
|
|
284
|
+
const DEVNET_ADDRESS_LOOKUP_TABLES = DEVNET_LOOKUP_TABLE_ADDRESS === null ? {} : { [DEVNET_LOOKUP_TABLE_ADDRESS]: [...DEVNET_LOOKUP_TABLE_ADDRESSES] };
|
|
285
|
+
const MAINNET_LOOKUP_TABLE_ADDRESS = address("6dLhKbQ75fEKbYZT1YYD5m2gDCxh9NL3UAjP2y6BFtaG");
|
|
286
|
+
const MAINNET_LOOKUP_TABLE_ADDRESSES = [
|
|
287
|
+
address("GaBoxR9nYcK1zeu8EvSJVHV3SrYpCFmvbh2MLgobMcUA"),
|
|
288
|
+
address("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"),
|
|
289
|
+
address("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"),
|
|
290
|
+
address("11111111111111111111111111111111"),
|
|
291
|
+
address("So11111111111111111111111111111111111111112"),
|
|
292
|
+
address("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"),
|
|
293
|
+
address("Vrf1RNUjXmQGjmQrQLvJHs9SNkvDJEsRVFPkfSQUwGz"),
|
|
294
|
+
address("Cuj97ggrhhidhbu39TijNVqE74xvKJ69gDervRUXAxGh"),
|
|
295
|
+
address("SysvarS1otHashes111111111111111111111111111"),
|
|
296
|
+
address("Sysvar1nstructions1111111111111111111111111"),
|
|
297
|
+
address("SysvarRent111111111111111111111111111111111"),
|
|
298
|
+
address("LanMV9sAd7wArD4vJFi2qDdfnVhFxYSUg6eADduJ3uj"),
|
|
299
|
+
address("WLHv2UAZm6z4KyaaELi5pjdbJh6RESMva1Rnn8pJVVh"),
|
|
300
|
+
address("2DPAtwB8L12vrMRExbLuyGnC7n2J5LNoZQSejeQGpwkr"),
|
|
301
|
+
address("6s1xP3hpbAfFoNtUNF8mfHsjr2Bd97JxFJRWLbL6aHuX"),
|
|
302
|
+
address("8tXUG97CEpSKTNXdGtanYyC33RWmTTuSin4VdaWwNj8q"),
|
|
303
|
+
address("CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C"),
|
|
304
|
+
address("GpMZbSM2GgvTKHJirzeGfMFoaZ8UR2X7F4v8vHTvxFbL"),
|
|
305
|
+
address("Bq9YmSkZ6f13L4rPsx9MxSXuyPfKCBbvrbvarKti1LdG"),
|
|
306
|
+
address("5WcPTEQ59UqpQzjZUPbU8QRGCbj7NeQNLDa7DbsLkLKT"),
|
|
307
|
+
address("7ahYg76P8bhifT1Uj3hNHGKRFPp6bLkx1ppNrWbnsfu2"),
|
|
308
|
+
address("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"),
|
|
309
|
+
address("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"),
|
|
310
|
+
address("8gj14w8vkNZjJTPak6e96Uf1sY438WKheH4s5dHyxiRw")
|
|
311
|
+
];
|
|
312
|
+
const MAINNET_ADDRESS_LOOKUP_TABLES = MAINNET_LOOKUP_TABLE_ADDRESS === null ? {} : { [MAINNET_LOOKUP_TABLE_ADDRESS]: [...MAINNET_LOOKUP_TABLE_ADDRESSES] };
|
|
282
313
|
/**
|
|
283
314
|
* The tables a client compresses with when its config names none.
|
|
284
315
|
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
316
|
+
* Devnet and mainnet each have a shared table. A localnet client, or a cluster whose table is not
|
|
317
|
+
* provisioned yet, compresses with nothing, and a message over 1,232 bytes then fails in
|
|
318
|
+
* `buildMessage` with a request for tables. Pass `addressLookupTables` to `createClient` to
|
|
288
319
|
* supply your own.
|
|
289
320
|
*/
|
|
290
321
|
function defaultAddressLookupTables(cluster) {
|
|
291
|
-
|
|
322
|
+
if (cluster === "devnet") return { ...DEVNET_ADDRESS_LOOKUP_TABLES };
|
|
323
|
+
if (cluster === "mainnet-beta") return { ...MAINNET_ADDRESS_LOOKUP_TABLES };
|
|
324
|
+
return {};
|
|
292
325
|
}
|
|
293
326
|
/** The address lookup table program. It owns every table account. */
|
|
294
327
|
const LOOKUP_TABLE_PROGRAM = address("AddressLookupTab1e1111111111111111111111111");
|
|
@@ -949,6 +982,8 @@ const CLUSTER_ENDPOINTS = {
|
|
|
949
982
|
};
|
|
950
983
|
const DEVNET_HTTP = CLUSTER_ENDPOINTS.devnet.url;
|
|
951
984
|
const DEVNET_WS = CLUSTER_ENDPOINTS.devnet.wsUrl;
|
|
985
|
+
const MAINNET_HTTP = CLUSTER_ENDPOINTS["mainnet-beta"].url;
|
|
986
|
+
const MAINNET_WS = CLUSTER_ENDPOINTS["mainnet-beta"].wsUrl;
|
|
952
987
|
/**
|
|
953
988
|
* The cluster a URL names, from its text alone. A substring check, deliberately: providers spell
|
|
954
989
|
* it many ways. `null` when the URL names none, which is a local validator or a private endpoint.
|
|
@@ -1723,6 +1758,6 @@ async function oracleAccounts() {
|
|
|
1723
1758
|
};
|
|
1724
1759
|
}
|
|
1725
1760
|
//#endregion
|
|
1726
|
-
export { ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BPS, BUY_PACK_COMPUTE_UNITS, CLAIM_COMPUTE_UNITS, CLAIM_PRIZE_COMPUTE_UNITS, CLUSTER_ENDPOINTS, COMPUTE_BUDGET_PROGRAM_ADDRESS, CPMM_ROUTE_COMPUTE_UNITS, CPMM_ROUTE_SLIPPAGE_BPS, CREATE_MACHINE_COMPUTE_UNITS, DEFAULT_COMPUTE_UNIT_LIMIT, DEFAULT_TIERS, DEVNET_ADDRESS_LOOKUP_TABLES, DEVNET_HTTP, DEVNET_LOOKUP_TABLE_ADDRESS, DEVNET_LOOKUP_TABLE_ADDRESSES, DEVNET_WS, DRAW_DISCRIMINATOR, DRAW_POOL_OFFSET, DRAW_PURCHASER_OFFSET, DRAW_SETTLED_OFFSET, EXACT_IN_MARGIN_BPS, GABOX_PROGRAM_ID, GaboxMathError, HARVEST_COMPUTE_UNITS, IDENTITY_SEED, INSTRUCTIONS_SYSVAR, JUPITER_DEFAULT_COMPUTE_UNITS, JUPITER_DEFAULT_SLIPPAGE_BPS, JUPITER_LITE_URL, LAUNCH_DECIMALS, MAX_ATTEMPTS, MAX_BATCH_SIZE, MAX_COMPUTE_UNIT_LIMIT, MAX_MULTIPLIER_BPS, METAPLEX_PROGRAM_ADDRESS, MIN_SEED_MULTIPLIER_BPS, PACK_TOKENS, PLATFORM_ADMIN, POOL_CREATOR_OFFSET, POOL_DISCRIMINATOR, POOL_MINT_OFFSET, REDEEM_COMPUTE_UNITS, RETRY_SLOTS, SLOT_HASHES_SYSVAR, SYSTEM_PROGRAM_ADDRESS, TICKETS, TIERS, TIMEOUT_SLOTS, TOKEN_PROGRAM_ADDRESS, VRF_DEFAULT_QUEUE, VRF_PROGRAM_ADDRESS, WALLET_ACTIVITY_DISCRIMINATOR, WSOL_MINT, activityAddress, assertClusterUrl, assertRouteIsSafe, associatedTokenAddress, averageMultiplierBps, buildMessage, buyPack, buyPacks, checkedCount, choose, chooseIndex, claimPrize, claimPrizeTo, clusterNamedBy, computeBudgetInstructions, computeUnitsOf, computeUnitsWithRoute, createClient, createMachine, createQuoteAccount, decodeDraw, decodeEvent, decodeEvents, decodePool, decodeWalletActivity, defaultAddressLookupTables, defaultRoute, drawAddress, drawAvailability, expireDraw, fetchAddressLookupTables, fetchDraw, fetchEvents, fetchOwedDraws, fetchPoolAt, fetchPoolByMint, fetchPoolInventory, fetchVaultBalance, fetchWalletActivity, findActivityPda, findDrawPda, findIdentityPda, findPoolPda, findResolvedDraw, fundPrizes, fundWsol, generated_exports as generated, getOffer, getSetComputeUnitLimitInstruction, getSetComputeUnitPriceInstruction, jupiterRoute, listDraws, listDrawsByPool, listDrawsByPurchaser, listPools, maxMultiplierBps, minTier, offerFromState, oracleAccounts, perPackCaps, poolAddress, providerOf, quote, quoteLegFromWallet, quoteLegIn, quoteLegOut, quotePool, randomNonce, raydium_exports as raydium, raydiumCpmmRoute, reserveFor, resolveReservation, retryDraw, routeFrom, routeQuoteIn, routeQuoteOut, routeSizeHint, scopedVrfIdentityAddress, seedCostEstimate, seedShortfall, seedTokens, sellTokens, settle, settleDraw, settleWith, solPriceOf, ticketFor, tierAmount, tiersOf, uncappedAmounts, uncappedMaximum, unwrapWsol, validatePack, validateTiers, vaultAddress, vrfIdentityAddress, websocketUrlFor, withRemainingAccounts };
|
|
1761
|
+
export { ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BPS, BUY_PACK_COMPUTE_UNITS, CLAIM_COMPUTE_UNITS, CLAIM_PRIZE_COMPUTE_UNITS, CLUSTER_ENDPOINTS, COMPUTE_BUDGET_PROGRAM_ADDRESS, CPMM_ROUTE_COMPUTE_UNITS, CPMM_ROUTE_SLIPPAGE_BPS, CREATE_MACHINE_COMPUTE_UNITS, DEFAULT_COMPUTE_UNIT_LIMIT, DEFAULT_TIERS, DEVNET_ADDRESS_LOOKUP_TABLES, DEVNET_HTTP, DEVNET_LOOKUP_TABLE_ADDRESS, DEVNET_LOOKUP_TABLE_ADDRESSES, DEVNET_WS, DRAW_DISCRIMINATOR, DRAW_POOL_OFFSET, DRAW_PURCHASER_OFFSET, DRAW_SETTLED_OFFSET, EXACT_IN_MARGIN_BPS, GABOX_PROGRAM_ID, GaboxMathError, HARVEST_COMPUTE_UNITS, IDENTITY_SEED, INSTRUCTIONS_SYSVAR, JUPITER_DEFAULT_COMPUTE_UNITS, JUPITER_DEFAULT_SLIPPAGE_BPS, JUPITER_LITE_URL, LAUNCH_DECIMALS, MAINNET_ADDRESS_LOOKUP_TABLES, MAINNET_HTTP, MAINNET_LOOKUP_TABLE_ADDRESS, MAINNET_LOOKUP_TABLE_ADDRESSES, MAINNET_WS, MAX_ATTEMPTS, MAX_BATCH_SIZE, MAX_COMPUTE_UNIT_LIMIT, MAX_MULTIPLIER_BPS, METAPLEX_PROGRAM_ADDRESS, MIN_SEED_MULTIPLIER_BPS, PACK_TOKENS, PLATFORM_ADMIN, POOL_CREATOR_OFFSET, POOL_DISCRIMINATOR, POOL_MINT_OFFSET, REDEEM_COMPUTE_UNITS, RETRY_SLOTS, SLOT_HASHES_SYSVAR, SYSTEM_PROGRAM_ADDRESS, TICKETS, TIERS, TIMEOUT_SLOTS, TOKEN_PROGRAM_ADDRESS, VRF_DEFAULT_QUEUE, VRF_PROGRAM_ADDRESS, WALLET_ACTIVITY_DISCRIMINATOR, WSOL_MINT, activityAddress, assertClusterUrl, assertRouteIsSafe, associatedTokenAddress, averageMultiplierBps, buildMessage, buyPack, buyPacks, checkedCount, choose, chooseIndex, claimPrize, claimPrizeTo, clusterNamedBy, computeBudgetInstructions, computeUnitsOf, computeUnitsWithRoute, createClient, createMachine, createQuoteAccount, decodeDraw, decodeEvent, decodeEvents, decodePool, decodeWalletActivity, defaultAddressLookupTables, defaultRoute, drawAddress, drawAvailability, expireDraw, fetchAddressLookupTables, fetchDraw, fetchEvents, fetchOwedDraws, fetchPoolAt, fetchPoolByMint, fetchPoolInventory, fetchVaultBalance, fetchWalletActivity, findActivityPda, findDrawPda, findIdentityPda, findPoolPda, findResolvedDraw, fundPrizes, fundWsol, generated_exports as generated, getOffer, getSetComputeUnitLimitInstruction, getSetComputeUnitPriceInstruction, jupiterRoute, listDraws, listDrawsByPool, listDrawsByPurchaser, listPools, maxMultiplierBps, minTier, offerFromState, oracleAccounts, perPackCaps, poolAddress, providerOf, quote, quoteLegFromWallet, quoteLegIn, quoteLegOut, quotePool, randomNonce, raydium_exports as raydium, raydiumCpmmRoute, reserveFor, resolveReservation, retryDraw, routeFrom, routeQuoteIn, routeQuoteOut, routeSizeHint, scopedVrfIdentityAddress, seedCostEstimate, seedShortfall, seedTokens, sellTokens, settle, settleDraw, settleWith, solPriceOf, ticketFor, tierAmount, tiersOf, uncappedAmounts, uncappedMaximum, unwrapWsol, validatePack, validateTiers, vaultAddress, vrfIdentityAddress, websocketUrlFor, withRemainingAccounts };
|
|
1727
1762
|
|
|
1728
1763
|
//# sourceMappingURL=index.js.map
|