@neutral-trade/sdk 0.1.9 → 0.1.11

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,6 +4955,91 @@ 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",
@@ -4944,6 +5052,8 @@ declare enum BundleProgramId {
4944
5052
  * These are auto-generated from the vault registry
4945
5053
  */
4946
5054
  declare enum VaultId {
5055
+ /** Great Debasement */
5056
+ great_debasement_73 = 73,
4947
5057
  /** CTA-Adaptive Alpha - Atlas Research */
4948
5058
  cta_adaptive_alpha_atlas_research_72 = 72,
4949
5059
  /** Hyperithm Cross-Exchange Arb */
@@ -5092,92 +5202,6 @@ declare enum VaultId {
5092
5202
  jlp_delta_neutral_vault_1_0 = 0,
5093
5203
  }
5094
5204
  //#endregion
5095
- //#region src/types/tokens.d.ts
5096
- declare enum SupportedChain {
5097
- Solana = "Solana",
5098
- Hyperliquid = "Hyperliquid",
5099
- }
5100
- declare enum SupportedToken {
5101
- USDC = "USDC",
5102
- USDT = "USDT",
5103
- SOL = "SOL",
5104
- WBTC = "WBTC",
5105
- WETH = "WETH",
5106
- JLP = "JLP",
5107
- }
5108
- interface Token {
5109
- name: string;
5110
- symbol: string;
5111
- onChain: { [chain in SupportedChain]: {
5112
- address: string;
5113
- decimals: number;
5114
- } | null };
5115
- }
5116
- declare const tokens: { [name in SupportedToken]: Token };
5117
- //#endregion
5118
- //#region src/types/bundle-types.d.ts
5119
- type UserBundleAccount = IdlAccounts<NtbundleV1>['userBundleAccount'] | IdlAccounts$1<NtbundleV2>['userBundleAccount'];
5120
- type OracleData = IdlAccounts<NtbundleV1>['oracleData'] | IdlAccounts$1<NtbundleV2>['oracleData'];
5121
- type BundleAccount = IdlAccounts<NtbundleV1>['bundle'] | IdlAccounts$1<NtbundleV2>['bundle'];
5122
- //#endregion
5123
- //#region src/types/vault-types.d.ts
5124
- declare enum VaultType {
5125
- Drift = "Drift",
5126
- Bundle = "Bundle",
5127
- Hyperliquid = "Hyperliquid",
5128
- Kamino = "Kamino",
5129
- }
5130
- declare enum VaultCategory {
5131
- marketNeutral = "Market Neutral",
5132
- directional = "Directional",
5133
- etf = "Index",
5134
- bet = "Bet",
5135
- savings = "Savings",
5136
- privateCredit = "Private Credit",
5137
- airdropFarming = "Airdrop Farming",
5138
- yieldEnhancement = "Yield Enhancement",
5139
- }
5140
- /** Raw vault entry from registry JSON */
5141
- interface VaultRegistryEntry {
5142
- vaultId: number;
5143
- name: string;
5144
- subname?: string;
5145
- type: VaultType;
5146
- category: VaultCategory;
5147
- vaultAddress: string;
5148
- depositToken: SupportedToken;
5149
- pfee?: number;
5150
- /** Optional Drift program ID (only for Drift vaults with non-default program) */
5151
- driftProgramId?: string;
5152
- /** Optional Bundle program ID (only for Bundle vaults with non-default V2 program) */
5153
- bundleProgramId?: string;
5154
- }
5155
- /** Vault registry as a record keyed by vaultId */
5156
- type VaultRegistry = Record<number, VaultRegistryEntry>;
5157
- //#endregion
5158
- //#region src/types/index.d.ts
5159
- interface VaultBalanceData {
5160
- balanceToken: number;
5161
- balanceUsd: number;
5162
- netEarnings: number;
5163
- netEarningsUsd: number;
5164
- totalDeposit: number;
5165
- totalDepositUsd: number;
5166
- pendingDeposit?: number;
5167
- requestWithdrawToken?: number;
5168
- highWaterMark?: number;
5169
- /** Total profit share fee paid by the user */
5170
- feesPaid?: number;
5171
- pendingProfitShareFee?: number;
5172
- spotPrice: number;
5173
- /** User's vault shares (raw number, not divided by decimals) */
5174
- vaultShares?: number;
5175
- /** User's net deposits in token amount (already divided by decimals) */
5176
- netDeposit?: number;
5177
- asset: SupportedToken;
5178
- }
5179
- type UserBalanceResult = Record<number, VaultBalanceData | null>;
5180
- //#endregion
5181
5205
  //#region src/constants/vaults.d.ts
5182
5206
  /**
5183
5207
  * Get Bundle Program ID for a vault config
@@ -5251,4 +5275,4 @@ declare function deriveUserPDA(userKey: PublicKey, bundlePDA: PublicKey, program
5251
5275
  */
5252
5276
  declare function getVaultDepositorAddressSync(programId: PublicKey, vault: PublicKey, authority: PublicKey): PublicKey;
5253
5277
  //#endregion
5254
- 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 };
5278
+ 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, 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",
@@ -8088,6 +8110,8 @@ function createBundleProgramV2(provider) {
8088
8110
  * These are auto-generated from the vault registry
8089
8111
  */
8090
8112
  let VaultId = /* @__PURE__ */ function(VaultId$1) {
8113
+ /** Great Debasement */
8114
+ VaultId$1[VaultId$1["great_debasement_73"] = 73] = "great_debasement_73";
8091
8115
  /** CTA-Adaptive Alpha - Atlas Research */
8092
8116
  VaultId$1[VaultId$1["cta_adaptive_alpha_atlas_research_72"] = 72] = "cta_adaptive_alpha_atlas_research_72";
8093
8117
  /** Hyperithm Cross-Exchange Arb */
@@ -8240,6 +8264,16 @@ let VaultId = /* @__PURE__ */ function(VaultId$1) {
8240
8264
  //#endregion
8241
8265
  //#region src/registry/vaults.json
8242
8266
  var vaults_default = [
8267
+ {
8268
+ "vaultId": 73,
8269
+ "name": "Great Debasement",
8270
+ "type": "Bundle",
8271
+ "category": "Index",
8272
+ "vaultAddress": "7jEMJqWsHCkMDqChEuBwFo4yg27TSWFDooB8NorkGcjD",
8273
+ "pointsMultiplier": 1,
8274
+ "pointsEnabled": true,
8275
+ "depositToken": "USDC"
8276
+ },
8243
8277
  {
8244
8278
  "vaultId": 72,
8245
8279
  "name": "CTA-Adaptive Alpha",
@@ -8247,7 +8281,9 @@ var vaults_default = [
8247
8281
  "type": "Bundle",
8248
8282
  "category": "Directional",
8249
8283
  "vaultAddress": "Eo3m78EQcHnwMyHtxaiz1vw4nwHa85RuGE8jLsrELhxj",
8250
- "depositToken": "USDC"
8284
+ "depositToken": "USDC",
8285
+ "pointsMultiplier": 1,
8286
+ "pointsEnabled": true
8251
8287
  },
8252
8288
  {
8253
8289
  "vaultId": 71,
@@ -8255,7 +8291,9 @@ var vaults_default = [
8255
8291
  "type": "Bundle",
8256
8292
  "category": "Market Neutral",
8257
8293
  "vaultAddress": "2bPiNfGc7exUcGkvV5nbsSkuNH3inFU18kgNEkB8fiaT",
8258
- "depositToken": "USDC"
8294
+ "depositToken": "USDC",
8295
+ "pointsMultiplier": 1,
8296
+ "pointsEnabled": true
8259
8297
  },
8260
8298
  {
8261
8299
  "vaultId": 70,
@@ -8263,7 +8301,9 @@ var vaults_default = [
8263
8301
  "type": "Bundle",
8264
8302
  "category": "Private Credit",
8265
8303
  "vaultAddress": "dvsWTBqogw1cou8ducadzc3YCmUssjrrio8LmMtNWmz",
8266
- "depositToken": "USDC"
8304
+ "depositToken": "USDC",
8305
+ "pointsMultiplier": 1,
8306
+ "pointsEnabled": true
8267
8307
  },
8268
8308
  {
8269
8309
  "vaultId": 69,
@@ -8273,7 +8313,9 @@ var vaults_default = [
8273
8313
  "category": "Market Neutral",
8274
8314
  "vaultAddress": "GiNbTRuRqvVGEEQGZKMjmwX84LrsbqfzVVNtWYbcZPCY",
8275
8315
  "depositToken": "USDC",
8276
- "bundleProgramId": "BUNDeH5A4c47bcEoAjBhN3sCjLgYnRsmt9ibMztqVkC9"
8316
+ "bundleProgramId": "BUNDeH5A4c47bcEoAjBhN3sCjLgYnRsmt9ibMztqVkC9",
8317
+ "pointsMultiplier": 1,
8318
+ "pointsEnabled": true
8277
8319
  },
8278
8320
  {
8279
8321
  "vaultId": 68,
@@ -8283,7 +8325,9 @@ var vaults_default = [
8283
8325
  "category": "Yield Enhancement",
8284
8326
  "vaultAddress": "DiZ2RKDmCxMwPy8tEQzeh6dhKDEB9F5yezyJpEYqQyk9",
8285
8327
  "depositToken": "SOL",
8286
- "pfee": .25
8328
+ "pfee": .25,
8329
+ "pointsMultiplier": 1,
8330
+ "pointsEnabled": false
8287
8331
  },
8288
8332
  {
8289
8333
  "vaultId": 67,
@@ -8291,7 +8335,9 @@ var vaults_default = [
8291
8335
  "type": "Bundle",
8292
8336
  "category": "Market Neutral",
8293
8337
  "vaultAddress": "976iyYPcj5obNC25A4SRP3quDLbDPeXLjF1cgUamMKBK",
8294
- "depositToken": "USDT"
8338
+ "depositToken": "USDT",
8339
+ "pointsMultiplier": 2,
8340
+ "pointsEnabled": false
8295
8341
  },
8296
8342
  {
8297
8343
  "vaultId": 66,
@@ -8299,7 +8345,9 @@ var vaults_default = [
8299
8345
  "type": "Bundle",
8300
8346
  "category": "Index",
8301
8347
  "vaultAddress": "FMtgtataz4L2efYanxTGpVjg4njNe2j8QLLsnw5zeBPx",
8302
- "depositToken": "USDC"
8348
+ "depositToken": "USDC",
8349
+ "pointsMultiplier": 2,
8350
+ "pointsEnabled": true
8303
8351
  },
8304
8352
  {
8305
8353
  "vaultId": 65,
@@ -8308,7 +8356,9 @@ var vaults_default = [
8308
8356
  "type": "Bundle",
8309
8357
  "category": "Market Neutral",
8310
8358
  "vaultAddress": "9cMB2bMsLa9hZjRnjxFhg2DM9CLmjabMsGvfQUtdgupk",
8311
- "depositToken": "USDC"
8359
+ "depositToken": "USDC",
8360
+ "pointsMultiplier": 2,
8361
+ "pointsEnabled": true
8312
8362
  },
8313
8363
  {
8314
8364
  "vaultId": 64,
@@ -8318,7 +8368,9 @@ var vaults_default = [
8318
8368
  "category": "Market Neutral",
8319
8369
  "vaultAddress": "2Z2YH1RAXS8CNJo3QkYpQ4WHGH9jzNQ5m8YunRkY65mf",
8320
8370
  "depositToken": "USDC",
8321
- "pfee": .2
8371
+ "pfee": .2,
8372
+ "pointsMultiplier": 2,
8373
+ "pointsEnabled": true
8322
8374
  },
8323
8375
  {
8324
8376
  "vaultId": 63,
@@ -8328,7 +8380,9 @@ var vaults_default = [
8328
8380
  "category": "Market Neutral",
8329
8381
  "vaultAddress": "8oZhUFmrA7p3SkVX7o4nFfSLsmt3KfCyW8grFydtvvuj",
8330
8382
  "depositToken": "USDC",
8331
- "pfee": .1
8383
+ "pfee": .1,
8384
+ "pointsMultiplier": 2,
8385
+ "pointsEnabled": true
8332
8386
  },
8333
8387
  {
8334
8388
  "vaultId": 62,
@@ -8338,7 +8392,9 @@ var vaults_default = [
8338
8392
  "category": "Market Neutral",
8339
8393
  "vaultAddress": "HhhFKvtkbz9v7nDxsFVD8Z3qSY2r9Ncc9rnKopFaGCkb",
8340
8394
  "depositToken": "USDC",
8341
- "pfee": .2
8395
+ "pfee": .2,
8396
+ "pointsMultiplier": 2,
8397
+ "pointsEnabled": true
8342
8398
  },
8343
8399
  {
8344
8400
  "vaultId": 61,
@@ -8347,7 +8403,9 @@ var vaults_default = [
8347
8403
  "type": "Kamino",
8348
8404
  "category": "Savings",
8349
8405
  "vaultAddress": "67dqmR76uAbjX6e81A1ganKv3ou31WUMEdeWJkwVfeXy",
8350
- "depositToken": "USDC"
8406
+ "depositToken": "USDC",
8407
+ "pointsMultiplier": 1,
8408
+ "pointsEnabled": true
8351
8409
  },
8352
8410
  {
8353
8411
  "vaultId": 60,
@@ -8355,7 +8413,9 @@ var vaults_default = [
8355
8413
  "type": "Bundle",
8356
8414
  "category": "Savings",
8357
8415
  "vaultAddress": "HWjMfYfc7KoPchoEDa5UFyVSpJxY3aV1RAccKvABYb9z",
8358
- "depositToken": "USDC"
8416
+ "depositToken": "USDC",
8417
+ "pointsMultiplier": 3,
8418
+ "pointsEnabled": true
8359
8419
  },
8360
8420
  {
8361
8421
  "vaultId": 59,
@@ -8365,7 +8425,9 @@ var vaults_default = [
8365
8425
  "category": "Market Neutral",
8366
8426
  "vaultAddress": "9vmBYT7hcjexuHM3iML3buTz3PchvULH5EfAjG12TtRZ",
8367
8427
  "depositToken": "USDC",
8368
- "pfee": .25
8428
+ "pfee": .25,
8429
+ "pointsMultiplier": 2,
8430
+ "pointsEnabled": true
8369
8431
  },
8370
8432
  {
8371
8433
  "vaultId": 58,
@@ -8375,7 +8437,8 @@ var vaults_default = [
8375
8437
  "category": "Index",
8376
8438
  "vaultAddress": "AHfaqTwFhWiX2DZrYbTivBpbrstNJRyjHG4mFPVpJS5n",
8377
8439
  "depositToken": "USDC",
8378
- "pfee": 0
8440
+ "pfee": 0,
8441
+ "pointsEnabled": false
8379
8442
  },
8380
8443
  {
8381
8444
  "vaultId": 57,
@@ -8385,7 +8448,9 @@ var vaults_default = [
8385
8448
  "category": "Market Neutral",
8386
8449
  "vaultAddress": "7qPbUA5HmxjpoxniqoH8r5SZ5dY1hqYXGr8QSZsRXynX",
8387
8450
  "depositToken": "USDC",
8388
- "pfee": .2
8451
+ "pfee": .2,
8452
+ "pointsMultiplier": 2,
8453
+ "pointsEnabled": true
8389
8454
  },
8390
8455
  {
8391
8456
  "vaultId": 56,
@@ -8393,7 +8458,8 @@ var vaults_default = [
8393
8458
  "type": "Hyperliquid",
8394
8459
  "category": "Bet",
8395
8460
  "vaultAddress": "0x799e0112977c37f8d93a768cf5a2305bdd3ae6f9",
8396
- "depositToken": "USDC"
8461
+ "depositToken": "USDC",
8462
+ "pointsEnabled": false
8397
8463
  },
8398
8464
  {
8399
8465
  "vaultId": 55,
@@ -8401,7 +8467,8 @@ var vaults_default = [
8401
8467
  "type": "Hyperliquid",
8402
8468
  "category": "Bet",
8403
8469
  "vaultAddress": "0xb03715bec4514ae7d338fcd85053ca227a1fb823",
8404
- "depositToken": "USDC"
8470
+ "depositToken": "USDC",
8471
+ "pointsEnabled": false
8405
8472
  },
8406
8473
  {
8407
8474
  "vaultId": 54,
@@ -8409,7 +8476,8 @@ var vaults_default = [
8409
8476
  "type": "Hyperliquid",
8410
8477
  "category": "Bet",
8411
8478
  "vaultAddress": "0xaae8a508a5e39c134a4d6a49d7dce82a17f84651",
8412
- "depositToken": "USDC"
8479
+ "depositToken": "USDC",
8480
+ "pointsEnabled": false
8413
8481
  },
8414
8482
  {
8415
8483
  "vaultId": 53,
@@ -8418,7 +8486,8 @@ var vaults_default = [
8418
8486
  "category": "Bet",
8419
8487
  "vaultAddress": "0xb2246d6f3ddeeca74cfd29dc3cce05c1746fcd68",
8420
8488
  "depositToken": "USDC",
8421
- "pfee": .1
8489
+ "pfee": .1,
8490
+ "pointsEnabled": false
8422
8491
  },
8423
8492
  {
8424
8493
  "vaultId": 52,
@@ -8427,7 +8496,9 @@ var vaults_default = [
8427
8496
  "type": "Bundle",
8428
8497
  "category": "Directional",
8429
8498
  "vaultAddress": "HDDrsNSYpfHHfr646T4vfZvXDKcbzYYBEGTietGgi7rh",
8430
- "depositToken": "USDC"
8499
+ "depositToken": "USDC",
8500
+ "pointsMultiplier": 1,
8501
+ "pointsEnabled": true
8431
8502
  },
8432
8503
  {
8433
8504
  "vaultId": 51,
@@ -8435,7 +8506,9 @@ var vaults_default = [
8435
8506
  "type": "Bundle",
8436
8507
  "category": "Private Credit",
8437
8508
  "vaultAddress": "AvK6eRQNXiFfGSibrA96qDEtACkPyoouGrRGseryZFdE",
8438
- "depositToken": "USDC"
8509
+ "depositToken": "USDC",
8510
+ "pointsMultiplier": 3,
8511
+ "pointsEnabled": false
8439
8512
  },
8440
8513
  {
8441
8514
  "vaultId": 50,
@@ -8443,7 +8516,8 @@ var vaults_default = [
8443
8516
  "type": "Bundle",
8444
8517
  "category": "Market Neutral",
8445
8518
  "vaultAddress": "HELqBHiykXecZqYEHSKFh7mzythQoM8CaXQuR6TESdPB",
8446
- "depositToken": "USDC"
8519
+ "depositToken": "USDC",
8520
+ "pointsEnabled": false
8447
8521
  },
8448
8522
  {
8449
8523
  "vaultId": 49,
@@ -8451,7 +8525,8 @@ var vaults_default = [
8451
8525
  "type": "Bundle",
8452
8526
  "category": "Market Neutral",
8453
8527
  "vaultAddress": "5XNsfSeuB3SgknCHrbrv47UgcNNUMoG8CBzUJnwPcSej",
8454
- "depositToken": "USDC"
8528
+ "depositToken": "USDC",
8529
+ "pointsEnabled": false
8455
8530
  },
8456
8531
  {
8457
8532
  "vaultId": 48,
@@ -8459,7 +8534,9 @@ var vaults_default = [
8459
8534
  "type": "Bundle",
8460
8535
  "category": "Market Neutral",
8461
8536
  "vaultAddress": "nE1x7KQq2sm3GQrafQUUdBkSPPT52FmiMM9qAS1dgnC",
8462
- "depositToken": "USDC"
8537
+ "depositToken": "USDC",
8538
+ "pointsMultiplier": 2,
8539
+ "pointsEnabled": true
8463
8540
  },
8464
8541
  {
8465
8542
  "vaultId": 47,
@@ -8468,7 +8545,8 @@ var vaults_default = [
8468
8545
  "category": "Bet",
8469
8546
  "vaultAddress": "7uUJtfVzhu6aXZypsARsAK8sjWsDxWJYUkaNzm3hTgid",
8470
8547
  "depositToken": "USDC",
8471
- "pfee": 0
8548
+ "pfee": 0,
8549
+ "pointsEnabled": false
8472
8550
  },
8473
8551
  {
8474
8552
  "vaultId": 46,
@@ -8477,7 +8555,9 @@ var vaults_default = [
8477
8555
  "category": "Index",
8478
8556
  "vaultAddress": "A1B9MVput3r1jS91iu8ckdDiMSugXbQeEtvJEQsUHsPi",
8479
8557
  "depositToken": "USDC",
8480
- "pfee": .15
8558
+ "pfee": .15,
8559
+ "pointsMultiplier": 2,
8560
+ "pointsEnabled": true
8481
8561
  },
8482
8562
  {
8483
8563
  "vaultId": 45,
@@ -8487,7 +8567,8 @@ var vaults_default = [
8487
8567
  "category": "Bet",
8488
8568
  "vaultAddress": "5cbTtvNVg1qc5L5Fcnz9R3X2QsYTtMCwBZRwBbuoEhn5",
8489
8569
  "depositToken": "USDC",
8490
- "pfee": 0
8570
+ "pfee": 0,
8571
+ "pointsEnabled": false
8491
8572
  },
8492
8573
  {
8493
8574
  "vaultId": 44,
@@ -8496,7 +8577,8 @@ var vaults_default = [
8496
8577
  "category": "Bet",
8497
8578
  "vaultAddress": "5BCDLjnQXv92AYySpdEpENgYhABaVf92fym1MYNyhVuo",
8498
8579
  "depositToken": "USDC",
8499
- "pfee": 0
8580
+ "pfee": 0,
8581
+ "pointsEnabled": false
8500
8582
  },
8501
8583
  {
8502
8584
  "vaultId": 43,
@@ -8506,7 +8588,8 @@ var vaults_default = [
8506
8588
  "category": "Market Neutral",
8507
8589
  "vaultAddress": "FBYp9toQEqNiGeP8BzyvRD1FUauJBFk5eYUEkgqvigZ5",
8508
8590
  "depositToken": "USDC",
8509
- "pfee": 0
8591
+ "pfee": 0,
8592
+ "pointsEnabled": false
8510
8593
  },
8511
8594
  {
8512
8595
  "vaultId": 42,
@@ -8516,7 +8599,8 @@ var vaults_default = [
8516
8599
  "category": "Savings",
8517
8600
  "vaultAddress": "494C23vX4h7Bhfyz92hScg71PXn9huG9SqY8mFYhRJoK",
8518
8601
  "depositToken": "WBTC",
8519
- "pfee": 0
8602
+ "pfee": 0,
8603
+ "pointsEnabled": false
8520
8604
  },
8521
8605
  {
8522
8606
  "vaultId": 41,
@@ -8526,7 +8610,8 @@ var vaults_default = [
8526
8610
  "category": "Savings",
8527
8611
  "vaultAddress": "8JjFwxduSVCY91s2yBVGgKSAKPwPkuTKEchjRw74Du5w",
8528
8612
  "depositToken": "WETH",
8529
- "pfee": 0
8613
+ "pfee": 0,
8614
+ "pointsEnabled": false
8530
8615
  },
8531
8616
  {
8532
8617
  "vaultId": 40,
@@ -8536,7 +8621,8 @@ var vaults_default = [
8536
8621
  "category": "Savings",
8537
8622
  "vaultAddress": "A6cPV4DrePTUUamBM87MDqK9kBy9vbucjhrCxtxzExK9",
8538
8623
  "depositToken": "SOL",
8539
- "pfee": 0
8624
+ "pfee": 0,
8625
+ "pointsEnabled": false
8540
8626
  },
8541
8627
  {
8542
8628
  "vaultId": 39,
@@ -8546,7 +8632,8 @@ var vaults_default = [
8546
8632
  "category": "Savings",
8547
8633
  "vaultAddress": "4i2L5zvzUM5LXqUYm35Ytv4BGSmnFVTqG5xtFfJesm14",
8548
8634
  "depositToken": "USDC",
8549
- "pfee": 0
8635
+ "pfee": 0,
8636
+ "pointsEnabled": false
8550
8637
  },
8551
8638
  {
8552
8639
  "vaultId": 38,
@@ -8555,7 +8642,8 @@ var vaults_default = [
8555
8642
  "category": "Airdrop Farming",
8556
8643
  "vaultAddress": "DzaHA2zD7XQhj2Z6tG9YxVtgcvJ4sqzeLYr8dszyQTEq",
8557
8644
  "depositToken": "USDC",
8558
- "pfee": 0
8645
+ "pfee": 0,
8646
+ "pointsEnabled": false
8559
8647
  },
8560
8648
  {
8561
8649
  "vaultId": 37,
@@ -8565,7 +8653,8 @@ var vaults_default = [
8565
8653
  "category": "Bet",
8566
8654
  "vaultAddress": "2csxi2M4uMijHW3CvnHqAYJ9CcLcZbGmDNKSz1qjRAVQ",
8567
8655
  "depositToken": "USDC",
8568
- "pfee": 0
8656
+ "pfee": 0,
8657
+ "pointsEnabled": false
8569
8658
  },
8570
8659
  {
8571
8660
  "vaultId": 36,
@@ -8575,7 +8664,9 @@ var vaults_default = [
8575
8664
  "category": "Market Neutral",
8576
8665
  "vaultAddress": "CG2zv4wsSetgs6mAucEKnHPwSoZSLYMwGroembTUNeaU",
8577
8666
  "depositToken": "JLP",
8578
- "pfee": 0
8667
+ "pfee": 0,
8668
+ "pointsMultiplier": 2,
8669
+ "pointsEnabled": true
8579
8670
  },
8580
8671
  {
8581
8672
  "vaultId": 35,
@@ -8585,7 +8676,8 @@ var vaults_default = [
8585
8676
  "category": "Market Neutral",
8586
8677
  "vaultAddress": "AAiykf4cgdFxz4kyRNuCFf9xFwy7c1gHiWacydmi1jLS",
8587
8678
  "depositToken": "USDC",
8588
- "pfee": .2
8679
+ "pfee": .2,
8680
+ "pointsEnabled": false
8589
8681
  },
8590
8682
  {
8591
8683
  "vaultId": 34,
@@ -8595,7 +8687,9 @@ var vaults_default = [
8595
8687
  "category": "Market Neutral",
8596
8688
  "vaultAddress": "5DPwSqEfaEsBH4zzZha35TpWRRPnWFfVgYZyK3zNswT7",
8597
8689
  "depositToken": "USDC",
8598
- "pfee": .2
8690
+ "pfee": .2,
8691
+ "pointsMultiplier": 2,
8692
+ "pointsEnabled": true
8599
8693
  },
8600
8694
  {
8601
8695
  "vaultId": 33,
@@ -8605,7 +8699,9 @@ var vaults_default = [
8605
8699
  "category": "Market Neutral",
8606
8700
  "vaultAddress": "6un71hP7xhpc8nqWWnbYPiamjAckEGH1A6zzenpGdZLf",
8607
8701
  "depositToken": "USDC",
8608
- "pfee": .25
8702
+ "pfee": .25,
8703
+ "pointsMultiplier": 2,
8704
+ "pointsEnabled": true
8609
8705
  },
8610
8706
  {
8611
8707
  "vaultId": 32,
@@ -8615,7 +8711,9 @@ var vaults_default = [
8615
8711
  "category": "Market Neutral",
8616
8712
  "vaultAddress": "5FqiXogZCcyZoNeTZzNvywY5s9ZRzNsPPkZ2Q4YRu6ww",
8617
8713
  "depositToken": "USDC",
8618
- "pfee": .2
8714
+ "pfee": .2,
8715
+ "pointsMultiplier": 2,
8716
+ "pointsEnabled": true
8619
8717
  },
8620
8718
  {
8621
8719
  "vaultId": 31,
@@ -8625,7 +8723,8 @@ var vaults_default = [
8625
8723
  "category": "Market Neutral",
8626
8724
  "vaultAddress": "9omhWDzVxpX1vPBxAhJpVao7baoVzZpNib32vozZLxGm",
8627
8725
  "depositToken": "USDC",
8628
- "pfee": .25
8726
+ "pfee": .25,
8727
+ "pointsEnabled": false
8629
8728
  },
8630
8729
  {
8631
8730
  "vaultId": 30,
@@ -8635,7 +8734,9 @@ var vaults_default = [
8635
8734
  "category": "Bet",
8636
8735
  "vaultAddress": "2zsHAfvD2BpmZbuPhc32dija8cXu8ow6n2yzyZTMvQ8V",
8637
8736
  "depositToken": "USDC",
8638
- "pfee": .1
8737
+ "pfee": .1,
8738
+ "pointsMultiplier": 1,
8739
+ "pointsEnabled": true
8639
8740
  },
8640
8741
  {
8641
8742
  "vaultId": 29,
@@ -8645,7 +8746,9 @@ var vaults_default = [
8645
8746
  "category": "Market Neutral",
8646
8747
  "vaultAddress": "46fQeq1UX5djNkrY5d942inhRHjp1cTZmWBeCUZoqWT3",
8647
8748
  "depositToken": "USDC",
8648
- "pfee": .25
8749
+ "pfee": .25,
8750
+ "pointsMultiplier": 2,
8751
+ "pointsEnabled": true
8649
8752
  },
8650
8753
  {
8651
8754
  "vaultId": 28,
@@ -8655,7 +8758,8 @@ var vaults_default = [
8655
8758
  "category": "Market Neutral",
8656
8759
  "vaultAddress": "1CUvZgVGaxV6sDUjFrWHyzukWBD2amUi3dQkvh9KKVA",
8657
8760
  "depositToken": "USDC",
8658
- "pfee": .2
8761
+ "pfee": .2,
8762
+ "pointsEnabled": false
8659
8763
  },
8660
8764
  {
8661
8765
  "vaultId": 27,
@@ -8665,7 +8769,8 @@ var vaults_default = [
8665
8769
  "category": "Market Neutral",
8666
8770
  "vaultAddress": "3UhqS9P4AhKMrCv7yE1LujgQS2xjFnRhANC5dPf2bZem",
8667
8771
  "depositToken": "USDC",
8668
- "pfee": .2
8772
+ "pfee": .2,
8773
+ "pointsEnabled": false
8669
8774
  },
8670
8775
  {
8671
8776
  "vaultId": 26,
@@ -8675,7 +8780,9 @@ var vaults_default = [
8675
8780
  "category": "Yield Enhancement",
8676
8781
  "vaultAddress": "6E2sh7ygUzXFJAafXX5sMeSj7eK6YkYqpoAzXm7bYtCw",
8677
8782
  "depositToken": "WBTC",
8678
- "pfee": .2
8783
+ "pfee": .2,
8784
+ "pointsMultiplier": 1,
8785
+ "pointsEnabled": true
8679
8786
  },
8680
8787
  {
8681
8788
  "vaultId": 25,
@@ -8685,7 +8792,9 @@ var vaults_default = [
8685
8792
  "category": "Market Neutral",
8686
8793
  "vaultAddress": "HS2anXrdps1S2DZCHepgzfcoaqSUWBBuuqTRMugJisP2",
8687
8794
  "depositToken": "USDC",
8688
- "pfee": .25
8795
+ "pfee": .25,
8796
+ "pointsMultiplier": 2,
8797
+ "pointsEnabled": true
8689
8798
  },
8690
8799
  {
8691
8800
  "vaultId": 24,
@@ -8695,7 +8804,8 @@ var vaults_default = [
8695
8804
  "category": "Market Neutral",
8696
8805
  "vaultAddress": "4H3wAK5tkT7G1vFrj6J9jWGvbaqVGkzPPBsp9qyKUYz9",
8697
8806
  "depositToken": "USDC",
8698
- "pfee": .2
8807
+ "pfee": .2,
8808
+ "pointsEnabled": false
8699
8809
  },
8700
8810
  {
8701
8811
  "vaultId": 23,
@@ -8705,7 +8815,9 @@ var vaults_default = [
8705
8815
  "category": "Market Neutral",
8706
8816
  "vaultAddress": "AwVR9y8Qw5erzrzE8hcs1j1se86yBwmrRidWb1qzaAy2",
8707
8817
  "depositToken": "USDC",
8708
- "pfee": .2
8818
+ "pfee": .2,
8819
+ "pointsMultiplier": 2,
8820
+ "pointsEnabled": true
8709
8821
  },
8710
8822
  {
8711
8823
  "vaultId": 22,
@@ -8715,7 +8827,8 @@ var vaults_default = [
8715
8827
  "category": "Market Neutral",
8716
8828
  "vaultAddress": "4iSH214QLwWnJQNwTH6VfH4oNcPccr7HnMmsybjnTtez",
8717
8829
  "depositToken": "USDC",
8718
- "pfee": .2
8830
+ "pfee": .2,
8831
+ "pointsEnabled": false
8719
8832
  },
8720
8833
  {
8721
8834
  "vaultId": 21,
@@ -8725,7 +8838,8 @@ var vaults_default = [
8725
8838
  "category": "Directional",
8726
8839
  "vaultAddress": "DbAX9qNiHrtrngLz8e5nBNWbmeGGVRKUQtxfGdENCFJS",
8727
8840
  "depositToken": "USDC",
8728
- "pfee": 0
8841
+ "pfee": 0,
8842
+ "pointsEnabled": false
8729
8843
  },
8730
8844
  {
8731
8845
  "vaultId": 20,
@@ -8735,7 +8849,8 @@ var vaults_default = [
8735
8849
  "category": "Market Neutral",
8736
8850
  "vaultAddress": "9V2LggfMo1EjaBbq3qBRBifD287m8zryrZgTR72grcCp",
8737
8851
  "depositToken": "USDC",
8738
- "pfee": .2
8852
+ "pfee": .2,
8853
+ "pointsEnabled": false
8739
8854
  },
8740
8855
  {
8741
8856
  "vaultId": 19,
@@ -8745,7 +8860,8 @@ var vaults_default = [
8745
8860
  "category": "Market Neutral",
8746
8861
  "vaultAddress": "GpMcLVnUqE1RyEB5rRFsFQJGKiPBBXqrpFsdbfUPgbqv",
8747
8862
  "depositToken": "USDC",
8748
- "pfee": .2
8863
+ "pfee": .2,
8864
+ "pointsEnabled": false
8749
8865
  },
8750
8866
  {
8751
8867
  "vaultId": 18,
@@ -8755,7 +8871,8 @@ var vaults_default = [
8755
8871
  "category": "Market Neutral",
8756
8872
  "vaultAddress": "HhLwXF15V3MTVG9ucGGmT6mcEuqt2BjHuTCJBi4Zvi4K",
8757
8873
  "depositToken": "USDC",
8758
- "pfee": .2
8874
+ "pfee": .2,
8875
+ "pointsEnabled": false
8759
8876
  },
8760
8877
  {
8761
8878
  "vaultId": 17,
@@ -8765,7 +8882,8 @@ var vaults_default = [
8765
8882
  "category": "Market Neutral",
8766
8883
  "vaultAddress": "5Wv7V9zLGD3g7JTXfYjpzFEs42kjowXqUHh7wQ5ryVef",
8767
8884
  "depositToken": "USDC",
8768
- "pfee": 0
8885
+ "pfee": 0,
8886
+ "pointsEnabled": false
8769
8887
  },
8770
8888
  {
8771
8889
  "vaultId": 16,
@@ -8775,7 +8893,9 @@ var vaults_default = [
8775
8893
  "category": "Market Neutral",
8776
8894
  "vaultAddress": "7ngzeBygEksaBvKzHEeihqoLpDpWqTNRMVh2wCyb6NP8",
8777
8895
  "depositToken": "USDC",
8778
- "pfee": .25
8896
+ "pfee": .25,
8897
+ "pointsMultiplier": 2,
8898
+ "pointsEnabled": true
8779
8899
  },
8780
8900
  {
8781
8901
  "vaultId": 15,
@@ -8785,7 +8905,8 @@ var vaults_default = [
8785
8905
  "category": "Yield Enhancement",
8786
8906
  "vaultAddress": "CYUyHzu6Z3JyBhfkQpZZwWqa2zpcmzaK1xXS96n8ea1U",
8787
8907
  "depositToken": "SOL",
8788
- "pfee": .2
8908
+ "pfee": .2,
8909
+ "pointsEnabled": false
8789
8910
  },
8790
8911
  {
8791
8912
  "vaultId": 14,
@@ -8795,7 +8916,8 @@ var vaults_default = [
8795
8916
  "category": "Market Neutral",
8796
8917
  "vaultAddress": "HTLvAjqc6Wkzh4i4QNLHhQHZAnrtVvkGyYeyCiUWLe9b",
8797
8918
  "depositToken": "USDC",
8798
- "pfee": .2
8919
+ "pfee": .2,
8920
+ "pointsEnabled": false
8799
8921
  },
8800
8922
  {
8801
8923
  "vaultId": 13,
@@ -8805,7 +8927,8 @@ var vaults_default = [
8805
8927
  "category": "Market Neutral",
8806
8928
  "vaultAddress": "6DFDj66PbPoTC16Sh51MJijoTTMYCbMCVC85tnc5UfQ3",
8807
8929
  "depositToken": "USDC",
8808
- "pfee": .2
8930
+ "pfee": .2,
8931
+ "pointsEnabled": false
8809
8932
  },
8810
8933
  {
8811
8934
  "vaultId": 12,
@@ -8815,7 +8938,8 @@ var vaults_default = [
8815
8938
  "category": "Market Neutral",
8816
8939
  "vaultAddress": "9BMEyctGvajEubk5iCRBnM9fkeTXUhrxaweYq34jZdC8",
8817
8940
  "depositToken": "USDC",
8818
- "pfee": .2
8941
+ "pfee": .2,
8942
+ "pointsEnabled": false
8819
8943
  },
8820
8944
  {
8821
8945
  "vaultId": 11,
@@ -8825,7 +8949,8 @@ var vaults_default = [
8825
8949
  "category": "Market Neutral",
8826
8950
  "vaultAddress": "4cvgasNfbJ36yeMVJSkscgL2Yco9dFGdj52Wrg91fmHv",
8827
8951
  "depositToken": "USDC",
8828
- "pfee": .25
8952
+ "pfee": .25,
8953
+ "pointsEnabled": false
8829
8954
  },
8830
8955
  {
8831
8956
  "vaultId": 10,
@@ -8835,7 +8960,8 @@ var vaults_default = [
8835
8960
  "category": "Market Neutral",
8836
8961
  "vaultAddress": "Fd3k4c6Dv7m9673ae87P6duQrftY9UVfwiCxngNbJrUQ",
8837
8962
  "depositToken": "USDC",
8838
- "pfee": .2
8963
+ "pfee": .2,
8964
+ "pointsEnabled": false
8839
8965
  },
8840
8966
  {
8841
8967
  "vaultId": 9,
@@ -8845,7 +8971,9 @@ var vaults_default = [
8845
8971
  "category": "Market Neutral",
8846
8972
  "vaultAddress": "DUW6uWcrsjYmsYDjp9iGDN4JdRa2MqznjuxjKVok5Fsj",
8847
8973
  "depositToken": "USDC",
8848
- "pfee": .2
8974
+ "pfee": .2,
8975
+ "pointsMultiplier": 2,
8976
+ "pointsEnabled": true
8849
8977
  },
8850
8978
  {
8851
8979
  "vaultId": 8,
@@ -8854,7 +8982,9 @@ var vaults_default = [
8854
8982
  "category": "Market Neutral",
8855
8983
  "vaultAddress": "CxL8eQmGhN9LKSoHj7bU95JekFPtyZoUc57mbehb5A56",
8856
8984
  "depositToken": "USDC",
8857
- "pfee": .25
8985
+ "pfee": .25,
8986
+ "pointsMultiplier": 1,
8987
+ "pointsEnabled": false
8858
8988
  },
8859
8989
  {
8860
8990
  "vaultId": 7,
@@ -8863,7 +8993,8 @@ var vaults_default = [
8863
8993
  "category": "Bet",
8864
8994
  "vaultAddress": "85XuR4kE5yxp1hk91WHAawinXZsuJowxy59STYYpM9pK",
8865
8995
  "depositToken": "USDC",
8866
- "pfee": .2
8996
+ "pfee": .2,
8997
+ "pointsEnabled": false
8867
8998
  },
8868
8999
  {
8869
9000
  "vaultId": 6,
@@ -8872,7 +9003,9 @@ var vaults_default = [
8872
9003
  "category": "Yield Enhancement",
8873
9004
  "vaultAddress": "ENr5e1BMN5vFUHf4iCCPzR4GjWCKgtHnQcdniRQqMdEL",
8874
9005
  "depositToken": "WETH",
8875
- "pfee": .2
9006
+ "pfee": .2,
9007
+ "pointsMultiplier": 1,
9008
+ "pointsEnabled": true
8876
9009
  },
8877
9010
  {
8878
9011
  "vaultId": 5,
@@ -8882,7 +9015,8 @@ var vaults_default = [
8882
9015
  "category": "Market Neutral",
8883
9016
  "vaultAddress": "CZU38L2NyL6tqFxzYAGYkmkf2JG98tZfZ2CnUapVgXQe",
8884
9017
  "depositToken": "USDC",
8885
- "pfee": .2
9018
+ "pfee": .2,
9019
+ "pointsEnabled": false
8886
9020
  },
8887
9021
  {
8888
9022
  "vaultId": 4,
@@ -8892,7 +9026,9 @@ var vaults_default = [
8892
9026
  "category": "Market Neutral",
8893
9027
  "vaultAddress": "41Y8C4oxk4zgJT1KXyQr35UhZcfsp5mP86Z2G7UUzojU",
8894
9028
  "depositToken": "USDC",
8895
- "pfee": .25
9029
+ "pfee": .25,
9030
+ "pointsMultiplier": 2,
9031
+ "pointsEnabled": true
8896
9032
  },
8897
9033
  {
8898
9034
  "vaultId": 3,
@@ -8901,7 +9037,9 @@ var vaults_default = [
8901
9037
  "category": "Yield Enhancement",
8902
9038
  "vaultAddress": "BVddkVtFJLCihbVrtLo8e3iEd9NftuLunaznAxFFW8vf",
8903
9039
  "depositToken": "WBTC",
8904
- "pfee": .2
9040
+ "pfee": .2,
9041
+ "pointsMultiplier": 1,
9042
+ "pointsEnabled": true
8905
9043
  },
8906
9044
  {
8907
9045
  "vaultId": 2,
@@ -8910,7 +9048,9 @@ var vaults_default = [
8910
9048
  "category": "Bet",
8911
9049
  "vaultAddress": "2r81MPMDjGSrbmGRwzDg6aqhe3t3vbKcrYfpes5bXckS",
8912
9050
  "depositToken": "USDC",
8913
- "pfee": .2
9051
+ "pfee": .2,
9052
+ "pointsMultiplier": 1,
9053
+ "pointsEnabled": false
8914
9054
  },
8915
9055
  {
8916
9056
  "vaultId": 1,
@@ -8919,7 +9059,9 @@ var vaults_default = [
8919
9059
  "category": "Yield Enhancement",
8920
9060
  "vaultAddress": "EuSLjg23BrtwYAk1t4TFe5ArYSXCVXLBqrHRBfWQiTeJ",
8921
9061
  "depositToken": "SOL",
8922
- "pfee": .2
9062
+ "pfee": .2,
9063
+ "pointsMultiplier": 1,
9064
+ "pointsEnabled": true
8923
9065
  },
8924
9066
  {
8925
9067
  "vaultId": 0,
@@ -8930,7 +9072,8 @@ var vaults_default = [
8930
9072
  "vaultAddress": "3Nkctq19AW7gs5hkxixUDjS9UVjmCwcNCo7rqPpub87c",
8931
9073
  "depositToken": "USDC",
8932
9074
  "pfee": .25,
8933
- "driftProgramId": "9Fcn3Fd4d5ocrb12xCUtEvezxcjFEAyHBPfrZDiPt9Qj"
9075
+ "driftProgramId": "9Fcn3Fd4d5ocrb12xCUtEvezxcjFEAyHBPfrZDiPt9Qj",
9076
+ "pointsEnabled": false
8934
9077
  }
8935
9078
  ];
8936
9079
 
@@ -9050,7 +9193,9 @@ const VaultRegistryEntrySchema = z.object({
9050
9193
  depositToken: z.nativeEnum(SupportedToken),
9051
9194
  pfee: z.number().min(0).max(1).optional(),
9052
9195
  driftProgramId: z.string().min(32).max(44).optional(),
9053
- bundleProgramId: z.string().min(32).max(44).optional()
9196
+ bundleProgramId: z.string().min(32).max(44).optional(),
9197
+ pointsMultiplier: z.number().min(0).optional(),
9198
+ pointsEnabled: z.boolean().optional()
9054
9199
  });
9055
9200
  /** Schema for validating array of registry entries */
9056
9201
  const VaultRegistryArraySchema = z.array(VaultRegistryEntrySchema).superRefine((vaults$1, ctx) => {
@@ -9577,4 +9722,4 @@ var NeutralTrade = class NeutralTrade {
9577
9722
  };
9578
9723
 
9579
9724
  //#endregion
9580
- export { BundleProgramId, NeutralTrade, SupportedChain, SupportedToken, VaultCategory, VaultId, VaultType, deriveOraclePDA, deriveUserPDA, getBundleProgramId, getDriftProgramId, getVaultByAddress, getVaultById, getVaultDepositorAddressSync, isValidVaultAddress, tokens, vaults };
9725
+ export { BundleProgramId, NeutralTrade, SupportedChain, SupportedToken, VaultCategory, VaultId, VaultType, 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.9",
4
+ "version": "0.1.11",
5
5
  "description": "SDK for Neutral Trade vaults",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/neutral-trade/sdk#readme",