@neutral-trade/sdk 0.1.10 → 0.1.12

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
@@ -4,6 +4,29 @@ import { Connection, PublicKey } from "@solana/web3.js";
4
4
  import { VaultClient } from "@drift-labs/vaults-sdk";
5
5
  import { z } from "zod";
6
6
 
7
+ //#region src/types/tokens.d.ts
8
+ declare enum SupportedChain {
9
+ Solana = "Solana",
10
+ Hyperliquid = "Hyperliquid",
11
+ }
12
+ declare enum SupportedToken {
13
+ USDC = "USDC",
14
+ USDT = "USDT",
15
+ SOL = "SOL",
16
+ WBTC = "WBTC",
17
+ WETH = "WETH",
18
+ JLP = "JLP",
19
+ }
20
+ interface Token {
21
+ name: string;
22
+ symbol: string;
23
+ onChain: { [chain in SupportedChain]: {
24
+ address: string;
25
+ decimals: number;
26
+ } | null };
27
+ }
28
+ declare const tokens: { [name in SupportedToken]: Token };
29
+ //#endregion
7
30
  //#region src/idl/bundle-v1.d.ts
8
31
  interface NtbundleV1 {
9
32
  version: '0.1.0';
@@ -4932,11 +4955,109 @@ interface NtbundleV2 {
4932
4955
  }];
4933
4956
  }
4934
4957
  //#endregion
4958
+ //#region src/types/bundle-types.d.ts
4959
+ type UserBundleAccount = IdlAccounts<NtbundleV1>['userBundleAccount'] | IdlAccounts$1<NtbundleV2>['userBundleAccount'];
4960
+ type OracleData = IdlAccounts<NtbundleV1>['oracleData'] | IdlAccounts$1<NtbundleV2>['oracleData'];
4961
+ type BundleAccount = IdlAccounts<NtbundleV1>['bundle'] | IdlAccounts$1<NtbundleV2>['bundle'];
4962
+ //#endregion
4963
+ //#region src/types/vault-types.d.ts
4964
+ declare enum VaultType {
4965
+ Drift = "Drift",
4966
+ Bundle = "Bundle",
4967
+ Hyperliquid = "Hyperliquid",
4968
+ Kamino = "Kamino",
4969
+ }
4970
+ declare enum VaultCategory {
4971
+ marketNeutral = "Market Neutral",
4972
+ directional = "Directional",
4973
+ etf = "Index",
4974
+ bet = "Bet",
4975
+ savings = "Savings",
4976
+ privateCredit = "Private Credit",
4977
+ airdropFarming = "Airdrop Farming",
4978
+ yieldEnhancement = "Yield Enhancement",
4979
+ }
4980
+ /** Raw vault entry from registry JSON */
4981
+ interface VaultRegistryEntry {
4982
+ vaultId: number;
4983
+ name: string;
4984
+ subname?: string;
4985
+ type: VaultType;
4986
+ category: VaultCategory;
4987
+ vaultAddress: string;
4988
+ depositToken: SupportedToken;
4989
+ pfee?: number;
4990
+ /** Optional Drift program ID (only for Drift vaults with non-default program) */
4991
+ driftProgramId?: string;
4992
+ /** Optional Bundle program ID (only for Bundle vaults with non-default V2 program) */
4993
+ bundleProgramId?: string;
4994
+ /** Points: eTVL multiplier (default 1) */
4995
+ pointsMultiplier?: number;
4996
+ /** Points: include in points calculation (default true) */
4997
+ pointsEnabled?: boolean;
4998
+ }
4999
+ /** Vault registry as a record keyed by vaultId */
5000
+ type VaultRegistry = Record<number, VaultRegistryEntry>;
5001
+ //#endregion
5002
+ //#region src/types/index.d.ts
5003
+ interface VaultBalanceData {
5004
+ balanceToken: number;
5005
+ balanceUsd: number;
5006
+ netEarnings: number;
5007
+ netEarningsUsd: number;
5008
+ totalDeposit: number;
5009
+ totalDepositUsd: number;
5010
+ pendingDeposit?: number;
5011
+ requestWithdrawToken?: number;
5012
+ highWaterMark?: number;
5013
+ /** Total profit share fee paid by the user */
5014
+ feesPaid?: number;
5015
+ pendingProfitShareFee?: number;
5016
+ spotPrice: number;
5017
+ /** User's vault shares (raw number, not divided by decimals) */
5018
+ vaultShares?: number;
5019
+ /** User's net deposits in token amount (already divided by decimals) */
5020
+ netDeposit?: number;
5021
+ asset: SupportedToken;
5022
+ }
5023
+ type UserBalanceResult = Record<number, VaultBalanceData | null>;
5024
+ //#endregion
5025
+ //#region src/constants/points-vaults.d.ts
5026
+ /** Points-ready vault entry (no full Token - consumer resolves depositToken) */
5027
+ interface PointsVaultEntry {
5028
+ vaultId: number;
5029
+ name: string;
5030
+ address: string;
5031
+ depositToken: string;
5032
+ type: VaultType;
5033
+ multiplier: number;
5034
+ enabled: boolean;
5035
+ bundleProgramId?: string;
5036
+ }
5037
+ /**
5038
+ * Get vaults that earn points, filtered by pointsEnabled !== false.
5039
+ * Returns entries ready for points backend consumption.
5040
+ */
5041
+ declare function getPointsVaults(registry: VaultRegistry): PointsVaultEntry[];
5042
+ //#endregion
4935
5043
  //#region src/constants/programs.d.ts
4936
5044
  declare enum BundleProgramId {
4937
5045
  V1 = "BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU",
4938
5046
  V2 = "BUNDeH5A4c47bcEoAjBhN3sCjLgYnRsmt9ibMztqVkC9",
4939
5047
  }
5048
+ /**
5049
+ * Create Bundle Program instances for a given provider
5050
+ */
5051
+ declare function createBundleProgramV1(provider: AnchorProvider): Program<NtbundleV1>;
5052
+ declare function createBundleProgramV2(provider: AnchorProvider$1): Program$1<NtbundleV2>;
5053
+ /**
5054
+ * Create both Bundle Program instances from a connection.
5055
+ * Use bundleProgramV1 for V1 vaults, bundleProgramV2 for V2 vaults (e.g. vault 69).
5056
+ */
5057
+ declare function createBundlePrograms(connection: Connection): {
5058
+ bundleProgramV1: Program<NtbundleV1>;
5059
+ bundleProgramV2: Program$1<NtbundleV2>;
5060
+ };
4940
5061
  //#endregion
4941
5062
  //#region src/constants/vault-ids.d.ts
4942
5063
  /**
@@ -5094,92 +5215,6 @@ declare enum VaultId {
5094
5215
  jlp_delta_neutral_vault_1_0 = 0,
5095
5216
  }
5096
5217
  //#endregion
5097
- //#region src/types/tokens.d.ts
5098
- declare enum SupportedChain {
5099
- Solana = "Solana",
5100
- Hyperliquid = "Hyperliquid",
5101
- }
5102
- declare enum SupportedToken {
5103
- USDC = "USDC",
5104
- USDT = "USDT",
5105
- SOL = "SOL",
5106
- WBTC = "WBTC",
5107
- WETH = "WETH",
5108
- JLP = "JLP",
5109
- }
5110
- interface Token {
5111
- name: string;
5112
- symbol: string;
5113
- onChain: { [chain in SupportedChain]: {
5114
- address: string;
5115
- decimals: number;
5116
- } | null };
5117
- }
5118
- declare const tokens: { [name in SupportedToken]: Token };
5119
- //#endregion
5120
- //#region src/types/bundle-types.d.ts
5121
- type UserBundleAccount = IdlAccounts<NtbundleV1>['userBundleAccount'] | IdlAccounts$1<NtbundleV2>['userBundleAccount'];
5122
- type OracleData = IdlAccounts<NtbundleV1>['oracleData'] | IdlAccounts$1<NtbundleV2>['oracleData'];
5123
- type BundleAccount = IdlAccounts<NtbundleV1>['bundle'] | IdlAccounts$1<NtbundleV2>['bundle'];
5124
- //#endregion
5125
- //#region src/types/vault-types.d.ts
5126
- declare enum VaultType {
5127
- Drift = "Drift",
5128
- Bundle = "Bundle",
5129
- Hyperliquid = "Hyperliquid",
5130
- Kamino = "Kamino",
5131
- }
5132
- declare enum VaultCategory {
5133
- marketNeutral = "Market Neutral",
5134
- directional = "Directional",
5135
- etf = "Index",
5136
- bet = "Bet",
5137
- savings = "Savings",
5138
- privateCredit = "Private Credit",
5139
- airdropFarming = "Airdrop Farming",
5140
- yieldEnhancement = "Yield Enhancement",
5141
- }
5142
- /** Raw vault entry from registry JSON */
5143
- interface VaultRegistryEntry {
5144
- vaultId: number;
5145
- name: string;
5146
- subname?: string;
5147
- type: VaultType;
5148
- category: VaultCategory;
5149
- vaultAddress: string;
5150
- depositToken: SupportedToken;
5151
- pfee?: number;
5152
- /** Optional Drift program ID (only for Drift vaults with non-default program) */
5153
- driftProgramId?: string;
5154
- /** Optional Bundle program ID (only for Bundle vaults with non-default V2 program) */
5155
- bundleProgramId?: string;
5156
- }
5157
- /** Vault registry as a record keyed by vaultId */
5158
- type VaultRegistry = Record<number, VaultRegistryEntry>;
5159
- //#endregion
5160
- //#region src/types/index.d.ts
5161
- interface VaultBalanceData {
5162
- balanceToken: number;
5163
- balanceUsd: number;
5164
- netEarnings: number;
5165
- netEarningsUsd: number;
5166
- totalDeposit: number;
5167
- totalDepositUsd: number;
5168
- pendingDeposit?: number;
5169
- requestWithdrawToken?: number;
5170
- highWaterMark?: number;
5171
- /** Total profit share fee paid by the user */
5172
- feesPaid?: number;
5173
- pendingProfitShareFee?: number;
5174
- spotPrice: number;
5175
- /** User's vault shares (raw number, not divided by decimals) */
5176
- vaultShares?: number;
5177
- /** User's net deposits in token amount (already divided by decimals) */
5178
- netDeposit?: number;
5179
- asset: SupportedToken;
5180
- }
5181
- type UserBalanceResult = Record<number, VaultBalanceData | null>;
5182
- //#endregion
5183
5218
  //#region src/constants/vaults.d.ts
5184
5219
  /**
5185
5220
  * Get Bundle Program ID for a vault config
@@ -5253,4 +5288,4 @@ declare function deriveUserPDA(userKey: PublicKey, bundlePDA: PublicKey, program
5253
5288
  */
5254
5289
  declare function getVaultDepositorAddressSync(programId: PublicKey, vault: PublicKey, authority: PublicKey): PublicKey;
5255
5290
  //#endregion
5256
- export { type BundleAccount, BundleProgramId, NeutralTrade, type NeutralTradeConfig, type OracleData, SupportedChain, SupportedToken, type Token, type UserBalanceResult, type UserBundleAccount, type VaultBalanceData, VaultCategory, type VaultRegistryEntry as VaultConfig, type VaultRegistry as VaultConfigRecord, VaultId, VaultType, deriveOraclePDA, deriveUserPDA, getBundleProgramId, getDriftProgramId, getVaultByAddress, getVaultById, getVaultDepositorAddressSync, isValidVaultAddress, tokens, vaults };
5291
+ export { type BundleAccount, BundleProgramId, NeutralTrade, type NeutralTradeConfig, type OracleData, type PointsVaultEntry, SupportedChain, SupportedToken, type Token, type UserBalanceResult, type UserBundleAccount, type VaultBalanceData, VaultCategory, type VaultRegistryEntry as VaultConfig, type VaultRegistry as VaultConfigRecord, VaultId, VaultType, createBundleProgramV1, createBundleProgramV2, createBundlePrograms, deriveOraclePDA, deriveUserPDA, getBundleProgramId, getDriftProgramId, getPointsVaults, getVaultByAddress, getVaultById, getVaultDepositorAddressSync, isValidVaultAddress, tokens, vaults };
package/dist/index.mjs CHANGED
@@ -5,6 +5,28 @@ import { IDL, VAULT_PROGRAM_ID, VaultClient } from "@drift-labs/vaults-sdk";
5
5
  import { z } from "zod";
6
6
  import { BulkAccountLoader, DriftClient, QUOTE_PRECISION, TEN, convertToNumber } from "@drift-labs/sdk";
7
7
 
8
+ //#region src/constants/points-vaults.ts
9
+ /**
10
+ * Get vaults that earn points, filtered by pointsEnabled !== false.
11
+ * Returns entries ready for points backend consumption.
12
+ */
13
+ function getPointsVaults(registry) {
14
+ return Object.values(registry).filter((v) => v.pointsEnabled !== false).map((v) => toPointsVaultEntry(v));
15
+ }
16
+ function toPointsVaultEntry(entry) {
17
+ return {
18
+ vaultId: entry.vaultId,
19
+ name: entry.subname ? `${entry.name} -- ${entry.subname}` : entry.name,
20
+ address: entry.vaultAddress,
21
+ depositToken: entry.depositToken,
22
+ type: entry.type,
23
+ multiplier: entry.pointsMultiplier ?? 1,
24
+ enabled: entry.pointsEnabled !== false,
25
+ bundleProgramId: entry.bundleProgramId
26
+ };
27
+ }
28
+
29
+ //#endregion
8
30
  //#region src/idl/bundle-v1.json
9
31
  var bundle_v1_default = {
10
32
  version: "0.1.0",
@@ -8064,6 +8086,31 @@ var bundle_v2_default = {
8064
8086
  ]
8065
8087
  };
8066
8088
 
8089
+ //#endregion
8090
+ //#region src/constants/addr.ts
8091
+ const ZERO_ADDRESS = new PublicKey("11111111111111111111111111111111");
8092
+ const WSOL_MINT = new PublicKey("So11111111111111111111111111111111111111112");
8093
+
8094
+ //#endregion
8095
+ //#region src/constants/client.ts
8096
+ function createDummyWallet() {
8097
+ return {
8098
+ publicKey: ZERO_ADDRESS,
8099
+ signTransaction: async (tx) => tx,
8100
+ signAllTransactions: async (txs) => txs,
8101
+ payer: Keypair.generate()
8102
+ };
8103
+ }
8104
+ function createConnection(rpcUrl) {
8105
+ return new Connection(rpcUrl, "confirmed");
8106
+ }
8107
+ function createAnchorProviderV29(connection, wallet) {
8108
+ return new AnchorProvider(connection, wallet ?? createDummyWallet(), AnchorProvider.defaultOptions());
8109
+ }
8110
+ function createAnchorProviderV32(connection, wallet) {
8111
+ return new AnchorProvider$1(connection, wallet ?? createDummyWallet(), AnchorProvider$1.defaultOptions());
8112
+ }
8113
+
8067
8114
  //#endregion
8068
8115
  //#region src/constants/programs.ts
8069
8116
  let BundleProgramId = /* @__PURE__ */ function(BundleProgramId$1) {
@@ -8080,6 +8127,18 @@ function createBundleProgramV1(provider) {
8080
8127
  function createBundleProgramV2(provider) {
8081
8128
  return new Program$1(bundle_v2_default, provider);
8082
8129
  }
8130
+ /**
8131
+ * Create both Bundle Program instances from a connection.
8132
+ * Use bundleProgramV1 for V1 vaults, bundleProgramV2 for V2 vaults (e.g. vault 69).
8133
+ */
8134
+ function createBundlePrograms(connection) {
8135
+ const providerV29 = createAnchorProviderV29(connection);
8136
+ const providerV32 = createAnchorProviderV32(connection);
8137
+ return {
8138
+ bundleProgramV1: createBundleProgramV1(providerV29),
8139
+ bundleProgramV2: createBundleProgramV2(providerV32)
8140
+ };
8141
+ }
8083
8142
 
8084
8143
  //#endregion
8085
8144
  //#region src/constants/vault-ids.ts
@@ -8248,6 +8307,8 @@ var vaults_default = [
8248
8307
  "type": "Bundle",
8249
8308
  "category": "Index",
8250
8309
  "vaultAddress": "7jEMJqWsHCkMDqChEuBwFo4yg27TSWFDooB8NorkGcjD",
8310
+ "pointsMultiplier": 1,
8311
+ "pointsEnabled": true,
8251
8312
  "depositToken": "USDC"
8252
8313
  },
8253
8314
  {
@@ -8257,7 +8318,9 @@ var vaults_default = [
8257
8318
  "type": "Bundle",
8258
8319
  "category": "Directional",
8259
8320
  "vaultAddress": "Eo3m78EQcHnwMyHtxaiz1vw4nwHa85RuGE8jLsrELhxj",
8260
- "depositToken": "USDC"
8321
+ "depositToken": "USDC",
8322
+ "pointsMultiplier": 1,
8323
+ "pointsEnabled": true
8261
8324
  },
8262
8325
  {
8263
8326
  "vaultId": 71,
@@ -8265,7 +8328,9 @@ var vaults_default = [
8265
8328
  "type": "Bundle",
8266
8329
  "category": "Market Neutral",
8267
8330
  "vaultAddress": "2bPiNfGc7exUcGkvV5nbsSkuNH3inFU18kgNEkB8fiaT",
8268
- "depositToken": "USDC"
8331
+ "depositToken": "USDC",
8332
+ "pointsMultiplier": 1,
8333
+ "pointsEnabled": true
8269
8334
  },
8270
8335
  {
8271
8336
  "vaultId": 70,
@@ -8273,7 +8338,9 @@ var vaults_default = [
8273
8338
  "type": "Bundle",
8274
8339
  "category": "Private Credit",
8275
8340
  "vaultAddress": "dvsWTBqogw1cou8ducadzc3YCmUssjrrio8LmMtNWmz",
8276
- "depositToken": "USDC"
8341
+ "depositToken": "USDC",
8342
+ "pointsMultiplier": 1,
8343
+ "pointsEnabled": true
8277
8344
  },
8278
8345
  {
8279
8346
  "vaultId": 69,
@@ -8283,7 +8350,9 @@ var vaults_default = [
8283
8350
  "category": "Market Neutral",
8284
8351
  "vaultAddress": "GiNbTRuRqvVGEEQGZKMjmwX84LrsbqfzVVNtWYbcZPCY",
8285
8352
  "depositToken": "USDC",
8286
- "bundleProgramId": "BUNDeH5A4c47bcEoAjBhN3sCjLgYnRsmt9ibMztqVkC9"
8353
+ "bundleProgramId": "BUNDeH5A4c47bcEoAjBhN3sCjLgYnRsmt9ibMztqVkC9",
8354
+ "pointsMultiplier": 1,
8355
+ "pointsEnabled": true
8287
8356
  },
8288
8357
  {
8289
8358
  "vaultId": 68,
@@ -8293,7 +8362,9 @@ var vaults_default = [
8293
8362
  "category": "Yield Enhancement",
8294
8363
  "vaultAddress": "DiZ2RKDmCxMwPy8tEQzeh6dhKDEB9F5yezyJpEYqQyk9",
8295
8364
  "depositToken": "SOL",
8296
- "pfee": .25
8365
+ "pfee": .25,
8366
+ "pointsMultiplier": 1,
8367
+ "pointsEnabled": false
8297
8368
  },
8298
8369
  {
8299
8370
  "vaultId": 67,
@@ -8301,7 +8372,9 @@ var vaults_default = [
8301
8372
  "type": "Bundle",
8302
8373
  "category": "Market Neutral",
8303
8374
  "vaultAddress": "976iyYPcj5obNC25A4SRP3quDLbDPeXLjF1cgUamMKBK",
8304
- "depositToken": "USDT"
8375
+ "depositToken": "USDT",
8376
+ "pointsMultiplier": 2,
8377
+ "pointsEnabled": false
8305
8378
  },
8306
8379
  {
8307
8380
  "vaultId": 66,
@@ -8309,7 +8382,9 @@ var vaults_default = [
8309
8382
  "type": "Bundle",
8310
8383
  "category": "Index",
8311
8384
  "vaultAddress": "FMtgtataz4L2efYanxTGpVjg4njNe2j8QLLsnw5zeBPx",
8312
- "depositToken": "USDC"
8385
+ "depositToken": "USDC",
8386
+ "pointsMultiplier": 2,
8387
+ "pointsEnabled": true
8313
8388
  },
8314
8389
  {
8315
8390
  "vaultId": 65,
@@ -8318,7 +8393,9 @@ var vaults_default = [
8318
8393
  "type": "Bundle",
8319
8394
  "category": "Market Neutral",
8320
8395
  "vaultAddress": "9cMB2bMsLa9hZjRnjxFhg2DM9CLmjabMsGvfQUtdgupk",
8321
- "depositToken": "USDC"
8396
+ "depositToken": "USDC",
8397
+ "pointsMultiplier": 2,
8398
+ "pointsEnabled": true
8322
8399
  },
8323
8400
  {
8324
8401
  "vaultId": 64,
@@ -8328,7 +8405,9 @@ var vaults_default = [
8328
8405
  "category": "Market Neutral",
8329
8406
  "vaultAddress": "2Z2YH1RAXS8CNJo3QkYpQ4WHGH9jzNQ5m8YunRkY65mf",
8330
8407
  "depositToken": "USDC",
8331
- "pfee": .2
8408
+ "pfee": .2,
8409
+ "pointsMultiplier": 2,
8410
+ "pointsEnabled": true
8332
8411
  },
8333
8412
  {
8334
8413
  "vaultId": 63,
@@ -8338,7 +8417,9 @@ var vaults_default = [
8338
8417
  "category": "Market Neutral",
8339
8418
  "vaultAddress": "8oZhUFmrA7p3SkVX7o4nFfSLsmt3KfCyW8grFydtvvuj",
8340
8419
  "depositToken": "USDC",
8341
- "pfee": .1
8420
+ "pfee": .1,
8421
+ "pointsMultiplier": 2,
8422
+ "pointsEnabled": true
8342
8423
  },
8343
8424
  {
8344
8425
  "vaultId": 62,
@@ -8348,7 +8429,9 @@ var vaults_default = [
8348
8429
  "category": "Market Neutral",
8349
8430
  "vaultAddress": "HhhFKvtkbz9v7nDxsFVD8Z3qSY2r9Ncc9rnKopFaGCkb",
8350
8431
  "depositToken": "USDC",
8351
- "pfee": .2
8432
+ "pfee": .2,
8433
+ "pointsMultiplier": 2,
8434
+ "pointsEnabled": true
8352
8435
  },
8353
8436
  {
8354
8437
  "vaultId": 61,
@@ -8357,7 +8440,9 @@ var vaults_default = [
8357
8440
  "type": "Kamino",
8358
8441
  "category": "Savings",
8359
8442
  "vaultAddress": "67dqmR76uAbjX6e81A1ganKv3ou31WUMEdeWJkwVfeXy",
8360
- "depositToken": "USDC"
8443
+ "depositToken": "USDC",
8444
+ "pointsMultiplier": 1,
8445
+ "pointsEnabled": true
8361
8446
  },
8362
8447
  {
8363
8448
  "vaultId": 60,
@@ -8365,7 +8450,9 @@ var vaults_default = [
8365
8450
  "type": "Bundle",
8366
8451
  "category": "Savings",
8367
8452
  "vaultAddress": "HWjMfYfc7KoPchoEDa5UFyVSpJxY3aV1RAccKvABYb9z",
8368
- "depositToken": "USDC"
8453
+ "depositToken": "USDC",
8454
+ "pointsMultiplier": 3,
8455
+ "pointsEnabled": true
8369
8456
  },
8370
8457
  {
8371
8458
  "vaultId": 59,
@@ -8375,7 +8462,9 @@ var vaults_default = [
8375
8462
  "category": "Market Neutral",
8376
8463
  "vaultAddress": "9vmBYT7hcjexuHM3iML3buTz3PchvULH5EfAjG12TtRZ",
8377
8464
  "depositToken": "USDC",
8378
- "pfee": .25
8465
+ "pfee": .25,
8466
+ "pointsMultiplier": 2,
8467
+ "pointsEnabled": true
8379
8468
  },
8380
8469
  {
8381
8470
  "vaultId": 58,
@@ -8385,7 +8474,8 @@ var vaults_default = [
8385
8474
  "category": "Index",
8386
8475
  "vaultAddress": "AHfaqTwFhWiX2DZrYbTivBpbrstNJRyjHG4mFPVpJS5n",
8387
8476
  "depositToken": "USDC",
8388
- "pfee": 0
8477
+ "pfee": 0,
8478
+ "pointsEnabled": false
8389
8479
  },
8390
8480
  {
8391
8481
  "vaultId": 57,
@@ -8395,7 +8485,9 @@ var vaults_default = [
8395
8485
  "category": "Market Neutral",
8396
8486
  "vaultAddress": "7qPbUA5HmxjpoxniqoH8r5SZ5dY1hqYXGr8QSZsRXynX",
8397
8487
  "depositToken": "USDC",
8398
- "pfee": .2
8488
+ "pfee": .2,
8489
+ "pointsMultiplier": 2,
8490
+ "pointsEnabled": true
8399
8491
  },
8400
8492
  {
8401
8493
  "vaultId": 56,
@@ -8403,7 +8495,8 @@ var vaults_default = [
8403
8495
  "type": "Hyperliquid",
8404
8496
  "category": "Bet",
8405
8497
  "vaultAddress": "0x799e0112977c37f8d93a768cf5a2305bdd3ae6f9",
8406
- "depositToken": "USDC"
8498
+ "depositToken": "USDC",
8499
+ "pointsEnabled": false
8407
8500
  },
8408
8501
  {
8409
8502
  "vaultId": 55,
@@ -8411,7 +8504,8 @@ var vaults_default = [
8411
8504
  "type": "Hyperliquid",
8412
8505
  "category": "Bet",
8413
8506
  "vaultAddress": "0xb03715bec4514ae7d338fcd85053ca227a1fb823",
8414
- "depositToken": "USDC"
8507
+ "depositToken": "USDC",
8508
+ "pointsEnabled": false
8415
8509
  },
8416
8510
  {
8417
8511
  "vaultId": 54,
@@ -8419,7 +8513,8 @@ var vaults_default = [
8419
8513
  "type": "Hyperliquid",
8420
8514
  "category": "Bet",
8421
8515
  "vaultAddress": "0xaae8a508a5e39c134a4d6a49d7dce82a17f84651",
8422
- "depositToken": "USDC"
8516
+ "depositToken": "USDC",
8517
+ "pointsEnabled": false
8423
8518
  },
8424
8519
  {
8425
8520
  "vaultId": 53,
@@ -8428,7 +8523,8 @@ var vaults_default = [
8428
8523
  "category": "Bet",
8429
8524
  "vaultAddress": "0xb2246d6f3ddeeca74cfd29dc3cce05c1746fcd68",
8430
8525
  "depositToken": "USDC",
8431
- "pfee": .1
8526
+ "pfee": .1,
8527
+ "pointsEnabled": false
8432
8528
  },
8433
8529
  {
8434
8530
  "vaultId": 52,
@@ -8437,7 +8533,9 @@ var vaults_default = [
8437
8533
  "type": "Bundle",
8438
8534
  "category": "Directional",
8439
8535
  "vaultAddress": "HDDrsNSYpfHHfr646T4vfZvXDKcbzYYBEGTietGgi7rh",
8440
- "depositToken": "USDC"
8536
+ "depositToken": "USDC",
8537
+ "pointsMultiplier": 1,
8538
+ "pointsEnabled": true
8441
8539
  },
8442
8540
  {
8443
8541
  "vaultId": 51,
@@ -8445,7 +8543,9 @@ var vaults_default = [
8445
8543
  "type": "Bundle",
8446
8544
  "category": "Private Credit",
8447
8545
  "vaultAddress": "AvK6eRQNXiFfGSibrA96qDEtACkPyoouGrRGseryZFdE",
8448
- "depositToken": "USDC"
8546
+ "depositToken": "USDC",
8547
+ "pointsMultiplier": 3,
8548
+ "pointsEnabled": false
8449
8549
  },
8450
8550
  {
8451
8551
  "vaultId": 50,
@@ -8453,7 +8553,8 @@ var vaults_default = [
8453
8553
  "type": "Bundle",
8454
8554
  "category": "Market Neutral",
8455
8555
  "vaultAddress": "HELqBHiykXecZqYEHSKFh7mzythQoM8CaXQuR6TESdPB",
8456
- "depositToken": "USDC"
8556
+ "depositToken": "USDC",
8557
+ "pointsEnabled": false
8457
8558
  },
8458
8559
  {
8459
8560
  "vaultId": 49,
@@ -8461,7 +8562,8 @@ var vaults_default = [
8461
8562
  "type": "Bundle",
8462
8563
  "category": "Market Neutral",
8463
8564
  "vaultAddress": "5XNsfSeuB3SgknCHrbrv47UgcNNUMoG8CBzUJnwPcSej",
8464
- "depositToken": "USDC"
8565
+ "depositToken": "USDC",
8566
+ "pointsEnabled": false
8465
8567
  },
8466
8568
  {
8467
8569
  "vaultId": 48,
@@ -8469,7 +8571,9 @@ var vaults_default = [
8469
8571
  "type": "Bundle",
8470
8572
  "category": "Market Neutral",
8471
8573
  "vaultAddress": "nE1x7KQq2sm3GQrafQUUdBkSPPT52FmiMM9qAS1dgnC",
8472
- "depositToken": "USDC"
8574
+ "depositToken": "USDC",
8575
+ "pointsMultiplier": 2,
8576
+ "pointsEnabled": true
8473
8577
  },
8474
8578
  {
8475
8579
  "vaultId": 47,
@@ -8478,7 +8582,8 @@ var vaults_default = [
8478
8582
  "category": "Bet",
8479
8583
  "vaultAddress": "7uUJtfVzhu6aXZypsARsAK8sjWsDxWJYUkaNzm3hTgid",
8480
8584
  "depositToken": "USDC",
8481
- "pfee": 0
8585
+ "pfee": 0,
8586
+ "pointsEnabled": false
8482
8587
  },
8483
8588
  {
8484
8589
  "vaultId": 46,
@@ -8487,7 +8592,9 @@ var vaults_default = [
8487
8592
  "category": "Index",
8488
8593
  "vaultAddress": "A1B9MVput3r1jS91iu8ckdDiMSugXbQeEtvJEQsUHsPi",
8489
8594
  "depositToken": "USDC",
8490
- "pfee": .15
8595
+ "pfee": .15,
8596
+ "pointsMultiplier": 2,
8597
+ "pointsEnabled": true
8491
8598
  },
8492
8599
  {
8493
8600
  "vaultId": 45,
@@ -8497,7 +8604,8 @@ var vaults_default = [
8497
8604
  "category": "Bet",
8498
8605
  "vaultAddress": "5cbTtvNVg1qc5L5Fcnz9R3X2QsYTtMCwBZRwBbuoEhn5",
8499
8606
  "depositToken": "USDC",
8500
- "pfee": 0
8607
+ "pfee": 0,
8608
+ "pointsEnabled": false
8501
8609
  },
8502
8610
  {
8503
8611
  "vaultId": 44,
@@ -8506,7 +8614,8 @@ var vaults_default = [
8506
8614
  "category": "Bet",
8507
8615
  "vaultAddress": "5BCDLjnQXv92AYySpdEpENgYhABaVf92fym1MYNyhVuo",
8508
8616
  "depositToken": "USDC",
8509
- "pfee": 0
8617
+ "pfee": 0,
8618
+ "pointsEnabled": false
8510
8619
  },
8511
8620
  {
8512
8621
  "vaultId": 43,
@@ -8516,7 +8625,8 @@ var vaults_default = [
8516
8625
  "category": "Market Neutral",
8517
8626
  "vaultAddress": "FBYp9toQEqNiGeP8BzyvRD1FUauJBFk5eYUEkgqvigZ5",
8518
8627
  "depositToken": "USDC",
8519
- "pfee": 0
8628
+ "pfee": 0,
8629
+ "pointsEnabled": false
8520
8630
  },
8521
8631
  {
8522
8632
  "vaultId": 42,
@@ -8526,7 +8636,8 @@ var vaults_default = [
8526
8636
  "category": "Savings",
8527
8637
  "vaultAddress": "494C23vX4h7Bhfyz92hScg71PXn9huG9SqY8mFYhRJoK",
8528
8638
  "depositToken": "WBTC",
8529
- "pfee": 0
8639
+ "pfee": 0,
8640
+ "pointsEnabled": false
8530
8641
  },
8531
8642
  {
8532
8643
  "vaultId": 41,
@@ -8536,7 +8647,8 @@ var vaults_default = [
8536
8647
  "category": "Savings",
8537
8648
  "vaultAddress": "8JjFwxduSVCY91s2yBVGgKSAKPwPkuTKEchjRw74Du5w",
8538
8649
  "depositToken": "WETH",
8539
- "pfee": 0
8650
+ "pfee": 0,
8651
+ "pointsEnabled": false
8540
8652
  },
8541
8653
  {
8542
8654
  "vaultId": 40,
@@ -8546,7 +8658,8 @@ var vaults_default = [
8546
8658
  "category": "Savings",
8547
8659
  "vaultAddress": "A6cPV4DrePTUUamBM87MDqK9kBy9vbucjhrCxtxzExK9",
8548
8660
  "depositToken": "SOL",
8549
- "pfee": 0
8661
+ "pfee": 0,
8662
+ "pointsEnabled": false
8550
8663
  },
8551
8664
  {
8552
8665
  "vaultId": 39,
@@ -8556,7 +8669,8 @@ var vaults_default = [
8556
8669
  "category": "Savings",
8557
8670
  "vaultAddress": "4i2L5zvzUM5LXqUYm35Ytv4BGSmnFVTqG5xtFfJesm14",
8558
8671
  "depositToken": "USDC",
8559
- "pfee": 0
8672
+ "pfee": 0,
8673
+ "pointsEnabled": false
8560
8674
  },
8561
8675
  {
8562
8676
  "vaultId": 38,
@@ -8565,7 +8679,8 @@ var vaults_default = [
8565
8679
  "category": "Airdrop Farming",
8566
8680
  "vaultAddress": "DzaHA2zD7XQhj2Z6tG9YxVtgcvJ4sqzeLYr8dszyQTEq",
8567
8681
  "depositToken": "USDC",
8568
- "pfee": 0
8682
+ "pfee": 0,
8683
+ "pointsEnabled": false
8569
8684
  },
8570
8685
  {
8571
8686
  "vaultId": 37,
@@ -8575,7 +8690,8 @@ var vaults_default = [
8575
8690
  "category": "Bet",
8576
8691
  "vaultAddress": "2csxi2M4uMijHW3CvnHqAYJ9CcLcZbGmDNKSz1qjRAVQ",
8577
8692
  "depositToken": "USDC",
8578
- "pfee": 0
8693
+ "pfee": 0,
8694
+ "pointsEnabled": false
8579
8695
  },
8580
8696
  {
8581
8697
  "vaultId": 36,
@@ -8585,7 +8701,9 @@ var vaults_default = [
8585
8701
  "category": "Market Neutral",
8586
8702
  "vaultAddress": "CG2zv4wsSetgs6mAucEKnHPwSoZSLYMwGroembTUNeaU",
8587
8703
  "depositToken": "JLP",
8588
- "pfee": 0
8704
+ "pfee": 0,
8705
+ "pointsMultiplier": 2,
8706
+ "pointsEnabled": true
8589
8707
  },
8590
8708
  {
8591
8709
  "vaultId": 35,
@@ -8595,7 +8713,8 @@ var vaults_default = [
8595
8713
  "category": "Market Neutral",
8596
8714
  "vaultAddress": "AAiykf4cgdFxz4kyRNuCFf9xFwy7c1gHiWacydmi1jLS",
8597
8715
  "depositToken": "USDC",
8598
- "pfee": .2
8716
+ "pfee": .2,
8717
+ "pointsEnabled": false
8599
8718
  },
8600
8719
  {
8601
8720
  "vaultId": 34,
@@ -8605,7 +8724,9 @@ var vaults_default = [
8605
8724
  "category": "Market Neutral",
8606
8725
  "vaultAddress": "5DPwSqEfaEsBH4zzZha35TpWRRPnWFfVgYZyK3zNswT7",
8607
8726
  "depositToken": "USDC",
8608
- "pfee": .2
8727
+ "pfee": .2,
8728
+ "pointsMultiplier": 2,
8729
+ "pointsEnabled": true
8609
8730
  },
8610
8731
  {
8611
8732
  "vaultId": 33,
@@ -8615,7 +8736,9 @@ var vaults_default = [
8615
8736
  "category": "Market Neutral",
8616
8737
  "vaultAddress": "6un71hP7xhpc8nqWWnbYPiamjAckEGH1A6zzenpGdZLf",
8617
8738
  "depositToken": "USDC",
8618
- "pfee": .25
8739
+ "pfee": .25,
8740
+ "pointsMultiplier": 2,
8741
+ "pointsEnabled": true
8619
8742
  },
8620
8743
  {
8621
8744
  "vaultId": 32,
@@ -8625,7 +8748,9 @@ var vaults_default = [
8625
8748
  "category": "Market Neutral",
8626
8749
  "vaultAddress": "5FqiXogZCcyZoNeTZzNvywY5s9ZRzNsPPkZ2Q4YRu6ww",
8627
8750
  "depositToken": "USDC",
8628
- "pfee": .2
8751
+ "pfee": .2,
8752
+ "pointsMultiplier": 2,
8753
+ "pointsEnabled": true
8629
8754
  },
8630
8755
  {
8631
8756
  "vaultId": 31,
@@ -8635,7 +8760,8 @@ var vaults_default = [
8635
8760
  "category": "Market Neutral",
8636
8761
  "vaultAddress": "9omhWDzVxpX1vPBxAhJpVao7baoVzZpNib32vozZLxGm",
8637
8762
  "depositToken": "USDC",
8638
- "pfee": .25
8763
+ "pfee": .25,
8764
+ "pointsEnabled": false
8639
8765
  },
8640
8766
  {
8641
8767
  "vaultId": 30,
@@ -8645,7 +8771,9 @@ var vaults_default = [
8645
8771
  "category": "Bet",
8646
8772
  "vaultAddress": "2zsHAfvD2BpmZbuPhc32dija8cXu8ow6n2yzyZTMvQ8V",
8647
8773
  "depositToken": "USDC",
8648
- "pfee": .1
8774
+ "pfee": .1,
8775
+ "pointsMultiplier": 1,
8776
+ "pointsEnabled": true
8649
8777
  },
8650
8778
  {
8651
8779
  "vaultId": 29,
@@ -8655,7 +8783,9 @@ var vaults_default = [
8655
8783
  "category": "Market Neutral",
8656
8784
  "vaultAddress": "46fQeq1UX5djNkrY5d942inhRHjp1cTZmWBeCUZoqWT3",
8657
8785
  "depositToken": "USDC",
8658
- "pfee": .25
8786
+ "pfee": .25,
8787
+ "pointsMultiplier": 2,
8788
+ "pointsEnabled": true
8659
8789
  },
8660
8790
  {
8661
8791
  "vaultId": 28,
@@ -8665,7 +8795,8 @@ var vaults_default = [
8665
8795
  "category": "Market Neutral",
8666
8796
  "vaultAddress": "1CUvZgVGaxV6sDUjFrWHyzukWBD2amUi3dQkvh9KKVA",
8667
8797
  "depositToken": "USDC",
8668
- "pfee": .2
8798
+ "pfee": .2,
8799
+ "pointsEnabled": false
8669
8800
  },
8670
8801
  {
8671
8802
  "vaultId": 27,
@@ -8675,7 +8806,8 @@ var vaults_default = [
8675
8806
  "category": "Market Neutral",
8676
8807
  "vaultAddress": "3UhqS9P4AhKMrCv7yE1LujgQS2xjFnRhANC5dPf2bZem",
8677
8808
  "depositToken": "USDC",
8678
- "pfee": .2
8809
+ "pfee": .2,
8810
+ "pointsEnabled": false
8679
8811
  },
8680
8812
  {
8681
8813
  "vaultId": 26,
@@ -8685,7 +8817,9 @@ var vaults_default = [
8685
8817
  "category": "Yield Enhancement",
8686
8818
  "vaultAddress": "6E2sh7ygUzXFJAafXX5sMeSj7eK6YkYqpoAzXm7bYtCw",
8687
8819
  "depositToken": "WBTC",
8688
- "pfee": .2
8820
+ "pfee": .2,
8821
+ "pointsMultiplier": 1,
8822
+ "pointsEnabled": true
8689
8823
  },
8690
8824
  {
8691
8825
  "vaultId": 25,
@@ -8695,7 +8829,9 @@ var vaults_default = [
8695
8829
  "category": "Market Neutral",
8696
8830
  "vaultAddress": "HS2anXrdps1S2DZCHepgzfcoaqSUWBBuuqTRMugJisP2",
8697
8831
  "depositToken": "USDC",
8698
- "pfee": .25
8832
+ "pfee": .25,
8833
+ "pointsMultiplier": 2,
8834
+ "pointsEnabled": true
8699
8835
  },
8700
8836
  {
8701
8837
  "vaultId": 24,
@@ -8705,7 +8841,8 @@ var vaults_default = [
8705
8841
  "category": "Market Neutral",
8706
8842
  "vaultAddress": "4H3wAK5tkT7G1vFrj6J9jWGvbaqVGkzPPBsp9qyKUYz9",
8707
8843
  "depositToken": "USDC",
8708
- "pfee": .2
8844
+ "pfee": .2,
8845
+ "pointsEnabled": false
8709
8846
  },
8710
8847
  {
8711
8848
  "vaultId": 23,
@@ -8715,7 +8852,9 @@ var vaults_default = [
8715
8852
  "category": "Market Neutral",
8716
8853
  "vaultAddress": "AwVR9y8Qw5erzrzE8hcs1j1se86yBwmrRidWb1qzaAy2",
8717
8854
  "depositToken": "USDC",
8718
- "pfee": .2
8855
+ "pfee": .2,
8856
+ "pointsMultiplier": 2,
8857
+ "pointsEnabled": true
8719
8858
  },
8720
8859
  {
8721
8860
  "vaultId": 22,
@@ -8725,7 +8864,8 @@ var vaults_default = [
8725
8864
  "category": "Market Neutral",
8726
8865
  "vaultAddress": "4iSH214QLwWnJQNwTH6VfH4oNcPccr7HnMmsybjnTtez",
8727
8866
  "depositToken": "USDC",
8728
- "pfee": .2
8867
+ "pfee": .2,
8868
+ "pointsEnabled": false
8729
8869
  },
8730
8870
  {
8731
8871
  "vaultId": 21,
@@ -8735,7 +8875,8 @@ var vaults_default = [
8735
8875
  "category": "Directional",
8736
8876
  "vaultAddress": "DbAX9qNiHrtrngLz8e5nBNWbmeGGVRKUQtxfGdENCFJS",
8737
8877
  "depositToken": "USDC",
8738
- "pfee": 0
8878
+ "pfee": 0,
8879
+ "pointsEnabled": false
8739
8880
  },
8740
8881
  {
8741
8882
  "vaultId": 20,
@@ -8745,7 +8886,8 @@ var vaults_default = [
8745
8886
  "category": "Market Neutral",
8746
8887
  "vaultAddress": "9V2LggfMo1EjaBbq3qBRBifD287m8zryrZgTR72grcCp",
8747
8888
  "depositToken": "USDC",
8748
- "pfee": .2
8889
+ "pfee": .2,
8890
+ "pointsEnabled": false
8749
8891
  },
8750
8892
  {
8751
8893
  "vaultId": 19,
@@ -8755,7 +8897,8 @@ var vaults_default = [
8755
8897
  "category": "Market Neutral",
8756
8898
  "vaultAddress": "GpMcLVnUqE1RyEB5rRFsFQJGKiPBBXqrpFsdbfUPgbqv",
8757
8899
  "depositToken": "USDC",
8758
- "pfee": .2
8900
+ "pfee": .2,
8901
+ "pointsEnabled": false
8759
8902
  },
8760
8903
  {
8761
8904
  "vaultId": 18,
@@ -8765,7 +8908,8 @@ var vaults_default = [
8765
8908
  "category": "Market Neutral",
8766
8909
  "vaultAddress": "HhLwXF15V3MTVG9ucGGmT6mcEuqt2BjHuTCJBi4Zvi4K",
8767
8910
  "depositToken": "USDC",
8768
- "pfee": .2
8911
+ "pfee": .2,
8912
+ "pointsEnabled": false
8769
8913
  },
8770
8914
  {
8771
8915
  "vaultId": 17,
@@ -8775,7 +8919,8 @@ var vaults_default = [
8775
8919
  "category": "Market Neutral",
8776
8920
  "vaultAddress": "5Wv7V9zLGD3g7JTXfYjpzFEs42kjowXqUHh7wQ5ryVef",
8777
8921
  "depositToken": "USDC",
8778
- "pfee": 0
8922
+ "pfee": 0,
8923
+ "pointsEnabled": false
8779
8924
  },
8780
8925
  {
8781
8926
  "vaultId": 16,
@@ -8785,7 +8930,9 @@ var vaults_default = [
8785
8930
  "category": "Market Neutral",
8786
8931
  "vaultAddress": "7ngzeBygEksaBvKzHEeihqoLpDpWqTNRMVh2wCyb6NP8",
8787
8932
  "depositToken": "USDC",
8788
- "pfee": .25
8933
+ "pfee": .25,
8934
+ "pointsMultiplier": 2,
8935
+ "pointsEnabled": true
8789
8936
  },
8790
8937
  {
8791
8938
  "vaultId": 15,
@@ -8795,7 +8942,8 @@ var vaults_default = [
8795
8942
  "category": "Yield Enhancement",
8796
8943
  "vaultAddress": "CYUyHzu6Z3JyBhfkQpZZwWqa2zpcmzaK1xXS96n8ea1U",
8797
8944
  "depositToken": "SOL",
8798
- "pfee": .2
8945
+ "pfee": .2,
8946
+ "pointsEnabled": false
8799
8947
  },
8800
8948
  {
8801
8949
  "vaultId": 14,
@@ -8805,7 +8953,8 @@ var vaults_default = [
8805
8953
  "category": "Market Neutral",
8806
8954
  "vaultAddress": "HTLvAjqc6Wkzh4i4QNLHhQHZAnrtVvkGyYeyCiUWLe9b",
8807
8955
  "depositToken": "USDC",
8808
- "pfee": .2
8956
+ "pfee": .2,
8957
+ "pointsEnabled": false
8809
8958
  },
8810
8959
  {
8811
8960
  "vaultId": 13,
@@ -8815,7 +8964,8 @@ var vaults_default = [
8815
8964
  "category": "Market Neutral",
8816
8965
  "vaultAddress": "6DFDj66PbPoTC16Sh51MJijoTTMYCbMCVC85tnc5UfQ3",
8817
8966
  "depositToken": "USDC",
8818
- "pfee": .2
8967
+ "pfee": .2,
8968
+ "pointsEnabled": false
8819
8969
  },
8820
8970
  {
8821
8971
  "vaultId": 12,
@@ -8825,7 +8975,8 @@ var vaults_default = [
8825
8975
  "category": "Market Neutral",
8826
8976
  "vaultAddress": "9BMEyctGvajEubk5iCRBnM9fkeTXUhrxaweYq34jZdC8",
8827
8977
  "depositToken": "USDC",
8828
- "pfee": .2
8978
+ "pfee": .2,
8979
+ "pointsEnabled": false
8829
8980
  },
8830
8981
  {
8831
8982
  "vaultId": 11,
@@ -8835,7 +8986,8 @@ var vaults_default = [
8835
8986
  "category": "Market Neutral",
8836
8987
  "vaultAddress": "4cvgasNfbJ36yeMVJSkscgL2Yco9dFGdj52Wrg91fmHv",
8837
8988
  "depositToken": "USDC",
8838
- "pfee": .25
8989
+ "pfee": .25,
8990
+ "pointsEnabled": false
8839
8991
  },
8840
8992
  {
8841
8993
  "vaultId": 10,
@@ -8845,7 +8997,8 @@ var vaults_default = [
8845
8997
  "category": "Market Neutral",
8846
8998
  "vaultAddress": "Fd3k4c6Dv7m9673ae87P6duQrftY9UVfwiCxngNbJrUQ",
8847
8999
  "depositToken": "USDC",
8848
- "pfee": .2
9000
+ "pfee": .2,
9001
+ "pointsEnabled": false
8849
9002
  },
8850
9003
  {
8851
9004
  "vaultId": 9,
@@ -8855,7 +9008,9 @@ var vaults_default = [
8855
9008
  "category": "Market Neutral",
8856
9009
  "vaultAddress": "DUW6uWcrsjYmsYDjp9iGDN4JdRa2MqznjuxjKVok5Fsj",
8857
9010
  "depositToken": "USDC",
8858
- "pfee": .2
9011
+ "pfee": .2,
9012
+ "pointsMultiplier": 2,
9013
+ "pointsEnabled": true
8859
9014
  },
8860
9015
  {
8861
9016
  "vaultId": 8,
@@ -8864,7 +9019,9 @@ var vaults_default = [
8864
9019
  "category": "Market Neutral",
8865
9020
  "vaultAddress": "CxL8eQmGhN9LKSoHj7bU95JekFPtyZoUc57mbehb5A56",
8866
9021
  "depositToken": "USDC",
8867
- "pfee": .25
9022
+ "pfee": .25,
9023
+ "pointsMultiplier": 1,
9024
+ "pointsEnabled": false
8868
9025
  },
8869
9026
  {
8870
9027
  "vaultId": 7,
@@ -8873,7 +9030,8 @@ var vaults_default = [
8873
9030
  "category": "Bet",
8874
9031
  "vaultAddress": "85XuR4kE5yxp1hk91WHAawinXZsuJowxy59STYYpM9pK",
8875
9032
  "depositToken": "USDC",
8876
- "pfee": .2
9033
+ "pfee": .2,
9034
+ "pointsEnabled": false
8877
9035
  },
8878
9036
  {
8879
9037
  "vaultId": 6,
@@ -8882,7 +9040,9 @@ var vaults_default = [
8882
9040
  "category": "Yield Enhancement",
8883
9041
  "vaultAddress": "ENr5e1BMN5vFUHf4iCCPzR4GjWCKgtHnQcdniRQqMdEL",
8884
9042
  "depositToken": "WETH",
8885
- "pfee": .2
9043
+ "pfee": .2,
9044
+ "pointsMultiplier": 1,
9045
+ "pointsEnabled": true
8886
9046
  },
8887
9047
  {
8888
9048
  "vaultId": 5,
@@ -8892,7 +9052,8 @@ var vaults_default = [
8892
9052
  "category": "Market Neutral",
8893
9053
  "vaultAddress": "CZU38L2NyL6tqFxzYAGYkmkf2JG98tZfZ2CnUapVgXQe",
8894
9054
  "depositToken": "USDC",
8895
- "pfee": .2
9055
+ "pfee": .2,
9056
+ "pointsEnabled": false
8896
9057
  },
8897
9058
  {
8898
9059
  "vaultId": 4,
@@ -8902,7 +9063,9 @@ var vaults_default = [
8902
9063
  "category": "Market Neutral",
8903
9064
  "vaultAddress": "41Y8C4oxk4zgJT1KXyQr35UhZcfsp5mP86Z2G7UUzojU",
8904
9065
  "depositToken": "USDC",
8905
- "pfee": .25
9066
+ "pfee": .25,
9067
+ "pointsMultiplier": 2,
9068
+ "pointsEnabled": true
8906
9069
  },
8907
9070
  {
8908
9071
  "vaultId": 3,
@@ -8911,7 +9074,9 @@ var vaults_default = [
8911
9074
  "category": "Yield Enhancement",
8912
9075
  "vaultAddress": "BVddkVtFJLCihbVrtLo8e3iEd9NftuLunaznAxFFW8vf",
8913
9076
  "depositToken": "WBTC",
8914
- "pfee": .2
9077
+ "pfee": .2,
9078
+ "pointsMultiplier": 1,
9079
+ "pointsEnabled": true
8915
9080
  },
8916
9081
  {
8917
9082
  "vaultId": 2,
@@ -8920,7 +9085,9 @@ var vaults_default = [
8920
9085
  "category": "Bet",
8921
9086
  "vaultAddress": "2r81MPMDjGSrbmGRwzDg6aqhe3t3vbKcrYfpes5bXckS",
8922
9087
  "depositToken": "USDC",
8923
- "pfee": .2
9088
+ "pfee": .2,
9089
+ "pointsMultiplier": 1,
9090
+ "pointsEnabled": false
8924
9091
  },
8925
9092
  {
8926
9093
  "vaultId": 1,
@@ -8929,7 +9096,9 @@ var vaults_default = [
8929
9096
  "category": "Yield Enhancement",
8930
9097
  "vaultAddress": "EuSLjg23BrtwYAk1t4TFe5ArYSXCVXLBqrHRBfWQiTeJ",
8931
9098
  "depositToken": "SOL",
8932
- "pfee": .2
9099
+ "pfee": .2,
9100
+ "pointsMultiplier": 1,
9101
+ "pointsEnabled": true
8933
9102
  },
8934
9103
  {
8935
9104
  "vaultId": 0,
@@ -8940,7 +9109,8 @@ var vaults_default = [
8940
9109
  "vaultAddress": "3Nkctq19AW7gs5hkxixUDjS9UVjmCwcNCo7rqPpub87c",
8941
9110
  "depositToken": "USDC",
8942
9111
  "pfee": .25,
8943
- "driftProgramId": "9Fcn3Fd4d5ocrb12xCUtEvezxcjFEAyHBPfrZDiPt9Qj"
9112
+ "driftProgramId": "9Fcn3Fd4d5ocrb12xCUtEvezxcjFEAyHBPfrZDiPt9Qj",
9113
+ "pointsEnabled": false
8944
9114
  }
8945
9115
  ];
8946
9116
 
@@ -9060,7 +9230,9 @@ const VaultRegistryEntrySchema = z.object({
9060
9230
  depositToken: z.nativeEnum(SupportedToken),
9061
9231
  pfee: z.number().min(0).max(1).optional(),
9062
9232
  driftProgramId: z.string().min(32).max(44).optional(),
9063
- bundleProgramId: z.string().min(32).max(44).optional()
9233
+ bundleProgramId: z.string().min(32).max(44).optional(),
9234
+ pointsMultiplier: z.number().min(0).optional(),
9235
+ pointsEnabled: z.boolean().optional()
9064
9236
  });
9065
9237
  /** Schema for validating array of registry entries */
9066
9238
  const VaultRegistryArraySchema = z.array(VaultRegistryEntrySchema).superRefine((vaults$1, ctx) => {
@@ -9126,31 +9298,6 @@ function getVaultById(vaultId) {
9126
9298
  return vaults[vaultId];
9127
9299
  }
9128
9300
 
9129
- //#endregion
9130
- //#region src/constants/addr.ts
9131
- const ZERO_ADDRESS = new PublicKey("11111111111111111111111111111111");
9132
- const WSOL_MINT = new PublicKey("So11111111111111111111111111111111111111112");
9133
-
9134
- //#endregion
9135
- //#region src/constants/client.ts
9136
- function createDummyWallet() {
9137
- return {
9138
- publicKey: ZERO_ADDRESS,
9139
- signTransaction: async (tx) => tx,
9140
- signAllTransactions: async (txs) => txs,
9141
- payer: Keypair.generate()
9142
- };
9143
- }
9144
- function createConnection(rpcUrl) {
9145
- return new Connection(rpcUrl, "confirmed");
9146
- }
9147
- function createAnchorProviderV29(connection, wallet) {
9148
- return new AnchorProvider(connection, wallet ?? createDummyWallet(), AnchorProvider.defaultOptions());
9149
- }
9150
- function createAnchorProviderV32(connection, wallet) {
9151
- return new AnchorProvider$1(connection, wallet ?? createDummyWallet(), AnchorProvider$1.defaultOptions());
9152
- }
9153
-
9154
9301
  //#endregion
9155
9302
  //#region src/utils/pda.ts
9156
9303
  const encoder = new TextEncoder();
@@ -9587,4 +9734,4 @@ var NeutralTrade = class NeutralTrade {
9587
9734
  };
9588
9735
 
9589
9736
  //#endregion
9590
- export { BundleProgramId, NeutralTrade, SupportedChain, SupportedToken, VaultCategory, VaultId, VaultType, deriveOraclePDA, deriveUserPDA, getBundleProgramId, getDriftProgramId, getVaultByAddress, getVaultById, getVaultDepositorAddressSync, isValidVaultAddress, tokens, vaults };
9737
+ export { BundleProgramId, NeutralTrade, SupportedChain, SupportedToken, VaultCategory, VaultId, VaultType, createBundleProgramV1, createBundleProgramV2, createBundlePrograms, deriveOraclePDA, deriveUserPDA, getBundleProgramId, getDriftProgramId, getPointsVaults, getVaultByAddress, getVaultById, getVaultDepositorAddressSync, isValidVaultAddress, tokens, vaults };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@neutral-trade/sdk",
3
3
  "type": "module",
4
- "version": "0.1.10",
4
+ "version": "0.1.12",
5
5
  "description": "SDK for Neutral Trade vaults",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/neutral-trade/sdk#readme",