@varla/sdk 1.11.2 → 1.11.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/AGENTS.md CHANGED
@@ -93,3 +93,98 @@ The SDK can provide raw primitives; **ranking is app-side**:
93
93
  - **Cooldown period**
94
94
  - As of `contracts/VarlaPool.sol` in this repo, there is **no cooldown / withdraw delay** view.
95
95
  - If a cooldown is introduced later, we can add `views.readPoolConfig({ pool })`.
96
+
97
+ ---
98
+
99
+ ## All view helpers (generated)
100
+
101
+ <!-- BEGIN GENERATED:VIEW_HELPERS -->
102
+ <!--
103
+ This section is auto-generated by scripts/sdk-generate-docs.ts.
104
+ Do not edit manually.
105
+ -->
106
+
107
+ - `getInterestRateStrategyFromPool`
108
+ - `hydrateOraclePositionIds`
109
+ - `previewBorrow`
110
+ - `previewRepay`
111
+ - `readAccessManagerBasics`
112
+ - `readAccountPositions`
113
+ - `readAccountPositionsFull`
114
+ - `readAccountSnapshot`
115
+ - `readAdapterInfo`
116
+ - `readBadDebtStatus`
117
+ - `readBorrowLimits`
118
+ - `readBorrowerState`
119
+ - `readBorrowers`
120
+ - `readBorrowersPage`
121
+ - `readCalculateLiquidationBonus`
122
+ - `readCanLiquidate`
123
+ - `readConfiguredPositionIds`
124
+ - `readConvertLiquidatorBasics`
125
+ - `readCoreAddresses`
126
+ - `readCoreGlobalDebt`
127
+ - `readDefaultLtvConfig`
128
+ - `readHasRole`
129
+ - `readHealthFactor`
130
+ - `readHypotheticalBorrowCapacity`
131
+ - `readInterestRateStrategyBasics`
132
+ - `readLenderSnapshot`
133
+ - `readLiquidationBonusBps`
134
+ - `readLiquidationConfig`
135
+ - `readLiquidationParamsForPosition`
136
+ - `readLiquidatorBasics`
137
+ - `readLiquidity`
138
+ - `readLtvForPosition`
139
+ - `readManyAccountSnapshots`
140
+ - `readManyBorrowLimits`
141
+ - `readManyHasRole`
142
+ - `readManyLiquidationBonusBps`
143
+ - `readManyOraclePositionMeta`
144
+ - `readManyPositionSnapshots`
145
+ - `readManyTargetConfigs`
146
+ - `readManyTargetFunctionRoles`
147
+ - `readMaxPositionsConfig`
148
+ - `readMaxRedeem`
149
+ - `readMaxWithdraw`
150
+ - `readMergeLiquidatorBasics`
151
+ - `readNegRiskMarketPositionIds`
152
+ - `readOracleBasics`
153
+ - `readOracleCollateralStatus`
154
+ - `readOracleConfig`
155
+ - `readOracleFinalizationStatus`
156
+ - `readOracleGuardsStatus`
157
+ - `readOraclePositionMeta`
158
+ - `readOraclePriceData`
159
+ - `readOracleRegistry`
160
+ - `readOracleRegistryPage`
161
+ - `readOracleTiming`
162
+ - `readPoolAccounting`
163
+ - `readPoolCaps`
164
+ - `readPoolCoreAddress`
165
+ - `readPoolDebtState`
166
+ - `readPoolHealthScore`
167
+ - `readPoolRates`
168
+ - `readPoolSharePrice`
169
+ - `readPoolSnapshot`
170
+ - `readPortfolioValue`
171
+ - `readPositionBalance`
172
+ - `readPositionBalances`
173
+ - `readPositionCount`
174
+ - `readPositionLiquidationConfigOverride`
175
+ - `readPositionLtvOverride`
176
+ - `readPositionSnapshot`
177
+ - `readPreviewLiquidation`
178
+ - `readPrice`
179
+ - `readProxyAdminPaused`
180
+ - `readRepayTiming`
181
+ - `readRiskTier`
182
+ - `readRoleSummary`
183
+ - `readSpotPrice`
184
+ - `readSystemSnapshot`
185
+ - `readTargetConfig`
186
+ - `readTierLiquidationConfig`
187
+ - `readTieredLtvConfig`
188
+ - `readTryGetPrice`
189
+ - `readTwap`
190
+ <!-- END GENERATED:VIEW_HELPERS -->
package/BACKEND.md CHANGED
@@ -308,3 +308,98 @@ Useful health signals to emit from a backend:
308
308
  - Treat RPC errors as expected: implement retry/backoff and fallbacks.
309
309
  - Keep multicalls bounded (chunking) to avoid RPC provider limits.
310
310
 
311
+ ---
312
+
313
+ ## All view helpers (generated)
314
+
315
+ <!-- BEGIN GENERATED:VIEW_HELPERS -->
316
+ <!--
317
+ This section is auto-generated by scripts/sdk-generate-docs.ts.
318
+ Do not edit manually.
319
+ -->
320
+
321
+ - `getInterestRateStrategyFromPool`
322
+ - `hydrateOraclePositionIds`
323
+ - `previewBorrow`
324
+ - `previewRepay`
325
+ - `readAccessManagerBasics`
326
+ - `readAccountPositions`
327
+ - `readAccountPositionsFull`
328
+ - `readAccountSnapshot`
329
+ - `readAdapterInfo`
330
+ - `readBadDebtStatus`
331
+ - `readBorrowLimits`
332
+ - `readBorrowerState`
333
+ - `readBorrowers`
334
+ - `readBorrowersPage`
335
+ - `readCalculateLiquidationBonus`
336
+ - `readCanLiquidate`
337
+ - `readConfiguredPositionIds`
338
+ - `readConvertLiquidatorBasics`
339
+ - `readCoreAddresses`
340
+ - `readCoreGlobalDebt`
341
+ - `readDefaultLtvConfig`
342
+ - `readHasRole`
343
+ - `readHealthFactor`
344
+ - `readHypotheticalBorrowCapacity`
345
+ - `readInterestRateStrategyBasics`
346
+ - `readLenderSnapshot`
347
+ - `readLiquidationBonusBps`
348
+ - `readLiquidationConfig`
349
+ - `readLiquidationParamsForPosition`
350
+ - `readLiquidatorBasics`
351
+ - `readLiquidity`
352
+ - `readLtvForPosition`
353
+ - `readManyAccountSnapshots`
354
+ - `readManyBorrowLimits`
355
+ - `readManyHasRole`
356
+ - `readManyLiquidationBonusBps`
357
+ - `readManyOraclePositionMeta`
358
+ - `readManyPositionSnapshots`
359
+ - `readManyTargetConfigs`
360
+ - `readManyTargetFunctionRoles`
361
+ - `readMaxPositionsConfig`
362
+ - `readMaxRedeem`
363
+ - `readMaxWithdraw`
364
+ - `readMergeLiquidatorBasics`
365
+ - `readNegRiskMarketPositionIds`
366
+ - `readOracleBasics`
367
+ - `readOracleCollateralStatus`
368
+ - `readOracleConfig`
369
+ - `readOracleFinalizationStatus`
370
+ - `readOracleGuardsStatus`
371
+ - `readOraclePositionMeta`
372
+ - `readOraclePriceData`
373
+ - `readOracleRegistry`
374
+ - `readOracleRegistryPage`
375
+ - `readOracleTiming`
376
+ - `readPoolAccounting`
377
+ - `readPoolCaps`
378
+ - `readPoolCoreAddress`
379
+ - `readPoolDebtState`
380
+ - `readPoolHealthScore`
381
+ - `readPoolRates`
382
+ - `readPoolSharePrice`
383
+ - `readPoolSnapshot`
384
+ - `readPortfolioValue`
385
+ - `readPositionBalance`
386
+ - `readPositionBalances`
387
+ - `readPositionCount`
388
+ - `readPositionLiquidationConfigOverride`
389
+ - `readPositionLtvOverride`
390
+ - `readPositionSnapshot`
391
+ - `readPreviewLiquidation`
392
+ - `readPrice`
393
+ - `readProxyAdminPaused`
394
+ - `readRepayTiming`
395
+ - `readRiskTier`
396
+ - `readRoleSummary`
397
+ - `readSpotPrice`
398
+ - `readSystemSnapshot`
399
+ - `readTargetConfig`
400
+ - `readTierLiquidationConfig`
401
+ - `readTieredLtvConfig`
402
+ - `readTryGetPrice`
403
+ - `readTwap`
404
+ <!-- END GENERATED:VIEW_HELPERS -->
405
+
package/FRONTEND.md CHANGED
@@ -388,3 +388,98 @@ This keeps UI components clean, and gives you one place to wire:
388
388
  - analytics
389
389
  - receipt confirmations
390
390
  - error mapping
391
+
392
+ ---
393
+
394
+ ## All view helpers (generated)
395
+
396
+ <!-- BEGIN GENERATED:VIEW_HELPERS -->
397
+ <!--
398
+ This section is auto-generated by scripts/sdk-generate-docs.ts.
399
+ Do not edit manually.
400
+ -->
401
+
402
+ - `getInterestRateStrategyFromPool`
403
+ - `hydrateOraclePositionIds`
404
+ - `previewBorrow`
405
+ - `previewRepay`
406
+ - `readAccessManagerBasics`
407
+ - `readAccountPositions`
408
+ - `readAccountPositionsFull`
409
+ - `readAccountSnapshot`
410
+ - `readAdapterInfo`
411
+ - `readBadDebtStatus`
412
+ - `readBorrowLimits`
413
+ - `readBorrowerState`
414
+ - `readBorrowers`
415
+ - `readBorrowersPage`
416
+ - `readCalculateLiquidationBonus`
417
+ - `readCanLiquidate`
418
+ - `readConfiguredPositionIds`
419
+ - `readConvertLiquidatorBasics`
420
+ - `readCoreAddresses`
421
+ - `readCoreGlobalDebt`
422
+ - `readDefaultLtvConfig`
423
+ - `readHasRole`
424
+ - `readHealthFactor`
425
+ - `readHypotheticalBorrowCapacity`
426
+ - `readInterestRateStrategyBasics`
427
+ - `readLenderSnapshot`
428
+ - `readLiquidationBonusBps`
429
+ - `readLiquidationConfig`
430
+ - `readLiquidationParamsForPosition`
431
+ - `readLiquidatorBasics`
432
+ - `readLiquidity`
433
+ - `readLtvForPosition`
434
+ - `readManyAccountSnapshots`
435
+ - `readManyBorrowLimits`
436
+ - `readManyHasRole`
437
+ - `readManyLiquidationBonusBps`
438
+ - `readManyOraclePositionMeta`
439
+ - `readManyPositionSnapshots`
440
+ - `readManyTargetConfigs`
441
+ - `readManyTargetFunctionRoles`
442
+ - `readMaxPositionsConfig`
443
+ - `readMaxRedeem`
444
+ - `readMaxWithdraw`
445
+ - `readMergeLiquidatorBasics`
446
+ - `readNegRiskMarketPositionIds`
447
+ - `readOracleBasics`
448
+ - `readOracleCollateralStatus`
449
+ - `readOracleConfig`
450
+ - `readOracleFinalizationStatus`
451
+ - `readOracleGuardsStatus`
452
+ - `readOraclePositionMeta`
453
+ - `readOraclePriceData`
454
+ - `readOracleRegistry`
455
+ - `readOracleRegistryPage`
456
+ - `readOracleTiming`
457
+ - `readPoolAccounting`
458
+ - `readPoolCaps`
459
+ - `readPoolCoreAddress`
460
+ - `readPoolDebtState`
461
+ - `readPoolHealthScore`
462
+ - `readPoolRates`
463
+ - `readPoolSharePrice`
464
+ - `readPoolSnapshot`
465
+ - `readPortfolioValue`
466
+ - `readPositionBalance`
467
+ - `readPositionBalances`
468
+ - `readPositionCount`
469
+ - `readPositionLiquidationConfigOverride`
470
+ - `readPositionLtvOverride`
471
+ - `readPositionSnapshot`
472
+ - `readPreviewLiquidation`
473
+ - `readPrice`
474
+ - `readProxyAdminPaused`
475
+ - `readRepayTiming`
476
+ - `readRiskTier`
477
+ - `readRoleSummary`
478
+ - `readSpotPrice`
479
+ - `readSystemSnapshot`
480
+ - `readTargetConfig`
481
+ - `readTierLiquidationConfig`
482
+ - `readTieredLtvConfig`
483
+ - `readTryGetPrice`
484
+ - `readTwap`
485
+ <!-- END GENERATED:VIEW_HELPERS -->
package/README.md CHANGED
@@ -134,6 +134,7 @@ These are convenience helpers built on top of the contract bindings.
134
134
  - `readDefaultLtvConfig`
135
135
  - `readHasRole`
136
136
  - `readHealthFactor`
137
+ - `readHypotheticalBorrowCapacity`
137
138
  - `readInterestRateStrategyBasics`
138
139
  - `readLenderSnapshot`
139
140
  - `readLiquidationBonusBps`
@@ -244,6 +244,21 @@ export declare const VARLACONVERTLIQUIDATOR_ABI: readonly [{
244
244
  }];
245
245
  readonly name: "NegRiskAdapterUpdated";
246
246
  readonly type: "event";
247
+ }, {
248
+ readonly anonymous: false;
249
+ readonly inputs: readonly [{
250
+ readonly indexed: true;
251
+ readonly internalType: "address";
252
+ readonly name: "oldStaking";
253
+ readonly type: "address";
254
+ }, {
255
+ readonly indexed: true;
256
+ readonly internalType: "address";
257
+ readonly name: "newStaking";
258
+ readonly type: "address";
259
+ }];
260
+ readonly name: "StakingUpdated";
261
+ readonly type: "event";
247
262
  }, {
248
263
  readonly anonymous: false;
249
264
  readonly inputs: readonly [{
@@ -565,6 +580,16 @@ export declare const VARLACONVERTLIQUIDATOR_ABI: readonly [{
565
580
  readonly outputs: readonly [];
566
581
  readonly stateMutability: "nonpayable";
567
582
  readonly type: "function";
583
+ }, {
584
+ readonly inputs: readonly [{
585
+ readonly internalType: "address";
586
+ readonly name: "_staking";
587
+ readonly type: "address";
588
+ }];
589
+ readonly name: "setStaking";
590
+ readonly outputs: readonly [];
591
+ readonly stateMutability: "nonpayable";
592
+ readonly type: "function";
568
593
  }, {
569
594
  readonly inputs: readonly [{
570
595
  readonly internalType: "address";
@@ -575,6 +600,16 @@ export declare const VARLACONVERTLIQUIDATOR_ABI: readonly [{
575
600
  readonly outputs: readonly [];
576
601
  readonly stateMutability: "nonpayable";
577
602
  readonly type: "function";
603
+ }, {
604
+ readonly inputs: readonly [];
605
+ readonly name: "staking";
606
+ readonly outputs: readonly [{
607
+ readonly internalType: "address";
608
+ readonly name: "";
609
+ readonly type: "address";
610
+ }];
611
+ readonly stateMutability: "view";
612
+ readonly type: "function";
578
613
  }, {
579
614
  readonly inputs: readonly [{
580
615
  readonly internalType: "bytes4";
@@ -1 +1 @@
1
- {"version":3,"file":"VarlaConvertLiquidator.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaConvertLiquidator.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+wBf,CAAC"}
1
+ {"version":3,"file":"VarlaConvertLiquidator.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaConvertLiquidator.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4zBf,CAAC"}
@@ -320,6 +320,25 @@ export const VARLACONVERTLIQUIDATOR_ABI = [
320
320
  "name": "NegRiskAdapterUpdated",
321
321
  "type": "event"
322
322
  },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
326
+ {
327
+ "indexed": true,
328
+ "internalType": "address",
329
+ "name": "oldStaking",
330
+ "type": "address"
331
+ },
332
+ {
333
+ "indexed": true,
334
+ "internalType": "address",
335
+ "name": "newStaking",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "name": "StakingUpdated",
340
+ "type": "event"
341
+ },
323
342
  {
324
343
  "anonymous": false,
325
344
  "inputs": [
@@ -736,6 +755,19 @@ export const VARLACONVERTLIQUIDATOR_ABI = [
736
755
  "stateMutability": "nonpayable",
737
756
  "type": "function"
738
757
  },
758
+ {
759
+ "inputs": [
760
+ {
761
+ "internalType": "address",
762
+ "name": "_staking",
763
+ "type": "address"
764
+ }
765
+ ],
766
+ "name": "setStaking",
767
+ "outputs": [],
768
+ "stateMutability": "nonpayable",
769
+ "type": "function"
770
+ },
739
771
  {
740
772
  "inputs": [
741
773
  {
@@ -749,6 +781,19 @@ export const VARLACONVERTLIQUIDATOR_ABI = [
749
781
  "stateMutability": "nonpayable",
750
782
  "type": "function"
751
783
  },
784
+ {
785
+ "inputs": [],
786
+ "name": "staking",
787
+ "outputs": [
788
+ {
789
+ "internalType": "address",
790
+ "name": "",
791
+ "type": "address"
792
+ }
793
+ ],
794
+ "stateMutability": "view",
795
+ "type": "function"
796
+ },
752
797
  {
753
798
  "inputs": [
754
799
  {
@@ -262,6 +262,21 @@ export declare const VARLALIQUIDATOR_ABI: readonly [{
262
262
  }];
263
263
  readonly name: "MultiLiquidation";
264
264
  readonly type: "event";
265
+ }, {
266
+ readonly anonymous: false;
267
+ readonly inputs: readonly [{
268
+ readonly indexed: true;
269
+ readonly internalType: "address";
270
+ readonly name: "oldStaking";
271
+ readonly type: "address";
272
+ }, {
273
+ readonly indexed: true;
274
+ readonly internalType: "address";
275
+ readonly name: "newStaking";
276
+ readonly type: "address";
277
+ }];
278
+ readonly name: "StakingUpdated";
279
+ readonly type: "event";
265
280
  }, {
266
281
  readonly anonymous: false;
267
282
  readonly inputs: readonly [{
@@ -631,6 +646,16 @@ export declare const VARLALIQUIDATOR_ABI: readonly [{
631
646
  readonly outputs: readonly [];
632
647
  readonly stateMutability: "nonpayable";
633
648
  readonly type: "function";
649
+ }, {
650
+ readonly inputs: readonly [{
651
+ readonly internalType: "address";
652
+ readonly name: "_staking";
653
+ readonly type: "address";
654
+ }];
655
+ readonly name: "setStaking";
656
+ readonly outputs: readonly [];
657
+ readonly stateMutability: "nonpayable";
658
+ readonly type: "function";
634
659
  }, {
635
660
  readonly inputs: readonly [{
636
661
  readonly internalType: "address";
@@ -641,6 +666,16 @@ export declare const VARLALIQUIDATOR_ABI: readonly [{
641
666
  readonly outputs: readonly [];
642
667
  readonly stateMutability: "nonpayable";
643
668
  readonly type: "function";
669
+ }, {
670
+ readonly inputs: readonly [];
671
+ readonly name: "staking";
672
+ readonly outputs: readonly [{
673
+ readonly internalType: "address";
674
+ readonly name: "";
675
+ readonly type: "address";
676
+ }];
677
+ readonly stateMutability: "view";
678
+ readonly type: "function";
644
679
  }, {
645
680
  readonly inputs: readonly [{
646
681
  readonly internalType: "bytes4";
@@ -1 +1 @@
1
- {"version":3,"file":"VarlaLiquidator.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaLiquidator.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+1BR,CAAC"}
1
+ {"version":3,"file":"VarlaLiquidator.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaLiquidator.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA44BR,CAAC"}
@@ -338,6 +338,25 @@ export const VARLALIQUIDATOR_ABI = [
338
338
  "name": "MultiLiquidation",
339
339
  "type": "event"
340
340
  },
341
+ {
342
+ "anonymous": false,
343
+ "inputs": [
344
+ {
345
+ "indexed": true,
346
+ "internalType": "address",
347
+ "name": "oldStaking",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "indexed": true,
352
+ "internalType": "address",
353
+ "name": "newStaking",
354
+ "type": "address"
355
+ }
356
+ ],
357
+ "name": "StakingUpdated",
358
+ "type": "event"
359
+ },
341
360
  {
342
361
  "anonymous": false,
343
362
  "inputs": [
@@ -816,6 +835,19 @@ export const VARLALIQUIDATOR_ABI = [
816
835
  "stateMutability": "nonpayable",
817
836
  "type": "function"
818
837
  },
838
+ {
839
+ "inputs": [
840
+ {
841
+ "internalType": "address",
842
+ "name": "_staking",
843
+ "type": "address"
844
+ }
845
+ ],
846
+ "name": "setStaking",
847
+ "outputs": [],
848
+ "stateMutability": "nonpayable",
849
+ "type": "function"
850
+ },
819
851
  {
820
852
  "inputs": [
821
853
  {
@@ -829,6 +861,19 @@ export const VARLALIQUIDATOR_ABI = [
829
861
  "stateMutability": "nonpayable",
830
862
  "type": "function"
831
863
  },
864
+ {
865
+ "inputs": [],
866
+ "name": "staking",
867
+ "outputs": [
868
+ {
869
+ "internalType": "address",
870
+ "name": "",
871
+ "type": "address"
872
+ }
873
+ ],
874
+ "stateMutability": "view",
875
+ "type": "function"
876
+ },
832
877
  {
833
878
  "inputs": [
834
879
  {
@@ -220,6 +220,21 @@ export declare const VARLAMERGELIQUIDATOR_ABI: readonly [{
220
220
  }];
221
221
  readonly name: "MarketAdapterUpdated";
222
222
  readonly type: "event";
223
+ }, {
224
+ readonly anonymous: false;
225
+ readonly inputs: readonly [{
226
+ readonly indexed: true;
227
+ readonly internalType: "address";
228
+ readonly name: "oldStaking";
229
+ readonly type: "address";
230
+ }, {
231
+ readonly indexed: true;
232
+ readonly internalType: "address";
233
+ readonly name: "newStaking";
234
+ readonly type: "address";
235
+ }];
236
+ readonly name: "StakingUpdated";
237
+ readonly type: "event";
223
238
  }, {
224
239
  readonly anonymous: false;
225
240
  readonly inputs: readonly [{
@@ -537,6 +552,16 @@ export declare const VARLAMERGELIQUIDATOR_ABI: readonly [{
537
552
  readonly outputs: readonly [];
538
553
  readonly stateMutability: "nonpayable";
539
554
  readonly type: "function";
555
+ }, {
556
+ readonly inputs: readonly [{
557
+ readonly internalType: "address";
558
+ readonly name: "_staking";
559
+ readonly type: "address";
560
+ }];
561
+ readonly name: "setStaking";
562
+ readonly outputs: readonly [];
563
+ readonly stateMutability: "nonpayable";
564
+ readonly type: "function";
540
565
  }, {
541
566
  readonly inputs: readonly [{
542
567
  readonly internalType: "address";
@@ -547,6 +572,16 @@ export declare const VARLAMERGELIQUIDATOR_ABI: readonly [{
547
572
  readonly outputs: readonly [];
548
573
  readonly stateMutability: "nonpayable";
549
574
  readonly type: "function";
575
+ }, {
576
+ readonly inputs: readonly [];
577
+ readonly name: "staking";
578
+ readonly outputs: readonly [{
579
+ readonly internalType: "address";
580
+ readonly name: "";
581
+ readonly type: "address";
582
+ }];
583
+ readonly stateMutability: "view";
584
+ readonly type: "function";
550
585
  }, {
551
586
  readonly inputs: readonly [{
552
587
  readonly internalType: "bytes4";
@@ -1 +1 @@
1
- {"version":3,"file":"VarlaMergeLiquidator.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaMergeLiquidator.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0uBb,CAAC"}
1
+ {"version":3,"file":"VarlaMergeLiquidator.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaMergeLiquidator.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuxBb,CAAC"}
@@ -288,6 +288,25 @@ export const VARLAMERGELIQUIDATOR_ABI = [
288
288
  "name": "MarketAdapterUpdated",
289
289
  "type": "event"
290
290
  },
291
+ {
292
+ "anonymous": false,
293
+ "inputs": [
294
+ {
295
+ "indexed": true,
296
+ "internalType": "address",
297
+ "name": "oldStaking",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "indexed": true,
302
+ "internalType": "address",
303
+ "name": "newStaking",
304
+ "type": "address"
305
+ }
306
+ ],
307
+ "name": "StakingUpdated",
308
+ "type": "event"
309
+ },
291
310
  {
292
311
  "anonymous": false,
293
312
  "inputs": [
@@ -699,6 +718,19 @@ export const VARLAMERGELIQUIDATOR_ABI = [
699
718
  "stateMutability": "nonpayable",
700
719
  "type": "function"
701
720
  },
721
+ {
722
+ "inputs": [
723
+ {
724
+ "internalType": "address",
725
+ "name": "_staking",
726
+ "type": "address"
727
+ }
728
+ ],
729
+ "name": "setStaking",
730
+ "outputs": [],
731
+ "stateMutability": "nonpayable",
732
+ "type": "function"
733
+ },
702
734
  {
703
735
  "inputs": [
704
736
  {
@@ -712,6 +744,19 @@ export const VARLAMERGELIQUIDATOR_ABI = [
712
744
  "stateMutability": "nonpayable",
713
745
  "type": "function"
714
746
  },
747
+ {
748
+ "inputs": [],
749
+ "name": "staking",
750
+ "outputs": [
751
+ {
752
+ "internalType": "address",
753
+ "name": "",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
715
760
  {
716
761
  "inputs": [
717
762
  {