@jup-ag/lend 0.0.101 → 0.0.103
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/borrow/index.d.mts +424 -35
- package/dist/borrow/index.d.ts +424 -35
- package/dist/borrow/index.mjs +99 -2
- package/dist/earn/index.d.mts +1011 -1323
- package/dist/earn/index.d.ts +1011 -1323
- package/dist/earn/index.mjs +1 -1
- package/dist/flashloan/index.mjs +1 -1
- package/dist/index.mjs +5 -5
- package/dist/merkle-distributor/index.mjs +1 -1
- package/dist/shared/{lend.qfqiaCtm.mjs → lend.BWTZqUUK.mjs} +496 -35
- package/dist/shared/{lend.CIepsiAe.mjs → lend.Bpqe1Iia.mjs} +319 -15
- package/dist/shared/{lend.BNgjawDo.mjs → lend.C7OmhOS3.mjs} +54 -0
- package/dist/shared/{lend.hlqlrp9r.mjs → lend.Cr2l14_0.mjs} +82 -2
- package/package.json +1 -1
|
@@ -114,6 +114,10 @@ const instructions = [
|
|
|
114
114
|
{
|
|
115
115
|
kind: "arg",
|
|
116
116
|
path: "position_id"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
kind: "arg",
|
|
120
|
+
path: "distributor_id"
|
|
117
121
|
}
|
|
118
122
|
]
|
|
119
123
|
}
|
|
@@ -257,6 +261,10 @@ const instructions = [
|
|
|
257
261
|
name: "position_id",
|
|
258
262
|
type: "pubkey"
|
|
259
263
|
},
|
|
264
|
+
{
|
|
265
|
+
name: "distributor_id",
|
|
266
|
+
type: "u32"
|
|
267
|
+
},
|
|
260
268
|
{
|
|
261
269
|
name: "cycle",
|
|
262
270
|
type: "u32"
|
|
@@ -636,6 +644,34 @@ const instructions = [
|
|
|
636
644
|
}
|
|
637
645
|
]
|
|
638
646
|
},
|
|
647
|
+
{
|
|
648
|
+
name: "pause",
|
|
649
|
+
discriminator: [
|
|
650
|
+
211,
|
|
651
|
+
22,
|
|
652
|
+
221,
|
|
653
|
+
251,
|
|
654
|
+
74,
|
|
655
|
+
121,
|
|
656
|
+
193,
|
|
657
|
+
47
|
|
658
|
+
],
|
|
659
|
+
accounts: [
|
|
660
|
+
{
|
|
661
|
+
name: "authority",
|
|
662
|
+
signer: true
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
name: "merkle_admin"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
name: "merkle_distributor",
|
|
669
|
+
writable: true
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
args: [
|
|
673
|
+
]
|
|
674
|
+
},
|
|
639
675
|
{
|
|
640
676
|
name: "propose_root",
|
|
641
677
|
discriminator: [
|
|
@@ -688,6 +724,95 @@ const instructions = [
|
|
|
688
724
|
}
|
|
689
725
|
]
|
|
690
726
|
},
|
|
727
|
+
{
|
|
728
|
+
name: "set_start_block_of_next_cycle",
|
|
729
|
+
discriminator: [
|
|
730
|
+
168,
|
|
731
|
+
83,
|
|
732
|
+
36,
|
|
733
|
+
171,
|
|
734
|
+
34,
|
|
735
|
+
95,
|
|
736
|
+
238,
|
|
737
|
+
81
|
|
738
|
+
],
|
|
739
|
+
accounts: [
|
|
740
|
+
{
|
|
741
|
+
name: "authority",
|
|
742
|
+
signer: true
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
name: "merkle_admin"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
name: "merkle_distributor",
|
|
749
|
+
writable: true
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
args: [
|
|
753
|
+
{
|
|
754
|
+
name: "start_block_of_next_cycle",
|
|
755
|
+
type: "u32"
|
|
756
|
+
}
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
name: "unpause",
|
|
761
|
+
discriminator: [
|
|
762
|
+
169,
|
|
763
|
+
144,
|
|
764
|
+
4,
|
|
765
|
+
38,
|
|
766
|
+
10,
|
|
767
|
+
141,
|
|
768
|
+
188,
|
|
769
|
+
255
|
|
770
|
+
],
|
|
771
|
+
accounts: [
|
|
772
|
+
{
|
|
773
|
+
name: "authority",
|
|
774
|
+
signer: true
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
name: "merkle_admin"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
name: "merkle_distributor",
|
|
781
|
+
writable: true
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
args: [
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
name: "update_authority",
|
|
789
|
+
discriminator: [
|
|
790
|
+
32,
|
|
791
|
+
46,
|
|
792
|
+
64,
|
|
793
|
+
28,
|
|
794
|
+
149,
|
|
795
|
+
75,
|
|
796
|
+
243,
|
|
797
|
+
88
|
|
798
|
+
],
|
|
799
|
+
accounts: [
|
|
800
|
+
{
|
|
801
|
+
name: "authority",
|
|
802
|
+
signer: true
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
name: "merkle_admin",
|
|
806
|
+
writable: true
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
args: [
|
|
810
|
+
{
|
|
811
|
+
name: "new_authority",
|
|
812
|
+
type: "pubkey"
|
|
813
|
+
}
|
|
814
|
+
]
|
|
815
|
+
},
|
|
691
816
|
{
|
|
692
817
|
name: "update_auths",
|
|
693
818
|
discriminator: [
|
|
@@ -723,6 +848,78 @@ const instructions = [
|
|
|
723
848
|
}
|
|
724
849
|
]
|
|
725
850
|
},
|
|
851
|
+
{
|
|
852
|
+
name: "update_distribution_config",
|
|
853
|
+
discriminator: [
|
|
854
|
+
162,
|
|
855
|
+
95,
|
|
856
|
+
24,
|
|
857
|
+
240,
|
|
858
|
+
144,
|
|
859
|
+
247,
|
|
860
|
+
117,
|
|
861
|
+
22
|
|
862
|
+
],
|
|
863
|
+
accounts: [
|
|
864
|
+
{
|
|
865
|
+
name: "authority",
|
|
866
|
+
signer: true
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
name: "merkle_admin"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: "merkle_distributor",
|
|
873
|
+
writable: true
|
|
874
|
+
}
|
|
875
|
+
],
|
|
876
|
+
args: [
|
|
877
|
+
{
|
|
878
|
+
name: "pull_from_distributor",
|
|
879
|
+
type: "bool"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
name: "blocks_per_distribution",
|
|
883
|
+
type: "u32"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
name: "cycles_per_distribution",
|
|
887
|
+
type: "u32"
|
|
888
|
+
}
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
name: "update_rewards_distributor",
|
|
893
|
+
discriminator: [
|
|
894
|
+
250,
|
|
895
|
+
201,
|
|
896
|
+
40,
|
|
897
|
+
213,
|
|
898
|
+
158,
|
|
899
|
+
61,
|
|
900
|
+
253,
|
|
901
|
+
147
|
|
902
|
+
],
|
|
903
|
+
accounts: [
|
|
904
|
+
{
|
|
905
|
+
name: "authority",
|
|
906
|
+
signer: true
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
name: "merkle_admin"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
name: "merkle_distributor",
|
|
913
|
+
writable: true
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
args: [
|
|
917
|
+
{
|
|
918
|
+
name: "distributor",
|
|
919
|
+
type: "pubkey"
|
|
920
|
+
}
|
|
921
|
+
]
|
|
922
|
+
},
|
|
726
923
|
{
|
|
727
924
|
name: "update_role",
|
|
728
925
|
discriminator: [
|
|
@@ -864,16 +1061,16 @@ const events = [
|
|
|
864
1061
|
]
|
|
865
1062
|
},
|
|
866
1063
|
{
|
|
867
|
-
name: "
|
|
1064
|
+
name: "LogRewardsDistributorUpdated",
|
|
868
1065
|
discriminator: [
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
1066
|
+
222,
|
|
1067
|
+
161,
|
|
1068
|
+
225,
|
|
1069
|
+
24,
|
|
1070
|
+
234,
|
|
1071
|
+
122,
|
|
1072
|
+
115,
|
|
1073
|
+
38
|
|
877
1074
|
]
|
|
878
1075
|
},
|
|
879
1076
|
{
|
|
@@ -915,6 +1112,19 @@ const events = [
|
|
|
915
1112
|
226
|
|
916
1113
|
]
|
|
917
1114
|
},
|
|
1115
|
+
{
|
|
1116
|
+
name: "LogUpdateAuthority",
|
|
1117
|
+
discriminator: [
|
|
1118
|
+
150,
|
|
1119
|
+
152,
|
|
1120
|
+
157,
|
|
1121
|
+
143,
|
|
1122
|
+
6,
|
|
1123
|
+
135,
|
|
1124
|
+
193,
|
|
1125
|
+
101
|
|
1126
|
+
]
|
|
1127
|
+
},
|
|
918
1128
|
{
|
|
919
1129
|
name: "LogUpdateAuths",
|
|
920
1130
|
discriminator: [
|
|
@@ -940,6 +1150,32 @@ const events = [
|
|
|
940
1150
|
226,
|
|
941
1151
|
166
|
|
942
1152
|
]
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
name: "Paused",
|
|
1156
|
+
discriminator: [
|
|
1157
|
+
172,
|
|
1158
|
+
248,
|
|
1159
|
+
5,
|
|
1160
|
+
253,
|
|
1161
|
+
49,
|
|
1162
|
+
255,
|
|
1163
|
+
255,
|
|
1164
|
+
232
|
|
1165
|
+
]
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
name: "Unpaused",
|
|
1169
|
+
discriminator: [
|
|
1170
|
+
156,
|
|
1171
|
+
150,
|
|
1172
|
+
47,
|
|
1173
|
+
174,
|
|
1174
|
+
120,
|
|
1175
|
+
216,
|
|
1176
|
+
93,
|
|
1177
|
+
117
|
|
1178
|
+
]
|
|
943
1179
|
}
|
|
944
1180
|
];
|
|
945
1181
|
const errors = [
|
|
@@ -1006,6 +1242,10 @@ const types = [
|
|
|
1006
1242
|
type: {
|
|
1007
1243
|
kind: "struct",
|
|
1008
1244
|
fields: [
|
|
1245
|
+
{
|
|
1246
|
+
name: "distributor_id",
|
|
1247
|
+
type: "u32"
|
|
1248
|
+
},
|
|
1009
1249
|
{
|
|
1010
1250
|
name: "recipient",
|
|
1011
1251
|
type: "pubkey"
|
|
@@ -1014,6 +1254,10 @@ const types = [
|
|
|
1014
1254
|
name: "position_id",
|
|
1015
1255
|
type: "pubkey"
|
|
1016
1256
|
},
|
|
1257
|
+
{
|
|
1258
|
+
name: "position_type",
|
|
1259
|
+
type: "u8"
|
|
1260
|
+
},
|
|
1017
1261
|
{
|
|
1018
1262
|
name: "claimed_amount",
|
|
1019
1263
|
type: "u64"
|
|
@@ -1058,6 +1302,10 @@ const types = [
|
|
|
1058
1302
|
type: {
|
|
1059
1303
|
kind: "struct",
|
|
1060
1304
|
fields: [
|
|
1305
|
+
{
|
|
1306
|
+
name: "distributor_id",
|
|
1307
|
+
type: "u32"
|
|
1308
|
+
},
|
|
1061
1309
|
{
|
|
1062
1310
|
name: "user",
|
|
1063
1311
|
type: "pubkey"
|
|
@@ -1094,6 +1342,10 @@ const types = [
|
|
|
1094
1342
|
type: {
|
|
1095
1343
|
kind: "struct",
|
|
1096
1344
|
fields: [
|
|
1345
|
+
{
|
|
1346
|
+
name: "distributor_id",
|
|
1347
|
+
type: "u32"
|
|
1348
|
+
},
|
|
1097
1349
|
{
|
|
1098
1350
|
name: "epoch",
|
|
1099
1351
|
type: "u32"
|
|
@@ -1130,6 +1382,10 @@ const types = [
|
|
|
1130
1382
|
type: {
|
|
1131
1383
|
kind: "struct",
|
|
1132
1384
|
fields: [
|
|
1385
|
+
{
|
|
1386
|
+
name: "distributor_id",
|
|
1387
|
+
type: "u32"
|
|
1388
|
+
},
|
|
1133
1389
|
{
|
|
1134
1390
|
name: "pull_from_distributor",
|
|
1135
1391
|
type: "bool"
|
|
@@ -1166,17 +1422,17 @@ const types = [
|
|
|
1166
1422
|
}
|
|
1167
1423
|
},
|
|
1168
1424
|
{
|
|
1169
|
-
name: "
|
|
1425
|
+
name: "LogRewardsDistributorUpdated",
|
|
1170
1426
|
type: {
|
|
1171
1427
|
kind: "struct",
|
|
1172
1428
|
fields: [
|
|
1173
1429
|
{
|
|
1174
|
-
name: "
|
|
1175
|
-
type: "
|
|
1430
|
+
name: "distributor_id",
|
|
1431
|
+
type: "u32"
|
|
1176
1432
|
},
|
|
1177
1433
|
{
|
|
1178
|
-
name: "
|
|
1179
|
-
type: "
|
|
1434
|
+
name: "distributor",
|
|
1435
|
+
type: "pubkey"
|
|
1180
1436
|
}
|
|
1181
1437
|
]
|
|
1182
1438
|
}
|
|
@@ -1186,6 +1442,10 @@ const types = [
|
|
|
1186
1442
|
type: {
|
|
1187
1443
|
kind: "struct",
|
|
1188
1444
|
fields: [
|
|
1445
|
+
{
|
|
1446
|
+
name: "distributor_id",
|
|
1447
|
+
type: "u32"
|
|
1448
|
+
},
|
|
1189
1449
|
{
|
|
1190
1450
|
name: "cycle",
|
|
1191
1451
|
type: "u32"
|
|
@@ -1215,6 +1475,10 @@ const types = [
|
|
|
1215
1475
|
type: {
|
|
1216
1476
|
kind: "struct",
|
|
1217
1477
|
fields: [
|
|
1478
|
+
{
|
|
1479
|
+
name: "distributor_id",
|
|
1480
|
+
type: "u32"
|
|
1481
|
+
},
|
|
1218
1482
|
{
|
|
1219
1483
|
name: "cycle",
|
|
1220
1484
|
type: "u32"
|
|
@@ -1245,12 +1509,28 @@ const types = [
|
|
|
1245
1509
|
kind: "struct",
|
|
1246
1510
|
fields: [
|
|
1247
1511
|
{
|
|
1248
|
-
name: "
|
|
1512
|
+
name: "distributor_id",
|
|
1513
|
+
type: "u32"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
name: "start_block_of_next_cycle",
|
|
1249
1517
|
type: "u32"
|
|
1250
1518
|
}
|
|
1251
1519
|
]
|
|
1252
1520
|
}
|
|
1253
1521
|
},
|
|
1522
|
+
{
|
|
1523
|
+
name: "LogUpdateAuthority",
|
|
1524
|
+
type: {
|
|
1525
|
+
kind: "struct",
|
|
1526
|
+
fields: [
|
|
1527
|
+
{
|
|
1528
|
+
name: "new_authority",
|
|
1529
|
+
type: "pubkey"
|
|
1530
|
+
}
|
|
1531
|
+
]
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1254
1534
|
{
|
|
1255
1535
|
name: "LogUpdateAuths",
|
|
1256
1536
|
type: {
|
|
@@ -1445,6 +1725,18 @@ const types = [
|
|
|
1445
1725
|
]
|
|
1446
1726
|
}
|
|
1447
1727
|
},
|
|
1728
|
+
{
|
|
1729
|
+
name: "Paused",
|
|
1730
|
+
type: {
|
|
1731
|
+
kind: "struct",
|
|
1732
|
+
fields: [
|
|
1733
|
+
{
|
|
1734
|
+
name: "distributor_id",
|
|
1735
|
+
type: "u32"
|
|
1736
|
+
}
|
|
1737
|
+
]
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1448
1740
|
{
|
|
1449
1741
|
name: "RoleAccount",
|
|
1450
1742
|
type: {
|
|
@@ -1481,6 +1773,18 @@ const types = [
|
|
|
1481
1773
|
}
|
|
1482
1774
|
]
|
|
1483
1775
|
}
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
name: "Unpaused",
|
|
1779
|
+
type: {
|
|
1780
|
+
kind: "struct",
|
|
1781
|
+
fields: [
|
|
1782
|
+
{
|
|
1783
|
+
name: "distributor_id",
|
|
1784
|
+
type: "u32"
|
|
1785
|
+
}
|
|
1786
|
+
]
|
|
1787
|
+
}
|
|
1484
1788
|
}
|
|
1485
1789
|
];
|
|
1486
1790
|
const merkleDistributor$1 = {
|
|
@@ -1706,6 +1706,35 @@ const instructions = [
|
|
|
1706
1706
|
}
|
|
1707
1707
|
]
|
|
1708
1708
|
},
|
|
1709
|
+
{
|
|
1710
|
+
name: "update_authority",
|
|
1711
|
+
discriminator: [
|
|
1712
|
+
32,
|
|
1713
|
+
46,
|
|
1714
|
+
64,
|
|
1715
|
+
28,
|
|
1716
|
+
149,
|
|
1717
|
+
75,
|
|
1718
|
+
243,
|
|
1719
|
+
88
|
|
1720
|
+
],
|
|
1721
|
+
accounts: [
|
|
1722
|
+
{
|
|
1723
|
+
name: "signer",
|
|
1724
|
+
signer: true
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
name: "lending_admin",
|
|
1728
|
+
writable: true
|
|
1729
|
+
}
|
|
1730
|
+
],
|
|
1731
|
+
args: [
|
|
1732
|
+
{
|
|
1733
|
+
name: "new_authority",
|
|
1734
|
+
type: "pubkey"
|
|
1735
|
+
}
|
|
1736
|
+
]
|
|
1737
|
+
},
|
|
1709
1738
|
{
|
|
1710
1739
|
name: "update_auths",
|
|
1711
1740
|
discriminator: [
|
|
@@ -2321,6 +2350,19 @@ const events = [
|
|
|
2321
2350
|
9
|
|
2322
2351
|
]
|
|
2323
2352
|
},
|
|
2353
|
+
{
|
|
2354
|
+
name: "LogUpdateAuthority",
|
|
2355
|
+
discriminator: [
|
|
2356
|
+
150,
|
|
2357
|
+
152,
|
|
2358
|
+
157,
|
|
2359
|
+
143,
|
|
2360
|
+
6,
|
|
2361
|
+
135,
|
|
2362
|
+
193,
|
|
2363
|
+
101
|
|
2364
|
+
]
|
|
2365
|
+
},
|
|
2324
2366
|
{
|
|
2325
2367
|
name: "LogUpdateAuths",
|
|
2326
2368
|
discriminator: [
|
|
@@ -2670,6 +2712,18 @@ const types = [
|
|
|
2670
2712
|
]
|
|
2671
2713
|
}
|
|
2672
2714
|
},
|
|
2715
|
+
{
|
|
2716
|
+
name: "LogUpdateAuthority",
|
|
2717
|
+
type: {
|
|
2718
|
+
kind: "struct",
|
|
2719
|
+
fields: [
|
|
2720
|
+
{
|
|
2721
|
+
name: "new_authority",
|
|
2722
|
+
type: "pubkey"
|
|
2723
|
+
}
|
|
2724
|
+
]
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2673
2727
|
{
|
|
2674
2728
|
name: "LogUpdateAuths",
|
|
2675
2729
|
type: {
|
|
@@ -135,7 +135,10 @@ const instructions = [
|
|
|
135
135
|
name: "liquidity"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
|
-
name: "liquidity_program"
|
|
138
|
+
name: "liquidity_program",
|
|
139
|
+
relations: [
|
|
140
|
+
"flashloan_admin"
|
|
141
|
+
]
|
|
139
142
|
},
|
|
140
143
|
{
|
|
141
144
|
name: "token_program"
|
|
@@ -261,7 +264,10 @@ const instructions = [
|
|
|
261
264
|
name: "liquidity"
|
|
262
265
|
},
|
|
263
266
|
{
|
|
264
|
-
name: "liquidity_program"
|
|
267
|
+
name: "liquidity_program",
|
|
268
|
+
relations: [
|
|
269
|
+
"flashloan_admin"
|
|
270
|
+
]
|
|
265
271
|
},
|
|
266
272
|
{
|
|
267
273
|
name: "token_program"
|
|
@@ -405,6 +411,35 @@ const instructions = [
|
|
|
405
411
|
type: "u16"
|
|
406
412
|
}
|
|
407
413
|
]
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
name: "update_authority",
|
|
417
|
+
discriminator: [
|
|
418
|
+
32,
|
|
419
|
+
46,
|
|
420
|
+
64,
|
|
421
|
+
28,
|
|
422
|
+
149,
|
|
423
|
+
75,
|
|
424
|
+
243,
|
|
425
|
+
88
|
|
426
|
+
],
|
|
427
|
+
accounts: [
|
|
428
|
+
{
|
|
429
|
+
name: "authority",
|
|
430
|
+
signer: true
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
name: "flashloan_admin",
|
|
434
|
+
writable: true
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
args: [
|
|
438
|
+
{
|
|
439
|
+
name: "new_authority",
|
|
440
|
+
type: "pubkey"
|
|
441
|
+
}
|
|
442
|
+
]
|
|
408
443
|
}
|
|
409
444
|
];
|
|
410
445
|
const accounts = [
|
|
@@ -436,6 +471,19 @@ const events = [
|
|
|
436
471
|
102
|
|
437
472
|
]
|
|
438
473
|
},
|
|
474
|
+
{
|
|
475
|
+
name: "LogUpdateAuthority",
|
|
476
|
+
discriminator: [
|
|
477
|
+
150,
|
|
478
|
+
152,
|
|
479
|
+
157,
|
|
480
|
+
143,
|
|
481
|
+
6,
|
|
482
|
+
135,
|
|
483
|
+
193,
|
|
484
|
+
101
|
|
485
|
+
]
|
|
486
|
+
},
|
|
439
487
|
{
|
|
440
488
|
name: "PauseProtocol",
|
|
441
489
|
discriminator: [
|
|
@@ -513,6 +561,26 @@ const errors = [
|
|
|
513
561
|
code: 6009,
|
|
514
562
|
name: "FlashloanPaybackNotFound",
|
|
515
563
|
msg: "FLASHLOAN_PAYBACK_NOT_FOUND"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
code: 6010,
|
|
567
|
+
name: "FlashloanInvalidInstruction",
|
|
568
|
+
msg: "FLASHLOAN_INVALID_INSTRUCTION"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
code: 6011,
|
|
572
|
+
name: "FlashloanPaused",
|
|
573
|
+
msg: "FLASHLOAN_PAUSED"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
code: 6012,
|
|
577
|
+
name: "FlashloanCPICallNotAllowed",
|
|
578
|
+
msg: "FLASHLOAN_CPICALL_NOT_ALLOWED"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
code: 6013,
|
|
582
|
+
name: "FlashloanMultiplePaybacksFound",
|
|
583
|
+
msg: "FLASHLOAN_MULTIPLE_PAYBACKS_FOUND"
|
|
516
584
|
}
|
|
517
585
|
];
|
|
518
586
|
const types = [
|
|
@@ -564,6 +632,18 @@ const types = [
|
|
|
564
632
|
]
|
|
565
633
|
}
|
|
566
634
|
},
|
|
635
|
+
{
|
|
636
|
+
name: "LogUpdateAuthority",
|
|
637
|
+
type: {
|
|
638
|
+
kind: "struct",
|
|
639
|
+
fields: [
|
|
640
|
+
{
|
|
641
|
+
name: "new_authority",
|
|
642
|
+
type: "pubkey"
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
}
|
|
646
|
+
},
|
|
567
647
|
{
|
|
568
648
|
name: "PauseProtocol",
|
|
569
649
|
type: {
|