@cfxdevkit/contracts 0.1.0

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,2411 @@
1
+ /**
2
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x33e5e5b262e5d8ebc443e1c6c9f14215b020554d)
3
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0x9D5B131e5bA37A238cd1C485E2D9d7c2A68E1d0F)
4
+ */
5
+ declare const automationManagerAbi: readonly [{
6
+ readonly type: "constructor";
7
+ readonly inputs: readonly [{
8
+ readonly name: "_priceAdapter";
9
+ readonly internalType: "address";
10
+ readonly type: "address";
11
+ }, {
12
+ readonly name: "initialOwner";
13
+ readonly internalType: "address";
14
+ readonly type: "address";
15
+ }];
16
+ readonly stateMutability: "nonpayable";
17
+ }, {
18
+ readonly type: "error";
19
+ readonly inputs: readonly [{
20
+ readonly name: "jobId";
21
+ readonly internalType: "bytes32";
22
+ readonly type: "bytes32";
23
+ }];
24
+ readonly name: "DCACompleted";
25
+ }, {
26
+ readonly type: "error";
27
+ readonly inputs: readonly [{
28
+ readonly name: "nextExecution";
29
+ readonly internalType: "uint256";
30
+ readonly type: "uint256";
31
+ }];
32
+ readonly name: "DCAIntervalNotReached";
33
+ }, {
34
+ readonly type: "error";
35
+ readonly inputs: readonly [];
36
+ readonly name: "EnforcedPause";
37
+ }, {
38
+ readonly type: "error";
39
+ readonly inputs: readonly [];
40
+ readonly name: "ExpectedPause";
41
+ }, {
42
+ readonly type: "error";
43
+ readonly inputs: readonly [{
44
+ readonly name: "reason";
45
+ readonly internalType: "string";
46
+ readonly type: "string";
47
+ }];
48
+ readonly name: "InvalidParams";
49
+ }, {
50
+ readonly type: "error";
51
+ readonly inputs: readonly [{
52
+ readonly name: "jobId";
53
+ readonly internalType: "bytes32";
54
+ readonly type: "bytes32";
55
+ }];
56
+ readonly name: "JobExpiredError";
57
+ }, {
58
+ readonly type: "error";
59
+ readonly inputs: readonly [{
60
+ readonly name: "jobId";
61
+ readonly internalType: "bytes32";
62
+ readonly type: "bytes32";
63
+ }];
64
+ readonly name: "JobNotActive";
65
+ }, {
66
+ readonly type: "error";
67
+ readonly inputs: readonly [{
68
+ readonly name: "jobId";
69
+ readonly internalType: "bytes32";
70
+ readonly type: "bytes32";
71
+ }];
72
+ readonly name: "JobNotFound";
73
+ }, {
74
+ readonly type: "error";
75
+ readonly inputs: readonly [{
76
+ readonly name: "owner";
77
+ readonly internalType: "address";
78
+ readonly type: "address";
79
+ }];
80
+ readonly name: "OwnableInvalidOwner";
81
+ }, {
82
+ readonly type: "error";
83
+ readonly inputs: readonly [{
84
+ readonly name: "account";
85
+ readonly internalType: "address";
86
+ readonly type: "address";
87
+ }];
88
+ readonly name: "OwnableUnauthorizedAccount";
89
+ }, {
90
+ readonly type: "error";
91
+ readonly inputs: readonly [{
92
+ readonly name: "jobId";
93
+ readonly internalType: "bytes32";
94
+ readonly type: "bytes32";
95
+ }];
96
+ readonly name: "PriceConditionNotMet";
97
+ }, {
98
+ readonly type: "error";
99
+ readonly inputs: readonly [];
100
+ readonly name: "ReentrancyGuardReentrantCall";
101
+ }, {
102
+ readonly type: "error";
103
+ readonly inputs: readonly [{
104
+ readonly name: "token";
105
+ readonly internalType: "address";
106
+ readonly type: "address";
107
+ }];
108
+ readonly name: "SafeERC20FailedOperation";
109
+ }, {
110
+ readonly type: "error";
111
+ readonly inputs: readonly [{
112
+ readonly name: "requested";
113
+ readonly internalType: "uint256";
114
+ readonly type: "uint256";
115
+ }, {
116
+ readonly name: "maxAllowed";
117
+ readonly internalType: "uint256";
118
+ readonly type: "uint256";
119
+ }];
120
+ readonly name: "SlippageTooHigh";
121
+ }, {
122
+ readonly type: "error";
123
+ readonly inputs: readonly [{
124
+ readonly name: "user";
125
+ readonly internalType: "address";
126
+ readonly type: "address";
127
+ }];
128
+ readonly name: "TooManyJobs";
129
+ }, {
130
+ readonly type: "error";
131
+ readonly inputs: readonly [];
132
+ readonly name: "Unauthorized";
133
+ }, {
134
+ readonly type: "error";
135
+ readonly inputs: readonly [];
136
+ readonly name: "ZeroAddress";
137
+ }, {
138
+ readonly type: "event";
139
+ readonly anonymous: false;
140
+ readonly inputs: readonly [{
141
+ readonly name: "jobId";
142
+ readonly internalType: "bytes32";
143
+ readonly type: "bytes32";
144
+ readonly indexed: true;
145
+ }, {
146
+ readonly name: "canceller";
147
+ readonly internalType: "address";
148
+ readonly type: "address";
149
+ readonly indexed: true;
150
+ }];
151
+ readonly name: "JobCancelled";
152
+ }, {
153
+ readonly type: "event";
154
+ readonly anonymous: false;
155
+ readonly inputs: readonly [{
156
+ readonly name: "jobId";
157
+ readonly internalType: "bytes32";
158
+ readonly type: "bytes32";
159
+ readonly indexed: true;
160
+ }, {
161
+ readonly name: "owner";
162
+ readonly internalType: "address";
163
+ readonly type: "address";
164
+ readonly indexed: true;
165
+ }, {
166
+ readonly name: "jobType";
167
+ readonly internalType: "enum AutomationManager.JobType";
168
+ readonly type: "uint8";
169
+ readonly indexed: false;
170
+ }];
171
+ readonly name: "JobCreated";
172
+ }, {
173
+ readonly type: "event";
174
+ readonly anonymous: false;
175
+ readonly inputs: readonly [{
176
+ readonly name: "jobId";
177
+ readonly internalType: "bytes32";
178
+ readonly type: "bytes32";
179
+ readonly indexed: true;
180
+ }, {
181
+ readonly name: "keeper";
182
+ readonly internalType: "address";
183
+ readonly type: "address";
184
+ readonly indexed: true;
185
+ }, {
186
+ readonly name: "amountOut";
187
+ readonly internalType: "uint256";
188
+ readonly type: "uint256";
189
+ readonly indexed: false;
190
+ }];
191
+ readonly name: "JobExecuted";
192
+ }, {
193
+ readonly type: "event";
194
+ readonly anonymous: false;
195
+ readonly inputs: readonly [{
196
+ readonly name: "jobId";
197
+ readonly internalType: "bytes32";
198
+ readonly type: "bytes32";
199
+ readonly indexed: true;
200
+ }];
201
+ readonly name: "JobExpired";
202
+ }, {
203
+ readonly type: "event";
204
+ readonly anonymous: false;
205
+ readonly inputs: readonly [{
206
+ readonly name: "keeper";
207
+ readonly internalType: "address";
208
+ readonly type: "address";
209
+ readonly indexed: true;
210
+ }, {
211
+ readonly name: "allowed";
212
+ readonly internalType: "bool";
213
+ readonly type: "bool";
214
+ readonly indexed: false;
215
+ }];
216
+ readonly name: "KeeperUpdated";
217
+ }, {
218
+ readonly type: "event";
219
+ readonly anonymous: false;
220
+ readonly inputs: readonly [{
221
+ readonly name: "newMax";
222
+ readonly internalType: "uint256";
223
+ readonly type: "uint256";
224
+ readonly indexed: false;
225
+ }];
226
+ readonly name: "MaxJobsPerUserUpdated";
227
+ }, {
228
+ readonly type: "event";
229
+ readonly anonymous: false;
230
+ readonly inputs: readonly [{
231
+ readonly name: "previousOwner";
232
+ readonly internalType: "address";
233
+ readonly type: "address";
234
+ readonly indexed: true;
235
+ }, {
236
+ readonly name: "newOwner";
237
+ readonly internalType: "address";
238
+ readonly type: "address";
239
+ readonly indexed: true;
240
+ }];
241
+ readonly name: "OwnershipTransferred";
242
+ }, {
243
+ readonly type: "event";
244
+ readonly anonymous: false;
245
+ readonly inputs: readonly [{
246
+ readonly name: "account";
247
+ readonly internalType: "address";
248
+ readonly type: "address";
249
+ readonly indexed: false;
250
+ }];
251
+ readonly name: "Paused";
252
+ }, {
253
+ readonly type: "event";
254
+ readonly anonymous: false;
255
+ readonly inputs: readonly [{
256
+ readonly name: "newAdapter";
257
+ readonly internalType: "address";
258
+ readonly type: "address";
259
+ readonly indexed: true;
260
+ }];
261
+ readonly name: "PriceAdapterUpdated";
262
+ }, {
263
+ readonly type: "event";
264
+ readonly anonymous: false;
265
+ readonly inputs: readonly [{
266
+ readonly name: "account";
267
+ readonly internalType: "address";
268
+ readonly type: "address";
269
+ readonly indexed: false;
270
+ }];
271
+ readonly name: "Unpaused";
272
+ }, {
273
+ readonly type: "function";
274
+ readonly inputs: readonly [{
275
+ readonly name: "";
276
+ readonly internalType: "address";
277
+ readonly type: "address";
278
+ }];
279
+ readonly name: "activeJobCount";
280
+ readonly outputs: readonly [{
281
+ readonly name: "";
282
+ readonly internalType: "uint256";
283
+ readonly type: "uint256";
284
+ }];
285
+ readonly stateMutability: "view";
286
+ }, {
287
+ readonly type: "function";
288
+ readonly inputs: readonly [{
289
+ readonly name: "jobId";
290
+ readonly internalType: "bytes32";
291
+ readonly type: "bytes32";
292
+ }];
293
+ readonly name: "cancelJob";
294
+ readonly outputs: readonly [];
295
+ readonly stateMutability: "nonpayable";
296
+ }, {
297
+ readonly type: "function";
298
+ readonly inputs: readonly [{
299
+ readonly name: "params";
300
+ readonly internalType: "struct AutomationManager.DCAParams";
301
+ readonly type: "tuple";
302
+ readonly components: readonly [{
303
+ readonly name: "tokenIn";
304
+ readonly internalType: "address";
305
+ readonly type: "address";
306
+ }, {
307
+ readonly name: "tokenOut";
308
+ readonly internalType: "address";
309
+ readonly type: "address";
310
+ }, {
311
+ readonly name: "amountPerSwap";
312
+ readonly internalType: "uint256";
313
+ readonly type: "uint256";
314
+ }, {
315
+ readonly name: "intervalSeconds";
316
+ readonly internalType: "uint256";
317
+ readonly type: "uint256";
318
+ }, {
319
+ readonly name: "totalSwaps";
320
+ readonly internalType: "uint256";
321
+ readonly type: "uint256";
322
+ }, {
323
+ readonly name: "swapsCompleted";
324
+ readonly internalType: "uint256";
325
+ readonly type: "uint256";
326
+ }, {
327
+ readonly name: "nextExecution";
328
+ readonly internalType: "uint256";
329
+ readonly type: "uint256";
330
+ }];
331
+ }, {
332
+ readonly name: "slippageBps";
333
+ readonly internalType: "uint256";
334
+ readonly type: "uint256";
335
+ }, {
336
+ readonly name: "expiresAt";
337
+ readonly internalType: "uint256";
338
+ readonly type: "uint256";
339
+ }];
340
+ readonly name: "createDCAJob";
341
+ readonly outputs: readonly [{
342
+ readonly name: "jobId";
343
+ readonly internalType: "bytes32";
344
+ readonly type: "bytes32";
345
+ }];
346
+ readonly stateMutability: "nonpayable";
347
+ }, {
348
+ readonly type: "function";
349
+ readonly inputs: readonly [{
350
+ readonly name: "params";
351
+ readonly internalType: "struct AutomationManager.LimitOrderParams";
352
+ readonly type: "tuple";
353
+ readonly components: readonly [{
354
+ readonly name: "tokenIn";
355
+ readonly internalType: "address";
356
+ readonly type: "address";
357
+ }, {
358
+ readonly name: "tokenOut";
359
+ readonly internalType: "address";
360
+ readonly type: "address";
361
+ }, {
362
+ readonly name: "amountIn";
363
+ readonly internalType: "uint256";
364
+ readonly type: "uint256";
365
+ }, {
366
+ readonly name: "minAmountOut";
367
+ readonly internalType: "uint256";
368
+ readonly type: "uint256";
369
+ }, {
370
+ readonly name: "targetPrice";
371
+ readonly internalType: "uint256";
372
+ readonly type: "uint256";
373
+ }, {
374
+ readonly name: "triggerAbove";
375
+ readonly internalType: "bool";
376
+ readonly type: "bool";
377
+ }];
378
+ }, {
379
+ readonly name: "slippageBps";
380
+ readonly internalType: "uint256";
381
+ readonly type: "uint256";
382
+ }, {
383
+ readonly name: "expiresAt";
384
+ readonly internalType: "uint256";
385
+ readonly type: "uint256";
386
+ }];
387
+ readonly name: "createLimitOrder";
388
+ readonly outputs: readonly [{
389
+ readonly name: "jobId";
390
+ readonly internalType: "bytes32";
391
+ readonly type: "bytes32";
392
+ }];
393
+ readonly stateMutability: "nonpayable";
394
+ }, {
395
+ readonly type: "function";
396
+ readonly inputs: readonly [{
397
+ readonly name: "";
398
+ readonly internalType: "bytes32";
399
+ readonly type: "bytes32";
400
+ }];
401
+ readonly name: "dcaJobs";
402
+ readonly outputs: readonly [{
403
+ readonly name: "tokenIn";
404
+ readonly internalType: "address";
405
+ readonly type: "address";
406
+ }, {
407
+ readonly name: "tokenOut";
408
+ readonly internalType: "address";
409
+ readonly type: "address";
410
+ }, {
411
+ readonly name: "amountPerSwap";
412
+ readonly internalType: "uint256";
413
+ readonly type: "uint256";
414
+ }, {
415
+ readonly name: "intervalSeconds";
416
+ readonly internalType: "uint256";
417
+ readonly type: "uint256";
418
+ }, {
419
+ readonly name: "totalSwaps";
420
+ readonly internalType: "uint256";
421
+ readonly type: "uint256";
422
+ }, {
423
+ readonly name: "swapsCompleted";
424
+ readonly internalType: "uint256";
425
+ readonly type: "uint256";
426
+ }, {
427
+ readonly name: "nextExecution";
428
+ readonly internalType: "uint256";
429
+ readonly type: "uint256";
430
+ }];
431
+ readonly stateMutability: "view";
432
+ }, {
433
+ readonly type: "function";
434
+ readonly inputs: readonly [{
435
+ readonly name: "jobId";
436
+ readonly internalType: "bytes32";
437
+ readonly type: "bytes32";
438
+ }, {
439
+ readonly name: "router";
440
+ readonly internalType: "address";
441
+ readonly type: "address";
442
+ }, {
443
+ readonly name: "swapCalldata";
444
+ readonly internalType: "bytes";
445
+ readonly type: "bytes";
446
+ }];
447
+ readonly name: "executeDCATick";
448
+ readonly outputs: readonly [];
449
+ readonly stateMutability: "nonpayable";
450
+ }, {
451
+ readonly type: "function";
452
+ readonly inputs: readonly [{
453
+ readonly name: "jobId";
454
+ readonly internalType: "bytes32";
455
+ readonly type: "bytes32";
456
+ }, {
457
+ readonly name: "router";
458
+ readonly internalType: "address";
459
+ readonly type: "address";
460
+ }, {
461
+ readonly name: "swapCalldata";
462
+ readonly internalType: "bytes";
463
+ readonly type: "bytes";
464
+ }];
465
+ readonly name: "executeLimitOrder";
466
+ readonly outputs: readonly [];
467
+ readonly stateMutability: "nonpayable";
468
+ }, {
469
+ readonly type: "function";
470
+ readonly inputs: readonly [{
471
+ readonly name: "jobId";
472
+ readonly internalType: "bytes32";
473
+ readonly type: "bytes32";
474
+ }];
475
+ readonly name: "expireJob";
476
+ readonly outputs: readonly [];
477
+ readonly stateMutability: "nonpayable";
478
+ }, {
479
+ readonly type: "function";
480
+ readonly inputs: readonly [{
481
+ readonly name: "jobId";
482
+ readonly internalType: "bytes32";
483
+ readonly type: "bytes32";
484
+ }];
485
+ readonly name: "getDCAJob";
486
+ readonly outputs: readonly [{
487
+ readonly name: "";
488
+ readonly internalType: "struct AutomationManager.DCAParams";
489
+ readonly type: "tuple";
490
+ readonly components: readonly [{
491
+ readonly name: "tokenIn";
492
+ readonly internalType: "address";
493
+ readonly type: "address";
494
+ }, {
495
+ readonly name: "tokenOut";
496
+ readonly internalType: "address";
497
+ readonly type: "address";
498
+ }, {
499
+ readonly name: "amountPerSwap";
500
+ readonly internalType: "uint256";
501
+ readonly type: "uint256";
502
+ }, {
503
+ readonly name: "intervalSeconds";
504
+ readonly internalType: "uint256";
505
+ readonly type: "uint256";
506
+ }, {
507
+ readonly name: "totalSwaps";
508
+ readonly internalType: "uint256";
509
+ readonly type: "uint256";
510
+ }, {
511
+ readonly name: "swapsCompleted";
512
+ readonly internalType: "uint256";
513
+ readonly type: "uint256";
514
+ }, {
515
+ readonly name: "nextExecution";
516
+ readonly internalType: "uint256";
517
+ readonly type: "uint256";
518
+ }];
519
+ }];
520
+ readonly stateMutability: "view";
521
+ }, {
522
+ readonly type: "function";
523
+ readonly inputs: readonly [{
524
+ readonly name: "jobId";
525
+ readonly internalType: "bytes32";
526
+ readonly type: "bytes32";
527
+ }];
528
+ readonly name: "getJob";
529
+ readonly outputs: readonly [{
530
+ readonly name: "";
531
+ readonly internalType: "struct AutomationManager.Job";
532
+ readonly type: "tuple";
533
+ readonly components: readonly [{
534
+ readonly name: "id";
535
+ readonly internalType: "bytes32";
536
+ readonly type: "bytes32";
537
+ }, {
538
+ readonly name: "owner";
539
+ readonly internalType: "address";
540
+ readonly type: "address";
541
+ }, {
542
+ readonly name: "jobType";
543
+ readonly internalType: "enum AutomationManager.JobType";
544
+ readonly type: "uint8";
545
+ }, {
546
+ readonly name: "status";
547
+ readonly internalType: "enum AutomationManager.JobStatus";
548
+ readonly type: "uint8";
549
+ }, {
550
+ readonly name: "createdAt";
551
+ readonly internalType: "uint256";
552
+ readonly type: "uint256";
553
+ }, {
554
+ readonly name: "expiresAt";
555
+ readonly internalType: "uint256";
556
+ readonly type: "uint256";
557
+ }, {
558
+ readonly name: "maxSlippageBps";
559
+ readonly internalType: "uint256";
560
+ readonly type: "uint256";
561
+ }];
562
+ }];
563
+ readonly stateMutability: "view";
564
+ }, {
565
+ readonly type: "function";
566
+ readonly inputs: readonly [{
567
+ readonly name: "jobId";
568
+ readonly internalType: "bytes32";
569
+ readonly type: "bytes32";
570
+ }];
571
+ readonly name: "getLimitOrder";
572
+ readonly outputs: readonly [{
573
+ readonly name: "";
574
+ readonly internalType: "struct AutomationManager.LimitOrderParams";
575
+ readonly type: "tuple";
576
+ readonly components: readonly [{
577
+ readonly name: "tokenIn";
578
+ readonly internalType: "address";
579
+ readonly type: "address";
580
+ }, {
581
+ readonly name: "tokenOut";
582
+ readonly internalType: "address";
583
+ readonly type: "address";
584
+ }, {
585
+ readonly name: "amountIn";
586
+ readonly internalType: "uint256";
587
+ readonly type: "uint256";
588
+ }, {
589
+ readonly name: "minAmountOut";
590
+ readonly internalType: "uint256";
591
+ readonly type: "uint256";
592
+ }, {
593
+ readonly name: "targetPrice";
594
+ readonly internalType: "uint256";
595
+ readonly type: "uint256";
596
+ }, {
597
+ readonly name: "triggerAbove";
598
+ readonly internalType: "bool";
599
+ readonly type: "bool";
600
+ }];
601
+ }];
602
+ readonly stateMutability: "view";
603
+ }, {
604
+ readonly type: "function";
605
+ readonly inputs: readonly [{
606
+ readonly name: "user";
607
+ readonly internalType: "address";
608
+ readonly type: "address";
609
+ }];
610
+ readonly name: "getUserJobs";
611
+ readonly outputs: readonly [{
612
+ readonly name: "";
613
+ readonly internalType: "bytes32[]";
614
+ readonly type: "bytes32[]";
615
+ }];
616
+ readonly stateMutability: "view";
617
+ }, {
618
+ readonly type: "function";
619
+ readonly inputs: readonly [{
620
+ readonly name: "";
621
+ readonly internalType: "bytes32";
622
+ readonly type: "bytes32";
623
+ }];
624
+ readonly name: "jobs";
625
+ readonly outputs: readonly [{
626
+ readonly name: "id";
627
+ readonly internalType: "bytes32";
628
+ readonly type: "bytes32";
629
+ }, {
630
+ readonly name: "owner";
631
+ readonly internalType: "address";
632
+ readonly type: "address";
633
+ }, {
634
+ readonly name: "jobType";
635
+ readonly internalType: "enum AutomationManager.JobType";
636
+ readonly type: "uint8";
637
+ }, {
638
+ readonly name: "status";
639
+ readonly internalType: "enum AutomationManager.JobStatus";
640
+ readonly type: "uint8";
641
+ }, {
642
+ readonly name: "createdAt";
643
+ readonly internalType: "uint256";
644
+ readonly type: "uint256";
645
+ }, {
646
+ readonly name: "expiresAt";
647
+ readonly internalType: "uint256";
648
+ readonly type: "uint256";
649
+ }, {
650
+ readonly name: "maxSlippageBps";
651
+ readonly internalType: "uint256";
652
+ readonly type: "uint256";
653
+ }];
654
+ readonly stateMutability: "view";
655
+ }, {
656
+ readonly type: "function";
657
+ readonly inputs: readonly [];
658
+ readonly name: "keeperFeeFlat";
659
+ readonly outputs: readonly [{
660
+ readonly name: "";
661
+ readonly internalType: "uint256";
662
+ readonly type: "uint256";
663
+ }];
664
+ readonly stateMutability: "view";
665
+ }, {
666
+ readonly type: "function";
667
+ readonly inputs: readonly [{
668
+ readonly name: "";
669
+ readonly internalType: "address";
670
+ readonly type: "address";
671
+ }];
672
+ readonly name: "keepers";
673
+ readonly outputs: readonly [{
674
+ readonly name: "";
675
+ readonly internalType: "bool";
676
+ readonly type: "bool";
677
+ }];
678
+ readonly stateMutability: "view";
679
+ }, {
680
+ readonly type: "function";
681
+ readonly inputs: readonly [{
682
+ readonly name: "";
683
+ readonly internalType: "bytes32";
684
+ readonly type: "bytes32";
685
+ }];
686
+ readonly name: "limitOrders";
687
+ readonly outputs: readonly [{
688
+ readonly name: "tokenIn";
689
+ readonly internalType: "address";
690
+ readonly type: "address";
691
+ }, {
692
+ readonly name: "tokenOut";
693
+ readonly internalType: "address";
694
+ readonly type: "address";
695
+ }, {
696
+ readonly name: "amountIn";
697
+ readonly internalType: "uint256";
698
+ readonly type: "uint256";
699
+ }, {
700
+ readonly name: "minAmountOut";
701
+ readonly internalType: "uint256";
702
+ readonly type: "uint256";
703
+ }, {
704
+ readonly name: "targetPrice";
705
+ readonly internalType: "uint256";
706
+ readonly type: "uint256";
707
+ }, {
708
+ readonly name: "triggerAbove";
709
+ readonly internalType: "bool";
710
+ readonly type: "bool";
711
+ }];
712
+ readonly stateMutability: "view";
713
+ }, {
714
+ readonly type: "function";
715
+ readonly inputs: readonly [];
716
+ readonly name: "maxJobsPerUser";
717
+ readonly outputs: readonly [{
718
+ readonly name: "";
719
+ readonly internalType: "uint256";
720
+ readonly type: "uint256";
721
+ }];
722
+ readonly stateMutability: "view";
723
+ }, {
724
+ readonly type: "function";
725
+ readonly inputs: readonly [];
726
+ readonly name: "maxSlippageBps";
727
+ readonly outputs: readonly [{
728
+ readonly name: "";
729
+ readonly internalType: "uint256";
730
+ readonly type: "uint256";
731
+ }];
732
+ readonly stateMutability: "view";
733
+ }, {
734
+ readonly type: "function";
735
+ readonly inputs: readonly [];
736
+ readonly name: "owner";
737
+ readonly outputs: readonly [{
738
+ readonly name: "";
739
+ readonly internalType: "address";
740
+ readonly type: "address";
741
+ }];
742
+ readonly stateMutability: "view";
743
+ }, {
744
+ readonly type: "function";
745
+ readonly inputs: readonly [];
746
+ readonly name: "pause";
747
+ readonly outputs: readonly [];
748
+ readonly stateMutability: "nonpayable";
749
+ }, {
750
+ readonly type: "function";
751
+ readonly inputs: readonly [];
752
+ readonly name: "paused";
753
+ readonly outputs: readonly [{
754
+ readonly name: "";
755
+ readonly internalType: "bool";
756
+ readonly type: "bool";
757
+ }];
758
+ readonly stateMutability: "view";
759
+ }, {
760
+ readonly type: "function";
761
+ readonly inputs: readonly [];
762
+ readonly name: "priceAdapter";
763
+ readonly outputs: readonly [{
764
+ readonly name: "";
765
+ readonly internalType: "contract IPriceAdapter";
766
+ readonly type: "address";
767
+ }];
768
+ readonly stateMutability: "view";
769
+ }, {
770
+ readonly type: "function";
771
+ readonly inputs: readonly [];
772
+ readonly name: "renounceOwnership";
773
+ readonly outputs: readonly [];
774
+ readonly stateMutability: "nonpayable";
775
+ }, {
776
+ readonly type: "function";
777
+ readonly inputs: readonly [{
778
+ readonly name: "keeper";
779
+ readonly internalType: "address";
780
+ readonly type: "address";
781
+ }, {
782
+ readonly name: "allowed";
783
+ readonly internalType: "bool";
784
+ readonly type: "bool";
785
+ }];
786
+ readonly name: "setKeeper";
787
+ readonly outputs: readonly [];
788
+ readonly stateMutability: "nonpayable";
789
+ }, {
790
+ readonly type: "function";
791
+ readonly inputs: readonly [{
792
+ readonly name: "_max";
793
+ readonly internalType: "uint256";
794
+ readonly type: "uint256";
795
+ }];
796
+ readonly name: "setMaxJobsPerUser";
797
+ readonly outputs: readonly [];
798
+ readonly stateMutability: "nonpayable";
799
+ }, {
800
+ readonly type: "function";
801
+ readonly inputs: readonly [{
802
+ readonly name: "_maxBps";
803
+ readonly internalType: "uint256";
804
+ readonly type: "uint256";
805
+ }];
806
+ readonly name: "setMaxSlippageBps";
807
+ readonly outputs: readonly [];
808
+ readonly stateMutability: "nonpayable";
809
+ }, {
810
+ readonly type: "function";
811
+ readonly inputs: readonly [{
812
+ readonly name: "_priceAdapter";
813
+ readonly internalType: "address";
814
+ readonly type: "address";
815
+ }];
816
+ readonly name: "setPriceAdapter";
817
+ readonly outputs: readonly [];
818
+ readonly stateMutability: "nonpayable";
819
+ }, {
820
+ readonly type: "function";
821
+ readonly inputs: readonly [{
822
+ readonly name: "newOwner";
823
+ readonly internalType: "address";
824
+ readonly type: "address";
825
+ }];
826
+ readonly name: "transferOwnership";
827
+ readonly outputs: readonly [];
828
+ readonly stateMutability: "nonpayable";
829
+ }, {
830
+ readonly type: "function";
831
+ readonly inputs: readonly [];
832
+ readonly name: "unpause";
833
+ readonly outputs: readonly [];
834
+ readonly stateMutability: "nonpayable";
835
+ }, {
836
+ readonly type: "function";
837
+ readonly inputs: readonly [{
838
+ readonly name: "";
839
+ readonly internalType: "address";
840
+ readonly type: "address";
841
+ }, {
842
+ readonly name: "";
843
+ readonly internalType: "uint256";
844
+ readonly type: "uint256";
845
+ }];
846
+ readonly name: "userJobs";
847
+ readonly outputs: readonly [{
848
+ readonly name: "";
849
+ readonly internalType: "bytes32";
850
+ readonly type: "bytes32";
851
+ }];
852
+ readonly stateMutability: "view";
853
+ }];
854
+ /**
855
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x33e5e5b262e5d8ebc443e1c6c9f14215b020554d)
856
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0x9D5B131e5bA37A238cd1C485E2D9d7c2A68E1d0F)
857
+ */
858
+ declare const automationManagerAddress: {
859
+ readonly 71: "0x33e5E5B262e5d8eBC443E1c6c9F14215b020554d";
860
+ readonly 1030: "0x9D5B131e5bA37A238cd1C485E2D9d7c2A68E1d0F";
861
+ };
862
+ /**
863
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x33e5e5b262e5d8ebc443e1c6c9f14215b020554d)
864
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0x9D5B131e5bA37A238cd1C485E2D9d7c2A68E1d0F)
865
+ */
866
+ declare const automationManagerConfig: {
867
+ readonly address: {
868
+ readonly 71: "0x33e5E5B262e5d8eBC443E1c6c9F14215b020554d";
869
+ readonly 1030: "0x9D5B131e5bA37A238cd1C485E2D9d7c2A68E1d0F";
870
+ };
871
+ readonly abi: readonly [{
872
+ readonly type: "constructor";
873
+ readonly inputs: readonly [{
874
+ readonly name: "_priceAdapter";
875
+ readonly internalType: "address";
876
+ readonly type: "address";
877
+ }, {
878
+ readonly name: "initialOwner";
879
+ readonly internalType: "address";
880
+ readonly type: "address";
881
+ }];
882
+ readonly stateMutability: "nonpayable";
883
+ }, {
884
+ readonly type: "error";
885
+ readonly inputs: readonly [{
886
+ readonly name: "jobId";
887
+ readonly internalType: "bytes32";
888
+ readonly type: "bytes32";
889
+ }];
890
+ readonly name: "DCACompleted";
891
+ }, {
892
+ readonly type: "error";
893
+ readonly inputs: readonly [{
894
+ readonly name: "nextExecution";
895
+ readonly internalType: "uint256";
896
+ readonly type: "uint256";
897
+ }];
898
+ readonly name: "DCAIntervalNotReached";
899
+ }, {
900
+ readonly type: "error";
901
+ readonly inputs: readonly [];
902
+ readonly name: "EnforcedPause";
903
+ }, {
904
+ readonly type: "error";
905
+ readonly inputs: readonly [];
906
+ readonly name: "ExpectedPause";
907
+ }, {
908
+ readonly type: "error";
909
+ readonly inputs: readonly [{
910
+ readonly name: "reason";
911
+ readonly internalType: "string";
912
+ readonly type: "string";
913
+ }];
914
+ readonly name: "InvalidParams";
915
+ }, {
916
+ readonly type: "error";
917
+ readonly inputs: readonly [{
918
+ readonly name: "jobId";
919
+ readonly internalType: "bytes32";
920
+ readonly type: "bytes32";
921
+ }];
922
+ readonly name: "JobExpiredError";
923
+ }, {
924
+ readonly type: "error";
925
+ readonly inputs: readonly [{
926
+ readonly name: "jobId";
927
+ readonly internalType: "bytes32";
928
+ readonly type: "bytes32";
929
+ }];
930
+ readonly name: "JobNotActive";
931
+ }, {
932
+ readonly type: "error";
933
+ readonly inputs: readonly [{
934
+ readonly name: "jobId";
935
+ readonly internalType: "bytes32";
936
+ readonly type: "bytes32";
937
+ }];
938
+ readonly name: "JobNotFound";
939
+ }, {
940
+ readonly type: "error";
941
+ readonly inputs: readonly [{
942
+ readonly name: "owner";
943
+ readonly internalType: "address";
944
+ readonly type: "address";
945
+ }];
946
+ readonly name: "OwnableInvalidOwner";
947
+ }, {
948
+ readonly type: "error";
949
+ readonly inputs: readonly [{
950
+ readonly name: "account";
951
+ readonly internalType: "address";
952
+ readonly type: "address";
953
+ }];
954
+ readonly name: "OwnableUnauthorizedAccount";
955
+ }, {
956
+ readonly type: "error";
957
+ readonly inputs: readonly [{
958
+ readonly name: "jobId";
959
+ readonly internalType: "bytes32";
960
+ readonly type: "bytes32";
961
+ }];
962
+ readonly name: "PriceConditionNotMet";
963
+ }, {
964
+ readonly type: "error";
965
+ readonly inputs: readonly [];
966
+ readonly name: "ReentrancyGuardReentrantCall";
967
+ }, {
968
+ readonly type: "error";
969
+ readonly inputs: readonly [{
970
+ readonly name: "token";
971
+ readonly internalType: "address";
972
+ readonly type: "address";
973
+ }];
974
+ readonly name: "SafeERC20FailedOperation";
975
+ }, {
976
+ readonly type: "error";
977
+ readonly inputs: readonly [{
978
+ readonly name: "requested";
979
+ readonly internalType: "uint256";
980
+ readonly type: "uint256";
981
+ }, {
982
+ readonly name: "maxAllowed";
983
+ readonly internalType: "uint256";
984
+ readonly type: "uint256";
985
+ }];
986
+ readonly name: "SlippageTooHigh";
987
+ }, {
988
+ readonly type: "error";
989
+ readonly inputs: readonly [{
990
+ readonly name: "user";
991
+ readonly internalType: "address";
992
+ readonly type: "address";
993
+ }];
994
+ readonly name: "TooManyJobs";
995
+ }, {
996
+ readonly type: "error";
997
+ readonly inputs: readonly [];
998
+ readonly name: "Unauthorized";
999
+ }, {
1000
+ readonly type: "error";
1001
+ readonly inputs: readonly [];
1002
+ readonly name: "ZeroAddress";
1003
+ }, {
1004
+ readonly type: "event";
1005
+ readonly anonymous: false;
1006
+ readonly inputs: readonly [{
1007
+ readonly name: "jobId";
1008
+ readonly internalType: "bytes32";
1009
+ readonly type: "bytes32";
1010
+ readonly indexed: true;
1011
+ }, {
1012
+ readonly name: "canceller";
1013
+ readonly internalType: "address";
1014
+ readonly type: "address";
1015
+ readonly indexed: true;
1016
+ }];
1017
+ readonly name: "JobCancelled";
1018
+ }, {
1019
+ readonly type: "event";
1020
+ readonly anonymous: false;
1021
+ readonly inputs: readonly [{
1022
+ readonly name: "jobId";
1023
+ readonly internalType: "bytes32";
1024
+ readonly type: "bytes32";
1025
+ readonly indexed: true;
1026
+ }, {
1027
+ readonly name: "owner";
1028
+ readonly internalType: "address";
1029
+ readonly type: "address";
1030
+ readonly indexed: true;
1031
+ }, {
1032
+ readonly name: "jobType";
1033
+ readonly internalType: "enum AutomationManager.JobType";
1034
+ readonly type: "uint8";
1035
+ readonly indexed: false;
1036
+ }];
1037
+ readonly name: "JobCreated";
1038
+ }, {
1039
+ readonly type: "event";
1040
+ readonly anonymous: false;
1041
+ readonly inputs: readonly [{
1042
+ readonly name: "jobId";
1043
+ readonly internalType: "bytes32";
1044
+ readonly type: "bytes32";
1045
+ readonly indexed: true;
1046
+ }, {
1047
+ readonly name: "keeper";
1048
+ readonly internalType: "address";
1049
+ readonly type: "address";
1050
+ readonly indexed: true;
1051
+ }, {
1052
+ readonly name: "amountOut";
1053
+ readonly internalType: "uint256";
1054
+ readonly type: "uint256";
1055
+ readonly indexed: false;
1056
+ }];
1057
+ readonly name: "JobExecuted";
1058
+ }, {
1059
+ readonly type: "event";
1060
+ readonly anonymous: false;
1061
+ readonly inputs: readonly [{
1062
+ readonly name: "jobId";
1063
+ readonly internalType: "bytes32";
1064
+ readonly type: "bytes32";
1065
+ readonly indexed: true;
1066
+ }];
1067
+ readonly name: "JobExpired";
1068
+ }, {
1069
+ readonly type: "event";
1070
+ readonly anonymous: false;
1071
+ readonly inputs: readonly [{
1072
+ readonly name: "keeper";
1073
+ readonly internalType: "address";
1074
+ readonly type: "address";
1075
+ readonly indexed: true;
1076
+ }, {
1077
+ readonly name: "allowed";
1078
+ readonly internalType: "bool";
1079
+ readonly type: "bool";
1080
+ readonly indexed: false;
1081
+ }];
1082
+ readonly name: "KeeperUpdated";
1083
+ }, {
1084
+ readonly type: "event";
1085
+ readonly anonymous: false;
1086
+ readonly inputs: readonly [{
1087
+ readonly name: "newMax";
1088
+ readonly internalType: "uint256";
1089
+ readonly type: "uint256";
1090
+ readonly indexed: false;
1091
+ }];
1092
+ readonly name: "MaxJobsPerUserUpdated";
1093
+ }, {
1094
+ readonly type: "event";
1095
+ readonly anonymous: false;
1096
+ readonly inputs: readonly [{
1097
+ readonly name: "previousOwner";
1098
+ readonly internalType: "address";
1099
+ readonly type: "address";
1100
+ readonly indexed: true;
1101
+ }, {
1102
+ readonly name: "newOwner";
1103
+ readonly internalType: "address";
1104
+ readonly type: "address";
1105
+ readonly indexed: true;
1106
+ }];
1107
+ readonly name: "OwnershipTransferred";
1108
+ }, {
1109
+ readonly type: "event";
1110
+ readonly anonymous: false;
1111
+ readonly inputs: readonly [{
1112
+ readonly name: "account";
1113
+ readonly internalType: "address";
1114
+ readonly type: "address";
1115
+ readonly indexed: false;
1116
+ }];
1117
+ readonly name: "Paused";
1118
+ }, {
1119
+ readonly type: "event";
1120
+ readonly anonymous: false;
1121
+ readonly inputs: readonly [{
1122
+ readonly name: "newAdapter";
1123
+ readonly internalType: "address";
1124
+ readonly type: "address";
1125
+ readonly indexed: true;
1126
+ }];
1127
+ readonly name: "PriceAdapterUpdated";
1128
+ }, {
1129
+ readonly type: "event";
1130
+ readonly anonymous: false;
1131
+ readonly inputs: readonly [{
1132
+ readonly name: "account";
1133
+ readonly internalType: "address";
1134
+ readonly type: "address";
1135
+ readonly indexed: false;
1136
+ }];
1137
+ readonly name: "Unpaused";
1138
+ }, {
1139
+ readonly type: "function";
1140
+ readonly inputs: readonly [{
1141
+ readonly name: "";
1142
+ readonly internalType: "address";
1143
+ readonly type: "address";
1144
+ }];
1145
+ readonly name: "activeJobCount";
1146
+ readonly outputs: readonly [{
1147
+ readonly name: "";
1148
+ readonly internalType: "uint256";
1149
+ readonly type: "uint256";
1150
+ }];
1151
+ readonly stateMutability: "view";
1152
+ }, {
1153
+ readonly type: "function";
1154
+ readonly inputs: readonly [{
1155
+ readonly name: "jobId";
1156
+ readonly internalType: "bytes32";
1157
+ readonly type: "bytes32";
1158
+ }];
1159
+ readonly name: "cancelJob";
1160
+ readonly outputs: readonly [];
1161
+ readonly stateMutability: "nonpayable";
1162
+ }, {
1163
+ readonly type: "function";
1164
+ readonly inputs: readonly [{
1165
+ readonly name: "params";
1166
+ readonly internalType: "struct AutomationManager.DCAParams";
1167
+ readonly type: "tuple";
1168
+ readonly components: readonly [{
1169
+ readonly name: "tokenIn";
1170
+ readonly internalType: "address";
1171
+ readonly type: "address";
1172
+ }, {
1173
+ readonly name: "tokenOut";
1174
+ readonly internalType: "address";
1175
+ readonly type: "address";
1176
+ }, {
1177
+ readonly name: "amountPerSwap";
1178
+ readonly internalType: "uint256";
1179
+ readonly type: "uint256";
1180
+ }, {
1181
+ readonly name: "intervalSeconds";
1182
+ readonly internalType: "uint256";
1183
+ readonly type: "uint256";
1184
+ }, {
1185
+ readonly name: "totalSwaps";
1186
+ readonly internalType: "uint256";
1187
+ readonly type: "uint256";
1188
+ }, {
1189
+ readonly name: "swapsCompleted";
1190
+ readonly internalType: "uint256";
1191
+ readonly type: "uint256";
1192
+ }, {
1193
+ readonly name: "nextExecution";
1194
+ readonly internalType: "uint256";
1195
+ readonly type: "uint256";
1196
+ }];
1197
+ }, {
1198
+ readonly name: "slippageBps";
1199
+ readonly internalType: "uint256";
1200
+ readonly type: "uint256";
1201
+ }, {
1202
+ readonly name: "expiresAt";
1203
+ readonly internalType: "uint256";
1204
+ readonly type: "uint256";
1205
+ }];
1206
+ readonly name: "createDCAJob";
1207
+ readonly outputs: readonly [{
1208
+ readonly name: "jobId";
1209
+ readonly internalType: "bytes32";
1210
+ readonly type: "bytes32";
1211
+ }];
1212
+ readonly stateMutability: "nonpayable";
1213
+ }, {
1214
+ readonly type: "function";
1215
+ readonly inputs: readonly [{
1216
+ readonly name: "params";
1217
+ readonly internalType: "struct AutomationManager.LimitOrderParams";
1218
+ readonly type: "tuple";
1219
+ readonly components: readonly [{
1220
+ readonly name: "tokenIn";
1221
+ readonly internalType: "address";
1222
+ readonly type: "address";
1223
+ }, {
1224
+ readonly name: "tokenOut";
1225
+ readonly internalType: "address";
1226
+ readonly type: "address";
1227
+ }, {
1228
+ readonly name: "amountIn";
1229
+ readonly internalType: "uint256";
1230
+ readonly type: "uint256";
1231
+ }, {
1232
+ readonly name: "minAmountOut";
1233
+ readonly internalType: "uint256";
1234
+ readonly type: "uint256";
1235
+ }, {
1236
+ readonly name: "targetPrice";
1237
+ readonly internalType: "uint256";
1238
+ readonly type: "uint256";
1239
+ }, {
1240
+ readonly name: "triggerAbove";
1241
+ readonly internalType: "bool";
1242
+ readonly type: "bool";
1243
+ }];
1244
+ }, {
1245
+ readonly name: "slippageBps";
1246
+ readonly internalType: "uint256";
1247
+ readonly type: "uint256";
1248
+ }, {
1249
+ readonly name: "expiresAt";
1250
+ readonly internalType: "uint256";
1251
+ readonly type: "uint256";
1252
+ }];
1253
+ readonly name: "createLimitOrder";
1254
+ readonly outputs: readonly [{
1255
+ readonly name: "jobId";
1256
+ readonly internalType: "bytes32";
1257
+ readonly type: "bytes32";
1258
+ }];
1259
+ readonly stateMutability: "nonpayable";
1260
+ }, {
1261
+ readonly type: "function";
1262
+ readonly inputs: readonly [{
1263
+ readonly name: "";
1264
+ readonly internalType: "bytes32";
1265
+ readonly type: "bytes32";
1266
+ }];
1267
+ readonly name: "dcaJobs";
1268
+ readonly outputs: readonly [{
1269
+ readonly name: "tokenIn";
1270
+ readonly internalType: "address";
1271
+ readonly type: "address";
1272
+ }, {
1273
+ readonly name: "tokenOut";
1274
+ readonly internalType: "address";
1275
+ readonly type: "address";
1276
+ }, {
1277
+ readonly name: "amountPerSwap";
1278
+ readonly internalType: "uint256";
1279
+ readonly type: "uint256";
1280
+ }, {
1281
+ readonly name: "intervalSeconds";
1282
+ readonly internalType: "uint256";
1283
+ readonly type: "uint256";
1284
+ }, {
1285
+ readonly name: "totalSwaps";
1286
+ readonly internalType: "uint256";
1287
+ readonly type: "uint256";
1288
+ }, {
1289
+ readonly name: "swapsCompleted";
1290
+ readonly internalType: "uint256";
1291
+ readonly type: "uint256";
1292
+ }, {
1293
+ readonly name: "nextExecution";
1294
+ readonly internalType: "uint256";
1295
+ readonly type: "uint256";
1296
+ }];
1297
+ readonly stateMutability: "view";
1298
+ }, {
1299
+ readonly type: "function";
1300
+ readonly inputs: readonly [{
1301
+ readonly name: "jobId";
1302
+ readonly internalType: "bytes32";
1303
+ readonly type: "bytes32";
1304
+ }, {
1305
+ readonly name: "router";
1306
+ readonly internalType: "address";
1307
+ readonly type: "address";
1308
+ }, {
1309
+ readonly name: "swapCalldata";
1310
+ readonly internalType: "bytes";
1311
+ readonly type: "bytes";
1312
+ }];
1313
+ readonly name: "executeDCATick";
1314
+ readonly outputs: readonly [];
1315
+ readonly stateMutability: "nonpayable";
1316
+ }, {
1317
+ readonly type: "function";
1318
+ readonly inputs: readonly [{
1319
+ readonly name: "jobId";
1320
+ readonly internalType: "bytes32";
1321
+ readonly type: "bytes32";
1322
+ }, {
1323
+ readonly name: "router";
1324
+ readonly internalType: "address";
1325
+ readonly type: "address";
1326
+ }, {
1327
+ readonly name: "swapCalldata";
1328
+ readonly internalType: "bytes";
1329
+ readonly type: "bytes";
1330
+ }];
1331
+ readonly name: "executeLimitOrder";
1332
+ readonly outputs: readonly [];
1333
+ readonly stateMutability: "nonpayable";
1334
+ }, {
1335
+ readonly type: "function";
1336
+ readonly inputs: readonly [{
1337
+ readonly name: "jobId";
1338
+ readonly internalType: "bytes32";
1339
+ readonly type: "bytes32";
1340
+ }];
1341
+ readonly name: "expireJob";
1342
+ readonly outputs: readonly [];
1343
+ readonly stateMutability: "nonpayable";
1344
+ }, {
1345
+ readonly type: "function";
1346
+ readonly inputs: readonly [{
1347
+ readonly name: "jobId";
1348
+ readonly internalType: "bytes32";
1349
+ readonly type: "bytes32";
1350
+ }];
1351
+ readonly name: "getDCAJob";
1352
+ readonly outputs: readonly [{
1353
+ readonly name: "";
1354
+ readonly internalType: "struct AutomationManager.DCAParams";
1355
+ readonly type: "tuple";
1356
+ readonly components: readonly [{
1357
+ readonly name: "tokenIn";
1358
+ readonly internalType: "address";
1359
+ readonly type: "address";
1360
+ }, {
1361
+ readonly name: "tokenOut";
1362
+ readonly internalType: "address";
1363
+ readonly type: "address";
1364
+ }, {
1365
+ readonly name: "amountPerSwap";
1366
+ readonly internalType: "uint256";
1367
+ readonly type: "uint256";
1368
+ }, {
1369
+ readonly name: "intervalSeconds";
1370
+ readonly internalType: "uint256";
1371
+ readonly type: "uint256";
1372
+ }, {
1373
+ readonly name: "totalSwaps";
1374
+ readonly internalType: "uint256";
1375
+ readonly type: "uint256";
1376
+ }, {
1377
+ readonly name: "swapsCompleted";
1378
+ readonly internalType: "uint256";
1379
+ readonly type: "uint256";
1380
+ }, {
1381
+ readonly name: "nextExecution";
1382
+ readonly internalType: "uint256";
1383
+ readonly type: "uint256";
1384
+ }];
1385
+ }];
1386
+ readonly stateMutability: "view";
1387
+ }, {
1388
+ readonly type: "function";
1389
+ readonly inputs: readonly [{
1390
+ readonly name: "jobId";
1391
+ readonly internalType: "bytes32";
1392
+ readonly type: "bytes32";
1393
+ }];
1394
+ readonly name: "getJob";
1395
+ readonly outputs: readonly [{
1396
+ readonly name: "";
1397
+ readonly internalType: "struct AutomationManager.Job";
1398
+ readonly type: "tuple";
1399
+ readonly components: readonly [{
1400
+ readonly name: "id";
1401
+ readonly internalType: "bytes32";
1402
+ readonly type: "bytes32";
1403
+ }, {
1404
+ readonly name: "owner";
1405
+ readonly internalType: "address";
1406
+ readonly type: "address";
1407
+ }, {
1408
+ readonly name: "jobType";
1409
+ readonly internalType: "enum AutomationManager.JobType";
1410
+ readonly type: "uint8";
1411
+ }, {
1412
+ readonly name: "status";
1413
+ readonly internalType: "enum AutomationManager.JobStatus";
1414
+ readonly type: "uint8";
1415
+ }, {
1416
+ readonly name: "createdAt";
1417
+ readonly internalType: "uint256";
1418
+ readonly type: "uint256";
1419
+ }, {
1420
+ readonly name: "expiresAt";
1421
+ readonly internalType: "uint256";
1422
+ readonly type: "uint256";
1423
+ }, {
1424
+ readonly name: "maxSlippageBps";
1425
+ readonly internalType: "uint256";
1426
+ readonly type: "uint256";
1427
+ }];
1428
+ }];
1429
+ readonly stateMutability: "view";
1430
+ }, {
1431
+ readonly type: "function";
1432
+ readonly inputs: readonly [{
1433
+ readonly name: "jobId";
1434
+ readonly internalType: "bytes32";
1435
+ readonly type: "bytes32";
1436
+ }];
1437
+ readonly name: "getLimitOrder";
1438
+ readonly outputs: readonly [{
1439
+ readonly name: "";
1440
+ readonly internalType: "struct AutomationManager.LimitOrderParams";
1441
+ readonly type: "tuple";
1442
+ readonly components: readonly [{
1443
+ readonly name: "tokenIn";
1444
+ readonly internalType: "address";
1445
+ readonly type: "address";
1446
+ }, {
1447
+ readonly name: "tokenOut";
1448
+ readonly internalType: "address";
1449
+ readonly type: "address";
1450
+ }, {
1451
+ readonly name: "amountIn";
1452
+ readonly internalType: "uint256";
1453
+ readonly type: "uint256";
1454
+ }, {
1455
+ readonly name: "minAmountOut";
1456
+ readonly internalType: "uint256";
1457
+ readonly type: "uint256";
1458
+ }, {
1459
+ readonly name: "targetPrice";
1460
+ readonly internalType: "uint256";
1461
+ readonly type: "uint256";
1462
+ }, {
1463
+ readonly name: "triggerAbove";
1464
+ readonly internalType: "bool";
1465
+ readonly type: "bool";
1466
+ }];
1467
+ }];
1468
+ readonly stateMutability: "view";
1469
+ }, {
1470
+ readonly type: "function";
1471
+ readonly inputs: readonly [{
1472
+ readonly name: "user";
1473
+ readonly internalType: "address";
1474
+ readonly type: "address";
1475
+ }];
1476
+ readonly name: "getUserJobs";
1477
+ readonly outputs: readonly [{
1478
+ readonly name: "";
1479
+ readonly internalType: "bytes32[]";
1480
+ readonly type: "bytes32[]";
1481
+ }];
1482
+ readonly stateMutability: "view";
1483
+ }, {
1484
+ readonly type: "function";
1485
+ readonly inputs: readonly [{
1486
+ readonly name: "";
1487
+ readonly internalType: "bytes32";
1488
+ readonly type: "bytes32";
1489
+ }];
1490
+ readonly name: "jobs";
1491
+ readonly outputs: readonly [{
1492
+ readonly name: "id";
1493
+ readonly internalType: "bytes32";
1494
+ readonly type: "bytes32";
1495
+ }, {
1496
+ readonly name: "owner";
1497
+ readonly internalType: "address";
1498
+ readonly type: "address";
1499
+ }, {
1500
+ readonly name: "jobType";
1501
+ readonly internalType: "enum AutomationManager.JobType";
1502
+ readonly type: "uint8";
1503
+ }, {
1504
+ readonly name: "status";
1505
+ readonly internalType: "enum AutomationManager.JobStatus";
1506
+ readonly type: "uint8";
1507
+ }, {
1508
+ readonly name: "createdAt";
1509
+ readonly internalType: "uint256";
1510
+ readonly type: "uint256";
1511
+ }, {
1512
+ readonly name: "expiresAt";
1513
+ readonly internalType: "uint256";
1514
+ readonly type: "uint256";
1515
+ }, {
1516
+ readonly name: "maxSlippageBps";
1517
+ readonly internalType: "uint256";
1518
+ readonly type: "uint256";
1519
+ }];
1520
+ readonly stateMutability: "view";
1521
+ }, {
1522
+ readonly type: "function";
1523
+ readonly inputs: readonly [];
1524
+ readonly name: "keeperFeeFlat";
1525
+ readonly outputs: readonly [{
1526
+ readonly name: "";
1527
+ readonly internalType: "uint256";
1528
+ readonly type: "uint256";
1529
+ }];
1530
+ readonly stateMutability: "view";
1531
+ }, {
1532
+ readonly type: "function";
1533
+ readonly inputs: readonly [{
1534
+ readonly name: "";
1535
+ readonly internalType: "address";
1536
+ readonly type: "address";
1537
+ }];
1538
+ readonly name: "keepers";
1539
+ readonly outputs: readonly [{
1540
+ readonly name: "";
1541
+ readonly internalType: "bool";
1542
+ readonly type: "bool";
1543
+ }];
1544
+ readonly stateMutability: "view";
1545
+ }, {
1546
+ readonly type: "function";
1547
+ readonly inputs: readonly [{
1548
+ readonly name: "";
1549
+ readonly internalType: "bytes32";
1550
+ readonly type: "bytes32";
1551
+ }];
1552
+ readonly name: "limitOrders";
1553
+ readonly outputs: readonly [{
1554
+ readonly name: "tokenIn";
1555
+ readonly internalType: "address";
1556
+ readonly type: "address";
1557
+ }, {
1558
+ readonly name: "tokenOut";
1559
+ readonly internalType: "address";
1560
+ readonly type: "address";
1561
+ }, {
1562
+ readonly name: "amountIn";
1563
+ readonly internalType: "uint256";
1564
+ readonly type: "uint256";
1565
+ }, {
1566
+ readonly name: "minAmountOut";
1567
+ readonly internalType: "uint256";
1568
+ readonly type: "uint256";
1569
+ }, {
1570
+ readonly name: "targetPrice";
1571
+ readonly internalType: "uint256";
1572
+ readonly type: "uint256";
1573
+ }, {
1574
+ readonly name: "triggerAbove";
1575
+ readonly internalType: "bool";
1576
+ readonly type: "bool";
1577
+ }];
1578
+ readonly stateMutability: "view";
1579
+ }, {
1580
+ readonly type: "function";
1581
+ readonly inputs: readonly [];
1582
+ readonly name: "maxJobsPerUser";
1583
+ readonly outputs: readonly [{
1584
+ readonly name: "";
1585
+ readonly internalType: "uint256";
1586
+ readonly type: "uint256";
1587
+ }];
1588
+ readonly stateMutability: "view";
1589
+ }, {
1590
+ readonly type: "function";
1591
+ readonly inputs: readonly [];
1592
+ readonly name: "maxSlippageBps";
1593
+ readonly outputs: readonly [{
1594
+ readonly name: "";
1595
+ readonly internalType: "uint256";
1596
+ readonly type: "uint256";
1597
+ }];
1598
+ readonly stateMutability: "view";
1599
+ }, {
1600
+ readonly type: "function";
1601
+ readonly inputs: readonly [];
1602
+ readonly name: "owner";
1603
+ readonly outputs: readonly [{
1604
+ readonly name: "";
1605
+ readonly internalType: "address";
1606
+ readonly type: "address";
1607
+ }];
1608
+ readonly stateMutability: "view";
1609
+ }, {
1610
+ readonly type: "function";
1611
+ readonly inputs: readonly [];
1612
+ readonly name: "pause";
1613
+ readonly outputs: readonly [];
1614
+ readonly stateMutability: "nonpayable";
1615
+ }, {
1616
+ readonly type: "function";
1617
+ readonly inputs: readonly [];
1618
+ readonly name: "paused";
1619
+ readonly outputs: readonly [{
1620
+ readonly name: "";
1621
+ readonly internalType: "bool";
1622
+ readonly type: "bool";
1623
+ }];
1624
+ readonly stateMutability: "view";
1625
+ }, {
1626
+ readonly type: "function";
1627
+ readonly inputs: readonly [];
1628
+ readonly name: "priceAdapter";
1629
+ readonly outputs: readonly [{
1630
+ readonly name: "";
1631
+ readonly internalType: "contract IPriceAdapter";
1632
+ readonly type: "address";
1633
+ }];
1634
+ readonly stateMutability: "view";
1635
+ }, {
1636
+ readonly type: "function";
1637
+ readonly inputs: readonly [];
1638
+ readonly name: "renounceOwnership";
1639
+ readonly outputs: readonly [];
1640
+ readonly stateMutability: "nonpayable";
1641
+ }, {
1642
+ readonly type: "function";
1643
+ readonly inputs: readonly [{
1644
+ readonly name: "keeper";
1645
+ readonly internalType: "address";
1646
+ readonly type: "address";
1647
+ }, {
1648
+ readonly name: "allowed";
1649
+ readonly internalType: "bool";
1650
+ readonly type: "bool";
1651
+ }];
1652
+ readonly name: "setKeeper";
1653
+ readonly outputs: readonly [];
1654
+ readonly stateMutability: "nonpayable";
1655
+ }, {
1656
+ readonly type: "function";
1657
+ readonly inputs: readonly [{
1658
+ readonly name: "_max";
1659
+ readonly internalType: "uint256";
1660
+ readonly type: "uint256";
1661
+ }];
1662
+ readonly name: "setMaxJobsPerUser";
1663
+ readonly outputs: readonly [];
1664
+ readonly stateMutability: "nonpayable";
1665
+ }, {
1666
+ readonly type: "function";
1667
+ readonly inputs: readonly [{
1668
+ readonly name: "_maxBps";
1669
+ readonly internalType: "uint256";
1670
+ readonly type: "uint256";
1671
+ }];
1672
+ readonly name: "setMaxSlippageBps";
1673
+ readonly outputs: readonly [];
1674
+ readonly stateMutability: "nonpayable";
1675
+ }, {
1676
+ readonly type: "function";
1677
+ readonly inputs: readonly [{
1678
+ readonly name: "_priceAdapter";
1679
+ readonly internalType: "address";
1680
+ readonly type: "address";
1681
+ }];
1682
+ readonly name: "setPriceAdapter";
1683
+ readonly outputs: readonly [];
1684
+ readonly stateMutability: "nonpayable";
1685
+ }, {
1686
+ readonly type: "function";
1687
+ readonly inputs: readonly [{
1688
+ readonly name: "newOwner";
1689
+ readonly internalType: "address";
1690
+ readonly type: "address";
1691
+ }];
1692
+ readonly name: "transferOwnership";
1693
+ readonly outputs: readonly [];
1694
+ readonly stateMutability: "nonpayable";
1695
+ }, {
1696
+ readonly type: "function";
1697
+ readonly inputs: readonly [];
1698
+ readonly name: "unpause";
1699
+ readonly outputs: readonly [];
1700
+ readonly stateMutability: "nonpayable";
1701
+ }, {
1702
+ readonly type: "function";
1703
+ readonly inputs: readonly [{
1704
+ readonly name: "";
1705
+ readonly internalType: "address";
1706
+ readonly type: "address";
1707
+ }, {
1708
+ readonly name: "";
1709
+ readonly internalType: "uint256";
1710
+ readonly type: "uint256";
1711
+ }];
1712
+ readonly name: "userJobs";
1713
+ readonly outputs: readonly [{
1714
+ readonly name: "";
1715
+ readonly internalType: "bytes32";
1716
+ readonly type: "bytes32";
1717
+ }];
1718
+ readonly stateMutability: "view";
1719
+ }];
1720
+ };
1721
+ /**
1722
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x4240882f2d9d70cdb9fbcc859cdd4d3e59f5d137)
1723
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0x0D566aC9Dd1e20Fc63990bEEf6e8abBA876c896B)
1724
+ */
1725
+ declare const permitHandlerAbi: readonly [{
1726
+ readonly type: "error";
1727
+ readonly inputs: readonly [{
1728
+ readonly name: "token";
1729
+ readonly internalType: "address";
1730
+ readonly type: "address";
1731
+ }, {
1732
+ readonly name: "reason";
1733
+ readonly internalType: "string";
1734
+ readonly type: "string";
1735
+ }];
1736
+ readonly name: "PermitFailed";
1737
+ }, {
1738
+ readonly type: "error";
1739
+ readonly inputs: readonly [];
1740
+ readonly name: "ReentrancyGuardReentrantCall";
1741
+ }, {
1742
+ readonly type: "error";
1743
+ readonly inputs: readonly [];
1744
+ readonly name: "ZeroAddress";
1745
+ }, {
1746
+ readonly type: "error";
1747
+ readonly inputs: readonly [];
1748
+ readonly name: "ZeroAmount";
1749
+ }, {
1750
+ readonly type: "event";
1751
+ readonly anonymous: false;
1752
+ readonly inputs: readonly [{
1753
+ readonly name: "token";
1754
+ readonly internalType: "address";
1755
+ readonly type: "address";
1756
+ readonly indexed: true;
1757
+ }, {
1758
+ readonly name: "owner";
1759
+ readonly internalType: "address";
1760
+ readonly type: "address";
1761
+ readonly indexed: true;
1762
+ }, {
1763
+ readonly name: "spender";
1764
+ readonly internalType: "address";
1765
+ readonly type: "address";
1766
+ readonly indexed: true;
1767
+ }, {
1768
+ readonly name: "value";
1769
+ readonly internalType: "uint256";
1770
+ readonly type: "uint256";
1771
+ readonly indexed: false;
1772
+ }, {
1773
+ readonly name: "deadline";
1774
+ readonly internalType: "uint256";
1775
+ readonly type: "uint256";
1776
+ readonly indexed: false;
1777
+ }];
1778
+ readonly name: "PermitApplied";
1779
+ }, {
1780
+ readonly type: "function";
1781
+ readonly inputs: readonly [{
1782
+ readonly name: "token";
1783
+ readonly internalType: "address";
1784
+ readonly type: "address";
1785
+ }, {
1786
+ readonly name: "owner";
1787
+ readonly internalType: "address";
1788
+ readonly type: "address";
1789
+ }, {
1790
+ readonly name: "spender";
1791
+ readonly internalType: "address";
1792
+ readonly type: "address";
1793
+ }, {
1794
+ readonly name: "value";
1795
+ readonly internalType: "uint256";
1796
+ readonly type: "uint256";
1797
+ }, {
1798
+ readonly name: "deadline";
1799
+ readonly internalType: "uint256";
1800
+ readonly type: "uint256";
1801
+ }, {
1802
+ readonly name: "v";
1803
+ readonly internalType: "uint8";
1804
+ readonly type: "uint8";
1805
+ }, {
1806
+ readonly name: "r";
1807
+ readonly internalType: "bytes32";
1808
+ readonly type: "bytes32";
1809
+ }, {
1810
+ readonly name: "s";
1811
+ readonly internalType: "bytes32";
1812
+ readonly type: "bytes32";
1813
+ }];
1814
+ readonly name: "permitAndApprove";
1815
+ readonly outputs: readonly [];
1816
+ readonly stateMutability: "nonpayable";
1817
+ }, {
1818
+ readonly type: "function";
1819
+ readonly inputs: readonly [{
1820
+ readonly name: "token";
1821
+ readonly internalType: "address";
1822
+ readonly type: "address";
1823
+ }, {
1824
+ readonly name: "owner";
1825
+ readonly internalType: "address";
1826
+ readonly type: "address";
1827
+ }, {
1828
+ readonly name: "spender";
1829
+ readonly internalType: "address";
1830
+ readonly type: "address";
1831
+ }, {
1832
+ readonly name: "value";
1833
+ readonly internalType: "uint256";
1834
+ readonly type: "uint256";
1835
+ }, {
1836
+ readonly name: "deadline";
1837
+ readonly internalType: "uint256";
1838
+ readonly type: "uint256";
1839
+ }, {
1840
+ readonly name: "v";
1841
+ readonly internalType: "uint8";
1842
+ readonly type: "uint8";
1843
+ }, {
1844
+ readonly name: "r";
1845
+ readonly internalType: "bytes32";
1846
+ readonly type: "bytes32";
1847
+ }, {
1848
+ readonly name: "s";
1849
+ readonly internalType: "bytes32";
1850
+ readonly type: "bytes32";
1851
+ }, {
1852
+ readonly name: "createJobCalldata";
1853
+ readonly internalType: "bytes";
1854
+ readonly type: "bytes";
1855
+ }];
1856
+ readonly name: "permitApproveAndCall";
1857
+ readonly outputs: readonly [{
1858
+ readonly name: "result";
1859
+ readonly internalType: "bytes";
1860
+ readonly type: "bytes";
1861
+ }];
1862
+ readonly stateMutability: "nonpayable";
1863
+ }];
1864
+ /**
1865
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x4240882f2d9d70cdb9fbcc859cdd4d3e59f5d137)
1866
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0x0D566aC9Dd1e20Fc63990bEEf6e8abBA876c896B)
1867
+ */
1868
+ declare const permitHandlerAddress: {
1869
+ readonly 71: "0x4240882f2D9D70Cdb9fBCC859cdD4d3e59f5d137";
1870
+ readonly 1030: "0x0D566aC9Dd1e20Fc63990bEEf6e8abBA876c896B";
1871
+ };
1872
+ /**
1873
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x4240882f2d9d70cdb9fbcc859cdd4d3e59f5d137)
1874
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0x0D566aC9Dd1e20Fc63990bEEf6e8abBA876c896B)
1875
+ */
1876
+ declare const permitHandlerConfig: {
1877
+ readonly address: {
1878
+ readonly 71: "0x4240882f2D9D70Cdb9fBCC859cdD4d3e59f5d137";
1879
+ readonly 1030: "0x0D566aC9Dd1e20Fc63990bEEf6e8abBA876c896B";
1880
+ };
1881
+ readonly abi: readonly [{
1882
+ readonly type: "error";
1883
+ readonly inputs: readonly [{
1884
+ readonly name: "token";
1885
+ readonly internalType: "address";
1886
+ readonly type: "address";
1887
+ }, {
1888
+ readonly name: "reason";
1889
+ readonly internalType: "string";
1890
+ readonly type: "string";
1891
+ }];
1892
+ readonly name: "PermitFailed";
1893
+ }, {
1894
+ readonly type: "error";
1895
+ readonly inputs: readonly [];
1896
+ readonly name: "ReentrancyGuardReentrantCall";
1897
+ }, {
1898
+ readonly type: "error";
1899
+ readonly inputs: readonly [];
1900
+ readonly name: "ZeroAddress";
1901
+ }, {
1902
+ readonly type: "error";
1903
+ readonly inputs: readonly [];
1904
+ readonly name: "ZeroAmount";
1905
+ }, {
1906
+ readonly type: "event";
1907
+ readonly anonymous: false;
1908
+ readonly inputs: readonly [{
1909
+ readonly name: "token";
1910
+ readonly internalType: "address";
1911
+ readonly type: "address";
1912
+ readonly indexed: true;
1913
+ }, {
1914
+ readonly name: "owner";
1915
+ readonly internalType: "address";
1916
+ readonly type: "address";
1917
+ readonly indexed: true;
1918
+ }, {
1919
+ readonly name: "spender";
1920
+ readonly internalType: "address";
1921
+ readonly type: "address";
1922
+ readonly indexed: true;
1923
+ }, {
1924
+ readonly name: "value";
1925
+ readonly internalType: "uint256";
1926
+ readonly type: "uint256";
1927
+ readonly indexed: false;
1928
+ }, {
1929
+ readonly name: "deadline";
1930
+ readonly internalType: "uint256";
1931
+ readonly type: "uint256";
1932
+ readonly indexed: false;
1933
+ }];
1934
+ readonly name: "PermitApplied";
1935
+ }, {
1936
+ readonly type: "function";
1937
+ readonly inputs: readonly [{
1938
+ readonly name: "token";
1939
+ readonly internalType: "address";
1940
+ readonly type: "address";
1941
+ }, {
1942
+ readonly name: "owner";
1943
+ readonly internalType: "address";
1944
+ readonly type: "address";
1945
+ }, {
1946
+ readonly name: "spender";
1947
+ readonly internalType: "address";
1948
+ readonly type: "address";
1949
+ }, {
1950
+ readonly name: "value";
1951
+ readonly internalType: "uint256";
1952
+ readonly type: "uint256";
1953
+ }, {
1954
+ readonly name: "deadline";
1955
+ readonly internalType: "uint256";
1956
+ readonly type: "uint256";
1957
+ }, {
1958
+ readonly name: "v";
1959
+ readonly internalType: "uint8";
1960
+ readonly type: "uint8";
1961
+ }, {
1962
+ readonly name: "r";
1963
+ readonly internalType: "bytes32";
1964
+ readonly type: "bytes32";
1965
+ }, {
1966
+ readonly name: "s";
1967
+ readonly internalType: "bytes32";
1968
+ readonly type: "bytes32";
1969
+ }];
1970
+ readonly name: "permitAndApprove";
1971
+ readonly outputs: readonly [];
1972
+ readonly stateMutability: "nonpayable";
1973
+ }, {
1974
+ readonly type: "function";
1975
+ readonly inputs: readonly [{
1976
+ readonly name: "token";
1977
+ readonly internalType: "address";
1978
+ readonly type: "address";
1979
+ }, {
1980
+ readonly name: "owner";
1981
+ readonly internalType: "address";
1982
+ readonly type: "address";
1983
+ }, {
1984
+ readonly name: "spender";
1985
+ readonly internalType: "address";
1986
+ readonly type: "address";
1987
+ }, {
1988
+ readonly name: "value";
1989
+ readonly internalType: "uint256";
1990
+ readonly type: "uint256";
1991
+ }, {
1992
+ readonly name: "deadline";
1993
+ readonly internalType: "uint256";
1994
+ readonly type: "uint256";
1995
+ }, {
1996
+ readonly name: "v";
1997
+ readonly internalType: "uint8";
1998
+ readonly type: "uint8";
1999
+ }, {
2000
+ readonly name: "r";
2001
+ readonly internalType: "bytes32";
2002
+ readonly type: "bytes32";
2003
+ }, {
2004
+ readonly name: "s";
2005
+ readonly internalType: "bytes32";
2006
+ readonly type: "bytes32";
2007
+ }, {
2008
+ readonly name: "createJobCalldata";
2009
+ readonly internalType: "bytes";
2010
+ readonly type: "bytes";
2011
+ }];
2012
+ readonly name: "permitApproveAndCall";
2013
+ readonly outputs: readonly [{
2014
+ readonly name: "result";
2015
+ readonly internalType: "bytes";
2016
+ readonly type: "bytes";
2017
+ }];
2018
+ readonly stateMutability: "nonpayable";
2019
+ }];
2020
+ };
2021
+ /**
2022
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x88c48e0e8f76493bb926131a2be779cc17ecbedf)
2023
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0xD2Cc2a7Eb4A5792cE6383CcD0f789C1A9c48ECf9)
2024
+ */
2025
+ declare const swappiPriceAdapterAbi: readonly [{
2026
+ readonly type: "constructor";
2027
+ readonly inputs: readonly [{
2028
+ readonly name: "_router";
2029
+ readonly internalType: "address";
2030
+ readonly type: "address";
2031
+ }, {
2032
+ readonly name: "_factory";
2033
+ readonly internalType: "address";
2034
+ readonly type: "address";
2035
+ }, {
2036
+ readonly name: "initialOwner";
2037
+ readonly internalType: "address";
2038
+ readonly type: "address";
2039
+ }];
2040
+ readonly stateMutability: "nonpayable";
2041
+ }, {
2042
+ readonly type: "error";
2043
+ readonly inputs: readonly [{
2044
+ readonly name: "owner";
2045
+ readonly internalType: "address";
2046
+ readonly type: "address";
2047
+ }];
2048
+ readonly name: "OwnableInvalidOwner";
2049
+ }, {
2050
+ readonly type: "error";
2051
+ readonly inputs: readonly [{
2052
+ readonly name: "account";
2053
+ readonly internalType: "address";
2054
+ readonly type: "address";
2055
+ }];
2056
+ readonly name: "OwnableUnauthorizedAccount";
2057
+ }, {
2058
+ readonly type: "event";
2059
+ readonly anonymous: false;
2060
+ readonly inputs: readonly [{
2061
+ readonly name: "newFactory";
2062
+ readonly internalType: "address";
2063
+ readonly type: "address";
2064
+ readonly indexed: true;
2065
+ }];
2066
+ readonly name: "FactoryUpdated";
2067
+ }, {
2068
+ readonly type: "event";
2069
+ readonly anonymous: false;
2070
+ readonly inputs: readonly [{
2071
+ readonly name: "previousOwner";
2072
+ readonly internalType: "address";
2073
+ readonly type: "address";
2074
+ readonly indexed: true;
2075
+ }, {
2076
+ readonly name: "newOwner";
2077
+ readonly internalType: "address";
2078
+ readonly type: "address";
2079
+ readonly indexed: true;
2080
+ }];
2081
+ readonly name: "OwnershipTransferred";
2082
+ }, {
2083
+ readonly type: "event";
2084
+ readonly anonymous: false;
2085
+ readonly inputs: readonly [{
2086
+ readonly name: "newAmount";
2087
+ readonly internalType: "uint256";
2088
+ readonly type: "uint256";
2089
+ readonly indexed: false;
2090
+ }];
2091
+ readonly name: "QuoteAmountUpdated";
2092
+ }, {
2093
+ readonly type: "event";
2094
+ readonly anonymous: false;
2095
+ readonly inputs: readonly [{
2096
+ readonly name: "newRouter";
2097
+ readonly internalType: "address";
2098
+ readonly type: "address";
2099
+ readonly indexed: true;
2100
+ }];
2101
+ readonly name: "RouterUpdated";
2102
+ }, {
2103
+ readonly type: "function";
2104
+ readonly inputs: readonly [];
2105
+ readonly name: "factory";
2106
+ readonly outputs: readonly [{
2107
+ readonly name: "";
2108
+ readonly internalType: "contract ISwappiFactory";
2109
+ readonly type: "address";
2110
+ }];
2111
+ readonly stateMutability: "view";
2112
+ }, {
2113
+ readonly type: "function";
2114
+ readonly inputs: readonly [{
2115
+ readonly name: "tokenIn";
2116
+ readonly internalType: "address";
2117
+ readonly type: "address";
2118
+ }, {
2119
+ readonly name: "tokenOut";
2120
+ readonly internalType: "address";
2121
+ readonly type: "address";
2122
+ }];
2123
+ readonly name: "getPrice";
2124
+ readonly outputs: readonly [{
2125
+ readonly name: "price";
2126
+ readonly internalType: "uint256";
2127
+ readonly type: "uint256";
2128
+ }];
2129
+ readonly stateMutability: "view";
2130
+ }, {
2131
+ readonly type: "function";
2132
+ readonly inputs: readonly [];
2133
+ readonly name: "owner";
2134
+ readonly outputs: readonly [{
2135
+ readonly name: "";
2136
+ readonly internalType: "address";
2137
+ readonly type: "address";
2138
+ }];
2139
+ readonly stateMutability: "view";
2140
+ }, {
2141
+ readonly type: "function";
2142
+ readonly inputs: readonly [];
2143
+ readonly name: "quoteAmount";
2144
+ readonly outputs: readonly [{
2145
+ readonly name: "";
2146
+ readonly internalType: "uint256";
2147
+ readonly type: "uint256";
2148
+ }];
2149
+ readonly stateMutability: "view";
2150
+ }, {
2151
+ readonly type: "function";
2152
+ readonly inputs: readonly [];
2153
+ readonly name: "renounceOwnership";
2154
+ readonly outputs: readonly [];
2155
+ readonly stateMutability: "nonpayable";
2156
+ }, {
2157
+ readonly type: "function";
2158
+ readonly inputs: readonly [];
2159
+ readonly name: "router";
2160
+ readonly outputs: readonly [{
2161
+ readonly name: "";
2162
+ readonly internalType: "contract ISwappiRouter";
2163
+ readonly type: "address";
2164
+ }];
2165
+ readonly stateMutability: "view";
2166
+ }, {
2167
+ readonly type: "function";
2168
+ readonly inputs: readonly [{
2169
+ readonly name: "_factory";
2170
+ readonly internalType: "address";
2171
+ readonly type: "address";
2172
+ }];
2173
+ readonly name: "setFactory";
2174
+ readonly outputs: readonly [];
2175
+ readonly stateMutability: "nonpayable";
2176
+ }, {
2177
+ readonly type: "function";
2178
+ readonly inputs: readonly [{
2179
+ readonly name: "_quoteAmount";
2180
+ readonly internalType: "uint256";
2181
+ readonly type: "uint256";
2182
+ }];
2183
+ readonly name: "setQuoteAmount";
2184
+ readonly outputs: readonly [];
2185
+ readonly stateMutability: "nonpayable";
2186
+ }, {
2187
+ readonly type: "function";
2188
+ readonly inputs: readonly [{
2189
+ readonly name: "_router";
2190
+ readonly internalType: "address";
2191
+ readonly type: "address";
2192
+ }];
2193
+ readonly name: "setRouter";
2194
+ readonly outputs: readonly [];
2195
+ readonly stateMutability: "nonpayable";
2196
+ }, {
2197
+ readonly type: "function";
2198
+ readonly inputs: readonly [{
2199
+ readonly name: "newOwner";
2200
+ readonly internalType: "address";
2201
+ readonly type: "address";
2202
+ }];
2203
+ readonly name: "transferOwnership";
2204
+ readonly outputs: readonly [];
2205
+ readonly stateMutability: "nonpayable";
2206
+ }];
2207
+ /**
2208
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x88c48e0e8f76493bb926131a2be779cc17ecbedf)
2209
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0xD2Cc2a7Eb4A5792cE6383CcD0f789C1A9c48ECf9)
2210
+ */
2211
+ declare const swappiPriceAdapterAddress: {
2212
+ readonly 71: "0x88C48e0E8F76493Bb926131a2BE779cc17ecBEdF";
2213
+ readonly 1030: "0xD2Cc2a7Eb4A5792cE6383CcD0f789C1A9c48ECf9";
2214
+ };
2215
+ /**
2216
+ * - [__View Contract on Conflux E Space Testnet Conflux Scan__](https://evmtestnet.confluxscan.org/address/0x88c48e0e8f76493bb926131a2be779cc17ecbedf)
2217
+ * - [__View Contract on Conflux E Space Conflux Scan__](https://evm.confluxscan.org/address/0xD2Cc2a7Eb4A5792cE6383CcD0f789C1A9c48ECf9)
2218
+ */
2219
+ declare const swappiPriceAdapterConfig: {
2220
+ readonly address: {
2221
+ readonly 71: "0x88C48e0E8F76493Bb926131a2BE779cc17ecBEdF";
2222
+ readonly 1030: "0xD2Cc2a7Eb4A5792cE6383CcD0f789C1A9c48ECf9";
2223
+ };
2224
+ readonly abi: readonly [{
2225
+ readonly type: "constructor";
2226
+ readonly inputs: readonly [{
2227
+ readonly name: "_router";
2228
+ readonly internalType: "address";
2229
+ readonly type: "address";
2230
+ }, {
2231
+ readonly name: "_factory";
2232
+ readonly internalType: "address";
2233
+ readonly type: "address";
2234
+ }, {
2235
+ readonly name: "initialOwner";
2236
+ readonly internalType: "address";
2237
+ readonly type: "address";
2238
+ }];
2239
+ readonly stateMutability: "nonpayable";
2240
+ }, {
2241
+ readonly type: "error";
2242
+ readonly inputs: readonly [{
2243
+ readonly name: "owner";
2244
+ readonly internalType: "address";
2245
+ readonly type: "address";
2246
+ }];
2247
+ readonly name: "OwnableInvalidOwner";
2248
+ }, {
2249
+ readonly type: "error";
2250
+ readonly inputs: readonly [{
2251
+ readonly name: "account";
2252
+ readonly internalType: "address";
2253
+ readonly type: "address";
2254
+ }];
2255
+ readonly name: "OwnableUnauthorizedAccount";
2256
+ }, {
2257
+ readonly type: "event";
2258
+ readonly anonymous: false;
2259
+ readonly inputs: readonly [{
2260
+ readonly name: "newFactory";
2261
+ readonly internalType: "address";
2262
+ readonly type: "address";
2263
+ readonly indexed: true;
2264
+ }];
2265
+ readonly name: "FactoryUpdated";
2266
+ }, {
2267
+ readonly type: "event";
2268
+ readonly anonymous: false;
2269
+ readonly inputs: readonly [{
2270
+ readonly name: "previousOwner";
2271
+ readonly internalType: "address";
2272
+ readonly type: "address";
2273
+ readonly indexed: true;
2274
+ }, {
2275
+ readonly name: "newOwner";
2276
+ readonly internalType: "address";
2277
+ readonly type: "address";
2278
+ readonly indexed: true;
2279
+ }];
2280
+ readonly name: "OwnershipTransferred";
2281
+ }, {
2282
+ readonly type: "event";
2283
+ readonly anonymous: false;
2284
+ readonly inputs: readonly [{
2285
+ readonly name: "newAmount";
2286
+ readonly internalType: "uint256";
2287
+ readonly type: "uint256";
2288
+ readonly indexed: false;
2289
+ }];
2290
+ readonly name: "QuoteAmountUpdated";
2291
+ }, {
2292
+ readonly type: "event";
2293
+ readonly anonymous: false;
2294
+ readonly inputs: readonly [{
2295
+ readonly name: "newRouter";
2296
+ readonly internalType: "address";
2297
+ readonly type: "address";
2298
+ readonly indexed: true;
2299
+ }];
2300
+ readonly name: "RouterUpdated";
2301
+ }, {
2302
+ readonly type: "function";
2303
+ readonly inputs: readonly [];
2304
+ readonly name: "factory";
2305
+ readonly outputs: readonly [{
2306
+ readonly name: "";
2307
+ readonly internalType: "contract ISwappiFactory";
2308
+ readonly type: "address";
2309
+ }];
2310
+ readonly stateMutability: "view";
2311
+ }, {
2312
+ readonly type: "function";
2313
+ readonly inputs: readonly [{
2314
+ readonly name: "tokenIn";
2315
+ readonly internalType: "address";
2316
+ readonly type: "address";
2317
+ }, {
2318
+ readonly name: "tokenOut";
2319
+ readonly internalType: "address";
2320
+ readonly type: "address";
2321
+ }];
2322
+ readonly name: "getPrice";
2323
+ readonly outputs: readonly [{
2324
+ readonly name: "price";
2325
+ readonly internalType: "uint256";
2326
+ readonly type: "uint256";
2327
+ }];
2328
+ readonly stateMutability: "view";
2329
+ }, {
2330
+ readonly type: "function";
2331
+ readonly inputs: readonly [];
2332
+ readonly name: "owner";
2333
+ readonly outputs: readonly [{
2334
+ readonly name: "";
2335
+ readonly internalType: "address";
2336
+ readonly type: "address";
2337
+ }];
2338
+ readonly stateMutability: "view";
2339
+ }, {
2340
+ readonly type: "function";
2341
+ readonly inputs: readonly [];
2342
+ readonly name: "quoteAmount";
2343
+ readonly outputs: readonly [{
2344
+ readonly name: "";
2345
+ readonly internalType: "uint256";
2346
+ readonly type: "uint256";
2347
+ }];
2348
+ readonly stateMutability: "view";
2349
+ }, {
2350
+ readonly type: "function";
2351
+ readonly inputs: readonly [];
2352
+ readonly name: "renounceOwnership";
2353
+ readonly outputs: readonly [];
2354
+ readonly stateMutability: "nonpayable";
2355
+ }, {
2356
+ readonly type: "function";
2357
+ readonly inputs: readonly [];
2358
+ readonly name: "router";
2359
+ readonly outputs: readonly [{
2360
+ readonly name: "";
2361
+ readonly internalType: "contract ISwappiRouter";
2362
+ readonly type: "address";
2363
+ }];
2364
+ readonly stateMutability: "view";
2365
+ }, {
2366
+ readonly type: "function";
2367
+ readonly inputs: readonly [{
2368
+ readonly name: "_factory";
2369
+ readonly internalType: "address";
2370
+ readonly type: "address";
2371
+ }];
2372
+ readonly name: "setFactory";
2373
+ readonly outputs: readonly [];
2374
+ readonly stateMutability: "nonpayable";
2375
+ }, {
2376
+ readonly type: "function";
2377
+ readonly inputs: readonly [{
2378
+ readonly name: "_quoteAmount";
2379
+ readonly internalType: "uint256";
2380
+ readonly type: "uint256";
2381
+ }];
2382
+ readonly name: "setQuoteAmount";
2383
+ readonly outputs: readonly [];
2384
+ readonly stateMutability: "nonpayable";
2385
+ }, {
2386
+ readonly type: "function";
2387
+ readonly inputs: readonly [{
2388
+ readonly name: "_router";
2389
+ readonly internalType: "address";
2390
+ readonly type: "address";
2391
+ }];
2392
+ readonly name: "setRouter";
2393
+ readonly outputs: readonly [];
2394
+ readonly stateMutability: "nonpayable";
2395
+ }, {
2396
+ readonly type: "function";
2397
+ readonly inputs: readonly [{
2398
+ readonly name: "newOwner";
2399
+ readonly internalType: "address";
2400
+ readonly type: "address";
2401
+ }];
2402
+ readonly name: "transferOwnership";
2403
+ readonly outputs: readonly [];
2404
+ readonly stateMutability: "nonpayable";
2405
+ }];
2406
+ };
2407
+ declare const automationManagerBytecode: "0x608034620001255762002420601f38829003908101601f19168301906001600160401b038211848310176200012a57808491604094859485528339810103126200012557816200005160209362000140565b6001600160a01b0393909184916200006a910162000140565b1680156200010d57600080546001600160a01b0319808216841783558551969294909291849083167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08780a36001805560146009556101f4600a5584600b5516908115620000fe5784955060025416176002558152600860205220600160ff19825416179055516122ca9081620001568239f35b63d92e233d60e01b8652600486fd5b8251631e4fbdf760e01b815260006004820152602490fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b0382168203620001255756fe6080604052600436101561001257600080fd5b60e0600035811c806317f5f04914611845578063225f079d146114b157806325fc1b3d1461144e5780632b7aabee146114305780633651588e1461131057806338ed5b34146112f257806338ed7cfc1461126c5780633bbd64bc1461122d5780633f0b1d741461116c5780633f4ba83a146110fa5780633fa7276c1461104657806340fba24314610fdd57806359c9bbeb14610f915780635c975abb14610f6b5780635fae145014610e665780636683e21514610a89578063715018a614610a305780638456cb59146109ce5780638da5cb5b146109a55780638faa8b6c1461096b5780639309838214610942578063c17ff9d2146108ea578063c4aa7395146108cc578063ca697db414610859578063d033f1501461077e578063d1b9e853146106dd578063dc4c46ab1461036c578063dd7f9305146102f5578063f2fde38b1461026c5763f729cf0d1461016757600080fd5b3461026757602036600319011261026757610180611e27565b50600435600052600360205260406000206040519061019e82611d05565b8054825260018101546001600160a01b03808216602085019081529291604085019060a081901c60ff169060028210156102515760ff91835260a81c16606086019060048110156102515761023d9261023291835260028601549460808901958652600460038801549760a08b0198895201549760c08a0198895260405199518a5251166020890152516040880190611c19565b516060860190611c26565b5160808401525160a08301525160c0820152f35b634e487b7160e01b600052602160045260246000fd5b600080fd5b3461026757602036600319011261026757610285611c33565b61028d611f46565b6001600160a01b039081169081156102dc57600054826001600160601b0360a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b604051631e4fbdf760e01b815260006004820152602490fd5b5034610267576020366003190112610267576004356000526005602052604060002060018060a01b0390818154169160018201541690600281015460038201546004830154916006600585015494015494604051968752602087015260408601526060850152608084015260a083015260c0820152f35b346102675761037a36611c49565b929190610385611f72565b61038d611ef9565b336000526020906008825260ff60406000205416156106cc5760008481526003835260409020600101546001600160a01b0391908216156106b3578460005260038352604060002090600484526040600020966103e983611f95565b6103f283611fc9565b600254885460018a018054604051635620c32d60e11b81526001600160a01b0393891684811660048301529189169093166024840152959094929091908890829060449082908b165afa90811561060b57600091610686575b5060058b015460ff161561066d5760048b01541161065457906104946001602494935b01956104878c60028a8a54169101928354913091612067565b89888d5416915491612180565b8584541693878787541695604051958680926370a0823160e01b998a835260048301525afa93841561060b57889388938b92600097610617575b506104fa9282600080949381946040519384928337810182815203925af16104f4611e7f565b50611ebf565b5485546040519586528716600486015284916024918391165afa801561060b576000906105dc575b61052c9250611e72565b95600381015487106105a2577e89088bf76a5e8c7f0949b234e1b713c4d71b6c75b4578745a6c711ac70189594836105659254166120c2565b805460ff60a81b198116600160a81b179091551660009081526007825260409020805461059190611e1a565b90556040519384523393a360018055005b60405163a8c278dd60e01b815260206004820152601160248201527014db1a5c1c1859d948195e18d959591959607a1b6044820152606490fd5b508482813d8311610604575b6105f28183611d8b565b810103126102675761052c9151610522565b503d6105e8565b6040513d6000823e3d90fd5b9450955093905082813d831161064d575b6106328183611d8b565b810103126102675790519287928792918a91906104fa6104ce565b503d610628565b604051630771e7a760e31b8152600481018a9052602490fd5b60048b015410610654579061049460016024949361046e565b90508781813d83116106ac575b61069d8183611d8b565b8101031261026757518b61044b565b503d610693565b60405163c182b72d60e01b815260048101869052602490fd5b6040516282b42960e81b8152600490fd5b34610267576040366003190112610267576106f6611c33565b60243590811515908183036102675761070d611f46565b6001600160a01b031691821561076c577f786c9db967bf0c6b16c7c91adae8a8c554b15a57d373fa2059607300f4616c0091610763602092856000526008845260406000209060ff801983541691151516179055565b604051908152a2005b60405163d92e233d60e01b8152600490fd5b3461026757602036600319011261026757600060a060405161079f81611d37565b8281528260208201528260408201528260608201528260808201520152600435600052600460205260c060406000206040516107da81611d37565b60018060a01b03918281541692838352806001830154169060208401918252600283015490604085019182526003840154926060860193845260a060ff600560048801549760808a01988952015416960195151586526040519687525116602086015251604085015251606084015251608083015251151560a0820152f35b3461026757602036600319011261026757600435600052600460205260c0604060002060018060a01b0390818154169160018201541690600281015460038201549060ff6005600485015494015416936040519586526020860152604085015260608401526080830152151560a0820152f35b34610267576000366003190112610267576020600a54604051908152f35b3461026757604036600319011261026757610903611c33565b6001600160a01b03166000908152600660205260409020805460243591908210156102675760209161093491611cab565b90546040519160031b1c8152f35b34610267576000366003190112610267576002546040516001600160a01b039091168152602090f35b34610267576020366003190112610267576001600160a01b0361098c611c33565b1660005260076020526020604060002054604051908152f35b34610267576000366003190112610267576000546040516001600160a01b039091168152602090f35b34610267576000366003190112610267576109e7611f46565b6109ef611ef9565b6000805460ff60a01b1916600160a01b1790556040513381527f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890602090a1005b3461026757600036600319011261026757610a49611f46565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461026757610a9736611c49565b929190610aa2611f72565b610aaa611ef9565b33600052600860205260ff60406000205416156106cc576000838152600360205260409020600101546001600160a01b031615610e4d578260005260036020526040600020916005602052604060002091610b0484611f95565b610b0d84611fc9565b600583015460048401541115610e34576006830154804210610e1c575060025483546001850154604051635620c32d60e11b81526001600160a01b03928316600482018190529183166024820152909892909160209183916044918391165afa90811561060b57600091610dea575b50670de0b6b3a7640000610b9560028701549283611e5f565b049060048701549161271083810311610d6b57610bbb61271091610bd594830390611e5f565b60018901549190049930916001600160a01b031690612067565b83546002850154610bf09185906001600160a01b0316612180565b600184810154908601546040516370a0823160e01b81526001600160a01b039182166004820152929160209184916024918391165afa91821561060b57600092610db5575b50600081610c5b9394829360405192839283378101838152039082875af16104f4611e7f565b600183810154908501546040516370a0823160e01b81526001600160a01b039182166004820152929160209184916024918391165afa801561060b57600090610d81575b610ca99250611e72565b9485106105a2578154610cc591906001600160a01b03166120c2565b610cd26005820154611e0b565b908160058201556003810154420190814211610d6b57600491600682015501541115610d2b575b506040519182527e89088bf76a5e8c7f0949b234e1b713c4d71b6c75b4578745a6c711ac70189560203393a360018055005b600101805460ff60a81b198116600160a81b179091556001600160a01b031660009081526007602052604090208054610d6390611e1a565b905582610cf9565b634e487b7160e01b600052601160045260246000fd5b506020823d602011610dad575b81610d9b60209383611d8b565b8101031261026757610ca99151610c9f565b3d9150610d8e565b91506020823d602011610de2575b81610dd060209383611d8b565b81010312610267579051906000610c35565b3d9150610dc3565b90506020813d602011610e14575b81610e0560209383611d8b565b81010312610267575188610b7c565b3d9150610df8565b6024906040519063a9155b0960e01b82526004820152fd5b604051637c2dd0fd60e01b815260048101869052602490fd5b60405163c182b72d60e01b815260048101849052602490fd5b34610267576020366003190112610267576004356000818152600360205260409020600101546001600160a01b0390811615610f52578160005260036020526001604060002001805482811692833314159081610f43575b506106cc5760ff8160a81c16600481101561025157610f2a5760ff60a81b1916600160a91b17905560009081526007602052604090208054610eff90611e1a565b905533907f97729287f7ba8b32555258e73e27488f492c99bf34e2869740c56843a2ffb23b600080a3005b604051631e9c917d60e21b815260048101859052602490fd5b90506000541633141585610ebe565b60405163c182b72d60e01b815260048101839052602490fd5b3461026757600036600319011261026757602060ff60005460a01c166040519015158152f35b34610267576020366003190112610267577f2c514bdb606b8075ec8a6022ddd1f50d6a8a2e9d242c88ddd3cbe3764c2256696020600435610fd0611f46565b80600955604051908152a1005b3461026757602036600319011261026757610ff6611c33565b610ffe611f46565b6001600160a01b0316801561076c57600280546001600160a01b031916821790557f5407ae21524903b1268620a61ddba526c26493c2d0df65cea711edd9b018bca9600080a2005b3461026757602080600319360112610267576001600160a01b03611068611c33565b1660005260068152604060002060405190818382549182815201908192600052846000209060005b868282106110e65786866110a682880383611d8b565b604051928392818401908285525180915260408401929160005b8281106110cf57505050500390f35b8351855286955093810193928101926001016110c0565b835485529093019260019283019201611090565b3461026757600036600319011261026757611113611f46565b60005460ff8160a01c161561115a5760ff60a01b19166000556040513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90602090a1005b604051638dfc202b60e01b8152600490fd5b503461026757602036600319011261026757611186611e27565b50600435600052600560205260406000206040516111a381611d05565b60018060a01b03918281541692838352806001830154169060208401918252600283015460408501908152600384015491606086019283526004850154936080870194855260c0600660058801549760a08a0198895201549701968752604051978852511660208701525160408601525160608501525160808401525160a08301525160c0820152f35b34610267576020366003190112610267576001600160a01b0361124e611c33565b166000526008602052602060ff604060002054166040519015158152f35b5034610267576020366003190112610267576004356000526003602052604060002080549060018101549060028101546112e1600460038401549301549360405195865260018060a01b03811660208701526112d16040870160ff8360a01c16611c19565b60ff606087019160a81c16611c26565b608084015260a083015260c0820152f35b34610267576000366003190112610267576020600b54604051908152f35b34610267576020366003190112610267576004356000818152600360205260409020600101546001600160a01b0390811615610f525781600052600360205260406000206001810180549160ff8360a81c166004811015610251576114175760030154801590811561140d575b506113d55760ff60a81b198216600360a81b17905516600090815260076020526040902080546113ac90611e1a565b90557fc4b18028cd4e987c6f51b76fe353bf20701009babc05208e39e32044646b0557600080a2005b60405163a8c278dd60e01b815260206004820152600f60248201526e139bdd081e595d08195e1c1a5c9959608a1b6044820152606490fd5b905042108561137d565b604051631e9c917d60e21b815260048101869052602490fd5b34610267576000366003190112610267576020600954604051908152f35b346102675760203660031901126102675760043561146a611f46565b6107d0811161147857600a55005b60405162461bcd60e51b815260206004820152601160248201527043616e6e6f74206578636565642032302560781b6044820152606490fd5b3461026757366003190161010081126102675760c0136102675760c43560e4356114d9611ef9565b6114e282611f1a565b6001600160a01b03806114f3611cd9565b16158015611834575b61076c5760443580156117fb5760643580156117be57608435918215611782573360005260209560078752604060002054600954111561176a5785151580611760575b6117225761154b611cd9565b611553611cef565b9060405190898201926001600160601b03198092813360601b1686526000603486015242603586015260601b16605584015260601b16606982015283607d820152607d81526115a181611d6f565b51902095604051916115b283611d05565b8783528883019133835260408401600081526060850160008152608086019142835260a0870193845260c087019485528b60005260038d526040600020965187558a60018801965116865491516002811015610251576001600160a81b03199092161760a09190911b60ff60a01b16178555519360048510156102515760049461163b91611dad565b51600285015551600384015551910155846000526004865260406000209380611662611cd9565b166001600160601b0360a01b90818754161786556001860191611683611cef565b169082541617905560028401556003830155600482015560a43580151581036102675760056116be92019060ff801983541691151516179055565b33600052600682526116d4816040600020611dd1565b336000526007825260406000206116eb8154611e0b565b905560405160008152817f7370673d457fb4191e82186e03f9dc23b87e7116cd4e67a291ed3b6596dfd697843393a3604051908152f35b60405163a8c278dd60e01b8152602060048201526015602482015274195e1c1a5c995cd05d081a5b881d1a19481c185cdd605a1b6044820152606490fd5b504286111561153f565b604051636d8d999b60e01b8152336004820152602490fd5b60405163a8c278dd60e01b81526020600482015260136024820152727461726765745072696365206973207a65726f60681b6044820152606490fd5b60405163a8c278dd60e01b81526020600482015260146024820152736d696e416d6f756e744f7574206973207a65726f60601b6044820152606490fd5b60405163a8c278dd60e01b815260206004820152601060248201526f616d6f756e74496e206973207a65726f60801b6044820152606490fd5b508061183e611cef565b16156114fc565b50346102675736600319016101208112610267571261026757611866611ef9565b61187160e435611f1a565b6001600160a01b03611881611cd9565b16158015611c01575b61076c576044358015611bc357606435603c8110611b7d576084358015611b4257336000526007602052604060002054600954111561176a5761010435151580611b35575b611722576118db611cd9565b6118e3611cef565b906040519060208201926001600160601b03198092813360601b168652600160f81b603486015242603586015260601b16605584015260601b16606982015284607d820152607d815261193581611d6f565b519020916040519361194685611d05565b61194e611c33565b85526024356001600160a01b038116810361026757602086015260408501526060840152608083015260c43560c0830152600060a083015260c43515611b2a575b6040519161199c83611d05565b8183526020830133815260408401600181526060850190600082524260808701526101043560a087015260e43560c08701528460005260036020526040600020928651845560018060a01b03905116600184015491516002811015610251576001600160a81b03199092161760a09190911b60ff60a01b16176001830155519360048510156102515760c0600491611a3960209760018601611dad565b6080810151600285015560a0810151600385015501519101558160005260058352600660c060406000209260018060a01b038151166001600160601b0360a01b9081865416178555600185019060018060a01b0388840151169082541617905560408101516002850155606081015160038501556080810151600485015560a0810151600585015501519101553360005260068252611adc816040600020611dd1565b33600052600782526040600020611af38154611e0b565b905560405160018152817f7370673d457fb4191e82186e03f9dc23b87e7116cd4e67a291ed3b6596dfd697843393a3604051908152f35b4260c083015261198f565b50426101043511156118cf565b60405163a8c278dd60e01b8152602060048201526012602482015271746f74616c5377617073206973207a65726f60701b6044820152606490fd5b60405163a8c278dd60e01b815260206004820152601c60248201527f696e74657276616c20746f6f2073686f727420286d696e2036307329000000006044820152606490fd5b60405163a8c278dd60e01b8152602060048201526015602482015274616d6f756e7450657253776170206973207a65726f60581b6044820152606490fd5b506001600160a01b03611c12611cef565b161561188a565b9060028210156102515752565b9060048210156102515752565b600435906001600160a01b038216820361026757565b90606060031983011261026757600435916024356001600160a01b0381168103610267579160443567ffffffffffffffff9283821161026757806023830112156102675781600401359384116102675760248483010111610267576024019190565b8054821015611cc35760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b6004356001600160a01b03811681036102675790565b6024356001600160a01b03811681036102675790565b60e0810190811067ffffffffffffffff821117611d2157604052565b634e487b7160e01b600052604160045260246000fd5b60c0810190811067ffffffffffffffff821117611d2157604052565b6080810190811067ffffffffffffffff821117611d2157604052565b60a0810190811067ffffffffffffffff821117611d2157604052565b90601f8019910116810190811067ffffffffffffffff821117611d2157604052565b90600481101561025157815460ff60a81b191660a89190911b60ff60a81b16179055565b805468010000000000000000811015611d2157611df391600182018155611cab565b819291549060031b91821b91600019901b1916179055565b6000198114610d6b5760010190565b8015610d6b576000190190565b60405190611e3482611d05565b8160c06000918281528260208201528260408201528260608201528260808201528260a08201520152565b81810292918115918404141715610d6b57565b91908203918211610d6b57565b3d15611eba573d9067ffffffffffffffff8211611d215760405191611eae601f8201601f191660200184611d8b565b82523d6000602084013e565b606090565b15611ec657565b60405162461bcd60e51b815260206004820152600b60248201526a14ddd85c0819985a5b195960aa1b6044820152606490fd5b60ff60005460a01c16611f0857565b60405163d93c066560e01b8152600490fd5b600a54808211611f28575050565b6044925060405191633b5d56ed60e11b835260048301526024820152fd5b6000546001600160a01b03163303611f5a57565b60405163118cdaa760e01b8152336004820152602490fd5b600260015414611f83576002600155565b604051633ee5aeb560e01b8152600490fd5b60ff600182015460a81c16600481101561025157611fb05750565b6024905460405190631e9c917d60e21b82526004820152fd5b6003810154801515908161205c575b50611fe05750565b60018101805460ff60a81b198116600360a81b179091556001600160a01b031660009081526007602052604090208054602492919061201e90611e1a565b90555460405190807fc4b18028cd4e987c6f51b76fe353bf20701009babc05208e39e32044646b0557600080a26335053fa960e21b82526004820152fd5b905042101538611fd8565b6040516323b872dd60e01b60208201526001600160a01b03928316602482015292909116604483015260648083019390935291815260a081019181831067ffffffffffffffff841117611d21576120c092604052612238565b565b60405190602082019263095ea7b360e01b80855260018060a01b03809216918260248601526020600080978160448901526044885261210088611d53565b87519082885af1903d8751908361215f575b50505015612122575b5050505050565b6121559461215092604051926020840152602483015260448201526044815261214a81611d53565b82612238565b612238565b388080808061211b565b91925090612176575083163b15155b388080612112565b600191501461216e565b60405163095ea7b360e01b60208083018281526001600160a01b039586166024850181905260448086019890985296845291959294916000906121c287611d53565b86519082875af1903d6000519083612217575b505050156121e4575b50505050565b61220e93612150916040519160208301526024820152600060448201526044815261214a81611d53565b388080806121de565b9192509061222e575082163b15155b3880806121d5565b6001915014612226565b906000602091828151910182855af11561060b576000513d61228b57506001600160a01b0381163b155b6122695750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b6001141561226256fea26469706673582212209245c9d5b6a9e297da6e8ca78f132e346c2948ac1521e373793357ed65b9cf5964736f6c63430008180033";
2408
+ declare const swappiPriceAdapterBytecode: "0x60803461014957601f61086b38819003918201601f19168301916001600160401b0383118484101761014e5780849260609460405283398101031261014957604061004982610164565b9161005660208201610164565b6001600160a01b03929091839161006d9101610164565b1692831561013057826000549160018060a01b03199580878516176000558260405194167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3670de0b6b3a7640000600355169081151580610125575b156100f55750836001541617600155169060025416176002556040516106f290816101798239f35b62461bcd60e51b815260206004820152600b60248201526a5a65726f4164647265737360a81b6044820152606490fd5b5083831615156100cd565b604051631e4fbdf760e01b815260006004820152602490fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101495756fe60806040818152600436101561001457600080fd5b600091823560e01c9081630d40886d146103a3575080634e15d2831461030b5780635bb478081461029c578063715018a6146102425780638da5cb5b1461021b578063ac41865a146101da578063c0d7865514610168578063c45a015514610140578063f2fde38b146100bb5763f887ea401461009057600080fd5b346100b757816003193601126100b75760015490516001600160a01b039091168152602090f35b5080fd5b50346100b75760203660031901126100b7576100d56103bf565b6100dd610690565b6001600160a01b03908116918215610129575082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b51631e4fbdf760e01b815260048101849052602490fd5b50346100b757816003193601126100b75760025490516001600160a01b039091168152602090f35b82346101d75760203660031901126101d7576101826103bf565b61018a610690565b6001600160a01b031661019e8115156103da565b600180546001600160a01b031916821790557f7aed1d3e8155a07ccf395e44ea3109a0e2d6c9b29bbbe9f142d9790596f4dc808280a280f35b80fd5b50346100b757806003193601126100b7576101f36103bf565b602435926001600160a01b03841684036101d7575060209261021491610472565b9051908152f35b50346100b757816003193601126100b757905490516001600160a01b039091168152602090f35b82346101d757806003193601126101d75761025b610690565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b82346101d75760203660031901126101d7576102b66103bf565b6102be610690565b6001600160a01b03166102d28115156103da565b600280546001600160a01b031916821790557f24cd1310c8883cbeaf5b805ab13586ce018b79c022827158ff3e8df14d3449368280a280f35b50346100b75760203660031901126100b75760043590610329610690565b811561036057816020917f1c9c437472a65d9d30272a49ca8c4f80f30703f7691e605dd789f56645b2ddb99360035551908152a180f35b5162461bcd60e51b815260206004820152601760248201527f51756f7465416d6f756e74206d757374206265203e20300000000000000000006044820152606490fd5b8390346100b757816003193601126100b7576020906003548152f35b600435906001600160a01b03821682036103d557565b600080fd5b156103e157565b60405162461bcd60e51b815260206004820152600b60248201526a5a65726f4164647265737360a81b6044820152606490fd5b90601f8019910116810190811067ffffffffffffffff82111761043657604052565b634e487b7160e01b600052604160045260246000fd5b80516001101561045c5760400190565b634e487b7160e01b600052603260045260246000fd5b60018060a01b038060025416908060409381855193849263e6a4390560e01b84521696876004840152169384602483015281604460209586935afa9081156106855790829160009161064a575b5016156106405783519467ffffffffffffffff93606087018581118882101761043657865260028752838701918636843787511561045c57829792526105048261044c565b5260019582600154169260035497875198899463d06ca61f60e01b865260448601916004870152896024870152518091526064850193926000905b888383106106265750505050505091818060009403915afa938493600095610581575b50505050156000146105745750600090565b61057d9061044c565b5190565b90919293943d8082853e6105958185610414565b83019284818503126100b75780519086821161062257019083601f830112156101d757815195861161060e578560051b9251956105d486850188610414565b865284808701938301019384116101d757508301905b8282106105ff57505050509038808080610562565b815181529083019083016105ea565b634e487b7160e01b81526041600452602490fd5b8280fd5b8551821687528c975095860195909401939083019061053f565b5050505050600090565b9091508381813d831161067e575b6106628183610414565b810103126100b757519082821682036101d757508190386104bf565b503d610658565b85513d6000823e3d90fd5b6000546001600160a01b031633036106a457565b60405163118cdaa760e01b8152336004820152602490fdfea2646970667358221220c10b223e834089e9444951c7ad37f3dafbfee5eca308265a397febeda5206ecc64736f6c63430008180033";
2409
+ declare const permitHandlerBytecode: "0x6080806040523461001b5760016000556106de90816100218239f35b600080fdfe6040608081526004908136101561001557600080fd5b6000803560e01c80635854e9bf146102e05763686f13fa1461003657600080fd5b346102dd576101203660031901126102dd576100506104f1565b9061005961050c565b93610062610522565b60843590606435610071610538565b610104359167ffffffffffffffff978884116102d957366023850112156102d95783870135928984116102d55736602485870101116102d5576100b2610685565b6001600160a01b039682881691821580156102cb575b6102bb57888e169333850361029c5750823b15610298579b818b829f819e9f61014a8e9f9d9e928a938e938851978896879663d505accf60e01b885260e4359560c4359589019360ff929897969360c0969260e087019a60018060a01b0380921688521660208701526040860152606085015216608083015260a08201520152565b038183885af1908161026f575b50916024979593918a9b8b989694610234575b509250505082915051948593018337810182815203925af13d1561022b573d938411610218578451936101a7601f8201601f1916602001866105f1565b84523d83602086013e5b156101d557509160016101d1935551918291602083526020830190610548565b0390f35b606490602085519162461bcd60e51b8352820152601d60248201527f4175746f6d6174696f6e4d616e616765722063616c6c206661696c65640000006044820152fd5b634e487b7160e01b835260418252602483fd5b606093506101b1565b7ff1888f4efa1fe5ad83325dd9d700a5cfee681bc32eb7ab040e1727368faf96ba92825196875260208701528a1694a4388080808e8161016a565b61028391939597999b9496989a92506105c7565b61029857918c8b989694929997959338610157565b8a80fd5b8d516308f14ec160e11b81529081906102b790828e01610588565b0390fd5b8c5163d92e233d60e01b81528a90fd5b50888816156100c8565b8880fd5b8780fd5b80fd5b509190346104ed576101003660031901126104ed576102fd6104f1565b9261030661050c565b9361030f610522565b906064359160843590610320610538565b91610329610685565b6001600160a01b03848116999093908a1580156104e3575b6104d357848116953387036104b8575086156104a8578a3b156102d957885163d505accf60e01b81526001600160a01b039182168b82019081529185166020830152604082018890526060820184905260ff92909216608082015260c43560a082015260e43560c08201528790829081900360e00181838e5af19081610495575b5061045b5750505050508060033d1161044b575b506308c379a014610413575b6084928151926308f14ec160e11b8452830152602482015260076044820152663ab735b737bbb760c91b6064820152fd5b61041b610613565b8061042657506103e2565b816102b792519485946308f14ec160e11b865285015260248401526044830190610548565b90508281803e5160e01c386103d6565b88927ff1888f4efa1fe5ad83325dd9d700a5cfee681bc32eb7ab040e1727368faf96ba928892835197885260208801521694a46001815580f35b6104a1909791976105c7565b95386103c2565b8851631f2a200560e01b81528a90fd5b89516308f14ec160e11b81529081906102b790828e01610588565b885163d92e233d60e01b81528a90fd5b5084841615610341565b8280fd5b600435906001600160a01b038216820361050757565b600080fd5b602435906001600160a01b038216820361050757565b604435906001600160a01b038216820361050757565b60a4359060ff8216820361050757565b919082519283825260005b848110610574575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201610553565b6001600160a01b0390911681526040602082018190526014908201527337bbb732b91036bab9ba1031329031b0b63632b960611b606082015260800190565b67ffffffffffffffff81116105db57604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff8211176105db57604052565b600060443d1061067157604051600319913d83016004833e815167ffffffffffffffff918282113d6024840111176106745781840194855193841161067c573d850101602084870101116106745750610671929101602001906105f1565b90565b949350505050565b50949350505050565b600260005414610696576002600055565b604051633ee5aeb560e01b8152600490fdfea264697066735822122048df7123008527f31c193ab0b904724dd3c10843f6afd019948c9ebbc518411964736f6c63430008180033";
2410
+
2411
+ export { automationManagerAbi, automationManagerAddress, automationManagerBytecode, automationManagerConfig, permitHandlerAbi, permitHandlerAddress, permitHandlerBytecode, permitHandlerConfig, swappiPriceAdapterAbi, swappiPriceAdapterAddress, swappiPriceAdapterBytecode, swappiPriceAdapterConfig };