@xccy/ts-sdk 0.1.2 → 0.1.3

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.
@@ -0,0 +1,1468 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ Contract,
6
+ ContractFactory,
7
+ ContractTransactionResponse,
8
+ Interface,
9
+ } from "ethers";
10
+ import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
11
+ import type { NonPayableOverrides } from "../common";
12
+ import type { LockYieldAave, LockYieldAaveInterface } from "../LockYieldAave";
13
+
14
+ const _abi = [
15
+ {
16
+ type: "constructor",
17
+ inputs: [],
18
+ stateMutability: "nonpayable",
19
+ },
20
+ {
21
+ type: "function",
22
+ name: "acceptOwnership",
23
+ inputs: [],
24
+ outputs: [],
25
+ stateMutability: "nonpayable",
26
+ },
27
+ {
28
+ type: "function",
29
+ name: "activePositionsOf",
30
+ inputs: [
31
+ {
32
+ name: "owner",
33
+ type: "address",
34
+ internalType: "address",
35
+ },
36
+ ],
37
+ outputs: [
38
+ {
39
+ name: "ids",
40
+ type: "uint96[]",
41
+ internalType: "uint96[]",
42
+ },
43
+ ],
44
+ stateMutability: "view",
45
+ },
46
+ {
47
+ type: "function",
48
+ name: "approvePool",
49
+ inputs: [
50
+ {
51
+ name: "poolKey",
52
+ type: "tuple",
53
+ internalType: "struct PoolKey.Key",
54
+ components: [
55
+ {
56
+ name: "underlyingAsset",
57
+ type: "address",
58
+ internalType: "address",
59
+ },
60
+ {
61
+ name: "compoundToken",
62
+ type: "address",
63
+ internalType: "address",
64
+ },
65
+ {
66
+ name: "termStartTimestampWad",
67
+ type: "uint256",
68
+ internalType: "uint256",
69
+ },
70
+ {
71
+ name: "termEndTimestampWad",
72
+ type: "uint256",
73
+ internalType: "uint256",
74
+ },
75
+ {
76
+ name: "feeWad",
77
+ type: "uint256",
78
+ internalType: "uint256",
79
+ },
80
+ {
81
+ name: "tickSpacing",
82
+ type: "int24",
83
+ internalType: "int24",
84
+ },
85
+ ],
86
+ },
87
+ ],
88
+ outputs: [],
89
+ stateMutability: "nonpayable",
90
+ },
91
+ {
92
+ type: "function",
93
+ name: "batchSettleLockYield",
94
+ inputs: [
95
+ {
96
+ name: "positionIds",
97
+ type: "uint96[]",
98
+ internalType: "uint96[]",
99
+ },
100
+ ],
101
+ outputs: [],
102
+ stateMutability: "nonpayable",
103
+ },
104
+ {
105
+ type: "function",
106
+ name: "calculateFee",
107
+ inputs: [
108
+ {
109
+ name: "poolKey",
110
+ type: "tuple",
111
+ internalType: "struct PoolKey.Key",
112
+ components: [
113
+ {
114
+ name: "underlyingAsset",
115
+ type: "address",
116
+ internalType: "address",
117
+ },
118
+ {
119
+ name: "compoundToken",
120
+ type: "address",
121
+ internalType: "address",
122
+ },
123
+ {
124
+ name: "termStartTimestampWad",
125
+ type: "uint256",
126
+ internalType: "uint256",
127
+ },
128
+ {
129
+ name: "termEndTimestampWad",
130
+ type: "uint256",
131
+ internalType: "uint256",
132
+ },
133
+ {
134
+ name: "feeWad",
135
+ type: "uint256",
136
+ internalType: "uint256",
137
+ },
138
+ {
139
+ name: "tickSpacing",
140
+ type: "int24",
141
+ internalType: "int24",
142
+ },
143
+ ],
144
+ },
145
+ {
146
+ name: "principal",
147
+ type: "uint256",
148
+ internalType: "uint256",
149
+ },
150
+ ],
151
+ outputs: [
152
+ {
153
+ name: "",
154
+ type: "uint256",
155
+ internalType: "uint256",
156
+ },
157
+ ],
158
+ stateMutability: "view",
159
+ },
160
+ {
161
+ type: "function",
162
+ name: "emergencyWithdraw",
163
+ inputs: [
164
+ {
165
+ name: "token",
166
+ type: "address",
167
+ internalType: "address",
168
+ },
169
+ {
170
+ name: "amount",
171
+ type: "uint256",
172
+ internalType: "uint256",
173
+ },
174
+ {
175
+ name: "recipient",
176
+ type: "address",
177
+ internalType: "address",
178
+ },
179
+ ],
180
+ outputs: [],
181
+ stateMutability: "nonpayable",
182
+ },
183
+ {
184
+ type: "function",
185
+ name: "enableEmergency",
186
+ inputs: [],
187
+ outputs: [],
188
+ stateMutability: "nonpayable",
189
+ },
190
+ {
191
+ type: "function",
192
+ name: "getNextPositionId",
193
+ inputs: [],
194
+ outputs: [
195
+ {
196
+ name: "",
197
+ type: "uint96",
198
+ internalType: "uint96",
199
+ },
200
+ ],
201
+ stateMutability: "view",
202
+ },
203
+ {
204
+ type: "function",
205
+ name: "getPosition",
206
+ inputs: [
207
+ {
208
+ name: "positionId",
209
+ type: "uint96",
210
+ internalType: "uint96",
211
+ },
212
+ ],
213
+ outputs: [
214
+ {
215
+ name: "",
216
+ type: "tuple",
217
+ internalType: "struct Position",
218
+ components: [
219
+ {
220
+ name: "owner",
221
+ type: "address",
222
+ internalType: "address",
223
+ },
224
+ {
225
+ name: "poolKey",
226
+ type: "tuple",
227
+ internalType: "struct PoolKey.Key",
228
+ components: [
229
+ {
230
+ name: "underlyingAsset",
231
+ type: "address",
232
+ internalType: "address",
233
+ },
234
+ {
235
+ name: "compoundToken",
236
+ type: "address",
237
+ internalType: "address",
238
+ },
239
+ {
240
+ name: "termStartTimestampWad",
241
+ type: "uint256",
242
+ internalType: "uint256",
243
+ },
244
+ {
245
+ name: "termEndTimestampWad",
246
+ type: "uint256",
247
+ internalType: "uint256",
248
+ },
249
+ {
250
+ name: "feeWad",
251
+ type: "uint256",
252
+ internalType: "uint256",
253
+ },
254
+ {
255
+ name: "tickSpacing",
256
+ type: "int24",
257
+ internalType: "int24",
258
+ },
259
+ ],
260
+ },
261
+ {
262
+ name: "principal",
263
+ type: "uint256",
264
+ internalType: "uint256",
265
+ },
266
+ {
267
+ name: "notional",
268
+ type: "uint256",
269
+ internalType: "uint256",
270
+ },
271
+ {
272
+ name: "aTokenDeposited",
273
+ type: "uint256",
274
+ internalType: "uint256",
275
+ },
276
+ {
277
+ name: "feeBuffer",
278
+ type: "uint256",
279
+ internalType: "uint256",
280
+ },
281
+ {
282
+ name: "termEndTimestampWad",
283
+ type: "uint256",
284
+ internalType: "uint256",
285
+ },
286
+ {
287
+ name: "openedAt",
288
+ type: "uint256",
289
+ internalType: "uint256",
290
+ },
291
+ {
292
+ name: "tickLower",
293
+ type: "int24",
294
+ internalType: "int24",
295
+ },
296
+ {
297
+ name: "tickUpper",
298
+ type: "int24",
299
+ internalType: "int24",
300
+ },
301
+ {
302
+ name: "entryTick",
303
+ type: "int24",
304
+ internalType: "int24",
305
+ },
306
+ {
307
+ name: "isSettled",
308
+ type: "bool",
309
+ internalType: "bool",
310
+ },
311
+ {
312
+ name: "collateralToken",
313
+ type: "address",
314
+ internalType: "address",
315
+ },
316
+ {
317
+ name: "lockedFixedRateWad",
318
+ type: "uint256",
319
+ internalType: "uint256",
320
+ },
321
+ ],
322
+ },
323
+ ],
324
+ stateMutability: "view",
325
+ },
326
+ {
327
+ type: "function",
328
+ name: "getPositionStats",
329
+ inputs: [
330
+ {
331
+ name: "positionId",
332
+ type: "uint96",
333
+ internalType: "uint96",
334
+ },
335
+ ],
336
+ outputs: [
337
+ {
338
+ name: "stats",
339
+ type: "tuple",
340
+ internalType: "struct PositionStats",
341
+ components: [
342
+ {
343
+ name: "position",
344
+ type: "tuple",
345
+ internalType: "struct Position",
346
+ components: [
347
+ {
348
+ name: "owner",
349
+ type: "address",
350
+ internalType: "address",
351
+ },
352
+ {
353
+ name: "poolKey",
354
+ type: "tuple",
355
+ internalType: "struct PoolKey.Key",
356
+ components: [
357
+ {
358
+ name: "underlyingAsset",
359
+ type: "address",
360
+ internalType: "address",
361
+ },
362
+ {
363
+ name: "compoundToken",
364
+ type: "address",
365
+ internalType: "address",
366
+ },
367
+ {
368
+ name: "termStartTimestampWad",
369
+ type: "uint256",
370
+ internalType: "uint256",
371
+ },
372
+ {
373
+ name: "termEndTimestampWad",
374
+ type: "uint256",
375
+ internalType: "uint256",
376
+ },
377
+ {
378
+ name: "feeWad",
379
+ type: "uint256",
380
+ internalType: "uint256",
381
+ },
382
+ {
383
+ name: "tickSpacing",
384
+ type: "int24",
385
+ internalType: "int24",
386
+ },
387
+ ],
388
+ },
389
+ {
390
+ name: "principal",
391
+ type: "uint256",
392
+ internalType: "uint256",
393
+ },
394
+ {
395
+ name: "notional",
396
+ type: "uint256",
397
+ internalType: "uint256",
398
+ },
399
+ {
400
+ name: "aTokenDeposited",
401
+ type: "uint256",
402
+ internalType: "uint256",
403
+ },
404
+ {
405
+ name: "feeBuffer",
406
+ type: "uint256",
407
+ internalType: "uint256",
408
+ },
409
+ {
410
+ name: "termEndTimestampWad",
411
+ type: "uint256",
412
+ internalType: "uint256",
413
+ },
414
+ {
415
+ name: "openedAt",
416
+ type: "uint256",
417
+ internalType: "uint256",
418
+ },
419
+ {
420
+ name: "tickLower",
421
+ type: "int24",
422
+ internalType: "int24",
423
+ },
424
+ {
425
+ name: "tickUpper",
426
+ type: "int24",
427
+ internalType: "int24",
428
+ },
429
+ {
430
+ name: "entryTick",
431
+ type: "int24",
432
+ internalType: "int24",
433
+ },
434
+ {
435
+ name: "isSettled",
436
+ type: "bool",
437
+ internalType: "bool",
438
+ },
439
+ {
440
+ name: "collateralToken",
441
+ type: "address",
442
+ internalType: "address",
443
+ },
444
+ {
445
+ name: "lockedFixedRateWad",
446
+ type: "uint256",
447
+ internalType: "uint256",
448
+ },
449
+ ],
450
+ },
451
+ {
452
+ name: "fixedTokenBalance",
453
+ type: "int256",
454
+ internalType: "int256",
455
+ },
456
+ {
457
+ name: "variableTokenBalance",
458
+ type: "int256",
459
+ internalType: "int256",
460
+ },
461
+ {
462
+ name: "lockedFixedRateWad",
463
+ type: "uint256",
464
+ internalType: "uint256",
465
+ },
466
+ ],
467
+ },
468
+ ],
469
+ stateMutability: "view",
470
+ },
471
+ {
472
+ type: "function",
473
+ name: "initialize",
474
+ inputs: [
475
+ {
476
+ name: "initialOwner",
477
+ type: "address",
478
+ internalType: "address",
479
+ },
480
+ {
481
+ name: "aavePool",
482
+ type: "address",
483
+ internalType: "contract IAavePool",
484
+ },
485
+ {
486
+ name: "collateralEngine",
487
+ type: "address",
488
+ internalType: "contract ICollateralEngine",
489
+ },
490
+ {
491
+ name: "vammManager",
492
+ type: "address",
493
+ internalType: "contract IVAMMManager",
494
+ },
495
+ ],
496
+ outputs: [],
497
+ stateMutability: "nonpayable",
498
+ },
499
+ {
500
+ type: "function",
501
+ name: "isEmergencyEnabled",
502
+ inputs: [],
503
+ outputs: [
504
+ {
505
+ name: "",
506
+ type: "bool",
507
+ internalType: "bool",
508
+ },
509
+ ],
510
+ stateMutability: "view",
511
+ },
512
+ {
513
+ type: "function",
514
+ name: "isPaused",
515
+ inputs: [],
516
+ outputs: [
517
+ {
518
+ name: "",
519
+ type: "bool",
520
+ internalType: "bool",
521
+ },
522
+ ],
523
+ stateMutability: "view",
524
+ },
525
+ {
526
+ type: "function",
527
+ name: "isPoolApproved",
528
+ inputs: [
529
+ {
530
+ name: "poolId",
531
+ type: "bytes32",
532
+ internalType: "bytes32",
533
+ },
534
+ ],
535
+ outputs: [
536
+ {
537
+ name: "",
538
+ type: "bool",
539
+ internalType: "bool",
540
+ },
541
+ ],
542
+ stateMutability: "view",
543
+ },
544
+ {
545
+ type: "function",
546
+ name: "isPositionSettledInCE",
547
+ inputs: [
548
+ {
549
+ name: "positionId",
550
+ type: "uint96",
551
+ internalType: "uint96",
552
+ },
553
+ ],
554
+ outputs: [
555
+ {
556
+ name: "",
557
+ type: "bool",
558
+ internalType: "bool",
559
+ },
560
+ ],
561
+ stateMutability: "view",
562
+ },
563
+ {
564
+ type: "function",
565
+ name: "openLockYield",
566
+ inputs: [
567
+ {
568
+ name: "poolKey",
569
+ type: "tuple",
570
+ internalType: "struct PoolKey.Key",
571
+ components: [
572
+ {
573
+ name: "underlyingAsset",
574
+ type: "address",
575
+ internalType: "address",
576
+ },
577
+ {
578
+ name: "compoundToken",
579
+ type: "address",
580
+ internalType: "address",
581
+ },
582
+ {
583
+ name: "termStartTimestampWad",
584
+ type: "uint256",
585
+ internalType: "uint256",
586
+ },
587
+ {
588
+ name: "termEndTimestampWad",
589
+ type: "uint256",
590
+ internalType: "uint256",
591
+ },
592
+ {
593
+ name: "feeWad",
594
+ type: "uint256",
595
+ internalType: "uint256",
596
+ },
597
+ {
598
+ name: "tickSpacing",
599
+ type: "int24",
600
+ internalType: "int24",
601
+ },
602
+ ],
603
+ },
604
+ {
605
+ name: "principal",
606
+ type: "uint256",
607
+ internalType: "uint256",
608
+ },
609
+ {
610
+ name: "sqrtPriceLimitX96",
611
+ type: "uint160",
612
+ internalType: "uint160",
613
+ },
614
+ ],
615
+ outputs: [
616
+ {
617
+ name: "positionId",
618
+ type: "uint96",
619
+ internalType: "uint96",
620
+ },
621
+ {
622
+ name: "executionRateWad",
623
+ type: "uint256",
624
+ internalType: "uint256",
625
+ },
626
+ {
627
+ name: "fee",
628
+ type: "int256",
629
+ internalType: "int256",
630
+ },
631
+ {
632
+ name: "priceAfterSwap",
633
+ type: "uint256",
634
+ internalType: "uint256",
635
+ },
636
+ ],
637
+ stateMutability: "nonpayable",
638
+ },
639
+ {
640
+ type: "function",
641
+ name: "owner",
642
+ inputs: [],
643
+ outputs: [
644
+ {
645
+ name: "",
646
+ type: "address",
647
+ internalType: "address",
648
+ },
649
+ ],
650
+ stateMutability: "view",
651
+ },
652
+ {
653
+ type: "function",
654
+ name: "pause",
655
+ inputs: [],
656
+ outputs: [],
657
+ stateMutability: "nonpayable",
658
+ },
659
+ {
660
+ type: "function",
661
+ name: "pendingOwner",
662
+ inputs: [],
663
+ outputs: [
664
+ {
665
+ name: "",
666
+ type: "address",
667
+ internalType: "address",
668
+ },
669
+ ],
670
+ stateMutability: "view",
671
+ },
672
+ {
673
+ type: "function",
674
+ name: "positionsOf",
675
+ inputs: [
676
+ {
677
+ name: "owner",
678
+ type: "address",
679
+ internalType: "address",
680
+ },
681
+ ],
682
+ outputs: [
683
+ {
684
+ name: "ids",
685
+ type: "uint96[]",
686
+ internalType: "uint96[]",
687
+ },
688
+ ],
689
+ stateMutability: "view",
690
+ },
691
+ {
692
+ type: "function",
693
+ name: "renounceOwnership",
694
+ inputs: [],
695
+ outputs: [],
696
+ stateMutability: "nonpayable",
697
+ },
698
+ {
699
+ type: "function",
700
+ name: "revokePool",
701
+ inputs: [
702
+ {
703
+ name: "poolKey",
704
+ type: "tuple",
705
+ internalType: "struct PoolKey.Key",
706
+ components: [
707
+ {
708
+ name: "underlyingAsset",
709
+ type: "address",
710
+ internalType: "address",
711
+ },
712
+ {
713
+ name: "compoundToken",
714
+ type: "address",
715
+ internalType: "address",
716
+ },
717
+ {
718
+ name: "termStartTimestampWad",
719
+ type: "uint256",
720
+ internalType: "uint256",
721
+ },
722
+ {
723
+ name: "termEndTimestampWad",
724
+ type: "uint256",
725
+ internalType: "uint256",
726
+ },
727
+ {
728
+ name: "feeWad",
729
+ type: "uint256",
730
+ internalType: "uint256",
731
+ },
732
+ {
733
+ name: "tickSpacing",
734
+ type: "int24",
735
+ internalType: "int24",
736
+ },
737
+ ],
738
+ },
739
+ ],
740
+ outputs: [],
741
+ stateMutability: "nonpayable",
742
+ },
743
+ {
744
+ type: "function",
745
+ name: "setStaticToken",
746
+ inputs: [
747
+ {
748
+ name: "underlying",
749
+ type: "address",
750
+ internalType: "address",
751
+ },
752
+ {
753
+ name: "staticToken",
754
+ type: "address",
755
+ internalType: "address",
756
+ },
757
+ ],
758
+ outputs: [],
759
+ stateMutability: "nonpayable",
760
+ },
761
+ {
762
+ type: "function",
763
+ name: "settleLockYield",
764
+ inputs: [
765
+ {
766
+ name: "positionId",
767
+ type: "uint96",
768
+ internalType: "uint96",
769
+ },
770
+ ],
771
+ outputs: [],
772
+ stateMutability: "nonpayable",
773
+ },
774
+ {
775
+ type: "function",
776
+ name: "transferOwnership",
777
+ inputs: [
778
+ {
779
+ name: "newOwner",
780
+ type: "address",
781
+ internalType: "address",
782
+ },
783
+ ],
784
+ outputs: [],
785
+ stateMutability: "nonpayable",
786
+ },
787
+ {
788
+ type: "function",
789
+ name: "unpause",
790
+ inputs: [],
791
+ outputs: [],
792
+ stateMutability: "nonpayable",
793
+ },
794
+ {
795
+ type: "event",
796
+ name: "EmergencyEnabled",
797
+ inputs: [
798
+ {
799
+ name: "enabledBy",
800
+ type: "address",
801
+ indexed: true,
802
+ internalType: "address",
803
+ },
804
+ ],
805
+ anonymous: false,
806
+ },
807
+ {
808
+ type: "event",
809
+ name: "EmergencyWithdrawal",
810
+ inputs: [
811
+ {
812
+ name: "token",
813
+ type: "address",
814
+ indexed: true,
815
+ internalType: "address",
816
+ },
817
+ {
818
+ name: "amount",
819
+ type: "uint256",
820
+ indexed: false,
821
+ internalType: "uint256",
822
+ },
823
+ {
824
+ name: "recipient",
825
+ type: "address",
826
+ indexed: true,
827
+ internalType: "address",
828
+ },
829
+ ],
830
+ anonymous: false,
831
+ },
832
+ {
833
+ type: "event",
834
+ name: "Initialized",
835
+ inputs: [
836
+ {
837
+ name: "version",
838
+ type: "uint64",
839
+ indexed: false,
840
+ internalType: "uint64",
841
+ },
842
+ ],
843
+ anonymous: false,
844
+ },
845
+ {
846
+ type: "event",
847
+ name: "LockYieldAaveBatchSettled",
848
+ inputs: [
849
+ {
850
+ name: "owner",
851
+ type: "address",
852
+ indexed: true,
853
+ internalType: "address",
854
+ },
855
+ {
856
+ name: "positionIds",
857
+ type: "uint96[]",
858
+ indexed: false,
859
+ internalType: "uint96[]",
860
+ },
861
+ {
862
+ name: "totalPayout",
863
+ type: "uint256",
864
+ indexed: false,
865
+ internalType: "uint256",
866
+ },
867
+ ],
868
+ anonymous: false,
869
+ },
870
+ {
871
+ type: "event",
872
+ name: "LockYieldAaveOpened",
873
+ inputs: [
874
+ {
875
+ name: "positionId",
876
+ type: "uint96",
877
+ indexed: true,
878
+ internalType: "uint96",
879
+ },
880
+ {
881
+ name: "owner",
882
+ type: "address",
883
+ indexed: true,
884
+ internalType: "address",
885
+ },
886
+ {
887
+ name: "poolId",
888
+ type: "bytes32",
889
+ indexed: true,
890
+ internalType: "bytes32",
891
+ },
892
+ {
893
+ name: "principal",
894
+ type: "uint256",
895
+ indexed: false,
896
+ internalType: "uint256",
897
+ },
898
+ {
899
+ name: "notional",
900
+ type: "uint256",
901
+ indexed: false,
902
+ internalType: "uint256",
903
+ },
904
+ {
905
+ name: "feeBuffer",
906
+ type: "uint256",
907
+ indexed: false,
908
+ internalType: "uint256",
909
+ },
910
+ {
911
+ name: "entryTick",
912
+ type: "int24",
913
+ indexed: false,
914
+ internalType: "int24",
915
+ },
916
+ {
917
+ name: "lockedFixedRateWad",
918
+ type: "uint256",
919
+ indexed: false,
920
+ internalType: "uint256",
921
+ },
922
+ {
923
+ name: "maturity",
924
+ type: "uint256",
925
+ indexed: false,
926
+ internalType: "uint256",
927
+ },
928
+ ],
929
+ anonymous: false,
930
+ },
931
+ {
932
+ type: "event",
933
+ name: "LockYieldAaveSettled",
934
+ inputs: [
935
+ {
936
+ name: "positionId",
937
+ type: "uint96",
938
+ indexed: true,
939
+ internalType: "uint96",
940
+ },
941
+ {
942
+ name: "owner",
943
+ type: "address",
944
+ indexed: true,
945
+ internalType: "address",
946
+ },
947
+ {
948
+ name: "payout",
949
+ type: "uint256",
950
+ indexed: false,
951
+ internalType: "uint256",
952
+ },
953
+ ],
954
+ anonymous: false,
955
+ },
956
+ {
957
+ type: "event",
958
+ name: "OwnershipTransferStarted",
959
+ inputs: [
960
+ {
961
+ name: "previousOwner",
962
+ type: "address",
963
+ indexed: true,
964
+ internalType: "address",
965
+ },
966
+ {
967
+ name: "newOwner",
968
+ type: "address",
969
+ indexed: true,
970
+ internalType: "address",
971
+ },
972
+ ],
973
+ anonymous: false,
974
+ },
975
+ {
976
+ type: "event",
977
+ name: "OwnershipTransferred",
978
+ inputs: [
979
+ {
980
+ name: "previousOwner",
981
+ type: "address",
982
+ indexed: true,
983
+ internalType: "address",
984
+ },
985
+ {
986
+ name: "newOwner",
987
+ type: "address",
988
+ indexed: true,
989
+ internalType: "address",
990
+ },
991
+ ],
992
+ anonymous: false,
993
+ },
994
+ {
995
+ type: "event",
996
+ name: "Paused",
997
+ inputs: [
998
+ {
999
+ name: "pausedBy",
1000
+ type: "address",
1001
+ indexed: true,
1002
+ internalType: "address",
1003
+ },
1004
+ ],
1005
+ anonymous: false,
1006
+ },
1007
+ {
1008
+ type: "event",
1009
+ name: "PoolApproved",
1010
+ inputs: [
1011
+ {
1012
+ name: "poolId",
1013
+ type: "bytes32",
1014
+ indexed: true,
1015
+ internalType: "bytes32",
1016
+ },
1017
+ {
1018
+ name: "approvedBy",
1019
+ type: "address",
1020
+ indexed: true,
1021
+ internalType: "address",
1022
+ },
1023
+ ],
1024
+ anonymous: false,
1025
+ },
1026
+ {
1027
+ type: "event",
1028
+ name: "PoolRevoked",
1029
+ inputs: [
1030
+ {
1031
+ name: "poolId",
1032
+ type: "bytes32",
1033
+ indexed: true,
1034
+ internalType: "bytes32",
1035
+ },
1036
+ {
1037
+ name: "revokedBy",
1038
+ type: "address",
1039
+ indexed: true,
1040
+ internalType: "address",
1041
+ },
1042
+ ],
1043
+ anonymous: false,
1044
+ },
1045
+ {
1046
+ type: "event",
1047
+ name: "StaticTokenSet",
1048
+ inputs: [
1049
+ {
1050
+ name: "underlying",
1051
+ type: "address",
1052
+ indexed: true,
1053
+ internalType: "address",
1054
+ },
1055
+ {
1056
+ name: "staticToken",
1057
+ type: "address",
1058
+ indexed: true,
1059
+ internalType: "address",
1060
+ },
1061
+ {
1062
+ name: "setBy",
1063
+ type: "address",
1064
+ indexed: true,
1065
+ internalType: "address",
1066
+ },
1067
+ ],
1068
+ anonymous: false,
1069
+ },
1070
+ {
1071
+ type: "event",
1072
+ name: "Unpaused",
1073
+ inputs: [
1074
+ {
1075
+ name: "unpausedBy",
1076
+ type: "address",
1077
+ indexed: true,
1078
+ internalType: "address",
1079
+ },
1080
+ ],
1081
+ anonymous: false,
1082
+ },
1083
+ {
1084
+ type: "error",
1085
+ name: "AddressEmptyCode",
1086
+ inputs: [
1087
+ {
1088
+ name: "target",
1089
+ type: "address",
1090
+ internalType: "address",
1091
+ },
1092
+ ],
1093
+ },
1094
+ {
1095
+ type: "error",
1096
+ name: "AddressInsufficientBalance",
1097
+ inputs: [
1098
+ {
1099
+ name: "account",
1100
+ type: "address",
1101
+ internalType: "address",
1102
+ },
1103
+ ],
1104
+ },
1105
+ {
1106
+ type: "error",
1107
+ name: "FailedInnerCall",
1108
+ inputs: [],
1109
+ },
1110
+ {
1111
+ type: "error",
1112
+ name: "InvalidInitialization",
1113
+ inputs: [],
1114
+ },
1115
+ {
1116
+ type: "error",
1117
+ name: "LockYieldAaveAavePoolZero",
1118
+ inputs: [],
1119
+ },
1120
+ {
1121
+ type: "error",
1122
+ name: "LockYieldAaveBatchTooLarge",
1123
+ inputs: [
1124
+ {
1125
+ name: "size",
1126
+ type: "uint256",
1127
+ internalType: "uint256",
1128
+ },
1129
+ {
1130
+ name: "maxSize",
1131
+ type: "uint256",
1132
+ internalType: "uint256",
1133
+ },
1134
+ ],
1135
+ },
1136
+ {
1137
+ type: "error",
1138
+ name: "LockYieldAaveCollateralEngineZero",
1139
+ inputs: [],
1140
+ },
1141
+ {
1142
+ type: "error",
1143
+ name: "LockYieldAaveEmergencyNotEnabled",
1144
+ inputs: [],
1145
+ },
1146
+ {
1147
+ type: "error",
1148
+ name: "LockYieldAaveEmergencyZeroAmount",
1149
+ inputs: [],
1150
+ },
1151
+ {
1152
+ type: "error",
1153
+ name: "LockYieldAaveEmptyBatch",
1154
+ inputs: [],
1155
+ },
1156
+ {
1157
+ type: "error",
1158
+ name: "LockYieldAaveFeeBufferExceedsPrincipal",
1159
+ inputs: [],
1160
+ },
1161
+ {
1162
+ type: "error",
1163
+ name: "LockYieldAaveInvalidTerm",
1164
+ inputs: [],
1165
+ },
1166
+ {
1167
+ type: "error",
1168
+ name: "LockYieldAaveInvalidTickRange",
1169
+ inputs: [],
1170
+ },
1171
+ {
1172
+ type: "error",
1173
+ name: "LockYieldAaveNotionalMismatch",
1174
+ inputs: [
1175
+ {
1176
+ name: "executedNotional",
1177
+ type: "uint256",
1178
+ internalType: "uint256",
1179
+ },
1180
+ {
1181
+ name: "expectedNotional",
1182
+ type: "uint256",
1183
+ internalType: "uint256",
1184
+ },
1185
+ ],
1186
+ },
1187
+ {
1188
+ type: "error",
1189
+ name: "LockYieldAaveOwnerZero",
1190
+ inputs: [],
1191
+ },
1192
+ {
1193
+ type: "error",
1194
+ name: "LockYieldAavePaused",
1195
+ inputs: [],
1196
+ },
1197
+ {
1198
+ type: "error",
1199
+ name: "LockYieldAavePoolAlreadyApproved",
1200
+ inputs: [
1201
+ {
1202
+ name: "poolId",
1203
+ type: "bytes32",
1204
+ internalType: "bytes32",
1205
+ },
1206
+ ],
1207
+ },
1208
+ {
1209
+ type: "error",
1210
+ name: "LockYieldAavePoolExpired",
1211
+ inputs: [],
1212
+ },
1213
+ {
1214
+ type: "error",
1215
+ name: "LockYieldAavePoolNotApproved",
1216
+ inputs: [
1217
+ {
1218
+ name: "poolId",
1219
+ type: "bytes32",
1220
+ internalType: "bytes32",
1221
+ },
1222
+ ],
1223
+ },
1224
+ {
1225
+ type: "error",
1226
+ name: "LockYieldAavePoolNotApprovedForRevoke",
1227
+ inputs: [
1228
+ {
1229
+ name: "poolId",
1230
+ type: "bytes32",
1231
+ internalType: "bytes32",
1232
+ },
1233
+ ],
1234
+ },
1235
+ {
1236
+ type: "error",
1237
+ name: "LockYieldAavePoolNotInitialized",
1238
+ inputs: [],
1239
+ },
1240
+ {
1241
+ type: "error",
1242
+ name: "LockYieldAavePoolNotMatured",
1243
+ inputs: [],
1244
+ },
1245
+ {
1246
+ type: "error",
1247
+ name: "LockYieldAavePositionAlreadySettled",
1248
+ inputs: [],
1249
+ },
1250
+ {
1251
+ type: "error",
1252
+ name: "LockYieldAavePositionIdOverflow",
1253
+ inputs: [],
1254
+ },
1255
+ {
1256
+ type: "error",
1257
+ name: "LockYieldAavePositionNotFound",
1258
+ inputs: [],
1259
+ },
1260
+ {
1261
+ type: "error",
1262
+ name: "LockYieldAavePositionNotSettled",
1263
+ inputs: [],
1264
+ },
1265
+ {
1266
+ type: "error",
1267
+ name: "LockYieldAavePrincipalTooSmall",
1268
+ inputs: [
1269
+ {
1270
+ name: "principal",
1271
+ type: "uint256",
1272
+ internalType: "uint256",
1273
+ },
1274
+ {
1275
+ name: "minRequired",
1276
+ type: "uint256",
1277
+ internalType: "uint256",
1278
+ },
1279
+ ],
1280
+ },
1281
+ {
1282
+ type: "error",
1283
+ name: "LockYieldAaveStaticTokenInvalid",
1284
+ inputs: [
1285
+ {
1286
+ name: "underlying",
1287
+ type: "address",
1288
+ internalType: "address",
1289
+ },
1290
+ {
1291
+ name: "staticToken",
1292
+ type: "address",
1293
+ internalType: "address",
1294
+ },
1295
+ ],
1296
+ },
1297
+ {
1298
+ type: "error",
1299
+ name: "LockYieldAaveStaticTokenNotSet",
1300
+ inputs: [
1301
+ {
1302
+ name: "underlying",
1303
+ type: "address",
1304
+ internalType: "address",
1305
+ },
1306
+ ],
1307
+ },
1308
+ {
1309
+ type: "error",
1310
+ name: "LockYieldAaveStaticTokenZero",
1311
+ inputs: [],
1312
+ },
1313
+ {
1314
+ type: "error",
1315
+ name: "LockYieldAaveUnauthorized",
1316
+ inputs: [],
1317
+ },
1318
+ {
1319
+ type: "error",
1320
+ name: "LockYieldAaveUnderlyingZero",
1321
+ inputs: [],
1322
+ },
1323
+ {
1324
+ type: "error",
1325
+ name: "LockYieldAaveUnsupportedPool",
1326
+ inputs: [],
1327
+ },
1328
+ {
1329
+ type: "error",
1330
+ name: "LockYieldAaveVAMMManagerZero",
1331
+ inputs: [],
1332
+ },
1333
+ {
1334
+ type: "error",
1335
+ name: "LockYieldAaveZeroPrincipal",
1336
+ inputs: [],
1337
+ },
1338
+ {
1339
+ type: "error",
1340
+ name: "NotInitializing",
1341
+ inputs: [],
1342
+ },
1343
+ {
1344
+ type: "error",
1345
+ name: "OwnableInvalidOwner",
1346
+ inputs: [
1347
+ {
1348
+ name: "owner",
1349
+ type: "address",
1350
+ internalType: "address",
1351
+ },
1352
+ ],
1353
+ },
1354
+ {
1355
+ type: "error",
1356
+ name: "OwnableUnauthorizedAccount",
1357
+ inputs: [
1358
+ {
1359
+ name: "account",
1360
+ type: "address",
1361
+ internalType: "address",
1362
+ },
1363
+ ],
1364
+ },
1365
+ {
1366
+ type: "error",
1367
+ name: "PRBMathUD60x18__FromUintOverflow",
1368
+ inputs: [
1369
+ {
1370
+ name: "x",
1371
+ type: "uint256",
1372
+ internalType: "uint256",
1373
+ },
1374
+ ],
1375
+ },
1376
+ {
1377
+ type: "error",
1378
+ name: "PRBMath__MulDivOverflow",
1379
+ inputs: [
1380
+ {
1381
+ name: "prod1",
1382
+ type: "uint256",
1383
+ internalType: "uint256",
1384
+ },
1385
+ {
1386
+ name: "denominator",
1387
+ type: "uint256",
1388
+ internalType: "uint256",
1389
+ },
1390
+ ],
1391
+ },
1392
+ {
1393
+ type: "error",
1394
+ name: "ReentrancyGuardReentrantCall",
1395
+ inputs: [],
1396
+ },
1397
+ {
1398
+ type: "error",
1399
+ name: "SafeCastOverflowedUintToInt",
1400
+ inputs: [
1401
+ {
1402
+ name: "value",
1403
+ type: "uint256",
1404
+ internalType: "uint256",
1405
+ },
1406
+ ],
1407
+ },
1408
+ {
1409
+ type: "error",
1410
+ name: "SafeERC20FailedOperation",
1411
+ inputs: [
1412
+ {
1413
+ name: "token",
1414
+ type: "address",
1415
+ internalType: "address",
1416
+ },
1417
+ ],
1418
+ },
1419
+ ] as const;
1420
+
1421
+ const _bytecode =
1422
+ "0x6080806040523460aa575f5160206134685f395f51905f525460ff8160401c16609b576002600160401b03196001600160401b038216016049575b6040516133b990816100af8239f35b6001600160401b0319166001600160401b039081175f5160206134685f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80603a565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe60806040526004361015610011575f80fd5b5f5f3560e01c8063067f4ddd14611d2a5780630e4000a014611c8a5780630f8d84e114611b1e5780631a0dcd3014611aa15780633f4ba83a14611a40578063551512de1461198457806365f2480814610e4f578063715018a614610dd057806379ba509714610d805780638456cb5914610d1a5780638da5cb5b14610ce557806394538675146104f5578063a8a0d92d14610c85578063b187bd2614610c55578063c0e1e68114610c22578063d5a6354214610be5578063d7e0abdb14610a36578063e0a41a2714610803578063e30c3978146107ce578063e42c4e6314610741578063f0122b3714610580578063f2fde38b146104fa578063f867d46b146104f5578063f8c8765e14610243578063fc38c2f41461019a5763ff03213f14610138575f80fd5b34610197576020366003190112610197576001600160601b039061015a611d56565b9061016361234f565b5050165f525f5160206133045f395f51905f5260205261026061018860405f206120cd565b6101956040518092611ebe565bf35b80fd5b50346101975760c0366003190112610197576101b461240c565b6101c56101c03661205a565b61243f565b8082525f5160206133445f395f51905f5260205260ff604083205416610231578082525f5160206133445f395f51905f5260205260408220805460ff1916600117905533907f5a48735b66a67d6e5b64076ae25cde617540a5627c28fdf1beeac34b021a0a6f8380a380f35b631b6b4fef60e11b8252600452602490fd5b50346101975760803660031901126101975761025d611d6c565b6024356001600160a01b0381169291908390036104f1576044356001600160a01b03811691908290036104ed576064356001600160a01b038116908190036104e9575f5160206133245f395f51905f52549260ff8460401c16159367ffffffffffffffff8116801590816104e1575b60011490816104d7575b1590816104ce575b506104bf5767ffffffffffffffff1981166001175f5160206133245f395f51905f525584610493575b506001600160a01b03831615610484578515610475578015610466578115610457577fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc480546001600160a01b03199081166001600160a01b03988916179091555f5160206132e45f395f51905f5280548216928816929092179091555f5160206132a45f395f51905f52805490911691909516179093555f5160206132645f395f51905f52805460ff1916905590916103cf906103c2613116565b6103ca613116565b612ca5565b6103d7613116565b6103df613116565b6103e7613116565b60015f5160206132c45f395f51905f52556103ff5780f35b68ff0000000000000000195f5160206133245f395f51905f5254165f5160206133245f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a180f35b63392f82f760e01b8552600485fd5b632c2d49b760e11b8552600485fd5b63e0da0b6560e01b8552600485fd5b637d95d77b60e11b8552600485fd5b68ffffffffffffffffff191668010000000000000001175f5160206133245f395f51905f52555f610307565b63f92ee8a960e01b8652600486fd5b9050155f6102de565b303b1591506102d6565b8691506102cc565b8380fd5b8280fd5b5080fd5b611d82565b503461019757602036600319011261019757610514611d6c565b61051c61240c565b5f5160206133645f395f51905f5280546001600160a01b0319166001600160a01b039283169081179091555f5160206132845f395f51905f52549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b50346101975760203660031901126101975761059a611d56565b8160606040516105a981612000565b6105b161234f565b815282602082015282604082015201526001600160601b0381165f525f5160206133045f395f51905f526020526105ea60405f206120cd565b5f5160206132e45f395f51905f525481519192916001600160a01b03918216911615610732576040906020840190610622825161243f565b9160018060a01b03905151166001600160601b0384519561064287611fb3565b3087521660208601528385015261010085015160020b9161012086015160020b94610682855196879586948594630fba106d60e21b8652600486016123e1565b03915afa801561072757839184916106e9575b506102c093506101a08301519160606040516106b081612000565b8581526020810192835260408101938452019283526106d26040518095611ebe565b5161026084015251610280830152516102a0820152f35b9150506040813d60401161071f575b8161070560409383612038565b810103126104ed576102c09250602081519101515f610695565b3d91506106f8565b6040513d85823e3d90fd5b63f1f23ea560e01b8452600484fd5b503461019757806003193601126101975761075a61240c565b61010161ffff195f5160206132645f395f51905f525416175f5160206132645f395f51905f5255337f4aca645697a89aba3407ad829773ab3d4a6c918cd248b78b00e67476f925ac968280a2337f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2588280a280f35b50346101975780600319360112610197575f5160206133645f395f51905f52546040516001600160a01b039091168152602090f35b50346101975760403660031901126101975761081d611d6c565b602435906001600160a01b038216908183036104e95761083b61240c565b6001600160a01b038116928315610a27578215610a18576040516338d52e0f60e01b8152602081600481875afa801561099f578386849289906109d7575b61088d94506001600160a01b031614612261565b604051635060f8af60e11b815291602083600481875afa92831561099f5760049360209188916109aa575b506040516358b50cef60e11b815294859182906001600160a01b03165afa801561099f578590879061095e575b6108f994506001600160a01b031614612261565b5f8281527fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fccb6020526040902080546001600160a01b0319168217905533917f9e14bbcd0b2f92dfa5fb4c248e720c2ce141f13c81105eb91e045184fcfb42b18480a480f35b50506020833d602011610997575b8161097960209383612038565b81010312610993578461098e6108f99461224d565b6108e5565b8580fd5b3d915061096c565b6040513d88823e3d90fd5b6109ca9150823d84116109d0575b6109c28183612038565b81019061228e565b5f6108b8565b503d6109b8565b505050506020813d602011610a10575b816109f460209383612038565b8101031261099357818386610a0b61088d9461224d565b610879565b3d91506109e7565b633533f7ef60e01b8552600485fd5b631162291b60e31b8552600485fd5b5034610197576020366003190112610197576004359067ffffffffffffffff821161019757366023830112156101975781600401359067ffffffffffffffff8211610197573660248360051b8501011161019757610a92612533565b8115610bd757600a8211610bc0575f5160206132e45f395f51905f52547fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc48054929485936001600160a01b0390811693169190845b86881015610b2d5760248860051b830101356001600160601b0381168103610b2957600191610b1b610b219288888861259d565b90612342565b970196610ae7565b8680fd5b92509250506040519084604083016040845252602460608301930184955b808710610b96575050907f8fd3321de202a9a5dec58130f60443cd8062792b2130b41f64596918bf192d8b9160208201528033930390a260015f5160206132c45f395f51905f525580f35b909384356001600160601b038116809103610b295760208281926001945201950196019590610b4b565b604491633a54a90360e01b8252600452600a602452fd5b6208105960eb1b8152600490fd5b50346101975760203660031901126101975760ff6040826020935060043581525f5160206133445f395f51905f5284522054166040519015158152f35b503461019757806003193601126101975750602060ff5f5160206132645f395f51905f525460081c166040519015158152f35b503461019757806003193601126101975750602060ff5f5160206132645f395f51905f5254166040519015158152f35b503461019757366003190160e081126104f15760c01361019757610cce610cc6602092610cb142612e88565b606435808210610cd65750505b608435612ec7565b60c435612ef4565b604051908152f35b610ce092506122ad565b610cbe565b50346101975780600319360112610197575f5160206132845f395f51905f52546040516001600160a01b039091168152602090f35b5034610197578060031936011261019757610d3361240c565b600160ff195f5160206132645f395f51905f525416175f5160206132645f395f51905f5255337f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2588280a280f35b50346101975780600319360112610197575f5160206133645f395f51905f5254336001600160a01b0390911603610dbd57610dba33612ca5565b80f35b63118cdaa760e01b815233600452602490fd5b5034610197578060031936011261019757610de961240c565b5f5160206133645f395f51905f5280546001600160a01b03199081169091555f5160206132845f395f51905f528054918216905581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50346117c657366003190161010081126117c65760c0136117c65760e4356001600160a01b0381169060c435908290036117c657610e8b612533565b60ff5f5160206132645f395f51905f525416611975576103e8811061195d575f5160206132e45f395f51905f52545f5160206132a45f395f51905f5254926001600160a01b0384811693600435808316949092168483036117c6576024356001600160a01b03811694908581036117c657506064359160443583111561194e57604051631249a6bd60e01b8152610f24600482016121ef565b60208160c4818c5afa9081156117bb575f9161191f575b5015611910576040516358b50cef60e11b81526020816004818a5afa80156117bb5788915f916118d4575b506001600160a01b0316036118c5575f8781527fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fccb60205260409020546001600160a01b03169586156118b2576040516338d52e0f60e01b81526020816004818b5afa80156117bb57878a8a925f90611871575b610fed94506001600160a01b031614612261565b604051635060f8af60e11b81526020816004818b5afa9081156117bb5761102992899289925f91611852575b506001600160a01b031614612261565b6110356101c03661205a565b94855f525f5160206133445f395f51905f5260205260ff60405f2054161561183f5761106042612e88565b8481101561183057611078610cbe61107e92876122ad565b86612ef4565b92858410156118215761109184876122ad565b926001600160601b038c60a01c146118125760018c60a01c01926001600160601b0384116117fe575f936001600160601b0360a01b9060a01b168c175f5160206132a45f395f51905f52556111166040516323b872dd60e01b602082015233602482015230604482015289606482015260648152611110608482612038565b8c612e1d565b6040519a6111238c611fb3565b308c528d60a01c60208d01528060408d0152611140868c83612b7a565b60208b60846040518098819363273cd89560e01b83528b6004840152306024840152816044840152600160648401525af19485156117bb575f956117ca575b5061118b85848d612b7a565b61119485612c6c565b833b156117c6575f8c8e6111bc60405194859384936341bca9ff60e11b8552600485016122e8565b038183885af180156117bb576117a1575b50906111dd8f9392838991612b7a565b6111e687612c6c565b823b156104e957611212928492838f604051968795869485936341bca9ff60e11b8552600485016122e8565b03925af180156117965761177d575b505061122c83612c6c565b906040519960a08b018b811067ffffffffffffffff82111761176957908e9695949392916040528b5260208b0191825260408b0190815260608b019062010deb19825260808c019262010dec84526040519c8d630fcfb37560e11b90528d60048101611297906121ef565b60c4019051906112a6916122ba565b516101248d0152516001600160a01b03166101448c015251600290810b6101648c01529051900b6101848a015283898b815a936101a49260c095f1998a1561175e5784908590869b879d611716575b5060608a602460405180948193639589619560e01b835260048301525afa96871561170a579661169f575b5061132a90612c8f565b90838203611688578d9261135261134d8f9394611348600e96612c8f565b612f9e565b613074565b9a6040519161136083611fe3565b33835261136c3661205a565b60208401528a604084015286606084015260808301528660a08301528860c08301524260e083015262010deb1961010083015262010dec6101208301528760020b610140830152610160820194855261018082019081526001600160601b036101a08301938d855260a01c165f525f5160206133045f395f51905f5260205260405f209460018060a01b0360018060a01b03845116166001600160601b0360a01b87541617865560a06020840151600180831b038151166001890190600180851b03166001600160601b03841b825416179055600180831b036020820151166002890190600180851b03166001600160601b03841b825416179055604081015160038901556060810151600489015560808101516005890155015160020b600687019062ffffff198254169062ffffff1617905560408301516007870155606083015160088701556080830151600987015560a0830151600a87015560c0830151600b87015560e0830151600c870155600d86019261010081015160020b62ffffff198554169062ffffff161784556101208101519065ffffff000000610140865492015160301b68ffffff000000000000169260181b169068ffffffffffff00000019161717835551151560ff60481b83549160481b169060ff60481b191617825551815490600160501b600160f01b039060501b169069ffffffffffffffffffff61ffff60f01b01161790555191015560018060a01b0333165f527fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc960205260405f2080549b680100000000000000008d101561167457506115db8c6115fc92600160809f01815561230e565b8c60a01c906001600160601b038084549260031b9316831b921b1916179055565b6040519485526020850152604084015260020b6060830152838883015260a082015233907f204dc301b61d7381e0863488f5311633a0360df015089db87e218585b81ee05460c08860a01c92a460015f5160206132c45f395f51905f52556040519360a01c8452602084015260408301526060820152f35b634e487b7160e01b81526041600452602490fd5b60448e8584631e5cfac760e01b8352600452602452fd5b9095506060813d606011611702575b816116bb60609383612038565b810103126116fe5780518060020b81036116fa5760208201516001600160a01b038116036116fa576116f2604061132a930161224d565b509590611320565b8e80fd5b8d80fd5b3d91506116ae565b604051903d90823e3d90fd5b9b509b50505060c0893d60c011611756575b8161173560c09383612038565b810103126104e957885160208a015160408b015160a0909b01519b5f6112f5565b3d9150611728565b6040513d86823e3d90fd5b634e487b7160e01b8f52604160045260248ffd5b8161178791612038565b611792578b5f611221565b8b80fd5b6040513d84823e3d90fd5b879f50906117b15f859493612038565b5f9f5090916111cd565b6040513d5f823e3d90fd5b5f80fd5b9094506020813d6020116117f6575b816117e660209383612038565b810103126117c65751935f61117f565b3d91506117d9565b634e487b7160e01b5f52601160045260245ffd5b6333fe740760e01b5f5260045ffd5b631f07871160e11b5f5260045ffd5b6315d5182b60e21b5f5260045ffd5b8563decce52360e01b5f5260045260245ffd5b61186b915060203d6020116109d0576109c28183612038565b5f611019565b505050506020813d6020116118aa575b8161188e60209383612038565b810103126117c65787878a6118a5610fed9461224d565b610fd9565b3d9150611881565b876316024ed560e01b5f5260045260245ffd5b6326ad56f960e21b5f5260045ffd5b9150506020813d602011611908575b816118f060209383612038565b810103126117c657611902889161224d565b5f610f66565b3d91506118e3565b632033ec0960e21b5f5260045ffd5b611941915060203d602011611947575b6119398183612038565b8101906121d7565b5f610f3b565b503d61192f565b638b1db1a160e01b5f5260045ffd5b630d084d9760e11b5f526004526103e860245260445ffd5b636c12d3a760e01b5f5260045ffd5b346117c65760603660031901126117c65761199d611d6c565b6044356001600160a01b03811691602435908383036117c6576119be61240c565b60ff5f5160206132645f395f51905f525460081c1615611a31578115611a22576001600160a01b0316917f3ab9db27a4cdd8c603a752b62d5fbd93b4b3509fe2596708e9688e42bbac357691602091611a1990829086612b37565b604051908152a3005b630537ac2960e31b5f5260045ffd5b63c043ee0b60e01b5f5260045ffd5b346117c6575f3660031901126117c657611a5861240c565b60ff195f5160206132645f395f51905f5254165f5160206132645f395f51905f5255337f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa5f80a2005b346117c65760203660031901126117c657611b0a611abd611d56565b611ac5612533565b5f5160206132e45f395f51905f52547fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc480546001600160a01b0390811692169061259d565b5060015f5160206132c45f395f51905f5255005b346117c65760203660031901126117c657611b37611d56565b6001600160601b0381165f525f5160206133045f395f51905f52602052611b6060405f206120cd565b80516001600160a01b031615611c7b576101009060018060a01b035f5160206132e45f395f51905f52541660208201611b99815161243f565b9060018060a01b03905151166001600160601b0360405196611bba88611fb3565b30885216602087015260408601526101208484015160020b93015160020b94611bf9604051968795869485946330ecafc360e21b8652600486016123e1565b03915afa80156117bb576020915f91611c4c575b506001600160801b03815116159081611c3f575b81611c32575b506040519015158152f35b6080915001511582611c27565b6060810151159150611c21565b611c6e91506101003d8111611c74575b611c668183612038565b8101906124aa565b82611c0d565b503d611c5c565b63f1f23ea560e01b5f5260045ffd5b346117c65760c03660031901126117c657611ca361240c565b611caf6101c03661205a565b805f525f5160206133445f395f51905f5260205260ff60405f20541615611d1857805f525f5160206133445f395f51905f5260205260405f2060ff19815416905533907fb0799a3aefa8b22203b0f94a4ad6e1eb6492ea04be6d94ace655ed87a235bba85f80a3005b6308e50c2d60e21b5f5260045260245ffd5b346117c6575f3660031901126117c65760205f5160206132a45f395f51905f525460a01c604051908152f35b600435906001600160601b03821682036117c657565b600435906001600160a01b03821682036117c657565b346117c65760203660031901126117c657611d9b611d6c565b60018060a01b03165f527fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc960205260405f2060405190818260208354928381520180935f5260205f20925f905b806001830110611e8d57611e11945491818110611e73575b10611e5c575b509392930382612038565b604051918291602083019060208452518091526040830191905f5b818110611e3a575050500390f35b82516001600160601b0316845285945060209384019390920191600101611e2c565b60601c6001600160601b031681526020015f611e06565b9260206001916001600160601b0385168152019301611e00565b91600291935060406001916001600160601b038754818116835260601c166020820152019401920185929391611de8565b6101a06102409160018060a01b03815116845260a06020820151600180831b038151166020870152600180831b0360208201511660408701526040810151606087015260608101516080870152608081015182870152015160020b60c0850152604081015160e08501526060810151610100850152608081015161012085015260a081015161014085015260c081015161016085015260e081015161018085015261010081015160020b8285015261012081015160020b6101c085015261014081015160020b6101e0850152610160810151151561020085015260018060a01b03610180820151166102208501520151910152565b6060810190811067ffffffffffffffff821117611fcf57604052565b634e487b7160e01b5f52604160045260245ffd5b6101c0810190811067ffffffffffffffff821117611fcf57604052565b6080810190811067ffffffffffffffff821117611fcf57604052565b60c0810190811067ffffffffffffffff821117611fcf57604052565b90601f8019910116810190811067ffffffffffffffff821117611fcf57604052565b60c09060031901126117c657604051906120738261201c565b816004356001600160a01b03811681036117c65781526024356001600160a01b03811681036117c657602082015260443560408201526064356060820152608435608082015260a435908160020b82036117c65760a00152565b906040516120da81611fe3565b6101a0600e829460018060a01b0381541684526040516120f98161201c565b60018060a01b03600183015416815260018060a01b036002830154166020820152600382015460408201526004820154606082015260058201546080820152600682015460020b60a08201526020850152600781015460408501526008810154606085015260098101546080850152600a81015460a0850152600b81015460c0850152600c81015460e0850152600d8101548060020b6101008601528060181c60020b6101208601528060301c60020b61014086015260ff8160481c16151561016086015260018060a01b039060501c166101808501520154910152565b908160209103126117c6575180151581036117c65790565b6004356001600160a01b038116908190036117c65781526024356001600160a01b038116908190036117c657602082015260443560408201526064356060820152608435608082015260a435908160020b8092036117c65760a00152565b51906001600160a01b03821682036117c657565b1561226a575050565b639aa2d62760e01b5f9081526001600160a01b039182166004529116602452604490fd5b908160209103126117c657516001600160a01b03811681036117c65790565b919082039182116117fe57565b80516001600160a01b0390811683526020808301516001600160601b03169084015260409182015116910152565b6080919493926122fc8260a08101976122ba565b6001600160a01b031660608201520152565b919091805483101561232e575f52600c600160205f2084821c0193160290565b634e487b7160e01b5f52603260045260245ffd5b919082018092116117fe57565b6040519061235c82611fe3565b5f6101a0838281526040516123708161201c565b8381528360208201528360408201528360608201528360808201528360a082015260208201528260408201528260608201528260808201528260a08201528260c08201528260e082015282610100820152826101208201528261014082015282610160820152826101808201520152565b9260a092959491956123f78560c08101986122ba565b606085015260020b608084015260020b910152565b5f5160206132845f395f51905f52546001600160a01b0316330361242c57565b63118cdaa760e01b5f523360045260245ffd5b60018060a01b038151169060018060a01b0360208201511690604081015190606081015160a0608083015192015160020b92604051946020860196875260408601526060850152608084015260a083015260c082015260c081526124a460e082612038565b51902090565b90816101009103126117c65760405190610100820182811067ffffffffffffffff821117611fcf576040528051906001600160801b03821682036117c65760e09183526020810151602084015260408101516040840152606081015160608401526080810151608084015260a081015160a084015260c081015160c0840152015160e082015290565b60025f5160206132c45f395f51905f52541461255c5760025f5160206132c45f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b90929160609061257f8360808101966122ba565b6001600160a01b0316910152565b600160ff1b81146117fe575f0390565b60049094939291946001600160601b0384165f520160205260405f205f926125c4826120cd565b80519093906001600160a01b031615611c7b5783516001600160a01b03163303612b2857610160840151612b19576125fb42612e88565b60c085015111612b0a57602084019660018060a01b0388515116956040519261262384611fb3565b3084526001600160601b0385169788602086015260408501526126468a5161243f565b9260018060a01b0316926101008089015160020b6101208a015160020b9261268360405194859384936330ecafc360e21b85528b600486016123e1565b0381875afa9081156117bb575f91612aeb575b506001600160801b03815116159081612ade575b81612ad1575b5015612ac2576101808701516001600160a01b0316938415612aac575b604051630ea97a4f60e01b815294602086806126ed84866004840161256b565b0381885afa9182156117bb578c965f93612a75575b508215159687612a09575b5151604051630ea97a4f60e01b815296906020908890819061273c906001600160a01b0316866004840161256b565b0381845afa96871561099f5786976129d5575b5086612954575b50508395612805575b5050505092612773600d926127ab95612342565b9788806127e2575b505001805469ff0000000000000000001916690100000000000000000017905582516001600160a01b0316612d10565b60018060a01b03905116907f23a03876452a9be23514e0d18b510f16592780f5868e2f303efcd9fabed4449c6020604051868152a3565b90515186516127fe92916001600160a01b039182169116612b37565b5f8861277b565b8b51602001519495509293919290916001600160a01b03918216911681036128c15750895151604051631a4ca37b60e21b81526001600160a01b03918216600482015260248101929092523060448301529091602091839160649183918791165af191821561170a579161288b575b5092612773600d926127ab95905b9295819461275f565b9390506020843d6020116128b9575b816128a760209383612038565b810103126117c6579251612773612874565b3d915061289a565b839250608460409283989798519485938492632f92828560e21b84526004840152306024840152306044840152600160648401525af191821561170a578092612919575b505091612773600d926127ab959490612882565b9091506040823d60401161294c575b8161293560409383612038565b81010312610197575060200151612773600d612905565b3d9150612928565b8d51516001600160a01b031661297161296c89612c6c565b61258d565b92823b156129d1579161299f9391888094604051968795869485936341bca9ff60e11b8552600485016122e8565b03925af180156129c6579085911561275657816129bb91612038565b6104e957835f612756565b6040513d87823e3d90fd5b8780fd5b9096506020813d602011612a01575b816129f160209383612038565b810103126117c65751955f61274f565b3d91506129e4565b50612a1661296c84612c6c565b95803b156117c6575f612a3f97604051809981926341bca9ff60e11b83528787600485016122e8565b038183855af180156117bb5761273c978f91612a5f575b5090965061270d565b612a6c9197505f90612038565b5f956020612a56565b965091506020863d602011612aa4575b81612a9260209383612038565b810103126117c6578b9551915f612702565b3d9150612a85565b8a51602001516001600160a01b031694506126cd565b636d34e60560e01b5f5260045ffd5b608091500151155f6126b0565b60608101511591506126aa565b612b0491506101003d8111611c7457611c668183612038565b5f612696565b63ec4602b960e01b5f5260045ffd5b63989a2bc760e01b5f5260045ffd5b633cc069c160e11b5f5260045ffd5b60405163a9059cbb60e01b60208201526001600160a01b03929092166024830152604480830193909352918152612b7891612b73606483612038565b612e1d565b565b60405163095ea7b360e01b602082019081526001600160a01b03841660248301526044808301959095529381529192612bb4606484612038565b82516001600160a01b038316915f91829182855af190612bd26130d7565b82612c3a575b5081612c2f575b5015612bea57505050565b60405163095ea7b360e01b60208201526001600160a01b0390931660248401525f6044808501919091528352612b7892612b7390612c29606482612038565b82612e1d565b90503b15155f612bdf565b80519192508115918215612c52575b5050905f612bd8565b612c6592506020809183010191016121d7565b5f80612c49565b6001600160ff1b038111612c7d5790565b63123baf0360e11b5f5260045260245ffd5b5f8112612c995790565b612ca29061258d565b90565b5f5160206133645f395f51905f5280546001600160a01b03199081169091555f5160206132845f395f51905f5280549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b6001600160a01b03165f9081527fc863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc960205260408120805490915b818110612d575750505050565b6001600160601b03612d69828561230e565b90549060031b1c166001600160601b03851614612d8857600101612d4a565b9192505f198101919082116117fe57612dbe6001600160601b03612daf612ddd948661230e565b90549060031b1c16918461230e565b9091906001600160601b038084549260031b9316831b921b1916179055565b80548015612e09575f190190612df3828261230e565b6001600160601b0382549160031b1b1916905555565b634e487b7160e01b5f52603160045260245ffd5b5f80612e459260018060a01b03169360208151910182865af1612e3e6130d7565b9083613141565b8051908115159182612e6d575b5050612e5b5750565b635274afe760e01b5f5260045260245ffd5b612e8092506020809183010191016121d7565b155f80612e52565b7812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218111612eb557670de0b6b3a76400000290565b633492ffd960e01b5f5260045260245ffd5b80158015612eec575b612ee657612ee0612ca29261319f565b90612ef4565b50505f90565b508115612ed0565b5f1982820982820291828083109203918083039214612f8d5781670de0b6b3a76400001115612f5d577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac1066993670de0b6b3a7640000910990828211900360ee1b910360121c170290565b60405162461bcd60e51b81526020600482015260086024820152676f766572666c6f7760c01b6044820152606490fd5b5050670de0b6b3a764000091500490565b5f19670de0b6b3a7640000820991670de0b6b3a764000082029182808510940393808503941461302f5783821115612f5d57670de0b6b3a7640000829109816001811901168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b508092501561303c570490565b60405162461bcd60e51b815260206004820152601060248201526f4469766973696f6e206279207a65726f60801b6044820152606490fd5b5f1960018209908080831092039180830392146130cf578160641115612f5d577f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c299160646001830990828211900360fe1b910360021c170290565b606491500490565b3d15613111573d9067ffffffffffffffff8211611fcf5760405191613106601f8201601f191660200184612038565b82523d5f602084013e565b606090565b60ff5f5160206133245f395f51905f525460401c161561313257565b631afcd79f60e31b5f5260045ffd5b90613165575080511561315657805190602001fd5b630a12f52160e11b5f5260045ffd5b81511580613196575b613176575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b1561316e565b5f905f19670de0b6b3a7640000820990670de0b6b3a764000081029283808410930392808403931461324f576a1a1601fc4ea7109e00000083101561322c5750906a1a1601fc4ea7109e000000670de0b6b3a76400007f26af219e38cbb5fd03085f3343fbe09a551ce8a61639642d1af598ebf6968eaf94930990828211900360e71b910360191c170290565b631dcf306360e21b815260048390526a1a1601fc4ea7109e000000602452604490fd5b5050506a1a1601fc4ea7109e00000090049056fec863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc79016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300c863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc69b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00c863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc5c863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcc8f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00c863e9e00712342e9c314f9c52d91ad3cf7d179add91dea0ab4500467452fcca237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00a26469706673582212203f81bc5d30b18b0703f3d0e8dc5a764a2d1345199459f8ccd5f0032c378e26d264736f6c634300081e0033f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00";
1423
+
1424
+ type LockYieldAaveConstructorParams =
1425
+ | [signer?: Signer]
1426
+ | ConstructorParameters<typeof ContractFactory>;
1427
+
1428
+ const isSuperArgs = (
1429
+ xs: LockYieldAaveConstructorParams
1430
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1431
+
1432
+ export class LockYieldAave__factory extends ContractFactory {
1433
+ constructor(...args: LockYieldAaveConstructorParams) {
1434
+ if (isSuperArgs(args)) {
1435
+ super(...args);
1436
+ } else {
1437
+ super(_abi, _bytecode, args[0]);
1438
+ }
1439
+ }
1440
+
1441
+ override getDeployTransaction(
1442
+ overrides?: NonPayableOverrides & { from?: string }
1443
+ ): Promise<ContractDeployTransaction> {
1444
+ return super.getDeployTransaction(overrides || {});
1445
+ }
1446
+ override deploy(overrides?: NonPayableOverrides & { from?: string }) {
1447
+ return super.deploy(overrides || {}) as Promise<
1448
+ LockYieldAave & {
1449
+ deploymentTransaction(): ContractTransactionResponse;
1450
+ }
1451
+ >;
1452
+ }
1453
+ override connect(runner: ContractRunner | null): LockYieldAave__factory {
1454
+ return super.connect(runner) as LockYieldAave__factory;
1455
+ }
1456
+
1457
+ static readonly bytecode = _bytecode;
1458
+ static readonly abi = _abi;
1459
+ static createInterface(): LockYieldAaveInterface {
1460
+ return new Interface(_abi) as LockYieldAaveInterface;
1461
+ }
1462
+ static connect(
1463
+ address: string,
1464
+ runner?: ContractRunner | null
1465
+ ): LockYieldAave {
1466
+ return new Contract(address, _abi, runner) as unknown as LockYieldAave;
1467
+ }
1468
+ }