@gabox-labs/sdk 0.2.0 → 0.7.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 +310 -0
- package/README.md +173 -438
- package/dist/{gaboxV2-CV2XltqC.js → gabox-DGTCh34U.js} +575 -1584
- package/dist/gabox-DGTCh34U.js.map +1 -0
- package/dist/generated/index.d.ts +384 -752
- package/dist/generated/index.js +116 -338
- package/dist/generated/index.js.map +1 -1
- package/dist/index-C4at2cZ_.d.ts +1184 -0
- package/dist/index.d.ts +474 -432
- package/dist/index.js +1186 -1374
- package/dist/index.js.map +1 -1
- package/dist/raydium/index.d.ts +2 -0
- package/dist/raydium/index.js +2 -0
- package/dist/raydium-CU-tZzIk.js +3282 -0
- package/dist/raydium-CU-tZzIk.js.map +1 -0
- package/llms.txt +7 -3
- package/package.json +11 -16
- package/skills/gabox-sdk/SKILL.md +57 -146
- package/skills/gabox-sdk/references/api.md +155 -145
- package/dist/gaboxV2-CV2XltqC.js.map +0 -1
- package/dist/index-BxvSkzCO.d.ts +0 -471
- package/dist/pump/index.d.ts +0 -2
- package/dist/pump/index.js +0 -2
- package/dist/pump-D0K_0uiC.js +0 -1531
- package/dist/pump-D0K_0uiC.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as QuoteBinding, $t as CONSTANT_CURVE_TAG, A as ClaimCreatorFeeInput, An as LAUNCHLAB_SELL_EXACT_IN, At as totalCurveFeeRate, B as cpmmBuyAccounts, Bn as TOKEN_2022_PROGRAM_ADDRESS, Bt as LaunchlabGlobalConfig, C as launchlabPlatformConfig, Cn as LAUNCHLAB_BUY_EXACT_IN, Ct as cpmmSwapBaseOutput, D as platformFeeVaultAddress, Dn as LAUNCHLAB_INITIALIZE, Dt as initialCurve, E as metadataAddress, En as LAUNCHLAB_GLOBAL_CONFIG_DISCRIMINATOR, Et as curveSellExactIn, F as fetchCreatorFees, Fn as RAYDIUM_DEVNET_IDS, Ft as CpmmAmmConfig, G as order, Gt as decodeLaunchlabGlobalConfig, H as launchlabBuyAccounts, Hn as VenueAccountSpec, Ht as LaunchlabPoolState, I as getClaimCreatorFeeInstructions, In as RAYDIUM_MAINNET_IDS, It as CpmmPoolState, Jt as metaplexSymbol, Kt as decodeLaunchlabPlatformConfig, L as getCollectCreatorFeeInstructions, Ln as RENT_SYSVAR_ADDRESS, Lt as LAUNCHLAB_GLOBAL_CONFIG_HEAD_SIZE, M as CreatorFees, Mn as LAUNCH_TOTAL_BASE_SELL, Mt as CPMM_POOL_OFFSETS, N as claimCreatorFee, Nn as METAPLEX_PROGRAM_ADDRESS, Nt as CPMM_POOL_STATE_HEAD_SIZE, O as LaunchInput, On as LAUNCHLAB_PLATFORM_CONFIG_DISCRIMINATOR, Ot as preFeeAmount, P as collectCreatorFee, Pn as PLATFORM_ADMIN, Pt as CPMM_POOL_STATE_SIZE, Q as MigratedCpmmPool, Qt as tokenAccountOwnerAndMint, R as CpmmTradeAccountsInput, Rn as RaydiumClusterIds, Rt as LAUNCHLAB_PLATFORM_CONFIG_HEAD_SIZE, S as launchlabGlobalConfig, Sn as CPMM_SWAP_BASE_OUTPUT, St as cpmmSwapBaseInput, T as launchlabVaultAddress, Tn as LAUNCHLAB_CLAIM_CREATOR_FEE, Tt as curveBuyExactOut, U as launchlabBuyExactInAccounts, Un as VenueInstructionAbi, Ut as decodeCpmmAmmConfig, V as cpmmSellAccounts, Vn as TOKEN_PROGRAM_ADDRESS, Vt as LaunchlabPlatformConfig, W as launchlabSellAccounts, Wn as WSOL_MINT, Wt as decodeCpmmPool, X as CurveSettings, Xt as token2022Symbol, Yt as mintDecimals, Z as FindCpmmPoolOptions, Zt as tokenAccountAmount, _ as cpmmPoolAddress, _n as ASSOCIATED_TOKEN_PROGRAM_ADDRESS, _t as CurveFeeRates, a as decodeBase64, an as LAUNCHLAB_STATUS_TRADE, at as curveQuote, b as launchlabAuthority, bn as CPMM_POOL_STATE_DISCRIMINATOR, bt as ceilDiv, c as QuoteConfig, cn as METADATA_SEED, ct as findCpmmPool, d as fetchQuoteConfig, dn as RAYDIUM_IDS, dt as quoteAccountFor, en as CPMM_SEEDS, et as ResolveVenueOptions, f as fetchQuoteDisplay, fn as RaydiumIds, ft as resolveVenue, g as cpmmCreatorFeeShare, gn as sortedMints, gt as CpmmSwapSides, h as cpmmAuthority, hn as raydiumIds, ht as CpmmFeeRates, i as MaybeAccount, in as LAUNCHLAB_STATUS_MIGRATE, it as creatorFeeOnInput, j as CollectCreatorFeeInput, jn as LAUNCH_SUPPLY, jt as CPMM_AMM_CONFIG_HEAD_SIZE, k as getLaunchInstruction, kn as LAUNCHLAB_POOL_STATE_DISCRIMINATOR, kt as remainingBase, l as QuoteDisplay, ln as MIGRATE_TO_CPMM, lt as newCurveBuyCost, m as ata, mn as compareAddresses, mt as wsolAccountFor, n as CurveBuyExactInInput, nn as LAUNCHLAB_SEEDS, nt as VenueKind, o as readAccounts, on as LAUNCH_DECIMALS, ot as fetchCurveSettings, p as isQuoteSupported, pn as SHARE_FEE_RATE, pt as sellQuote, qt as decodeLaunchlabPool, r as getCurveBuyExactInInstruction, rn as LAUNCHLAB_STATUS_FUND, rt as cpmmPoolMatches, s as QuoteAsset, sn as METADATA_LIMITS, st as fetchQuoteBinding, tn as CREATOR_FEE_ON_QUOTE, tt as ResolvedVenue, u as fetchQuoteAsset, un as RATE_DENOMINATOR, ut as newCurveReserves, v as creatorFeeVaultAddress, vn as CPMM_AMM_CONFIG_DISCRIMINATOR, vt as CurveReserves, w as launchlabPoolAddress, wn as LAUNCHLAB_BUY_EXACT_OUT, wt as curveBuyExactIn, x as launchlabEventAuthority, xn as CPMM_SWAP_BASE_INPUT, xt as ceilDivRate, y as creatorFeeVaultAuthority, yn as CPMM_COLLECT_CREATOR_FEE, yt as LaunchParams, z as LaunchlabTradeAccountsInput, zn as SYSTEM_PROGRAM_ADDRESS, zt as LAUNCHLAB_POOL_STATE_HEAD_SIZE } from "../index-C4at2cZ_.js";
|
|
2
|
+
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, CollectCreatorFeeInput, CpmmAmmConfig, CpmmFeeRates, CpmmPoolState, CpmmSwapSides, CpmmTradeAccountsInput, CreatorFees, CurveBuyExactInInput, CurveFeeRates, CurveReserves, CurveSettings, FindCpmmPoolOptions, LAUNCHLAB_BUY_EXACT_IN, LAUNCHLAB_BUY_EXACT_OUT, LAUNCHLAB_CLAIM_CREATOR_FEE, 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, LaunchInput, LaunchParams, LaunchlabGlobalConfig, LaunchlabPlatformConfig, LaunchlabPoolState, LaunchlabTradeAccountsInput, METADATA_LIMITS, METADATA_SEED, METAPLEX_PROGRAM_ADDRESS, MIGRATE_TO_CPMM, 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, collectCreatorFee, compareAddresses, cpmmAuthority, cpmmBuyAccounts, cpmmCreatorFeeShare, cpmmPoolAddress, cpmmPoolMatches, cpmmSellAccounts, cpmmSwapBaseInput, cpmmSwapBaseOutput, creatorFeeOnInput, creatorFeeVaultAddress, creatorFeeVaultAuthority, curveBuyExactIn, curveBuyExactOut, curveQuote, curveSellExactIn, decodeBase64, decodeCpmmAmmConfig, decodeCpmmPool, decodeLaunchlabGlobalConfig, decodeLaunchlabPlatformConfig, decodeLaunchlabPool, fetchCreatorFees, fetchCurveSettings, fetchQuoteAsset, fetchQuoteBinding, fetchQuoteConfig, fetchQuoteDisplay, findCpmmPool, getClaimCreatorFeeInstructions, getCollectCreatorFeeInstructions, getCurveBuyExactInInstruction, getLaunchInstruction, initialCurve, isQuoteSupported, launchlabAuthority, launchlabBuyAccounts, launchlabBuyExactInAccounts, launchlabEventAuthority, launchlabGlobalConfig, launchlabPlatformConfig, launchlabPoolAddress, launchlabSellAccounts, launchlabVaultAddress, metadataAddress, metaplexSymbol, mintDecimals, newCurveBuyCost, newCurveReserves, order, platformFeeVaultAddress, preFeeAmount, quoteAccountFor, raydiumIds, readAccounts, remainingBase, resolveVenue, sellQuote, sortedMints, token2022Symbol, tokenAccountAmount, tokenAccountOwnerAndMint, totalCurveFeeRate, wsolAccountFor };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $n as LAUNCHLAB_BUY_EXACT_OUT, $t as launchlabVaultAddress, A as initialCurve, An as CPMM_SEEDS, At as metaplexSymbol, B as fetchQuoteAsset, Bn as RATE_DENOMINATOR, C as ceilDiv, Ct as LAUNCHLAB_PLATFORM_CONFIG_HEAD_SIZE, D as curveBuyExactIn, Dt as decodeLaunchlabGlobalConfig, E as cpmmSwapBaseOutput, Et as decodeCpmmPool, F as cpmmSellAccounts, Fn as LAUNCHLAB_STATUS_TRADE, G as readAccounts, Gn as sortedMints, Gt as cpmmPoolAddress, H as fetchQuoteDisplay, Hn as SHARE_FEE_RATE, Ht as ata, I as launchlabBuyAccounts, In as LAUNCH_DECIMALS, Jn as CPMM_COLLECT_CREATOR_FEE, Jt as launchlabAuthority, Kn as ASSOCIATED_TOKEN_PROGRAM_ADDRESS, Kt as creatorFeeVaultAddress, L as launchlabBuyExactInAccounts, Ln as METADATA_LIMITS, M as remainingBase, Mn as LAUNCHLAB_SEEDS, Mt as token2022Symbol, N as totalCurveFeeRate, Nn as LAUNCHLAB_STATUS_FUND, Nt as tokenAccountAmount, O as curveBuyExactOut, Ot as decodeLaunchlabPlatformConfig, P as cpmmBuyAccounts, Pn as LAUNCHLAB_STATUS_MIGRATE, Pt as tokenAccountOwnerAndMint, Qn as LAUNCHLAB_BUY_EXACT_IN, Qt as launchlabPoolAddress, R as launchlabSellAccounts, Rn as METADATA_SEED, S as wsolAccountFor, St as LAUNCHLAB_GLOBAL_CONFIG_HEAD_SIZE, T as cpmmSwapBaseInput, Tt as decodeCpmmAmmConfig, U as isQuoteSupported, Un as compareAddresses, Ut as cpmmAuthority, V as fetchQuoteConfig, Vn as RAYDIUM_IDS, W as decodeBase64, Wn as raydiumIds, Wt as cpmmCreatorFeeShare, Xn as CPMM_SWAP_BASE_INPUT, Xt as launchlabGlobalConfig, Yn as CPMM_POOL_STATE_DISCRIMINATOR, Yt as launchlabEventAuthority, Zn as CPMM_SWAP_BASE_OUTPUT, Zt as launchlabPlatformConfig, _ as newCurveBuyCost, a as fetchCreatorFees, ar as LAUNCHLAB_SELL_EXACT_IN, b as resolveVenue, bt as CPMM_POOL_STATE_HEAD_SIZE, c as getLaunchInstruction, cr as METAPLEX_PROGRAM_ADDRESS, d as cpmmPoolMatches, dr as RAYDIUM_MAINNET_IDS, en as metadataAddress, er as LAUNCHLAB_CLAIM_CREATOR_FEE, f as creatorFeeOnInput, fr as RENT_SYSVAR_ADDRESS, g as findCpmmPool, gr as WSOL_MINT, h as fetchQuoteBinding, hr as TOKEN_PROGRAM_ADDRESS, i as collectCreatorFee, ir as LAUNCHLAB_POOL_STATE_DISCRIMINATOR, j as preFeeAmount, jn as CREATOR_FEE_ON_QUOTE, jt as mintDecimals, k as curveSellExactIn, kn as CONSTANT_CURVE_TAG, kt as decodeLaunchlabPool, lr as PLATFORM_ADMIN, m as fetchCurveSettings, mr as TOKEN_2022_PROGRAM_ADDRESS, n as getCurveBuyExactInInstruction, nr as LAUNCHLAB_INITIALIZE, o as getClaimCreatorFeeInstructions, or as LAUNCH_SUPPLY, p as curveQuote, pr as SYSTEM_PROGRAM_ADDRESS, qn as CPMM_AMM_CONFIG_DISCRIMINATOR, qt as creatorFeeVaultAuthority, r as claimCreatorFee, rr as LAUNCHLAB_PLATFORM_CONFIG_DISCRIMINATOR, s as getCollectCreatorFeeInstructions, sr as LAUNCH_TOTAL_BASE_SELL, tn as platformFeeVaultAddress, tr as LAUNCHLAB_GLOBAL_CONFIG_DISCRIMINATOR, ur as RAYDIUM_DEVNET_IDS, v as newCurveReserves, vt as CPMM_AMM_CONFIG_HEAD_SIZE, w as ceilDivRate, wt as LAUNCHLAB_POOL_STATE_HEAD_SIZE, x as sellQuote, xt as CPMM_POOL_STATE_SIZE, y as quoteAccountFor, yt as CPMM_POOL_OFFSETS, z as order, zn as MIGRATE_TO_CPMM } from "../raydium-CU-tZzIk.js";
|
|
2
|
+
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, LAUNCHLAB_BUY_EXACT_IN, LAUNCHLAB_BUY_EXACT_OUT, LAUNCHLAB_CLAIM_CREATOR_FEE, 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, METADATA_LIMITS, METADATA_SEED, METAPLEX_PROGRAM_ADDRESS, MIGRATE_TO_CPMM, PLATFORM_ADMIN, RATE_DENOMINATOR, RAYDIUM_DEVNET_IDS, RAYDIUM_IDS, RAYDIUM_MAINNET_IDS, RENT_SYSVAR_ADDRESS, SHARE_FEE_RATE, SYSTEM_PROGRAM_ADDRESS, TOKEN_2022_PROGRAM_ADDRESS, TOKEN_PROGRAM_ADDRESS, WSOL_MINT, ata, ceilDiv, ceilDivRate, claimCreatorFee, collectCreatorFee, compareAddresses, cpmmAuthority, cpmmBuyAccounts, cpmmCreatorFeeShare, cpmmPoolAddress, cpmmPoolMatches, cpmmSellAccounts, cpmmSwapBaseInput, cpmmSwapBaseOutput, creatorFeeOnInput, creatorFeeVaultAddress, creatorFeeVaultAuthority, curveBuyExactIn, curveBuyExactOut, curveQuote, curveSellExactIn, decodeBase64, decodeCpmmAmmConfig, decodeCpmmPool, decodeLaunchlabGlobalConfig, decodeLaunchlabPlatformConfig, decodeLaunchlabPool, fetchCreatorFees, fetchCurveSettings, fetchQuoteAsset, fetchQuoteBinding, fetchQuoteConfig, fetchQuoteDisplay, findCpmmPool, getClaimCreatorFeeInstructions, getCollectCreatorFeeInstructions, getCurveBuyExactInInstruction, getLaunchInstruction, initialCurve, isQuoteSupported, launchlabAuthority, launchlabBuyAccounts, launchlabBuyExactInAccounts, launchlabEventAuthority, launchlabGlobalConfig, launchlabPlatformConfig, launchlabPoolAddress, launchlabSellAccounts, launchlabVaultAddress, metadataAddress, metaplexSymbol, mintDecimals, newCurveBuyCost, newCurveReserves, order, platformFeeVaultAddress, preFeeAmount, quoteAccountFor, raydiumIds, readAccounts, remainingBase, resolveVenue, sellQuote, sortedMints, token2022Symbol, tokenAccountAmount, tokenAccountOwnerAndMint, totalCurveFeeRate, wsolAccountFor };
|