@meteora-ag/cp-amm-sdk 1.4.3 → 1.4.4
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 +735 -1798
- package/dist/index.d.ts +735 -1798
- package/dist/index.js +478 -907
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +478 -907
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ type CpAmm$1 = {
|
|
|
14
14
|
address: "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG";
|
|
15
15
|
metadata: {
|
|
16
16
|
name: "cpAmm";
|
|
17
|
-
version: "0.2.
|
|
17
|
+
version: "0.2.2";
|
|
18
18
|
spec: "0.1.0";
|
|
19
19
|
description: "Created with Anchor";
|
|
20
20
|
};
|
|
@@ -69,8 +69,8 @@ type CpAmm$1 = {
|
|
|
69
69
|
docs: ["The token account for nft"];
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
name: "
|
|
73
|
-
docs: ["
|
|
72
|
+
name: "signer";
|
|
73
|
+
docs: ["Signer"];
|
|
74
74
|
signer: true;
|
|
75
75
|
},
|
|
76
76
|
{
|
|
@@ -83,32 +83,6 @@ type CpAmm$1 = {
|
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
name: "eventAuthority";
|
|
86
|
-
pda: {
|
|
87
|
-
seeds: [
|
|
88
|
-
{
|
|
89
|
-
kind: "const";
|
|
90
|
-
value: [
|
|
91
|
-
95,
|
|
92
|
-
95,
|
|
93
|
-
101,
|
|
94
|
-
118,
|
|
95
|
-
101,
|
|
96
|
-
110,
|
|
97
|
-
116,
|
|
98
|
-
95,
|
|
99
|
-
97,
|
|
100
|
-
117,
|
|
101
|
-
116,
|
|
102
|
-
104,
|
|
103
|
-
111,
|
|
104
|
-
114,
|
|
105
|
-
105,
|
|
106
|
-
116,
|
|
107
|
-
121
|
|
108
|
-
];
|
|
109
|
-
}
|
|
110
|
-
];
|
|
111
|
-
};
|
|
112
86
|
},
|
|
113
87
|
{
|
|
114
88
|
name: "program";
|
|
@@ -178,8 +152,8 @@ type CpAmm$1 = {
|
|
|
178
152
|
docs: ["The token account for nft"];
|
|
179
153
|
},
|
|
180
154
|
{
|
|
181
|
-
name: "
|
|
182
|
-
docs: ["
|
|
155
|
+
name: "signer";
|
|
156
|
+
docs: ["Signer"];
|
|
183
157
|
signer: true;
|
|
184
158
|
},
|
|
185
159
|
{
|
|
@@ -192,32 +166,6 @@ type CpAmm$1 = {
|
|
|
192
166
|
},
|
|
193
167
|
{
|
|
194
168
|
name: "eventAuthority";
|
|
195
|
-
pda: {
|
|
196
|
-
seeds: [
|
|
197
|
-
{
|
|
198
|
-
kind: "const";
|
|
199
|
-
value: [
|
|
200
|
-
95,
|
|
201
|
-
95,
|
|
202
|
-
101,
|
|
203
|
-
118,
|
|
204
|
-
101,
|
|
205
|
-
110,
|
|
206
|
-
116,
|
|
207
|
-
95,
|
|
208
|
-
97,
|
|
209
|
-
117,
|
|
210
|
-
116,
|
|
211
|
-
104,
|
|
212
|
-
111,
|
|
213
|
-
114,
|
|
214
|
-
105,
|
|
215
|
-
116,
|
|
216
|
-
121
|
|
217
|
-
];
|
|
218
|
-
}
|
|
219
|
-
];
|
|
220
|
-
};
|
|
221
169
|
},
|
|
222
170
|
{
|
|
223
171
|
name: "program";
|
|
@@ -286,32 +234,6 @@ type CpAmm$1 = {
|
|
|
286
234
|
},
|
|
287
235
|
{
|
|
288
236
|
name: "eventAuthority";
|
|
289
|
-
pda: {
|
|
290
|
-
seeds: [
|
|
291
|
-
{
|
|
292
|
-
kind: "const";
|
|
293
|
-
value: [
|
|
294
|
-
95,
|
|
295
|
-
95,
|
|
296
|
-
101,
|
|
297
|
-
118,
|
|
298
|
-
101,
|
|
299
|
-
110,
|
|
300
|
-
116,
|
|
301
|
-
95,
|
|
302
|
-
97,
|
|
303
|
-
117,
|
|
304
|
-
116,
|
|
305
|
-
104,
|
|
306
|
-
111,
|
|
307
|
-
114,
|
|
308
|
-
105,
|
|
309
|
-
116,
|
|
310
|
-
121
|
|
311
|
-
];
|
|
312
|
-
}
|
|
313
|
-
];
|
|
314
|
-
};
|
|
315
237
|
},
|
|
316
238
|
{
|
|
317
239
|
name: "program";
|
|
@@ -328,6 +250,62 @@ type CpAmm$1 = {
|
|
|
328
250
|
}
|
|
329
251
|
];
|
|
330
252
|
},
|
|
253
|
+
{
|
|
254
|
+
name: "claimProtocolFee2";
|
|
255
|
+
discriminator: [235, 194, 54, 69, 65, 10, 236, 112];
|
|
256
|
+
accounts: [
|
|
257
|
+
{
|
|
258
|
+
name: "receiverTokenAccount";
|
|
259
|
+
docs: [
|
|
260
|
+
"receiver token account for the claimed token. validated through the protocol_fee program"
|
|
261
|
+
];
|
|
262
|
+
writable: true;
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: "tokenAMint";
|
|
266
|
+
relations: ["pool"];
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: "tokenBMint";
|
|
270
|
+
relations: ["pool"];
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
name: "tokenAProgram";
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
name: "tokenBProgram";
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: "pool";
|
|
280
|
+
writable: true;
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: "tokenAVault";
|
|
284
|
+
writable: true;
|
|
285
|
+
relations: ["pool"];
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: "tokenBVault";
|
|
289
|
+
writable: true;
|
|
290
|
+
relations: ["pool"];
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
name: "poolAuthority";
|
|
294
|
+
address: "HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC";
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
name: "signer";
|
|
298
|
+
signer: true;
|
|
299
|
+
address: "FkU5rQCWQM131skHCpcEbK8P1JrQGsBgqXe55w525SSF";
|
|
300
|
+
}
|
|
301
|
+
];
|
|
302
|
+
args: [
|
|
303
|
+
{
|
|
304
|
+
name: "maxAmount";
|
|
305
|
+
type: "u64";
|
|
306
|
+
}
|
|
307
|
+
];
|
|
308
|
+
},
|
|
331
309
|
{
|
|
332
310
|
name: "claimReward";
|
|
333
311
|
discriminator: [149, 95, 181, 242, 94, 90, 158, 162];
|
|
@@ -362,8 +340,8 @@ type CpAmm$1 = {
|
|
|
362
340
|
docs: ["The token account for nft"];
|
|
363
341
|
},
|
|
364
342
|
{
|
|
365
|
-
name: "
|
|
366
|
-
docs: ["
|
|
343
|
+
name: "signer";
|
|
344
|
+
docs: ["Signer"];
|
|
367
345
|
signer: true;
|
|
368
346
|
},
|
|
369
347
|
{
|
|
@@ -371,32 +349,6 @@ type CpAmm$1 = {
|
|
|
371
349
|
},
|
|
372
350
|
{
|
|
373
351
|
name: "eventAuthority";
|
|
374
|
-
pda: {
|
|
375
|
-
seeds: [
|
|
376
|
-
{
|
|
377
|
-
kind: "const";
|
|
378
|
-
value: [
|
|
379
|
-
95,
|
|
380
|
-
95,
|
|
381
|
-
101,
|
|
382
|
-
118,
|
|
383
|
-
101,
|
|
384
|
-
110,
|
|
385
|
-
116,
|
|
386
|
-
95,
|
|
387
|
-
97,
|
|
388
|
-
117,
|
|
389
|
-
116,
|
|
390
|
-
104,
|
|
391
|
-
111,
|
|
392
|
-
114,
|
|
393
|
-
105,
|
|
394
|
-
116,
|
|
395
|
-
121
|
|
396
|
-
];
|
|
397
|
-
}
|
|
398
|
-
];
|
|
399
|
-
};
|
|
400
352
|
},
|
|
401
353
|
{
|
|
402
354
|
name: "program";
|
|
@@ -434,32 +386,6 @@ type CpAmm$1 = {
|
|
|
434
386
|
},
|
|
435
387
|
{
|
|
436
388
|
name: "eventAuthority";
|
|
437
|
-
pda: {
|
|
438
|
-
seeds: [
|
|
439
|
-
{
|
|
440
|
-
kind: "const";
|
|
441
|
-
value: [
|
|
442
|
-
95,
|
|
443
|
-
95,
|
|
444
|
-
101,
|
|
445
|
-
118,
|
|
446
|
-
101,
|
|
447
|
-
110,
|
|
448
|
-
116,
|
|
449
|
-
95,
|
|
450
|
-
97,
|
|
451
|
-
117,
|
|
452
|
-
116,
|
|
453
|
-
104,
|
|
454
|
-
111,
|
|
455
|
-
114,
|
|
456
|
-
105,
|
|
457
|
-
116,
|
|
458
|
-
121
|
|
459
|
-
];
|
|
460
|
-
}
|
|
461
|
-
];
|
|
462
|
-
};
|
|
463
389
|
},
|
|
464
390
|
{
|
|
465
391
|
name: "program";
|
|
@@ -485,32 +411,6 @@ type CpAmm$1 = {
|
|
|
485
411
|
},
|
|
486
412
|
{
|
|
487
413
|
name: "eventAuthority";
|
|
488
|
-
pda: {
|
|
489
|
-
seeds: [
|
|
490
|
-
{
|
|
491
|
-
kind: "const";
|
|
492
|
-
value: [
|
|
493
|
-
95,
|
|
494
|
-
95,
|
|
495
|
-
101,
|
|
496
|
-
118,
|
|
497
|
-
101,
|
|
498
|
-
110,
|
|
499
|
-
116,
|
|
500
|
-
95,
|
|
501
|
-
97,
|
|
502
|
-
117,
|
|
503
|
-
116,
|
|
504
|
-
104,
|
|
505
|
-
111,
|
|
506
|
-
114,
|
|
507
|
-
105,
|
|
508
|
-
116,
|
|
509
|
-
121
|
|
510
|
-
];
|
|
511
|
-
}
|
|
512
|
-
];
|
|
513
|
-
};
|
|
514
414
|
},
|
|
515
415
|
{
|
|
516
416
|
name: "program";
|
|
@@ -563,32 +463,6 @@ type CpAmm$1 = {
|
|
|
563
463
|
},
|
|
564
464
|
{
|
|
565
465
|
name: "eventAuthority";
|
|
566
|
-
pda: {
|
|
567
|
-
seeds: [
|
|
568
|
-
{
|
|
569
|
-
kind: "const";
|
|
570
|
-
value: [
|
|
571
|
-
95,
|
|
572
|
-
95,
|
|
573
|
-
101,
|
|
574
|
-
118,
|
|
575
|
-
101,
|
|
576
|
-
110,
|
|
577
|
-
116,
|
|
578
|
-
95,
|
|
579
|
-
97,
|
|
580
|
-
117,
|
|
581
|
-
116,
|
|
582
|
-
104,
|
|
583
|
-
111,
|
|
584
|
-
114,
|
|
585
|
-
105,
|
|
586
|
-
116,
|
|
587
|
-
121
|
|
588
|
-
];
|
|
589
|
-
}
|
|
590
|
-
];
|
|
591
|
-
};
|
|
592
466
|
},
|
|
593
467
|
{
|
|
594
468
|
name: "program";
|
|
@@ -617,32 +491,6 @@ type CpAmm$1 = {
|
|
|
617
491
|
},
|
|
618
492
|
{
|
|
619
493
|
name: "eventAuthority";
|
|
620
|
-
pda: {
|
|
621
|
-
seeds: [
|
|
622
|
-
{
|
|
623
|
-
kind: "const";
|
|
624
|
-
value: [
|
|
625
|
-
95,
|
|
626
|
-
95,
|
|
627
|
-
101,
|
|
628
|
-
118,
|
|
629
|
-
101,
|
|
630
|
-
110,
|
|
631
|
-
116,
|
|
632
|
-
95,
|
|
633
|
-
97,
|
|
634
|
-
117,
|
|
635
|
-
116,
|
|
636
|
-
104,
|
|
637
|
-
111,
|
|
638
|
-
114,
|
|
639
|
-
105,
|
|
640
|
-
116,
|
|
641
|
-
121
|
|
642
|
-
];
|
|
643
|
-
}
|
|
644
|
-
];
|
|
645
|
-
};
|
|
646
494
|
},
|
|
647
495
|
{
|
|
648
496
|
name: "program";
|
|
@@ -689,32 +537,6 @@ type CpAmm$1 = {
|
|
|
689
537
|
},
|
|
690
538
|
{
|
|
691
539
|
name: "eventAuthority";
|
|
692
|
-
pda: {
|
|
693
|
-
seeds: [
|
|
694
|
-
{
|
|
695
|
-
kind: "const";
|
|
696
|
-
value: [
|
|
697
|
-
95,
|
|
698
|
-
95,
|
|
699
|
-
101,
|
|
700
|
-
118,
|
|
701
|
-
101,
|
|
702
|
-
110,
|
|
703
|
-
116,
|
|
704
|
-
95,
|
|
705
|
-
97,
|
|
706
|
-
117,
|
|
707
|
-
116,
|
|
708
|
-
104,
|
|
709
|
-
111,
|
|
710
|
-
114,
|
|
711
|
-
105,
|
|
712
|
-
116,
|
|
713
|
-
121
|
|
714
|
-
];
|
|
715
|
-
}
|
|
716
|
-
];
|
|
717
|
-
};
|
|
718
540
|
},
|
|
719
541
|
{
|
|
720
542
|
name: "program";
|
|
@@ -773,32 +595,6 @@ type CpAmm$1 = {
|
|
|
773
595
|
},
|
|
774
596
|
{
|
|
775
597
|
name: "eventAuthority";
|
|
776
|
-
pda: {
|
|
777
|
-
seeds: [
|
|
778
|
-
{
|
|
779
|
-
kind: "const";
|
|
780
|
-
value: [
|
|
781
|
-
95,
|
|
782
|
-
95,
|
|
783
|
-
101,
|
|
784
|
-
118,
|
|
785
|
-
101,
|
|
786
|
-
110,
|
|
787
|
-
116,
|
|
788
|
-
95,
|
|
789
|
-
97,
|
|
790
|
-
117,
|
|
791
|
-
116,
|
|
792
|
-
104,
|
|
793
|
-
111,
|
|
794
|
-
114,
|
|
795
|
-
105,
|
|
796
|
-
116,
|
|
797
|
-
121
|
|
798
|
-
];
|
|
799
|
-
}
|
|
800
|
-
];
|
|
801
|
-
};
|
|
802
598
|
},
|
|
803
599
|
{
|
|
804
600
|
name: "program";
|
|
@@ -858,32 +654,6 @@ type CpAmm$1 = {
|
|
|
858
654
|
},
|
|
859
655
|
{
|
|
860
656
|
name: "eventAuthority";
|
|
861
|
-
pda: {
|
|
862
|
-
seeds: [
|
|
863
|
-
{
|
|
864
|
-
kind: "const";
|
|
865
|
-
value: [
|
|
866
|
-
95,
|
|
867
|
-
95,
|
|
868
|
-
101,
|
|
869
|
-
118,
|
|
870
|
-
101,
|
|
871
|
-
110,
|
|
872
|
-
116,
|
|
873
|
-
95,
|
|
874
|
-
97,
|
|
875
|
-
117,
|
|
876
|
-
116,
|
|
877
|
-
104,
|
|
878
|
-
111,
|
|
879
|
-
114,
|
|
880
|
-
105,
|
|
881
|
-
116,
|
|
882
|
-
121
|
|
883
|
-
];
|
|
884
|
-
}
|
|
885
|
-
];
|
|
886
|
-
};
|
|
887
657
|
},
|
|
888
658
|
{
|
|
889
659
|
name: "program";
|
|
@@ -990,32 +760,6 @@ type CpAmm$1 = {
|
|
|
990
760
|
},
|
|
991
761
|
{
|
|
992
762
|
name: "eventAuthority";
|
|
993
|
-
pda: {
|
|
994
|
-
seeds: [
|
|
995
|
-
{
|
|
996
|
-
kind: "const";
|
|
997
|
-
value: [
|
|
998
|
-
95,
|
|
999
|
-
95,
|
|
1000
|
-
101,
|
|
1001
|
-
118,
|
|
1002
|
-
101,
|
|
1003
|
-
110,
|
|
1004
|
-
116,
|
|
1005
|
-
95,
|
|
1006
|
-
97,
|
|
1007
|
-
117,
|
|
1008
|
-
116,
|
|
1009
|
-
104,
|
|
1010
|
-
111,
|
|
1011
|
-
114,
|
|
1012
|
-
105,
|
|
1013
|
-
116,
|
|
1014
|
-
121
|
|
1015
|
-
];
|
|
1016
|
-
}
|
|
1017
|
-
];
|
|
1018
|
-
};
|
|
1019
763
|
},
|
|
1020
764
|
{
|
|
1021
765
|
name: "program";
|
|
@@ -1064,32 +808,6 @@ type CpAmm$1 = {
|
|
|
1064
808
|
},
|
|
1065
809
|
{
|
|
1066
810
|
name: "eventAuthority";
|
|
1067
|
-
pda: {
|
|
1068
|
-
seeds: [
|
|
1069
|
-
{
|
|
1070
|
-
kind: "const";
|
|
1071
|
-
value: [
|
|
1072
|
-
95,
|
|
1073
|
-
95,
|
|
1074
|
-
101,
|
|
1075
|
-
118,
|
|
1076
|
-
101,
|
|
1077
|
-
110,
|
|
1078
|
-
116,
|
|
1079
|
-
95,
|
|
1080
|
-
97,
|
|
1081
|
-
117,
|
|
1082
|
-
116,
|
|
1083
|
-
104,
|
|
1084
|
-
111,
|
|
1085
|
-
114,
|
|
1086
|
-
105,
|
|
1087
|
-
116,
|
|
1088
|
-
121
|
|
1089
|
-
];
|
|
1090
|
-
}
|
|
1091
|
-
];
|
|
1092
|
-
};
|
|
1093
811
|
},
|
|
1094
812
|
{
|
|
1095
813
|
name: "program";
|
|
@@ -1222,32 +940,6 @@ type CpAmm$1 = {
|
|
|
1222
940
|
},
|
|
1223
941
|
{
|
|
1224
942
|
name: "eventAuthority";
|
|
1225
|
-
pda: {
|
|
1226
|
-
seeds: [
|
|
1227
|
-
{
|
|
1228
|
-
kind: "const";
|
|
1229
|
-
value: [
|
|
1230
|
-
95,
|
|
1231
|
-
95,
|
|
1232
|
-
101,
|
|
1233
|
-
118,
|
|
1234
|
-
101,
|
|
1235
|
-
110,
|
|
1236
|
-
116,
|
|
1237
|
-
95,
|
|
1238
|
-
97,
|
|
1239
|
-
117,
|
|
1240
|
-
116,
|
|
1241
|
-
104,
|
|
1242
|
-
111,
|
|
1243
|
-
114,
|
|
1244
|
-
105,
|
|
1245
|
-
116,
|
|
1246
|
-
121
|
|
1247
|
-
];
|
|
1248
|
-
}
|
|
1249
|
-
];
|
|
1250
|
-
};
|
|
1251
943
|
},
|
|
1252
944
|
{
|
|
1253
945
|
name: "program";
|
|
@@ -1431,32 +1123,6 @@ type CpAmm$1 = {
|
|
|
1431
1123
|
},
|
|
1432
1124
|
{
|
|
1433
1125
|
name: "eventAuthority";
|
|
1434
|
-
pda: {
|
|
1435
|
-
seeds: [
|
|
1436
|
-
{
|
|
1437
|
-
kind: "const";
|
|
1438
|
-
value: [
|
|
1439
|
-
95,
|
|
1440
|
-
95,
|
|
1441
|
-
101,
|
|
1442
|
-
118,
|
|
1443
|
-
101,
|
|
1444
|
-
110,
|
|
1445
|
-
116,
|
|
1446
|
-
95,
|
|
1447
|
-
97,
|
|
1448
|
-
117,
|
|
1449
|
-
116,
|
|
1450
|
-
104,
|
|
1451
|
-
111,
|
|
1452
|
-
114,
|
|
1453
|
-
105,
|
|
1454
|
-
116,
|
|
1455
|
-
121
|
|
1456
|
-
];
|
|
1457
|
-
}
|
|
1458
|
-
];
|
|
1459
|
-
};
|
|
1460
1126
|
},
|
|
1461
1127
|
{
|
|
1462
1128
|
name: "program";
|
|
@@ -1641,32 +1307,6 @@ type CpAmm$1 = {
|
|
|
1641
1307
|
},
|
|
1642
1308
|
{
|
|
1643
1309
|
name: "eventAuthority";
|
|
1644
|
-
pda: {
|
|
1645
|
-
seeds: [
|
|
1646
|
-
{
|
|
1647
|
-
kind: "const";
|
|
1648
|
-
value: [
|
|
1649
|
-
95,
|
|
1650
|
-
95,
|
|
1651
|
-
101,
|
|
1652
|
-
118,
|
|
1653
|
-
101,
|
|
1654
|
-
110,
|
|
1655
|
-
116,
|
|
1656
|
-
95,
|
|
1657
|
-
97,
|
|
1658
|
-
117,
|
|
1659
|
-
116,
|
|
1660
|
-
104,
|
|
1661
|
-
111,
|
|
1662
|
-
114,
|
|
1663
|
-
105,
|
|
1664
|
-
116,
|
|
1665
|
-
121
|
|
1666
|
-
];
|
|
1667
|
-
}
|
|
1668
|
-
];
|
|
1669
|
-
};
|
|
1670
1310
|
},
|
|
1671
1311
|
{
|
|
1672
1312
|
name: "program";
|
|
@@ -1855,32 +1495,6 @@ type CpAmm$1 = {
|
|
|
1855
1495
|
},
|
|
1856
1496
|
{
|
|
1857
1497
|
name: "eventAuthority";
|
|
1858
|
-
pda: {
|
|
1859
|
-
seeds: [
|
|
1860
|
-
{
|
|
1861
|
-
kind: "const";
|
|
1862
|
-
value: [
|
|
1863
|
-
95,
|
|
1864
|
-
95,
|
|
1865
|
-
101,
|
|
1866
|
-
118,
|
|
1867
|
-
101,
|
|
1868
|
-
110,
|
|
1869
|
-
116,
|
|
1870
|
-
95,
|
|
1871
|
-
97,
|
|
1872
|
-
117,
|
|
1873
|
-
116,
|
|
1874
|
-
104,
|
|
1875
|
-
111,
|
|
1876
|
-
114,
|
|
1877
|
-
105,
|
|
1878
|
-
116,
|
|
1879
|
-
121
|
|
1880
|
-
];
|
|
1881
|
-
}
|
|
1882
|
-
];
|
|
1883
|
-
};
|
|
1884
1498
|
},
|
|
1885
1499
|
{
|
|
1886
1500
|
name: "program";
|
|
@@ -1963,32 +1577,6 @@ type CpAmm$1 = {
|
|
|
1963
1577
|
},
|
|
1964
1578
|
{
|
|
1965
1579
|
name: "eventAuthority";
|
|
1966
|
-
pda: {
|
|
1967
|
-
seeds: [
|
|
1968
|
-
{
|
|
1969
|
-
kind: "const";
|
|
1970
|
-
value: [
|
|
1971
|
-
95,
|
|
1972
|
-
95,
|
|
1973
|
-
101,
|
|
1974
|
-
118,
|
|
1975
|
-
101,
|
|
1976
|
-
110,
|
|
1977
|
-
116,
|
|
1978
|
-
95,
|
|
1979
|
-
97,
|
|
1980
|
-
117,
|
|
1981
|
-
116,
|
|
1982
|
-
104,
|
|
1983
|
-
111,
|
|
1984
|
-
114,
|
|
1985
|
-
105,
|
|
1986
|
-
116,
|
|
1987
|
-
121
|
|
1988
|
-
];
|
|
1989
|
-
}
|
|
1990
|
-
];
|
|
1991
|
-
};
|
|
1992
1580
|
},
|
|
1993
1581
|
{
|
|
1994
1582
|
name: "program";
|
|
@@ -2026,38 +1614,12 @@ type CpAmm$1 = {
|
|
|
2026
1614
|
docs: ["The token account for nft"];
|
|
2027
1615
|
},
|
|
2028
1616
|
{
|
|
2029
|
-
name: "
|
|
2030
|
-
docs: ["
|
|
1617
|
+
name: "signer";
|
|
1618
|
+
docs: ["Signer"];
|
|
2031
1619
|
signer: true;
|
|
2032
1620
|
},
|
|
2033
1621
|
{
|
|
2034
1622
|
name: "eventAuthority";
|
|
2035
|
-
pda: {
|
|
2036
|
-
seeds: [
|
|
2037
|
-
{
|
|
2038
|
-
kind: "const";
|
|
2039
|
-
value: [
|
|
2040
|
-
95,
|
|
2041
|
-
95,
|
|
2042
|
-
101,
|
|
2043
|
-
118,
|
|
2044
|
-
101,
|
|
2045
|
-
110,
|
|
2046
|
-
116,
|
|
2047
|
-
95,
|
|
2048
|
-
97,
|
|
2049
|
-
117,
|
|
2050
|
-
116,
|
|
2051
|
-
104,
|
|
2052
|
-
111,
|
|
2053
|
-
114,
|
|
2054
|
-
105,
|
|
2055
|
-
116,
|
|
2056
|
-
121
|
|
2057
|
-
];
|
|
2058
|
-
}
|
|
2059
|
-
];
|
|
2060
|
-
};
|
|
2061
1623
|
},
|
|
2062
1624
|
{
|
|
2063
1625
|
name: "program";
|
|
@@ -2096,8 +1658,8 @@ type CpAmm$1 = {
|
|
|
2096
1658
|
docs: ["The token account for nft"];
|
|
2097
1659
|
},
|
|
2098
1660
|
{
|
|
2099
|
-
name: "
|
|
2100
|
-
docs: ["
|
|
1661
|
+
name: "signer";
|
|
1662
|
+
docs: ["Signer"];
|
|
2101
1663
|
signer: true;
|
|
2102
1664
|
},
|
|
2103
1665
|
{
|
|
@@ -2111,32 +1673,6 @@ type CpAmm$1 = {
|
|
|
2111
1673
|
},
|
|
2112
1674
|
{
|
|
2113
1675
|
name: "eventAuthority";
|
|
2114
|
-
pda: {
|
|
2115
|
-
seeds: [
|
|
2116
|
-
{
|
|
2117
|
-
kind: "const";
|
|
2118
|
-
value: [
|
|
2119
|
-
95,
|
|
2120
|
-
95,
|
|
2121
|
-
101,
|
|
2122
|
-
118,
|
|
2123
|
-
101,
|
|
2124
|
-
110,
|
|
2125
|
-
116,
|
|
2126
|
-
95,
|
|
2127
|
-
97,
|
|
2128
|
-
117,
|
|
2129
|
-
116,
|
|
2130
|
-
104,
|
|
2131
|
-
111,
|
|
2132
|
-
114,
|
|
2133
|
-
105,
|
|
2134
|
-
116,
|
|
2135
|
-
121
|
|
2136
|
-
];
|
|
2137
|
-
}
|
|
2138
|
-
];
|
|
2139
|
-
};
|
|
2140
1676
|
},
|
|
2141
1677
|
{
|
|
2142
1678
|
name: "program";
|
|
@@ -2171,38 +1707,12 @@ type CpAmm$1 = {
|
|
|
2171
1707
|
docs: ["The token account for nft"];
|
|
2172
1708
|
},
|
|
2173
1709
|
{
|
|
2174
|
-
name: "
|
|
2175
|
-
docs: ["
|
|
1710
|
+
name: "signer";
|
|
1711
|
+
docs: ["Signer"];
|
|
2176
1712
|
signer: true;
|
|
2177
1713
|
},
|
|
2178
1714
|
{
|
|
2179
1715
|
name: "eventAuthority";
|
|
2180
|
-
pda: {
|
|
2181
|
-
seeds: [
|
|
2182
|
-
{
|
|
2183
|
-
kind: "const";
|
|
2184
|
-
value: [
|
|
2185
|
-
95,
|
|
2186
|
-
95,
|
|
2187
|
-
101,
|
|
2188
|
-
118,
|
|
2189
|
-
101,
|
|
2190
|
-
110,
|
|
2191
|
-
116,
|
|
2192
|
-
95,
|
|
2193
|
-
97,
|
|
2194
|
-
117,
|
|
2195
|
-
116,
|
|
2196
|
-
104,
|
|
2197
|
-
111,
|
|
2198
|
-
114,
|
|
2199
|
-
105,
|
|
2200
|
-
116,
|
|
2201
|
-
121
|
|
2202
|
-
];
|
|
2203
|
-
}
|
|
2204
|
-
];
|
|
2205
|
-
};
|
|
2206
1716
|
},
|
|
2207
1717
|
{
|
|
2208
1718
|
name: "program";
|
|
@@ -2291,8 +1801,8 @@ type CpAmm$1 = {
|
|
|
2291
1801
|
docs: ["The token account for nft"];
|
|
2292
1802
|
},
|
|
2293
1803
|
{
|
|
2294
|
-
name: "
|
|
2295
|
-
docs: ["
|
|
1804
|
+
name: "signer";
|
|
1805
|
+
docs: ["Signer"];
|
|
2296
1806
|
signer: true;
|
|
2297
1807
|
},
|
|
2298
1808
|
{
|
|
@@ -2305,32 +1815,6 @@ type CpAmm$1 = {
|
|
|
2305
1815
|
},
|
|
2306
1816
|
{
|
|
2307
1817
|
name: "eventAuthority";
|
|
2308
|
-
pda: {
|
|
2309
|
-
seeds: [
|
|
2310
|
-
{
|
|
2311
|
-
kind: "const";
|
|
2312
|
-
value: [
|
|
2313
|
-
95,
|
|
2314
|
-
95,
|
|
2315
|
-
101,
|
|
2316
|
-
118,
|
|
2317
|
-
101,
|
|
2318
|
-
110,
|
|
2319
|
-
116,
|
|
2320
|
-
95,
|
|
2321
|
-
97,
|
|
2322
|
-
117,
|
|
2323
|
-
116,
|
|
2324
|
-
104,
|
|
2325
|
-
111,
|
|
2326
|
-
114,
|
|
2327
|
-
105,
|
|
2328
|
-
116,
|
|
2329
|
-
121
|
|
2330
|
-
];
|
|
2331
|
-
}
|
|
2332
|
-
];
|
|
2333
|
-
};
|
|
2334
1818
|
},
|
|
2335
1819
|
{
|
|
2336
1820
|
name: "program";
|
|
@@ -2401,8 +1885,8 @@ type CpAmm$1 = {
|
|
|
2401
1885
|
docs: ["The token account for nft"];
|
|
2402
1886
|
},
|
|
2403
1887
|
{
|
|
2404
|
-
name: "
|
|
2405
|
-
docs: ["
|
|
1888
|
+
name: "signer";
|
|
1889
|
+
docs: ["Signer"];
|
|
2406
1890
|
signer: true;
|
|
2407
1891
|
},
|
|
2408
1892
|
{
|
|
@@ -2415,32 +1899,6 @@ type CpAmm$1 = {
|
|
|
2415
1899
|
},
|
|
2416
1900
|
{
|
|
2417
1901
|
name: "eventAuthority";
|
|
2418
|
-
pda: {
|
|
2419
|
-
seeds: [
|
|
2420
|
-
{
|
|
2421
|
-
kind: "const";
|
|
2422
|
-
value: [
|
|
2423
|
-
95,
|
|
2424
|
-
95,
|
|
2425
|
-
101,
|
|
2426
|
-
118,
|
|
2427
|
-
101,
|
|
2428
|
-
110,
|
|
2429
|
-
116,
|
|
2430
|
-
95,
|
|
2431
|
-
97,
|
|
2432
|
-
117,
|
|
2433
|
-
116,
|
|
2434
|
-
104,
|
|
2435
|
-
111,
|
|
2436
|
-
114,
|
|
2437
|
-
105,
|
|
2438
|
-
116,
|
|
2439
|
-
121
|
|
2440
|
-
];
|
|
2441
|
-
}
|
|
2442
|
-
];
|
|
2443
|
-
};
|
|
2444
1902
|
},
|
|
2445
1903
|
{
|
|
2446
1904
|
name: "program";
|
|
@@ -2474,32 +1932,6 @@ type CpAmm$1 = {
|
|
|
2474
1932
|
},
|
|
2475
1933
|
{
|
|
2476
1934
|
name: "eventAuthority";
|
|
2477
|
-
pda: {
|
|
2478
|
-
seeds: [
|
|
2479
|
-
{
|
|
2480
|
-
kind: "const";
|
|
2481
|
-
value: [
|
|
2482
|
-
95,
|
|
2483
|
-
95,
|
|
2484
|
-
101,
|
|
2485
|
-
118,
|
|
2486
|
-
101,
|
|
2487
|
-
110,
|
|
2488
|
-
116,
|
|
2489
|
-
95,
|
|
2490
|
-
97,
|
|
2491
|
-
117,
|
|
2492
|
-
116,
|
|
2493
|
-
104,
|
|
2494
|
-
111,
|
|
2495
|
-
114,
|
|
2496
|
-
105,
|
|
2497
|
-
116,
|
|
2498
|
-
121
|
|
2499
|
-
];
|
|
2500
|
-
}
|
|
2501
|
-
];
|
|
2502
|
-
};
|
|
2503
1935
|
},
|
|
2504
1936
|
{
|
|
2505
1937
|
name: "program";
|
|
@@ -2551,32 +1983,6 @@ type CpAmm$1 = {
|
|
|
2551
1983
|
},
|
|
2552
1984
|
{
|
|
2553
1985
|
name: "eventAuthority";
|
|
2554
|
-
pda: {
|
|
2555
|
-
seeds: [
|
|
2556
|
-
{
|
|
2557
|
-
kind: "const";
|
|
2558
|
-
value: [
|
|
2559
|
-
95,
|
|
2560
|
-
95,
|
|
2561
|
-
101,
|
|
2562
|
-
118,
|
|
2563
|
-
101,
|
|
2564
|
-
110,
|
|
2565
|
-
116,
|
|
2566
|
-
95,
|
|
2567
|
-
97,
|
|
2568
|
-
117,
|
|
2569
|
-
116,
|
|
2570
|
-
104,
|
|
2571
|
-
111,
|
|
2572
|
-
114,
|
|
2573
|
-
105,
|
|
2574
|
-
116,
|
|
2575
|
-
121
|
|
2576
|
-
];
|
|
2577
|
-
}
|
|
2578
|
-
];
|
|
2579
|
-
};
|
|
2580
1986
|
},
|
|
2581
1987
|
{
|
|
2582
1988
|
name: "program";
|
|
@@ -2632,32 +2038,6 @@ type CpAmm$1 = {
|
|
|
2632
2038
|
},
|
|
2633
2039
|
{
|
|
2634
2040
|
name: "eventAuthority";
|
|
2635
|
-
pda: {
|
|
2636
|
-
seeds: [
|
|
2637
|
-
{
|
|
2638
|
-
kind: "const";
|
|
2639
|
-
value: [
|
|
2640
|
-
95,
|
|
2641
|
-
95,
|
|
2642
|
-
101,
|
|
2643
|
-
118,
|
|
2644
|
-
101,
|
|
2645
|
-
110,
|
|
2646
|
-
116,
|
|
2647
|
-
95,
|
|
2648
|
-
97,
|
|
2649
|
-
117,
|
|
2650
|
-
116,
|
|
2651
|
-
104,
|
|
2652
|
-
111,
|
|
2653
|
-
114,
|
|
2654
|
-
105,
|
|
2655
|
-
116,
|
|
2656
|
-
121
|
|
2657
|
-
];
|
|
2658
|
-
}
|
|
2659
|
-
];
|
|
2660
|
-
};
|
|
2661
2041
|
},
|
|
2662
2042
|
{
|
|
2663
2043
|
name: "program";
|
|
@@ -2734,32 +2114,6 @@ type CpAmm$1 = {
|
|
|
2734
2114
|
},
|
|
2735
2115
|
{
|
|
2736
2116
|
name: "eventAuthority";
|
|
2737
|
-
pda: {
|
|
2738
|
-
seeds: [
|
|
2739
|
-
{
|
|
2740
|
-
kind: "const";
|
|
2741
|
-
value: [
|
|
2742
|
-
95,
|
|
2743
|
-
95,
|
|
2744
|
-
101,
|
|
2745
|
-
118,
|
|
2746
|
-
101,
|
|
2747
|
-
110,
|
|
2748
|
-
116,
|
|
2749
|
-
95,
|
|
2750
|
-
97,
|
|
2751
|
-
117,
|
|
2752
|
-
116,
|
|
2753
|
-
104,
|
|
2754
|
-
111,
|
|
2755
|
-
114,
|
|
2756
|
-
105,
|
|
2757
|
-
116,
|
|
2758
|
-
121
|
|
2759
|
-
];
|
|
2760
|
-
}
|
|
2761
|
-
];
|
|
2762
|
-
};
|
|
2763
2117
|
},
|
|
2764
2118
|
{
|
|
2765
2119
|
name: "program";
|
|
@@ -2840,32 +2194,6 @@ type CpAmm$1 = {
|
|
|
2840
2194
|
},
|
|
2841
2195
|
{
|
|
2842
2196
|
name: "eventAuthority";
|
|
2843
|
-
pda: {
|
|
2844
|
-
seeds: [
|
|
2845
|
-
{
|
|
2846
|
-
kind: "const";
|
|
2847
|
-
value: [
|
|
2848
|
-
95,
|
|
2849
|
-
95,
|
|
2850
|
-
101,
|
|
2851
|
-
118,
|
|
2852
|
-
101,
|
|
2853
|
-
110,
|
|
2854
|
-
116,
|
|
2855
|
-
95,
|
|
2856
|
-
97,
|
|
2857
|
-
117,
|
|
2858
|
-
116,
|
|
2859
|
-
104,
|
|
2860
|
-
111,
|
|
2861
|
-
114,
|
|
2862
|
-
105,
|
|
2863
|
-
116,
|
|
2864
|
-
121
|
|
2865
|
-
];
|
|
2866
|
-
}
|
|
2867
|
-
];
|
|
2868
|
-
};
|
|
2869
2197
|
},
|
|
2870
2198
|
{
|
|
2871
2199
|
name: "program";
|
|
@@ -2882,6 +2210,36 @@ type CpAmm$1 = {
|
|
|
2882
2210
|
}
|
|
2883
2211
|
];
|
|
2884
2212
|
},
|
|
2213
|
+
{
|
|
2214
|
+
name: "updateDelegatePermission";
|
|
2215
|
+
discriminator: [175, 165, 56, 64, 0, 251, 89, 47];
|
|
2216
|
+
accounts: [
|
|
2217
|
+
{
|
|
2218
|
+
name: "position";
|
|
2219
|
+
writable: true;
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
name: "positionNftAccount";
|
|
2223
|
+
docs: ["The token account for nft"];
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
name: "owner";
|
|
2227
|
+
signer: true;
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
name: "eventAuthority";
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
name: "program";
|
|
2234
|
+
}
|
|
2235
|
+
];
|
|
2236
|
+
args: [
|
|
2237
|
+
{
|
|
2238
|
+
name: "permission";
|
|
2239
|
+
type: "u32";
|
|
2240
|
+
}
|
|
2241
|
+
];
|
|
2242
|
+
},
|
|
2885
2243
|
{
|
|
2886
2244
|
name: "updatePoolFees";
|
|
2887
2245
|
discriminator: [118, 217, 203, 179, 60, 8, 70, 89];
|
|
@@ -2899,32 +2257,6 @@ type CpAmm$1 = {
|
|
|
2899
2257
|
},
|
|
2900
2258
|
{
|
|
2901
2259
|
name: "eventAuthority";
|
|
2902
|
-
pda: {
|
|
2903
|
-
seeds: [
|
|
2904
|
-
{
|
|
2905
|
-
kind: "const";
|
|
2906
|
-
value: [
|
|
2907
|
-
95,
|
|
2908
|
-
95,
|
|
2909
|
-
101,
|
|
2910
|
-
118,
|
|
2911
|
-
101,
|
|
2912
|
-
110,
|
|
2913
|
-
116,
|
|
2914
|
-
95,
|
|
2915
|
-
97,
|
|
2916
|
-
117,
|
|
2917
|
-
116,
|
|
2918
|
-
104,
|
|
2919
|
-
111,
|
|
2920
|
-
114,
|
|
2921
|
-
105,
|
|
2922
|
-
116,
|
|
2923
|
-
121
|
|
2924
|
-
];
|
|
2925
|
-
}
|
|
2926
|
-
];
|
|
2927
|
-
};
|
|
2928
2260
|
},
|
|
2929
2261
|
{
|
|
2930
2262
|
name: "program";
|
|
@@ -2955,32 +2287,6 @@ type CpAmm$1 = {
|
|
|
2955
2287
|
},
|
|
2956
2288
|
{
|
|
2957
2289
|
name: "eventAuthority";
|
|
2958
|
-
pda: {
|
|
2959
|
-
seeds: [
|
|
2960
|
-
{
|
|
2961
|
-
kind: "const";
|
|
2962
|
-
value: [
|
|
2963
|
-
95,
|
|
2964
|
-
95,
|
|
2965
|
-
101,
|
|
2966
|
-
118,
|
|
2967
|
-
101,
|
|
2968
|
-
110,
|
|
2969
|
-
116,
|
|
2970
|
-
95,
|
|
2971
|
-
97,
|
|
2972
|
-
117,
|
|
2973
|
-
116,
|
|
2974
|
-
104,
|
|
2975
|
-
111,
|
|
2976
|
-
114,
|
|
2977
|
-
105,
|
|
2978
|
-
116,
|
|
2979
|
-
121
|
|
2980
|
-
];
|
|
2981
|
-
}
|
|
2982
|
-
];
|
|
2983
|
-
};
|
|
2984
2290
|
},
|
|
2985
2291
|
{
|
|
2986
2292
|
name: "program";
|
|
@@ -3011,32 +2317,6 @@ type CpAmm$1 = {
|
|
|
3011
2317
|
},
|
|
3012
2318
|
{
|
|
3013
2319
|
name: "eventAuthority";
|
|
3014
|
-
pda: {
|
|
3015
|
-
seeds: [
|
|
3016
|
-
{
|
|
3017
|
-
kind: "const";
|
|
3018
|
-
value: [
|
|
3019
|
-
95,
|
|
3020
|
-
95,
|
|
3021
|
-
101,
|
|
3022
|
-
118,
|
|
3023
|
-
101,
|
|
3024
|
-
110,
|
|
3025
|
-
116,
|
|
3026
|
-
95,
|
|
3027
|
-
97,
|
|
3028
|
-
117,
|
|
3029
|
-
116,
|
|
3030
|
-
104,
|
|
3031
|
-
111,
|
|
3032
|
-
114,
|
|
3033
|
-
105,
|
|
3034
|
-
116,
|
|
3035
|
-
121
|
|
3036
|
-
];
|
|
3037
|
-
}
|
|
3038
|
-
];
|
|
3039
|
-
};
|
|
3040
2320
|
},
|
|
3041
2321
|
{
|
|
3042
2322
|
name: "program";
|
|
@@ -3054,8 +2334,52 @@ type CpAmm$1 = {
|
|
|
3054
2334
|
];
|
|
3055
2335
|
},
|
|
3056
2336
|
{
|
|
3057
|
-
name: "
|
|
3058
|
-
discriminator: [
|
|
2337
|
+
name: "withdrawDeadLiquidityReward";
|
|
2338
|
+
discriminator: [121, 99, 224, 91, 178, 14, 22, 132];
|
|
2339
|
+
accounts: [
|
|
2340
|
+
{
|
|
2341
|
+
name: "poolAuthority";
|
|
2342
|
+
address: "HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC";
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
name: "pool";
|
|
2346
|
+
writable: true;
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
name: "rewardVault";
|
|
2350
|
+
writable: true;
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
name: "rewardMint";
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
name: "funderTokenAccount";
|
|
2357
|
+
writable: true;
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
name: "funder";
|
|
2361
|
+
signer: true;
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
name: "tokenProgram";
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
name: "eventAuthority";
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
name: "program";
|
|
2371
|
+
}
|
|
2372
|
+
];
|
|
2373
|
+
args: [
|
|
2374
|
+
{
|
|
2375
|
+
name: "rewardIndex";
|
|
2376
|
+
type: "u8";
|
|
2377
|
+
}
|
|
2378
|
+
];
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
name: "withdrawIneligibleReward";
|
|
2382
|
+
discriminator: [148, 206, 42, 195, 247, 49, 103, 8];
|
|
3059
2383
|
accounts: [
|
|
3060
2384
|
{
|
|
3061
2385
|
name: "poolAuthority";
|
|
@@ -3085,32 +2409,6 @@ type CpAmm$1 = {
|
|
|
3085
2409
|
},
|
|
3086
2410
|
{
|
|
3087
2411
|
name: "eventAuthority";
|
|
3088
|
-
pda: {
|
|
3089
|
-
seeds: [
|
|
3090
|
-
{
|
|
3091
|
-
kind: "const";
|
|
3092
|
-
value: [
|
|
3093
|
-
95,
|
|
3094
|
-
95,
|
|
3095
|
-
101,
|
|
3096
|
-
118,
|
|
3097
|
-
101,
|
|
3098
|
-
110,
|
|
3099
|
-
116,
|
|
3100
|
-
95,
|
|
3101
|
-
97,
|
|
3102
|
-
117,
|
|
3103
|
-
116,
|
|
3104
|
-
104,
|
|
3105
|
-
111,
|
|
3106
|
-
114,
|
|
3107
|
-
105,
|
|
3108
|
-
116,
|
|
3109
|
-
121
|
|
3110
|
-
];
|
|
3111
|
-
}
|
|
3112
|
-
];
|
|
3113
|
-
};
|
|
3114
2412
|
},
|
|
3115
2413
|
{
|
|
3116
2414
|
name: "program";
|
|
@@ -3219,6 +2517,10 @@ type CpAmm$1 = {
|
|
|
3219
2517
|
name: "evtClaimProtocolFee";
|
|
3220
2518
|
discriminator: [186, 244, 75, 251, 188, 13, 25, 33];
|
|
3221
2519
|
},
|
|
2520
|
+
{
|
|
2521
|
+
name: "evtClaimProtocolFee2";
|
|
2522
|
+
discriminator: [187, 133, 66, 9, 205, 161, 84, 13];
|
|
2523
|
+
},
|
|
3222
2524
|
{
|
|
3223
2525
|
name: "evtClaimReward";
|
|
3224
2526
|
discriminator: [218, 86, 147, 200, 235, 188, 215, 231];
|
|
@@ -3287,6 +2589,10 @@ type CpAmm$1 = {
|
|
|
3287
2589
|
name: "evtSwap2";
|
|
3288
2590
|
discriminator: [189, 66, 51, 168, 38, 80, 117, 153];
|
|
3289
2591
|
},
|
|
2592
|
+
{
|
|
2593
|
+
name: "evtUpdateDelegatePermission";
|
|
2594
|
+
discriminator: [66, 188, 75, 151, 150, 232, 87, 93];
|
|
2595
|
+
},
|
|
3290
2596
|
{
|
|
3291
2597
|
name: "evtUpdatePoolFees";
|
|
3292
2598
|
discriminator: [76, 165, 246, 102, 102, 217, 156, 44];
|
|
@@ -3299,6 +2605,10 @@ type CpAmm$1 = {
|
|
|
3299
2605
|
name: "evtUpdateRewardFunder";
|
|
3300
2606
|
discriminator: [76, 154, 208, 13, 40, 115, 246, 146];
|
|
3301
2607
|
},
|
|
2608
|
+
{
|
|
2609
|
+
name: "evtWithdrawDeadLiquidityReward";
|
|
2610
|
+
discriminator: [228, 66, 150, 195, 42, 62, 163, 13];
|
|
2611
|
+
},
|
|
3302
2612
|
{
|
|
3303
2613
|
name: "evtWithdrawIneligibleReward";
|
|
3304
2614
|
discriminator: [248, 215, 184, 78, 31, 180, 179, 168];
|
|
@@ -3644,6 +2954,21 @@ type CpAmm$1 = {
|
|
|
3644
2954
|
code: 6067;
|
|
3645
2955
|
name: "invalidCompoundingFeeBps";
|
|
3646
2956
|
msg: "Invalid compounding fee bps";
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
code: 6068;
|
|
2960
|
+
name: "invalidClaimProtocolFeeAccounts";
|
|
2961
|
+
msg: "Invalid claim protocol fee accounts";
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
code: 6069;
|
|
2965
|
+
name: "transferFeeExcludedAmountIsZero";
|
|
2966
|
+
msg: "Transfer fee excluded amount is zero";
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
code: 6070;
|
|
2970
|
+
name: "delegatedAmountNonZero";
|
|
2971
|
+
msg: "Delegated amount is not zero";
|
|
3647
2972
|
}
|
|
3648
2973
|
];
|
|
3649
2974
|
types: [
|
|
@@ -4158,6 +3483,30 @@ type CpAmm$1 = {
|
|
|
4158
3483
|
];
|
|
4159
3484
|
};
|
|
4160
3485
|
},
|
|
3486
|
+
{
|
|
3487
|
+
name: "evtClaimProtocolFee2";
|
|
3488
|
+
type: {
|
|
3489
|
+
kind: "struct";
|
|
3490
|
+
fields: [
|
|
3491
|
+
{
|
|
3492
|
+
name: "pool";
|
|
3493
|
+
type: "pubkey";
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
name: "receiverTokenAccount";
|
|
3497
|
+
type: "pubkey";
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
name: "tokenMint";
|
|
3501
|
+
type: "pubkey";
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
name: "amount";
|
|
3505
|
+
type: "u64";
|
|
3506
|
+
}
|
|
3507
|
+
];
|
|
3508
|
+
};
|
|
3509
|
+
},
|
|
4161
3510
|
{
|
|
4162
3511
|
name: "evtClaimReward";
|
|
4163
3512
|
type: {
|
|
@@ -4848,6 +4197,32 @@ type CpAmm$1 = {
|
|
|
4848
4197
|
];
|
|
4849
4198
|
};
|
|
4850
4199
|
},
|
|
4200
|
+
{
|
|
4201
|
+
name: "evtUpdateDelegatePermission";
|
|
4202
|
+
type: {
|
|
4203
|
+
kind: "struct";
|
|
4204
|
+
fields: [
|
|
4205
|
+
{
|
|
4206
|
+
name: "position";
|
|
4207
|
+
type: "pubkey";
|
|
4208
|
+
},
|
|
4209
|
+
{
|
|
4210
|
+
name: "owner";
|
|
4211
|
+
type: "pubkey";
|
|
4212
|
+
},
|
|
4213
|
+
{
|
|
4214
|
+
name: "permission";
|
|
4215
|
+
type: "u32";
|
|
4216
|
+
},
|
|
4217
|
+
{
|
|
4218
|
+
name: "delegate";
|
|
4219
|
+
type: {
|
|
4220
|
+
option: "pubkey";
|
|
4221
|
+
};
|
|
4222
|
+
}
|
|
4223
|
+
];
|
|
4224
|
+
};
|
|
4225
|
+
},
|
|
4851
4226
|
{
|
|
4852
4227
|
name: "evtUpdatePoolFees";
|
|
4853
4228
|
type: {
|
|
@@ -4920,6 +4295,26 @@ type CpAmm$1 = {
|
|
|
4920
4295
|
];
|
|
4921
4296
|
};
|
|
4922
4297
|
},
|
|
4298
|
+
{
|
|
4299
|
+
name: "evtWithdrawDeadLiquidityReward";
|
|
4300
|
+
type: {
|
|
4301
|
+
kind: "struct";
|
|
4302
|
+
fields: [
|
|
4303
|
+
{
|
|
4304
|
+
name: "pool";
|
|
4305
|
+
type: "pubkey";
|
|
4306
|
+
},
|
|
4307
|
+
{
|
|
4308
|
+
name: "rewardMint";
|
|
4309
|
+
type: "pubkey";
|
|
4310
|
+
},
|
|
4311
|
+
{
|
|
4312
|
+
name: "amount";
|
|
4313
|
+
type: "u64";
|
|
4314
|
+
}
|
|
4315
|
+
];
|
|
4316
|
+
};
|
|
4317
|
+
},
|
|
4923
4318
|
{
|
|
4924
4319
|
name: "evtWithdrawIneligibleReward";
|
|
4925
4320
|
type: {
|
|
@@ -5751,10 +5146,19 @@ type CpAmm$1 = {
|
|
|
5751
5146
|
};
|
|
5752
5147
|
};
|
|
5753
5148
|
},
|
|
5149
|
+
{
|
|
5150
|
+
name: "delegatePermission";
|
|
5151
|
+
docs: [
|
|
5152
|
+
"delegate permission bitmask (paired with SPL token Approve)"
|
|
5153
|
+
];
|
|
5154
|
+
type: "u32";
|
|
5155
|
+
},
|
|
5754
5156
|
{
|
|
5755
5157
|
name: "padding";
|
|
5756
5158
|
docs: ["padding for future usage"];
|
|
5757
|
-
type:
|
|
5159
|
+
type: {
|
|
5160
|
+
array: ["u8", 12];
|
|
5161
|
+
};
|
|
5758
5162
|
}
|
|
5759
5163
|
];
|
|
5760
5164
|
};
|
|
@@ -5830,11 +5234,9 @@ type CpAmm$1 = {
|
|
|
5830
5234
|
};
|
|
5831
5235
|
},
|
|
5832
5236
|
{
|
|
5833
|
-
name: "
|
|
5834
|
-
docs: ["
|
|
5835
|
-
type:
|
|
5836
|
-
array: ["u8", 8];
|
|
5837
|
-
};
|
|
5237
|
+
name: "deadLiquidityRewardCheckpoint";
|
|
5238
|
+
docs: ["Cumulative dead-liquidity reward (Compounding Pool only)"];
|
|
5239
|
+
type: "u64";
|
|
5838
5240
|
},
|
|
5839
5241
|
{
|
|
5840
5242
|
name: "mint";
|
|
@@ -6334,6 +5736,17 @@ type CpAmm$1 = {
|
|
|
6334
5736
|
};
|
|
6335
5737
|
};
|
|
6336
5738
|
};
|
|
5739
|
+
},
|
|
5740
|
+
{
|
|
5741
|
+
name: "compoundingFeeBps";
|
|
5742
|
+
docs: [
|
|
5743
|
+
"Compounding fee update mode:",
|
|
5744
|
+
"- None: skip compounding fee update",
|
|
5745
|
+
"- Some: update compounding_fee_bps; pool must use CollectFeeMode::Compounding"
|
|
5746
|
+
];
|
|
5747
|
+
type: {
|
|
5748
|
+
option: "u16";
|
|
5749
|
+
};
|
|
6337
5750
|
}
|
|
6338
5751
|
];
|
|
6339
5752
|
};
|
|
@@ -6570,6 +5983,16 @@ declare enum SwapMode {
|
|
|
6570
5983
|
PartialFill = 1,
|
|
6571
5984
|
ExactOut = 2
|
|
6572
5985
|
}
|
|
5986
|
+
declare enum PositionDelegatePermission {
|
|
5987
|
+
AddLiquidity = 0,
|
|
5988
|
+
RemoveLiquidity = 1,
|
|
5989
|
+
RemoveLiquidityToOwner = 2,
|
|
5990
|
+
ClaimPositionFee = 3,
|
|
5991
|
+
ClaimPositionFeeToOwner = 4,
|
|
5992
|
+
ClaimReward = 5,
|
|
5993
|
+
ClaimRewardToOwner = 6,
|
|
5994
|
+
LockPosition = 7
|
|
5995
|
+
}
|
|
6573
5996
|
type FeeMode = {
|
|
6574
5997
|
feesOnInput: boolean;
|
|
6575
5998
|
feesOnTokenA: boolean;
|
|
@@ -6727,6 +6150,12 @@ type CreatePositionParams = {
|
|
|
6727
6150
|
pool: PublicKey;
|
|
6728
6151
|
positionNft: PublicKey;
|
|
6729
6152
|
};
|
|
6153
|
+
type UpdateDelegatePermissionParams = {
|
|
6154
|
+
owner: PublicKey;
|
|
6155
|
+
positionNft: PublicKey;
|
|
6156
|
+
delegate: PublicKey;
|
|
6157
|
+
permission: number;
|
|
6158
|
+
};
|
|
6730
6159
|
type AddLiquidityParams = {
|
|
6731
6160
|
owner: PublicKey;
|
|
6732
6161
|
position: PublicKey;
|
|
@@ -7110,6 +6539,11 @@ type WithdrawIneligibleRewardParams = {
|
|
|
7110
6539
|
pool: PublicKey;
|
|
7111
6540
|
funder: PublicKey;
|
|
7112
6541
|
};
|
|
6542
|
+
type WithdrawDeadLiquidityRewardParams = {
|
|
6543
|
+
rewardIndex: number;
|
|
6544
|
+
pool: PublicKey;
|
|
6545
|
+
funder: PublicKey;
|
|
6546
|
+
};
|
|
7113
6547
|
type ClaimRewardParams = {
|
|
7114
6548
|
user: PublicKey;
|
|
7115
6549
|
position: PublicKey;
|
|
@@ -7605,6 +7039,24 @@ declare class CpAmm {
|
|
|
7605
7039
|
* @returns Transaction builder.
|
|
7606
7040
|
*/
|
|
7607
7041
|
createPosition(params: CreatePositionParams): TxBuilder;
|
|
7042
|
+
/**
|
|
7043
|
+
* Builds a transaction that assigns a delegate to a position and sets its
|
|
7044
|
+
* onchain permissions in a single transaction.
|
|
7045
|
+
*
|
|
7046
|
+
* This performs two actions:
|
|
7047
|
+
* 1. SPL-approves `delegate` on the position NFT account (so the program
|
|
7048
|
+
* recognizes it as the position's delegate), and
|
|
7049
|
+
* 2. sets the on-chain delegate permission bitmask via the
|
|
7050
|
+
* `updateDelegatePermission` instruction.
|
|
7051
|
+
*
|
|
7052
|
+
* Both are kept together so the approved delegate and the granted
|
|
7053
|
+
* permissions never drift out of sync. To revoke, pass an empty permission
|
|
7054
|
+
* set (`permission: 0`).
|
|
7055
|
+
*
|
|
7056
|
+
* @param {UpdateDelegatePermissionParams} params - Parameters for delegate permission update.
|
|
7057
|
+
* @returns Transaction builder.
|
|
7058
|
+
*/
|
|
7059
|
+
updateDelegatePermission(params: UpdateDelegatePermissionParams): TxBuilder;
|
|
7608
7060
|
/**
|
|
7609
7061
|
* Builds a transaction to add liquidity to an existing position.
|
|
7610
7062
|
* @param {AddLiquidityParams} params - Parameters for adding liquidity.
|
|
@@ -7730,6 +7182,12 @@ declare class CpAmm {
|
|
|
7730
7182
|
* @returns Transaction builder.
|
|
7731
7183
|
*/
|
|
7732
7184
|
withdrawIneligibleReward(params: WithdrawIneligibleRewardParams): TxBuilder;
|
|
7185
|
+
/**
|
|
7186
|
+
* Builds a transaction to withdraw dead liquidity rewards from a pool.
|
|
7187
|
+
* @param {WithdrawDeadLiquidityRewardParams} params - Parameters for withdrawal.
|
|
7188
|
+
* @returns Transaction builder.
|
|
7189
|
+
*/
|
|
7190
|
+
withdrawDeadLiquidityReward(params: WithdrawDeadLiquidityRewardParams): TxBuilder;
|
|
7733
7191
|
/**
|
|
7734
7192
|
* Builds a transaction to claim position fee rewards.
|
|
7735
7193
|
* @param {ClaimPositionFeeParams} params - Parameters for claiming position fee.
|
|
@@ -8554,6 +8012,8 @@ declare function encodeFeeRateLimiterParams(cliffFeeNumerator: BN$1, feeIncremen
|
|
|
8554
8012
|
declare function decodeFeeRateLimiterParams(data: Buffer): BorshFeeRateLimiter;
|
|
8555
8013
|
declare function decodePodAlignedFeeRateLimiter(data: Buffer): PodAlignedFeeRateLimiter;
|
|
8556
8014
|
|
|
8015
|
+
declare function encodeDelegatePermissions(permissions: PositionDelegatePermission[]): number;
|
|
8016
|
+
|
|
8557
8017
|
/**
|
|
8558
8018
|
* Calculate initial pool information given sqrtPrice and liquidity.
|
|
8559
8019
|
* Computes the initial token A and B amounts, calculates actual initial liquidity,
|
|
@@ -9550,7 +9010,7 @@ declare function pow(base: BN$1, exp: BN$1): BN$1;
|
|
|
9550
9010
|
var address = "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG";
|
|
9551
9011
|
var metadata = {
|
|
9552
9012
|
name: "cp_amm",
|
|
9553
|
-
version: "0.2.
|
|
9013
|
+
version: "0.2.2",
|
|
9554
9014
|
spec: "0.1.0",
|
|
9555
9015
|
description: "Created with Anchor"
|
|
9556
9016
|
};
|
|
@@ -9638,9 +9098,9 @@ var instructions = [
|
|
|
9638
9098
|
]
|
|
9639
9099
|
},
|
|
9640
9100
|
{
|
|
9641
|
-
name: "
|
|
9101
|
+
name: "signer",
|
|
9642
9102
|
docs: [
|
|
9643
|
-
"
|
|
9103
|
+
"Signer"
|
|
9644
9104
|
],
|
|
9645
9105
|
signer: true
|
|
9646
9106
|
},
|
|
@@ -9657,33 +9117,7 @@ var instructions = [
|
|
|
9657
9117
|
]
|
|
9658
9118
|
},
|
|
9659
9119
|
{
|
|
9660
|
-
name: "event_authority"
|
|
9661
|
-
pda: {
|
|
9662
|
-
seeds: [
|
|
9663
|
-
{
|
|
9664
|
-
kind: "const",
|
|
9665
|
-
value: [
|
|
9666
|
-
95,
|
|
9667
|
-
95,
|
|
9668
|
-
101,
|
|
9669
|
-
118,
|
|
9670
|
-
101,
|
|
9671
|
-
110,
|
|
9672
|
-
116,
|
|
9673
|
-
95,
|
|
9674
|
-
97,
|
|
9675
|
-
117,
|
|
9676
|
-
116,
|
|
9677
|
-
104,
|
|
9678
|
-
111,
|
|
9679
|
-
114,
|
|
9680
|
-
105,
|
|
9681
|
-
116,
|
|
9682
|
-
121
|
|
9683
|
-
]
|
|
9684
|
-
}
|
|
9685
|
-
]
|
|
9686
|
-
}
|
|
9120
|
+
name: "event_authority"
|
|
9687
9121
|
},
|
|
9688
9122
|
{
|
|
9689
9123
|
name: "program"
|
|
@@ -9786,9 +9220,9 @@ var instructions = [
|
|
|
9786
9220
|
]
|
|
9787
9221
|
},
|
|
9788
9222
|
{
|
|
9789
|
-
name: "
|
|
9223
|
+
name: "signer",
|
|
9790
9224
|
docs: [
|
|
9791
|
-
"
|
|
9225
|
+
"Signer"
|
|
9792
9226
|
],
|
|
9793
9227
|
signer: true
|
|
9794
9228
|
},
|
|
@@ -9805,33 +9239,7 @@ var instructions = [
|
|
|
9805
9239
|
]
|
|
9806
9240
|
},
|
|
9807
9241
|
{
|
|
9808
|
-
name: "event_authority"
|
|
9809
|
-
pda: {
|
|
9810
|
-
seeds: [
|
|
9811
|
-
{
|
|
9812
|
-
kind: "const",
|
|
9813
|
-
value: [
|
|
9814
|
-
95,
|
|
9815
|
-
95,
|
|
9816
|
-
101,
|
|
9817
|
-
118,
|
|
9818
|
-
101,
|
|
9819
|
-
110,
|
|
9820
|
-
116,
|
|
9821
|
-
95,
|
|
9822
|
-
97,
|
|
9823
|
-
117,
|
|
9824
|
-
116,
|
|
9825
|
-
104,
|
|
9826
|
-
111,
|
|
9827
|
-
114,
|
|
9828
|
-
105,
|
|
9829
|
-
116,
|
|
9830
|
-
121
|
|
9831
|
-
]
|
|
9832
|
-
}
|
|
9833
|
-
]
|
|
9834
|
-
}
|
|
9242
|
+
name: "event_authority"
|
|
9835
9243
|
},
|
|
9836
9244
|
{
|
|
9837
9245
|
name: "program"
|
|
@@ -9933,45 +9341,92 @@ var instructions = [
|
|
|
9933
9341
|
]
|
|
9934
9342
|
},
|
|
9935
9343
|
{
|
|
9936
|
-
name: "event_authority"
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9344
|
+
name: "event_authority"
|
|
9345
|
+
},
|
|
9346
|
+
{
|
|
9347
|
+
name: "program"
|
|
9348
|
+
}
|
|
9349
|
+
],
|
|
9350
|
+
args: [
|
|
9351
|
+
{
|
|
9352
|
+
name: "max_amount_a",
|
|
9353
|
+
type: "u64"
|
|
9354
|
+
},
|
|
9355
|
+
{
|
|
9356
|
+
name: "max_amount_b",
|
|
9357
|
+
type: "u64"
|
|
9358
|
+
}
|
|
9359
|
+
]
|
|
9360
|
+
},
|
|
9361
|
+
{
|
|
9362
|
+
name: "claim_protocol_fee2",
|
|
9363
|
+
discriminator: [
|
|
9364
|
+
235,
|
|
9365
|
+
194,
|
|
9366
|
+
54,
|
|
9367
|
+
69,
|
|
9368
|
+
65,
|
|
9369
|
+
10,
|
|
9370
|
+
236,
|
|
9371
|
+
112
|
|
9372
|
+
],
|
|
9373
|
+
accounts: [
|
|
9374
|
+
{
|
|
9375
|
+
name: "receiver_token_account",
|
|
9376
|
+
docs: [
|
|
9377
|
+
"receiver token account for the claimed token. validated through the protocol_fee program"
|
|
9378
|
+
],
|
|
9379
|
+
writable: true
|
|
9380
|
+
},
|
|
9381
|
+
{
|
|
9382
|
+
name: "token_a_mint",
|
|
9383
|
+
relations: [
|
|
9384
|
+
"pool"
|
|
9385
|
+
]
|
|
9386
|
+
},
|
|
9387
|
+
{
|
|
9388
|
+
name: "token_b_mint",
|
|
9389
|
+
relations: [
|
|
9390
|
+
"pool"
|
|
9391
|
+
]
|
|
9392
|
+
},
|
|
9393
|
+
{
|
|
9394
|
+
name: "token_a_program"
|
|
9395
|
+
},
|
|
9396
|
+
{
|
|
9397
|
+
name: "token_b_program"
|
|
9398
|
+
},
|
|
9399
|
+
{
|
|
9400
|
+
name: "pool",
|
|
9401
|
+
writable: true
|
|
9402
|
+
},
|
|
9403
|
+
{
|
|
9404
|
+
name: "token_a_vault",
|
|
9405
|
+
writable: true,
|
|
9406
|
+
relations: [
|
|
9407
|
+
"pool"
|
|
9408
|
+
]
|
|
9409
|
+
},
|
|
9410
|
+
{
|
|
9411
|
+
name: "token_b_vault",
|
|
9412
|
+
writable: true,
|
|
9413
|
+
relations: [
|
|
9414
|
+
"pool"
|
|
9415
|
+
]
|
|
9963
9416
|
},
|
|
9964
9417
|
{
|
|
9965
|
-
name: "
|
|
9418
|
+
name: "pool_authority",
|
|
9419
|
+
address: "HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC"
|
|
9420
|
+
},
|
|
9421
|
+
{
|
|
9422
|
+
name: "signer",
|
|
9423
|
+
signer: true,
|
|
9424
|
+
address: "FkU5rQCWQM131skHCpcEbK8P1JrQGsBgqXe55w525SSF"
|
|
9966
9425
|
}
|
|
9967
9426
|
],
|
|
9968
9427
|
args: [
|
|
9969
9428
|
{
|
|
9970
|
-
name: "
|
|
9971
|
-
type: "u64"
|
|
9972
|
-
},
|
|
9973
|
-
{
|
|
9974
|
-
name: "max_amount_b",
|
|
9429
|
+
name: "max_amount",
|
|
9975
9430
|
type: "u64"
|
|
9976
9431
|
}
|
|
9977
9432
|
]
|
|
@@ -10025,9 +9480,9 @@ var instructions = [
|
|
|
10025
9480
|
]
|
|
10026
9481
|
},
|
|
10027
9482
|
{
|
|
10028
|
-
name: "
|
|
9483
|
+
name: "signer",
|
|
10029
9484
|
docs: [
|
|
10030
|
-
"
|
|
9485
|
+
"Signer"
|
|
10031
9486
|
],
|
|
10032
9487
|
signer: true
|
|
10033
9488
|
},
|
|
@@ -10035,33 +9490,7 @@ var instructions = [
|
|
|
10035
9490
|
name: "token_program"
|
|
10036
9491
|
},
|
|
10037
9492
|
{
|
|
10038
|
-
name: "event_authority"
|
|
10039
|
-
pda: {
|
|
10040
|
-
seeds: [
|
|
10041
|
-
{
|
|
10042
|
-
kind: "const",
|
|
10043
|
-
value: [
|
|
10044
|
-
95,
|
|
10045
|
-
95,
|
|
10046
|
-
101,
|
|
10047
|
-
118,
|
|
10048
|
-
101,
|
|
10049
|
-
110,
|
|
10050
|
-
116,
|
|
10051
|
-
95,
|
|
10052
|
-
97,
|
|
10053
|
-
117,
|
|
10054
|
-
116,
|
|
10055
|
-
104,
|
|
10056
|
-
111,
|
|
10057
|
-
114,
|
|
10058
|
-
105,
|
|
10059
|
-
116,
|
|
10060
|
-
121
|
|
10061
|
-
]
|
|
10062
|
-
}
|
|
10063
|
-
]
|
|
10064
|
-
}
|
|
9493
|
+
name: "event_authority"
|
|
10065
9494
|
},
|
|
10066
9495
|
{
|
|
10067
9496
|
name: "program"
|
|
@@ -10107,33 +9536,7 @@ var instructions = [
|
|
|
10107
9536
|
writable: true
|
|
10108
9537
|
},
|
|
10109
9538
|
{
|
|
10110
|
-
name: "event_authority"
|
|
10111
|
-
pda: {
|
|
10112
|
-
seeds: [
|
|
10113
|
-
{
|
|
10114
|
-
kind: "const",
|
|
10115
|
-
value: [
|
|
10116
|
-
95,
|
|
10117
|
-
95,
|
|
10118
|
-
101,
|
|
10119
|
-
118,
|
|
10120
|
-
101,
|
|
10121
|
-
110,
|
|
10122
|
-
116,
|
|
10123
|
-
95,
|
|
10124
|
-
97,
|
|
10125
|
-
117,
|
|
10126
|
-
116,
|
|
10127
|
-
104,
|
|
10128
|
-
111,
|
|
10129
|
-
114,
|
|
10130
|
-
105,
|
|
10131
|
-
116,
|
|
10132
|
-
121
|
|
10133
|
-
]
|
|
10134
|
-
}
|
|
10135
|
-
]
|
|
10136
|
-
}
|
|
9539
|
+
name: "event_authority"
|
|
10137
9540
|
},
|
|
10138
9541
|
{
|
|
10139
9542
|
name: "program"
|
|
@@ -10168,33 +9571,7 @@ var instructions = [
|
|
|
10168
9571
|
writable: true
|
|
10169
9572
|
},
|
|
10170
9573
|
{
|
|
10171
|
-
name: "event_authority"
|
|
10172
|
-
pda: {
|
|
10173
|
-
seeds: [
|
|
10174
|
-
{
|
|
10175
|
-
kind: "const",
|
|
10176
|
-
value: [
|
|
10177
|
-
95,
|
|
10178
|
-
95,
|
|
10179
|
-
101,
|
|
10180
|
-
118,
|
|
10181
|
-
101,
|
|
10182
|
-
110,
|
|
10183
|
-
116,
|
|
10184
|
-
95,
|
|
10185
|
-
97,
|
|
10186
|
-
117,
|
|
10187
|
-
116,
|
|
10188
|
-
104,
|
|
10189
|
-
111,
|
|
10190
|
-
114,
|
|
10191
|
-
105,
|
|
10192
|
-
116,
|
|
10193
|
-
121
|
|
10194
|
-
]
|
|
10195
|
-
}
|
|
10196
|
-
]
|
|
10197
|
-
}
|
|
9574
|
+
name: "event_authority"
|
|
10198
9575
|
},
|
|
10199
9576
|
{
|
|
10200
9577
|
name: "program"
|
|
@@ -10264,33 +9641,7 @@ var instructions = [
|
|
|
10264
9641
|
address: "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
10265
9642
|
},
|
|
10266
9643
|
{
|
|
10267
|
-
name: "event_authority"
|
|
10268
|
-
pda: {
|
|
10269
|
-
seeds: [
|
|
10270
|
-
{
|
|
10271
|
-
kind: "const",
|
|
10272
|
-
value: [
|
|
10273
|
-
95,
|
|
10274
|
-
95,
|
|
10275
|
-
101,
|
|
10276
|
-
118,
|
|
10277
|
-
101,
|
|
10278
|
-
110,
|
|
10279
|
-
116,
|
|
10280
|
-
95,
|
|
10281
|
-
97,
|
|
10282
|
-
117,
|
|
10283
|
-
116,
|
|
10284
|
-
104,
|
|
10285
|
-
111,
|
|
10286
|
-
114,
|
|
10287
|
-
105,
|
|
10288
|
-
116,
|
|
10289
|
-
121
|
|
10290
|
-
]
|
|
10291
|
-
}
|
|
10292
|
-
]
|
|
10293
|
-
}
|
|
9644
|
+
name: "event_authority"
|
|
10294
9645
|
},
|
|
10295
9646
|
{
|
|
10296
9647
|
name: "program"
|
|
@@ -10328,33 +9679,7 @@ var instructions = [
|
|
|
10328
9679
|
writable: true
|
|
10329
9680
|
},
|
|
10330
9681
|
{
|
|
10331
|
-
name: "event_authority"
|
|
10332
|
-
pda: {
|
|
10333
|
-
seeds: [
|
|
10334
|
-
{
|
|
10335
|
-
kind: "const",
|
|
10336
|
-
value: [
|
|
10337
|
-
95,
|
|
10338
|
-
95,
|
|
10339
|
-
101,
|
|
10340
|
-
118,
|
|
10341
|
-
101,
|
|
10342
|
-
110,
|
|
10343
|
-
116,
|
|
10344
|
-
95,
|
|
10345
|
-
97,
|
|
10346
|
-
117,
|
|
10347
|
-
116,
|
|
10348
|
-
104,
|
|
10349
|
-
111,
|
|
10350
|
-
114,
|
|
10351
|
-
105,
|
|
10352
|
-
116,
|
|
10353
|
-
121
|
|
10354
|
-
]
|
|
10355
|
-
}
|
|
10356
|
-
]
|
|
10357
|
-
}
|
|
9682
|
+
name: "event_authority"
|
|
10358
9683
|
},
|
|
10359
9684
|
{
|
|
10360
9685
|
name: "program"
|
|
@@ -10419,33 +9744,7 @@ var instructions = [
|
|
|
10419
9744
|
address: "11111111111111111111111111111111"
|
|
10420
9745
|
},
|
|
10421
9746
|
{
|
|
10422
|
-
name: "event_authority"
|
|
10423
|
-
pda: {
|
|
10424
|
-
seeds: [
|
|
10425
|
-
{
|
|
10426
|
-
kind: "const",
|
|
10427
|
-
value: [
|
|
10428
|
-
95,
|
|
10429
|
-
95,
|
|
10430
|
-
101,
|
|
10431
|
-
118,
|
|
10432
|
-
101,
|
|
10433
|
-
110,
|
|
10434
|
-
116,
|
|
10435
|
-
95,
|
|
10436
|
-
97,
|
|
10437
|
-
117,
|
|
10438
|
-
116,
|
|
10439
|
-
104,
|
|
10440
|
-
111,
|
|
10441
|
-
114,
|
|
10442
|
-
105,
|
|
10443
|
-
116,
|
|
10444
|
-
121
|
|
10445
|
-
]
|
|
10446
|
-
}
|
|
10447
|
-
]
|
|
10448
|
-
}
|
|
9747
|
+
name: "event_authority"
|
|
10449
9748
|
},
|
|
10450
9749
|
{
|
|
10451
9750
|
name: "program"
|
|
@@ -10519,33 +9818,7 @@ var instructions = [
|
|
|
10519
9818
|
address: "11111111111111111111111111111111"
|
|
10520
9819
|
},
|
|
10521
9820
|
{
|
|
10522
|
-
name: "event_authority"
|
|
10523
|
-
pda: {
|
|
10524
|
-
seeds: [
|
|
10525
|
-
{
|
|
10526
|
-
kind: "const",
|
|
10527
|
-
value: [
|
|
10528
|
-
95,
|
|
10529
|
-
95,
|
|
10530
|
-
101,
|
|
10531
|
-
118,
|
|
10532
|
-
101,
|
|
10533
|
-
110,
|
|
10534
|
-
116,
|
|
10535
|
-
95,
|
|
10536
|
-
97,
|
|
10537
|
-
117,
|
|
10538
|
-
116,
|
|
10539
|
-
104,
|
|
10540
|
-
111,
|
|
10541
|
-
114,
|
|
10542
|
-
105,
|
|
10543
|
-
116,
|
|
10544
|
-
121
|
|
10545
|
-
]
|
|
10546
|
-
}
|
|
10547
|
-
]
|
|
10548
|
-
}
|
|
9821
|
+
name: "event_authority"
|
|
10549
9822
|
},
|
|
10550
9823
|
{
|
|
10551
9824
|
name: "program"
|
|
@@ -10624,33 +9897,7 @@ var instructions = [
|
|
|
10624
9897
|
address: "11111111111111111111111111111111"
|
|
10625
9898
|
},
|
|
10626
9899
|
{
|
|
10627
|
-
name: "event_authority"
|
|
10628
|
-
pda: {
|
|
10629
|
-
seeds: [
|
|
10630
|
-
{
|
|
10631
|
-
kind: "const",
|
|
10632
|
-
value: [
|
|
10633
|
-
95,
|
|
10634
|
-
95,
|
|
10635
|
-
101,
|
|
10636
|
-
118,
|
|
10637
|
-
101,
|
|
10638
|
-
110,
|
|
10639
|
-
116,
|
|
10640
|
-
95,
|
|
10641
|
-
97,
|
|
10642
|
-
117,
|
|
10643
|
-
116,
|
|
10644
|
-
104,
|
|
10645
|
-
111,
|
|
10646
|
-
114,
|
|
10647
|
-
105,
|
|
10648
|
-
116,
|
|
10649
|
-
121
|
|
10650
|
-
]
|
|
10651
|
-
}
|
|
10652
|
-
]
|
|
10653
|
-
}
|
|
9900
|
+
name: "event_authority"
|
|
10654
9901
|
},
|
|
10655
9902
|
{
|
|
10656
9903
|
name: "program"
|
|
@@ -10757,56 +10004,30 @@ var instructions = [
|
|
|
10757
10004
|
}
|
|
10758
10005
|
},
|
|
10759
10006
|
{
|
|
10760
|
-
name: "pool_authority",
|
|
10761
|
-
address: "HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC"
|
|
10762
|
-
},
|
|
10763
|
-
{
|
|
10764
|
-
name: "payer",
|
|
10765
|
-
docs: [
|
|
10766
|
-
"Address paying to create the position. Can be anyone"
|
|
10767
|
-
],
|
|
10768
|
-
writable: true,
|
|
10769
|
-
signer: true
|
|
10770
|
-
},
|
|
10771
|
-
{
|
|
10772
|
-
name: "token_program",
|
|
10773
|
-
docs: [
|
|
10774
|
-
"Program to create NFT mint/token account and transfer for token22 account"
|
|
10775
|
-
],
|
|
10776
|
-
address: "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
10777
|
-
},
|
|
10778
|
-
{
|
|
10779
|
-
name: "system_program",
|
|
10780
|
-
address: "11111111111111111111111111111111"
|
|
10781
|
-
},
|
|
10782
|
-
{
|
|
10783
|
-
name: "event_authority"
|
|
10784
|
-
pda: {
|
|
10785
|
-
seeds: [
|
|
10786
|
-
{
|
|
10787
|
-
kind: "const",
|
|
10788
|
-
value: [
|
|
10789
|
-
95,
|
|
10790
|
-
95,
|
|
10791
|
-
101,
|
|
10792
|
-
118,
|
|
10793
|
-
101,
|
|
10794
|
-
110,
|
|
10795
|
-
116,
|
|
10796
|
-
95,
|
|
10797
|
-
97,
|
|
10798
|
-
117,
|
|
10799
|
-
116,
|
|
10800
|
-
104,
|
|
10801
|
-
111,
|
|
10802
|
-
114,
|
|
10803
|
-
105,
|
|
10804
|
-
116,
|
|
10805
|
-
121
|
|
10806
|
-
]
|
|
10807
|
-
}
|
|
10808
|
-
]
|
|
10809
|
-
}
|
|
10007
|
+
name: "pool_authority",
|
|
10008
|
+
address: "HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC"
|
|
10009
|
+
},
|
|
10010
|
+
{
|
|
10011
|
+
name: "payer",
|
|
10012
|
+
docs: [
|
|
10013
|
+
"Address paying to create the position. Can be anyone"
|
|
10014
|
+
],
|
|
10015
|
+
writable: true,
|
|
10016
|
+
signer: true
|
|
10017
|
+
},
|
|
10018
|
+
{
|
|
10019
|
+
name: "token_program",
|
|
10020
|
+
docs: [
|
|
10021
|
+
"Program to create NFT mint/token account and transfer for token22 account"
|
|
10022
|
+
],
|
|
10023
|
+
address: "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
name: "system_program",
|
|
10027
|
+
address: "11111111111111111111111111111111"
|
|
10028
|
+
},
|
|
10029
|
+
{
|
|
10030
|
+
name: "event_authority"
|
|
10810
10031
|
},
|
|
10811
10032
|
{
|
|
10812
10033
|
name: "program"
|
|
@@ -10876,33 +10097,7 @@ var instructions = [
|
|
|
10876
10097
|
address: "11111111111111111111111111111111"
|
|
10877
10098
|
},
|
|
10878
10099
|
{
|
|
10879
|
-
name: "event_authority"
|
|
10880
|
-
pda: {
|
|
10881
|
-
seeds: [
|
|
10882
|
-
{
|
|
10883
|
-
kind: "const",
|
|
10884
|
-
value: [
|
|
10885
|
-
95,
|
|
10886
|
-
95,
|
|
10887
|
-
101,
|
|
10888
|
-
118,
|
|
10889
|
-
101,
|
|
10890
|
-
110,
|
|
10891
|
-
116,
|
|
10892
|
-
95,
|
|
10893
|
-
97,
|
|
10894
|
-
117,
|
|
10895
|
-
116,
|
|
10896
|
-
104,
|
|
10897
|
-
111,
|
|
10898
|
-
114,
|
|
10899
|
-
105,
|
|
10900
|
-
116,
|
|
10901
|
-
121
|
|
10902
|
-
]
|
|
10903
|
-
}
|
|
10904
|
-
]
|
|
10905
|
-
}
|
|
10100
|
+
name: "event_authority"
|
|
10906
10101
|
},
|
|
10907
10102
|
{
|
|
10908
10103
|
name: "program"
|
|
@@ -11081,33 +10276,7 @@ var instructions = [
|
|
|
11081
10276
|
name: "token_program"
|
|
11082
10277
|
},
|
|
11083
10278
|
{
|
|
11084
|
-
name: "event_authority"
|
|
11085
|
-
pda: {
|
|
11086
|
-
seeds: [
|
|
11087
|
-
{
|
|
11088
|
-
kind: "const",
|
|
11089
|
-
value: [
|
|
11090
|
-
95,
|
|
11091
|
-
95,
|
|
11092
|
-
101,
|
|
11093
|
-
118,
|
|
11094
|
-
101,
|
|
11095
|
-
110,
|
|
11096
|
-
116,
|
|
11097
|
-
95,
|
|
11098
|
-
97,
|
|
11099
|
-
117,
|
|
11100
|
-
116,
|
|
11101
|
-
104,
|
|
11102
|
-
111,
|
|
11103
|
-
114,
|
|
11104
|
-
105,
|
|
11105
|
-
116,
|
|
11106
|
-
121
|
|
11107
|
-
]
|
|
11108
|
-
}
|
|
11109
|
-
]
|
|
11110
|
-
}
|
|
10279
|
+
name: "event_authority"
|
|
11111
10280
|
},
|
|
11112
10281
|
{
|
|
11113
10282
|
name: "program"
|
|
@@ -11356,33 +10525,7 @@ var instructions = [
|
|
|
11356
10525
|
address: "11111111111111111111111111111111"
|
|
11357
10526
|
},
|
|
11358
10527
|
{
|
|
11359
|
-
name: "event_authority"
|
|
11360
|
-
pda: {
|
|
11361
|
-
seeds: [
|
|
11362
|
-
{
|
|
11363
|
-
kind: "const",
|
|
11364
|
-
value: [
|
|
11365
|
-
95,
|
|
11366
|
-
95,
|
|
11367
|
-
101,
|
|
11368
|
-
118,
|
|
11369
|
-
101,
|
|
11370
|
-
110,
|
|
11371
|
-
116,
|
|
11372
|
-
95,
|
|
11373
|
-
97,
|
|
11374
|
-
117,
|
|
11375
|
-
116,
|
|
11376
|
-
104,
|
|
11377
|
-
111,
|
|
11378
|
-
114,
|
|
11379
|
-
105,
|
|
11380
|
-
116,
|
|
11381
|
-
121
|
|
11382
|
-
]
|
|
11383
|
-
}
|
|
11384
|
-
]
|
|
11385
|
-
}
|
|
10528
|
+
name: "event_authority"
|
|
11386
10529
|
},
|
|
11387
10530
|
{
|
|
11388
10531
|
name: "program"
|
|
@@ -11636,33 +10779,7 @@ var instructions = [
|
|
|
11636
10779
|
address: "11111111111111111111111111111111"
|
|
11637
10780
|
},
|
|
11638
10781
|
{
|
|
11639
|
-
name: "event_authority"
|
|
11640
|
-
pda: {
|
|
11641
|
-
seeds: [
|
|
11642
|
-
{
|
|
11643
|
-
kind: "const",
|
|
11644
|
-
value: [
|
|
11645
|
-
95,
|
|
11646
|
-
95,
|
|
11647
|
-
101,
|
|
11648
|
-
118,
|
|
11649
|
-
101,
|
|
11650
|
-
110,
|
|
11651
|
-
116,
|
|
11652
|
-
95,
|
|
11653
|
-
97,
|
|
11654
|
-
117,
|
|
11655
|
-
116,
|
|
11656
|
-
104,
|
|
11657
|
-
111,
|
|
11658
|
-
114,
|
|
11659
|
-
105,
|
|
11660
|
-
116,
|
|
11661
|
-
121
|
|
11662
|
-
]
|
|
11663
|
-
}
|
|
11664
|
-
]
|
|
11665
|
-
}
|
|
10782
|
+
name: "event_authority"
|
|
11666
10783
|
},
|
|
11667
10784
|
{
|
|
11668
10785
|
name: "program"
|
|
@@ -11920,33 +11037,7 @@ var instructions = [
|
|
|
11920
11037
|
address: "11111111111111111111111111111111"
|
|
11921
11038
|
},
|
|
11922
11039
|
{
|
|
11923
|
-
name: "event_authority"
|
|
11924
|
-
pda: {
|
|
11925
|
-
seeds: [
|
|
11926
|
-
{
|
|
11927
|
-
kind: "const",
|
|
11928
|
-
value: [
|
|
11929
|
-
95,
|
|
11930
|
-
95,
|
|
11931
|
-
101,
|
|
11932
|
-
118,
|
|
11933
|
-
101,
|
|
11934
|
-
110,
|
|
11935
|
-
116,
|
|
11936
|
-
95,
|
|
11937
|
-
97,
|
|
11938
|
-
117,
|
|
11939
|
-
116,
|
|
11940
|
-
104,
|
|
11941
|
-
111,
|
|
11942
|
-
114,
|
|
11943
|
-
105,
|
|
11944
|
-
116,
|
|
11945
|
-
121
|
|
11946
|
-
]
|
|
11947
|
-
}
|
|
11948
|
-
]
|
|
11949
|
-
}
|
|
11040
|
+
name: "event_authority"
|
|
11950
11041
|
},
|
|
11951
11042
|
{
|
|
11952
11043
|
name: "program"
|
|
@@ -12037,33 +11128,7 @@ var instructions = [
|
|
|
12037
11128
|
address: "11111111111111111111111111111111"
|
|
12038
11129
|
},
|
|
12039
11130
|
{
|
|
12040
|
-
name: "event_authority"
|
|
12041
|
-
pda: {
|
|
12042
|
-
seeds: [
|
|
12043
|
-
{
|
|
12044
|
-
kind: "const",
|
|
12045
|
-
value: [
|
|
12046
|
-
95,
|
|
12047
|
-
95,
|
|
12048
|
-
101,
|
|
12049
|
-
118,
|
|
12050
|
-
101,
|
|
12051
|
-
110,
|
|
12052
|
-
116,
|
|
12053
|
-
95,
|
|
12054
|
-
97,
|
|
12055
|
-
117,
|
|
12056
|
-
116,
|
|
12057
|
-
104,
|
|
12058
|
-
111,
|
|
12059
|
-
114,
|
|
12060
|
-
105,
|
|
12061
|
-
116,
|
|
12062
|
-
121
|
|
12063
|
-
]
|
|
12064
|
-
}
|
|
12065
|
-
]
|
|
12066
|
-
}
|
|
11131
|
+
name: "event_authority"
|
|
12067
11132
|
},
|
|
12068
11133
|
{
|
|
12069
11134
|
name: "program"
|
|
@@ -12114,40 +11179,14 @@ var instructions = [
|
|
|
12114
11179
|
]
|
|
12115
11180
|
},
|
|
12116
11181
|
{
|
|
12117
|
-
name: "
|
|
11182
|
+
name: "signer",
|
|
12118
11183
|
docs: [
|
|
12119
|
-
"
|
|
11184
|
+
"Signer"
|
|
12120
11185
|
],
|
|
12121
11186
|
signer: true
|
|
12122
11187
|
},
|
|
12123
11188
|
{
|
|
12124
|
-
name: "event_authority"
|
|
12125
|
-
pda: {
|
|
12126
|
-
seeds: [
|
|
12127
|
-
{
|
|
12128
|
-
kind: "const",
|
|
12129
|
-
value: [
|
|
12130
|
-
95,
|
|
12131
|
-
95,
|
|
12132
|
-
101,
|
|
12133
|
-
118,
|
|
12134
|
-
101,
|
|
12135
|
-
110,
|
|
12136
|
-
116,
|
|
12137
|
-
95,
|
|
12138
|
-
97,
|
|
12139
|
-
117,
|
|
12140
|
-
116,
|
|
12141
|
-
104,
|
|
12142
|
-
111,
|
|
12143
|
-
114,
|
|
12144
|
-
105,
|
|
12145
|
-
116,
|
|
12146
|
-
121
|
|
12147
|
-
]
|
|
12148
|
-
}
|
|
12149
|
-
]
|
|
12150
|
-
}
|
|
11189
|
+
name: "event_authority"
|
|
12151
11190
|
},
|
|
12152
11191
|
{
|
|
12153
11192
|
name: "program"
|
|
@@ -12199,9 +11238,9 @@ var instructions = [
|
|
|
12199
11238
|
]
|
|
12200
11239
|
},
|
|
12201
11240
|
{
|
|
12202
|
-
name: "
|
|
11241
|
+
name: "signer",
|
|
12203
11242
|
docs: [
|
|
12204
|
-
"
|
|
11243
|
+
"Signer"
|
|
12205
11244
|
],
|
|
12206
11245
|
signer: true
|
|
12207
11246
|
},
|
|
@@ -12215,33 +11254,7 @@ var instructions = [
|
|
|
12215
11254
|
address: "11111111111111111111111111111111"
|
|
12216
11255
|
},
|
|
12217
11256
|
{
|
|
12218
|
-
name: "event_authority"
|
|
12219
|
-
pda: {
|
|
12220
|
-
seeds: [
|
|
12221
|
-
{
|
|
12222
|
-
kind: "const",
|
|
12223
|
-
value: [
|
|
12224
|
-
95,
|
|
12225
|
-
95,
|
|
12226
|
-
101,
|
|
12227
|
-
118,
|
|
12228
|
-
101,
|
|
12229
|
-
110,
|
|
12230
|
-
116,
|
|
12231
|
-
95,
|
|
12232
|
-
97,
|
|
12233
|
-
117,
|
|
12234
|
-
116,
|
|
12235
|
-
104,
|
|
12236
|
-
111,
|
|
12237
|
-
114,
|
|
12238
|
-
105,
|
|
12239
|
-
116,
|
|
12240
|
-
121
|
|
12241
|
-
]
|
|
12242
|
-
}
|
|
12243
|
-
]
|
|
12244
|
-
}
|
|
11257
|
+
name: "event_authority"
|
|
12245
11258
|
},
|
|
12246
11259
|
{
|
|
12247
11260
|
name: "program"
|
|
@@ -12282,47 +11295,21 @@ var instructions = [
|
|
|
12282
11295
|
name: "position",
|
|
12283
11296
|
writable: true
|
|
12284
11297
|
},
|
|
12285
|
-
{
|
|
12286
|
-
name: "position_nft_account",
|
|
12287
|
-
docs: [
|
|
12288
|
-
"The token account for nft"
|
|
12289
|
-
]
|
|
12290
|
-
},
|
|
12291
|
-
{
|
|
12292
|
-
name: "
|
|
12293
|
-
docs: [
|
|
12294
|
-
"
|
|
12295
|
-
],
|
|
12296
|
-
signer: true
|
|
12297
|
-
},
|
|
12298
|
-
{
|
|
12299
|
-
name: "event_authority"
|
|
12300
|
-
pda: {
|
|
12301
|
-
seeds: [
|
|
12302
|
-
{
|
|
12303
|
-
kind: "const",
|
|
12304
|
-
value: [
|
|
12305
|
-
95,
|
|
12306
|
-
95,
|
|
12307
|
-
101,
|
|
12308
|
-
118,
|
|
12309
|
-
101,
|
|
12310
|
-
110,
|
|
12311
|
-
116,
|
|
12312
|
-
95,
|
|
12313
|
-
97,
|
|
12314
|
-
117,
|
|
12315
|
-
116,
|
|
12316
|
-
104,
|
|
12317
|
-
111,
|
|
12318
|
-
114,
|
|
12319
|
-
105,
|
|
12320
|
-
116,
|
|
12321
|
-
121
|
|
12322
|
-
]
|
|
12323
|
-
}
|
|
12324
|
-
]
|
|
12325
|
-
}
|
|
11298
|
+
{
|
|
11299
|
+
name: "position_nft_account",
|
|
11300
|
+
docs: [
|
|
11301
|
+
"The token account for nft"
|
|
11302
|
+
]
|
|
11303
|
+
},
|
|
11304
|
+
{
|
|
11305
|
+
name: "signer",
|
|
11306
|
+
docs: [
|
|
11307
|
+
"Signer"
|
|
11308
|
+
],
|
|
11309
|
+
signer: true
|
|
11310
|
+
},
|
|
11311
|
+
{
|
|
11312
|
+
name: "event_authority"
|
|
12326
11313
|
},
|
|
12327
11314
|
{
|
|
12328
11315
|
name: "program"
|
|
@@ -12458,9 +11445,9 @@ var instructions = [
|
|
|
12458
11445
|
]
|
|
12459
11446
|
},
|
|
12460
11447
|
{
|
|
12461
|
-
name: "
|
|
11448
|
+
name: "signer",
|
|
12462
11449
|
docs: [
|
|
12463
|
-
"
|
|
11450
|
+
"Signer"
|
|
12464
11451
|
],
|
|
12465
11452
|
signer: true
|
|
12466
11453
|
},
|
|
@@ -12477,33 +11464,7 @@ var instructions = [
|
|
|
12477
11464
|
]
|
|
12478
11465
|
},
|
|
12479
11466
|
{
|
|
12480
|
-
name: "event_authority"
|
|
12481
|
-
pda: {
|
|
12482
|
-
seeds: [
|
|
12483
|
-
{
|
|
12484
|
-
kind: "const",
|
|
12485
|
-
value: [
|
|
12486
|
-
95,
|
|
12487
|
-
95,
|
|
12488
|
-
101,
|
|
12489
|
-
118,
|
|
12490
|
-
101,
|
|
12491
|
-
110,
|
|
12492
|
-
116,
|
|
12493
|
-
95,
|
|
12494
|
-
97,
|
|
12495
|
-
117,
|
|
12496
|
-
116,
|
|
12497
|
-
104,
|
|
12498
|
-
111,
|
|
12499
|
-
114,
|
|
12500
|
-
105,
|
|
12501
|
-
116,
|
|
12502
|
-
121
|
|
12503
|
-
]
|
|
12504
|
-
}
|
|
12505
|
-
]
|
|
12506
|
-
}
|
|
11467
|
+
name: "event_authority"
|
|
12507
11468
|
},
|
|
12508
11469
|
{
|
|
12509
11470
|
name: "program"
|
|
@@ -12607,9 +11568,9 @@ var instructions = [
|
|
|
12607
11568
|
]
|
|
12608
11569
|
},
|
|
12609
11570
|
{
|
|
12610
|
-
name: "
|
|
11571
|
+
name: "signer",
|
|
12611
11572
|
docs: [
|
|
12612
|
-
"
|
|
11573
|
+
"Signer"
|
|
12613
11574
|
],
|
|
12614
11575
|
signer: true
|
|
12615
11576
|
},
|
|
@@ -12626,33 +11587,7 @@ var instructions = [
|
|
|
12626
11587
|
]
|
|
12627
11588
|
},
|
|
12628
11589
|
{
|
|
12629
|
-
name: "event_authority"
|
|
12630
|
-
pda: {
|
|
12631
|
-
seeds: [
|
|
12632
|
-
{
|
|
12633
|
-
kind: "const",
|
|
12634
|
-
value: [
|
|
12635
|
-
95,
|
|
12636
|
-
95,
|
|
12637
|
-
101,
|
|
12638
|
-
118,
|
|
12639
|
-
101,
|
|
12640
|
-
110,
|
|
12641
|
-
116,
|
|
12642
|
-
95,
|
|
12643
|
-
97,
|
|
12644
|
-
117,
|
|
12645
|
-
116,
|
|
12646
|
-
104,
|
|
12647
|
-
111,
|
|
12648
|
-
114,
|
|
12649
|
-
105,
|
|
12650
|
-
116,
|
|
12651
|
-
121
|
|
12652
|
-
]
|
|
12653
|
-
}
|
|
12654
|
-
]
|
|
12655
|
-
}
|
|
11590
|
+
name: "event_authority"
|
|
12656
11591
|
},
|
|
12657
11592
|
{
|
|
12658
11593
|
name: "program"
|
|
@@ -12694,33 +11629,7 @@ var instructions = [
|
|
|
12694
11629
|
signer: true
|
|
12695
11630
|
},
|
|
12696
11631
|
{
|
|
12697
|
-
name: "event_authority"
|
|
12698
|
-
pda: {
|
|
12699
|
-
seeds: [
|
|
12700
|
-
{
|
|
12701
|
-
kind: "const",
|
|
12702
|
-
value: [
|
|
12703
|
-
95,
|
|
12704
|
-
95,
|
|
12705
|
-
101,
|
|
12706
|
-
118,
|
|
12707
|
-
101,
|
|
12708
|
-
110,
|
|
12709
|
-
116,
|
|
12710
|
-
95,
|
|
12711
|
-
97,
|
|
12712
|
-
117,
|
|
12713
|
-
116,
|
|
12714
|
-
104,
|
|
12715
|
-
111,
|
|
12716
|
-
114,
|
|
12717
|
-
105,
|
|
12718
|
-
116,
|
|
12719
|
-
121
|
|
12720
|
-
]
|
|
12721
|
-
}
|
|
12722
|
-
]
|
|
12723
|
-
}
|
|
11632
|
+
name: "event_authority"
|
|
12724
11633
|
},
|
|
12725
11634
|
{
|
|
12726
11635
|
name: "program"
|
|
@@ -12795,33 +11704,7 @@ var instructions = [
|
|
|
12795
11704
|
signer: true
|
|
12796
11705
|
},
|
|
12797
11706
|
{
|
|
12798
|
-
name: "event_authority"
|
|
12799
|
-
pda: {
|
|
12800
|
-
seeds: [
|
|
12801
|
-
{
|
|
12802
|
-
kind: "const",
|
|
12803
|
-
value: [
|
|
12804
|
-
95,
|
|
12805
|
-
95,
|
|
12806
|
-
101,
|
|
12807
|
-
118,
|
|
12808
|
-
101,
|
|
12809
|
-
110,
|
|
12810
|
-
116,
|
|
12811
|
-
95,
|
|
12812
|
-
97,
|
|
12813
|
-
117,
|
|
12814
|
-
116,
|
|
12815
|
-
104,
|
|
12816
|
-
111,
|
|
12817
|
-
114,
|
|
12818
|
-
105,
|
|
12819
|
-
116,
|
|
12820
|
-
121
|
|
12821
|
-
]
|
|
12822
|
-
}
|
|
12823
|
-
]
|
|
12824
|
-
}
|
|
11707
|
+
name: "event_authority"
|
|
12825
11708
|
},
|
|
12826
11709
|
{
|
|
12827
11710
|
name: "program"
|
|
@@ -12900,33 +11783,7 @@ var instructions = [
|
|
|
12900
11783
|
signer: true
|
|
12901
11784
|
},
|
|
12902
11785
|
{
|
|
12903
|
-
name: "event_authority"
|
|
12904
|
-
pda: {
|
|
12905
|
-
seeds: [
|
|
12906
|
-
{
|
|
12907
|
-
kind: "const",
|
|
12908
|
-
value: [
|
|
12909
|
-
95,
|
|
12910
|
-
95,
|
|
12911
|
-
101,
|
|
12912
|
-
118,
|
|
12913
|
-
101,
|
|
12914
|
-
110,
|
|
12915
|
-
116,
|
|
12916
|
-
95,
|
|
12917
|
-
97,
|
|
12918
|
-
117,
|
|
12919
|
-
116,
|
|
12920
|
-
104,
|
|
12921
|
-
111,
|
|
12922
|
-
114,
|
|
12923
|
-
105,
|
|
12924
|
-
116,
|
|
12925
|
-
121
|
|
12926
|
-
]
|
|
12927
|
-
}
|
|
12928
|
-
]
|
|
12929
|
-
}
|
|
11786
|
+
name: "event_authority"
|
|
12930
11787
|
},
|
|
12931
11788
|
{
|
|
12932
11789
|
name: "program"
|
|
@@ -13037,33 +11894,7 @@ var instructions = [
|
|
|
13037
11894
|
optional: true
|
|
13038
11895
|
},
|
|
13039
11896
|
{
|
|
13040
|
-
name: "event_authority"
|
|
13041
|
-
pda: {
|
|
13042
|
-
seeds: [
|
|
13043
|
-
{
|
|
13044
|
-
kind: "const",
|
|
13045
|
-
value: [
|
|
13046
|
-
95,
|
|
13047
|
-
95,
|
|
13048
|
-
101,
|
|
13049
|
-
118,
|
|
13050
|
-
101,
|
|
13051
|
-
110,
|
|
13052
|
-
116,
|
|
13053
|
-
95,
|
|
13054
|
-
97,
|
|
13055
|
-
117,
|
|
13056
|
-
116,
|
|
13057
|
-
104,
|
|
13058
|
-
111,
|
|
13059
|
-
114,
|
|
13060
|
-
105,
|
|
13061
|
-
116,
|
|
13062
|
-
121
|
|
13063
|
-
]
|
|
13064
|
-
}
|
|
13065
|
-
]
|
|
13066
|
-
}
|
|
11897
|
+
name: "event_authority"
|
|
13067
11898
|
},
|
|
13068
11899
|
{
|
|
13069
11900
|
name: "program"
|
|
@@ -13178,33 +12009,7 @@ var instructions = [
|
|
|
13178
12009
|
optional: true
|
|
13179
12010
|
},
|
|
13180
12011
|
{
|
|
13181
|
-
name: "event_authority"
|
|
13182
|
-
pda: {
|
|
13183
|
-
seeds: [
|
|
13184
|
-
{
|
|
13185
|
-
kind: "const",
|
|
13186
|
-
value: [
|
|
13187
|
-
95,
|
|
13188
|
-
95,
|
|
13189
|
-
101,
|
|
13190
|
-
118,
|
|
13191
|
-
101,
|
|
13192
|
-
110,
|
|
13193
|
-
116,
|
|
13194
|
-
95,
|
|
13195
|
-
97,
|
|
13196
|
-
117,
|
|
13197
|
-
116,
|
|
13198
|
-
104,
|
|
13199
|
-
111,
|
|
13200
|
-
114,
|
|
13201
|
-
105,
|
|
13202
|
-
116,
|
|
13203
|
-
121
|
|
13204
|
-
]
|
|
13205
|
-
}
|
|
13206
|
-
]
|
|
13207
|
-
}
|
|
12012
|
+
name: "event_authority"
|
|
13208
12013
|
},
|
|
13209
12014
|
{
|
|
13210
12015
|
name: "program"
|
|
@@ -13221,6 +12026,47 @@ var instructions = [
|
|
|
13221
12026
|
}
|
|
13222
12027
|
]
|
|
13223
12028
|
},
|
|
12029
|
+
{
|
|
12030
|
+
name: "update_delegate_permission",
|
|
12031
|
+
discriminator: [
|
|
12032
|
+
175,
|
|
12033
|
+
165,
|
|
12034
|
+
56,
|
|
12035
|
+
64,
|
|
12036
|
+
0,
|
|
12037
|
+
251,
|
|
12038
|
+
89,
|
|
12039
|
+
47
|
|
12040
|
+
],
|
|
12041
|
+
accounts: [
|
|
12042
|
+
{
|
|
12043
|
+
name: "position",
|
|
12044
|
+
writable: true
|
|
12045
|
+
},
|
|
12046
|
+
{
|
|
12047
|
+
name: "position_nft_account",
|
|
12048
|
+
docs: [
|
|
12049
|
+
"The token account for nft"
|
|
12050
|
+
]
|
|
12051
|
+
},
|
|
12052
|
+
{
|
|
12053
|
+
name: "owner",
|
|
12054
|
+
signer: true
|
|
12055
|
+
},
|
|
12056
|
+
{
|
|
12057
|
+
name: "event_authority"
|
|
12058
|
+
},
|
|
12059
|
+
{
|
|
12060
|
+
name: "program"
|
|
12061
|
+
}
|
|
12062
|
+
],
|
|
12063
|
+
args: [
|
|
12064
|
+
{
|
|
12065
|
+
name: "permission",
|
|
12066
|
+
type: "u32"
|
|
12067
|
+
}
|
|
12068
|
+
]
|
|
12069
|
+
},
|
|
13224
12070
|
{
|
|
13225
12071
|
name: "update_pool_fees",
|
|
13226
12072
|
discriminator: [
|
|
@@ -13239,42 +12085,16 @@ var instructions = [
|
|
|
13239
12085
|
writable: true
|
|
13240
12086
|
},
|
|
13241
12087
|
{
|
|
13242
|
-
name: "operator"
|
|
13243
|
-
},
|
|
13244
|
-
{
|
|
13245
|
-
name: "signer",
|
|
13246
|
-
signer: true
|
|
13247
|
-
},
|
|
13248
|
-
{
|
|
13249
|
-
name: "event_authority"
|
|
13250
|
-
|
|
13251
|
-
|
|
13252
|
-
{
|
|
13253
|
-
kind: "const",
|
|
13254
|
-
value: [
|
|
13255
|
-
95,
|
|
13256
|
-
95,
|
|
13257
|
-
101,
|
|
13258
|
-
118,
|
|
13259
|
-
101,
|
|
13260
|
-
110,
|
|
13261
|
-
116,
|
|
13262
|
-
95,
|
|
13263
|
-
97,
|
|
13264
|
-
117,
|
|
13265
|
-
116,
|
|
13266
|
-
104,
|
|
13267
|
-
111,
|
|
13268
|
-
114,
|
|
13269
|
-
105,
|
|
13270
|
-
116,
|
|
13271
|
-
121
|
|
13272
|
-
]
|
|
13273
|
-
}
|
|
13274
|
-
]
|
|
13275
|
-
}
|
|
13276
|
-
},
|
|
13277
|
-
{
|
|
12088
|
+
name: "operator"
|
|
12089
|
+
},
|
|
12090
|
+
{
|
|
12091
|
+
name: "signer",
|
|
12092
|
+
signer: true
|
|
12093
|
+
},
|
|
12094
|
+
{
|
|
12095
|
+
name: "event_authority"
|
|
12096
|
+
},
|
|
12097
|
+
{
|
|
13278
12098
|
name: "program"
|
|
13279
12099
|
}
|
|
13280
12100
|
],
|
|
@@ -13311,33 +12131,7 @@ var instructions = [
|
|
|
13311
12131
|
signer: true
|
|
13312
12132
|
},
|
|
13313
12133
|
{
|
|
13314
|
-
name: "event_authority"
|
|
13315
|
-
pda: {
|
|
13316
|
-
seeds: [
|
|
13317
|
-
{
|
|
13318
|
-
kind: "const",
|
|
13319
|
-
value: [
|
|
13320
|
-
95,
|
|
13321
|
-
95,
|
|
13322
|
-
101,
|
|
13323
|
-
118,
|
|
13324
|
-
101,
|
|
13325
|
-
110,
|
|
13326
|
-
116,
|
|
13327
|
-
95,
|
|
13328
|
-
97,
|
|
13329
|
-
117,
|
|
13330
|
-
116,
|
|
13331
|
-
104,
|
|
13332
|
-
111,
|
|
13333
|
-
114,
|
|
13334
|
-
105,
|
|
13335
|
-
116,
|
|
13336
|
-
121
|
|
13337
|
-
]
|
|
13338
|
-
}
|
|
13339
|
-
]
|
|
13340
|
-
}
|
|
12134
|
+
name: "event_authority"
|
|
13341
12135
|
},
|
|
13342
12136
|
{
|
|
13343
12137
|
name: "program"
|
|
@@ -13376,33 +12170,7 @@ var instructions = [
|
|
|
13376
12170
|
signer: true
|
|
13377
12171
|
},
|
|
13378
12172
|
{
|
|
13379
|
-
name: "event_authority"
|
|
13380
|
-
pda: {
|
|
13381
|
-
seeds: [
|
|
13382
|
-
{
|
|
13383
|
-
kind: "const",
|
|
13384
|
-
value: [
|
|
13385
|
-
95,
|
|
13386
|
-
95,
|
|
13387
|
-
101,
|
|
13388
|
-
118,
|
|
13389
|
-
101,
|
|
13390
|
-
110,
|
|
13391
|
-
116,
|
|
13392
|
-
95,
|
|
13393
|
-
97,
|
|
13394
|
-
117,
|
|
13395
|
-
116,
|
|
13396
|
-
104,
|
|
13397
|
-
111,
|
|
13398
|
-
114,
|
|
13399
|
-
105,
|
|
13400
|
-
116,
|
|
13401
|
-
121
|
|
13402
|
-
]
|
|
13403
|
-
}
|
|
13404
|
-
]
|
|
13405
|
-
}
|
|
12173
|
+
name: "event_authority"
|
|
13406
12174
|
},
|
|
13407
12175
|
{
|
|
13408
12176
|
name: "program"
|
|
@@ -13419,6 +12187,59 @@ var instructions = [
|
|
|
13419
12187
|
}
|
|
13420
12188
|
]
|
|
13421
12189
|
},
|
|
12190
|
+
{
|
|
12191
|
+
name: "withdraw_dead_liquidity_reward",
|
|
12192
|
+
discriminator: [
|
|
12193
|
+
121,
|
|
12194
|
+
99,
|
|
12195
|
+
224,
|
|
12196
|
+
91,
|
|
12197
|
+
178,
|
|
12198
|
+
14,
|
|
12199
|
+
22,
|
|
12200
|
+
132
|
|
12201
|
+
],
|
|
12202
|
+
accounts: [
|
|
12203
|
+
{
|
|
12204
|
+
name: "pool_authority",
|
|
12205
|
+
address: "HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC"
|
|
12206
|
+
},
|
|
12207
|
+
{
|
|
12208
|
+
name: "pool",
|
|
12209
|
+
writable: true
|
|
12210
|
+
},
|
|
12211
|
+
{
|
|
12212
|
+
name: "reward_vault",
|
|
12213
|
+
writable: true
|
|
12214
|
+
},
|
|
12215
|
+
{
|
|
12216
|
+
name: "reward_mint"
|
|
12217
|
+
},
|
|
12218
|
+
{
|
|
12219
|
+
name: "funder_token_account",
|
|
12220
|
+
writable: true
|
|
12221
|
+
},
|
|
12222
|
+
{
|
|
12223
|
+
name: "funder",
|
|
12224
|
+
signer: true
|
|
12225
|
+
},
|
|
12226
|
+
{
|
|
12227
|
+
name: "token_program"
|
|
12228
|
+
},
|
|
12229
|
+
{
|
|
12230
|
+
name: "event_authority"
|
|
12231
|
+
},
|
|
12232
|
+
{
|
|
12233
|
+
name: "program"
|
|
12234
|
+
}
|
|
12235
|
+
],
|
|
12236
|
+
args: [
|
|
12237
|
+
{
|
|
12238
|
+
name: "reward_index",
|
|
12239
|
+
type: "u8"
|
|
12240
|
+
}
|
|
12241
|
+
]
|
|
12242
|
+
},
|
|
13422
12243
|
{
|
|
13423
12244
|
name: "withdraw_ineligible_reward",
|
|
13424
12245
|
discriminator: [
|
|
@@ -13459,33 +12280,7 @@ var instructions = [
|
|
|
13459
12280
|
name: "token_program"
|
|
13460
12281
|
},
|
|
13461
12282
|
{
|
|
13462
|
-
name: "event_authority"
|
|
13463
|
-
pda: {
|
|
13464
|
-
seeds: [
|
|
13465
|
-
{
|
|
13466
|
-
kind: "const",
|
|
13467
|
-
value: [
|
|
13468
|
-
95,
|
|
13469
|
-
95,
|
|
13470
|
-
101,
|
|
13471
|
-
118,
|
|
13472
|
-
101,
|
|
13473
|
-
110,
|
|
13474
|
-
116,
|
|
13475
|
-
95,
|
|
13476
|
-
97,
|
|
13477
|
-
117,
|
|
13478
|
-
116,
|
|
13479
|
-
104,
|
|
13480
|
-
111,
|
|
13481
|
-
114,
|
|
13482
|
-
105,
|
|
13483
|
-
116,
|
|
13484
|
-
121
|
|
13485
|
-
]
|
|
13486
|
-
}
|
|
13487
|
-
]
|
|
13488
|
-
}
|
|
12283
|
+
name: "event_authority"
|
|
13489
12284
|
},
|
|
13490
12285
|
{
|
|
13491
12286
|
name: "program"
|
|
@@ -13708,6 +12503,19 @@ var events = [
|
|
|
13708
12503
|
33
|
|
13709
12504
|
]
|
|
13710
12505
|
},
|
|
12506
|
+
{
|
|
12507
|
+
name: "EvtClaimProtocolFee2",
|
|
12508
|
+
discriminator: [
|
|
12509
|
+
187,
|
|
12510
|
+
133,
|
|
12511
|
+
66,
|
|
12512
|
+
9,
|
|
12513
|
+
205,
|
|
12514
|
+
161,
|
|
12515
|
+
84,
|
|
12516
|
+
13
|
|
12517
|
+
]
|
|
12518
|
+
},
|
|
13711
12519
|
{
|
|
13712
12520
|
name: "EvtClaimReward",
|
|
13713
12521
|
discriminator: [
|
|
@@ -13929,6 +12737,19 @@ var events = [
|
|
|
13929
12737
|
153
|
|
13930
12738
|
]
|
|
13931
12739
|
},
|
|
12740
|
+
{
|
|
12741
|
+
name: "EvtUpdateDelegatePermission",
|
|
12742
|
+
discriminator: [
|
|
12743
|
+
66,
|
|
12744
|
+
188,
|
|
12745
|
+
75,
|
|
12746
|
+
151,
|
|
12747
|
+
150,
|
|
12748
|
+
232,
|
|
12749
|
+
87,
|
|
12750
|
+
93
|
|
12751
|
+
]
|
|
12752
|
+
},
|
|
13932
12753
|
{
|
|
13933
12754
|
name: "EvtUpdatePoolFees",
|
|
13934
12755
|
discriminator: [
|
|
@@ -13968,6 +12789,19 @@ var events = [
|
|
|
13968
12789
|
146
|
|
13969
12790
|
]
|
|
13970
12791
|
},
|
|
12792
|
+
{
|
|
12793
|
+
name: "EvtWithdrawDeadLiquidityReward",
|
|
12794
|
+
discriminator: [
|
|
12795
|
+
228,
|
|
12796
|
+
66,
|
|
12797
|
+
150,
|
|
12798
|
+
195,
|
|
12799
|
+
42,
|
|
12800
|
+
62,
|
|
12801
|
+
163,
|
|
12802
|
+
13
|
|
12803
|
+
]
|
|
12804
|
+
},
|
|
13971
12805
|
{
|
|
13972
12806
|
name: "EvtWithdrawIneligibleReward",
|
|
13973
12807
|
discriminator: [
|
|
@@ -14322,6 +13156,21 @@ var errors = [
|
|
|
14322
13156
|
code: 6067,
|
|
14323
13157
|
name: "InvalidCompoundingFeeBps",
|
|
14324
13158
|
msg: "Invalid compounding fee bps"
|
|
13159
|
+
},
|
|
13160
|
+
{
|
|
13161
|
+
code: 6068,
|
|
13162
|
+
name: "InvalidClaimProtocolFeeAccounts",
|
|
13163
|
+
msg: "Invalid claim protocol fee accounts"
|
|
13164
|
+
},
|
|
13165
|
+
{
|
|
13166
|
+
code: 6069,
|
|
13167
|
+
name: "TransferFeeExcludedAmountIsZero",
|
|
13168
|
+
msg: "Transfer fee excluded amount is zero"
|
|
13169
|
+
},
|
|
13170
|
+
{
|
|
13171
|
+
code: 6070,
|
|
13172
|
+
name: "DelegatedAmountNonZero",
|
|
13173
|
+
msg: "Delegated amount is not zero"
|
|
14325
13174
|
}
|
|
14326
13175
|
];
|
|
14327
13176
|
var types = [
|
|
@@ -14884,6 +13733,30 @@ var types = [
|
|
|
14884
13733
|
]
|
|
14885
13734
|
}
|
|
14886
13735
|
},
|
|
13736
|
+
{
|
|
13737
|
+
name: "EvtClaimProtocolFee2",
|
|
13738
|
+
type: {
|
|
13739
|
+
kind: "struct",
|
|
13740
|
+
fields: [
|
|
13741
|
+
{
|
|
13742
|
+
name: "pool",
|
|
13743
|
+
type: "pubkey"
|
|
13744
|
+
},
|
|
13745
|
+
{
|
|
13746
|
+
name: "receiver_token_account",
|
|
13747
|
+
type: "pubkey"
|
|
13748
|
+
},
|
|
13749
|
+
{
|
|
13750
|
+
name: "token_mint",
|
|
13751
|
+
type: "pubkey"
|
|
13752
|
+
},
|
|
13753
|
+
{
|
|
13754
|
+
name: "amount",
|
|
13755
|
+
type: "u64"
|
|
13756
|
+
}
|
|
13757
|
+
]
|
|
13758
|
+
}
|
|
13759
|
+
},
|
|
14887
13760
|
{
|
|
14888
13761
|
name: "EvtClaimReward",
|
|
14889
13762
|
type: {
|
|
@@ -15586,6 +14459,32 @@ var types = [
|
|
|
15586
14459
|
]
|
|
15587
14460
|
}
|
|
15588
14461
|
},
|
|
14462
|
+
{
|
|
14463
|
+
name: "EvtUpdateDelegatePermission",
|
|
14464
|
+
type: {
|
|
14465
|
+
kind: "struct",
|
|
14466
|
+
fields: [
|
|
14467
|
+
{
|
|
14468
|
+
name: "position",
|
|
14469
|
+
type: "pubkey"
|
|
14470
|
+
},
|
|
14471
|
+
{
|
|
14472
|
+
name: "owner",
|
|
14473
|
+
type: "pubkey"
|
|
14474
|
+
},
|
|
14475
|
+
{
|
|
14476
|
+
name: "permission",
|
|
14477
|
+
type: "u32"
|
|
14478
|
+
},
|
|
14479
|
+
{
|
|
14480
|
+
name: "delegate",
|
|
14481
|
+
type: {
|
|
14482
|
+
option: "pubkey"
|
|
14483
|
+
}
|
|
14484
|
+
}
|
|
14485
|
+
]
|
|
14486
|
+
}
|
|
14487
|
+
},
|
|
15589
14488
|
{
|
|
15590
14489
|
name: "EvtUpdatePoolFees",
|
|
15591
14490
|
type: {
|
|
@@ -15658,6 +14557,26 @@ var types = [
|
|
|
15658
14557
|
]
|
|
15659
14558
|
}
|
|
15660
14559
|
},
|
|
14560
|
+
{
|
|
14561
|
+
name: "EvtWithdrawDeadLiquidityReward",
|
|
14562
|
+
type: {
|
|
14563
|
+
kind: "struct",
|
|
14564
|
+
fields: [
|
|
14565
|
+
{
|
|
14566
|
+
name: "pool",
|
|
14567
|
+
type: "pubkey"
|
|
14568
|
+
},
|
|
14569
|
+
{
|
|
14570
|
+
name: "reward_mint",
|
|
14571
|
+
type: "pubkey"
|
|
14572
|
+
},
|
|
14573
|
+
{
|
|
14574
|
+
name: "amount",
|
|
14575
|
+
type: "u64"
|
|
14576
|
+
}
|
|
14577
|
+
]
|
|
14578
|
+
}
|
|
14579
|
+
},
|
|
15661
14580
|
{
|
|
15662
14581
|
name: "EvtWithdrawIneligibleReward",
|
|
15663
14582
|
type: {
|
|
@@ -16649,12 +15568,24 @@ var types = [
|
|
|
16649
15568
|
}
|
|
16650
15569
|
}
|
|
16651
15570
|
},
|
|
15571
|
+
{
|
|
15572
|
+
name: "delegate_permission",
|
|
15573
|
+
docs: [
|
|
15574
|
+
"delegate permission bitmask (paired with SPL token Approve)"
|
|
15575
|
+
],
|
|
15576
|
+
type: "u32"
|
|
15577
|
+
},
|
|
16652
15578
|
{
|
|
16653
15579
|
name: "padding",
|
|
16654
15580
|
docs: [
|
|
16655
15581
|
"padding for future usage"
|
|
16656
15582
|
],
|
|
16657
|
-
type:
|
|
15583
|
+
type: {
|
|
15584
|
+
array: [
|
|
15585
|
+
"u8",
|
|
15586
|
+
12
|
|
15587
|
+
]
|
|
15588
|
+
}
|
|
16658
15589
|
}
|
|
16659
15590
|
]
|
|
16660
15591
|
}
|
|
@@ -16747,16 +15678,11 @@ var types = [
|
|
|
16747
15678
|
}
|
|
16748
15679
|
},
|
|
16749
15680
|
{
|
|
16750
|
-
name: "
|
|
15681
|
+
name: "dead_liquidity_reward_checkpoint",
|
|
16751
15682
|
docs: [
|
|
16752
|
-
"
|
|
15683
|
+
"Cumulative dead-liquidity reward (Compounding Pool only)"
|
|
16753
15684
|
],
|
|
16754
|
-
type:
|
|
16755
|
-
array: [
|
|
16756
|
-
"u8",
|
|
16757
|
-
8
|
|
16758
|
-
]
|
|
16759
|
-
}
|
|
15685
|
+
type: "u64"
|
|
16760
15686
|
},
|
|
16761
15687
|
{
|
|
16762
15688
|
name: "mint",
|
|
@@ -17293,6 +16219,17 @@ var types = [
|
|
|
17293
16219
|
}
|
|
17294
16220
|
}
|
|
17295
16221
|
}
|
|
16222
|
+
},
|
|
16223
|
+
{
|
|
16224
|
+
name: "compounding_fee_bps",
|
|
16225
|
+
docs: [
|
|
16226
|
+
"Compounding fee update mode:",
|
|
16227
|
+
"- None: skip compounding fee update",
|
|
16228
|
+
"- Some: update compounding_fee_bps; pool must use CollectFeeMode::Compounding"
|
|
16229
|
+
],
|
|
16230
|
+
type: {
|
|
16231
|
+
option: "u16"
|
|
16232
|
+
}
|
|
17296
16233
|
}
|
|
17297
16234
|
]
|
|
17298
16235
|
}
|
|
@@ -17518,4 +16455,4 @@ var cp_amm = {
|
|
|
17518
16455
|
constants: constants
|
|
17519
16456
|
};
|
|
17520
16457
|
|
|
17521
|
-
export { ActivationPoint, ActivationType, type AddLiquidityParams, type AmmProgram, AmountIsZeroError, BASIS_POINT_MAX, BIN_STEP_BPS_DEFAULT, BIN_STEP_BPS_U128_DEFAULT, type BaseFee, type BaseFeeHandler, BaseFeeMode, type BorshFeeMarketCapScheduler, type BorshFeeRateLimiter, type BorshFeeTimeScheduler, type BuildAddLiquidityParams, type BuildLiquidatePositionInstructionParams, type BuildRemoveAllLiquidityInstructionParams, CP_AMM_PROGRAM_ID, CURRENT_POOL_VERSION, type ClaimPositionFeeInstructionParams, type ClaimPositionFeeParams, type ClaimPositionFeeParams2, type ClaimRewardParams, type ClosePositionInstructionParams, type ClosePositionParams, CollectFeeMode, CompoundingLiquidityHandler, ConcentratedLiquidityHandler, type ConfigState, CpAmm, cp_amm as CpAmmIdl, type CpAmm$1 as CpAmmTypes, type CreatePoolParams, type CreatePositionAndAddLiquidity, type CreatePositionParams, DEAD_LIQUIDITY, DYNAMIC_FEE_DECAY_PERIOD_DEFAULT, DYNAMIC_FEE_FILTER_PERIOD_DEFAULT, DYNAMIC_FEE_REDUCTION_FACTOR_DEFAULT, DYNAMIC_FEE_ROUNDING_OFFSET, DYNAMIC_FEE_SCALING_FACTOR, type DecodedPoolFees, type DepositQuote, DepositTokenNotAcceptedError, type DynamicFee, type DynamicFeeParams, type DynamicFeeStruct, ExceedMaxFeeBpsError, FEE_DENOMINATOR, FeeMarketCapScheduler, type FeeMode, type FeeOnAmountResult, FeeRateLimiter, FeeTimeScheduler, type FundRewardParams, type GetDepositQuoteParams, type GetQuote2Params, type GetQuoteParams, type GetWithdrawQuoteParams, type InitialPoolInformation, type InitializeAndFundReward, type InitializeCustomizeablePoolParams, type InitializeCustomizeablePoolWithDynamicConfigParams, type InitializeRewardParams, type InnerVesting, InsufficientLiquidityError, InvalidActivationTypeError, InvalidBaseFeeModeError, InvalidCollectFeeModeError, InvalidCompoundingFeeBpsError, InvalidDynamicFeeParametersError, InvalidFeeError, InvalidFeeMarketCapSchedulerError, InvalidFeeRateLimiterError, InvalidFeeTimeSchedulerError, InvalidInputError, InvalidMinimumLiquidityError, InvalidParametersError, InvalidPoolVersionError, InvalidPriceRangeError, InvalidRewardDurationError, InvalidRewardIndexError, InvalidSplitPositionParametersError, InvalidVestingInfoError, LIQUIDITY_SCALE, LayoutVersion, type LiquidityDeltaParams, type LiquidityHandler, type LockPositionParams, MAX, MAX_CU_BUFFER, MAX_EXPONENTIAL, MAX_FEE_BPS_V0, MAX_FEE_BPS_V1, MAX_FEE_NUMERATOR_V0, MAX_FEE_NUMERATOR_V1, MAX_PRICE_CHANGE_BPS_DEFAULT, MAX_RATE_LIMITER_DURATION_IN_SECONDS, MAX_RATE_LIMITER_DURATION_IN_SLOTS, MAX_REWARD_DURATION, MAX_SQRT_PRICE, MIN_CU_BUFFER, MIN_FEE_BPS, MIN_FEE_NUMERATOR, MIN_REWARD_DURATION, MIN_SQRT_PRICE, MathOverflowError, type MergePositionParams, NUM_REWARDS, ONE_Q64, type PermanentLockParams, type PodAlignedFeeMarketCapScheduler, type PodAlignedFeeRateLimiter, type PodAlignedFeeTimeScheduler, type PoolFeesParams, type PoolFeesStruct, type PoolState, PoolStatus, type PositionState, type PrepareCustomizablePoolParams, type PreparePoolCreationParams, type PreparePoolCreationSingleSide, type PrepareTokenAccountParams, type PreparedPoolCreation, PriceRangeViolationError, type Quote2Result, type RefreshVestingParams, type RemoveAllLiquidityAndClosePositionParams, type RemoveAllLiquidityParams, type RemoveLiquidityParams, type RewardInfo, Rounding, SCALE_OFFSET, SPLIT_POSITION_DENOMINATOR, SameTokenMintsError, type SetupFeeClaimAccountsParams, type SplitFees, type SplitPosition2Params, type SplitPositionParams, type Swap2Params, type SwapAmount, type SwapAmountFromInput, type SwapAmountFromOutput, SwapDisabledError, SwapMode, type SwapParams, type SwapResult2, type TokenBadgeState, TradeDirection, type TransferHookState, type TxBuilder, U128_MAX, U16_MAX, U24_MAX, U64_MAX, type UpdateRewardDurationParams, type UpdateRewardFunderParams, type UserRewardInfo, type VestingState, type WithdrawIneligibleRewardParams, type WithdrawQuote, applySwapResult, bpsToFeeNumerator, calculateAtoBFromAmountInForCompoundingLiquidity, calculateAtoBFromAmountInForConcentratedLiquidity, calculateAtoBFromAmountOutForCompoundingLiquidity, calculateAtoBFromAmountOutForConcentratedLiquidity, calculateAtoBFromPartialAmountInForCompoundingLiquidity, calculateAtoBFromPartialAmountInForConcentratedLiquidity, calculateBtoAFromAmountInForCompoundingLiquidity, calculateBtoAFromAmountInForConcentratedLiquidity, calculateBtoAFromAmountOutForCompoundingLiquidity, calculateBtoAFromAmountOutForConcentratedLiquidity, calculateBtoAFromPartialAmountInForCompoundingLiquidity, calculateBtoAFromPartialAmountInForConcentratedLiquidity, calculateInitSqrtPrice, calculateTransferFeeExcludedAmount, calculateTransferFeeIncludedAmount, computeSqrtPriceStepBps, convertToFeeSchedulerSecondFactor, convertToLamports, convertToRateLimiterSecondFactor, cpAmmCoder, decimalToQ64, decodeFeeMarketCapSchedulerParams, decodeFeeRateLimiterParams, decodeFeeTimeSchedulerParams, decodePodAlignedFeeMarketCapScheduler, decodePodAlignedFeeRateLimiter, decodePodAlignedFeeTimeScheduler, deriveClaimFeeOperatorAddress, deriveConfigAddress, deriveCustomizablePoolAddress, deriveOperatorAddress, derivePoolAddress, derivePoolAuthority, derivePositionAddress, derivePositionNftAccount, deriveRewardVaultAddress, deriveTokenBadgeAddress, deriveTokenVaultAddress, encodeFeeMarketCapSchedulerParams, encodeFeeRateLimiterParams, encodeFeeTimeSchedulerParams, feeNumeratorToBps, fromDecimalToBN, getAllPositionNftAccountByOwner, getAllUserPositionNftAccount, getAmountAFromLiquidityDelta, getAmountAFromLiquidityDeltaForCompoundingLiquidity, getAmountAFromLiquidityDeltaForConcentratedLiquidity, getAmountBFromLiquidityDelta, getAmountBFromLiquidityDeltaForCompoundingLiquidity, getAmountBFromLiquidityDeltaForConcentratedLiquidity, getAmountWithSlippage, getAmountsForModifyForCompoundingLiquidity, getAmountsForModifyForConcentratedLiquidity, getAvailableVestingLiquidity, getBaseFeeHandlerFromBorshData, getBaseFeeHandlerFromPodAlignedData, getBaseFeeParams, getCheckedAmounts, getCurrentPoint, getDynamicFeeNumerator, getDynamicFeeParams, getEstimatedComputeUnitIxWithBuffer, getEstimatedComputeUnitUsageWithBuffer, getExcludedFeeAmount, getExcludedFeeAmountFromIncludedFeeAmount, getFeeInPeriod, getFeeMarketCapBaseFeeNumerator, getFeeMarketCapBaseFeeNumeratorByPeriod, getFeeMarketCapMinBaseFeeNumerator, getFeeMarketCapSchedulerParams, getFeeMode, getFeeNumeratorFromExcludedFeeAmount, getFeeNumeratorFromIncludedFeeAmount, getFeeNumeratorOnExponentialFeeScheduler, getFeeNumeratorOnLinearFeeScheduler, getFeeOnAmount, getFeeTimeBaseFeeNumerator, getFeeTimeBaseFeeNumeratorByPeriod, getFeeTimeMinBaseFeeNumerator, getFeeTimeSchedulerParams, getFirstKey, getIncludedFeeAmount, getInitialCompoundingPoolInformation, getInitialConcentratedLiquidityPoolInformation, getInitialPoolInformation, getLiquidityDeltaFromAmountA, getLiquidityDeltaFromAmountAForCompoundingLiquidity, getLiquidityDeltaFromAmountAForConcentratedLiquidity, getLiquidityDeltaFromAmountB, getLiquidityDeltaFromAmountBForCompoundingLiquidity, getLiquidityDeltaFromAmountBForConcentratedLiquidity, getLiquidityHandler, getMaxAmountWithSlippage, getMaxBaseFeeNumerator, getMaxFeeBps, getMaxFeeNumerator, getMaxIndex, getNextSqrtPriceForCompoundingLiquidity, getNextSqrtPriceFromAmountInARoundingUp, getNextSqrtPriceFromAmountInBRoundingDown, getNextSqrtPriceFromAmountOutARoundingUp, getNextSqrtPriceFromAmountOutBRoundingDown, getNextSqrtPriceFromInput, getNextSqrtPriceFromOutput, getOrCreateATAInstruction, getPoolCreationAmountAFromLiquidityDeltaForCompoundingLiquidity, getPoolCreationAmountBFromLiquidityDeltaForCompoundingLiquidity, getPoolCreationLiquidityDeltaFromAmountAForCompoundingLiquidity, getPoolCreationLiquidityDeltaFromAmountBForCompoundingLiquidity, getPriceChange, getPriceFromSqrtPrice, getPriceImpact, getRateLimiterMaxBaseFeeNumerator, getRateLimiterMinBaseFeeNumerator, getRateLimiterParams, getReservesAmountForCompoundingLiquidity, getReservesAmountForConcentratedLiquidity, getRewardInfo, getSecondKey, getSimulationComputeUnits, getSqrtPriceFromAmountsForCompoundingLiquidity, getSqrtPriceFromPrice, getSwapResultFromExactInput, getSwapResultFromExactOutput, getSwapResultFromPartialInput, getTokenDecimals, getTokenProgram, getTotalFeeNumerator, getTotalLockedLiquidity, getTotalTradingFeeFromExcludedFeeAmount, getTotalTradingFeeFromIncludedFeeAmount, getUnClaimLpFee, getUserRewardPending, hasTransferHookExtension, isDynamicFeeEnabled, isNonZeroRateLimiter, isRateLimiterApplied, isSwapEnabled, isVestingComplete, isZeroRateLimiter, mulDiv, offsetBasedFilter, parseFeeSchedulerSecondFactor, parseRateLimiterSecondFactor, positionByPoolFilter, pow, q64ToDecimal, splitFees, sqrt, swapQuoteExactInput, swapQuoteExactOutput, swapQuotePartialInput, toNumerator, unwrapSOLInstruction, validateActivationType, validateAddLiquidityParams, validateCollectFeeMode, validateCompoundingFee, validateCreatePoolParams, validateCustomizablePoolParams, validateDynamicFee, validateFeeFraction, validateFeeMarketCapBaseFeeIsStatic, validateFeeMarketCapScheduler, validateFeeRateLimiter, validateFeeRateLimiterBaseFeeIsStatic, validateFeeTimeScheduler, validateFeeTimeSchedulerBaseFeeIsStatic, validateInitialSqrtPrice, validateLockPositionParams, validateNoTransferHook, validatePoolFees, validatePriceRange, validateRemoveLiquidityParams, validateRewardDuration, validateRewardIndex, validateSplitPosition2Params, validateSplitPositionParams, validateTokenMints, vestingByPositionFilter, wrapSOLInstruction };
|
|
16458
|
+
export { ActivationPoint, ActivationType, type AddLiquidityParams, type AmmProgram, AmountIsZeroError, BASIS_POINT_MAX, BIN_STEP_BPS_DEFAULT, BIN_STEP_BPS_U128_DEFAULT, type BaseFee, type BaseFeeHandler, BaseFeeMode, type BorshFeeMarketCapScheduler, type BorshFeeRateLimiter, type BorshFeeTimeScheduler, type BuildAddLiquidityParams, type BuildLiquidatePositionInstructionParams, type BuildRemoveAllLiquidityInstructionParams, CP_AMM_PROGRAM_ID, CURRENT_POOL_VERSION, type ClaimPositionFeeInstructionParams, type ClaimPositionFeeParams, type ClaimPositionFeeParams2, type ClaimRewardParams, type ClosePositionInstructionParams, type ClosePositionParams, CollectFeeMode, CompoundingLiquidityHandler, ConcentratedLiquidityHandler, type ConfigState, CpAmm, cp_amm as CpAmmIdl, type CpAmm$1 as CpAmmTypes, type CreatePoolParams, type CreatePositionAndAddLiquidity, type CreatePositionParams, DEAD_LIQUIDITY, DYNAMIC_FEE_DECAY_PERIOD_DEFAULT, DYNAMIC_FEE_FILTER_PERIOD_DEFAULT, DYNAMIC_FEE_REDUCTION_FACTOR_DEFAULT, DYNAMIC_FEE_ROUNDING_OFFSET, DYNAMIC_FEE_SCALING_FACTOR, type DecodedPoolFees, type DepositQuote, DepositTokenNotAcceptedError, type DynamicFee, type DynamicFeeParams, type DynamicFeeStruct, ExceedMaxFeeBpsError, FEE_DENOMINATOR, FeeMarketCapScheduler, type FeeMode, type FeeOnAmountResult, FeeRateLimiter, FeeTimeScheduler, type FundRewardParams, type GetDepositQuoteParams, type GetQuote2Params, type GetQuoteParams, type GetWithdrawQuoteParams, type InitialPoolInformation, type InitializeAndFundReward, type InitializeCustomizeablePoolParams, type InitializeCustomizeablePoolWithDynamicConfigParams, type InitializeRewardParams, type InnerVesting, InsufficientLiquidityError, InvalidActivationTypeError, InvalidBaseFeeModeError, InvalidCollectFeeModeError, InvalidCompoundingFeeBpsError, InvalidDynamicFeeParametersError, InvalidFeeError, InvalidFeeMarketCapSchedulerError, InvalidFeeRateLimiterError, InvalidFeeTimeSchedulerError, InvalidInputError, InvalidMinimumLiquidityError, InvalidParametersError, InvalidPoolVersionError, InvalidPriceRangeError, InvalidRewardDurationError, InvalidRewardIndexError, InvalidSplitPositionParametersError, InvalidVestingInfoError, LIQUIDITY_SCALE, LayoutVersion, type LiquidityDeltaParams, type LiquidityHandler, type LockPositionParams, MAX, MAX_CU_BUFFER, MAX_EXPONENTIAL, MAX_FEE_BPS_V0, MAX_FEE_BPS_V1, MAX_FEE_NUMERATOR_V0, MAX_FEE_NUMERATOR_V1, MAX_PRICE_CHANGE_BPS_DEFAULT, MAX_RATE_LIMITER_DURATION_IN_SECONDS, MAX_RATE_LIMITER_DURATION_IN_SLOTS, MAX_REWARD_DURATION, MAX_SQRT_PRICE, MIN_CU_BUFFER, MIN_FEE_BPS, MIN_FEE_NUMERATOR, MIN_REWARD_DURATION, MIN_SQRT_PRICE, MathOverflowError, type MergePositionParams, NUM_REWARDS, ONE_Q64, type PermanentLockParams, type PodAlignedFeeMarketCapScheduler, type PodAlignedFeeRateLimiter, type PodAlignedFeeTimeScheduler, type PoolFeesParams, type PoolFeesStruct, type PoolState, PoolStatus, PositionDelegatePermission, type PositionState, type PrepareCustomizablePoolParams, type PreparePoolCreationParams, type PreparePoolCreationSingleSide, type PrepareTokenAccountParams, type PreparedPoolCreation, PriceRangeViolationError, type Quote2Result, type RefreshVestingParams, type RemoveAllLiquidityAndClosePositionParams, type RemoveAllLiquidityParams, type RemoveLiquidityParams, type RewardInfo, Rounding, SCALE_OFFSET, SPLIT_POSITION_DENOMINATOR, SameTokenMintsError, type SetupFeeClaimAccountsParams, type SplitFees, type SplitPosition2Params, type SplitPositionParams, type Swap2Params, type SwapAmount, type SwapAmountFromInput, type SwapAmountFromOutput, SwapDisabledError, SwapMode, type SwapParams, type SwapResult2, type TokenBadgeState, TradeDirection, type TransferHookState, type TxBuilder, U128_MAX, U16_MAX, U24_MAX, U64_MAX, type UpdateDelegatePermissionParams, type UpdateRewardDurationParams, type UpdateRewardFunderParams, type UserRewardInfo, type VestingState, type WithdrawDeadLiquidityRewardParams, type WithdrawIneligibleRewardParams, type WithdrawQuote, applySwapResult, bpsToFeeNumerator, calculateAtoBFromAmountInForCompoundingLiquidity, calculateAtoBFromAmountInForConcentratedLiquidity, calculateAtoBFromAmountOutForCompoundingLiquidity, calculateAtoBFromAmountOutForConcentratedLiquidity, calculateAtoBFromPartialAmountInForCompoundingLiquidity, calculateAtoBFromPartialAmountInForConcentratedLiquidity, calculateBtoAFromAmountInForCompoundingLiquidity, calculateBtoAFromAmountInForConcentratedLiquidity, calculateBtoAFromAmountOutForCompoundingLiquidity, calculateBtoAFromAmountOutForConcentratedLiquidity, calculateBtoAFromPartialAmountInForCompoundingLiquidity, calculateBtoAFromPartialAmountInForConcentratedLiquidity, calculateInitSqrtPrice, calculateTransferFeeExcludedAmount, calculateTransferFeeIncludedAmount, computeSqrtPriceStepBps, convertToFeeSchedulerSecondFactor, convertToLamports, convertToRateLimiterSecondFactor, cpAmmCoder, decimalToQ64, decodeFeeMarketCapSchedulerParams, decodeFeeRateLimiterParams, decodeFeeTimeSchedulerParams, decodePodAlignedFeeMarketCapScheduler, decodePodAlignedFeeRateLimiter, decodePodAlignedFeeTimeScheduler, deriveClaimFeeOperatorAddress, deriveConfigAddress, deriveCustomizablePoolAddress, deriveOperatorAddress, derivePoolAddress, derivePoolAuthority, derivePositionAddress, derivePositionNftAccount, deriveRewardVaultAddress, deriveTokenBadgeAddress, deriveTokenVaultAddress, encodeDelegatePermissions, encodeFeeMarketCapSchedulerParams, encodeFeeRateLimiterParams, encodeFeeTimeSchedulerParams, feeNumeratorToBps, fromDecimalToBN, getAllPositionNftAccountByOwner, getAllUserPositionNftAccount, getAmountAFromLiquidityDelta, getAmountAFromLiquidityDeltaForCompoundingLiquidity, getAmountAFromLiquidityDeltaForConcentratedLiquidity, getAmountBFromLiquidityDelta, getAmountBFromLiquidityDeltaForCompoundingLiquidity, getAmountBFromLiquidityDeltaForConcentratedLiquidity, getAmountWithSlippage, getAmountsForModifyForCompoundingLiquidity, getAmountsForModifyForConcentratedLiquidity, getAvailableVestingLiquidity, getBaseFeeHandlerFromBorshData, getBaseFeeHandlerFromPodAlignedData, getBaseFeeParams, getCheckedAmounts, getCurrentPoint, getDynamicFeeNumerator, getDynamicFeeParams, getEstimatedComputeUnitIxWithBuffer, getEstimatedComputeUnitUsageWithBuffer, getExcludedFeeAmount, getExcludedFeeAmountFromIncludedFeeAmount, getFeeInPeriod, getFeeMarketCapBaseFeeNumerator, getFeeMarketCapBaseFeeNumeratorByPeriod, getFeeMarketCapMinBaseFeeNumerator, getFeeMarketCapSchedulerParams, getFeeMode, getFeeNumeratorFromExcludedFeeAmount, getFeeNumeratorFromIncludedFeeAmount, getFeeNumeratorOnExponentialFeeScheduler, getFeeNumeratorOnLinearFeeScheduler, getFeeOnAmount, getFeeTimeBaseFeeNumerator, getFeeTimeBaseFeeNumeratorByPeriod, getFeeTimeMinBaseFeeNumerator, getFeeTimeSchedulerParams, getFirstKey, getIncludedFeeAmount, getInitialCompoundingPoolInformation, getInitialConcentratedLiquidityPoolInformation, getInitialPoolInformation, getLiquidityDeltaFromAmountA, getLiquidityDeltaFromAmountAForCompoundingLiquidity, getLiquidityDeltaFromAmountAForConcentratedLiquidity, getLiquidityDeltaFromAmountB, getLiquidityDeltaFromAmountBForCompoundingLiquidity, getLiquidityDeltaFromAmountBForConcentratedLiquidity, getLiquidityHandler, getMaxAmountWithSlippage, getMaxBaseFeeNumerator, getMaxFeeBps, getMaxFeeNumerator, getMaxIndex, getNextSqrtPriceForCompoundingLiquidity, getNextSqrtPriceFromAmountInARoundingUp, getNextSqrtPriceFromAmountInBRoundingDown, getNextSqrtPriceFromAmountOutARoundingUp, getNextSqrtPriceFromAmountOutBRoundingDown, getNextSqrtPriceFromInput, getNextSqrtPriceFromOutput, getOrCreateATAInstruction, getPoolCreationAmountAFromLiquidityDeltaForCompoundingLiquidity, getPoolCreationAmountBFromLiquidityDeltaForCompoundingLiquidity, getPoolCreationLiquidityDeltaFromAmountAForCompoundingLiquidity, getPoolCreationLiquidityDeltaFromAmountBForCompoundingLiquidity, getPriceChange, getPriceFromSqrtPrice, getPriceImpact, getRateLimiterMaxBaseFeeNumerator, getRateLimiterMinBaseFeeNumerator, getRateLimiterParams, getReservesAmountForCompoundingLiquidity, getReservesAmountForConcentratedLiquidity, getRewardInfo, getSecondKey, getSimulationComputeUnits, getSqrtPriceFromAmountsForCompoundingLiquidity, getSqrtPriceFromPrice, getSwapResultFromExactInput, getSwapResultFromExactOutput, getSwapResultFromPartialInput, getTokenDecimals, getTokenProgram, getTotalFeeNumerator, getTotalLockedLiquidity, getTotalTradingFeeFromExcludedFeeAmount, getTotalTradingFeeFromIncludedFeeAmount, getUnClaimLpFee, getUserRewardPending, hasTransferHookExtension, isDynamicFeeEnabled, isNonZeroRateLimiter, isRateLimiterApplied, isSwapEnabled, isVestingComplete, isZeroRateLimiter, mulDiv, offsetBasedFilter, parseFeeSchedulerSecondFactor, parseRateLimiterSecondFactor, positionByPoolFilter, pow, q64ToDecimal, splitFees, sqrt, swapQuoteExactInput, swapQuoteExactOutput, swapQuotePartialInput, toNumerator, unwrapSOLInstruction, validateActivationType, validateAddLiquidityParams, validateCollectFeeMode, validateCompoundingFee, validateCreatePoolParams, validateCustomizablePoolParams, validateDynamicFee, validateFeeFraction, validateFeeMarketCapBaseFeeIsStatic, validateFeeMarketCapScheduler, validateFeeRateLimiter, validateFeeRateLimiterBaseFeeIsStatic, validateFeeTimeScheduler, validateFeeTimeSchedulerBaseFeeIsStatic, validateInitialSqrtPrice, validateLockPositionParams, validateNoTransferHook, validatePoolFees, validatePriceRange, validateRemoveLiquidityParams, validateRewardDuration, validateRewardIndex, validateSplitPosition2Params, validateSplitPositionParams, validateTokenMints, vestingByPositionFilter, wrapSOLInstruction };
|