1 | {
|
2 | "_format": "hh-sol-artifact-1",
|
3 | "contractName": "FintrollerInterface",
|
4 | "sourceName": "contracts/FintrollerInterface.sol",
|
5 | "abi": [
|
6 | {
|
7 | "anonymous": false,
|
8 | "inputs": [
|
9 | {
|
10 | "indexed": true,
|
11 | "internalType": "address",
|
12 | "name": "admin",
|
13 | "type": "address"
|
14 | },
|
15 | {
|
16 | "indexed": true,
|
17 | "internalType": "contract FyTokenInterface",
|
18 | "name": "fyToken",
|
19 | "type": "address"
|
20 | }
|
21 | ],
|
22 | "name": "ListBond",
|
23 | "type": "event"
|
24 | },
|
25 | {
|
26 | "anonymous": false,
|
27 | "inputs": [
|
28 | {
|
29 | "indexed": true,
|
30 | "internalType": "address",
|
31 | "name": "admin",
|
32 | "type": "address"
|
33 | },
|
34 | {
|
35 | "indexed": true,
|
36 | "internalType": "contract FyTokenInterface",
|
37 | "name": "fyToken",
|
38 | "type": "address"
|
39 | },
|
40 | {
|
41 | "indexed": false,
|
42 | "internalType": "uint256",
|
43 | "name": "oldCollateralizationRatio",
|
44 | "type": "uint256"
|
45 | },
|
46 | {
|
47 | "indexed": false,
|
48 | "internalType": "uint256",
|
49 | "name": "newCollateralizationRatio",
|
50 | "type": "uint256"
|
51 | }
|
52 | ],
|
53 | "name": "SetBondCollateralizationRatio",
|
54 | "type": "event"
|
55 | },
|
56 | {
|
57 | "anonymous": false,
|
58 | "inputs": [
|
59 | {
|
60 | "indexed": true,
|
61 | "internalType": "address",
|
62 | "name": "admin",
|
63 | "type": "address"
|
64 | },
|
65 | {
|
66 | "indexed": true,
|
67 | "internalType": "contract FyTokenInterface",
|
68 | "name": "fyToken",
|
69 | "type": "address"
|
70 | },
|
71 | {
|
72 | "indexed": false,
|
73 | "internalType": "uint256",
|
74 | "name": "oldDebtCeiling",
|
75 | "type": "uint256"
|
76 | },
|
77 | {
|
78 | "indexed": false,
|
79 | "internalType": "uint256",
|
80 | "name": "newDebtCeiling",
|
81 | "type": "uint256"
|
82 | }
|
83 | ],
|
84 | "name": "SetBondDebtCeiling",
|
85 | "type": "event"
|
86 | },
|
87 | {
|
88 | "anonymous": false,
|
89 | "inputs": [
|
90 | {
|
91 | "indexed": true,
|
92 | "internalType": "address",
|
93 | "name": "admin",
|
94 | "type": "address"
|
95 | },
|
96 | {
|
97 | "indexed": true,
|
98 | "internalType": "contract FyTokenInterface",
|
99 | "name": "fyToken",
|
100 | "type": "address"
|
101 | },
|
102 | {
|
103 | "indexed": false,
|
104 | "internalType": "bool",
|
105 | "name": "state",
|
106 | "type": "bool"
|
107 | }
|
108 | ],
|
109 | "name": "SetBorrowAllowed",
|
110 | "type": "event"
|
111 | },
|
112 | {
|
113 | "anonymous": false,
|
114 | "inputs": [
|
115 | {
|
116 | "indexed": true,
|
117 | "internalType": "address",
|
118 | "name": "admin",
|
119 | "type": "address"
|
120 | },
|
121 | {
|
122 | "indexed": true,
|
123 | "internalType": "contract FyTokenInterface",
|
124 | "name": "fyToken",
|
125 | "type": "address"
|
126 | },
|
127 | {
|
128 | "indexed": false,
|
129 | "internalType": "bool",
|
130 | "name": "state",
|
131 | "type": "bool"
|
132 | }
|
133 | ],
|
134 | "name": "SetDepositCollateralAllowed",
|
135 | "type": "event"
|
136 | },
|
137 | {
|
138 | "anonymous": false,
|
139 | "inputs": [
|
140 | {
|
141 | "indexed": true,
|
142 | "internalType": "address",
|
143 | "name": "admin",
|
144 | "type": "address"
|
145 | },
|
146 | {
|
147 | "indexed": true,
|
148 | "internalType": "contract FyTokenInterface",
|
149 | "name": "fyToken",
|
150 | "type": "address"
|
151 | },
|
152 | {
|
153 | "indexed": false,
|
154 | "internalType": "bool",
|
155 | "name": "state",
|
156 | "type": "bool"
|
157 | }
|
158 | ],
|
159 | "name": "SetLiquidateBorrowAllowed",
|
160 | "type": "event"
|
161 | },
|
162 | {
|
163 | "anonymous": false,
|
164 | "inputs": [
|
165 | {
|
166 | "indexed": true,
|
167 | "internalType": "address",
|
168 | "name": "admin",
|
169 | "type": "address"
|
170 | },
|
171 | {
|
172 | "indexed": false,
|
173 | "internalType": "uint256",
|
174 | "name": "oldLiquidationIncentive",
|
175 | "type": "uint256"
|
176 | },
|
177 | {
|
178 | "indexed": false,
|
179 | "internalType": "uint256",
|
180 | "name": "newLiquidationIncentive",
|
181 | "type": "uint256"
|
182 | }
|
183 | ],
|
184 | "name": "SetLiquidationIncentive",
|
185 | "type": "event"
|
186 | },
|
187 | {
|
188 | "anonymous": false,
|
189 | "inputs": [
|
190 | {
|
191 | "indexed": true,
|
192 | "internalType": "address",
|
193 | "name": "admin",
|
194 | "type": "address"
|
195 | },
|
196 | {
|
197 | "indexed": false,
|
198 | "internalType": "address",
|
199 | "name": "oldOracle",
|
200 | "type": "address"
|
201 | },
|
202 | {
|
203 | "indexed": false,
|
204 | "internalType": "address",
|
205 | "name": "newOracle",
|
206 | "type": "address"
|
207 | }
|
208 | ],
|
209 | "name": "SetOracle",
|
210 | "type": "event"
|
211 | },
|
212 | {
|
213 | "anonymous": false,
|
214 | "inputs": [
|
215 | {
|
216 | "indexed": true,
|
217 | "internalType": "address",
|
218 | "name": "admin",
|
219 | "type": "address"
|
220 | },
|
221 | {
|
222 | "indexed": true,
|
223 | "internalType": "contract FyTokenInterface",
|
224 | "name": "fyToken",
|
225 | "type": "address"
|
226 | },
|
227 | {
|
228 | "indexed": false,
|
229 | "internalType": "bool",
|
230 | "name": "state",
|
231 | "type": "bool"
|
232 | }
|
233 | ],
|
234 | "name": "SetRedeemFyTokensAllowed",
|
235 | "type": "event"
|
236 | },
|
237 | {
|
238 | "anonymous": false,
|
239 | "inputs": [
|
240 | {
|
241 | "indexed": true,
|
242 | "internalType": "address",
|
243 | "name": "admin",
|
244 | "type": "address"
|
245 | },
|
246 | {
|
247 | "indexed": true,
|
248 | "internalType": "contract FyTokenInterface",
|
249 | "name": "fyToken",
|
250 | "type": "address"
|
251 | },
|
252 | {
|
253 | "indexed": false,
|
254 | "internalType": "bool",
|
255 | "name": "state",
|
256 | "type": "bool"
|
257 | }
|
258 | ],
|
259 | "name": "SetRepayBorrowAllowed",
|
260 | "type": "event"
|
261 | },
|
262 | {
|
263 | "anonymous": false,
|
264 | "inputs": [
|
265 | {
|
266 | "indexed": true,
|
267 | "internalType": "address",
|
268 | "name": "admin",
|
269 | "type": "address"
|
270 | },
|
271 | {
|
272 | "indexed": true,
|
273 | "internalType": "contract FyTokenInterface",
|
274 | "name": "fyToken",
|
275 | "type": "address"
|
276 | },
|
277 | {
|
278 | "indexed": false,
|
279 | "internalType": "bool",
|
280 | "name": "state",
|
281 | "type": "bool"
|
282 | }
|
283 | ],
|
284 | "name": "SetSupplyUnderlyingAllowed",
|
285 | "type": "event"
|
286 | },
|
287 | {
|
288 | "inputs": [
|
289 | {
|
290 | "internalType": "contract FyTokenInterface",
|
291 | "name": "fyToken",
|
292 | "type": "address"
|
293 | }
|
294 | ],
|
295 | "name": "getBond",
|
296 | "outputs": [
|
297 | {
|
298 | "internalType": "uint256",
|
299 | "name": "debtCeiling",
|
300 | "type": "uint256"
|
301 | },
|
302 | {
|
303 | "internalType": "uint256",
|
304 | "name": "collateralizationRatioMantissa",
|
305 | "type": "uint256"
|
306 | },
|
307 | {
|
308 | "internalType": "bool",
|
309 | "name": "isBorrowAllowed",
|
310 | "type": "bool"
|
311 | },
|
312 | {
|
313 | "internalType": "bool",
|
314 | "name": "isDepositCollateralAllowed",
|
315 | "type": "bool"
|
316 | },
|
317 | {
|
318 | "internalType": "bool",
|
319 | "name": "isLiquidateBorrowAllowed",
|
320 | "type": "bool"
|
321 | },
|
322 | {
|
323 | "internalType": "bool",
|
324 | "name": "isListed",
|
325 | "type": "bool"
|
326 | },
|
327 | {
|
328 | "internalType": "bool",
|
329 | "name": "isRedeemFyTokenAllowed",
|
330 | "type": "bool"
|
331 | },
|
332 | {
|
333 | "internalType": "bool",
|
334 | "name": "isRepayBorrowAllowed",
|
335 | "type": "bool"
|
336 | },
|
337 | {
|
338 | "internalType": "bool",
|
339 | "name": "isSupplyUnderlyingAllowed",
|
340 | "type": "bool"
|
341 | }
|
342 | ],
|
343 | "stateMutability": "view",
|
344 | "type": "function"
|
345 | },
|
346 | {
|
347 | "inputs": [
|
348 | {
|
349 | "internalType": "contract FyTokenInterface",
|
350 | "name": "fyToken",
|
351 | "type": "address"
|
352 | }
|
353 | ],
|
354 | "name": "getBondCollateralizationRatio",
|
355 | "outputs": [
|
356 | {
|
357 | "internalType": "uint256",
|
358 | "name": "",
|
359 | "type": "uint256"
|
360 | }
|
361 | ],
|
362 | "stateMutability": "view",
|
363 | "type": "function"
|
364 | },
|
365 | {
|
366 | "inputs": [
|
367 | {
|
368 | "internalType": "contract FyTokenInterface",
|
369 | "name": "fyToken",
|
370 | "type": "address"
|
371 | }
|
372 | ],
|
373 | "name": "getBondDebtCeiling",
|
374 | "outputs": [
|
375 | {
|
376 | "internalType": "uint256",
|
377 | "name": "",
|
378 | "type": "uint256"
|
379 | }
|
380 | ],
|
381 | "stateMutability": "view",
|
382 | "type": "function"
|
383 | },
|
384 | {
|
385 | "inputs": [
|
386 | {
|
387 | "internalType": "contract FyTokenInterface",
|
388 | "name": "fyToken",
|
389 | "type": "address"
|
390 | }
|
391 | ],
|
392 | "name": "getBorrowAllowed",
|
393 | "outputs": [
|
394 | {
|
395 | "internalType": "bool",
|
396 | "name": "",
|
397 | "type": "bool"
|
398 | }
|
399 | ],
|
400 | "stateMutability": "view",
|
401 | "type": "function"
|
402 | },
|
403 | {
|
404 | "inputs": [
|
405 | {
|
406 | "internalType": "contract FyTokenInterface",
|
407 | "name": "fyToken",
|
408 | "type": "address"
|
409 | }
|
410 | ],
|
411 | "name": "getDepositCollateralAllowed",
|
412 | "outputs": [
|
413 | {
|
414 | "internalType": "bool",
|
415 | "name": "",
|
416 | "type": "bool"
|
417 | }
|
418 | ],
|
419 | "stateMutability": "view",
|
420 | "type": "function"
|
421 | },
|
422 | {
|
423 | "inputs": [
|
424 | {
|
425 | "internalType": "contract FyTokenInterface",
|
426 | "name": "fyToken",
|
427 | "type": "address"
|
428 | }
|
429 | ],
|
430 | "name": "getLiquidateBorrowAllowed",
|
431 | "outputs": [
|
432 | {
|
433 | "internalType": "bool",
|
434 | "name": "",
|
435 | "type": "bool"
|
436 | }
|
437 | ],
|
438 | "stateMutability": "view",
|
439 | "type": "function"
|
440 | },
|
441 | {
|
442 | "inputs": [
|
443 | {
|
444 | "internalType": "contract FyTokenInterface",
|
445 | "name": "fyToken",
|
446 | "type": "address"
|
447 | }
|
448 | ],
|
449 | "name": "getRedeemFyTokensAllowed",
|
450 | "outputs": [
|
451 | {
|
452 | "internalType": "bool",
|
453 | "name": "",
|
454 | "type": "bool"
|
455 | }
|
456 | ],
|
457 | "stateMutability": "view",
|
458 | "type": "function"
|
459 | },
|
460 | {
|
461 | "inputs": [
|
462 | {
|
463 | "internalType": "contract FyTokenInterface",
|
464 | "name": "fyToken",
|
465 | "type": "address"
|
466 | }
|
467 | ],
|
468 | "name": "getRepayBorrowAllowed",
|
469 | "outputs": [
|
470 | {
|
471 | "internalType": "bool",
|
472 | "name": "",
|
473 | "type": "bool"
|
474 | }
|
475 | ],
|
476 | "stateMutability": "view",
|
477 | "type": "function"
|
478 | },
|
479 | {
|
480 | "inputs": [
|
481 | {
|
482 | "internalType": "contract FyTokenInterface",
|
483 | "name": "fyToken",
|
484 | "type": "address"
|
485 | }
|
486 | ],
|
487 | "name": "getSupplyUnderlyingAllowed",
|
488 | "outputs": [
|
489 | {
|
490 | "internalType": "bool",
|
491 | "name": "",
|
492 | "type": "bool"
|
493 | }
|
494 | ],
|
495 | "stateMutability": "view",
|
496 | "type": "function"
|
497 | },
|
498 | {
|
499 | "inputs": [],
|
500 | "name": "isFintroller",
|
501 | "outputs": [
|
502 | {
|
503 | "internalType": "bool",
|
504 | "name": "",
|
505 | "type": "bool"
|
506 | }
|
507 | ],
|
508 | "stateMutability": "view",
|
509 | "type": "function"
|
510 | },
|
511 | {
|
512 | "inputs": [],
|
513 | "name": "liquidationIncentiveMantissa",
|
514 | "outputs": [
|
515 | {
|
516 | "internalType": "uint256",
|
517 | "name": "",
|
518 | "type": "uint256"
|
519 | }
|
520 | ],
|
521 | "stateMutability": "view",
|
522 | "type": "function"
|
523 | },
|
524 | {
|
525 | "inputs": [
|
526 | {
|
527 | "internalType": "contract FyTokenInterface",
|
528 | "name": "fyToken",
|
529 | "type": "address"
|
530 | }
|
531 | ],
|
532 | "name": "listBond",
|
533 | "outputs": [
|
534 | {
|
535 | "internalType": "bool",
|
536 | "name": "",
|
537 | "type": "bool"
|
538 | }
|
539 | ],
|
540 | "stateMutability": "nonpayable",
|
541 | "type": "function"
|
542 | },
|
543 | {
|
544 | "inputs": [],
|
545 | "name": "oracle",
|
546 | "outputs": [
|
547 | {
|
548 | "internalType": "contract ChainlinkOperatorInterface",
|
549 | "name": "",
|
550 | "type": "address"
|
551 | }
|
552 | ],
|
553 | "stateMutability": "view",
|
554 | "type": "function"
|
555 | },
|
556 | {
|
557 | "inputs": [
|
558 | {
|
559 | "internalType": "contract FyTokenInterface",
|
560 | "name": "fyToken",
|
561 | "type": "address"
|
562 | },
|
563 | {
|
564 | "internalType": "uint256",
|
565 | "name": "newCollateralizationRatioMantissa",
|
566 | "type": "uint256"
|
567 | }
|
568 | ],
|
569 | "name": "setBondCollateralizationRatio",
|
570 | "outputs": [
|
571 | {
|
572 | "internalType": "bool",
|
573 | "name": "",
|
574 | "type": "bool"
|
575 | }
|
576 | ],
|
577 | "stateMutability": "nonpayable",
|
578 | "type": "function"
|
579 | },
|
580 | {
|
581 | "inputs": [
|
582 | {
|
583 | "internalType": "contract FyTokenInterface",
|
584 | "name": "fyToken",
|
585 | "type": "address"
|
586 | },
|
587 | {
|
588 | "internalType": "uint256",
|
589 | "name": "newDebtCeiling",
|
590 | "type": "uint256"
|
591 | }
|
592 | ],
|
593 | "name": "setBondDebtCeiling",
|
594 | "outputs": [
|
595 | {
|
596 | "internalType": "bool",
|
597 | "name": "",
|
598 | "type": "bool"
|
599 | }
|
600 | ],
|
601 | "stateMutability": "nonpayable",
|
602 | "type": "function"
|
603 | },
|
604 | {
|
605 | "inputs": [
|
606 | {
|
607 | "internalType": "contract FyTokenInterface",
|
608 | "name": "fyToken",
|
609 | "type": "address"
|
610 | },
|
611 | {
|
612 | "internalType": "bool",
|
613 | "name": "state",
|
614 | "type": "bool"
|
615 | }
|
616 | ],
|
617 | "name": "setBorrowAllowed",
|
618 | "outputs": [
|
619 | {
|
620 | "internalType": "bool",
|
621 | "name": "",
|
622 | "type": "bool"
|
623 | }
|
624 | ],
|
625 | "stateMutability": "nonpayable",
|
626 | "type": "function"
|
627 | },
|
628 | {
|
629 | "inputs": [
|
630 | {
|
631 | "internalType": "contract FyTokenInterface",
|
632 | "name": "fyToken",
|
633 | "type": "address"
|
634 | },
|
635 | {
|
636 | "internalType": "bool",
|
637 | "name": "state",
|
638 | "type": "bool"
|
639 | }
|
640 | ],
|
641 | "name": "setDepositCollateralAllowed",
|
642 | "outputs": [
|
643 | {
|
644 | "internalType": "bool",
|
645 | "name": "",
|
646 | "type": "bool"
|
647 | }
|
648 | ],
|
649 | "stateMutability": "nonpayable",
|
650 | "type": "function"
|
651 | },
|
652 | {
|
653 | "inputs": [
|
654 | {
|
655 | "internalType": "contract FyTokenInterface",
|
656 | "name": "fyToken",
|
657 | "type": "address"
|
658 | },
|
659 | {
|
660 | "internalType": "bool",
|
661 | "name": "state",
|
662 | "type": "bool"
|
663 | }
|
664 | ],
|
665 | "name": "setLiquidateBorrowAllowed",
|
666 | "outputs": [
|
667 | {
|
668 | "internalType": "bool",
|
669 | "name": "",
|
670 | "type": "bool"
|
671 | }
|
672 | ],
|
673 | "stateMutability": "nonpayable",
|
674 | "type": "function"
|
675 | },
|
676 | {
|
677 | "inputs": [
|
678 | {
|
679 | "internalType": "uint256",
|
680 | "name": "newLiquidationIncentiveMantissa",
|
681 | "type": "uint256"
|
682 | }
|
683 | ],
|
684 | "name": "setLiquidationIncentive",
|
685 | "outputs": [
|
686 | {
|
687 | "internalType": "bool",
|
688 | "name": "",
|
689 | "type": "bool"
|
690 | }
|
691 | ],
|
692 | "stateMutability": "nonpayable",
|
693 | "type": "function"
|
694 | },
|
695 | {
|
696 | "inputs": [
|
697 | {
|
698 | "internalType": "contract ChainlinkOperatorInterface",
|
699 | "name": "newOracle",
|
700 | "type": "address"
|
701 | }
|
702 | ],
|
703 | "name": "setOracle",
|
704 | "outputs": [
|
705 | {
|
706 | "internalType": "bool",
|
707 | "name": "",
|
708 | "type": "bool"
|
709 | }
|
710 | ],
|
711 | "stateMutability": "nonpayable",
|
712 | "type": "function"
|
713 | },
|
714 | {
|
715 | "inputs": [
|
716 | {
|
717 | "internalType": "contract FyTokenInterface",
|
718 | "name": "fyToken",
|
719 | "type": "address"
|
720 | },
|
721 | {
|
722 | "internalType": "bool",
|
723 | "name": "state",
|
724 | "type": "bool"
|
725 | }
|
726 | ],
|
727 | "name": "setRedeemFyTokensAllowed",
|
728 | "outputs": [
|
729 | {
|
730 | "internalType": "bool",
|
731 | "name": "",
|
732 | "type": "bool"
|
733 | }
|
734 | ],
|
735 | "stateMutability": "nonpayable",
|
736 | "type": "function"
|
737 | },
|
738 | {
|
739 | "inputs": [
|
740 | {
|
741 | "internalType": "contract FyTokenInterface",
|
742 | "name": "fyToken",
|
743 | "type": "address"
|
744 | },
|
745 | {
|
746 | "internalType": "bool",
|
747 | "name": "state",
|
748 | "type": "bool"
|
749 | }
|
750 | ],
|
751 | "name": "setRepayBorrowAllowed",
|
752 | "outputs": [
|
753 | {
|
754 | "internalType": "bool",
|
755 | "name": "",
|
756 | "type": "bool"
|
757 | }
|
758 | ],
|
759 | "stateMutability": "nonpayable",
|
760 | "type": "function"
|
761 | },
|
762 | {
|
763 | "inputs": [
|
764 | {
|
765 | "internalType": "contract FyTokenInterface",
|
766 | "name": "fyToken",
|
767 | "type": "address"
|
768 | },
|
769 | {
|
770 | "internalType": "bool",
|
771 | "name": "state",
|
772 | "type": "bool"
|
773 | }
|
774 | ],
|
775 | "name": "setSupplyUnderlyingAllowed",
|
776 | "outputs": [
|
777 | {
|
778 | "internalType": "bool",
|
779 | "name": "",
|
780 | "type": "bool"
|
781 | }
|
782 | ],
|
783 | "stateMutability": "nonpayable",
|
784 | "type": "function"
|
785 | }
|
786 | ],
|
787 | "bytecode": "0x",
|
788 | "deployedBytecode": "0x",
|
789 | "linkReferences": {},
|
790 | "deployedLinkReferences": {}
|
791 | }
|