@underscore-finance/sdk 1.2.13 → 1.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/LevgVaultAgent.d.ts +1955 -0
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -0
- package/dist/contracts/LevgVaultAgent.js +2523 -0
- package/dist/contracts/LevgVaultHelper.d.ts +26 -120
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultHelper.js +30 -155
- package/dist/contracts/LevgVaultTools.d.ts +763 -7
- package/dist/contracts/LevgVaultTools.d.ts.map +1 -1
- package/dist/contracts/LevgVaultTools.js +1042 -7
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +1 -0
- package/dist/contracts/sdk.d.ts +2 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +2 -0
- package/package.json +1 -1
|
@@ -91,18 +91,10 @@ export const abi = [
|
|
|
91
91
|
name: '_amountIn',
|
|
92
92
|
type: 'uint256',
|
|
93
93
|
},
|
|
94
|
-
{
|
|
95
|
-
name: '_currentBalance',
|
|
96
|
-
type: 'uint256',
|
|
97
|
-
},
|
|
98
94
|
{
|
|
99
95
|
name: '_leverageVaultToken',
|
|
100
96
|
type: 'address',
|
|
101
97
|
},
|
|
102
|
-
{
|
|
103
|
-
name: '_leverageVaultTokenLegoId',
|
|
104
|
-
type: 'uint256',
|
|
105
|
-
},
|
|
106
98
|
{
|
|
107
99
|
name: '_leverageVaultTokenRipeVaultId',
|
|
108
100
|
type: 'uint256',
|
|
@@ -128,18 +120,10 @@ export const abi = [
|
|
|
128
120
|
name: '_amountIn',
|
|
129
121
|
type: 'uint256',
|
|
130
122
|
},
|
|
131
|
-
{
|
|
132
|
-
name: '_currentBalance',
|
|
133
|
-
type: 'uint256',
|
|
134
|
-
},
|
|
135
123
|
{
|
|
136
124
|
name: '_leverageVaultToken',
|
|
137
125
|
type: 'address',
|
|
138
126
|
},
|
|
139
|
-
{
|
|
140
|
-
name: '_leverageVaultTokenLegoId',
|
|
141
|
-
type: 'uint256',
|
|
142
|
-
},
|
|
143
127
|
{
|
|
144
128
|
name: '_leverageVaultTokenRipeVaultId',
|
|
145
129
|
type: 'uint256',
|
|
@@ -169,18 +153,10 @@ export const abi = [
|
|
|
169
153
|
name: '_amountIn',
|
|
170
154
|
type: 'uint256',
|
|
171
155
|
},
|
|
172
|
-
{
|
|
173
|
-
name: '_currentBalance',
|
|
174
|
-
type: 'uint256',
|
|
175
|
-
},
|
|
176
156
|
{
|
|
177
157
|
name: '_leverageVaultToken',
|
|
178
158
|
type: 'address',
|
|
179
159
|
},
|
|
180
|
-
{
|
|
181
|
-
name: '_leverageVaultTokenLegoId',
|
|
182
|
-
type: 'uint256',
|
|
183
|
-
},
|
|
184
160
|
{
|
|
185
161
|
name: '_leverageVaultTokenRipeVaultId',
|
|
186
162
|
type: 'uint256',
|
|
@@ -214,18 +190,10 @@ export const abi = [
|
|
|
214
190
|
name: '_amountIn',
|
|
215
191
|
type: 'uint256',
|
|
216
192
|
},
|
|
217
|
-
{
|
|
218
|
-
name: '_currentBalance',
|
|
219
|
-
type: 'uint256',
|
|
220
|
-
},
|
|
221
193
|
{
|
|
222
194
|
name: '_leverageVaultToken',
|
|
223
195
|
type: 'address',
|
|
224
196
|
},
|
|
225
|
-
{
|
|
226
|
-
name: '_leverageVaultTokenLegoId',
|
|
227
|
-
type: 'uint256',
|
|
228
|
-
},
|
|
229
197
|
{
|
|
230
198
|
name: '_leverageVaultTokenRipeVaultId',
|
|
231
199
|
type: 'uint256',
|
|
@@ -263,18 +231,10 @@ export const abi = [
|
|
|
263
231
|
name: '_amountIn',
|
|
264
232
|
type: 'uint256',
|
|
265
233
|
},
|
|
266
|
-
{
|
|
267
|
-
name: '_currentBalance',
|
|
268
|
-
type: 'uint256',
|
|
269
|
-
},
|
|
270
234
|
{
|
|
271
235
|
name: '_leverageVaultToken',
|
|
272
236
|
type: 'address',
|
|
273
237
|
},
|
|
274
|
-
{
|
|
275
|
-
name: '_leverageVaultTokenLegoId',
|
|
276
|
-
type: 'uint256',
|
|
277
|
-
},
|
|
278
238
|
{
|
|
279
239
|
name: '_leverageVaultTokenRipeVaultId',
|
|
280
240
|
type: 'uint256',
|
|
@@ -320,26 +280,18 @@ export const abi = [
|
|
|
320
280
|
name: '_collateralVaultToken',
|
|
321
281
|
type: 'address',
|
|
322
282
|
},
|
|
323
|
-
{
|
|
324
|
-
name: '_collateralVaultTokenLegoId',
|
|
325
|
-
type: 'uint256',
|
|
326
|
-
},
|
|
327
283
|
{
|
|
328
284
|
name: '_collateralVaultTokenRipeVaultId',
|
|
329
285
|
type: 'uint256',
|
|
330
286
|
},
|
|
331
287
|
{
|
|
332
|
-
name: '
|
|
288
|
+
name: '_totalAssets',
|
|
333
289
|
type: 'uint256',
|
|
334
290
|
},
|
|
335
291
|
{
|
|
336
292
|
name: '_maxDebtRatio',
|
|
337
293
|
type: 'uint256',
|
|
338
294
|
},
|
|
339
|
-
{
|
|
340
|
-
name: '_isUsdcVault',
|
|
341
|
-
type: 'bool',
|
|
342
|
-
},
|
|
343
295
|
],
|
|
344
296
|
outputs: [
|
|
345
297
|
{
|
|
@@ -365,26 +317,18 @@ export const abi = [
|
|
|
365
317
|
name: '_collateralVaultToken',
|
|
366
318
|
type: 'address',
|
|
367
319
|
},
|
|
368
|
-
{
|
|
369
|
-
name: '_collateralVaultTokenLegoId',
|
|
370
|
-
type: 'uint256',
|
|
371
|
-
},
|
|
372
320
|
{
|
|
373
321
|
name: '_collateralVaultTokenRipeVaultId',
|
|
374
322
|
type: 'uint256',
|
|
375
323
|
},
|
|
376
324
|
{
|
|
377
|
-
name: '
|
|
325
|
+
name: '_totalAssets',
|
|
378
326
|
type: 'uint256',
|
|
379
327
|
},
|
|
380
328
|
{
|
|
381
329
|
name: '_maxDebtRatio',
|
|
382
330
|
type: 'uint256',
|
|
383
331
|
},
|
|
384
|
-
{
|
|
385
|
-
name: '_isUsdcVault',
|
|
386
|
-
type: 'bool',
|
|
387
|
-
},
|
|
388
332
|
{
|
|
389
333
|
name: '_legoBook',
|
|
390
334
|
type: 'address',
|
|
@@ -533,10 +477,6 @@ export const abi = [
|
|
|
533
477
|
name: '_collateralVaultToken',
|
|
534
478
|
type: 'address',
|
|
535
479
|
},
|
|
536
|
-
{
|
|
537
|
-
name: '_collateralVaultTokenLegoId',
|
|
538
|
-
type: 'uint256',
|
|
539
|
-
},
|
|
540
480
|
{
|
|
541
481
|
name: '_collateralVaultTokenRipeVaultId',
|
|
542
482
|
type: 'uint256',
|
|
@@ -545,10 +485,6 @@ export const abi = [
|
|
|
545
485
|
name: '_leverageVaultToken',
|
|
546
486
|
type: 'address',
|
|
547
487
|
},
|
|
548
|
-
{
|
|
549
|
-
name: '_leverageVaultTokenLegoId',
|
|
550
|
-
type: 'uint256',
|
|
551
|
-
},
|
|
552
488
|
{
|
|
553
489
|
name: '_leverageVaultTokenRipeVaultId',
|
|
554
490
|
type: 'uint256',
|
|
@@ -574,10 +510,6 @@ export const abi = [
|
|
|
574
510
|
name: '_collateralVaultToken',
|
|
575
511
|
type: 'address',
|
|
576
512
|
},
|
|
577
|
-
{
|
|
578
|
-
name: '_collateralVaultTokenLegoId',
|
|
579
|
-
type: 'uint256',
|
|
580
|
-
},
|
|
581
513
|
{
|
|
582
514
|
name: '_collateralVaultTokenRipeVaultId',
|
|
583
515
|
type: 'uint256',
|
|
@@ -586,10 +518,6 @@ export const abi = [
|
|
|
586
518
|
name: '_leverageVaultToken',
|
|
587
519
|
type: 'address',
|
|
588
520
|
},
|
|
589
|
-
{
|
|
590
|
-
name: '_leverageVaultTokenLegoId',
|
|
591
|
-
type: 'uint256',
|
|
592
|
-
},
|
|
593
521
|
{
|
|
594
522
|
name: '_leverageVaultTokenRipeVaultId',
|
|
595
523
|
type: 'uint256',
|
|
@@ -619,10 +547,6 @@ export const abi = [
|
|
|
619
547
|
name: '_collateralVaultToken',
|
|
620
548
|
type: 'address',
|
|
621
549
|
},
|
|
622
|
-
{
|
|
623
|
-
name: '_collateralVaultTokenLegoId',
|
|
624
|
-
type: 'uint256',
|
|
625
|
-
},
|
|
626
550
|
{
|
|
627
551
|
name: '_collateralVaultTokenRipeVaultId',
|
|
628
552
|
type: 'uint256',
|
|
@@ -631,10 +555,6 @@ export const abi = [
|
|
|
631
555
|
name: '_leverageVaultToken',
|
|
632
556
|
type: 'address',
|
|
633
557
|
},
|
|
634
|
-
{
|
|
635
|
-
name: '_leverageVaultTokenLegoId',
|
|
636
|
-
type: 'uint256',
|
|
637
|
-
},
|
|
638
558
|
{
|
|
639
559
|
name: '_leverageVaultTokenRipeVaultId',
|
|
640
560
|
type: 'uint256',
|
|
@@ -668,10 +588,6 @@ export const abi = [
|
|
|
668
588
|
name: '_collateralVaultToken',
|
|
669
589
|
type: 'address',
|
|
670
590
|
},
|
|
671
|
-
{
|
|
672
|
-
name: '_collateralVaultTokenLegoId',
|
|
673
|
-
type: 'uint256',
|
|
674
|
-
},
|
|
675
591
|
{
|
|
676
592
|
name: '_collateralVaultTokenRipeVaultId',
|
|
677
593
|
type: 'uint256',
|
|
@@ -680,10 +596,6 @@ export const abi = [
|
|
|
680
596
|
name: '_leverageVaultToken',
|
|
681
597
|
type: 'address',
|
|
682
598
|
},
|
|
683
|
-
{
|
|
684
|
-
name: '_leverageVaultTokenLegoId',
|
|
685
|
-
type: 'uint256',
|
|
686
|
-
},
|
|
687
599
|
{
|
|
688
600
|
name: '_leverageVaultTokenRipeVaultId',
|
|
689
601
|
type: 'uint256',
|
|
@@ -721,10 +633,6 @@ export const abi = [
|
|
|
721
633
|
name: '_collateralVaultToken',
|
|
722
634
|
type: 'address',
|
|
723
635
|
},
|
|
724
|
-
{
|
|
725
|
-
name: '_collateralVaultTokenLegoId',
|
|
726
|
-
type: 'uint256',
|
|
727
|
-
},
|
|
728
636
|
{
|
|
729
637
|
name: '_collateralVaultTokenRipeVaultId',
|
|
730
638
|
type: 'uint256',
|
|
@@ -733,10 +641,6 @@ export const abi = [
|
|
|
733
641
|
name: '_leverageVaultToken',
|
|
734
642
|
type: 'address',
|
|
735
643
|
},
|
|
736
|
-
{
|
|
737
|
-
name: '_leverageVaultTokenLegoId',
|
|
738
|
-
type: 'uint256',
|
|
739
|
-
},
|
|
740
644
|
{
|
|
741
645
|
name: '_leverageVaultTokenRipeVaultId',
|
|
742
646
|
type: 'uint256',
|
|
@@ -778,10 +682,6 @@ export const abi = [
|
|
|
778
682
|
name: '_collateralVaultToken',
|
|
779
683
|
type: 'address',
|
|
780
684
|
},
|
|
781
|
-
{
|
|
782
|
-
name: '_collateralVaultTokenLegoId',
|
|
783
|
-
type: 'uint256',
|
|
784
|
-
},
|
|
785
685
|
{
|
|
786
686
|
name: '_collateralVaultTokenRipeVaultId',
|
|
787
687
|
type: 'uint256',
|
|
@@ -790,10 +690,6 @@ export const abi = [
|
|
|
790
690
|
name: '_leverageVaultToken',
|
|
791
691
|
type: 'address',
|
|
792
692
|
},
|
|
793
|
-
{
|
|
794
|
-
name: '_leverageVaultTokenLegoId',
|
|
795
|
-
type: 'uint256',
|
|
796
|
-
},
|
|
797
693
|
{
|
|
798
694
|
name: '_leverageVaultTokenRipeVaultId',
|
|
799
695
|
type: 'uint256',
|
|
@@ -843,10 +739,6 @@ export const abi = [
|
|
|
843
739
|
name: '_collateralVaultToken',
|
|
844
740
|
type: 'address',
|
|
845
741
|
},
|
|
846
|
-
{
|
|
847
|
-
name: '_collateralVaultTokenLegoId',
|
|
848
|
-
type: 'uint256',
|
|
849
|
-
},
|
|
850
742
|
{
|
|
851
743
|
name: '_collateralVaultTokenRipeVaultId',
|
|
852
744
|
type: 'uint256',
|
|
@@ -855,10 +747,6 @@ export const abi = [
|
|
|
855
747
|
name: '_leverageVaultToken',
|
|
856
748
|
type: 'address',
|
|
857
749
|
},
|
|
858
|
-
{
|
|
859
|
-
name: '_leverageVaultTokenLegoId',
|
|
860
|
-
type: 'uint256',
|
|
861
|
-
},
|
|
862
750
|
{
|
|
863
751
|
name: '_leverageVaultTokenRipeVaultId',
|
|
864
752
|
type: 'uint256',
|
|
@@ -888,10 +776,6 @@ export const abi = [
|
|
|
888
776
|
name: '_collateralVaultToken',
|
|
889
777
|
type: 'address',
|
|
890
778
|
},
|
|
891
|
-
{
|
|
892
|
-
name: '_collateralVaultTokenLegoId',
|
|
893
|
-
type: 'uint256',
|
|
894
|
-
},
|
|
895
779
|
{
|
|
896
780
|
name: '_collateralVaultTokenRipeVaultId',
|
|
897
781
|
type: 'uint256',
|
|
@@ -900,10 +784,6 @@ export const abi = [
|
|
|
900
784
|
name: '_leverageVaultToken',
|
|
901
785
|
type: 'address',
|
|
902
786
|
},
|
|
903
|
-
{
|
|
904
|
-
name: '_leverageVaultTokenLegoId',
|
|
905
|
-
type: 'uint256',
|
|
906
|
-
},
|
|
907
787
|
{
|
|
908
788
|
name: '_leverageVaultTokenRipeVaultId',
|
|
909
789
|
type: 'uint256',
|
|
@@ -937,10 +817,6 @@ export const abi = [
|
|
|
937
817
|
name: '_collateralVaultToken',
|
|
938
818
|
type: 'address',
|
|
939
819
|
},
|
|
940
|
-
{
|
|
941
|
-
name: '_collateralVaultTokenLegoId',
|
|
942
|
-
type: 'uint256',
|
|
943
|
-
},
|
|
944
820
|
{
|
|
945
821
|
name: '_collateralVaultTokenRipeVaultId',
|
|
946
822
|
type: 'uint256',
|
|
@@ -949,10 +825,6 @@ export const abi = [
|
|
|
949
825
|
name: '_leverageVaultToken',
|
|
950
826
|
type: 'address',
|
|
951
827
|
},
|
|
952
|
-
{
|
|
953
|
-
name: '_leverageVaultTokenLegoId',
|
|
954
|
-
type: 'uint256',
|
|
955
|
-
},
|
|
956
828
|
{
|
|
957
829
|
name: '_leverageVaultTokenRipeVaultId',
|
|
958
830
|
type: 'uint256',
|
|
@@ -990,10 +862,6 @@ export const abi = [
|
|
|
990
862
|
name: '_collateralVaultToken',
|
|
991
863
|
type: 'address',
|
|
992
864
|
},
|
|
993
|
-
{
|
|
994
|
-
name: '_collateralVaultTokenLegoId',
|
|
995
|
-
type: 'uint256',
|
|
996
|
-
},
|
|
997
865
|
{
|
|
998
866
|
name: '_collateralVaultTokenRipeVaultId',
|
|
999
867
|
type: 'uint256',
|
|
@@ -1002,10 +870,6 @@ export const abi = [
|
|
|
1002
870
|
name: '_leverageVaultToken',
|
|
1003
871
|
type: 'address',
|
|
1004
872
|
},
|
|
1005
|
-
{
|
|
1006
|
-
name: '_leverageVaultTokenLegoId',
|
|
1007
|
-
type: 'uint256',
|
|
1008
|
-
},
|
|
1009
873
|
{
|
|
1010
874
|
name: '_leverageVaultTokenRipeVaultId',
|
|
1011
875
|
type: 'uint256',
|
|
@@ -1047,10 +911,6 @@ export const abi = [
|
|
|
1047
911
|
name: '_collateralVaultToken',
|
|
1048
912
|
type: 'address',
|
|
1049
913
|
},
|
|
1050
|
-
{
|
|
1051
|
-
name: '_collateralVaultTokenLegoId',
|
|
1052
|
-
type: 'uint256',
|
|
1053
|
-
},
|
|
1054
914
|
{
|
|
1055
915
|
name: '_collateralVaultTokenRipeVaultId',
|
|
1056
916
|
type: 'uint256',
|
|
@@ -1059,10 +919,6 @@ export const abi = [
|
|
|
1059
919
|
name: '_leverageVaultToken',
|
|
1060
920
|
type: 'address',
|
|
1061
921
|
},
|
|
1062
|
-
{
|
|
1063
|
-
name: '_leverageVaultTokenLegoId',
|
|
1064
|
-
type: 'uint256',
|
|
1065
|
-
},
|
|
1066
922
|
{
|
|
1067
923
|
name: '_leverageVaultTokenRipeVaultId',
|
|
1068
924
|
type: 'uint256',
|
|
@@ -1108,10 +964,6 @@ export const abi = [
|
|
|
1108
964
|
name: '_collateralVaultToken',
|
|
1109
965
|
type: 'address',
|
|
1110
966
|
},
|
|
1111
|
-
{
|
|
1112
|
-
name: '_collateralVaultTokenLegoId',
|
|
1113
|
-
type: 'uint256',
|
|
1114
|
-
},
|
|
1115
967
|
{
|
|
1116
968
|
name: '_collateralVaultTokenRipeVaultId',
|
|
1117
969
|
type: 'uint256',
|
|
@@ -1120,10 +972,6 @@ export const abi = [
|
|
|
1120
972
|
name: '_leverageVaultToken',
|
|
1121
973
|
type: 'address',
|
|
1122
974
|
},
|
|
1123
|
-
{
|
|
1124
|
-
name: '_leverageVaultTokenLegoId',
|
|
1125
|
-
type: 'uint256',
|
|
1126
|
-
},
|
|
1127
975
|
{
|
|
1128
976
|
name: '_leverageVaultTokenRipeVaultId',
|
|
1129
977
|
type: 'uint256',
|
|
@@ -1276,6 +1124,31 @@ export const abi = [
|
|
|
1276
1124
|
},
|
|
1277
1125
|
],
|
|
1278
1126
|
},
|
|
1127
|
+
{
|
|
1128
|
+
stateMutability: 'view',
|
|
1129
|
+
type: 'function',
|
|
1130
|
+
name: 'isValidRawAssetCollateral',
|
|
1131
|
+
inputs: [
|
|
1132
|
+
{
|
|
1133
|
+
name: '_underlyingAsset',
|
|
1134
|
+
type: 'address',
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
name: '_rawAsset',
|
|
1138
|
+
type: 'address',
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
name: '_ripeVaultId',
|
|
1142
|
+
type: 'uint256',
|
|
1143
|
+
},
|
|
1144
|
+
],
|
|
1145
|
+
outputs: [
|
|
1146
|
+
{
|
|
1147
|
+
name: '',
|
|
1148
|
+
type: 'bool',
|
|
1149
|
+
},
|
|
1150
|
+
],
|
|
1151
|
+
},
|
|
1279
1152
|
{
|
|
1280
1153
|
stateMutability: 'view',
|
|
1281
1154
|
type: 'function',
|
|
@@ -1344,7 +1217,7 @@ export const abi = [
|
|
|
1344
1217
|
outputs: [],
|
|
1345
1218
|
},
|
|
1346
1219
|
];
|
|
1347
|
-
export const deployAddress = '
|
|
1220
|
+
export const deployAddress = '0xD69cD617B0C2686a2C8C01d32c487cBb79e082f1';
|
|
1348
1221
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1349
1222
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1350
1223
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -1384,6 +1257,7 @@ export const call = {
|
|
|
1384
1257
|
isSupportedAssetInVault: (...args) => getRequest('isSupportedAssetInVault', args),
|
|
1385
1258
|
getVaultBookAndDeleverage: (...args) => getRequest('getVaultBookAndDeleverage', args),
|
|
1386
1259
|
isValidVaultToken: (...args) => getRequest('isValidVaultToken', args),
|
|
1260
|
+
isValidRawAssetCollateral: (...args) => getRequest('isValidRawAssetCollateral', args),
|
|
1387
1261
|
RIPE_REGISTRY: (...args) => getRequest('RIPE_REGISTRY', args),
|
|
1388
1262
|
GREEN_TOKEN: (...args) => getRequest('GREEN_TOKEN', args),
|
|
1389
1263
|
SAVINGS_GREEN: (...args) => getRequest('SAVINGS_GREEN', args),
|
|
@@ -1405,6 +1279,7 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
1405
1279
|
isSupportedAssetInVault: (...args) => singleQuery(publicClient, call.isSupportedAssetInVault(...args).at(deployAddress), {}, addressResolver),
|
|
1406
1280
|
getVaultBookAndDeleverage: (...args) => singleQuery(publicClient, call.getVaultBookAndDeleverage(...args).at(deployAddress), {}, addressResolver),
|
|
1407
1281
|
isValidVaultToken: (...args) => singleQuery(publicClient, call.isValidVaultToken(...args).at(deployAddress), {}, addressResolver),
|
|
1282
|
+
isValidRawAssetCollateral: (...args) => singleQuery(publicClient, call.isValidRawAssetCollateral(...args).at(deployAddress), {}, addressResolver),
|
|
1408
1283
|
RIPE_REGISTRY: (...args) => singleQuery(publicClient, call.RIPE_REGISTRY(...args).at(deployAddress), {}, addressResolver),
|
|
1409
1284
|
GREEN_TOKEN: (...args) => singleQuery(publicClient, call.GREEN_TOKEN(...args).at(deployAddress), {}, addressResolver),
|
|
1410
1285
|
SAVINGS_GREEN: (...args) => singleQuery(publicClient, call.SAVINGS_GREEN(...args).at(deployAddress), {}, addressResolver),
|