@neutral-trade/sdk 0.4.12 → 0.4.14
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 +3 -1
- package/dist/index.mjs +3 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/{neutral-trade-core-CWk75xRT.mjs → neutral-trade-core-C_RJkaGL.mjs} +291 -29
- package/dist/{neutral-trade-core-7Ob7XfF4.d.mts → neutral-trade-core-CtFKbCrr.d.mts} +106 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as UserBundleTempData, B as BundleProgram, C as VaultCategory, D as BundleAccount, E as VaultType, F as getSolanaTokenMint, G as createAllowlistedBundleProgram, H as DEFAULT_BUNDLE_PROGRAM_ID_DEVNET, I as tokens, J as isAllowlistedBundleProgramId, K as createBundleProgramById, L as ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, M as SupportedToken, N as Token, O as OracleData, P as getSolanaTokenDecimals, R as BUNDLE_PROGRAM_ID_V2_MAINNET, S as VaultBalanceData, T as VaultRegistryEntry, U as DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, V as BundleProvider, W as assertAllowlistedBundleProgramId, _ as getVaultRegistry, b as vaultsDevnet, f as NeutralTrade, g as getVaultById, h as getVaultByAddress, j as SupportedChain, k as UserBundleAccount, m as getBundleProgramId, p as NeutralTradeConfig, q as getDefaultBundleProgramIdByCluster, t as NeutralTradeCoreContext, v as isValidVaultAddress, w as VaultRegistry, x as UserBalanceResult, y as vaults$1, z as BundleCluster } from "./neutral-trade-core-
|
|
1
|
+
import { A as UserBundleTempData, B as BundleProgram, C as VaultCategory, D as BundleAccount, E as VaultType, F as getSolanaTokenMint, G as createAllowlistedBundleProgram, H as DEFAULT_BUNDLE_PROGRAM_ID_DEVNET, I as tokens, J as isAllowlistedBundleProgramId, K as createBundleProgramById, L as ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, M as SupportedToken, N as Token, O as OracleData, P as getSolanaTokenDecimals, R as BUNDLE_PROGRAM_ID_V2_MAINNET, S as VaultBalanceData, T as VaultRegistryEntry, U as DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, V as BundleProvider, W as assertAllowlistedBundleProgramId, _ as getVaultRegistry, b as vaultsDevnet, f as NeutralTrade, g as getVaultById, h as getVaultByAddress, j as SupportedChain, k as UserBundleAccount, m as getBundleProgramId, p as NeutralTradeConfig, q as getDefaultBundleProgramIdByCluster, t as NeutralTradeCoreContext, v as isValidVaultAddress, w as VaultRegistry, x as UserBalanceResult, y as vaults$1, z as BundleCluster } from "./neutral-trade-core-CtFKbCrr.mjs";
|
|
2
2
|
import { AnchorProvider, Program, Wallet } from "@coral-xyz/anchor";
|
|
3
3
|
import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";
|
|
4
4
|
import BN from "bn.js";
|
|
@@ -12,6 +12,8 @@ declare function createDummyWallet(): Wallet;
|
|
|
12
12
|
* Auto-generated from the vault registry JSON.
|
|
13
13
|
*/
|
|
14
14
|
declare enum VaultId {
|
|
15
|
+
/** Ethereal-USDE-Bundle */
|
|
16
|
+
ethereal_usde_bundle_81 = 81,
|
|
15
17
|
/** Options-MM-Z */
|
|
16
18
|
options_mm_z_80 = 80,
|
|
17
19
|
/** Thirdeye-Flagship-USDC-Bundle */
|
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-C_RJkaGL.mjs";
|
|
2
2
|
import { PublicKey } from "@solana/web3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/constants/vault-ids.ts
|
|
@@ -7,6 +7,8 @@ import { PublicKey } from "@solana/web3.js";
|
|
|
7
7
|
* Auto-generated from the vault registry JSON.
|
|
8
8
|
*/
|
|
9
9
|
let VaultId = /* @__PURE__ */ function(VaultId$1) {
|
|
10
|
+
/** Ethereal-USDE-Bundle */
|
|
11
|
+
VaultId$1[VaultId$1["ethereal_usde_bundle_81"] = 81] = "ethereal_usde_bundle_81";
|
|
10
12
|
/** Options-MM-Z */
|
|
11
13
|
VaultId$1[VaultId$1["options_mm_z_80"] = 80] = "options_mm_z_80";
|
|
12
14
|
/** Thirdeye-Flagship-USDC-Bundle */
|
package/dist/internal.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as initNeutralTradeCore, c as BuildBundleRequestWithdrawInstructionCoreParams, d as buildBundleRequestWithdrawInstructionWithVault, i as getBundleProgramForVault, l as buildBundleDepositInstructionsWithVault, n as buildDepositInstructionsForVaultId, o as BuildBundleDepositInstructionsCoreParams, r as buildRequestWithdrawInstructionForVaultId, s as BuildBundleRequestSwitchInstructionCoreParams, t as NeutralTradeCoreContext, u as buildBundleRequestSwitchInstructionWithVault } from "./neutral-trade-core-
|
|
1
|
+
import { a as initNeutralTradeCore, c as BuildBundleRequestWithdrawInstructionCoreParams, d as buildBundleRequestWithdrawInstructionWithVault, i as getBundleProgramForVault, l as buildBundleDepositInstructionsWithVault, n as buildDepositInstructionsForVaultId, o as BuildBundleDepositInstructionsCoreParams, r as buildRequestWithdrawInstructionForVaultId, s as BuildBundleRequestSwitchInstructionCoreParams, t as NeutralTradeCoreContext, u as buildBundleRequestSwitchInstructionWithVault } from "./neutral-trade-core-CtFKbCrr.mjs";
|
|
2
2
|
export { type BuildBundleDepositInstructionsCoreParams, type BuildBundleRequestSwitchInstructionCoreParams, type BuildBundleRequestWithdrawInstructionCoreParams, type NeutralTradeCoreContext, buildBundleDepositInstructionsWithVault, buildBundleRequestSwitchInstructionWithVault, buildBundleRequestWithdrawInstructionWithVault, buildDepositInstructionsForVaultId, buildRequestWithdrawInstructionForVaultId, getBundleProgramForVault, initNeutralTradeCore };
|
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-C_RJkaGL.mjs";
|
|
2
2
|
|
|
3
3
|
export { buildBundleDepositInstructionsWithVault, buildBundleRequestSwitchInstructionWithVault, buildBundleRequestWithdrawInstructionWithVault, buildDepositInstructionsForVaultId, buildRequestWithdrawInstructionForVaultId, getBundleProgramForVault, initNeutralTradeCore };
|
|
@@ -1365,6 +1365,195 @@ var ntbundle_default = {
|
|
|
1365
1365
|
],
|
|
1366
1366
|
"args": []
|
|
1367
1367
|
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "manager_withdraw_with_split",
|
|
1370
|
+
"discriminator": [
|
|
1371
|
+
225,
|
|
1372
|
+
117,
|
|
1373
|
+
84,
|
|
1374
|
+
162,
|
|
1375
|
+
37,
|
|
1376
|
+
169,
|
|
1377
|
+
153,
|
|
1378
|
+
89
|
|
1379
|
+
],
|
|
1380
|
+
"accounts": [
|
|
1381
|
+
{
|
|
1382
|
+
"name": "manager",
|
|
1383
|
+
"writable": true,
|
|
1384
|
+
"signer": true
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"name": "manager_token_account",
|
|
1388
|
+
"writable": true
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"name": "partner_token_account",
|
|
1392
|
+
"writable": true
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"name": "asset_address",
|
|
1396
|
+
"writable": true
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "bundle_asset_account",
|
|
1400
|
+
"writable": true,
|
|
1401
|
+
"pda": {
|
|
1402
|
+
"seeds": [
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "account",
|
|
1405
|
+
"path": "bundle_asset_authority"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"kind": "const",
|
|
1409
|
+
"value": [
|
|
1410
|
+
6,
|
|
1411
|
+
221,
|
|
1412
|
+
246,
|
|
1413
|
+
225,
|
|
1414
|
+
215,
|
|
1415
|
+
101,
|
|
1416
|
+
161,
|
|
1417
|
+
147,
|
|
1418
|
+
217,
|
|
1419
|
+
203,
|
|
1420
|
+
225,
|
|
1421
|
+
70,
|
|
1422
|
+
206,
|
|
1423
|
+
235,
|
|
1424
|
+
121,
|
|
1425
|
+
172,
|
|
1426
|
+
28,
|
|
1427
|
+
180,
|
|
1428
|
+
133,
|
|
1429
|
+
237,
|
|
1430
|
+
95,
|
|
1431
|
+
91,
|
|
1432
|
+
55,
|
|
1433
|
+
145,
|
|
1434
|
+
58,
|
|
1435
|
+
140,
|
|
1436
|
+
245,
|
|
1437
|
+
133,
|
|
1438
|
+
126,
|
|
1439
|
+
255,
|
|
1440
|
+
0,
|
|
1441
|
+
169
|
|
1442
|
+
]
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"kind": "account",
|
|
1446
|
+
"path": "asset_address"
|
|
1447
|
+
}
|
|
1448
|
+
],
|
|
1449
|
+
"program": {
|
|
1450
|
+
"kind": "const",
|
|
1451
|
+
"value": [
|
|
1452
|
+
140,
|
|
1453
|
+
151,
|
|
1454
|
+
37,
|
|
1455
|
+
143,
|
|
1456
|
+
78,
|
|
1457
|
+
36,
|
|
1458
|
+
137,
|
|
1459
|
+
241,
|
|
1460
|
+
187,
|
|
1461
|
+
61,
|
|
1462
|
+
16,
|
|
1463
|
+
41,
|
|
1464
|
+
20,
|
|
1465
|
+
142,
|
|
1466
|
+
13,
|
|
1467
|
+
131,
|
|
1468
|
+
11,
|
|
1469
|
+
90,
|
|
1470
|
+
19,
|
|
1471
|
+
153,
|
|
1472
|
+
218,
|
|
1473
|
+
255,
|
|
1474
|
+
16,
|
|
1475
|
+
132,
|
|
1476
|
+
4,
|
|
1477
|
+
142,
|
|
1478
|
+
123,
|
|
1479
|
+
216,
|
|
1480
|
+
219,
|
|
1481
|
+
233,
|
|
1482
|
+
248,
|
|
1483
|
+
89
|
|
1484
|
+
]
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "bundle_account",
|
|
1490
|
+
"writable": true
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "oracle_data",
|
|
1494
|
+
"writable": true,
|
|
1495
|
+
"pda": { "seeds": [{
|
|
1496
|
+
"kind": "const",
|
|
1497
|
+
"value": [
|
|
1498
|
+
79,
|
|
1499
|
+
82,
|
|
1500
|
+
65,
|
|
1501
|
+
67,
|
|
1502
|
+
76,
|
|
1503
|
+
69
|
|
1504
|
+
]
|
|
1505
|
+
}, {
|
|
1506
|
+
"kind": "account",
|
|
1507
|
+
"path": "bundle_account"
|
|
1508
|
+
}] }
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "bundle_asset_authority",
|
|
1512
|
+
"writable": true,
|
|
1513
|
+
"pda": { "seeds": [{
|
|
1514
|
+
"kind": "const",
|
|
1515
|
+
"value": [
|
|
1516
|
+
66,
|
|
1517
|
+
85,
|
|
1518
|
+
78,
|
|
1519
|
+
68,
|
|
1520
|
+
76,
|
|
1521
|
+
69,
|
|
1522
|
+
95,
|
|
1523
|
+
65,
|
|
1524
|
+
83,
|
|
1525
|
+
83,
|
|
1526
|
+
69,
|
|
1527
|
+
84,
|
|
1528
|
+
95,
|
|
1529
|
+
65,
|
|
1530
|
+
85,
|
|
1531
|
+
84,
|
|
1532
|
+
72,
|
|
1533
|
+
79,
|
|
1534
|
+
82,
|
|
1535
|
+
73,
|
|
1536
|
+
84,
|
|
1537
|
+
89
|
|
1538
|
+
]
|
|
1539
|
+
}, {
|
|
1540
|
+
"kind": "account",
|
|
1541
|
+
"path": "bundle_account"
|
|
1542
|
+
}] }
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "token_program",
|
|
1546
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
1547
|
+
}
|
|
1548
|
+
],
|
|
1549
|
+
"args": [{
|
|
1550
|
+
"name": "partner_pfee_bps",
|
|
1551
|
+
"type": "u32"
|
|
1552
|
+
}, {
|
|
1553
|
+
"name": "partner_mfee_bps",
|
|
1554
|
+
"type": "u32"
|
|
1555
|
+
}]
|
|
1556
|
+
},
|
|
1368
1557
|
{
|
|
1369
1558
|
"name": "net_pending_transactions",
|
|
1370
1559
|
"discriminator": [
|
|
@@ -5029,6 +5218,19 @@ var ntbundle_default = {
|
|
|
5029
5218
|
207
|
|
5030
5219
|
]
|
|
5031
5220
|
},
|
|
5221
|
+
{
|
|
5222
|
+
"name": "ManagerWithdrawalWithSplit",
|
|
5223
|
+
"discriminator": [
|
|
5224
|
+
147,
|
|
5225
|
+
151,
|
|
5226
|
+
147,
|
|
5227
|
+
137,
|
|
5228
|
+
189,
|
|
5229
|
+
58,
|
|
5230
|
+
26,
|
|
5231
|
+
122
|
|
5232
|
+
]
|
|
5233
|
+
},
|
|
5032
5234
|
{
|
|
5033
5235
|
"name": "MaxDepositAmountSet",
|
|
5034
5236
|
"discriminator": [
|
|
@@ -5783,6 +5985,11 @@ var ntbundle_default = {
|
|
|
5783
5985
|
"code": 6082,
|
|
5784
5986
|
"name": "SwitchTargetAccountMismatch",
|
|
5785
5987
|
"msg": "Switch target account mismatch"
|
|
5988
|
+
},
|
|
5989
|
+
{
|
|
5990
|
+
"code": 6083,
|
|
5991
|
+
"name": "InvalidFeeSplit",
|
|
5992
|
+
"msg": "Invalid fee split"
|
|
5786
5993
|
}
|
|
5787
5994
|
],
|
|
5788
5995
|
types: [
|
|
@@ -6573,6 +6780,38 @@ var ntbundle_default = {
|
|
|
6573
6780
|
}]
|
|
6574
6781
|
}
|
|
6575
6782
|
},
|
|
6783
|
+
{
|
|
6784
|
+
"name": "ManagerWithdrawalWithSplit",
|
|
6785
|
+
"type": {
|
|
6786
|
+
"kind": "struct",
|
|
6787
|
+
"fields": [
|
|
6788
|
+
{
|
|
6789
|
+
"name": "manager_pfee_shares",
|
|
6790
|
+
"type": "u128"
|
|
6791
|
+
},
|
|
6792
|
+
{
|
|
6793
|
+
"name": "manager_mfee_shares",
|
|
6794
|
+
"type": "u128"
|
|
6795
|
+
},
|
|
6796
|
+
{
|
|
6797
|
+
"name": "partner_pfee_shares",
|
|
6798
|
+
"type": "u128"
|
|
6799
|
+
},
|
|
6800
|
+
{
|
|
6801
|
+
"name": "partner_mfee_shares",
|
|
6802
|
+
"type": "u128"
|
|
6803
|
+
},
|
|
6804
|
+
{
|
|
6805
|
+
"name": "manager_redemption_amount",
|
|
6806
|
+
"type": "u64"
|
|
6807
|
+
},
|
|
6808
|
+
{
|
|
6809
|
+
"name": "partner_redemption_amount",
|
|
6810
|
+
"type": "u64"
|
|
6811
|
+
}
|
|
6812
|
+
]
|
|
6813
|
+
}
|
|
6814
|
+
},
|
|
6576
6815
|
{
|
|
6577
6816
|
"name": "MaxDepositAmountSet",
|
|
6578
6817
|
"type": {
|
|
@@ -13102,7 +13341,7 @@ var vaults_devnet_default = [
|
|
|
13102
13341
|
"vaultId": 100000008,
|
|
13103
13342
|
"name": "bundle-8",
|
|
13104
13343
|
"type": "Bundle",
|
|
13105
|
-
"category": "
|
|
13344
|
+
"category": "Market Neutral",
|
|
13106
13345
|
"vaultAddress": "H3jCQZWkMD3tPjLyzJiVq4unjX45YcN7J45zVPQXaegy",
|
|
13107
13346
|
"depositToken": "USDC",
|
|
13108
13347
|
"pointsMultiplier": 1,
|
|
@@ -13112,7 +13351,7 @@ var vaults_devnet_default = [
|
|
|
13112
13351
|
"vaultId": 100000009,
|
|
13113
13352
|
"name": "bundle-9",
|
|
13114
13353
|
"type": "Bundle",
|
|
13115
|
-
"category": "
|
|
13354
|
+
"category": "Market Neutral",
|
|
13116
13355
|
"vaultAddress": "4kdm7AHWVfXUDE4qErojXDdLGnU7taZN7rcJ11uaLkH1",
|
|
13117
13356
|
"depositToken": "USDC",
|
|
13118
13357
|
"pointsMultiplier": 1,
|
|
@@ -13123,6 +13362,16 @@ var vaults_devnet_default = [
|
|
|
13123
13362
|
//#endregion
|
|
13124
13363
|
//#region src/registry/vaults.json
|
|
13125
13364
|
var vaults_default = [
|
|
13365
|
+
{
|
|
13366
|
+
"vaultId": 81,
|
|
13367
|
+
"name": "Ethereal-USDE-Bundle",
|
|
13368
|
+
"type": "Bundle",
|
|
13369
|
+
"category": "Market Neutral",
|
|
13370
|
+
"vaultAddress": "HuwbT5aUYkFf8oniumt7XXJ1Y6GQv7EJACv55dAhjt6e",
|
|
13371
|
+
"depositToken": "USDE",
|
|
13372
|
+
"pointsMultiplier": 1,
|
|
13373
|
+
"pointsEnabled": false
|
|
13374
|
+
},
|
|
13126
13375
|
{
|
|
13127
13376
|
"vaultId": 80,
|
|
13128
13377
|
"name": "Options-MM-Z",
|
|
@@ -13141,7 +13390,7 @@ var vaults_default = [
|
|
|
13141
13390
|
"vaultAddress": "EjRMd8PwrdoeijMqvXovQdx99EejjM8MpW2KF869asW7",
|
|
13142
13391
|
"depositToken": "USDC",
|
|
13143
13392
|
"pointsMultiplier": 1,
|
|
13144
|
-
"pointsEnabled":
|
|
13393
|
+
"pointsEnabled": false
|
|
13145
13394
|
},
|
|
13146
13395
|
{
|
|
13147
13396
|
"vaultId": 78,
|
|
@@ -13200,7 +13449,7 @@ var vaults_default = [
|
|
|
13200
13449
|
"category": "Index",
|
|
13201
13450
|
"vaultAddress": "7jEMJqWsHCkMDqChEuBwFo4yg27TSWFDooB8NorkGcjD",
|
|
13202
13451
|
"pointsMultiplier": 1,
|
|
13203
|
-
"pointsEnabled":
|
|
13452
|
+
"pointsEnabled": false,
|
|
13204
13453
|
"depositToken": "USDC"
|
|
13205
13454
|
},
|
|
13206
13455
|
{
|
|
@@ -13232,7 +13481,7 @@ var vaults_default = [
|
|
|
13232
13481
|
"vaultAddress": "dvsWTBqogw1cou8ducadzc3YCmUssjrrio8LmMtNWmz",
|
|
13233
13482
|
"depositToken": "USDC",
|
|
13234
13483
|
"pointsMultiplier": 1,
|
|
13235
|
-
"pointsEnabled":
|
|
13484
|
+
"pointsEnabled": false
|
|
13236
13485
|
},
|
|
13237
13486
|
{
|
|
13238
13487
|
"vaultId": 69,
|
|
@@ -13264,7 +13513,7 @@ var vaults_default = [
|
|
|
13264
13513
|
"category": "Market Neutral",
|
|
13265
13514
|
"vaultAddress": "976iyYPcj5obNC25A4SRP3quDLbDPeXLjF1cgUamMKBK",
|
|
13266
13515
|
"depositToken": "USDT",
|
|
13267
|
-
"pointsMultiplier":
|
|
13516
|
+
"pointsMultiplier": 1,
|
|
13268
13517
|
"pointsEnabled": false
|
|
13269
13518
|
},
|
|
13270
13519
|
{
|
|
@@ -13274,8 +13523,8 @@ var vaults_default = [
|
|
|
13274
13523
|
"category": "Index",
|
|
13275
13524
|
"vaultAddress": "FMtgtataz4L2efYanxTGpVjg4njNe2j8QLLsnw5zeBPx",
|
|
13276
13525
|
"depositToken": "USDC",
|
|
13277
|
-
"pointsMultiplier":
|
|
13278
|
-
"pointsEnabled":
|
|
13526
|
+
"pointsMultiplier": 1,
|
|
13527
|
+
"pointsEnabled": false
|
|
13279
13528
|
},
|
|
13280
13529
|
{
|
|
13281
13530
|
"vaultId": 65,
|
|
@@ -13285,7 +13534,7 @@ var vaults_default = [
|
|
|
13285
13534
|
"category": "Market Neutral",
|
|
13286
13535
|
"vaultAddress": "9cMB2bMsLa9hZjRnjxFhg2DM9CLmjabMsGvfQUtdgupk",
|
|
13287
13536
|
"depositToken": "USDC",
|
|
13288
|
-
"pointsMultiplier":
|
|
13537
|
+
"pointsMultiplier": 1,
|
|
13289
13538
|
"pointsEnabled": true
|
|
13290
13539
|
},
|
|
13291
13540
|
{
|
|
@@ -13296,7 +13545,7 @@ var vaults_default = [
|
|
|
13296
13545
|
"category": "Market Neutral",
|
|
13297
13546
|
"vaultAddress": "2Z2YH1RAXS8CNJo3QkYpQ4WHGH9jzNQ5m8YunRkY65mf",
|
|
13298
13547
|
"depositToken": "USDC",
|
|
13299
|
-
"pointsMultiplier":
|
|
13548
|
+
"pointsMultiplier": 1,
|
|
13300
13549
|
"pointsEnabled": false
|
|
13301
13550
|
},
|
|
13302
13551
|
{
|
|
@@ -13307,7 +13556,7 @@ var vaults_default = [
|
|
|
13307
13556
|
"category": "Market Neutral",
|
|
13308
13557
|
"vaultAddress": "8oZhUFmrA7p3SkVX7o4nFfSLsmt3KfCyW8grFydtvvuj",
|
|
13309
13558
|
"depositToken": "USDC",
|
|
13310
|
-
"pointsMultiplier":
|
|
13559
|
+
"pointsMultiplier": 1,
|
|
13311
13560
|
"pointsEnabled": false
|
|
13312
13561
|
},
|
|
13313
13562
|
{
|
|
@@ -13318,7 +13567,7 @@ var vaults_default = [
|
|
|
13318
13567
|
"category": "Market Neutral",
|
|
13319
13568
|
"vaultAddress": "HhhFKvtkbz9v7nDxsFVD8Z3qSY2r9Ncc9rnKopFaGCkb",
|
|
13320
13569
|
"depositToken": "USDC",
|
|
13321
|
-
"pointsMultiplier":
|
|
13570
|
+
"pointsMultiplier": 1,
|
|
13322
13571
|
"pointsEnabled": false
|
|
13323
13572
|
},
|
|
13324
13573
|
{
|
|
@@ -13339,7 +13588,7 @@ var vaults_default = [
|
|
|
13339
13588
|
"category": "Savings",
|
|
13340
13589
|
"vaultAddress": "HWjMfYfc7KoPchoEDa5UFyVSpJxY3aV1RAccKvABYb9z",
|
|
13341
13590
|
"depositToken": "USDC",
|
|
13342
|
-
"pointsMultiplier":
|
|
13591
|
+
"pointsMultiplier": 1,
|
|
13343
13592
|
"pointsEnabled": true
|
|
13344
13593
|
},
|
|
13345
13594
|
{
|
|
@@ -13350,7 +13599,7 @@ var vaults_default = [
|
|
|
13350
13599
|
"category": "Market Neutral",
|
|
13351
13600
|
"vaultAddress": "9vmBYT7hcjexuHM3iML3buTz3PchvULH5EfAjG12TtRZ",
|
|
13352
13601
|
"depositToken": "USDC",
|
|
13353
|
-
"pointsMultiplier":
|
|
13602
|
+
"pointsMultiplier": 1,
|
|
13354
13603
|
"pointsEnabled": false
|
|
13355
13604
|
},
|
|
13356
13605
|
{
|
|
@@ -13371,7 +13620,7 @@ var vaults_default = [
|
|
|
13371
13620
|
"category": "Market Neutral",
|
|
13372
13621
|
"vaultAddress": "7qPbUA5HmxjpoxniqoH8r5SZ5dY1hqYXGr8QSZsRXynX",
|
|
13373
13622
|
"depositToken": "USDC",
|
|
13374
|
-
"pointsMultiplier":
|
|
13623
|
+
"pointsMultiplier": 1,
|
|
13375
13624
|
"pointsEnabled": false
|
|
13376
13625
|
},
|
|
13377
13626
|
{
|
|
@@ -13419,7 +13668,7 @@ var vaults_default = [
|
|
|
13419
13668
|
"vaultAddress": "HDDrsNSYpfHHfr646T4vfZvXDKcbzYYBEGTietGgi7rh",
|
|
13420
13669
|
"depositToken": "USDC",
|
|
13421
13670
|
"pointsMultiplier": 1,
|
|
13422
|
-
"pointsEnabled":
|
|
13671
|
+
"pointsEnabled": false
|
|
13423
13672
|
},
|
|
13424
13673
|
{
|
|
13425
13674
|
"vaultId": 51,
|
|
@@ -13428,7 +13677,7 @@ var vaults_default = [
|
|
|
13428
13677
|
"category": "Private Credit",
|
|
13429
13678
|
"vaultAddress": "AvK6eRQNXiFfGSibrA96qDEtACkPyoouGrRGseryZFdE",
|
|
13430
13679
|
"depositToken": "USDC",
|
|
13431
|
-
"pointsMultiplier":
|
|
13680
|
+
"pointsMultiplier": 1,
|
|
13432
13681
|
"pointsEnabled": false
|
|
13433
13682
|
},
|
|
13434
13683
|
{
|
|
@@ -13456,7 +13705,7 @@ var vaults_default = [
|
|
|
13456
13705
|
"category": "Market Neutral",
|
|
13457
13706
|
"vaultAddress": "nE1x7KQq2sm3GQrafQUUdBkSPPT52FmiMM9qAS1dgnC",
|
|
13458
13707
|
"depositToken": "USDC",
|
|
13459
|
-
"pointsMultiplier":
|
|
13708
|
+
"pointsMultiplier": 1,
|
|
13460
13709
|
"pointsEnabled": true
|
|
13461
13710
|
},
|
|
13462
13711
|
{
|
|
@@ -13475,7 +13724,7 @@ var vaults_default = [
|
|
|
13475
13724
|
"category": "Index",
|
|
13476
13725
|
"vaultAddress": "A1B9MVput3r1jS91iu8ckdDiMSugXbQeEtvJEQsUHsPi",
|
|
13477
13726
|
"depositToken": "USDC",
|
|
13478
|
-
"pointsMultiplier":
|
|
13727
|
+
"pointsMultiplier": 1,
|
|
13479
13728
|
"pointsEnabled": false
|
|
13480
13729
|
},
|
|
13481
13730
|
{
|
|
@@ -13574,7 +13823,7 @@ var vaults_default = [
|
|
|
13574
13823
|
"category": "Market Neutral",
|
|
13575
13824
|
"vaultAddress": "CG2zv4wsSetgs6mAucEKnHPwSoZSLYMwGroembTUNeaU",
|
|
13576
13825
|
"depositToken": "JLP",
|
|
13577
|
-
"pointsMultiplier":
|
|
13826
|
+
"pointsMultiplier": 1,
|
|
13578
13827
|
"pointsEnabled": false
|
|
13579
13828
|
},
|
|
13580
13829
|
{
|
|
@@ -13595,7 +13844,7 @@ var vaults_default = [
|
|
|
13595
13844
|
"category": "Market Neutral",
|
|
13596
13845
|
"vaultAddress": "5DPwSqEfaEsBH4zzZha35TpWRRPnWFfVgYZyK3zNswT7",
|
|
13597
13846
|
"depositToken": "USDC",
|
|
13598
|
-
"pointsMultiplier":
|
|
13847
|
+
"pointsMultiplier": 1,
|
|
13599
13848
|
"pointsEnabled": false
|
|
13600
13849
|
},
|
|
13601
13850
|
{
|
|
@@ -13606,7 +13855,7 @@ var vaults_default = [
|
|
|
13606
13855
|
"category": "Market Neutral",
|
|
13607
13856
|
"vaultAddress": "6un71hP7xhpc8nqWWnbYPiamjAckEGH1A6zzenpGdZLf",
|
|
13608
13857
|
"depositToken": "USDC",
|
|
13609
|
-
"pointsMultiplier":
|
|
13858
|
+
"pointsMultiplier": 1,
|
|
13610
13859
|
"pointsEnabled": false
|
|
13611
13860
|
},
|
|
13612
13861
|
{
|
|
@@ -13617,7 +13866,7 @@ var vaults_default = [
|
|
|
13617
13866
|
"category": "Market Neutral",
|
|
13618
13867
|
"vaultAddress": "5FqiXogZCcyZoNeTZzNvywY5s9ZRzNsPPkZ2Q4YRu6ww",
|
|
13619
13868
|
"depositToken": "USDC",
|
|
13620
|
-
"pointsMultiplier":
|
|
13869
|
+
"pointsMultiplier": 1,
|
|
13621
13870
|
"pointsEnabled": false
|
|
13622
13871
|
},
|
|
13623
13872
|
{
|
|
@@ -13649,7 +13898,7 @@ var vaults_default = [
|
|
|
13649
13898
|
"category": "Market Neutral",
|
|
13650
13899
|
"vaultAddress": "46fQeq1UX5djNkrY5d942inhRHjp1cTZmWBeCUZoqWT3",
|
|
13651
13900
|
"depositToken": "USDC",
|
|
13652
|
-
"pointsMultiplier":
|
|
13901
|
+
"pointsMultiplier": 1,
|
|
13653
13902
|
"pointsEnabled": false
|
|
13654
13903
|
},
|
|
13655
13904
|
{
|
|
@@ -13691,7 +13940,7 @@ var vaults_default = [
|
|
|
13691
13940
|
"category": "Market Neutral",
|
|
13692
13941
|
"vaultAddress": "HS2anXrdps1S2DZCHepgzfcoaqSUWBBuuqTRMugJisP2",
|
|
13693
13942
|
"depositToken": "USDC",
|
|
13694
|
-
"pointsMultiplier":
|
|
13943
|
+
"pointsMultiplier": 1,
|
|
13695
13944
|
"pointsEnabled": false
|
|
13696
13945
|
},
|
|
13697
13946
|
{
|
|
@@ -13712,7 +13961,7 @@ var vaults_default = [
|
|
|
13712
13961
|
"category": "Market Neutral",
|
|
13713
13962
|
"vaultAddress": "AwVR9y8Qw5erzrzE8hcs1j1se86yBwmrRidWb1qzaAy2",
|
|
13714
13963
|
"depositToken": "USDC",
|
|
13715
|
-
"pointsMultiplier":
|
|
13964
|
+
"pointsMultiplier": 1,
|
|
13716
13965
|
"pointsEnabled": false
|
|
13717
13966
|
},
|
|
13718
13967
|
{
|
|
@@ -13783,7 +14032,7 @@ var vaults_default = [
|
|
|
13783
14032
|
"category": "Market Neutral",
|
|
13784
14033
|
"vaultAddress": "7ngzeBygEksaBvKzHEeihqoLpDpWqTNRMVh2wCyb6NP8",
|
|
13785
14034
|
"depositToken": "USDC",
|
|
13786
|
-
"pointsMultiplier":
|
|
14035
|
+
"pointsMultiplier": 1,
|
|
13787
14036
|
"pointsEnabled": false
|
|
13788
14037
|
},
|
|
13789
14038
|
{
|
|
@@ -13854,7 +14103,7 @@ var vaults_default = [
|
|
|
13854
14103
|
"category": "Market Neutral",
|
|
13855
14104
|
"vaultAddress": "DUW6uWcrsjYmsYDjp9iGDN4JdRa2MqznjuxjKVok5Fsj",
|
|
13856
14105
|
"depositToken": "USDC",
|
|
13857
|
-
"pointsMultiplier":
|
|
14106
|
+
"pointsMultiplier": 1,
|
|
13858
14107
|
"pointsEnabled": false
|
|
13859
14108
|
},
|
|
13860
14109
|
{
|
|
@@ -13904,7 +14153,7 @@ var vaults_default = [
|
|
|
13904
14153
|
"category": "Market Neutral",
|
|
13905
14154
|
"vaultAddress": "41Y8C4oxk4zgJT1KXyQr35UhZcfsp5mP86Z2G7UUzojU",
|
|
13906
14155
|
"depositToken": "USDC",
|
|
13907
|
-
"pointsMultiplier":
|
|
14156
|
+
"pointsMultiplier": 1,
|
|
13908
14157
|
"pointsEnabled": false
|
|
13909
14158
|
},
|
|
13910
14159
|
{
|
|
@@ -13960,6 +14209,7 @@ let SupportedChain = /* @__PURE__ */ function(SupportedChain$1) {
|
|
|
13960
14209
|
let SupportedToken = /* @__PURE__ */ function(SupportedToken$1) {
|
|
13961
14210
|
SupportedToken$1["USDC"] = "USDC";
|
|
13962
14211
|
SupportedToken$1["USDT"] = "USDT";
|
|
14212
|
+
SupportedToken$1["USDE"] = "USDE";
|
|
13963
14213
|
SupportedToken$1["SOL"] = "SOL";
|
|
13964
14214
|
SupportedToken$1["WBTC"] = "WBTC";
|
|
13965
14215
|
SupportedToken$1["WETH"] = "WETH";
|
|
@@ -13989,6 +14239,17 @@ const tokens = {
|
|
|
13989
14239
|
[SupportedChain.Hyperliquid]: null
|
|
13990
14240
|
}
|
|
13991
14241
|
},
|
|
14242
|
+
[SupportedToken.USDE]: {
|
|
14243
|
+
name: "Ethena USDe",
|
|
14244
|
+
symbol: "USDe",
|
|
14245
|
+
onChain: {
|
|
14246
|
+
[SupportedChain.Solana]: {
|
|
14247
|
+
address: "DEkqHyPN7GMRJ5cArtQFAWefqbZb33Hyf6s5iCwjEonT",
|
|
14248
|
+
decimals: 9
|
|
14249
|
+
},
|
|
14250
|
+
[SupportedChain.Hyperliquid]: null
|
|
14251
|
+
}
|
|
14252
|
+
},
|
|
13992
14253
|
[SupportedToken.SOL]: {
|
|
13993
14254
|
name: "Wrapped SOL",
|
|
13994
14255
|
symbol: "WSOL",
|
|
@@ -14498,6 +14759,7 @@ async function buildBundleRequestSwitchInstruction({ connection, bundleCluster =
|
|
|
14498
14759
|
const TOKEN_TO_PYTH_FEED_ID = {
|
|
14499
14760
|
[SupportedToken.USDC]: "eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a",
|
|
14500
14761
|
[SupportedToken.USDT]: "2b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b",
|
|
14762
|
+
[SupportedToken.USDE]: "6ec879b1e9963de5ee97e9c8710b742d6228252a5e2ca12d4ae81d7fe5ee8c5d",
|
|
14501
14763
|
[SupportedToken.SOL]: "ef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d",
|
|
14502
14764
|
[SupportedToken.WBTC]: "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43",
|
|
14503
14765
|
[SupportedToken.WETH]: "ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace",
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
* Program IDL in camelCase format in order to be used in JS/TS.
|
|
9
9
|
*
|
|
10
10
|
* Note that this is only a type helper and is not the actual IDL. The original
|
|
11
|
-
* IDL can be found at `target/idl/ntbundle.json
|
|
11
|
+
* IDL can be found at `src/idl/ntbundle.json` (synced from `bundle-sc/target/idl/ntbundle.json`).
|
|
12
12
|
*/
|
|
13
13
|
interface Ntbundle {
|
|
14
14
|
address: 'BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU';
|
|
@@ -672,6 +672,79 @@ interface Ntbundle {
|
|
|
672
672
|
address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
|
|
673
673
|
}];
|
|
674
674
|
args: [];
|
|
675
|
+
}, {
|
|
676
|
+
name: 'managerWithdrawWithSplit';
|
|
677
|
+
discriminator: [225, 117, 84, 162, 37, 169, 153, 89];
|
|
678
|
+
accounts: [{
|
|
679
|
+
name: 'manager';
|
|
680
|
+
writable: true;
|
|
681
|
+
signer: true;
|
|
682
|
+
}, {
|
|
683
|
+
name: 'managerTokenAccount';
|
|
684
|
+
writable: true;
|
|
685
|
+
}, {
|
|
686
|
+
name: 'partnerTokenAccount';
|
|
687
|
+
writable: true;
|
|
688
|
+
}, {
|
|
689
|
+
name: 'assetAddress';
|
|
690
|
+
writable: true;
|
|
691
|
+
}, {
|
|
692
|
+
name: 'bundleAssetAccount';
|
|
693
|
+
writable: true;
|
|
694
|
+
pda: {
|
|
695
|
+
seeds: [{
|
|
696
|
+
kind: 'account';
|
|
697
|
+
path: 'bundleAssetAuthority';
|
|
698
|
+
}, {
|
|
699
|
+
kind: 'const';
|
|
700
|
+
value: [6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169];
|
|
701
|
+
}, {
|
|
702
|
+
kind: 'account';
|
|
703
|
+
path: 'assetAddress';
|
|
704
|
+
}];
|
|
705
|
+
program: {
|
|
706
|
+
kind: 'const';
|
|
707
|
+
value: [140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89];
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
}, {
|
|
711
|
+
name: 'bundleAccount';
|
|
712
|
+
writable: true;
|
|
713
|
+
}, {
|
|
714
|
+
name: 'oracleData';
|
|
715
|
+
writable: true;
|
|
716
|
+
pda: {
|
|
717
|
+
seeds: [{
|
|
718
|
+
kind: 'const';
|
|
719
|
+
value: [79, 82, 65, 67, 76, 69];
|
|
720
|
+
}, {
|
|
721
|
+
kind: 'account';
|
|
722
|
+
path: 'bundleAccount';
|
|
723
|
+
}];
|
|
724
|
+
};
|
|
725
|
+
}, {
|
|
726
|
+
name: 'bundleAssetAuthority';
|
|
727
|
+
writable: true;
|
|
728
|
+
pda: {
|
|
729
|
+
seeds: [{
|
|
730
|
+
kind: 'const';
|
|
731
|
+
value: [66, 85, 78, 68, 76, 69, 95, 65, 83, 83, 69, 84, 95, 65, 85, 84, 72, 79, 82, 73, 84, 89];
|
|
732
|
+
}, {
|
|
733
|
+
kind: 'account';
|
|
734
|
+
path: 'bundleAccount';
|
|
735
|
+
}];
|
|
736
|
+
};
|
|
737
|
+
}, {
|
|
738
|
+
name: 'tokenProgram';
|
|
739
|
+
address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
|
|
740
|
+
}];
|
|
741
|
+
args: [{
|
|
742
|
+
name: 'partnerPfeeBps';
|
|
743
|
+
type: 'u32';
|
|
744
|
+
}, {
|
|
745
|
+
name: 'partnerMfeeBps';
|
|
746
|
+
type: 'u32';
|
|
747
|
+
}];
|
|
675
748
|
}, {
|
|
676
749
|
name: 'netPendingTransactions';
|
|
677
750
|
discriminator: [44, 219, 50, 19, 246, 252, 37, 163];
|
|
@@ -2162,6 +2235,9 @@ interface Ntbundle {
|
|
|
2162
2235
|
}, {
|
|
2163
2236
|
name: 'managerWithdrawal';
|
|
2164
2237
|
discriminator: [167, 6, 24, 193, 128, 74, 94, 207];
|
|
2238
|
+
}, {
|
|
2239
|
+
name: 'managerWithdrawalWithSplit';
|
|
2240
|
+
discriminator: [147, 151, 147, 137, 189, 58, 26, 122];
|
|
2165
2241
|
}, {
|
|
2166
2242
|
name: 'maxDepositAmountSet';
|
|
2167
2243
|
discriminator: [204, 243, 42, 160, 116, 144, 207, 38];
|
|
@@ -2573,6 +2649,10 @@ interface Ntbundle {
|
|
|
2573
2649
|
code: 6082;
|
|
2574
2650
|
name: 'switchTargetAccountMismatch';
|
|
2575
2651
|
msg: 'Switch target account mismatch';
|
|
2652
|
+
}, {
|
|
2653
|
+
code: 6083;
|
|
2654
|
+
name: 'invalidFeeSplit';
|
|
2655
|
+
msg: 'Invalid fee split';
|
|
2576
2656
|
}];
|
|
2577
2657
|
types: [{
|
|
2578
2658
|
name: 'allocated';
|
|
@@ -3204,6 +3284,30 @@ interface Ntbundle {
|
|
|
3204
3284
|
type: 'u64';
|
|
3205
3285
|
}];
|
|
3206
3286
|
};
|
|
3287
|
+
}, {
|
|
3288
|
+
name: 'managerWithdrawalWithSplit';
|
|
3289
|
+
type: {
|
|
3290
|
+
kind: 'struct';
|
|
3291
|
+
fields: [{
|
|
3292
|
+
name: 'managerPfeeShares';
|
|
3293
|
+
type: 'u128';
|
|
3294
|
+
}, {
|
|
3295
|
+
name: 'managerMfeeShares';
|
|
3296
|
+
type: 'u128';
|
|
3297
|
+
}, {
|
|
3298
|
+
name: 'partnerPfeeShares';
|
|
3299
|
+
type: 'u128';
|
|
3300
|
+
}, {
|
|
3301
|
+
name: 'partnerMfeeShares';
|
|
3302
|
+
type: 'u128';
|
|
3303
|
+
}, {
|
|
3304
|
+
name: 'managerRedemptionAmount';
|
|
3305
|
+
type: 'u64';
|
|
3306
|
+
}, {
|
|
3307
|
+
name: 'partnerRedemptionAmount';
|
|
3308
|
+
type: 'u64';
|
|
3309
|
+
}];
|
|
3310
|
+
};
|
|
3207
3311
|
}, {
|
|
3208
3312
|
name: 'maxDepositAmountSet';
|
|
3209
3313
|
type: {
|
|
@@ -3800,6 +3904,7 @@ declare enum SupportedChain {
|
|
|
3800
3904
|
declare enum SupportedToken {
|
|
3801
3905
|
USDC = "USDC",
|
|
3802
3906
|
USDT = "USDT",
|
|
3907
|
+
USDE = "USDE",
|
|
3803
3908
|
SOL = "SOL",
|
|
3804
3909
|
WBTC = "WBTC",
|
|
3805
3910
|
WETH = "WETH",
|