UNPKG

3.92 kBJSONView Raw
1{
2 "_format": "hh-sol-artifact-1",
3 "contractName": "ChainlinkOperatorInterface",
4 "sourceName": "contracts/oracles/ChainlinkOperatorInterface.sol",
5 "abi": [
6 {
7 "anonymous": false,
8 "inputs": [
9 {
10 "indexed": true,
11 "internalType": "contract Erc20Interface",
12 "name": "asset",
13 "type": "address"
14 },
15 {
16 "indexed": true,
17 "internalType": "contract AggregatorV3Interface",
18 "name": "feed",
19 "type": "address"
20 }
21 ],
22 "name": "DeleteFeed",
23 "type": "event"
24 },
25 {
26 "anonymous": false,
27 "inputs": [
28 {
29 "indexed": true,
30 "internalType": "contract Erc20Interface",
31 "name": "asset",
32 "type": "address"
33 },
34 {
35 "indexed": true,
36 "internalType": "contract AggregatorV3Interface",
37 "name": "feed",
38 "type": "address"
39 }
40 ],
41 "name": "SetFeed",
42 "type": "event"
43 },
44 {
45 "inputs": [
46 {
47 "internalType": "string",
48 "name": "symbol",
49 "type": "string"
50 }
51 ],
52 "name": "deleteFeed",
53 "outputs": [
54 {
55 "internalType": "bool",
56 "name": "",
57 "type": "bool"
58 }
59 ],
60 "stateMutability": "nonpayable",
61 "type": "function"
62 },
63 {
64 "inputs": [
65 {
66 "internalType": "string",
67 "name": "symbol",
68 "type": "string"
69 }
70 ],
71 "name": "getAdjustedPrice",
72 "outputs": [
73 {
74 "internalType": "uint256",
75 "name": "",
76 "type": "uint256"
77 }
78 ],
79 "stateMutability": "view",
80 "type": "function"
81 },
82 {
83 "inputs": [
84 {
85 "internalType": "string",
86 "name": "symbol",
87 "type": "string"
88 }
89 ],
90 "name": "getFeed",
91 "outputs": [
92 {
93 "internalType": "contract Erc20Interface",
94 "name": "",
95 "type": "address"
96 },
97 {
98 "internalType": "contract AggregatorV3Interface",
99 "name": "",
100 "type": "address"
101 },
102 {
103 "internalType": "bool",
104 "name": "",
105 "type": "bool"
106 }
107 ],
108 "stateMutability": "view",
109 "type": "function"
110 },
111 {
112 "inputs": [
113 {
114 "internalType": "string",
115 "name": "symbol",
116 "type": "string"
117 }
118 ],
119 "name": "getPrice",
120 "outputs": [
121 {
122 "internalType": "uint256",
123 "name": "",
124 "type": "uint256"
125 }
126 ],
127 "stateMutability": "view",
128 "type": "function"
129 },
130 {
131 "inputs": [],
132 "name": "pricePrecision",
133 "outputs": [
134 {
135 "internalType": "uint256",
136 "name": "",
137 "type": "uint256"
138 }
139 ],
140 "stateMutability": "view",
141 "type": "function"
142 },
143 {
144 "inputs": [],
145 "name": "pricePrecisionScalar",
146 "outputs": [
147 {
148 "internalType": "uint256",
149 "name": "",
150 "type": "uint256"
151 }
152 ],
153 "stateMutability": "view",
154 "type": "function"
155 },
156 {
157 "inputs": [
158 {
159 "internalType": "contract Erc20Interface",
160 "name": "asset",
161 "type": "address"
162 },
163 {
164 "internalType": "contract AggregatorV3Interface",
165 "name": "feed",
166 "type": "address"
167 }
168 ],
169 "name": "setFeed",
170 "outputs": [
171 {
172 "internalType": "bool",
173 "name": "",
174 "type": "bool"
175 }
176 ],
177 "stateMutability": "nonpayable",
178 "type": "function"
179 }
180 ],
181 "bytecode": "0x",
182 "deployedBytecode": "0x",
183 "linkReferences": {},
184 "deployedLinkReferences": {}
185}