@nexusmutual/sdk 1.12.0-rc.3 → 1.12.0-rc.4

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,312 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address[]",
6
- "name": "_assetAddresses",
7
- "type": "address[]"
8
- },
9
- {
10
- "internalType": "address[]",
11
- "name": "_assetAggregators",
12
- "type": "address[]"
13
- },
14
- {
15
- "internalType": "enum IPriceFeedOracle.AggregatorType[]",
16
- "name": "_aggregatorTypes",
17
- "type": "uint8[]"
18
- },
19
- {
20
- "internalType": "uint8[]",
21
- "name": "_assetDecimals",
22
- "type": "uint8[]"
23
- },
24
- {
25
- "internalType": "address",
26
- "name": "_safeTracker",
27
- "type": "address"
28
- }
29
- ],
30
- "stateMutability": "nonpayable",
31
- "type": "constructor"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "uint256",
37
- "name": "assetAddressesLength",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "aggregatorsLength",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "typesLength",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "decimalsLength",
53
- "type": "uint256"
54
- }
55
- ],
56
- "name": "ArgumentLengthMismatch",
57
- "type": "error"
58
- },
59
- {
60
- "inputs": [],
61
- "name": "EmptyAssetAddresses",
62
- "type": "error"
63
- },
64
- {
65
- "inputs": [],
66
- "name": "EthUsdAggregatorNotSet",
67
- "type": "error"
68
- },
69
- {
70
- "inputs": [
71
- {
72
- "internalType": "address",
73
- "name": "aggregator",
74
- "type": "address"
75
- },
76
- {
77
- "internalType": "uint8",
78
- "name": "aggregatorDecimals",
79
- "type": "uint8"
80
- },
81
- {
82
- "internalType": "uint8",
83
- "name": "expectedDecimals",
84
- "type": "uint8"
85
- }
86
- ],
87
- "name": "IncompatibleAggregatorDecimals",
88
- "type": "error"
89
- },
90
- {
91
- "inputs": [
92
- {
93
- "internalType": "enum IPriceFeedOracle.AggregatorType",
94
- "name": "actual",
95
- "type": "uint8"
96
- },
97
- {
98
- "internalType": "enum IPriceFeedOracle.AggregatorType",
99
- "name": "expected",
100
- "type": "uint8"
101
- }
102
- ],
103
- "name": "InvalidEthAggregatorType",
104
- "type": "error"
105
- },
106
- {
107
- "inputs": [
108
- {
109
- "internalType": "address",
110
- "name": "aggregator",
111
- "type": "address"
112
- },
113
- {
114
- "internalType": "int256",
115
- "name": "rate",
116
- "type": "int256"
117
- }
118
- ],
119
- "name": "NonPositiveRate",
120
- "type": "error"
121
- },
122
- {
123
- "inputs": [
124
- {
125
- "internalType": "uint8",
126
- "name": "aggregatorType",
127
- "type": "uint8"
128
- }
129
- ],
130
- "name": "UnknownAggregatorType",
131
- "type": "error"
132
- },
133
- {
134
- "inputs": [
135
- {
136
- "internalType": "address",
137
- "name": "asset",
138
- "type": "address"
139
- }
140
- ],
141
- "name": "UnknownAsset",
142
- "type": "error"
143
- },
144
- {
145
- "inputs": [
146
- {
147
- "internalType": "string",
148
- "name": "parameter",
149
- "type": "string"
150
- }
151
- ],
152
- "name": "ZeroAddress",
153
- "type": "error"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "address",
159
- "name": "asset",
160
- "type": "address"
161
- }
162
- ],
163
- "name": "ZeroDecimals",
164
- "type": "error"
165
- },
166
- {
167
- "inputs": [],
168
- "name": "ETH",
169
- "outputs": [
170
- {
171
- "internalType": "address",
172
- "name": "",
173
- "type": "address"
174
- }
175
- ],
176
- "stateMutability": "view",
177
- "type": "function"
178
- },
179
- {
180
- "inputs": [
181
- {
182
- "internalType": "address",
183
- "name": "assetAddress",
184
- "type": "address"
185
- }
186
- ],
187
- "name": "assets",
188
- "outputs": [
189
- {
190
- "internalType": "contract Aggregator",
191
- "name": "",
192
- "type": "address"
193
- },
194
- {
195
- "internalType": "uint8",
196
- "name": "",
197
- "type": "uint8"
198
- }
199
- ],
200
- "stateMutability": "view",
201
- "type": "function"
202
- },
203
- {
204
- "inputs": [
205
- {
206
- "internalType": "address",
207
- "name": "",
208
- "type": "address"
209
- }
210
- ],
211
- "name": "assetsMap",
212
- "outputs": [
213
- {
214
- "internalType": "contract Aggregator",
215
- "name": "aggregator",
216
- "type": "address"
217
- },
218
- {
219
- "internalType": "enum IPriceFeedOracle.AggregatorType",
220
- "name": "aggregatorType",
221
- "type": "uint8"
222
- },
223
- {
224
- "internalType": "uint8",
225
- "name": "decimals",
226
- "type": "uint8"
227
- }
228
- ],
229
- "stateMutability": "view",
230
- "type": "function"
231
- },
232
- {
233
- "inputs": [
234
- {
235
- "internalType": "address",
236
- "name": "assetAddress",
237
- "type": "address"
238
- },
239
- {
240
- "internalType": "uint256",
241
- "name": "ethIn",
242
- "type": "uint256"
243
- }
244
- ],
245
- "name": "getAssetForEth",
246
- "outputs": [
247
- {
248
- "internalType": "uint256",
249
- "name": "",
250
- "type": "uint256"
251
- }
252
- ],
253
- "stateMutability": "view",
254
- "type": "function"
255
- },
256
- {
257
- "inputs": [
258
- {
259
- "internalType": "address",
260
- "name": "assetAddress",
261
- "type": "address"
262
- }
263
- ],
264
- "name": "getAssetToEthRate",
265
- "outputs": [
266
- {
267
- "internalType": "uint256",
268
- "name": "",
269
- "type": "uint256"
270
- }
271
- ],
272
- "stateMutability": "view",
273
- "type": "function"
274
- },
275
- {
276
- "inputs": [
277
- {
278
- "internalType": "address",
279
- "name": "assetAddress",
280
- "type": "address"
281
- },
282
- {
283
- "internalType": "uint256",
284
- "name": "amount",
285
- "type": "uint256"
286
- }
287
- ],
288
- "name": "getEthForAsset",
289
- "outputs": [
290
- {
291
- "internalType": "uint256",
292
- "name": "",
293
- "type": "uint256"
294
- }
295
- ],
296
- "stateMutability": "view",
297
- "type": "function"
298
- },
299
- {
300
- "inputs": [],
301
- "name": "safeTracker",
302
- "outputs": [
303
- {
304
- "internalType": "address",
305
- "name": "",
306
- "type": "address"
307
- }
308
- ],
309
- "stateMutability": "view",
310
- "type": "function"
311
- }
312
- ]