@defisaver/positions-sdk 0.0.113 → 0.0.114
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/cjs/config/contracts.d.ts +276 -2
- package/cjs/config/contracts.js +27 -11
- package/cjs/helpers/aaveHelpers/index.d.ts +15 -0
- package/cjs/helpers/aaveHelpers/index.js +58 -1
- package/cjs/types/contracts/generated/AaveLoanInfoV2.d.ts +103 -0
- package/esm/config/contracts.d.ts +276 -2
- package/esm/config/contracts.js +27 -11
- package/esm/helpers/aaveHelpers/index.d.ts +15 -0
- package/esm/helpers/aaveHelpers/index.js +57 -2
- package/esm/types/contracts/generated/AaveLoanInfoV2.d.ts +103 -0
- package/package.json +1 -1
- package/src/config/contracts.js +27 -11
- package/src/helpers/aaveHelpers/index.ts +58 -2
- package/src/types/contracts/generated/AaveLoanInfoV2.ts +183 -0
|
@@ -67,6 +67,72 @@ export namespace AaveV3View {
|
|
|
67
67
|
address: string;
|
|
68
68
|
createdBlock: number;
|
|
69
69
|
oldVersions: {
|
|
70
|
+
"20218382": {
|
|
71
|
+
abi: ({
|
|
72
|
+
inputs: ({
|
|
73
|
+
internalType: string;
|
|
74
|
+
name: string;
|
|
75
|
+
type: string;
|
|
76
|
+
components?: undefined;
|
|
77
|
+
} | {
|
|
78
|
+
components: {
|
|
79
|
+
internalType: string;
|
|
80
|
+
name: string;
|
|
81
|
+
type: string;
|
|
82
|
+
}[];
|
|
83
|
+
internalType: string;
|
|
84
|
+
name: string;
|
|
85
|
+
type: string;
|
|
86
|
+
})[];
|
|
87
|
+
name: string;
|
|
88
|
+
outputs: {
|
|
89
|
+
components: {
|
|
90
|
+
internalType: string;
|
|
91
|
+
name: string;
|
|
92
|
+
type: string;
|
|
93
|
+
}[];
|
|
94
|
+
internalType: string;
|
|
95
|
+
name: string;
|
|
96
|
+
type: string;
|
|
97
|
+
}[];
|
|
98
|
+
stateMutability: string;
|
|
99
|
+
type: string;
|
|
100
|
+
} | {
|
|
101
|
+
inputs: {
|
|
102
|
+
internalType: string;
|
|
103
|
+
name: string;
|
|
104
|
+
type: string;
|
|
105
|
+
}[];
|
|
106
|
+
name: string;
|
|
107
|
+
outputs: {
|
|
108
|
+
internalType: string;
|
|
109
|
+
name: string;
|
|
110
|
+
type: string;
|
|
111
|
+
}[];
|
|
112
|
+
stateMutability: string;
|
|
113
|
+
type: string;
|
|
114
|
+
} | {
|
|
115
|
+
inputs: {
|
|
116
|
+
components: {
|
|
117
|
+
internalType: string;
|
|
118
|
+
name: string;
|
|
119
|
+
type: string;
|
|
120
|
+
}[];
|
|
121
|
+
internalType: string;
|
|
122
|
+
name: string;
|
|
123
|
+
type: string;
|
|
124
|
+
}[];
|
|
125
|
+
name: string;
|
|
126
|
+
outputs: {
|
|
127
|
+
internalType: string;
|
|
128
|
+
name: string;
|
|
129
|
+
type: string;
|
|
130
|
+
}[];
|
|
131
|
+
stateMutability: string;
|
|
132
|
+
type: string;
|
|
133
|
+
})[];
|
|
134
|
+
address: string;
|
|
135
|
+
};
|
|
70
136
|
"17870436": {
|
|
71
137
|
abi: ({
|
|
72
138
|
inputs: {
|
|
@@ -175,6 +241,72 @@ export namespace AaveV3View {
|
|
|
175
241
|
address: string;
|
|
176
242
|
createdBlock: number;
|
|
177
243
|
oldVersions: {
|
|
244
|
+
"122158666": {
|
|
245
|
+
abi: ({
|
|
246
|
+
inputs: ({
|
|
247
|
+
internalType: string;
|
|
248
|
+
name: string;
|
|
249
|
+
type: string;
|
|
250
|
+
components?: undefined;
|
|
251
|
+
} | {
|
|
252
|
+
components: {
|
|
253
|
+
internalType: string;
|
|
254
|
+
name: string;
|
|
255
|
+
type: string;
|
|
256
|
+
}[];
|
|
257
|
+
internalType: string;
|
|
258
|
+
name: string;
|
|
259
|
+
type: string;
|
|
260
|
+
})[];
|
|
261
|
+
name: string;
|
|
262
|
+
outputs: {
|
|
263
|
+
components: {
|
|
264
|
+
internalType: string;
|
|
265
|
+
name: string;
|
|
266
|
+
type: string;
|
|
267
|
+
}[];
|
|
268
|
+
internalType: string;
|
|
269
|
+
name: string;
|
|
270
|
+
type: string;
|
|
271
|
+
}[];
|
|
272
|
+
stateMutability: string;
|
|
273
|
+
type: string;
|
|
274
|
+
} | {
|
|
275
|
+
inputs: {
|
|
276
|
+
internalType: string;
|
|
277
|
+
name: string;
|
|
278
|
+
type: string;
|
|
279
|
+
}[];
|
|
280
|
+
name: string;
|
|
281
|
+
outputs: {
|
|
282
|
+
internalType: string;
|
|
283
|
+
name: string;
|
|
284
|
+
type: string;
|
|
285
|
+
}[];
|
|
286
|
+
stateMutability: string;
|
|
287
|
+
type: string;
|
|
288
|
+
} | {
|
|
289
|
+
inputs: {
|
|
290
|
+
components: {
|
|
291
|
+
internalType: string;
|
|
292
|
+
name: string;
|
|
293
|
+
type: string;
|
|
294
|
+
}[];
|
|
295
|
+
internalType: string;
|
|
296
|
+
name: string;
|
|
297
|
+
type: string;
|
|
298
|
+
}[];
|
|
299
|
+
name: string;
|
|
300
|
+
outputs: {
|
|
301
|
+
internalType: string;
|
|
302
|
+
name: string;
|
|
303
|
+
type: string;
|
|
304
|
+
}[];
|
|
305
|
+
stateMutability: string;
|
|
306
|
+
type: string;
|
|
307
|
+
})[];
|
|
308
|
+
address: string;
|
|
309
|
+
};
|
|
178
310
|
"107950604": {
|
|
179
311
|
address: string;
|
|
180
312
|
abi: ({
|
|
@@ -421,6 +553,72 @@ export namespace AaveV3View {
|
|
|
421
553
|
address: string;
|
|
422
554
|
createdBlock: number;
|
|
423
555
|
oldVersions: {
|
|
556
|
+
"227949246": {
|
|
557
|
+
abi: ({
|
|
558
|
+
inputs: ({
|
|
559
|
+
internalType: string;
|
|
560
|
+
name: string;
|
|
561
|
+
type: string;
|
|
562
|
+
components?: undefined;
|
|
563
|
+
} | {
|
|
564
|
+
components: {
|
|
565
|
+
internalType: string;
|
|
566
|
+
name: string;
|
|
567
|
+
type: string;
|
|
568
|
+
}[];
|
|
569
|
+
internalType: string;
|
|
570
|
+
name: string;
|
|
571
|
+
type: string;
|
|
572
|
+
})[];
|
|
573
|
+
name: string;
|
|
574
|
+
outputs: {
|
|
575
|
+
components: {
|
|
576
|
+
internalType: string;
|
|
577
|
+
name: string;
|
|
578
|
+
type: string;
|
|
579
|
+
}[];
|
|
580
|
+
internalType: string;
|
|
581
|
+
name: string;
|
|
582
|
+
type: string;
|
|
583
|
+
}[];
|
|
584
|
+
stateMutability: string;
|
|
585
|
+
type: string;
|
|
586
|
+
} | {
|
|
587
|
+
inputs: {
|
|
588
|
+
internalType: string;
|
|
589
|
+
name: string;
|
|
590
|
+
type: string;
|
|
591
|
+
}[];
|
|
592
|
+
name: string;
|
|
593
|
+
outputs: {
|
|
594
|
+
internalType: string;
|
|
595
|
+
name: string;
|
|
596
|
+
type: string;
|
|
597
|
+
}[];
|
|
598
|
+
stateMutability: string;
|
|
599
|
+
type: string;
|
|
600
|
+
} | {
|
|
601
|
+
inputs: {
|
|
602
|
+
components: {
|
|
603
|
+
internalType: string;
|
|
604
|
+
name: string;
|
|
605
|
+
type: string;
|
|
606
|
+
}[];
|
|
607
|
+
internalType: string;
|
|
608
|
+
name: string;
|
|
609
|
+
type: string;
|
|
610
|
+
}[];
|
|
611
|
+
name: string;
|
|
612
|
+
outputs: {
|
|
613
|
+
internalType: string;
|
|
614
|
+
name: string;
|
|
615
|
+
type: string;
|
|
616
|
+
}[];
|
|
617
|
+
stateMutability: string;
|
|
618
|
+
type: string;
|
|
619
|
+
})[];
|
|
620
|
+
address: string;
|
|
621
|
+
};
|
|
424
622
|
"119382184": {
|
|
425
623
|
address: string;
|
|
426
624
|
abi: ({
|
|
@@ -644,6 +842,72 @@ export namespace AaveV3View {
|
|
|
644
842
|
address: string;
|
|
645
843
|
createdBlock: number;
|
|
646
844
|
oldVersions: {
|
|
845
|
+
"16564098": {
|
|
846
|
+
abi: ({
|
|
847
|
+
inputs: ({
|
|
848
|
+
internalType: string;
|
|
849
|
+
name: string;
|
|
850
|
+
type: string;
|
|
851
|
+
components?: undefined;
|
|
852
|
+
} | {
|
|
853
|
+
components: {
|
|
854
|
+
internalType: string;
|
|
855
|
+
name: string;
|
|
856
|
+
type: string;
|
|
857
|
+
}[];
|
|
858
|
+
internalType: string;
|
|
859
|
+
name: string;
|
|
860
|
+
type: string;
|
|
861
|
+
})[];
|
|
862
|
+
name: string;
|
|
863
|
+
outputs: {
|
|
864
|
+
components: {
|
|
865
|
+
internalType: string;
|
|
866
|
+
name: string;
|
|
867
|
+
type: string;
|
|
868
|
+
}[];
|
|
869
|
+
internalType: string;
|
|
870
|
+
name: string;
|
|
871
|
+
type: string;
|
|
872
|
+
}[];
|
|
873
|
+
stateMutability: string;
|
|
874
|
+
type: string;
|
|
875
|
+
} | {
|
|
876
|
+
inputs: {
|
|
877
|
+
internalType: string;
|
|
878
|
+
name: string;
|
|
879
|
+
type: string;
|
|
880
|
+
}[];
|
|
881
|
+
name: string;
|
|
882
|
+
outputs: {
|
|
883
|
+
internalType: string;
|
|
884
|
+
name: string;
|
|
885
|
+
type: string;
|
|
886
|
+
}[];
|
|
887
|
+
stateMutability: string;
|
|
888
|
+
type: string;
|
|
889
|
+
} | {
|
|
890
|
+
inputs: {
|
|
891
|
+
components: {
|
|
892
|
+
internalType: string;
|
|
893
|
+
name: string;
|
|
894
|
+
type: string;
|
|
895
|
+
}[];
|
|
896
|
+
internalType: string;
|
|
897
|
+
name: string;
|
|
898
|
+
type: string;
|
|
899
|
+
}[];
|
|
900
|
+
name: string;
|
|
901
|
+
outputs: {
|
|
902
|
+
internalType: string;
|
|
903
|
+
name: string;
|
|
904
|
+
type: string;
|
|
905
|
+
}[];
|
|
906
|
+
stateMutability: string;
|
|
907
|
+
type: string;
|
|
908
|
+
})[];
|
|
909
|
+
address: string;
|
|
910
|
+
};
|
|
647
911
|
"3907180": {
|
|
648
912
|
address: string;
|
|
649
913
|
abi: ({
|
|
@@ -2246,11 +2510,21 @@ export namespace wstETH {
|
|
|
2246
2510
|
}
|
|
2247
2511
|
export namespace AaveLoanInfoV2 {
|
|
2248
2512
|
let abi_23: ({
|
|
2249
|
-
inputs: {
|
|
2513
|
+
inputs: ({
|
|
2250
2514
|
internalType: string;
|
|
2251
2515
|
name: string;
|
|
2252
2516
|
type: string;
|
|
2253
|
-
|
|
2517
|
+
components?: undefined;
|
|
2518
|
+
} | {
|
|
2519
|
+
components: {
|
|
2520
|
+
internalType: string;
|
|
2521
|
+
name: string;
|
|
2522
|
+
type: string;
|
|
2523
|
+
}[];
|
|
2524
|
+
internalType: string;
|
|
2525
|
+
name: string;
|
|
2526
|
+
type: string;
|
|
2527
|
+
})[];
|
|
2254
2528
|
name: string;
|
|
2255
2529
|
outputs: {
|
|
2256
2530
|
components: {
|