@glamsystems/glam-sdk 1.1.0 → 1.1.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/index.cjs.d.ts +0 -1
  2. package/index.cjs.js +120789 -1
  3. package/index.esm.d.ts +0 -1
  4. package/index.esm.js +120308 -1
  5. package/package.json +15 -27
  6. package/target/idl/glam_mint-staging.json +480 -1
  7. package/target/idl/glam_mint.json +247 -1
  8. package/target/types/glam_mint-staging.ts +480 -1
  9. package/target/types/glam_mint.ts +247 -1
  10. package/LICENSE +0 -201
  11. package/buffer-layout.d.ts +0 -88
  12. package/src/assets.d.ts +0 -39
  13. package/src/client/access.d.ts +0 -57
  14. package/src/client/base.d.ts +0 -234
  15. package/src/client/bridge.d.ts +0 -205
  16. package/src/client/bridgeRegistry.d.ts +0 -32
  17. package/src/client/cctp.d.ts +0 -164
  18. package/src/client/epi.d.ts +0 -228
  19. package/src/client/fees.d.ts +0 -33
  20. package/src/client/invest.d.ts +0 -37
  21. package/src/client/jupiter-lend/borrow.d.ts +0 -92
  22. package/src/client/jupiter-lend/earn.d.ts +0 -64
  23. package/src/client/jupiter-lend/index.d.ts +0 -3
  24. package/src/client/jupiter-lend/shared.d.ts +0 -129
  25. package/src/client/jupiter.d.ts +0 -53
  26. package/src/client/kamino/farm.d.ts +0 -39
  27. package/src/client/kamino/index.d.ts +0 -4
  28. package/src/client/kamino/lending.d.ts +0 -94
  29. package/src/client/kamino/types.d.ts +0 -56
  30. package/src/client/kamino/vaults.d.ts +0 -39
  31. package/src/client/loopscale/borrow.d.ts +0 -118
  32. package/src/client/loopscale/core.d.ts +0 -604
  33. package/src/client/loopscale/index.d.ts +0 -5
  34. package/src/client/loopscale/lend.d.ts +0 -123
  35. package/src/client/loopscale/vault.d.ts +0 -43
  36. package/src/client/marinade.d.ts +0 -42
  37. package/src/client/mint.d.ts +0 -143
  38. package/src/client/orca.d.ts +0 -255
  39. package/src/client/phoenix.d.ts +0 -214
  40. package/src/client/price.d.ts +0 -182
  41. package/src/client/stake-pool.d.ts +0 -39
  42. package/src/client/stake.d.ts +0 -34
  43. package/src/client/state.d.ts +0 -56
  44. package/src/client/timelock.d.ts +0 -31
  45. package/src/client/vault.d.ts +0 -98
  46. package/src/client.d.ts +0 -82
  47. package/src/clientConfig.d.ts +0 -32
  48. package/src/constants.d.ts +0 -111
  49. package/src/deser/base.d.ts +0 -18
  50. package/src/deser/index.d.ts +0 -4
  51. package/src/deser/integrationPolicies.d.ts +0 -195
  52. package/src/deser/kaminoLayouts.d.ts +0 -264
  53. package/src/deser/loopscaleLayouts.d.ts +0 -157
  54. package/src/deser/tokenAclLayouts.d.ts +0 -67
  55. package/src/error.d.ts +0 -29
  56. package/src/glamExports.d.ts +0 -6260
  57. package/src/globalConfig.d.ts +0 -27
  58. package/src/index.d.ts +0 -24
  59. package/src/models/acl.d.ts +0 -43
  60. package/src/models/index.d.ts +0 -8
  61. package/src/models/mint.d.ts +0 -57
  62. package/src/models/state.d.ts +0 -94
  63. package/src/models/types.d.ts +0 -28
  64. package/src/protocols.d.ts +0 -29
  65. package/src/utils/accounts.d.ts +0 -71
  66. package/src/utils/bitmask.d.ts +0 -53
  67. package/src/utils/blockhash.d.ts +0 -11
  68. package/src/utils/common.d.ts +0 -73
  69. package/src/utils/computeBudget.d.ts +0 -15
  70. package/src/utils/evm.d.ts +0 -10
  71. package/src/utils/fraction.d.ts +0 -29
  72. package/src/utils/glamPDAs.d.ts +0 -15
  73. package/src/utils/helius.d.ts +0 -66
  74. package/src/utils/index.d.ts +0 -17
  75. package/src/utils/jupiterApi.d.ts +0 -95
  76. package/src/utils/lookupTables.d.ts +0 -83
  77. package/src/utils/phoenixApi.d.ts +0 -146
  78. package/src/utils/pkmap.d.ts +0 -87
  79. package/src/utils/pkset.d.ts +0 -73
  80. package/src/utils/positionCategorizer.d.ts +0 -38
  81. package/src/utils/rpc.d.ts +0 -18
  82. package/src/utils/timelock.d.ts +0 -52
  83. package/src/utils/transaction.d.ts +0 -13
  84. package/target/idl/ext_bridge-staging.json +0 -2379
  85. package/target/idl/ext_bridge.json +0 -2379
  86. package/target/idl/ext_drift.json +0 -5464
  87. package/target/idl/ext_epi-staging.json +0 -2862
  88. package/target/idl/ext_epi.json +0 -2862
  89. package/target/idl/ext_loopscale-staging.json +0 -4708
  90. package/target/idl/ext_loopscale.json +0 -4708
  91. package/target/idl/ext_marinade-staging.json +0 -1587
  92. package/target/idl/ext_phoenix-staging.json +0 -3525
  93. package/target/idl/ext_phoenix.json +0 -3525
  94. package/target/idl/mock_layerzero_endpoint.json +0 -144
  95. package/target/idl/mock_layerzero_oft.json +0 -155
  96. package/target/idl/mock_wormhole_verify_vaa_shim.json +0 -58
  97. package/target/types/ext_bridge-staging.d.ts +0 -2385
  98. package/target/types/ext_bridge-staging.ts +0 -2385
  99. package/target/types/ext_bridge.d.ts +0 -2385
  100. package/target/types/ext_bridge.ts +0 -2385
  101. package/target/types/ext_cctp-staging.d.ts +0 -1268
  102. package/target/types/ext_cctp.d.ts +0 -1268
  103. package/target/types/ext_drift.d.ts +0 -5470
  104. package/target/types/ext_drift.ts +0 -5470
  105. package/target/types/ext_epi-staging.d.ts +0 -2868
  106. package/target/types/ext_epi-staging.ts +0 -2868
  107. package/target/types/ext_epi.d.ts +0 -2868
  108. package/target/types/ext_epi.ts +0 -2868
  109. package/target/types/ext_jupiter-staging.d.ts +0 -1966
  110. package/target/types/ext_jupiter.d.ts +0 -1966
  111. package/target/types/ext_kamino-staging.d.ts +0 -3433
  112. package/target/types/ext_kamino.d.ts +0 -3433
  113. package/target/types/ext_loopscale-staging.d.ts +0 -4714
  114. package/target/types/ext_loopscale-staging.ts +0 -4714
  115. package/target/types/ext_loopscale.d.ts +0 -4714
  116. package/target/types/ext_loopscale.ts +0 -4714
  117. package/target/types/ext_marinade-staging.d.ts +0 -1593
  118. package/target/types/ext_marinade-staging.ts +0 -1593
  119. package/target/types/ext_marinade.d.ts +0 -1593
  120. package/target/types/ext_orca-staging.d.ts +0 -2829
  121. package/target/types/ext_orca.d.ts +0 -2829
  122. package/target/types/ext_phoenix-staging.d.ts +0 -3531
  123. package/target/types/ext_phoenix-staging.ts +0 -3531
  124. package/target/types/ext_phoenix.d.ts +0 -3531
  125. package/target/types/ext_phoenix.ts +0 -3531
  126. package/target/types/ext_spl-staging.d.ts +0 -1274
  127. package/target/types/ext_spl.d.ts +0 -1274
  128. package/target/types/ext_stake_pool-staging.d.ts +0 -1622
  129. package/target/types/ext_stake_pool.d.ts +0 -1622
  130. package/target/types/glam_config.d.ts +0 -755
  131. package/target/types/glam_mint-staging.d.ts +0 -8802
  132. package/target/types/glam_mint.d.ts +0 -6349
  133. package/target/types/glam_policies.d.ts +0 -477
  134. package/target/types/glam_protocol-staging.d.ts +0 -3362
  135. package/target/types/glam_protocol.d.ts +0 -2783
  136. package/target/types/mock_layerzero_endpoint.d.ts +0 -150
  137. package/target/types/mock_layerzero_endpoint.ts +0 -150
  138. package/target/types/mock_layerzero_oft.d.ts +0 -161
  139. package/target/types/mock_layerzero_oft.ts +0 -161
  140. package/target/types/mock_wormhole_verify_vaa_shim.d.ts +0 -64
  141. package/target/types/mock_wormhole_verify_vaa_shim.ts +0 -64
@@ -1,2829 +0,0 @@
1
- /**
2
- * Program IDL in camelCase format in order to be used in JS/TS.
3
- *
4
- * Note that this is only a type helper and is not the actual IDL. The original
5
- * IDL can be found at `target/idl/ext_orca.json`.
6
- */
7
- export type ExtOrca = {
8
- "address": "gstgo1EgmTp2PbLSaL6Qg57P7uADx3aiRZrMsewEdSy";
9
- "metadata": {
10
- "name": "extOrca";
11
- "version": "0.1.0";
12
- "spec": "0.1.0";
13
- "description": "Orca Whirlpools integration for GLAM Protocol";
14
- };
15
- "instructions": [
16
- {
17
- "name": "closePositionWithTokenExtensions";
18
- "docs": [
19
- "Close an empty Token-2022 Orca Whirlpools position owned by the GLAM vault.",
20
- "",
21
- "- Permission: `ClosePosition`."
22
- ];
23
- "discriminator": [
24
- 1,
25
- 182,
26
- 135,
27
- 59,
28
- 155,
29
- 25,
30
- 99,
31
- 223
32
- ];
33
- "accounts": [
34
- {
35
- "name": "glamState";
36
- "writable": true;
37
- },
38
- {
39
- "name": "glamVault";
40
- "writable": true;
41
- "pda": {
42
- "seeds": [
43
- {
44
- "kind": "const";
45
- "value": [
46
- 118,
47
- 97,
48
- 117,
49
- 108,
50
- 116
51
- ];
52
- },
53
- {
54
- "kind": "account";
55
- "path": "glamState";
56
- }
57
- ];
58
- "program": {
59
- "kind": "account";
60
- "path": "glamProtocolProgram";
61
- };
62
- };
63
- },
64
- {
65
- "name": "glamSigner";
66
- "writable": true;
67
- "signer": true;
68
- },
69
- {
70
- "name": "integrationAuthority";
71
- "pda": {
72
- "seeds": [
73
- {
74
- "kind": "const";
75
- "value": [
76
- 105,
77
- 110,
78
- 116,
79
- 101,
80
- 103,
81
- 114,
82
- 97,
83
- 116,
84
- 105,
85
- 111,
86
- 110,
87
- 45,
88
- 97,
89
- 117,
90
- 116,
91
- 104,
92
- 111,
93
- 114,
94
- 105,
95
- 116,
96
- 121
97
- ];
98
- }
99
- ];
100
- };
101
- },
102
- {
103
- "name": "cpiProgram";
104
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
105
- },
106
- {
107
- "name": "glamProtocolProgram";
108
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
109
- },
110
- {
111
- "name": "systemProgram";
112
- "address": "11111111111111111111111111111111";
113
- },
114
- {
115
- "name": "whirlpool";
116
- },
117
- {
118
- "name": "position";
119
- "writable": true;
120
- },
121
- {
122
- "name": "positionMint";
123
- "writable": true;
124
- },
125
- {
126
- "name": "positionTokenAccount";
127
- "writable": true;
128
- },
129
- {
130
- "name": "token2022Program";
131
- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
132
- }
133
- ];
134
- "args": [];
135
- },
136
- {
137
- "name": "collectFeesV2";
138
- "docs": [
139
- "Collect accrued pool fees using Token-2022-aware accounts.",
140
- "",
141
- "- Permission: `CollectFees`."
142
- ];
143
- "discriminator": [
144
- 207,
145
- 117,
146
- 95,
147
- 191,
148
- 229,
149
- 180,
150
- 226,
151
- 15
152
- ];
153
- "accounts": [
154
- {
155
- "name": "glamState";
156
- "writable": true;
157
- },
158
- {
159
- "name": "glamVault";
160
- "writable": true;
161
- "pda": {
162
- "seeds": [
163
- {
164
- "kind": "const";
165
- "value": [
166
- 118,
167
- 97,
168
- 117,
169
- 108,
170
- 116
171
- ];
172
- },
173
- {
174
- "kind": "account";
175
- "path": "glamState";
176
- }
177
- ];
178
- "program": {
179
- "kind": "account";
180
- "path": "glamProtocolProgram";
181
- };
182
- };
183
- },
184
- {
185
- "name": "glamSigner";
186
- "writable": true;
187
- "signer": true;
188
- },
189
- {
190
- "name": "integrationAuthority";
191
- "pda": {
192
- "seeds": [
193
- {
194
- "kind": "const";
195
- "value": [
196
- 105,
197
- 110,
198
- 116,
199
- 101,
200
- 103,
201
- 114,
202
- 97,
203
- 116,
204
- 105,
205
- 111,
206
- 110,
207
- 45,
208
- 97,
209
- 117,
210
- 116,
211
- 104,
212
- 111,
213
- 114,
214
- 105,
215
- 116,
216
- 121
217
- ];
218
- }
219
- ];
220
- };
221
- },
222
- {
223
- "name": "cpiProgram";
224
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
225
- },
226
- {
227
- "name": "glamProtocolProgram";
228
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
229
- },
230
- {
231
- "name": "systemProgram";
232
- "address": "11111111111111111111111111111111";
233
- },
234
- {
235
- "name": "whirlpool";
236
- },
237
- {
238
- "name": "position";
239
- "writable": true;
240
- },
241
- {
242
- "name": "positionTokenAccount";
243
- },
244
- {
245
- "name": "tokenMintA";
246
- },
247
- {
248
- "name": "tokenMintB";
249
- },
250
- {
251
- "name": "tokenOwnerAccountA";
252
- "writable": true;
253
- },
254
- {
255
- "name": "tokenVaultA";
256
- "writable": true;
257
- },
258
- {
259
- "name": "tokenOwnerAccountB";
260
- "writable": true;
261
- },
262
- {
263
- "name": "tokenVaultB";
264
- "writable": true;
265
- },
266
- {
267
- "name": "tokenProgramA";
268
- },
269
- {
270
- "name": "tokenProgramB";
271
- },
272
- {
273
- "name": "memoProgram";
274
- }
275
- ];
276
- "args": [
277
- {
278
- "name": "remainingAccountsInfo";
279
- "type": {
280
- "option": {
281
- "defined": {
282
- "name": "remainingAccountsInfo";
283
- };
284
- };
285
- };
286
- }
287
- ];
288
- },
289
- {
290
- "name": "collectRewardV2";
291
- "docs": [
292
- "Collect one reward emission using Token-2022-aware accounts.",
293
- "",
294
- "- Permission: `CollectReward`."
295
- ];
296
- "discriminator": [
297
- 177,
298
- 107,
299
- 37,
300
- 180,
301
- 160,
302
- 19,
303
- 49,
304
- 209
305
- ];
306
- "accounts": [
307
- {
308
- "name": "glamState";
309
- "writable": true;
310
- },
311
- {
312
- "name": "glamVault";
313
- "writable": true;
314
- "pda": {
315
- "seeds": [
316
- {
317
- "kind": "const";
318
- "value": [
319
- 118,
320
- 97,
321
- 117,
322
- 108,
323
- 116
324
- ];
325
- },
326
- {
327
- "kind": "account";
328
- "path": "glamState";
329
- }
330
- ];
331
- "program": {
332
- "kind": "account";
333
- "path": "glamProtocolProgram";
334
- };
335
- };
336
- },
337
- {
338
- "name": "glamSigner";
339
- "writable": true;
340
- "signer": true;
341
- },
342
- {
343
- "name": "integrationAuthority";
344
- "pda": {
345
- "seeds": [
346
- {
347
- "kind": "const";
348
- "value": [
349
- 105,
350
- 110,
351
- 116,
352
- 101,
353
- 103,
354
- 114,
355
- 97,
356
- 116,
357
- 105,
358
- 111,
359
- 110,
360
- 45,
361
- 97,
362
- 117,
363
- 116,
364
- 104,
365
- 111,
366
- 114,
367
- 105,
368
- 116,
369
- 121
370
- ];
371
- }
372
- ];
373
- };
374
- },
375
- {
376
- "name": "cpiProgram";
377
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
378
- },
379
- {
380
- "name": "glamProtocolProgram";
381
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
382
- },
383
- {
384
- "name": "systemProgram";
385
- "address": "11111111111111111111111111111111";
386
- },
387
- {
388
- "name": "whirlpool";
389
- },
390
- {
391
- "name": "position";
392
- "writable": true;
393
- },
394
- {
395
- "name": "positionTokenAccount";
396
- },
397
- {
398
- "name": "rewardOwnerAccount";
399
- "writable": true;
400
- },
401
- {
402
- "name": "rewardMint";
403
- },
404
- {
405
- "name": "rewardVault";
406
- "writable": true;
407
- },
408
- {
409
- "name": "rewardTokenProgram";
410
- },
411
- {
412
- "name": "memoProgram";
413
- }
414
- ];
415
- "args": [
416
- {
417
- "name": "rewardIndex";
418
- "type": "u8";
419
- },
420
- {
421
- "name": "remainingAccountsInfo";
422
- "type": {
423
- "option": {
424
- "defined": {
425
- "name": "remainingAccountsInfo";
426
- };
427
- };
428
- };
429
- }
430
- ];
431
- },
432
- {
433
- "name": "decreaseLiquidityV2";
434
- "docs": [
435
- "Decrease liquidity in an Orca Whirlpools position using Token-2022-aware accounts.",
436
- "",
437
- "- Permission: `DecreaseLiquidity`."
438
- ];
439
- "discriminator": [
440
- 58,
441
- 127,
442
- 188,
443
- 62,
444
- 79,
445
- 82,
446
- 196,
447
- 96
448
- ];
449
- "accounts": [
450
- {
451
- "name": "glamState";
452
- "writable": true;
453
- },
454
- {
455
- "name": "glamVault";
456
- "writable": true;
457
- "pda": {
458
- "seeds": [
459
- {
460
- "kind": "const";
461
- "value": [
462
- 118,
463
- 97,
464
- 117,
465
- 108,
466
- 116
467
- ];
468
- },
469
- {
470
- "kind": "account";
471
- "path": "glamState";
472
- }
473
- ];
474
- "program": {
475
- "kind": "account";
476
- "path": "glamProtocolProgram";
477
- };
478
- };
479
- },
480
- {
481
- "name": "glamSigner";
482
- "writable": true;
483
- "signer": true;
484
- },
485
- {
486
- "name": "integrationAuthority";
487
- "pda": {
488
- "seeds": [
489
- {
490
- "kind": "const";
491
- "value": [
492
- 105,
493
- 110,
494
- 116,
495
- 101,
496
- 103,
497
- 114,
498
- 97,
499
- 116,
500
- 105,
501
- 111,
502
- 110,
503
- 45,
504
- 97,
505
- 117,
506
- 116,
507
- 104,
508
- 111,
509
- 114,
510
- 105,
511
- 116,
512
- 121
513
- ];
514
- }
515
- ];
516
- };
517
- },
518
- {
519
- "name": "cpiProgram";
520
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
521
- },
522
- {
523
- "name": "glamProtocolProgram";
524
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
525
- },
526
- {
527
- "name": "systemProgram";
528
- "address": "11111111111111111111111111111111";
529
- },
530
- {
531
- "name": "whirlpool";
532
- "writable": true;
533
- },
534
- {
535
- "name": "tokenProgramA";
536
- },
537
- {
538
- "name": "tokenProgramB";
539
- },
540
- {
541
- "name": "memoProgram";
542
- },
543
- {
544
- "name": "position";
545
- "writable": true;
546
- },
547
- {
548
- "name": "positionTokenAccount";
549
- },
550
- {
551
- "name": "tokenMintA";
552
- },
553
- {
554
- "name": "tokenMintB";
555
- },
556
- {
557
- "name": "tokenOwnerAccountA";
558
- "writable": true;
559
- },
560
- {
561
- "name": "tokenOwnerAccountB";
562
- "writable": true;
563
- },
564
- {
565
- "name": "tokenVaultA";
566
- "writable": true;
567
- },
568
- {
569
- "name": "tokenVaultB";
570
- "writable": true;
571
- },
572
- {
573
- "name": "tickArrayLower";
574
- "writable": true;
575
- },
576
- {
577
- "name": "tickArrayUpper";
578
- "writable": true;
579
- }
580
- ];
581
- "args": [
582
- {
583
- "name": "liquidityAmount";
584
- "type": "u128";
585
- },
586
- {
587
- "name": "tokenMinA";
588
- "type": "u64";
589
- },
590
- {
591
- "name": "tokenMinB";
592
- "type": "u64";
593
- },
594
- {
595
- "name": "remainingAccountsInfo";
596
- "type": {
597
- "option": {
598
- "defined": {
599
- "name": "remainingAccountsInfo";
600
- };
601
- };
602
- };
603
- }
604
- ];
605
- },
606
- {
607
- "name": "increaseLiquidityByTokenAmountsV2";
608
- "docs": [
609
- "Increase liquidity by token amount bounds using Token-2022-aware accounts."
610
- ];
611
- "discriminator": [
612
- 239,
613
- 251,
614
- 9,
615
- 124,
616
- 210,
617
- 198,
618
- 53,
619
- 43
620
- ];
621
- "accounts": [
622
- {
623
- "name": "glamState";
624
- "writable": true;
625
- },
626
- {
627
- "name": "glamVault";
628
- "writable": true;
629
- "pda": {
630
- "seeds": [
631
- {
632
- "kind": "const";
633
- "value": [
634
- 118,
635
- 97,
636
- 117,
637
- 108,
638
- 116
639
- ];
640
- },
641
- {
642
- "kind": "account";
643
- "path": "glamState";
644
- }
645
- ];
646
- "program": {
647
- "kind": "account";
648
- "path": "glamProtocolProgram";
649
- };
650
- };
651
- },
652
- {
653
- "name": "glamSigner";
654
- "writable": true;
655
- "signer": true;
656
- },
657
- {
658
- "name": "integrationAuthority";
659
- "pda": {
660
- "seeds": [
661
- {
662
- "kind": "const";
663
- "value": [
664
- 105,
665
- 110,
666
- 116,
667
- 101,
668
- 103,
669
- 114,
670
- 97,
671
- 116,
672
- 105,
673
- 111,
674
- 110,
675
- 45,
676
- 97,
677
- 117,
678
- 116,
679
- 104,
680
- 111,
681
- 114,
682
- 105,
683
- 116,
684
- 121
685
- ];
686
- }
687
- ];
688
- };
689
- },
690
- {
691
- "name": "cpiProgram";
692
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
693
- },
694
- {
695
- "name": "glamProtocolProgram";
696
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
697
- },
698
- {
699
- "name": "systemProgram";
700
- "address": "11111111111111111111111111111111";
701
- },
702
- {
703
- "name": "whirlpool";
704
- "writable": true;
705
- },
706
- {
707
- "name": "tokenProgramA";
708
- },
709
- {
710
- "name": "tokenProgramB";
711
- },
712
- {
713
- "name": "memoProgram";
714
- },
715
- {
716
- "name": "position";
717
- "writable": true;
718
- },
719
- {
720
- "name": "positionTokenAccount";
721
- },
722
- {
723
- "name": "tokenMintA";
724
- },
725
- {
726
- "name": "tokenMintB";
727
- },
728
- {
729
- "name": "tokenOwnerAccountA";
730
- "writable": true;
731
- },
732
- {
733
- "name": "tokenOwnerAccountB";
734
- "writable": true;
735
- },
736
- {
737
- "name": "tokenVaultA";
738
- "writable": true;
739
- },
740
- {
741
- "name": "tokenVaultB";
742
- "writable": true;
743
- },
744
- {
745
- "name": "tickArrayLower";
746
- "writable": true;
747
- },
748
- {
749
- "name": "tickArrayUpper";
750
- "writable": true;
751
- }
752
- ];
753
- "args": [
754
- {
755
- "name": "method";
756
- "type": {
757
- "defined": {
758
- "name": "increaseLiquidityMethod";
759
- };
760
- };
761
- },
762
- {
763
- "name": "remainingAccountsInfo";
764
- "type": {
765
- "option": {
766
- "defined": {
767
- "name": "remainingAccountsInfo";
768
- };
769
- };
770
- };
771
- }
772
- ];
773
- },
774
- {
775
- "name": "increaseLiquidityV2";
776
- "docs": [
777
- "Increase liquidity in an Orca Whirlpools position using Token-2022-aware accounts.",
778
- "",
779
- "- Permission: `IncreaseLiquidity`.",
780
- "- Policy: Whirlpool and both pool token mints must be allowlisted."
781
- ];
782
- "discriminator": [
783
- 133,
784
- 29,
785
- 89,
786
- 223,
787
- 69,
788
- 238,
789
- 176,
790
- 10
791
- ];
792
- "accounts": [
793
- {
794
- "name": "glamState";
795
- "writable": true;
796
- },
797
- {
798
- "name": "glamVault";
799
- "writable": true;
800
- "pda": {
801
- "seeds": [
802
- {
803
- "kind": "const";
804
- "value": [
805
- 118,
806
- 97,
807
- 117,
808
- 108,
809
- 116
810
- ];
811
- },
812
- {
813
- "kind": "account";
814
- "path": "glamState";
815
- }
816
- ];
817
- "program": {
818
- "kind": "account";
819
- "path": "glamProtocolProgram";
820
- };
821
- };
822
- },
823
- {
824
- "name": "glamSigner";
825
- "writable": true;
826
- "signer": true;
827
- },
828
- {
829
- "name": "integrationAuthority";
830
- "pda": {
831
- "seeds": [
832
- {
833
- "kind": "const";
834
- "value": [
835
- 105,
836
- 110,
837
- 116,
838
- 101,
839
- 103,
840
- 114,
841
- 97,
842
- 116,
843
- 105,
844
- 111,
845
- 110,
846
- 45,
847
- 97,
848
- 117,
849
- 116,
850
- 104,
851
- 111,
852
- 114,
853
- 105,
854
- 116,
855
- 121
856
- ];
857
- }
858
- ];
859
- };
860
- },
861
- {
862
- "name": "cpiProgram";
863
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
864
- },
865
- {
866
- "name": "glamProtocolProgram";
867
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
868
- },
869
- {
870
- "name": "systemProgram";
871
- "address": "11111111111111111111111111111111";
872
- },
873
- {
874
- "name": "whirlpool";
875
- "writable": true;
876
- },
877
- {
878
- "name": "tokenProgramA";
879
- },
880
- {
881
- "name": "tokenProgramB";
882
- },
883
- {
884
- "name": "memoProgram";
885
- },
886
- {
887
- "name": "position";
888
- "writable": true;
889
- },
890
- {
891
- "name": "positionTokenAccount";
892
- },
893
- {
894
- "name": "tokenMintA";
895
- },
896
- {
897
- "name": "tokenMintB";
898
- },
899
- {
900
- "name": "tokenOwnerAccountA";
901
- "writable": true;
902
- },
903
- {
904
- "name": "tokenOwnerAccountB";
905
- "writable": true;
906
- },
907
- {
908
- "name": "tokenVaultA";
909
- "writable": true;
910
- },
911
- {
912
- "name": "tokenVaultB";
913
- "writable": true;
914
- },
915
- {
916
- "name": "tickArrayLower";
917
- "writable": true;
918
- },
919
- {
920
- "name": "tickArrayUpper";
921
- "writable": true;
922
- }
923
- ];
924
- "args": [
925
- {
926
- "name": "liquidityAmount";
927
- "type": "u128";
928
- },
929
- {
930
- "name": "tokenMaxA";
931
- "type": "u64";
932
- },
933
- {
934
- "name": "tokenMaxB";
935
- "type": "u64";
936
- },
937
- {
938
- "name": "remainingAccountsInfo";
939
- "type": {
940
- "option": {
941
- "defined": {
942
- "name": "remainingAccountsInfo";
943
- };
944
- };
945
- };
946
- }
947
- ];
948
- },
949
- {
950
- "name": "initializeTickArray";
951
- "docs": [
952
- "Initialize an Orca fixed tick array for an allowlisted Whirlpool.",
953
- "",
954
- "- Permission: `InitializeTickArray`.",
955
- "- Policy: Whirlpool and both pool token mints must be allowlisted."
956
- ];
957
- "discriminator": [
958
- 11,
959
- 188,
960
- 193,
961
- 214,
962
- 141,
963
- 91,
964
- 149,
965
- 184
966
- ];
967
- "accounts": [
968
- {
969
- "name": "glamState";
970
- "writable": true;
971
- },
972
- {
973
- "name": "glamVault";
974
- "writable": true;
975
- "pda": {
976
- "seeds": [
977
- {
978
- "kind": "const";
979
- "value": [
980
- 118,
981
- 97,
982
- 117,
983
- 108,
984
- 116
985
- ];
986
- },
987
- {
988
- "kind": "account";
989
- "path": "glamState";
990
- }
991
- ];
992
- "program": {
993
- "kind": "account";
994
- "path": "glamProtocolProgram";
995
- };
996
- };
997
- },
998
- {
999
- "name": "glamSigner";
1000
- "writable": true;
1001
- "signer": true;
1002
- },
1003
- {
1004
- "name": "integrationAuthority";
1005
- "pda": {
1006
- "seeds": [
1007
- {
1008
- "kind": "const";
1009
- "value": [
1010
- 105,
1011
- 110,
1012
- 116,
1013
- 101,
1014
- 103,
1015
- 114,
1016
- 97,
1017
- 116,
1018
- 105,
1019
- 111,
1020
- 110,
1021
- 45,
1022
- 97,
1023
- 117,
1024
- 116,
1025
- 104,
1026
- 111,
1027
- 114,
1028
- 105,
1029
- 116,
1030
- 121
1031
- ];
1032
- }
1033
- ];
1034
- };
1035
- },
1036
- {
1037
- "name": "cpiProgram";
1038
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
1039
- },
1040
- {
1041
- "name": "glamProtocolProgram";
1042
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
1043
- },
1044
- {
1045
- "name": "systemProgram";
1046
- "address": "11111111111111111111111111111111";
1047
- },
1048
- {
1049
- "name": "whirlpool";
1050
- },
1051
- {
1052
- "name": "tickArray";
1053
- "writable": true;
1054
- }
1055
- ];
1056
- "args": [
1057
- {
1058
- "name": "startTickIndex";
1059
- "type": "i32";
1060
- }
1061
- ];
1062
- },
1063
- {
1064
- "name": "openPositionWithTokenExtensions";
1065
- "docs": [
1066
- "Open a Token-2022 Orca Whirlpools position owned by the GLAM vault.",
1067
- "",
1068
- "- Permission: `OpenPosition`.",
1069
- "- Policy: Whirlpool and both pool token mints must be allowlisted."
1070
- ];
1071
- "discriminator": [
1072
- 212,
1073
- 47,
1074
- 95,
1075
- 92,
1076
- 114,
1077
- 102,
1078
- 131,
1079
- 250
1080
- ];
1081
- "accounts": [
1082
- {
1083
- "name": "glamState";
1084
- "writable": true;
1085
- },
1086
- {
1087
- "name": "glamVault";
1088
- "writable": true;
1089
- "pda": {
1090
- "seeds": [
1091
- {
1092
- "kind": "const";
1093
- "value": [
1094
- 118,
1095
- 97,
1096
- 117,
1097
- 108,
1098
- 116
1099
- ];
1100
- },
1101
- {
1102
- "kind": "account";
1103
- "path": "glamState";
1104
- }
1105
- ];
1106
- "program": {
1107
- "kind": "account";
1108
- "path": "glamProtocolProgram";
1109
- };
1110
- };
1111
- },
1112
- {
1113
- "name": "glamSigner";
1114
- "writable": true;
1115
- "signer": true;
1116
- },
1117
- {
1118
- "name": "integrationAuthority";
1119
- "pda": {
1120
- "seeds": [
1121
- {
1122
- "kind": "const";
1123
- "value": [
1124
- 105,
1125
- 110,
1126
- 116,
1127
- 101,
1128
- 103,
1129
- 114,
1130
- 97,
1131
- 116,
1132
- 105,
1133
- 111,
1134
- 110,
1135
- 45,
1136
- 97,
1137
- 117,
1138
- 116,
1139
- 104,
1140
- 111,
1141
- 114,
1142
- 105,
1143
- 116,
1144
- 121
1145
- ];
1146
- }
1147
- ];
1148
- };
1149
- },
1150
- {
1151
- "name": "cpiProgram";
1152
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
1153
- },
1154
- {
1155
- "name": "glamProtocolProgram";
1156
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
1157
- },
1158
- {
1159
- "name": "systemProgram";
1160
- "address": "11111111111111111111111111111111";
1161
- },
1162
- {
1163
- "name": "position";
1164
- "writable": true;
1165
- },
1166
- {
1167
- "name": "positionMint";
1168
- "writable": true;
1169
- "signer": true;
1170
- },
1171
- {
1172
- "name": "positionTokenAccount";
1173
- "writable": true;
1174
- },
1175
- {
1176
- "name": "whirlpool";
1177
- },
1178
- {
1179
- "name": "token2022Program";
1180
- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
1181
- },
1182
- {
1183
- "name": "associatedTokenProgram";
1184
- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
1185
- },
1186
- {
1187
- "name": "metadataUpdateAuth";
1188
- }
1189
- ];
1190
- "args": [
1191
- {
1192
- "name": "tickLowerIndex";
1193
- "type": "i32";
1194
- },
1195
- {
1196
- "name": "tickUpperIndex";
1197
- "type": "i32";
1198
- },
1199
- {
1200
- "name": "withTokenMetadataExtension";
1201
- "type": "bool";
1202
- }
1203
- ];
1204
- },
1205
- {
1206
- "name": "repositionLiquidityV2";
1207
- "docs": [
1208
- "Reposition liquidity into a new Orca Whirlpools tick range."
1209
- ];
1210
- "discriminator": [
1211
- 191,
1212
- 169,
1213
- 224,
1214
- 11,
1215
- 131,
1216
- 19,
1217
- 158,
1218
- 253
1219
- ];
1220
- "accounts": [
1221
- {
1222
- "name": "glamState";
1223
- "writable": true;
1224
- },
1225
- {
1226
- "name": "glamVault";
1227
- "writable": true;
1228
- "pda": {
1229
- "seeds": [
1230
- {
1231
- "kind": "const";
1232
- "value": [
1233
- 118,
1234
- 97,
1235
- 117,
1236
- 108,
1237
- 116
1238
- ];
1239
- },
1240
- {
1241
- "kind": "account";
1242
- "path": "glamState";
1243
- }
1244
- ];
1245
- "program": {
1246
- "kind": "account";
1247
- "path": "glamProtocolProgram";
1248
- };
1249
- };
1250
- },
1251
- {
1252
- "name": "glamSigner";
1253
- "writable": true;
1254
- "signer": true;
1255
- },
1256
- {
1257
- "name": "integrationAuthority";
1258
- "pda": {
1259
- "seeds": [
1260
- {
1261
- "kind": "const";
1262
- "value": [
1263
- 105,
1264
- 110,
1265
- 116,
1266
- 101,
1267
- 103,
1268
- 114,
1269
- 97,
1270
- 116,
1271
- 105,
1272
- 111,
1273
- 110,
1274
- 45,
1275
- 97,
1276
- 117,
1277
- 116,
1278
- 104,
1279
- 111,
1280
- 114,
1281
- 105,
1282
- 116,
1283
- 121
1284
- ];
1285
- }
1286
- ];
1287
- };
1288
- },
1289
- {
1290
- "name": "cpiProgram";
1291
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
1292
- },
1293
- {
1294
- "name": "glamProtocolProgram";
1295
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
1296
- },
1297
- {
1298
- "name": "systemProgram";
1299
- "address": "11111111111111111111111111111111";
1300
- },
1301
- {
1302
- "name": "whirlpool";
1303
- "writable": true;
1304
- },
1305
- {
1306
- "name": "tokenProgramA";
1307
- },
1308
- {
1309
- "name": "tokenProgramB";
1310
- },
1311
- {
1312
- "name": "memoProgram";
1313
- },
1314
- {
1315
- "name": "position";
1316
- "writable": true;
1317
- },
1318
- {
1319
- "name": "positionTokenAccount";
1320
- },
1321
- {
1322
- "name": "tokenMintA";
1323
- },
1324
- {
1325
- "name": "tokenMintB";
1326
- },
1327
- {
1328
- "name": "tokenOwnerAccountA";
1329
- "writable": true;
1330
- },
1331
- {
1332
- "name": "tokenOwnerAccountB";
1333
- "writable": true;
1334
- },
1335
- {
1336
- "name": "tokenVaultA";
1337
- "writable": true;
1338
- },
1339
- {
1340
- "name": "tokenVaultB";
1341
- "writable": true;
1342
- },
1343
- {
1344
- "name": "existingTickArrayLower";
1345
- "writable": true;
1346
- },
1347
- {
1348
- "name": "existingTickArrayUpper";
1349
- "writable": true;
1350
- },
1351
- {
1352
- "name": "newTickArrayLower";
1353
- "writable": true;
1354
- },
1355
- {
1356
- "name": "newTickArrayUpper";
1357
- "writable": true;
1358
- }
1359
- ];
1360
- "args": [
1361
- {
1362
- "name": "newTickLowerIndex";
1363
- "type": "i32";
1364
- },
1365
- {
1366
- "name": "newTickUpperIndex";
1367
- "type": "i32";
1368
- },
1369
- {
1370
- "name": "method";
1371
- "type": {
1372
- "defined": {
1373
- "name": "repositionLiquidityMethod";
1374
- };
1375
- };
1376
- },
1377
- {
1378
- "name": "remainingAccountsInfo";
1379
- "type": {
1380
- "option": {
1381
- "defined": {
1382
- "name": "remainingAccountsInfo";
1383
- };
1384
- };
1385
- };
1386
- }
1387
- ];
1388
- },
1389
- {
1390
- "name": "setWhirlpoolsPolicy";
1391
- "docs": [
1392
- "Set the Orca Whirlpools policy for a GLAM vault."
1393
- ];
1394
- "discriminator": [
1395
- 87,
1396
- 233,
1397
- 250,
1398
- 82,
1399
- 120,
1400
- 40,
1401
- 212,
1402
- 223
1403
- ];
1404
- "accounts": [
1405
- {
1406
- "name": "glamState";
1407
- "writable": true;
1408
- },
1409
- {
1410
- "name": "glamSigner";
1411
- "writable": true;
1412
- "signer": true;
1413
- },
1414
- {
1415
- "name": "glamProtocolProgram";
1416
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
1417
- }
1418
- ];
1419
- "args": [
1420
- {
1421
- "name": "policy";
1422
- "type": {
1423
- "defined": {
1424
- "name": "whirlpoolsPolicy";
1425
- };
1426
- };
1427
- }
1428
- ];
1429
- },
1430
- {
1431
- "name": "updateFeesAndRewards";
1432
- "docs": [
1433
- "Update accrued fees and rewards for an Orca Whirlpools position.",
1434
- "",
1435
- "- Permission: `UpdateFeesAndRewards`."
1436
- ];
1437
- "discriminator": [
1438
- 154,
1439
- 230,
1440
- 250,
1441
- 13,
1442
- 236,
1443
- 209,
1444
- 75,
1445
- 223
1446
- ];
1447
- "accounts": [
1448
- {
1449
- "name": "glamState";
1450
- "writable": true;
1451
- },
1452
- {
1453
- "name": "glamVault";
1454
- "writable": true;
1455
- "pda": {
1456
- "seeds": [
1457
- {
1458
- "kind": "const";
1459
- "value": [
1460
- 118,
1461
- 97,
1462
- 117,
1463
- 108,
1464
- 116
1465
- ];
1466
- },
1467
- {
1468
- "kind": "account";
1469
- "path": "glamState";
1470
- }
1471
- ];
1472
- "program": {
1473
- "kind": "account";
1474
- "path": "glamProtocolProgram";
1475
- };
1476
- };
1477
- },
1478
- {
1479
- "name": "glamSigner";
1480
- "writable": true;
1481
- "signer": true;
1482
- },
1483
- {
1484
- "name": "integrationAuthority";
1485
- "pda": {
1486
- "seeds": [
1487
- {
1488
- "kind": "const";
1489
- "value": [
1490
- 105,
1491
- 110,
1492
- 116,
1493
- 101,
1494
- 103,
1495
- 114,
1496
- 97,
1497
- 116,
1498
- 105,
1499
- 111,
1500
- 110,
1501
- 45,
1502
- 97,
1503
- 117,
1504
- 116,
1505
- 104,
1506
- 111,
1507
- 114,
1508
- 105,
1509
- 116,
1510
- 121
1511
- ];
1512
- }
1513
- ];
1514
- };
1515
- },
1516
- {
1517
- "name": "cpiProgram";
1518
- "address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc";
1519
- },
1520
- {
1521
- "name": "glamProtocolProgram";
1522
- "address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz";
1523
- },
1524
- {
1525
- "name": "systemProgram";
1526
- "address": "11111111111111111111111111111111";
1527
- },
1528
- {
1529
- "name": "whirlpool";
1530
- "writable": true;
1531
- },
1532
- {
1533
- "name": "position";
1534
- "writable": true;
1535
- },
1536
- {
1537
- "name": "tickArrayLower";
1538
- },
1539
- {
1540
- "name": "tickArrayUpper";
1541
- }
1542
- ];
1543
- "args": [];
1544
- }
1545
- ];
1546
- "accounts": [
1547
- {
1548
- "name": "stateAccount";
1549
- "discriminator": [
1550
- 142,
1551
- 247,
1552
- 54,
1553
- 95,
1554
- 85,
1555
- 133,
1556
- 249,
1557
- 103
1558
- ];
1559
- }
1560
- ];
1561
- "errors": [
1562
- {
1563
- "code": 6000;
1564
- "name": "invalidWhirlpoolAccount";
1565
- "msg": "Invalid Orca Whirlpool account";
1566
- },
1567
- {
1568
- "code": 6001;
1569
- "name": "invalidPositionAccount";
1570
- "msg": "Invalid Orca position account";
1571
- },
1572
- {
1573
- "code": 6002;
1574
- "name": "tokenMintMismatch";
1575
- "msg": "Orca token account mint does not match the Whirlpool";
1576
- },
1577
- {
1578
- "code": 6003;
1579
- "name": "invalidIxArgs";
1580
- "msg": "Invalid instruction arguments";
1581
- },
1582
- {
1583
- "code": 6004;
1584
- "name": "protocolPolicyViolation";
1585
- "msg": "Protocol policy violation";
1586
- },
1587
- {
1588
- "code": 6005;
1589
- "name": "pricingError";
1590
- "msg": "Pricing error";
1591
- },
1592
- {
1593
- "code": 6006;
1594
- "name": "missingAccount";
1595
- "msg": "An account required by the instruction is missing";
1596
- },
1597
- {
1598
- "code": 6007;
1599
- "name": "unsupportedOracleSource";
1600
- "msg": "Oracle source not supported in this context";
1601
- },
1602
- {
1603
- "code": 6008;
1604
- "name": "invalidAccountType";
1605
- "msg": "Invalid account type";
1606
- },
1607
- {
1608
- "code": 6009;
1609
- "name": "unexpectedProgramOwner";
1610
- "msg": "Account is owned by an unexpected program";
1611
- },
1612
- {
1613
- "code": 6010;
1614
- "name": "invalidPriceDenom";
1615
- "msg": "Invalid price denom";
1616
- },
1617
- {
1618
- "code": 6011;
1619
- "name": "maxDeviationExceeded";
1620
- "msg": "Max deviation exceeded";
1621
- },
1622
- {
1623
- "code": 6012;
1624
- "name": "invalidTokenAccount";
1625
- "msg": "Invalid token account";
1626
- },
1627
- {
1628
- "code": 6013;
1629
- "name": "invalidVaultTokenAccount";
1630
- "msg": "Invalid vault ata";
1631
- }
1632
- ];
1633
- "types": [
1634
- {
1635
- "name": "accountType";
1636
- "type": {
1637
- "kind": "enum";
1638
- "variants": [
1639
- {
1640
- "name": "vault";
1641
- },
1642
- {
1643
- "name": "tokenizedVault";
1644
- },
1645
- {
1646
- "name": "mint";
1647
- },
1648
- {
1649
- "name": "singleAssetVault";
1650
- }
1651
- ];
1652
- };
1653
- },
1654
- {
1655
- "name": "accountsType";
1656
- "type": {
1657
- "kind": "enum";
1658
- "variants": [
1659
- {
1660
- "name": "transferHookA";
1661
- },
1662
- {
1663
- "name": "transferHookB";
1664
- },
1665
- {
1666
- "name": "transferHookReward";
1667
- },
1668
- {
1669
- "name": "transferHookInput";
1670
- },
1671
- {
1672
- "name": "transferHookIntermediate";
1673
- },
1674
- {
1675
- "name": "transferHookOutput";
1676
- },
1677
- {
1678
- "name": "supplementalTickArrays";
1679
- },
1680
- {
1681
- "name": "supplementalTickArraysOne";
1682
- },
1683
- {
1684
- "name": "supplementalTickArraysTwo";
1685
- },
1686
- {
1687
- "name": "transferHookDepositA";
1688
- },
1689
- {
1690
- "name": "transferHookDepositB";
1691
- },
1692
- {
1693
- "name": "transferHookWithdrawalA";
1694
- },
1695
- {
1696
- "name": "transferHookWithdrawalB";
1697
- }
1698
- ];
1699
- };
1700
- },
1701
- {
1702
- "name": "accruedFees";
1703
- "type": {
1704
- "kind": "struct";
1705
- "fields": [
1706
- {
1707
- "name": "vaultSubscriptionFee";
1708
- "type": "u128";
1709
- },
1710
- {
1711
- "name": "vaultRedemptionFee";
1712
- "type": "u128";
1713
- },
1714
- {
1715
- "name": "managerSubscriptionFee";
1716
- "type": "u128";
1717
- },
1718
- {
1719
- "name": "managerRedemptionFee";
1720
- "type": "u128";
1721
- },
1722
- {
1723
- "name": "managementFee";
1724
- "type": "u128";
1725
- },
1726
- {
1727
- "name": "performanceFee";
1728
- "type": "u128";
1729
- },
1730
- {
1731
- "name": "protocolBaseFee";
1732
- "type": "u128";
1733
- },
1734
- {
1735
- "name": "protocolFlowFee";
1736
- "type": "u128";
1737
- }
1738
- ];
1739
- };
1740
- },
1741
- {
1742
- "name": "createdModel";
1743
- "type": {
1744
- "kind": "struct";
1745
- "fields": [
1746
- {
1747
- "name": "key";
1748
- "type": {
1749
- "array": [
1750
- "u8",
1751
- 8
1752
- ];
1753
- };
1754
- },
1755
- {
1756
- "name": "createdBy";
1757
- "type": "pubkey";
1758
- },
1759
- {
1760
- "name": "createdAt";
1761
- "type": "i64";
1762
- }
1763
- ];
1764
- };
1765
- },
1766
- {
1767
- "name": "delegateAcl";
1768
- "type": {
1769
- "kind": "struct";
1770
- "fields": [
1771
- {
1772
- "name": "pubkey";
1773
- "type": "pubkey";
1774
- },
1775
- {
1776
- "name": "integrationPermissions";
1777
- "type": {
1778
- "vec": {
1779
- "defined": {
1780
- "name": "integrationPermissions";
1781
- };
1782
- };
1783
- };
1784
- },
1785
- {
1786
- "name": "expiresAt";
1787
- "type": "i64";
1788
- }
1789
- ];
1790
- };
1791
- },
1792
- {
1793
- "name": "engineField";
1794
- "type": {
1795
- "kind": "struct";
1796
- "fields": [
1797
- {
1798
- "name": "name";
1799
- "type": {
1800
- "defined": {
1801
- "name": "engineFieldName";
1802
- };
1803
- };
1804
- },
1805
- {
1806
- "name": "value";
1807
- "type": {
1808
- "defined": {
1809
- "name": "engineFieldValue";
1810
- };
1811
- };
1812
- }
1813
- ];
1814
- };
1815
- },
1816
- {
1817
- "name": "engineFieldName";
1818
- "type": {
1819
- "kind": "enum";
1820
- "variants": [
1821
- {
1822
- "name": "owner";
1823
- },
1824
- {
1825
- "name": "portfolioManagerName";
1826
- },
1827
- {
1828
- "name": "name";
1829
- },
1830
- {
1831
- "name": "uri";
1832
- },
1833
- {
1834
- "name": "assets";
1835
- },
1836
- {
1837
- "name": "delegateAcls";
1838
- },
1839
- {
1840
- "name": "integrationAcls";
1841
- },
1842
- {
1843
- "name": "timelockDuration";
1844
- },
1845
- {
1846
- "name": "borrowable";
1847
- },
1848
- {
1849
- "name": "defaultAccountStateFrozen";
1850
- },
1851
- {
1852
- "name": "permanentDelegate";
1853
- },
1854
- {
1855
- "name": "notifyAndSettle";
1856
- },
1857
- {
1858
- "name": "feeStructure";
1859
- },
1860
- {
1861
- "name": "feeParams";
1862
- },
1863
- {
1864
- "name": "claimableFees";
1865
- },
1866
- {
1867
- "name": "claimedFees";
1868
- },
1869
- {
1870
- "name": "oracleConfigs";
1871
- }
1872
- ];
1873
- };
1874
- },
1875
- {
1876
- "name": "engineFieldValue";
1877
- "type": {
1878
- "kind": "enum";
1879
- "variants": [
1880
- {
1881
- "name": "boolean";
1882
- "fields": [
1883
- {
1884
- "name": "val";
1885
- "type": "bool";
1886
- }
1887
- ];
1888
- },
1889
- {
1890
- "name": "u8";
1891
- "fields": [
1892
- {
1893
- "name": "val";
1894
- "type": "u8";
1895
- }
1896
- ];
1897
- },
1898
- {
1899
- "name": "u32";
1900
- "fields": [
1901
- {
1902
- "name": "val";
1903
- "type": "u32";
1904
- }
1905
- ];
1906
- },
1907
- {
1908
- "name": "u64";
1909
- "fields": [
1910
- {
1911
- "name": "val";
1912
- "type": "u64";
1913
- }
1914
- ];
1915
- },
1916
- {
1917
- "name": "string";
1918
- "fields": [
1919
- {
1920
- "name": "val";
1921
- "type": "string";
1922
- }
1923
- ];
1924
- },
1925
- {
1926
- "name": "pubkey";
1927
- "fields": [
1928
- {
1929
- "name": "val";
1930
- "type": "pubkey";
1931
- }
1932
- ];
1933
- },
1934
- {
1935
- "name": "vecPubkey";
1936
- "fields": [
1937
- {
1938
- "name": "val";
1939
- "type": {
1940
- "vec": "pubkey";
1941
- };
1942
- }
1943
- ];
1944
- },
1945
- {
1946
- "name": "vecU8";
1947
- "fields": [
1948
- {
1949
- "name": "val";
1950
- "type": "bytes";
1951
- }
1952
- ];
1953
- },
1954
- {
1955
- "name": "vecU32";
1956
- "fields": [
1957
- {
1958
- "name": "val";
1959
- "type": {
1960
- "vec": "u32";
1961
- };
1962
- }
1963
- ];
1964
- },
1965
- {
1966
- "name": "vecDelegateAcl";
1967
- "fields": [
1968
- {
1969
- "name": "val";
1970
- "type": {
1971
- "vec": {
1972
- "defined": {
1973
- "name": "delegateAcl";
1974
- };
1975
- };
1976
- };
1977
- }
1978
- ];
1979
- },
1980
- {
1981
- "name": "vecIntegrationAcl";
1982
- "fields": [
1983
- {
1984
- "name": "val";
1985
- "type": {
1986
- "vec": {
1987
- "defined": {
1988
- "name": "integrationAcl";
1989
- };
1990
- };
1991
- };
1992
- }
1993
- ];
1994
- },
1995
- {
1996
- "name": "feeStructure";
1997
- "fields": [
1998
- {
1999
- "name": "val";
2000
- "type": {
2001
- "defined": {
2002
- "name": "feeStructure";
2003
- };
2004
- };
2005
- }
2006
- ];
2007
- },
2008
- {
2009
- "name": "feeParams";
2010
- "fields": [
2011
- {
2012
- "name": "val";
2013
- "type": {
2014
- "defined": {
2015
- "name": "feeParams";
2016
- };
2017
- };
2018
- }
2019
- ];
2020
- },
2021
- {
2022
- "name": "accruedFees";
2023
- "fields": [
2024
- {
2025
- "name": "val";
2026
- "type": {
2027
- "defined": {
2028
- "name": "accruedFees";
2029
- };
2030
- };
2031
- }
2032
- ];
2033
- },
2034
- {
2035
- "name": "notifyAndSettle";
2036
- "fields": [
2037
- {
2038
- "name": "val";
2039
- "type": {
2040
- "defined": {
2041
- "name": "notifyAndSettle";
2042
- };
2043
- };
2044
- }
2045
- ];
2046
- },
2047
- {
2048
- "name": "oracleConfigs";
2049
- "fields": [
2050
- {
2051
- "name": "val";
2052
- "type": {
2053
- "defined": {
2054
- "name": "oracleConfigs";
2055
- };
2056
- };
2057
- }
2058
- ];
2059
- }
2060
- ];
2061
- };
2062
- },
2063
- {
2064
- "name": "entryExitFees";
2065
- "type": {
2066
- "kind": "struct";
2067
- "fields": [
2068
- {
2069
- "name": "subscriptionFeeBps";
2070
- "type": "u16";
2071
- },
2072
- {
2073
- "name": "redemptionFeeBps";
2074
- "type": "u16";
2075
- }
2076
- ];
2077
- };
2078
- },
2079
- {
2080
- "name": "feeParams";
2081
- "type": {
2082
- "kind": "struct";
2083
- "fields": [
2084
- {
2085
- "name": "yearInSeconds";
2086
- "type": "u32";
2087
- },
2088
- {
2089
- "name": "paHighWaterMark";
2090
- "type": "i128";
2091
- },
2092
- {
2093
- "name": "paLastNav";
2094
- "type": "i128";
2095
- },
2096
- {
2097
- "name": "lastAum";
2098
- "type": "i128";
2099
- },
2100
- {
2101
- "name": "lastPerformanceFeeCrystallized";
2102
- "type": "i64";
2103
- },
2104
- {
2105
- "name": "lastManagementFeeCrystallized";
2106
- "type": "i64";
2107
- },
2108
- {
2109
- "name": "lastProtocolFeeCrystallized";
2110
- "type": "i64";
2111
- }
2112
- ];
2113
- };
2114
- },
2115
- {
2116
- "name": "feeStructure";
2117
- "type": {
2118
- "kind": "struct";
2119
- "fields": [
2120
- {
2121
- "name": "vault";
2122
- "type": {
2123
- "defined": {
2124
- "name": "entryExitFees";
2125
- };
2126
- };
2127
- },
2128
- {
2129
- "name": "manager";
2130
- "type": {
2131
- "defined": {
2132
- "name": "entryExitFees";
2133
- };
2134
- };
2135
- },
2136
- {
2137
- "name": "management";
2138
- "type": {
2139
- "defined": {
2140
- "name": "managementFee";
2141
- };
2142
- };
2143
- },
2144
- {
2145
- "name": "performance";
2146
- "type": {
2147
- "defined": {
2148
- "name": "performanceFee";
2149
- };
2150
- };
2151
- },
2152
- {
2153
- "name": "protocol";
2154
- "type": {
2155
- "defined": {
2156
- "name": "protocolFees";
2157
- };
2158
- };
2159
- }
2160
- ];
2161
- };
2162
- },
2163
- {
2164
- "name": "hurdleType";
2165
- "type": {
2166
- "kind": "enum";
2167
- "variants": [
2168
- {
2169
- "name": "hard";
2170
- },
2171
- {
2172
- "name": "soft";
2173
- }
2174
- ];
2175
- };
2176
- },
2177
- {
2178
- "name": "increaseLiquidityMethod";
2179
- "type": {
2180
- "kind": "enum";
2181
- "variants": [
2182
- {
2183
- "name": "byTokenAmounts";
2184
- "fields": [
2185
- {
2186
- "name": "tokenMaxA";
2187
- "type": "u64";
2188
- },
2189
- {
2190
- "name": "tokenMaxB";
2191
- "type": "u64";
2192
- },
2193
- {
2194
- "name": "minSqrtPrice";
2195
- "type": "u128";
2196
- },
2197
- {
2198
- "name": "maxSqrtPrice";
2199
- "type": "u128";
2200
- }
2201
- ];
2202
- }
2203
- ];
2204
- };
2205
- },
2206
- {
2207
- "name": "integrationAcl";
2208
- "docs": [
2209
- "An integration program can have multiple protocols supported.",
2210
- "Enabled protocols are stored in a bitmask, and each protocol can have its own policy."
2211
- ];
2212
- "type": {
2213
- "kind": "struct";
2214
- "fields": [
2215
- {
2216
- "name": "integrationProgram";
2217
- "type": "pubkey";
2218
- },
2219
- {
2220
- "name": "protocolsBitmask";
2221
- "type": "u16";
2222
- },
2223
- {
2224
- "name": "protocolPolicies";
2225
- "type": {
2226
- "vec": {
2227
- "defined": {
2228
- "name": "protocolPolicy";
2229
- };
2230
- };
2231
- };
2232
- }
2233
- ];
2234
- };
2235
- },
2236
- {
2237
- "name": "integrationPermissions";
2238
- "docs": [
2239
- "Stores delegate permissions for an integration program."
2240
- ];
2241
- "type": {
2242
- "kind": "struct";
2243
- "fields": [
2244
- {
2245
- "name": "integrationProgram";
2246
- "type": "pubkey";
2247
- },
2248
- {
2249
- "name": "protocolPermissions";
2250
- "type": {
2251
- "vec": {
2252
- "defined": {
2253
- "name": "protocolPermissions";
2254
- };
2255
- };
2256
- };
2257
- }
2258
- ];
2259
- };
2260
- },
2261
- {
2262
- "name": "managementFee";
2263
- "type": {
2264
- "kind": "struct";
2265
- "fields": [
2266
- {
2267
- "name": "feeBps";
2268
- "type": "u16";
2269
- }
2270
- ];
2271
- };
2272
- },
2273
- {
2274
- "name": "noticePeriodType";
2275
- "type": {
2276
- "kind": "enum";
2277
- "variants": [
2278
- {
2279
- "name": "hard";
2280
- },
2281
- {
2282
- "name": "soft";
2283
- }
2284
- ];
2285
- };
2286
- },
2287
- {
2288
- "name": "notifyAndSettle";
2289
- "type": {
2290
- "kind": "struct";
2291
- "fields": [
2292
- {
2293
- "name": "model";
2294
- "type": {
2295
- "defined": {
2296
- "name": "valuationModel";
2297
- };
2298
- };
2299
- },
2300
- {
2301
- "name": "permissionlessFulfillment";
2302
- "type": "bool";
2303
- },
2304
- {
2305
- "name": "subscribeNoticePeriodType";
2306
- "type": {
2307
- "defined": {
2308
- "name": "noticePeriodType";
2309
- };
2310
- };
2311
- },
2312
- {
2313
- "name": "subscribeNoticePeriod";
2314
- "type": "u64";
2315
- },
2316
- {
2317
- "name": "subscribeSettlementPeriod";
2318
- "type": "u64";
2319
- },
2320
- {
2321
- "name": "subscribeCancellationWindow";
2322
- "type": "u64";
2323
- },
2324
- {
2325
- "name": "redeemNoticePeriodType";
2326
- "type": {
2327
- "defined": {
2328
- "name": "noticePeriodType";
2329
- };
2330
- };
2331
- },
2332
- {
2333
- "name": "redeemNoticePeriod";
2334
- "type": "u64";
2335
- },
2336
- {
2337
- "name": "redeemSettlementPeriod";
2338
- "type": "u64";
2339
- },
2340
- {
2341
- "name": "redeemCancellationWindow";
2342
- "type": "u64";
2343
- },
2344
- {
2345
- "name": "timeUnit";
2346
- "type": {
2347
- "defined": {
2348
- "name": "timeUnit";
2349
- };
2350
- };
2351
- },
2352
- {
2353
- "name": "padding";
2354
- "type": {
2355
- "array": [
2356
- "u8",
2357
- 3
2358
- ];
2359
- };
2360
- }
2361
- ];
2362
- };
2363
- },
2364
- {
2365
- "name": "oracleConfigs";
2366
- "docs": [
2367
- "Vault-specific oracle configs. If available, these configs are preferred over the global config."
2368
- ];
2369
- "type": {
2370
- "kind": "struct";
2371
- "fields": [
2372
- {
2373
- "name": "maxAgesSeconds";
2374
- "type": {
2375
- "vec": {
2376
- "array": [
2377
- "u16",
2378
- 2
2379
- ];
2380
- };
2381
- };
2382
- },
2383
- {
2384
- "name": "padding";
2385
- "type": {
2386
- "array": [
2387
- "u8",
2388
- 12
2389
- ];
2390
- };
2391
- }
2392
- ];
2393
- };
2394
- },
2395
- {
2396
- "name": "performanceFee";
2397
- "type": {
2398
- "kind": "struct";
2399
- "fields": [
2400
- {
2401
- "name": "feeBps";
2402
- "type": "u16";
2403
- },
2404
- {
2405
- "name": "hurdleRateBps";
2406
- "type": "u16";
2407
- },
2408
- {
2409
- "name": "hurdleType";
2410
- "type": {
2411
- "defined": {
2412
- "name": "hurdleType";
2413
- };
2414
- };
2415
- }
2416
- ];
2417
- };
2418
- },
2419
- {
2420
- "name": "pricedProtocol";
2421
- "type": {
2422
- "kind": "struct";
2423
- "fields": [
2424
- {
2425
- "name": "rent";
2426
- "type": "u64";
2427
- },
2428
- {
2429
- "name": "amount";
2430
- "type": "i128";
2431
- },
2432
- {
2433
- "name": "decimals";
2434
- "type": "u8";
2435
- },
2436
- {
2437
- "name": "lastUpdatedSlot";
2438
- "type": "u64";
2439
- },
2440
- {
2441
- "name": "integrationProgram";
2442
- "type": "pubkey";
2443
- },
2444
- {
2445
- "name": "protocolBitflag";
2446
- "type": "u16";
2447
- },
2448
- {
2449
- "name": "positions";
2450
- "type": {
2451
- "vec": "pubkey";
2452
- };
2453
- }
2454
- ];
2455
- };
2456
- },
2457
- {
2458
- "name": "protocolFees";
2459
- "type": {
2460
- "kind": "struct";
2461
- "fields": [
2462
- {
2463
- "name": "baseFeeBps";
2464
- "type": "u16";
2465
- },
2466
- {
2467
- "name": "flowFeeBps";
2468
- "type": "u16";
2469
- }
2470
- ];
2471
- };
2472
- },
2473
- {
2474
- "name": "protocolPermissions";
2475
- "docs": [
2476
- "Represents a delegate's permissions for a specific protocol"
2477
- ];
2478
- "type": {
2479
- "kind": "struct";
2480
- "fields": [
2481
- {
2482
- "name": "protocolBitflag";
2483
- "type": "u16";
2484
- },
2485
- {
2486
- "name": "permissionsBitmask";
2487
- "type": "u64";
2488
- }
2489
- ];
2490
- };
2491
- },
2492
- {
2493
- "name": "protocolPolicy";
2494
- "docs": [
2495
- "Stores policy data for an integrated protocol.",
2496
- "Integration programs serialize/deserialize this data."
2497
- ];
2498
- "type": {
2499
- "kind": "struct";
2500
- "fields": [
2501
- {
2502
- "name": "protocolBitflag";
2503
- "type": "u16";
2504
- },
2505
- {
2506
- "name": "data";
2507
- "type": "bytes";
2508
- }
2509
- ];
2510
- };
2511
- },
2512
- {
2513
- "name": "remainingAccountsInfo";
2514
- "type": {
2515
- "kind": "struct";
2516
- "fields": [
2517
- {
2518
- "name": "slices";
2519
- "type": {
2520
- "vec": {
2521
- "defined": {
2522
- "name": "remainingAccountsSlice";
2523
- };
2524
- };
2525
- };
2526
- }
2527
- ];
2528
- };
2529
- },
2530
- {
2531
- "name": "remainingAccountsSlice";
2532
- "type": {
2533
- "kind": "struct";
2534
- "fields": [
2535
- {
2536
- "name": "accountsType";
2537
- "type": {
2538
- "defined": {
2539
- "name": "accountsType";
2540
- };
2541
- };
2542
- },
2543
- {
2544
- "name": "length";
2545
- "type": "u8";
2546
- }
2547
- ];
2548
- };
2549
- },
2550
- {
2551
- "name": "repositionLiquidityMethod";
2552
- "type": {
2553
- "kind": "enum";
2554
- "variants": [
2555
- {
2556
- "name": "byLiquidity";
2557
- "fields": [
2558
- {
2559
- "name": "newLiquidityAmount";
2560
- "type": "u128";
2561
- },
2562
- {
2563
- "name": "existingRangeTokenMinA";
2564
- "type": "u64";
2565
- },
2566
- {
2567
- "name": "existingRangeTokenMinB";
2568
- "type": "u64";
2569
- },
2570
- {
2571
- "name": "newRangeTokenMaxA";
2572
- "type": "u64";
2573
- },
2574
- {
2575
- "name": "newRangeTokenMaxB";
2576
- "type": "u64";
2577
- }
2578
- ];
2579
- }
2580
- ];
2581
- };
2582
- },
2583
- {
2584
- "name": "stateAccount";
2585
- "type": {
2586
- "kind": "struct";
2587
- "fields": [
2588
- {
2589
- "name": "accountType";
2590
- "type": {
2591
- "defined": {
2592
- "name": "accountType";
2593
- };
2594
- };
2595
- },
2596
- {
2597
- "name": "enabled";
2598
- "type": "bool";
2599
- },
2600
- {
2601
- "name": "vault";
2602
- "type": "pubkey";
2603
- },
2604
- {
2605
- "name": "owner";
2606
- "type": "pubkey";
2607
- },
2608
- {
2609
- "name": "portfolioManagerName";
2610
- "type": {
2611
- "array": [
2612
- "u8",
2613
- 32
2614
- ];
2615
- };
2616
- },
2617
- {
2618
- "name": "created";
2619
- "type": {
2620
- "defined": {
2621
- "name": "createdModel";
2622
- };
2623
- };
2624
- },
2625
- {
2626
- "name": "baseAssetMint";
2627
- "type": "pubkey";
2628
- },
2629
- {
2630
- "name": "baseAssetDecimals";
2631
- "type": "u8";
2632
- },
2633
- {
2634
- "name": "baseAssetTokenProgram";
2635
- "type": "u8";
2636
- },
2637
- {
2638
- "name": "name";
2639
- "type": {
2640
- "array": [
2641
- "u8",
2642
- 32
2643
- ];
2644
- };
2645
- },
2646
- {
2647
- "name": "timelockDuration";
2648
- "type": "u32";
2649
- },
2650
- {
2651
- "name": "timelockExpiresAt";
2652
- "type": "u64";
2653
- },
2654
- {
2655
- "name": "mint";
2656
- "type": "pubkey";
2657
- },
2658
- {
2659
- "name": "assets";
2660
- "type": {
2661
- "vec": "pubkey";
2662
- };
2663
- },
2664
- {
2665
- "name": "integrationAcls";
2666
- "type": {
2667
- "vec": {
2668
- "defined": {
2669
- "name": "integrationAcl";
2670
- };
2671
- };
2672
- };
2673
- },
2674
- {
2675
- "name": "delegateAcls";
2676
- "type": {
2677
- "vec": {
2678
- "defined": {
2679
- "name": "delegateAcl";
2680
- };
2681
- };
2682
- };
2683
- },
2684
- {
2685
- "name": "externalPositions";
2686
- "type": {
2687
- "vec": "pubkey";
2688
- };
2689
- },
2690
- {
2691
- "name": "pricedProtocols";
2692
- "type": {
2693
- "vec": {
2694
- "defined": {
2695
- "name": "pricedProtocol";
2696
- };
2697
- };
2698
- };
2699
- },
2700
- {
2701
- "name": "params";
2702
- "type": {
2703
- "vec": {
2704
- "vec": {
2705
- "defined": {
2706
- "name": "engineField";
2707
- };
2708
- };
2709
- };
2710
- };
2711
- }
2712
- ];
2713
- };
2714
- },
2715
- {
2716
- "name": "timeUnit";
2717
- "type": {
2718
- "kind": "enum";
2719
- "variants": [
2720
- {
2721
- "name": "second";
2722
- },
2723
- {
2724
- "name": "slot";
2725
- }
2726
- ];
2727
- };
2728
- },
2729
- {
2730
- "name": "valuationModel";
2731
- "type": {
2732
- "kind": "enum";
2733
- "variants": [
2734
- {
2735
- "name": "continuous";
2736
- },
2737
- {
2738
- "name": "periodic";
2739
- }
2740
- ];
2741
- };
2742
- },
2743
- {
2744
- "name": "whirlpoolsPolicy";
2745
- "type": {
2746
- "kind": "struct";
2747
- "fields": [
2748
- {
2749
- "name": "whirlpoolsAllowlist";
2750
- "type": {
2751
- "vec": "pubkey";
2752
- };
2753
- },
2754
- {
2755
- "name": "tokenMintsAllowlist";
2756
- "type": {
2757
- "vec": "pubkey";
2758
- };
2759
- },
2760
- {
2761
- "name": "maxDeviationBps";
2762
- "docs": [
2763
- "Signed pool/oracle price threshold in bps, matching Jupiter swap v2 semantics.",
2764
- "Positive permits pool price below oracle, zero requires at least oracle, negative requires a premium."
2765
- ];
2766
- "type": "i16";
2767
- }
2768
- ];
2769
- };
2770
- }
2771
- ];
2772
- "constants": [
2773
- {
2774
- "name": "protoOrcaWhirlpools";
2775
- "type": "u16";
2776
- "value": "1";
2777
- },
2778
- {
2779
- "name": "protoOrcaWhirlpoolsPermClosePosition";
2780
- "type": "u64";
2781
- "value": "64";
2782
- },
2783
- {
2784
- "name": "protoOrcaWhirlpoolsPermCollectFees";
2785
- "type": "u64";
2786
- "value": "16";
2787
- },
2788
- {
2789
- "name": "protoOrcaWhirlpoolsPermCollectReward";
2790
- "type": "u64";
2791
- "value": "32";
2792
- },
2793
- {
2794
- "name": "protoOrcaWhirlpoolsPermDecreaseLiquidity";
2795
- "type": "u64";
2796
- "value": "4";
2797
- },
2798
- {
2799
- "name": "protoOrcaWhirlpoolsPermIncreaseLiquidity";
2800
- "type": "u64";
2801
- "value": "2";
2802
- },
2803
- {
2804
- "name": "protoOrcaWhirlpoolsPermIncreaseLiquidityByTokenAmounts";
2805
- "type": "u64";
2806
- "value": "128";
2807
- },
2808
- {
2809
- "name": "protoOrcaWhirlpoolsPermInitializeTickArray";
2810
- "type": "u64";
2811
- "value": "512";
2812
- },
2813
- {
2814
- "name": "protoOrcaWhirlpoolsPermOpenPosition";
2815
- "type": "u64";
2816
- "value": "1";
2817
- },
2818
- {
2819
- "name": "protoOrcaWhirlpoolsPermRepositionLiquidity";
2820
- "type": "u64";
2821
- "value": "256";
2822
- },
2823
- {
2824
- "name": "protoOrcaWhirlpoolsPermUpdateFeesAndRewards";
2825
- "type": "u64";
2826
- "value": "8";
2827
- }
2828
- ];
2829
- };