@venusprotocol/liquidity-hub 2.0.0-dev.1 → 2.1.0-dev.1

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