@bouncetech/contracts 1.0.4 → 1.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.
@@ -1,1344 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "inputs": [],
5
- "stateMutability": "nonpayable"
6
- },
7
- {
8
- "type": "function",
9
- "name": "agentCreatedAt",
10
- "inputs": [
11
- {
12
- "name": "agent_",
13
- "type": "address",
14
- "internalType": "address"
15
- }
16
- ],
17
- "outputs": [
18
- {
19
- "name": "",
20
- "type": "uint256",
21
- "internalType": "uint256"
22
- }
23
- ],
24
- "stateMutability": "view"
25
- },
26
- {
27
- "type": "function",
28
- "name": "agents",
29
- "inputs": [],
30
- "outputs": [
31
- {
32
- "name": "",
33
- "type": "address[3]",
34
- "internalType": "address[3]"
35
- }
36
- ],
37
- "stateMutability": "view"
38
- },
39
- {
40
- "type": "function",
41
- "name": "allowance",
42
- "inputs": [
43
- {
44
- "name": "owner",
45
- "type": "address",
46
- "internalType": "address"
47
- },
48
- {
49
- "name": "spender",
50
- "type": "address",
51
- "internalType": "address"
52
- }
53
- ],
54
- "outputs": [
55
- {
56
- "name": "",
57
- "type": "uint256",
58
- "internalType": "uint256"
59
- }
60
- ],
61
- "stateMutability": "view"
62
- },
63
- {
64
- "type": "function",
65
- "name": "approve",
66
- "inputs": [
67
- {
68
- "name": "spender",
69
- "type": "address",
70
- "internalType": "address"
71
- },
72
- {
73
- "name": "value",
74
- "type": "uint256",
75
- "internalType": "uint256"
76
- }
77
- ],
78
- "outputs": [
79
- {
80
- "name": "",
81
- "type": "bool",
82
- "internalType": "bool"
83
- }
84
- ],
85
- "stateMutability": "nonpayable"
86
- },
87
- {
88
- "type": "function",
89
- "name": "balanceOf",
90
- "inputs": [
91
- {
92
- "name": "account",
93
- "type": "address",
94
- "internalType": "address"
95
- }
96
- ],
97
- "outputs": [
98
- {
99
- "name": "",
100
- "type": "uint256",
101
- "internalType": "uint256"
102
- }
103
- ],
104
- "stateMutability": "view"
105
- },
106
- {
107
- "type": "function",
108
- "name": "baseAssetBalance",
109
- "inputs": [],
110
- "outputs": [
111
- {
112
- "name": "",
113
- "type": "uint256",
114
- "internalType": "uint256"
115
- }
116
- ],
117
- "stateMutability": "view"
118
- },
119
- {
120
- "type": "function",
121
- "name": "baseToLtAmount",
122
- "inputs": [
123
- {
124
- "name": "baseAmount_",
125
- "type": "uint256",
126
- "internalType": "uint256"
127
- }
128
- ],
129
- "outputs": [
130
- {
131
- "name": "",
132
- "type": "uint256",
133
- "internalType": "uint256"
134
- }
135
- ],
136
- "stateMutability": "view"
137
- },
138
- {
139
- "type": "function",
140
- "name": "bridgeFromPerp",
141
- "inputs": [
142
- {
143
- "name": "amount_",
144
- "type": "uint256",
145
- "internalType": "uint256"
146
- }
147
- ],
148
- "outputs": [],
149
- "stateMutability": "nonpayable"
150
- },
151
- {
152
- "type": "function",
153
- "name": "bridgeFromSpot",
154
- "inputs": [
155
- {
156
- "name": "amount_",
157
- "type": "uint256",
158
- "internalType": "uint256"
159
- }
160
- ],
161
- "outputs": [],
162
- "stateMutability": "nonpayable"
163
- },
164
- {
165
- "type": "function",
166
- "name": "bridgeToPerp",
167
- "inputs": [
168
- {
169
- "name": "amount_",
170
- "type": "uint256",
171
- "internalType": "uint256"
172
- }
173
- ],
174
- "outputs": [],
175
- "stateMutability": "nonpayable"
176
- },
177
- {
178
- "type": "function",
179
- "name": "bridgeToSpot",
180
- "inputs": [
181
- {
182
- "name": "amount_",
183
- "type": "uint256",
184
- "internalType": "uint256"
185
- }
186
- ],
187
- "outputs": [],
188
- "stateMutability": "nonpayable"
189
- },
190
- {
191
- "type": "function",
192
- "name": "cancelRedeem",
193
- "inputs": [],
194
- "outputs": [],
195
- "stateMutability": "nonpayable"
196
- },
197
- {
198
- "type": "function",
199
- "name": "checkpoint",
200
- "inputs": [],
201
- "outputs": [],
202
- "stateMutability": "nonpayable"
203
- },
204
- {
205
- "type": "function",
206
- "name": "checkpoint",
207
- "inputs": [
208
- {
209
- "name": "to_",
210
- "type": "uint256",
211
- "internalType": "uint256"
212
- }
213
- ],
214
- "outputs": [],
215
- "stateMutability": "nonpayable"
216
- },
217
- {
218
- "type": "function",
219
- "name": "credit",
220
- "inputs": [],
221
- "outputs": [
222
- {
223
- "name": "",
224
- "type": "uint256",
225
- "internalType": "uint256"
226
- }
227
- ],
228
- "stateMutability": "view"
229
- },
230
- {
231
- "type": "function",
232
- "name": "decimals",
233
- "inputs": [],
234
- "outputs": [
235
- {
236
- "name": "",
237
- "type": "uint8",
238
- "internalType": "uint8"
239
- }
240
- ],
241
- "stateMutability": "view"
242
- },
243
- {
244
- "type": "function",
245
- "name": "exchangeRate",
246
- "inputs": [],
247
- "outputs": [
248
- {
249
- "name": "",
250
- "type": "uint256",
251
- "internalType": "uint256"
252
- }
253
- ],
254
- "stateMutability": "view"
255
- },
256
- {
257
- "type": "function",
258
- "name": "executeRedemptions",
259
- "inputs": [
260
- {
261
- "name": "users_",
262
- "type": "address[]",
263
- "internalType": "address[]"
264
- }
265
- ],
266
- "outputs": [
267
- {
268
- "name": "executeRedemptionData_",
269
- "type": "tuple[]",
270
- "internalType": "struct ILeveragedToken.ExecuteRedemptionData[]",
271
- "components": [
272
- {
273
- "name": "user",
274
- "type": "address",
275
- "internalType": "address"
276
- },
277
- {
278
- "name": "wasExecuted",
279
- "type": "bool",
280
- "internalType": "bool"
281
- }
282
- ]
283
- }
284
- ],
285
- "stateMutability": "nonpayable"
286
- },
287
- {
288
- "type": "function",
289
- "name": "getAgentSlot",
290
- "inputs": [
291
- {
292
- "name": "agent_",
293
- "type": "address",
294
- "internalType": "address"
295
- }
296
- ],
297
- "outputs": [
298
- {
299
- "name": "",
300
- "type": "uint8",
301
- "internalType": "uint8"
302
- }
303
- ],
304
- "stateMutability": "view"
305
- },
306
- {
307
- "type": "function",
308
- "name": "initialize",
309
- "inputs": [
310
- {
311
- "name": "globalStorage_",
312
- "type": "address",
313
- "internalType": "address"
314
- },
315
- {
316
- "name": "marketId_",
317
- "type": "uint32",
318
- "internalType": "uint32"
319
- },
320
- {
321
- "name": "targetAsset_",
322
- "type": "string",
323
- "internalType": "string"
324
- },
325
- {
326
- "name": "targetLeverage_",
327
- "type": "uint256",
328
- "internalType": "uint256"
329
- },
330
- {
331
- "name": "isLong_",
332
- "type": "bool",
333
- "internalType": "bool"
334
- },
335
- {
336
- "name": "name_",
337
- "type": "string",
338
- "internalType": "string"
339
- },
340
- {
341
- "name": "symbol_",
342
- "type": "string",
343
- "internalType": "string"
344
- }
345
- ],
346
- "outputs": [],
347
- "stateMutability": "nonpayable"
348
- },
349
- {
350
- "type": "function",
351
- "name": "isAgent",
352
- "inputs": [
353
- {
354
- "name": "agent_",
355
- "type": "address",
356
- "internalType": "address"
357
- }
358
- ],
359
- "outputs": [
360
- {
361
- "name": "",
362
- "type": "bool",
363
- "internalType": "bool"
364
- }
365
- ],
366
- "stateMutability": "view"
367
- },
368
- {
369
- "type": "function",
370
- "name": "isLong",
371
- "inputs": [],
372
- "outputs": [
373
- {
374
- "name": "",
375
- "type": "bool",
376
- "internalType": "bool"
377
- }
378
- ],
379
- "stateMutability": "view"
380
- },
381
- {
382
- "type": "function",
383
- "name": "lastCheckpoint",
384
- "inputs": [],
385
- "outputs": [
386
- {
387
- "name": "",
388
- "type": "uint256",
389
- "internalType": "uint256"
390
- }
391
- ],
392
- "stateMutability": "view"
393
- },
394
- {
395
- "type": "function",
396
- "name": "ltToBaseAmount",
397
- "inputs": [
398
- {
399
- "name": "ltAmount_",
400
- "type": "uint256",
401
- "internalType": "uint256"
402
- }
403
- ],
404
- "outputs": [
405
- {
406
- "name": "",
407
- "type": "uint256",
408
- "internalType": "uint256"
409
- }
410
- ],
411
- "stateMutability": "view"
412
- },
413
- {
414
- "type": "function",
415
- "name": "marketId",
416
- "inputs": [],
417
- "outputs": [
418
- {
419
- "name": "",
420
- "type": "uint32",
421
- "internalType": "uint32"
422
- }
423
- ],
424
- "stateMutability": "view"
425
- },
426
- {
427
- "type": "function",
428
- "name": "mint",
429
- "inputs": [
430
- {
431
- "name": "to_",
432
- "type": "address",
433
- "internalType": "address"
434
- },
435
- {
436
- "name": "baseAmount_",
437
- "type": "uint256",
438
- "internalType": "uint256"
439
- },
440
- {
441
- "name": "minOut_",
442
- "type": "uint256",
443
- "internalType": "uint256"
444
- }
445
- ],
446
- "outputs": [
447
- {
448
- "name": "",
449
- "type": "uint256",
450
- "internalType": "uint256"
451
- }
452
- ],
453
- "stateMutability": "nonpayable"
454
- },
455
- {
456
- "type": "function",
457
- "name": "mintPaused",
458
- "inputs": [],
459
- "outputs": [
460
- {
461
- "name": "",
462
- "type": "bool",
463
- "internalType": "bool"
464
- }
465
- ],
466
- "stateMutability": "view"
467
- },
468
- {
469
- "type": "function",
470
- "name": "name",
471
- "inputs": [],
472
- "outputs": [
473
- {
474
- "name": "",
475
- "type": "string",
476
- "internalType": "string"
477
- }
478
- ],
479
- "stateMutability": "view"
480
- },
481
- {
482
- "type": "function",
483
- "name": "pendingRedemptions",
484
- "inputs": [],
485
- "outputs": [
486
- {
487
- "name": "",
488
- "type": "address[]",
489
- "internalType": "address[]"
490
- }
491
- ],
492
- "stateMutability": "view"
493
- },
494
- {
495
- "type": "function",
496
- "name": "prepareRedeem",
497
- "inputs": [
498
- {
499
- "name": "ltAmount_",
500
- "type": "uint256",
501
- "internalType": "uint256"
502
- }
503
- ],
504
- "outputs": [],
505
- "stateMutability": "nonpayable"
506
- },
507
- {
508
- "type": "function",
509
- "name": "redeem",
510
- "inputs": [
511
- {
512
- "name": "to_",
513
- "type": "address",
514
- "internalType": "address"
515
- },
516
- {
517
- "name": "ltAmount_",
518
- "type": "uint256",
519
- "internalType": "uint256"
520
- },
521
- {
522
- "name": "minBaseAmount_",
523
- "type": "uint256",
524
- "internalType": "uint256"
525
- }
526
- ],
527
- "outputs": [
528
- {
529
- "name": "",
530
- "type": "uint256",
531
- "internalType": "uint256"
532
- }
533
- ],
534
- "stateMutability": "nonpayable"
535
- },
536
- {
537
- "type": "function",
538
- "name": "setAgent",
539
- "inputs": [
540
- {
541
- "name": "slot_",
542
- "type": "uint8",
543
- "internalType": "uint8"
544
- },
545
- {
546
- "name": "agent_",
547
- "type": "address",
548
- "internalType": "address"
549
- }
550
- ],
551
- "outputs": [],
552
- "stateMutability": "nonpayable"
553
- },
554
- {
555
- "type": "function",
556
- "name": "setMintPaused",
557
- "inputs": [
558
- {
559
- "name": "mintPaused_",
560
- "type": "bool",
561
- "internalType": "bool"
562
- }
563
- ],
564
- "outputs": [],
565
- "stateMutability": "nonpayable"
566
- },
567
- {
568
- "type": "function",
569
- "name": "symbol",
570
- "inputs": [],
571
- "outputs": [
572
- {
573
- "name": "",
574
- "type": "string",
575
- "internalType": "string"
576
- }
577
- ],
578
- "stateMutability": "view"
579
- },
580
- {
581
- "type": "function",
582
- "name": "targetAsset",
583
- "inputs": [],
584
- "outputs": [
585
- {
586
- "name": "",
587
- "type": "string",
588
- "internalType": "string"
589
- }
590
- ],
591
- "stateMutability": "view"
592
- },
593
- {
594
- "type": "function",
595
- "name": "targetLeverage",
596
- "inputs": [],
597
- "outputs": [
598
- {
599
- "name": "",
600
- "type": "uint256",
601
- "internalType": "uint256"
602
- }
603
- ],
604
- "stateMutability": "view"
605
- },
606
- {
607
- "type": "function",
608
- "name": "totalAssets",
609
- "inputs": [],
610
- "outputs": [
611
- {
612
- "name": "",
613
- "type": "uint256",
614
- "internalType": "uint256"
615
- }
616
- ],
617
- "stateMutability": "view"
618
- },
619
- {
620
- "type": "function",
621
- "name": "totalSupply",
622
- "inputs": [],
623
- "outputs": [
624
- {
625
- "name": "",
626
- "type": "uint256",
627
- "internalType": "uint256"
628
- }
629
- ],
630
- "stateMutability": "view"
631
- },
632
- {
633
- "type": "function",
634
- "name": "transfer",
635
- "inputs": [
636
- {
637
- "name": "to",
638
- "type": "address",
639
- "internalType": "address"
640
- },
641
- {
642
- "name": "value",
643
- "type": "uint256",
644
- "internalType": "uint256"
645
- }
646
- ],
647
- "outputs": [
648
- {
649
- "name": "",
650
- "type": "bool",
651
- "internalType": "bool"
652
- }
653
- ],
654
- "stateMutability": "nonpayable"
655
- },
656
- {
657
- "type": "function",
658
- "name": "transferFrom",
659
- "inputs": [
660
- {
661
- "name": "from",
662
- "type": "address",
663
- "internalType": "address"
664
- },
665
- {
666
- "name": "to",
667
- "type": "address",
668
- "internalType": "address"
669
- },
670
- {
671
- "name": "value",
672
- "type": "uint256",
673
- "internalType": "uint256"
674
- }
675
- ],
676
- "outputs": [
677
- {
678
- "name": "",
679
- "type": "bool",
680
- "internalType": "bool"
681
- }
682
- ],
683
- "stateMutability": "nonpayable"
684
- },
685
- {
686
- "type": "function",
687
- "name": "usdClassTransfer",
688
- "inputs": [
689
- {
690
- "name": "amount_",
691
- "type": "uint64",
692
- "internalType": "uint64"
693
- },
694
- {
695
- "name": "toPerp_",
696
- "type": "bool",
697
- "internalType": "bool"
698
- }
699
- ],
700
- "outputs": [],
701
- "stateMutability": "nonpayable"
702
- },
703
- {
704
- "type": "function",
705
- "name": "userCredit",
706
- "inputs": [
707
- {
708
- "name": "user_",
709
- "type": "address",
710
- "internalType": "address"
711
- }
712
- ],
713
- "outputs": [
714
- {
715
- "name": "",
716
- "type": "uint256",
717
- "internalType": "uint256"
718
- }
719
- ],
720
- "stateMutability": "view"
721
- },
722
- {
723
- "type": "function",
724
- "name": "version",
725
- "inputs": [],
726
- "outputs": [
727
- {
728
- "name": "",
729
- "type": "string",
730
- "internalType": "string"
731
- }
732
- ],
733
- "stateMutability": "pure"
734
- },
735
- {
736
- "type": "event",
737
- "name": "Approval",
738
- "inputs": [
739
- {
740
- "name": "owner",
741
- "type": "address",
742
- "indexed": true,
743
- "internalType": "address"
744
- },
745
- {
746
- "name": "spender",
747
- "type": "address",
748
- "indexed": true,
749
- "internalType": "address"
750
- },
751
- {
752
- "name": "value",
753
- "type": "uint256",
754
- "indexed": false,
755
- "internalType": "uint256"
756
- }
757
- ],
758
- "anonymous": false
759
- },
760
- {
761
- "type": "event",
762
- "name": "BridgeFromPerp",
763
- "inputs": [
764
- {
765
- "name": "sender",
766
- "type": "address",
767
- "indexed": true,
768
- "internalType": "address"
769
- },
770
- {
771
- "name": "amount",
772
- "type": "uint256",
773
- "indexed": false,
774
- "internalType": "uint256"
775
- }
776
- ],
777
- "anonymous": false
778
- },
779
- {
780
- "type": "event",
781
- "name": "BridgeFromSpot",
782
- "inputs": [
783
- {
784
- "name": "sender",
785
- "type": "address",
786
- "indexed": true,
787
- "internalType": "address"
788
- },
789
- {
790
- "name": "amount",
791
- "type": "uint256",
792
- "indexed": false,
793
- "internalType": "uint256"
794
- }
795
- ],
796
- "anonymous": false
797
- },
798
- {
799
- "type": "event",
800
- "name": "BridgeToPerp",
801
- "inputs": [
802
- {
803
- "name": "sender",
804
- "type": "address",
805
- "indexed": true,
806
- "internalType": "address"
807
- },
808
- {
809
- "name": "amount",
810
- "type": "uint256",
811
- "indexed": false,
812
- "internalType": "uint256"
813
- }
814
- ],
815
- "anonymous": false
816
- },
817
- {
818
- "type": "event",
819
- "name": "BridgeToSpot",
820
- "inputs": [
821
- {
822
- "name": "sender",
823
- "type": "address",
824
- "indexed": true,
825
- "internalType": "address"
826
- },
827
- {
828
- "name": "amount",
829
- "type": "uint256",
830
- "indexed": false,
831
- "internalType": "uint256"
832
- }
833
- ],
834
- "anonymous": false
835
- },
836
- {
837
- "type": "event",
838
- "name": "CancelRedeem",
839
- "inputs": [
840
- {
841
- "name": "user",
842
- "type": "address",
843
- "indexed": true,
844
- "internalType": "address"
845
- },
846
- {
847
- "name": "credit",
848
- "type": "uint256",
849
- "indexed": false,
850
- "internalType": "uint256"
851
- }
852
- ],
853
- "anonymous": false
854
- },
855
- {
856
- "type": "event",
857
- "name": "ExecuteRedeem",
858
- "inputs": [
859
- {
860
- "name": "user",
861
- "type": "address",
862
- "indexed": true,
863
- "internalType": "address"
864
- },
865
- {
866
- "name": "ltAmount",
867
- "type": "uint256",
868
- "indexed": false,
869
- "internalType": "uint256"
870
- },
871
- {
872
- "name": "baseAmount",
873
- "type": "uint256",
874
- "indexed": false,
875
- "internalType": "uint256"
876
- }
877
- ],
878
- "anonymous": false
879
- },
880
- {
881
- "type": "event",
882
- "name": "Initialized",
883
- "inputs": [
884
- {
885
- "name": "version",
886
- "type": "uint64",
887
- "indexed": false,
888
- "internalType": "uint64"
889
- }
890
- ],
891
- "anonymous": false
892
- },
893
- {
894
- "type": "event",
895
- "name": "Mint",
896
- "inputs": [
897
- {
898
- "name": "minter",
899
- "type": "address",
900
- "indexed": true,
901
- "internalType": "address"
902
- },
903
- {
904
- "name": "to",
905
- "type": "address",
906
- "indexed": true,
907
- "internalType": "address"
908
- },
909
- {
910
- "name": "baseAmount",
911
- "type": "uint256",
912
- "indexed": false,
913
- "internalType": "uint256"
914
- },
915
- {
916
- "name": "ltAmount",
917
- "type": "uint256",
918
- "indexed": false,
919
- "internalType": "uint256"
920
- }
921
- ],
922
- "anonymous": false
923
- },
924
- {
925
- "type": "event",
926
- "name": "PrepareRedeem",
927
- "inputs": [
928
- {
929
- "name": "sender",
930
- "type": "address",
931
- "indexed": true,
932
- "internalType": "address"
933
- },
934
- {
935
- "name": "ltAmount",
936
- "type": "uint256",
937
- "indexed": false,
938
- "internalType": "uint256"
939
- }
940
- ],
941
- "anonymous": false
942
- },
943
- {
944
- "type": "event",
945
- "name": "Redeem",
946
- "inputs": [
947
- {
948
- "name": "sender",
949
- "type": "address",
950
- "indexed": true,
951
- "internalType": "address"
952
- },
953
- {
954
- "name": "to",
955
- "type": "address",
956
- "indexed": true,
957
- "internalType": "address"
958
- },
959
- {
960
- "name": "ltAmount",
961
- "type": "uint256",
962
- "indexed": false,
963
- "internalType": "uint256"
964
- },
965
- {
966
- "name": "baseAmount",
967
- "type": "uint256",
968
- "indexed": false,
969
- "internalType": "uint256"
970
- }
971
- ],
972
- "anonymous": false
973
- },
974
- {
975
- "type": "event",
976
- "name": "RemoveAgent",
977
- "inputs": [
978
- {
979
- "name": "agent",
980
- "type": "address",
981
- "indexed": true,
982
- "internalType": "address"
983
- }
984
- ],
985
- "anonymous": false
986
- },
987
- {
988
- "type": "event",
989
- "name": "SendFeesToTreasury",
990
- "inputs": [
991
- {
992
- "name": "amount",
993
- "type": "uint256",
994
- "indexed": false,
995
- "internalType": "uint256"
996
- }
997
- ],
998
- "anonymous": false
999
- },
1000
- {
1001
- "type": "event",
1002
- "name": "SetAgent",
1003
- "inputs": [
1004
- {
1005
- "name": "slot",
1006
- "type": "uint8",
1007
- "indexed": true,
1008
- "internalType": "uint8"
1009
- },
1010
- {
1011
- "name": "agent",
1012
- "type": "address",
1013
- "indexed": true,
1014
- "internalType": "address"
1015
- },
1016
- {
1017
- "name": "name",
1018
- "type": "string",
1019
- "indexed": false,
1020
- "internalType": "string"
1021
- }
1022
- ],
1023
- "anonymous": false
1024
- },
1025
- {
1026
- "type": "event",
1027
- "name": "SetMintPaused",
1028
- "inputs": [
1029
- {
1030
- "name": "mintPaused",
1031
- "type": "bool",
1032
- "indexed": false,
1033
- "internalType": "bool"
1034
- }
1035
- ],
1036
- "anonymous": false
1037
- },
1038
- {
1039
- "type": "event",
1040
- "name": "Transfer",
1041
- "inputs": [
1042
- {
1043
- "name": "from",
1044
- "type": "address",
1045
- "indexed": true,
1046
- "internalType": "address"
1047
- },
1048
- {
1049
- "name": "to",
1050
- "type": "address",
1051
- "indexed": true,
1052
- "internalType": "address"
1053
- },
1054
- {
1055
- "name": "value",
1056
- "type": "uint256",
1057
- "indexed": false,
1058
- "internalType": "uint256"
1059
- }
1060
- ],
1061
- "anonymous": false
1062
- },
1063
- {
1064
- "type": "event",
1065
- "name": "UsdClassTransfer",
1066
- "inputs": [
1067
- {
1068
- "name": "sender",
1069
- "type": "address",
1070
- "indexed": true,
1071
- "internalType": "address"
1072
- },
1073
- {
1074
- "name": "amount",
1075
- "type": "uint256",
1076
- "indexed": false,
1077
- "internalType": "uint256"
1078
- },
1079
- {
1080
- "name": "toPerp",
1081
- "type": "bool",
1082
- "indexed": false,
1083
- "internalType": "bool"
1084
- }
1085
- ],
1086
- "anonymous": false
1087
- },
1088
- {
1089
- "type": "error",
1090
- "name": "AlreadyCreated",
1091
- "inputs": []
1092
- },
1093
- {
1094
- "type": "error",
1095
- "name": "AlreadyRedeeming",
1096
- "inputs": []
1097
- },
1098
- {
1099
- "type": "error",
1100
- "name": "BelowMinTransactionSize",
1101
- "inputs": []
1102
- },
1103
- {
1104
- "type": "error",
1105
- "name": "CancelDelayNotElapsed",
1106
- "inputs": []
1107
- },
1108
- {
1109
- "type": "error",
1110
- "name": "CoreWriterLib__CannotSelfTransfer",
1111
- "inputs": []
1112
- },
1113
- {
1114
- "type": "error",
1115
- "name": "CoreWriterLib__CoreAmountTooLarge",
1116
- "inputs": [
1117
- {
1118
- "name": "amount",
1119
- "type": "uint256",
1120
- "internalType": "uint256"
1121
- }
1122
- ]
1123
- },
1124
- {
1125
- "type": "error",
1126
- "name": "CoreWriterLib__EvmAmountTooSmall",
1127
- "inputs": [
1128
- {
1129
- "name": "amount",
1130
- "type": "uint256",
1131
- "internalType": "uint256"
1132
- }
1133
- ]
1134
- },
1135
- {
1136
- "type": "error",
1137
- "name": "CoreWriterLib__HypeTransferFailed",
1138
- "inputs": []
1139
- },
1140
- {
1141
- "type": "error",
1142
- "name": "DivisionByZero",
1143
- "inputs": []
1144
- },
1145
- {
1146
- "type": "error",
1147
- "name": "ERC20InsufficientAllowance",
1148
- "inputs": [
1149
- {
1150
- "name": "spender",
1151
- "type": "address",
1152
- "internalType": "address"
1153
- },
1154
- {
1155
- "name": "allowance",
1156
- "type": "uint256",
1157
- "internalType": "uint256"
1158
- },
1159
- {
1160
- "name": "needed",
1161
- "type": "uint256",
1162
- "internalType": "uint256"
1163
- }
1164
- ]
1165
- },
1166
- {
1167
- "type": "error",
1168
- "name": "ERC20InsufficientBalance",
1169
- "inputs": [
1170
- {
1171
- "name": "sender",
1172
- "type": "address",
1173
- "internalType": "address"
1174
- },
1175
- {
1176
- "name": "balance",
1177
- "type": "uint256",
1178
- "internalType": "uint256"
1179
- },
1180
- {
1181
- "name": "needed",
1182
- "type": "uint256",
1183
- "internalType": "uint256"
1184
- }
1185
- ]
1186
- },
1187
- {
1188
- "type": "error",
1189
- "name": "ERC20InvalidApprover",
1190
- "inputs": [
1191
- {
1192
- "name": "approver",
1193
- "type": "address",
1194
- "internalType": "address"
1195
- }
1196
- ]
1197
- },
1198
- {
1199
- "type": "error",
1200
- "name": "ERC20InvalidReceiver",
1201
- "inputs": [
1202
- {
1203
- "name": "receiver",
1204
- "type": "address",
1205
- "internalType": "address"
1206
- }
1207
- ]
1208
- },
1209
- {
1210
- "type": "error",
1211
- "name": "ERC20InvalidSender",
1212
- "inputs": [
1213
- {
1214
- "name": "sender",
1215
- "type": "address",
1216
- "internalType": "address"
1217
- }
1218
- ]
1219
- },
1220
- {
1221
- "type": "error",
1222
- "name": "ERC20InvalidSpender",
1223
- "inputs": [
1224
- {
1225
- "name": "spender",
1226
- "type": "address",
1227
- "internalType": "address"
1228
- }
1229
- ]
1230
- },
1231
- {
1232
- "type": "error",
1233
- "name": "HLConversions__InvalidToken",
1234
- "inputs": [
1235
- {
1236
- "name": "token",
1237
- "type": "uint64",
1238
- "internalType": "uint64"
1239
- }
1240
- ]
1241
- },
1242
- {
1243
- "type": "error",
1244
- "name": "InsufficientBalance",
1245
- "inputs": []
1246
- },
1247
- {
1248
- "type": "error",
1249
- "name": "InvalidAddress",
1250
- "inputs": []
1251
- },
1252
- {
1253
- "type": "error",
1254
- "name": "InvalidAgentSlot",
1255
- "inputs": []
1256
- },
1257
- {
1258
- "type": "error",
1259
- "name": "InvalidAmount",
1260
- "inputs": []
1261
- },
1262
- {
1263
- "type": "error",
1264
- "name": "InvalidInitialization",
1265
- "inputs": []
1266
- },
1267
- {
1268
- "type": "error",
1269
- "name": "LeveragedTokenNotActivated",
1270
- "inputs": []
1271
- },
1272
- {
1273
- "type": "error",
1274
- "name": "MintPaused",
1275
- "inputs": []
1276
- },
1277
- {
1278
- "type": "error",
1279
- "name": "NotAgent",
1280
- "inputs": []
1281
- },
1282
- {
1283
- "type": "error",
1284
- "name": "NotExecutor",
1285
- "inputs": []
1286
- },
1287
- {
1288
- "type": "error",
1289
- "name": "NotInitializing",
1290
- "inputs": []
1291
- },
1292
- {
1293
- "type": "error",
1294
- "name": "NotOwner",
1295
- "inputs": []
1296
- },
1297
- {
1298
- "type": "error",
1299
- "name": "NotRedeeming",
1300
- "inputs": []
1301
- },
1302
- {
1303
- "type": "error",
1304
- "name": "PrecompileLib__TokenInfoPrecompileFailed",
1305
- "inputs": []
1306
- },
1307
- {
1308
- "type": "error",
1309
- "name": "SafeCastOverflowedUintDowncast",
1310
- "inputs": [
1311
- {
1312
- "name": "bits",
1313
- "type": "uint8",
1314
- "internalType": "uint8"
1315
- },
1316
- {
1317
- "name": "value",
1318
- "type": "uint256",
1319
- "internalType": "uint256"
1320
- }
1321
- ]
1322
- },
1323
- {
1324
- "type": "error",
1325
- "name": "SafeERC20FailedOperation",
1326
- "inputs": [
1327
- {
1328
- "name": "token",
1329
- "type": "address",
1330
- "internalType": "address"
1331
- }
1332
- ]
1333
- },
1334
- {
1335
- "type": "error",
1336
- "name": "SameAsCurrent",
1337
- "inputs": []
1338
- },
1339
- {
1340
- "type": "error",
1341
- "name": "SlippageExceeded",
1342
- "inputs": []
1343
- }
1344
- ]