UNPKG

3.22 kBJSONView Raw
1{
2 "_format": "hh-sol-artifact-1",
3 "contractName": "RedemptionPoolInterface",
4 "sourceName": "contracts/RedemptionPoolInterface.sol",
5 "abi": [
6 {
7 "anonymous": false,
8 "inputs": [
9 {
10 "indexed": true,
11 "internalType": "address",
12 "name": "account",
13 "type": "address"
14 },
15 {
16 "indexed": false,
17 "internalType": "uint256",
18 "name": "fyTokenAmount",
19 "type": "uint256"
20 },
21 {
22 "indexed": false,
23 "internalType": "uint256",
24 "name": "underlyingAmount",
25 "type": "uint256"
26 }
27 ],
28 "name": "RedeemFyTokens",
29 "type": "event"
30 },
31 {
32 "anonymous": false,
33 "inputs": [
34 {
35 "indexed": true,
36 "internalType": "address",
37 "name": "account",
38 "type": "address"
39 },
40 {
41 "indexed": false,
42 "internalType": "uint256",
43 "name": "underlyingAmount",
44 "type": "uint256"
45 },
46 {
47 "indexed": false,
48 "internalType": "uint256",
49 "name": "fyTokenAmount",
50 "type": "uint256"
51 }
52 ],
53 "name": "SupplyUnderlying",
54 "type": "event"
55 },
56 {
57 "inputs": [],
58 "name": "fintroller",
59 "outputs": [
60 {
61 "internalType": "contract FintrollerInterface",
62 "name": "",
63 "type": "address"
64 }
65 ],
66 "stateMutability": "view",
67 "type": "function"
68 },
69 {
70 "inputs": [],
71 "name": "fyToken",
72 "outputs": [
73 {
74 "internalType": "contract FyTokenInterface",
75 "name": "",
76 "type": "address"
77 }
78 ],
79 "stateMutability": "view",
80 "type": "function"
81 },
82 {
83 "inputs": [],
84 "name": "isRedemptionPool",
85 "outputs": [
86 {
87 "internalType": "bool",
88 "name": "",
89 "type": "bool"
90 }
91 ],
92 "stateMutability": "view",
93 "type": "function"
94 },
95 {
96 "inputs": [
97 {
98 "internalType": "uint256",
99 "name": "fyTokenAmount",
100 "type": "uint256"
101 }
102 ],
103 "name": "redeemFyTokens",
104 "outputs": [
105 {
106 "internalType": "bool",
107 "name": "",
108 "type": "bool"
109 }
110 ],
111 "stateMutability": "nonpayable",
112 "type": "function"
113 },
114 {
115 "inputs": [
116 {
117 "internalType": "uint256",
118 "name": "underlyingAmount",
119 "type": "uint256"
120 }
121 ],
122 "name": "supplyUnderlying",
123 "outputs": [
124 {
125 "internalType": "bool",
126 "name": "",
127 "type": "bool"
128 }
129 ],
130 "stateMutability": "nonpayable",
131 "type": "function"
132 },
133 {
134 "inputs": [],
135 "name": "totalUnderlyingSupply",
136 "outputs": [
137 {
138 "internalType": "uint256",
139 "name": "",
140 "type": "uint256"
141 }
142 ],
143 "stateMutability": "view",
144 "type": "function"
145 }
146 ],
147 "bytecode": "0x",
148 "deployedBytecode": "0x",
149 "linkReferences": {},
150 "deployedLinkReferences": {}
151}