@neutral-trade/sdk 0.4.15 → 0.4.16
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/dist/index.d.mts
CHANGED
|
@@ -20,8 +20,8 @@ declare enum VaultId {
|
|
|
20
20
|
thirdeye_flagship_usdc_bundle_79 = 79,
|
|
21
21
|
/** Velox-Cross-USDC-Bundle */
|
|
22
22
|
velox_cross_usdc_bundle_78 = 78,
|
|
23
|
-
/** Hyperithm
|
|
24
|
-
|
|
23
|
+
/** Hyperithm CTA */
|
|
24
|
+
hyperithm_cta_77 = 77,
|
|
25
25
|
/** Master Bundle */
|
|
26
26
|
master_bundle_76 = 76,
|
|
27
27
|
/** AdverseGuard Alpha */
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as VaultCategory, B as DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, C as getBundleProgramId, D as isValidVaultAddress, E as getVaultRegistry, F as getSolanaTokenMint, G as isAllowlistedBundleProgramId, H as createAllowlistedBundleProgram, I as tokens, K as createDummyWallet, L as ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, M as SupportedChain, N as SupportedToken, O as vaults, P as getSolanaTokenDecimals, R as BUNDLE_PROGRAM_ID_V2_MAINNET, S as parseAmountRawToBigInt, T as getVaultById, U as createBundleProgramById, V as assertAllowlistedBundleProgramId, W as getDefaultBundleProgramIdByCluster, _ as derivePendingAuthPDA, a as buildBundleDepositInstructions, b as getVaultDepositorAddressSync, d as computeRequestWithdrawalSharesFromAmountRaw, f as SEED_ORACLE, g as deriveOraclePDA, h as SEED_USER, i as initNeutralTradeCore, j as VaultType, k as vaultsDevnet, m as SEED_TEMP, n as buildRequestWithdrawInstructionForVaultId, o as buildBundleRequestSwitchInstruction, p as SEED_PENDING_AUTH, s as buildBundleRequestWithdrawInstruction, t as buildDepositInstructionsForVaultId, v as deriveTempDataPDA, w as getVaultByAddress, x as humanFloatToAmountRawString, y as deriveUserPDA, z as DEFAULT_BUNDLE_PROGRAM_ID_DEVNET } from "./neutral-trade-core-
|
|
1
|
+
import { A as VaultCategory, B as DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, C as getBundleProgramId, D as isValidVaultAddress, E as getVaultRegistry, F as getSolanaTokenMint, G as isAllowlistedBundleProgramId, H as createAllowlistedBundleProgram, I as tokens, K as createDummyWallet, L as ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, M as SupportedChain, N as SupportedToken, O as vaults, P as getSolanaTokenDecimals, R as BUNDLE_PROGRAM_ID_V2_MAINNET, S as parseAmountRawToBigInt, T as getVaultById, U as createBundleProgramById, V as assertAllowlistedBundleProgramId, W as getDefaultBundleProgramIdByCluster, _ as derivePendingAuthPDA, a as buildBundleDepositInstructions, b as getVaultDepositorAddressSync, d as computeRequestWithdrawalSharesFromAmountRaw, f as SEED_ORACLE, g as deriveOraclePDA, h as SEED_USER, i as initNeutralTradeCore, j as VaultType, k as vaultsDevnet, m as SEED_TEMP, n as buildRequestWithdrawInstructionForVaultId, o as buildBundleRequestSwitchInstruction, p as SEED_PENDING_AUTH, s as buildBundleRequestWithdrawInstruction, t as buildDepositInstructionsForVaultId, v as deriveTempDataPDA, w as getVaultByAddress, x as humanFloatToAmountRawString, y as deriveUserPDA, z as DEFAULT_BUNDLE_PROGRAM_ID_DEVNET } from "./neutral-trade-core-D0QhHaLD.mjs";
|
|
2
2
|
import { PublicKey } from "@solana/web3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/constants/vault-ids.ts
|
|
@@ -15,8 +15,8 @@ let VaultId = /* @__PURE__ */ function(VaultId$1) {
|
|
|
15
15
|
VaultId$1[VaultId$1["thirdeye_flagship_usdc_bundle_79"] = 79] = "thirdeye_flagship_usdc_bundle_79";
|
|
16
16
|
/** Velox-Cross-USDC-Bundle */
|
|
17
17
|
VaultId$1[VaultId$1["velox_cross_usdc_bundle_78"] = 78] = "velox_cross_usdc_bundle_78";
|
|
18
|
-
/** Hyperithm
|
|
19
|
-
VaultId$1[VaultId$1["
|
|
18
|
+
/** Hyperithm CTA */
|
|
19
|
+
VaultId$1[VaultId$1["hyperithm_cta_77"] = 77] = "hyperithm_cta_77";
|
|
20
20
|
/** Master Bundle */
|
|
21
21
|
VaultId$1[VaultId$1["master_bundle_76"] = 76] = "master_bundle_76";
|
|
22
22
|
/** AdverseGuard Alpha */
|
package/dist/internal.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as buildBundleDepositInstructionsWithVault, i as initNeutralTradeCore, l as buildBundleRequestSwitchInstructionWithVault, n as buildRequestWithdrawInstructionForVaultId, r as getBundleProgramForVault, t as buildDepositInstructionsForVaultId, u as buildBundleRequestWithdrawInstructionWithVault } from "./neutral-trade-core-
|
|
1
|
+
import { c as buildBundleDepositInstructionsWithVault, i as initNeutralTradeCore, l as buildBundleRequestSwitchInstructionWithVault, n as buildRequestWithdrawInstructionForVaultId, r as getBundleProgramForVault, t as buildDepositInstructionsForVaultId, u as buildBundleRequestWithdrawInstructionWithVault } from "./neutral-trade-core-D0QhHaLD.mjs";
|
|
2
2
|
|
|
3
3
|
export { buildBundleDepositInstructionsWithVault, buildBundleRequestSwitchInstructionWithVault, buildBundleRequestWithdrawInstructionWithVault, buildDepositInstructionsForVaultId, buildRequestWithdrawInstructionForVaultId, getBundleProgramForVault, initNeutralTradeCore };
|
|
@@ -13404,13 +13404,13 @@ var vaults_default = [
|
|
|
13404
13404
|
},
|
|
13405
13405
|
{
|
|
13406
13406
|
"vaultId": 77,
|
|
13407
|
-
"name": "Hyperithm
|
|
13407
|
+
"name": "Hyperithm CTA",
|
|
13408
13408
|
"type": "Bundle",
|
|
13409
13409
|
"category": "Directional",
|
|
13410
13410
|
"vaultAddress": "Ec6uSz5EsffwfXp43pvpz4rf9ttJRFKES4ZSVX7gVVkQ",
|
|
13411
13411
|
"depositToken": "USDC",
|
|
13412
13412
|
"pointsMultiplier": 1,
|
|
13413
|
-
"pointsEnabled":
|
|
13413
|
+
"pointsEnabled": true
|
|
13414
13414
|
},
|
|
13415
13415
|
{
|
|
13416
13416
|
"vaultId": 76,
|
|
@@ -13419,8 +13419,8 @@ var vaults_default = [
|
|
|
13419
13419
|
"category": "Master Vault",
|
|
13420
13420
|
"vaultAddress": "J7qhMAKnB6G5dvoAN9281ufabajKbyGQxxd2bq6R7fPJ",
|
|
13421
13421
|
"depositToken": "USDC",
|
|
13422
|
-
"pointsMultiplier":
|
|
13423
|
-
"pointsEnabled":
|
|
13422
|
+
"pointsMultiplier": 2,
|
|
13423
|
+
"pointsEnabled": true
|
|
13424
13424
|
},
|
|
13425
13425
|
{
|
|
13426
13426
|
"vaultId": 75,
|