1pub use arbiter_math::*;
2#[allow(
5 clippy::enum_variant_names,
6 clippy::too_many_arguments,
7 clippy::upper_case_acronyms,
8 clippy::type_complexity,
9 dead_code,
10 non_camel_case_types,
11)]
12pub mod arbiter_math {
13 #[allow(deprecated)]
14 fn __abi() -> ::ethers::core::abi::Abi {
15 ::ethers::core::abi::ethabi::Contract {
16 constructor: ::core::option::Option::None,
17 functions: ::core::convert::From::from([
18 (
19 ::std::borrow::ToOwned::to_owned("cdf"),
20 ::std::vec![
21 ::ethers::core::abi::ethabi::Function {
22 name: ::std::borrow::ToOwned::to_owned("cdf"),
23 inputs: ::std::vec![
24 ::ethers::core::abi::ethabi::Param {
25 name: ::std::borrow::ToOwned::to_owned("input"),
26 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
27 internal_type: ::core::option::Option::Some(
28 ::std::borrow::ToOwned::to_owned("int256"),
29 ),
30 },
31 ],
32 outputs: ::std::vec![
33 ::ethers::core::abi::ethabi::Param {
34 name: ::std::borrow::ToOwned::to_owned("output"),
35 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
36 internal_type: ::core::option::Option::Some(
37 ::std::borrow::ToOwned::to_owned("int256"),
38 ),
39 },
40 ],
41 constant: ::core::option::Option::None,
42 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
43 },
44 ],
45 ),
46 (
47 ::std::borrow::ToOwned::to_owned("divWadDown"),
48 ::std::vec![
49 ::ethers::core::abi::ethabi::Function {
50 name: ::std::borrow::ToOwned::to_owned("divWadDown"),
51 inputs: ::std::vec![
52 ::ethers::core::abi::ethabi::Param {
53 name: ::std::borrow::ToOwned::to_owned("x"),
54 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
55 256usize,
56 ),
57 internal_type: ::core::option::Option::Some(
58 ::std::borrow::ToOwned::to_owned("uint256"),
59 ),
60 },
61 ::ethers::core::abi::ethabi::Param {
62 name: ::std::borrow::ToOwned::to_owned("y"),
63 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
64 256usize,
65 ),
66 internal_type: ::core::option::Option::Some(
67 ::std::borrow::ToOwned::to_owned("uint256"),
68 ),
69 },
70 ],
71 outputs: ::std::vec![
72 ::ethers::core::abi::ethabi::Param {
73 name: ::std::borrow::ToOwned::to_owned("z"),
74 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
75 256usize,
76 ),
77 internal_type: ::core::option::Option::Some(
78 ::std::borrow::ToOwned::to_owned("uint256"),
79 ),
80 },
81 ],
82 constant: ::core::option::Option::None,
83 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
84 },
85 ],
86 ),
87 (
88 ::std::borrow::ToOwned::to_owned("divWadUp"),
89 ::std::vec![
90 ::ethers::core::abi::ethabi::Function {
91 name: ::std::borrow::ToOwned::to_owned("divWadUp"),
92 inputs: ::std::vec![
93 ::ethers::core::abi::ethabi::Param {
94 name: ::std::borrow::ToOwned::to_owned("x"),
95 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
96 256usize,
97 ),
98 internal_type: ::core::option::Option::Some(
99 ::std::borrow::ToOwned::to_owned("uint256"),
100 ),
101 },
102 ::ethers::core::abi::ethabi::Param {
103 name: ::std::borrow::ToOwned::to_owned("y"),
104 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
105 256usize,
106 ),
107 internal_type: ::core::option::Option::Some(
108 ::std::borrow::ToOwned::to_owned("uint256"),
109 ),
110 },
111 ],
112 outputs: ::std::vec![
113 ::ethers::core::abi::ethabi::Param {
114 name: ::std::borrow::ToOwned::to_owned("z"),
115 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
116 256usize,
117 ),
118 internal_type: ::core::option::Option::Some(
119 ::std::borrow::ToOwned::to_owned("uint256"),
120 ),
121 },
122 ],
123 constant: ::core::option::Option::None,
124 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
125 },
126 ],
127 ),
128 (
129 ::std::borrow::ToOwned::to_owned("invariant"),
130 ::std::vec![
131 ::ethers::core::abi::ethabi::Function {
132 name: ::std::borrow::ToOwned::to_owned("invariant"),
133 inputs: ::std::vec![
134 ::ethers::core::abi::ethabi::Param {
135 name: ::std::borrow::ToOwned::to_owned("R_y"),
136 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
137 256usize,
138 ),
139 internal_type: ::core::option::Option::Some(
140 ::std::borrow::ToOwned::to_owned("uint256"),
141 ),
142 },
143 ::ethers::core::abi::ethabi::Param {
144 name: ::std::borrow::ToOwned::to_owned("R_x"),
145 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
146 256usize,
147 ),
148 internal_type: ::core::option::Option::Some(
149 ::std::borrow::ToOwned::to_owned("uint256"),
150 ),
151 },
152 ::ethers::core::abi::ethabi::Param {
153 name: ::std::borrow::ToOwned::to_owned("stk"),
154 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
155 256usize,
156 ),
157 internal_type: ::core::option::Option::Some(
158 ::std::borrow::ToOwned::to_owned("uint256"),
159 ),
160 },
161 ::ethers::core::abi::ethabi::Param {
162 name: ::std::borrow::ToOwned::to_owned("vol"),
163 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
164 256usize,
165 ),
166 internal_type: ::core::option::Option::Some(
167 ::std::borrow::ToOwned::to_owned("uint256"),
168 ),
169 },
170 ::ethers::core::abi::ethabi::Param {
171 name: ::std::borrow::ToOwned::to_owned("tau"),
172 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
173 256usize,
174 ),
175 internal_type: ::core::option::Option::Some(
176 ::std::borrow::ToOwned::to_owned("uint256"),
177 ),
178 },
179 ],
180 outputs: ::std::vec![
181 ::ethers::core::abi::ethabi::Param {
182 name: ::std::borrow::ToOwned::to_owned("k"),
183 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
184 internal_type: ::core::option::Option::Some(
185 ::std::borrow::ToOwned::to_owned("int256"),
186 ),
187 },
188 ],
189 constant: ::core::option::Option::None,
190 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
191 },
192 ],
193 ),
194 (
195 ::std::borrow::ToOwned::to_owned("log"),
196 ::std::vec![
197 ::ethers::core::abi::ethabi::Function {
198 name: ::std::borrow::ToOwned::to_owned("log"),
199 inputs: ::std::vec![
200 ::ethers::core::abi::ethabi::Param {
201 name: ::std::borrow::ToOwned::to_owned("x"),
202 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
203 internal_type: ::core::option::Option::Some(
204 ::std::borrow::ToOwned::to_owned("int256"),
205 ),
206 },
207 ],
208 outputs: ::std::vec![
209 ::ethers::core::abi::ethabi::Param {
210 name: ::std::borrow::ToOwned::to_owned("z"),
211 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
212 internal_type: ::core::option::Option::Some(
213 ::std::borrow::ToOwned::to_owned("int256"),
214 ),
215 },
216 ],
217 constant: ::core::option::Option::None,
218 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
219 },
220 ],
221 ),
222 (
223 ::std::borrow::ToOwned::to_owned("mulWadDown"),
224 ::std::vec![
225 ::ethers::core::abi::ethabi::Function {
226 name: ::std::borrow::ToOwned::to_owned("mulWadDown"),
227 inputs: ::std::vec![
228 ::ethers::core::abi::ethabi::Param {
229 name: ::std::borrow::ToOwned::to_owned("x"),
230 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
231 256usize,
232 ),
233 internal_type: ::core::option::Option::Some(
234 ::std::borrow::ToOwned::to_owned("uint256"),
235 ),
236 },
237 ::ethers::core::abi::ethabi::Param {
238 name: ::std::borrow::ToOwned::to_owned("y"),
239 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
240 256usize,
241 ),
242 internal_type: ::core::option::Option::Some(
243 ::std::borrow::ToOwned::to_owned("uint256"),
244 ),
245 },
246 ],
247 outputs: ::std::vec![
248 ::ethers::core::abi::ethabi::Param {
249 name: ::std::borrow::ToOwned::to_owned("z"),
250 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
251 256usize,
252 ),
253 internal_type: ::core::option::Option::Some(
254 ::std::borrow::ToOwned::to_owned("uint256"),
255 ),
256 },
257 ],
258 constant: ::core::option::Option::None,
259 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
260 },
261 ],
262 ),
263 (
264 ::std::borrow::ToOwned::to_owned("mulWadUp"),
265 ::std::vec![
266 ::ethers::core::abi::ethabi::Function {
267 name: ::std::borrow::ToOwned::to_owned("mulWadUp"),
268 inputs: ::std::vec![
269 ::ethers::core::abi::ethabi::Param {
270 name: ::std::borrow::ToOwned::to_owned("x"),
271 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
272 256usize,
273 ),
274 internal_type: ::core::option::Option::Some(
275 ::std::borrow::ToOwned::to_owned("uint256"),
276 ),
277 },
278 ::ethers::core::abi::ethabi::Param {
279 name: ::std::borrow::ToOwned::to_owned("y"),
280 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
281 256usize,
282 ),
283 internal_type: ::core::option::Option::Some(
284 ::std::borrow::ToOwned::to_owned("uint256"),
285 ),
286 },
287 ],
288 outputs: ::std::vec![
289 ::ethers::core::abi::ethabi::Param {
290 name: ::std::borrow::ToOwned::to_owned("z"),
291 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
292 256usize,
293 ),
294 internal_type: ::core::option::Option::Some(
295 ::std::borrow::ToOwned::to_owned("uint256"),
296 ),
297 },
298 ],
299 constant: ::core::option::Option::None,
300 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
301 },
302 ],
303 ),
304 (
305 ::std::borrow::ToOwned::to_owned("pdf"),
306 ::std::vec![
307 ::ethers::core::abi::ethabi::Function {
308 name: ::std::borrow::ToOwned::to_owned("pdf"),
309 inputs: ::std::vec![
310 ::ethers::core::abi::ethabi::Param {
311 name: ::std::borrow::ToOwned::to_owned("input"),
312 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
313 internal_type: ::core::option::Option::Some(
314 ::std::borrow::ToOwned::to_owned("int256"),
315 ),
316 },
317 ],
318 outputs: ::std::vec![
319 ::ethers::core::abi::ethabi::Param {
320 name: ::std::borrow::ToOwned::to_owned("output"),
321 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
322 internal_type: ::core::option::Option::Some(
323 ::std::borrow::ToOwned::to_owned("int256"),
324 ),
325 },
326 ],
327 constant: ::core::option::Option::None,
328 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
329 },
330 ],
331 ),
332 (
333 ::std::borrow::ToOwned::to_owned("ppf"),
334 ::std::vec![
335 ::ethers::core::abi::ethabi::Function {
336 name: ::std::borrow::ToOwned::to_owned("ppf"),
337 inputs: ::std::vec![
338 ::ethers::core::abi::ethabi::Param {
339 name: ::std::borrow::ToOwned::to_owned("input"),
340 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
341 internal_type: ::core::option::Option::Some(
342 ::std::borrow::ToOwned::to_owned("int256"),
343 ),
344 },
345 ],
346 outputs: ::std::vec![
347 ::ethers::core::abi::ethabi::Param {
348 name: ::std::borrow::ToOwned::to_owned("output"),
349 kind: ::ethers::core::abi::ethabi::ParamType::Int(256usize),
350 internal_type: ::core::option::Option::Some(
351 ::std::borrow::ToOwned::to_owned("int256"),
352 ),
353 },
354 ],
355 constant: ::core::option::Option::None,
356 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
357 },
358 ],
359 ),
360 (
361 ::std::borrow::ToOwned::to_owned("sqrt"),
362 ::std::vec![
363 ::ethers::core::abi::ethabi::Function {
364 name: ::std::borrow::ToOwned::to_owned("sqrt"),
365 inputs: ::std::vec![
366 ::ethers::core::abi::ethabi::Param {
367 name: ::std::borrow::ToOwned::to_owned("x"),
368 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
369 256usize,
370 ),
371 internal_type: ::core::option::Option::Some(
372 ::std::borrow::ToOwned::to_owned("uint256"),
373 ),
374 },
375 ],
376 outputs: ::std::vec![
377 ::ethers::core::abi::ethabi::Param {
378 name: ::std::borrow::ToOwned::to_owned("z"),
379 kind: ::ethers::core::abi::ethabi::ParamType::Uint(
380 256usize,
381 ),
382 internal_type: ::core::option::Option::Some(
383 ::std::borrow::ToOwned::to_owned("uint256"),
384 ),
385 },
386 ],
387 constant: ::core::option::Option::None,
388 state_mutability: ::ethers::core::abi::ethabi::StateMutability::Pure,
389 },
390 ],
391 ),
392 ]),
393 events: ::std::collections::BTreeMap::new(),
394 errors: ::core::convert::From::from([
395 (
396 ::std::borrow::ToOwned::to_owned("Infinity"),
397 ::std::vec![
398 ::ethers::core::abi::ethabi::AbiError {
399 name: ::std::borrow::ToOwned::to_owned("Infinity"),
400 inputs: ::std::vec![],
401 },
402 ],
403 ),
404 (
405 ::std::borrow::ToOwned::to_owned("Min"),
406 ::std::vec![
407 ::ethers::core::abi::ethabi::AbiError {
408 name: ::std::borrow::ToOwned::to_owned("Min"),
409 inputs: ::std::vec![],
410 },
411 ],
412 ),
413 (
414 ::std::borrow::ToOwned::to_owned("NegativeInfinity"),
415 ::std::vec![
416 ::ethers::core::abi::ethabi::AbiError {
417 name: ::std::borrow::ToOwned::to_owned("NegativeInfinity"),
418 inputs: ::std::vec![],
419 },
420 ],
421 ),
422 (
423 ::std::borrow::ToOwned::to_owned("OOB"),
424 ::std::vec![
425 ::ethers::core::abi::ethabi::AbiError {
426 name: ::std::borrow::ToOwned::to_owned("OOB"),
427 inputs: ::std::vec![],
428 },
429 ],
430 ),
431 (
432 ::std::borrow::ToOwned::to_owned("OutOfBounds"),
433 ::std::vec![
434 ::ethers::core::abi::ethabi::AbiError {
435 name: ::std::borrow::ToOwned::to_owned("OutOfBounds"),
436 inputs: ::std::vec![],
437 },
438 ],
439 ),
440 ]),
441 receive: false,
442 fallback: false,
443 }
444 }
445 pub static ARBITERMATH_ABI: ::ethers::contract::Lazy<::ethers::core::abi::Abi> = ::ethers::contract::Lazy::new(
447 __abi,
448 );
449 #[rustfmt::skip]
450 const __BYTECODE: &[u8] = b"`\x80`@R4\x80\x15a\0]W`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\"`$\x82\x01R\x7FEther sent to non-payable functi`D\x82\x01\x90\x81Ra7\xB7`\xF1\x1B`d\x83\x01R`\x84\x82\xFD[Pa\x11y\x80a\0m`\09`\0\xF3\xFE`\x80`@R4\x80\x15a\0]W`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\"`$\x82\x01R\x7FEther sent to non-payable functi`D\x82\x01\x90\x81Ra7\xB7`\xF1\x1B`d\x83\x01R`\x84\x82\xFD[P`\x046\x10a\0\xEBW`\x005`\xE0\x1C\x80c\xAE\x97h\xA8\x11a\0\xB3W\x80c\xAE\x97h\xA8\x14a\x01\xC1W\x80c\xBD%-\x06\x14a\x01\xD4W\x80c\xD0\xB7\x1B\x1E\x14a\x01\xE7W\x80c\xD2L\xE6\xE5\x14a\x01\xFAW\x80c\xE5$\xF8I\x14a\x02\rWa\0\xEBV[\x80c-[l\xB9\x14a\x01PW\x80c/Yw:\x14a\x01uW\x80c6yr:\x14a\x01\x88W\x80c7\xC6\xA4J\x14a\x01\x9BW\x80cgsB\xCE\x14a\x01\xAEW[`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`5`$\x82\x01R\x7FContract does not have fallback `D\x82\x01\x90\x81Rtnor receive functions`X\x1B`d\x83\x01R`\x84\x82\xFD[a\x01ca\x01^6`\x04a\x0F\xF6V[a\x02 V[`@Q\x90\x81R` \x01`@Q\x80\x91\x03\x90\xF3[a\x01ca\x01\x836`\x04a\x10\x12V[a\x021V[a\x01ca\x01\x966`\x04a\x0F\xF6V[a\x02JV[a\x01ca\x01\xA96`\x04a\x10PV[a\x02UV[a\x01ca\x01\xBC6`\x04a\x0F\xF6V[a\x02hV[a\x01ca\x01\xCF6`\x04a\x10PV[a\x02sV[a\x01ca\x01\xE26`\x04a\x10PV[a\x02\x7FV[a\x01ca\x01\xF56`\x04a\x0F\xF6V[a\x02\x8BV[a\x01ca\x02\x086`\x04a\x0F\xF6V[a\x02\x96V[a\x01ca\x02\x1B6`\x04a\x10PV[a\x02\xA1V[`\0a\x02+\x82a\x02\xADV[\x92\x91PPV[`\0a\x02@\x86\x86\x86\x86\x86a\x04\x8DV[\x96\x95PPPPPPV[`\0a\x02+\x82a\x04\xAAV[`\0a\x02a\x83\x83a\x05PV[\x93\x92PPPV[`\0a\x02+\x82a\x05eV[`\0a\x02a\x83\x83a\x06\tV[`\0a\x02a\x83\x83a\x06\x1EV[`\0a\x02+\x82a\x063V[`\0a\x02+\x82a\x06\x9CV[`\0a\x02a\x83\x83a\x06\xF8V[`\0\x80\x82\x13a\x02\xEFW`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\t`$\x82\x01Rh\x15S\x91\x11Q\x92S\x91Q`\xBA\x1B`D\x82\x01R`d\x01[`@Q\x80\x91\x03\x90\xFD[`\0``a\x02\xFC\x84a\x07\rV[\x03`\x9F\x81\x81\x03\x94\x90\x94\x1B\x90\x93\x1ClFWr\xB2\xBB\xBB_\x82K\x15 z0\x81\x01\x81\x02``\x90\x81\x1Dm\x03\x88\xEA\xA2t\x12\xD5\xAC\xA0&\x81]cn\x01\x82\x02\x81\x1Dm\r\xF9\x9A\xC5\x02\x03\x1B\xF9S\xEF\xF4r\xFD\xCC\x01\x82\x02\x81\x1Dm\x13\xCD\xFF\xB2\x9DQ\xD9\x93\"\xBD\xFF_\"\x11\x01\x82\x02\x81\x1Dm\n\x0Ft #\xDE\xF7\x83\xA3\x07\xA9\x86\x91.\x01\x82\x02\x81\x1Dm\x01\x92\r\x80C\xCA\x89\xB5#\x92S(NB\x01\x82\x02\x81\x1Dl\x0Bz\x86\xD77Th\xFA\xC6g\xA0\xA5'\x01l)P\x8EE\x85C\xD8\xAAM\xF2\xAB\xEEx\x83\x01\x83\x02\x82\x1Dm\x019`\x1A.\xFA\xBEq~`L\xBBH\x94\x01\x83\x02\x82\x1Dm\x02$\x7Fz{e\x942\x06I\xAA\x03\xAB\xA1\x01\x83\x02\x82\x1Dl\x8C?8\xE9Zk\x1F\xF2\xAB\x1C;46\x19\x01\x83\x02\x82\x1Dm\x028Gs\xBD\xF1\xACVv\xFA\xCC\xED`\x90\x19\x01\x83\x02\x90\x91\x1Dl\xB9\xA0%\xD8\x14\xB2\x9C!+\x8B\x1A\x07\xCD\x19\x01\x90\x91\x02x\n\tPp\x84\xCCi\x9B\xB0\xE7\x1E\xA8i\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x19\x01\x05q\x13@\xDA\xA0\xD5\xF7i\xDB\xA1\x91\\\xEFY\xF0\x81ZU\x06\x02}\x02g\xA3l\x0C\x95\xB3\x97Z\xB3\xEE[ :v\x14\xA3\xF7Ss\xF0G\xD8\x03\xAE{f\x87\xF2\xB3\x93\x90\x93\x02\x92\x90\x92\x01}W\x11^G\x01\x8Cqw\xEE\xBF|\xD3p\xA35j\x1Bxc\0\x8AZ\xE8\x02\x8Cr\xB8\x86B\x84\x01`\xAE\x1D\x92\x91PPV[`\0\x80a\x04\x9D\x86\x86\x86\x86\x86a\x07\xB5V[\x90\x96\x03\x96\x95PPPPPPV[`\0g\x06\xF0[Y\xD3\xB2\0\0\x82\x03a\x04\xC3WP`\0\x91\x90PV[g\r\xE0\xB6\xB3\xA7d\0\0\x82\x12a\x04\xEBW`@Qc\x07\xA0!'`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x81`\0\x03a\x05\x0CW`@Qc\"\xEDY\x85`\xE2\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[`\0a\x05\x19\x83`\x02a\x10\x8BV[\x90P`\0a\x05&\x82a\x08\xD0V[\x90P`\0a\x05<g\x13\xA0K\xBD\xFD\xC9\xBE\x88\x83a\x0BLV[\x90Pa\x05G\x81a\x10\xBBV[\x95\x94PPPPPV[`\0a\x02a\x83g\r\xE0\xB6\xB3\xA7d\0\0\x84a\x0BaV[`\xB5\x81`\x01`\x88\x1B\x81\x10a\x05~W`@\x91\x90\x91\x1B\x90`\x80\x1C[i\x01\0\0\0\0\0\0\0\0\0\x81\x10a\x05\x9AW` \x91\x90\x91\x1B\x90`@\x1C[e\x01\0\0\0\0\0\x81\x10a\x05\xB2W`\x10\x91\x90\x91\x1B\x90` \x1C[c\x01\0\0\0\x81\x10a\x05\xC8W`\x08\x91\x90\x91\x1B\x90`\x10\x1C[b\x01\0\0\x01\x02`\x12\x1C\x80\x82\x04\x01`\x01\x90\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x90\x1C\x90\x81\x90\x04\x81\x11\x90\x03\x90V[`\0a\x02a\x83\x83g\r\xE0\xB6\xB3\xA7d\0\0a\x0B\x80V[`\0a\x02a\x83g\r\xE0\xB6\xB3\xA7d\0\0\x84a\x0B\x80V[`\0\x80g\x13\xA0K\xBD\xFD\xC9\xBE\x88a\x06Qg\r\xE0\xB6\xB3\xA7d\0\0\x85a\x10\x8BV[a\x06[\x91\x90a\x10\xD7V[\x90P`\0a\x06h\x82a\x10\xBBV[\x90P`\0a\x06u\x82a\x0B\xAEV[\x90Pg\x1B\xC1mgN\xC8\0\0a\x06\x92g\r\xE0\xB6\xB3\xA7d\0\0\x83a\x10\x8BV[a\x05G\x91\x90a\x10\xD7V[`\0\x80g\x1B\xC1mgN\xC8\0\0\x83a\x06\xB2\x81a\x10\xBBV[a\x06\xBC\x91\x90a\x10\x8BV[a\x06\xC6\x91\x90a\x10\xD7V[\x90Pa\x06\xD1\x81a\r\x92V[\x90Pg\"\xC9U\"\x95T\xC1\xB6a\x06\xEEg\r\xE0\xB6\xB3\xA7d\0\0\x83a\x10\x8BV[a\x02a\x91\x90a\x10\xD7V[`\0a\x02a\x83\x83g\r\xE0\xB6\xB3\xA7d\0\0a\x0BaV[`\0\x80\x82\x11a\x07JW`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\t`$\x82\x01Rh\x15S\x91\x11Q\x92S\x91Q`\xBA\x1B`D\x82\x01R`d\x01a\x02\xE6V[P`\x01o\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x82\x11`\x07\x1B\x82\x81\x1Cg\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x10`\x06\x1B\x17\x82\x81\x1Cc\xFF\xFF\xFF\xFF\x10`\x05\x1B\x17\x82\x81\x1Ca\xFF\xFF\x10`\x04\x1B\x17\x82\x81\x1C`\xFF\x10`\x03\x90\x81\x1B\x90\x91\x17\x83\x81\x1C`\x0F\x10`\x02\x1B\x17\x83\x81\x1C\x90\x91\x10\x82\x1B\x17\x91\x82\x1C\x11\x17\x90V[`\0g\r\xE0\xB6\xB3\xA7d\0\0\x86\x11\x15a\x07\xE0W`@Qc\xAA\xF3\x95o`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[g\r\xE0\xB6\xB3\xA7d\0\0\x86\x03a\x07\xF6WP\x80a\x05GV[\x85`\0\x03a\x08\x0FWa\x08\x08\x82\x86a\x11\x13V[\x90Pa\x05GV[\x82\x15a\x08\xAAW`\0a\x08%\x84c\x01\xE1\x85Xa\x05PV[\x90P`\0a\x082\x82a\x05eV[\x90Pa\x08Bc;\x9A\xCA\0\x82a\x11;V[\x90Pa\x08N\x86\x82a\x06\xF8V[\x90P`\0a\x08d\x89g\r\xE0\xB6\xB3\xA7d\0\0a\x11RV[\x90Pa\x08o\x81a\x04\xAAV[\x90P`\0a\x08}\x83\x83a\x11RV[\x90Pa\x08\x88\x81a\x063V[\x90P\x85a\x08\x95\x8A\x83a\x0BLV[a\x08\x9F\x91\x90a\x11\x13V[\x94PPPPPa\x05GV[\x81a\x08\xC6\x86a\x08\xC1\x89g\r\xE0\xB6\xB3\xA7d\0\0a\x11RV[a\x0BLV[a\x02@\x91\x90a\x11\x13V[`\0\x80\x82\x12\x80a\x08\xE7WPg\x1B\xC1mgN\xC8\0\0\x82\x13[\x15a\t\x05W`@Qc-\x04\x83\xC5`\xE2\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x81`\0\x03a\t&W`@Qc\x07\xA0!'`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x81g\x1B\xC1mgN\xC8\0\0\x03a\tNW`@Qc\"\xEDY\x85`\xE2\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x80\x15a\tYW\x91\x90PV[`\0g\r\xE0\xB6\xB3\xA7d\0\0\x83\x12a\t\x81Wa\t|\x83g\x1B\xC1mgN\xC8\0\0a\x11RV[a\t\x83V[\x82[\x90P`\0a\t\x99\x82g\x1B\xC1mgN\xC8\0\0a\x0F;V[\x90P\x80`\0\x03a\t\xBCW`@Qc\x07\xA0!'`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[`\0a\t\xC7\x82a\x02\xADV[\x90P`\0c;\x9A\xCA\0a\t\xF2a\t\xEDa\t\xE7g\x1B\xC1mgN\xC8\0\0a\x10\xBBV[\x85a\x0BLV[a\x05eV[a\t\xFC\x91\x90a\x10\x8BV[\x90P`\0\x80a\n\x13\x83g\x03\xC1f\\z\xAB \0a\x0BLV[a\n%\x90g \x05\xFEO&\x8E\xA0\0a\x11\x13V[\x90P`\0a\nP\x84a\n>\x86f\x9F2u$b\xA0\0a\x0BLV[a\x08\xC1\x90g\r\xC5R\x7Fd, \0a\x11\x13V[a\nb\x90g\r\xE0\xB6\xB3\xA7d\0\0a\x11\x13V[\x90Pa\n\x86g\t\xD0(\xCCo _\xFF\x19\x85a\n|\x85\x85a\x0F;V[a\x08\xC1\x91\x90a\x11RV[\x92PPP`\0[`\x02\x81\x10\x15a\x0B!W`\0\x86a\n\xA2\x84a\x0B\xAEV[a\n\xAC\x91\x90a\x11RV[\x90P`\0a\n\xBA\x84\x85a\x0BLV[a\n\xC3\x90a\x10\xBBV[\x90P`\0a\n\xD0\x82a\r\x92V[\x90P`\0a\n\xDE\x86\x85a\x0BLV[a\n\xF0g\x0F\xA8\xCE\xDF\xC2\xAD\xDD\xFA\x84a\x0BLV[a\n\xFA\x91\x90a\x11RV[\x90Pa\x0B\x06\x84\x82a\x0F;V[a\x0B\x10\x90\x87a\x11\x13V[\x95P\x84`\x01\x01\x94PPPPPa\n\x8DV[g\r\xE0\xB6\xB3\xA7d\0\0\x88\x12a\x0B>Wa\x0B9\x82a\x10\xBBV[a\x0B@V[\x81[\x98\x97PPPPPPPPV[`\0a\x02a\x83\x83g\r\xE0\xB6\xB3\xA7d\0\0a\x0FLV[\x82\x82\x02\x81\x15\x15\x84\x15\x85\x83\x04\x85\x14\x17\x16a\x0ByW`\0\x80\xFD[\x04\x92\x91PPV[\x82\x82\x02\x81\x15\x15\x84\x15\x85\x83\x04\x85\x14\x17\x16a\x0B\x98W`\0\x80\xFD[`\x01\x82`\x01\x83\x03\x04\x01\x81\x15\x15\x02\x90P\x93\x92PPPV[`\0\x81`\0\x03a\x0B\xC7WPg\r\xE0\xB6\xB3\xA7d\0\0\x91\x90PV[gV\x98\xEE\xF0fp\0\0\x82\x12a\x0B\xDEWP`\0\x91\x90PV[a\x0B\xEFgV\x98\xEE\xF0fp\0\0a\x10\xBBV[\x82\x13a\x0C\x04WPg\x1B\xC1mgN\xC8\0\0\x91\x90PV[`\0a\x0C\x0F\x83a\x0FkV[\x90P`\0a\x0CHg\r\xE0\xB6\xB3\xA7d\0\0a\x0C1\x84g\x1B\xC1mgN\xC8\0\0a\x05PV[a\x0CC\x90g\r\xE0\xB6\xB3\xA7d\0\0a\x11\x13V[a\x0F;V[\x90P`\0\x80\x82a\x0C\xA4\x81a\x0C\x91\x81a\x0C\x7F\x81a\x0Cl\x81g\x02_\x0F\xE1\x05\xA3\x14\0a\x0BLV[a\x08\xC1\x90g\x0Bh\xDF\x18\xE4q\xFB\xFF\x19a\x11\x13V[a\x08\xC1\x90g\x14\xA8EL\x19\xE1\xAC\0a\x11\x13V[a\x08\xC1\x90g\x0F\xC1\x0E\x01W\x82w\xFF\x19a\x11\x13V[a\x0C\xB6\x90g\x03\xDE\xBD\x08;\x8C|\0a\x11\x13V[\x91P\x83\x90Pa\r\x1E\x81a\r\x0C\x81a\x0C\xFA\x81a\x0C\xE8\x81a\x0C\xD5\x81\x8Ba\x0BLV[a\x08\xC1\x90g\x02\x95\xD4\0\xEA2W\xFF\x19a\x11\x13V[a\x08\xC1\x90g\x01W\xD8\xB2\xEC\xC7\x08\0a\x11\x13V[a\x08\xC1\x90g\x051\n\xA7\xD5!0\0a\x11\x13V[a\x08\xC1\x90g\r\xE0\xCC=\x15a\0\0a\x11\x13V[\x91P\x81g\x11\x90\0\xAB\x10\x0F\xFC\0a\r4\x87\x88a\x0BLV[a\r@\x90`\0\x19a\x10\x8BV[a\rJ\x91\x90a\x11RV[a\rT\x91\x90a\x11\x13V[\x92PP`\0a\rb\x83a\r\x92V[\x90P`\0a\rp\x85\x83a\x0BLV[\x90P`\0\x88\x12a\r\x80W\x80a\x0B@V[a\x0B@\x81g\x1B\xC1mgN\xC8\0\0a\x11RV[`\0h\x02H\xCE6\xA7\x0C\xB2k>\x19\x82\x13a\r\xADWP`\0\x91\x90PV[h\x07U\xBFy\x8BJ\x1B\xF1\xE5\x82\x12a\r\xF4W`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\x0C`$\x82\x01RkEXP_OVERFLOW`\xA0\x1B`D\x82\x01R`d\x01a\x02\xE6V[e\x03x-\xAC\xE9\xD9`N\x83\x90\x1B\x05\x91P`\0``k\xB1r\x17\xF7\xD1\xCFy\xAB\xC9\xE3\xB3\x98\x84\x82\x1B\x05`\x01`_\x1B\x01\x90\x1Dk\xB1r\x17\xF7\xD1\xCFy\xAB\xC9\xE3\xB3\x98\x81\x02\x90\x93\x03l$\x0C3\x0E\x9F\xB2\xD9\xCB\xAF\x0F\xD5\xAA\xFB\x19\x81\x01\x81\x02``\x90\x81\x1Dm\x02wYI\x91\xCF\xC8_n$a\x83|\xD9\x01\x82\x02\x81\x1Dm\x1AR\x12U\xE3OjPa\xB2^\xF1\xC9\xC3\x19\x01\x82\x02\x81\x1Dm\xB1\xBB\xB2\x01\xF4C\xCF\x96/\x1A\x1D=\xB4\xA5\x01\x82\x02\x81\x1Dn\x02\xC7#\x88\xD9\xF7OQ\xA93\x1F\xEDi?\x14\x19\x01\x82\x02\x81\x1Dn\x05\x18\x0B\xB1G\x99\xABG\xA8\xA8\xCB*R}W\x01m\x02\xD1g W{\xD1\x9B\xF6\x14\x17o\xE9\xEAl\x10\xFEh\xE7\xFD7\xD0\0{q?vP\x84\x01\x84\x02\x83\x1D\x90\x81\x01\x90\x84\x01m\x01\xD3\x96~\xD3\x0F\xC4\xF8\x9C\x02\xBA\xB5p\x81\x19\x01\x02\x90\x91\x1Dn\x05\x87\xF5\x03\xBBn\xA2\x9D%\xFC\xB7@\x19dP\x01\x90\x91\x02m6\rz\xEE\xA0\x93&>\xCCn\x0E\xCB)\x17`b\x1B\x01\x05t\x02\x9D\x9D\xC3\x85c\xC3.\\/m\xC1\x92\xEEp\xEFe\xF9\x97\x8A\xF3\x02`\xC3\x93\x90\x93\x03\x92\x90\x92\x1C\x92\x91PPV[`\0a\x02a\x83g\r\xE0\xB6\xB3\xA7d\0\0\x84[\x82\x82\x02\x81\x15\x15\x84\x15\x85\x83\x05\x85\x14\x17\x16a\x0FdW`\0\x80\xFD[\x05\x92\x91PPV[`\0`\x01`\xFF\x1B\x82\x03a\x0F\x91W`@QcM-u\xB1`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[`\0\x82\x12\x15a\x0F\xA2WP\x19`\x01\x01\x90V[P\x90V[`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\"`$\x82\x01R\x7FABI decoding: tuple data too sho`D\x82\x01Ra\x1C\x9D`\xF2\x1B`d\x82\x01R`\x84\x81\xFD[`\0` \x82\x84\x03\x12\x15a\x10\x0BWa\x10\x0Ba\x0F\xA6V[P5\x91\x90PV[`\0\x80`\0\x80`\0`\xA0\x86\x88\x03\x12\x15a\x10-Wa\x10-a\x0F\xA6V[PP\x835\x95` \x85\x015\x95P`@\x85\x015\x94``\x81\x015\x94P`\x80\x015\x92P\x90PV[`\0\x80`@\x83\x85\x03\x12\x15a\x10fWa\x10fa\x0F\xA6V[PP\x805\x92` \x90\x91\x015\x91PV[cNH{q`\xE0\x1B`\0R`\x11`\x04R`$`\0\xFD[\x80\x82\x02`\0\x82\x12`\x01`\xFF\x1B\x84\x14\x16\x15a\x10\xA7Wa\x10\xA7a\x10uV[\x81\x81\x05\x83\x14\x82\x15\x17a\x02+Wa\x02+a\x10uV[`\0`\x01`\xFF\x1B\x82\x01a\x10\xD0Wa\x10\xD0a\x10uV[P`\0\x03\x90V[`\0\x82a\x10\xF4WcNH{q`\xE0\x1B`\0R`\x12`\x04R`$`\0\xFD[`\x01`\xFF\x1B\x82\x14`\0\x19\x84\x14\x16\x15a\x11\x0EWa\x11\x0Ea\x10uV[P\x05\x90V[\x80\x82\x01\x82\x81\x12`\0\x83\x12\x80\x15\x82\x16\x82\x15\x82\x16\x17\x15a\x113Wa\x113a\x10uV[PP\x92\x91PPV[\x80\x82\x02\x81\x15\x82\x82\x04\x84\x14\x17a\x02+Wa\x02+a\x10uV[\x81\x81\x03`\0\x83\x12\x80\x15\x83\x83\x13\x16\x83\x83\x12\x82\x16\x17\x15a\x11rWa\x11ra\x10uV[P\x92\x91PPV";
451 pub static ARBITERMATH_BYTECODE: ::ethers::core::types::Bytes = ::ethers::core::types::Bytes::from_static(
453 __BYTECODE,
454 );
455 #[rustfmt::skip]
456 const __DEPLOYED_BYTECODE: &[u8] = b"`\x80`@R4\x80\x15a\0]W`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\"`$\x82\x01R\x7FEther sent to non-payable functi`D\x82\x01\x90\x81Ra7\xB7`\xF1\x1B`d\x83\x01R`\x84\x82\xFD[P`\x046\x10a\0\xEBW`\x005`\xE0\x1C\x80c\xAE\x97h\xA8\x11a\0\xB3W\x80c\xAE\x97h\xA8\x14a\x01\xC1W\x80c\xBD%-\x06\x14a\x01\xD4W\x80c\xD0\xB7\x1B\x1E\x14a\x01\xE7W\x80c\xD2L\xE6\xE5\x14a\x01\xFAW\x80c\xE5$\xF8I\x14a\x02\rWa\0\xEBV[\x80c-[l\xB9\x14a\x01PW\x80c/Yw:\x14a\x01uW\x80c6yr:\x14a\x01\x88W\x80c7\xC6\xA4J\x14a\x01\x9BW\x80cgsB\xCE\x14a\x01\xAEW[`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`5`$\x82\x01R\x7FContract does not have fallback `D\x82\x01\x90\x81Rtnor receive functions`X\x1B`d\x83\x01R`\x84\x82\xFD[a\x01ca\x01^6`\x04a\x0F\xF6V[a\x02 V[`@Q\x90\x81R` \x01`@Q\x80\x91\x03\x90\xF3[a\x01ca\x01\x836`\x04a\x10\x12V[a\x021V[a\x01ca\x01\x966`\x04a\x0F\xF6V[a\x02JV[a\x01ca\x01\xA96`\x04a\x10PV[a\x02UV[a\x01ca\x01\xBC6`\x04a\x0F\xF6V[a\x02hV[a\x01ca\x01\xCF6`\x04a\x10PV[a\x02sV[a\x01ca\x01\xE26`\x04a\x10PV[a\x02\x7FV[a\x01ca\x01\xF56`\x04a\x0F\xF6V[a\x02\x8BV[a\x01ca\x02\x086`\x04a\x0F\xF6V[a\x02\x96V[a\x01ca\x02\x1B6`\x04a\x10PV[a\x02\xA1V[`\0a\x02+\x82a\x02\xADV[\x92\x91PPV[`\0a\x02@\x86\x86\x86\x86\x86a\x04\x8DV[\x96\x95PPPPPPV[`\0a\x02+\x82a\x04\xAAV[`\0a\x02a\x83\x83a\x05PV[\x93\x92PPPV[`\0a\x02+\x82a\x05eV[`\0a\x02a\x83\x83a\x06\tV[`\0a\x02a\x83\x83a\x06\x1EV[`\0a\x02+\x82a\x063V[`\0a\x02+\x82a\x06\x9CV[`\0a\x02a\x83\x83a\x06\xF8V[`\0\x80\x82\x13a\x02\xEFW`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\t`$\x82\x01Rh\x15S\x91\x11Q\x92S\x91Q`\xBA\x1B`D\x82\x01R`d\x01[`@Q\x80\x91\x03\x90\xFD[`\0``a\x02\xFC\x84a\x07\rV[\x03`\x9F\x81\x81\x03\x94\x90\x94\x1B\x90\x93\x1ClFWr\xB2\xBB\xBB_\x82K\x15 z0\x81\x01\x81\x02``\x90\x81\x1Dm\x03\x88\xEA\xA2t\x12\xD5\xAC\xA0&\x81]cn\x01\x82\x02\x81\x1Dm\r\xF9\x9A\xC5\x02\x03\x1B\xF9S\xEF\xF4r\xFD\xCC\x01\x82\x02\x81\x1Dm\x13\xCD\xFF\xB2\x9DQ\xD9\x93\"\xBD\xFF_\"\x11\x01\x82\x02\x81\x1Dm\n\x0Ft #\xDE\xF7\x83\xA3\x07\xA9\x86\x91.\x01\x82\x02\x81\x1Dm\x01\x92\r\x80C\xCA\x89\xB5#\x92S(NB\x01\x82\x02\x81\x1Dl\x0Bz\x86\xD77Th\xFA\xC6g\xA0\xA5'\x01l)P\x8EE\x85C\xD8\xAAM\xF2\xAB\xEEx\x83\x01\x83\x02\x82\x1Dm\x019`\x1A.\xFA\xBEq~`L\xBBH\x94\x01\x83\x02\x82\x1Dm\x02$\x7Fz{e\x942\x06I\xAA\x03\xAB\xA1\x01\x83\x02\x82\x1Dl\x8C?8\xE9Zk\x1F\xF2\xAB\x1C;46\x19\x01\x83\x02\x82\x1Dm\x028Gs\xBD\xF1\xACVv\xFA\xCC\xED`\x90\x19\x01\x83\x02\x90\x91\x1Dl\xB9\xA0%\xD8\x14\xB2\x9C!+\x8B\x1A\x07\xCD\x19\x01\x90\x91\x02x\n\tPp\x84\xCCi\x9B\xB0\xE7\x1E\xA8i\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x19\x01\x05q\x13@\xDA\xA0\xD5\xF7i\xDB\xA1\x91\\\xEFY\xF0\x81ZU\x06\x02}\x02g\xA3l\x0C\x95\xB3\x97Z\xB3\xEE[ :v\x14\xA3\xF7Ss\xF0G\xD8\x03\xAE{f\x87\xF2\xB3\x93\x90\x93\x02\x92\x90\x92\x01}W\x11^G\x01\x8Cqw\xEE\xBF|\xD3p\xA35j\x1Bxc\0\x8AZ\xE8\x02\x8Cr\xB8\x86B\x84\x01`\xAE\x1D\x92\x91PPV[`\0\x80a\x04\x9D\x86\x86\x86\x86\x86a\x07\xB5V[\x90\x96\x03\x96\x95PPPPPPV[`\0g\x06\xF0[Y\xD3\xB2\0\0\x82\x03a\x04\xC3WP`\0\x91\x90PV[g\r\xE0\xB6\xB3\xA7d\0\0\x82\x12a\x04\xEBW`@Qc\x07\xA0!'`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x81`\0\x03a\x05\x0CW`@Qc\"\xEDY\x85`\xE2\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[`\0a\x05\x19\x83`\x02a\x10\x8BV[\x90P`\0a\x05&\x82a\x08\xD0V[\x90P`\0a\x05<g\x13\xA0K\xBD\xFD\xC9\xBE\x88\x83a\x0BLV[\x90Pa\x05G\x81a\x10\xBBV[\x95\x94PPPPPV[`\0a\x02a\x83g\r\xE0\xB6\xB3\xA7d\0\0\x84a\x0BaV[`\xB5\x81`\x01`\x88\x1B\x81\x10a\x05~W`@\x91\x90\x91\x1B\x90`\x80\x1C[i\x01\0\0\0\0\0\0\0\0\0\x81\x10a\x05\x9AW` \x91\x90\x91\x1B\x90`@\x1C[e\x01\0\0\0\0\0\x81\x10a\x05\xB2W`\x10\x91\x90\x91\x1B\x90` \x1C[c\x01\0\0\0\x81\x10a\x05\xC8W`\x08\x91\x90\x91\x1B\x90`\x10\x1C[b\x01\0\0\x01\x02`\x12\x1C\x80\x82\x04\x01`\x01\x90\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x81\x1C\x80\x83\x04\x01\x90\x1C\x90\x81\x90\x04\x81\x11\x90\x03\x90V[`\0a\x02a\x83\x83g\r\xE0\xB6\xB3\xA7d\0\0a\x0B\x80V[`\0a\x02a\x83g\r\xE0\xB6\xB3\xA7d\0\0\x84a\x0B\x80V[`\0\x80g\x13\xA0K\xBD\xFD\xC9\xBE\x88a\x06Qg\r\xE0\xB6\xB3\xA7d\0\0\x85a\x10\x8BV[a\x06[\x91\x90a\x10\xD7V[\x90P`\0a\x06h\x82a\x10\xBBV[\x90P`\0a\x06u\x82a\x0B\xAEV[\x90Pg\x1B\xC1mgN\xC8\0\0a\x06\x92g\r\xE0\xB6\xB3\xA7d\0\0\x83a\x10\x8BV[a\x05G\x91\x90a\x10\xD7V[`\0\x80g\x1B\xC1mgN\xC8\0\0\x83a\x06\xB2\x81a\x10\xBBV[a\x06\xBC\x91\x90a\x10\x8BV[a\x06\xC6\x91\x90a\x10\xD7V[\x90Pa\x06\xD1\x81a\r\x92V[\x90Pg\"\xC9U\"\x95T\xC1\xB6a\x06\xEEg\r\xE0\xB6\xB3\xA7d\0\0\x83a\x10\x8BV[a\x02a\x91\x90a\x10\xD7V[`\0a\x02a\x83\x83g\r\xE0\xB6\xB3\xA7d\0\0a\x0BaV[`\0\x80\x82\x11a\x07JW`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\t`$\x82\x01Rh\x15S\x91\x11Q\x92S\x91Q`\xBA\x1B`D\x82\x01R`d\x01a\x02\xE6V[P`\x01o\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x82\x11`\x07\x1B\x82\x81\x1Cg\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x10`\x06\x1B\x17\x82\x81\x1Cc\xFF\xFF\xFF\xFF\x10`\x05\x1B\x17\x82\x81\x1Ca\xFF\xFF\x10`\x04\x1B\x17\x82\x81\x1C`\xFF\x10`\x03\x90\x81\x1B\x90\x91\x17\x83\x81\x1C`\x0F\x10`\x02\x1B\x17\x83\x81\x1C\x90\x91\x10\x82\x1B\x17\x91\x82\x1C\x11\x17\x90V[`\0g\r\xE0\xB6\xB3\xA7d\0\0\x86\x11\x15a\x07\xE0W`@Qc\xAA\xF3\x95o`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[g\r\xE0\xB6\xB3\xA7d\0\0\x86\x03a\x07\xF6WP\x80a\x05GV[\x85`\0\x03a\x08\x0FWa\x08\x08\x82\x86a\x11\x13V[\x90Pa\x05GV[\x82\x15a\x08\xAAW`\0a\x08%\x84c\x01\xE1\x85Xa\x05PV[\x90P`\0a\x082\x82a\x05eV[\x90Pa\x08Bc;\x9A\xCA\0\x82a\x11;V[\x90Pa\x08N\x86\x82a\x06\xF8V[\x90P`\0a\x08d\x89g\r\xE0\xB6\xB3\xA7d\0\0a\x11RV[\x90Pa\x08o\x81a\x04\xAAV[\x90P`\0a\x08}\x83\x83a\x11RV[\x90Pa\x08\x88\x81a\x063V[\x90P\x85a\x08\x95\x8A\x83a\x0BLV[a\x08\x9F\x91\x90a\x11\x13V[\x94PPPPPa\x05GV[\x81a\x08\xC6\x86a\x08\xC1\x89g\r\xE0\xB6\xB3\xA7d\0\0a\x11RV[a\x0BLV[a\x02@\x91\x90a\x11\x13V[`\0\x80\x82\x12\x80a\x08\xE7WPg\x1B\xC1mgN\xC8\0\0\x82\x13[\x15a\t\x05W`@Qc-\x04\x83\xC5`\xE2\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x81`\0\x03a\t&W`@Qc\x07\xA0!'`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x81g\x1B\xC1mgN\xC8\0\0\x03a\tNW`@Qc\"\xEDY\x85`\xE2\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[\x80\x15a\tYW\x91\x90PV[`\0g\r\xE0\xB6\xB3\xA7d\0\0\x83\x12a\t\x81Wa\t|\x83g\x1B\xC1mgN\xC8\0\0a\x11RV[a\t\x83V[\x82[\x90P`\0a\t\x99\x82g\x1B\xC1mgN\xC8\0\0a\x0F;V[\x90P\x80`\0\x03a\t\xBCW`@Qc\x07\xA0!'`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[`\0a\t\xC7\x82a\x02\xADV[\x90P`\0c;\x9A\xCA\0a\t\xF2a\t\xEDa\t\xE7g\x1B\xC1mgN\xC8\0\0a\x10\xBBV[\x85a\x0BLV[a\x05eV[a\t\xFC\x91\x90a\x10\x8BV[\x90P`\0\x80a\n\x13\x83g\x03\xC1f\\z\xAB \0a\x0BLV[a\n%\x90g \x05\xFEO&\x8E\xA0\0a\x11\x13V[\x90P`\0a\nP\x84a\n>\x86f\x9F2u$b\xA0\0a\x0BLV[a\x08\xC1\x90g\r\xC5R\x7Fd, \0a\x11\x13V[a\nb\x90g\r\xE0\xB6\xB3\xA7d\0\0a\x11\x13V[\x90Pa\n\x86g\t\xD0(\xCCo _\xFF\x19\x85a\n|\x85\x85a\x0F;V[a\x08\xC1\x91\x90a\x11RV[\x92PPP`\0[`\x02\x81\x10\x15a\x0B!W`\0\x86a\n\xA2\x84a\x0B\xAEV[a\n\xAC\x91\x90a\x11RV[\x90P`\0a\n\xBA\x84\x85a\x0BLV[a\n\xC3\x90a\x10\xBBV[\x90P`\0a\n\xD0\x82a\r\x92V[\x90P`\0a\n\xDE\x86\x85a\x0BLV[a\n\xF0g\x0F\xA8\xCE\xDF\xC2\xAD\xDD\xFA\x84a\x0BLV[a\n\xFA\x91\x90a\x11RV[\x90Pa\x0B\x06\x84\x82a\x0F;V[a\x0B\x10\x90\x87a\x11\x13V[\x95P\x84`\x01\x01\x94PPPPPa\n\x8DV[g\r\xE0\xB6\xB3\xA7d\0\0\x88\x12a\x0B>Wa\x0B9\x82a\x10\xBBV[a\x0B@V[\x81[\x98\x97PPPPPPPPV[`\0a\x02a\x83\x83g\r\xE0\xB6\xB3\xA7d\0\0a\x0FLV[\x82\x82\x02\x81\x15\x15\x84\x15\x85\x83\x04\x85\x14\x17\x16a\x0ByW`\0\x80\xFD[\x04\x92\x91PPV[\x82\x82\x02\x81\x15\x15\x84\x15\x85\x83\x04\x85\x14\x17\x16a\x0B\x98W`\0\x80\xFD[`\x01\x82`\x01\x83\x03\x04\x01\x81\x15\x15\x02\x90P\x93\x92PPPV[`\0\x81`\0\x03a\x0B\xC7WPg\r\xE0\xB6\xB3\xA7d\0\0\x91\x90PV[gV\x98\xEE\xF0fp\0\0\x82\x12a\x0B\xDEWP`\0\x91\x90PV[a\x0B\xEFgV\x98\xEE\xF0fp\0\0a\x10\xBBV[\x82\x13a\x0C\x04WPg\x1B\xC1mgN\xC8\0\0\x91\x90PV[`\0a\x0C\x0F\x83a\x0FkV[\x90P`\0a\x0CHg\r\xE0\xB6\xB3\xA7d\0\0a\x0C1\x84g\x1B\xC1mgN\xC8\0\0a\x05PV[a\x0CC\x90g\r\xE0\xB6\xB3\xA7d\0\0a\x11\x13V[a\x0F;V[\x90P`\0\x80\x82a\x0C\xA4\x81a\x0C\x91\x81a\x0C\x7F\x81a\x0Cl\x81g\x02_\x0F\xE1\x05\xA3\x14\0a\x0BLV[a\x08\xC1\x90g\x0Bh\xDF\x18\xE4q\xFB\xFF\x19a\x11\x13V[a\x08\xC1\x90g\x14\xA8EL\x19\xE1\xAC\0a\x11\x13V[a\x08\xC1\x90g\x0F\xC1\x0E\x01W\x82w\xFF\x19a\x11\x13V[a\x0C\xB6\x90g\x03\xDE\xBD\x08;\x8C|\0a\x11\x13V[\x91P\x83\x90Pa\r\x1E\x81a\r\x0C\x81a\x0C\xFA\x81a\x0C\xE8\x81a\x0C\xD5\x81\x8Ba\x0BLV[a\x08\xC1\x90g\x02\x95\xD4\0\xEA2W\xFF\x19a\x11\x13V[a\x08\xC1\x90g\x01W\xD8\xB2\xEC\xC7\x08\0a\x11\x13V[a\x08\xC1\x90g\x051\n\xA7\xD5!0\0a\x11\x13V[a\x08\xC1\x90g\r\xE0\xCC=\x15a\0\0a\x11\x13V[\x91P\x81g\x11\x90\0\xAB\x10\x0F\xFC\0a\r4\x87\x88a\x0BLV[a\r@\x90`\0\x19a\x10\x8BV[a\rJ\x91\x90a\x11RV[a\rT\x91\x90a\x11\x13V[\x92PP`\0a\rb\x83a\r\x92V[\x90P`\0a\rp\x85\x83a\x0BLV[\x90P`\0\x88\x12a\r\x80W\x80a\x0B@V[a\x0B@\x81g\x1B\xC1mgN\xC8\0\0a\x11RV[`\0h\x02H\xCE6\xA7\x0C\xB2k>\x19\x82\x13a\r\xADWP`\0\x91\x90PV[h\x07U\xBFy\x8BJ\x1B\xF1\xE5\x82\x12a\r\xF4W`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\x0C`$\x82\x01RkEXP_OVERFLOW`\xA0\x1B`D\x82\x01R`d\x01a\x02\xE6V[e\x03x-\xAC\xE9\xD9`N\x83\x90\x1B\x05\x91P`\0``k\xB1r\x17\xF7\xD1\xCFy\xAB\xC9\xE3\xB3\x98\x84\x82\x1B\x05`\x01`_\x1B\x01\x90\x1Dk\xB1r\x17\xF7\xD1\xCFy\xAB\xC9\xE3\xB3\x98\x81\x02\x90\x93\x03l$\x0C3\x0E\x9F\xB2\xD9\xCB\xAF\x0F\xD5\xAA\xFB\x19\x81\x01\x81\x02``\x90\x81\x1Dm\x02wYI\x91\xCF\xC8_n$a\x83|\xD9\x01\x82\x02\x81\x1Dm\x1AR\x12U\xE3OjPa\xB2^\xF1\xC9\xC3\x19\x01\x82\x02\x81\x1Dm\xB1\xBB\xB2\x01\xF4C\xCF\x96/\x1A\x1D=\xB4\xA5\x01\x82\x02\x81\x1Dn\x02\xC7#\x88\xD9\xF7OQ\xA93\x1F\xEDi?\x14\x19\x01\x82\x02\x81\x1Dn\x05\x18\x0B\xB1G\x99\xABG\xA8\xA8\xCB*R}W\x01m\x02\xD1g W{\xD1\x9B\xF6\x14\x17o\xE9\xEAl\x10\xFEh\xE7\xFD7\xD0\0{q?vP\x84\x01\x84\x02\x83\x1D\x90\x81\x01\x90\x84\x01m\x01\xD3\x96~\xD3\x0F\xC4\xF8\x9C\x02\xBA\xB5p\x81\x19\x01\x02\x90\x91\x1Dn\x05\x87\xF5\x03\xBBn\xA2\x9D%\xFC\xB7@\x19dP\x01\x90\x91\x02m6\rz\xEE\xA0\x93&>\xCCn\x0E\xCB)\x17`b\x1B\x01\x05t\x02\x9D\x9D\xC3\x85c\xC3.\\/m\xC1\x92\xEEp\xEFe\xF9\x97\x8A\xF3\x02`\xC3\x93\x90\x93\x03\x92\x90\x92\x1C\x92\x91PPV[`\0a\x02a\x83g\r\xE0\xB6\xB3\xA7d\0\0\x84[\x82\x82\x02\x81\x15\x15\x84\x15\x85\x83\x05\x85\x14\x17\x16a\x0FdW`\0\x80\xFD[\x05\x92\x91PPV[`\0`\x01`\xFF\x1B\x82\x03a\x0F\x91W`@QcM-u\xB1`\xE0\x1B\x81R`\x04\x01`@Q\x80\x91\x03\x90\xFD[`\0\x82\x12\x15a\x0F\xA2WP\x19`\x01\x01\x90V[P\x90V[`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`\"`$\x82\x01R\x7FABI decoding: tuple data too sho`D\x82\x01Ra\x1C\x9D`\xF2\x1B`d\x82\x01R`\x84\x81\xFD[`\0` \x82\x84\x03\x12\x15a\x10\x0BWa\x10\x0Ba\x0F\xA6V[P5\x91\x90PV[`\0\x80`\0\x80`\0`\xA0\x86\x88\x03\x12\x15a\x10-Wa\x10-a\x0F\xA6V[PP\x835\x95` \x85\x015\x95P`@\x85\x015\x94``\x81\x015\x94P`\x80\x015\x92P\x90PV[`\0\x80`@\x83\x85\x03\x12\x15a\x10fWa\x10fa\x0F\xA6V[PP\x805\x92` \x90\x91\x015\x91PV[cNH{q`\xE0\x1B`\0R`\x11`\x04R`$`\0\xFD[\x80\x82\x02`\0\x82\x12`\x01`\xFF\x1B\x84\x14\x16\x15a\x10\xA7Wa\x10\xA7a\x10uV[\x81\x81\x05\x83\x14\x82\x15\x17a\x02+Wa\x02+a\x10uV[`\0`\x01`\xFF\x1B\x82\x01a\x10\xD0Wa\x10\xD0a\x10uV[P`\0\x03\x90V[`\0\x82a\x10\xF4WcNH{q`\xE0\x1B`\0R`\x12`\x04R`$`\0\xFD[`\x01`\xFF\x1B\x82\x14`\0\x19\x84\x14\x16\x15a\x11\x0EWa\x11\x0Ea\x10uV[P\x05\x90V[\x80\x82\x01\x82\x81\x12`\0\x83\x12\x80\x15\x82\x16\x82\x15\x82\x16\x17\x15a\x113Wa\x113a\x10uV[PP\x92\x91PPV[\x80\x82\x02\x81\x15\x82\x82\x04\x84\x14\x17a\x02+Wa\x02+a\x10uV[\x81\x81\x03`\0\x83\x12\x80\x15\x83\x83\x13\x16\x83\x83\x12\x82\x16\x17\x15a\x11rWa\x11ra\x10uV[P\x92\x91PPV";
457 pub static ARBITERMATH_DEPLOYED_BYTECODE: ::ethers::core::types::Bytes = ::ethers::core::types::Bytes::from_static(
459 __DEPLOYED_BYTECODE,
460 );
461 pub struct ArbiterMath<M>(::ethers::contract::Contract<M>);
462 impl<M> ::core::clone::Clone for ArbiterMath<M> {
463 fn clone(&self) -> Self {
464 Self(::core::clone::Clone::clone(&self.0))
465 }
466 }
467 impl<M> ::core::ops::Deref for ArbiterMath<M> {
468 type Target = ::ethers::contract::Contract<M>;
469 fn deref(&self) -> &Self::Target {
470 &self.0
471 }
472 }
473 impl<M> ::core::ops::DerefMut for ArbiterMath<M> {
474 fn deref_mut(&mut self) -> &mut Self::Target {
475 &mut self.0
476 }
477 }
478 impl<M> ::core::fmt::Debug for ArbiterMath<M> {
479 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
480 f.debug_tuple(::core::stringify!(ArbiterMath))
481 .field(&self.address())
482 .finish()
483 }
484 }
485 impl<M: ::ethers::providers::Middleware> ArbiterMath<M> {
486 pub fn new<T: Into<::ethers::core::types::Address>>(
489 address: T,
490 client: ::std::sync::Arc<M>,
491 ) -> Self {
492 Self(
493 ::ethers::contract::Contract::new(
494 address.into(),
495 ARBITERMATH_ABI.clone(),
496 client,
497 ),
498 )
499 }
500 pub fn deploy<T: ::ethers::core::abi::Tokenize>(
524 client: ::std::sync::Arc<M>,
525 constructor_args: T,
526 ) -> ::core::result::Result<
527 ::ethers::contract::builders::ContractDeployer<M, Self>,
528 ::ethers::contract::ContractError<M>,
529 > {
530 let factory = ::ethers::contract::ContractFactory::new(
531 ARBITERMATH_ABI.clone(),
532 ARBITERMATH_BYTECODE.clone().into(),
533 client,
534 );
535 let deployer = factory.deploy(constructor_args)?;
536 let deployer = ::ethers::contract::ContractDeployer::new(deployer);
537 Ok(deployer)
538 }
539 pub fn cdf(
541 &self,
542 input: ::ethers::core::types::I256,
543 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::I256> {
544 self.0
545 .method_hash([208, 183, 27, 30], input)
546 .expect("method not found (this should never happen)")
547 }
548 pub fn div_wad_down(
550 &self,
551 x: ::ethers::core::types::U256,
552 y: ::ethers::core::types::U256,
553 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::U256> {
554 self.0
555 .method_hash([55, 198, 164, 74], (x, y))
556 .expect("method not found (this should never happen)")
557 }
558 pub fn div_wad_up(
560 &self,
561 x: ::ethers::core::types::U256,
562 y: ::ethers::core::types::U256,
563 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::U256> {
564 self.0
565 .method_hash([189, 37, 45, 6], (x, y))
566 .expect("method not found (this should never happen)")
567 }
568 pub fn invariant(
570 &self,
571 r_y: ::ethers::core::types::U256,
572 r_x: ::ethers::core::types::U256,
573 stk: ::ethers::core::types::U256,
574 vol: ::ethers::core::types::U256,
575 tau: ::ethers::core::types::U256,
576 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::I256> {
577 self.0
578 .method_hash([47, 89, 119, 58], (r_y, r_x, stk, vol, tau))
579 .expect("method not found (this should never happen)")
580 }
581 pub fn log(
583 &self,
584 x: ::ethers::core::types::I256,
585 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::I256> {
586 self.0
587 .method_hash([45, 91, 108, 185], x)
588 .expect("method not found (this should never happen)")
589 }
590 pub fn mul_wad_down(
592 &self,
593 x: ::ethers::core::types::U256,
594 y: ::ethers::core::types::U256,
595 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::U256> {
596 self.0
597 .method_hash([229, 36, 248, 73], (x, y))
598 .expect("method not found (this should never happen)")
599 }
600 pub fn mul_wad_up(
602 &self,
603 x: ::ethers::core::types::U256,
604 y: ::ethers::core::types::U256,
605 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::U256> {
606 self.0
607 .method_hash([174, 151, 104, 168], (x, y))
608 .expect("method not found (this should never happen)")
609 }
610 pub fn pdf(
612 &self,
613 input: ::ethers::core::types::I256,
614 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::I256> {
615 self.0
616 .method_hash([210, 76, 230, 229], input)
617 .expect("method not found (this should never happen)")
618 }
619 pub fn ppf(
621 &self,
622 input: ::ethers::core::types::I256,
623 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::I256> {
624 self.0
625 .method_hash([54, 121, 114, 58], input)
626 .expect("method not found (this should never happen)")
627 }
628 pub fn sqrt(
630 &self,
631 x: ::ethers::core::types::U256,
632 ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::U256> {
633 self.0
634 .method_hash([103, 115, 66, 206], x)
635 .expect("method not found (this should never happen)")
636 }
637 }
638 impl<M: ::ethers::providers::Middleware> From<::ethers::contract::Contract<M>>
639 for ArbiterMath<M> {
640 fn from(contract: ::ethers::contract::Contract<M>) -> Self {
641 Self::new(contract.address(), contract.client())
642 }
643 }
644 #[derive(
646 Clone,
647 ::ethers::contract::EthError,
648 ::ethers::contract::EthDisplay,
649 serde::Serialize,
650 serde::Deserialize,
651 Default,
652 Debug,
653 PartialEq,
654 Eq,
655 Hash
656 )]
657 #[etherror(name = "Infinity", abi = "Infinity()")]
658 pub struct Infinity;
659 #[derive(
661 Clone,
662 ::ethers::contract::EthError,
663 ::ethers::contract::EthDisplay,
664 serde::Serialize,
665 serde::Deserialize,
666 Default,
667 Debug,
668 PartialEq,
669 Eq,
670 Hash
671 )]
672 #[etherror(name = "Min", abi = "Min()")]
673 pub struct Min;
674 #[derive(
676 Clone,
677 ::ethers::contract::EthError,
678 ::ethers::contract::EthDisplay,
679 serde::Serialize,
680 serde::Deserialize,
681 Default,
682 Debug,
683 PartialEq,
684 Eq,
685 Hash
686 )]
687 #[etherror(name = "NegativeInfinity", abi = "NegativeInfinity()")]
688 pub struct NegativeInfinity;
689 #[derive(
691 Clone,
692 ::ethers::contract::EthError,
693 ::ethers::contract::EthDisplay,
694 serde::Serialize,
695 serde::Deserialize,
696 Default,
697 Debug,
698 PartialEq,
699 Eq,
700 Hash
701 )]
702 #[etherror(name = "OOB", abi = "OOB()")]
703 pub struct OOB;
704 #[derive(
706 Clone,
707 ::ethers::contract::EthError,
708 ::ethers::contract::EthDisplay,
709 serde::Serialize,
710 serde::Deserialize,
711 Default,
712 Debug,
713 PartialEq,
714 Eq,
715 Hash
716 )]
717 #[etherror(name = "OutOfBounds", abi = "OutOfBounds()")]
718 pub struct OutOfBounds;
719 #[derive(
721 Clone,
722 ::ethers::contract::EthAbiType,
723 serde::Serialize,
724 serde::Deserialize,
725 Debug,
726 PartialEq,
727 Eq,
728 Hash
729 )]
730 pub enum ArbiterMathErrors {
731 Infinity(Infinity),
732 Min(Min),
733 NegativeInfinity(NegativeInfinity),
734 OOB(OOB),
735 OutOfBounds(OutOfBounds),
736 RevertString(::std::string::String),
739 }
740 impl ::ethers::core::abi::AbiDecode for ArbiterMathErrors {
741 fn decode(
742 data: impl AsRef<[u8]>,
743 ) -> ::core::result::Result<Self, ::ethers::core::abi::AbiError> {
744 let data = data.as_ref();
745 if let Ok(decoded) = <::std::string::String as ::ethers::core::abi::AbiDecode>::decode(
746 data,
747 ) {
748 return Ok(Self::RevertString(decoded));
749 }
750 if let Ok(decoded) = <Infinity as ::ethers::core::abi::AbiDecode>::decode(
751 data,
752 ) {
753 return Ok(Self::Infinity(decoded));
754 }
755 if let Ok(decoded) = <Min as ::ethers::core::abi::AbiDecode>::decode(data) {
756 return Ok(Self::Min(decoded));
757 }
758 if let Ok(decoded) = <NegativeInfinity as ::ethers::core::abi::AbiDecode>::decode(
759 data,
760 ) {
761 return Ok(Self::NegativeInfinity(decoded));
762 }
763 if let Ok(decoded) = <OOB as ::ethers::core::abi::AbiDecode>::decode(data) {
764 return Ok(Self::OOB(decoded));
765 }
766 if let Ok(decoded) = <OutOfBounds as ::ethers::core::abi::AbiDecode>::decode(
767 data,
768 ) {
769 return Ok(Self::OutOfBounds(decoded));
770 }
771 Err(::ethers::core::abi::Error::InvalidData.into())
772 }
773 }
774 impl ::ethers::core::abi::AbiEncode for ArbiterMathErrors {
775 fn encode(self) -> ::std::vec::Vec<u8> {
776 match self {
777 Self::Infinity(element) => {
778 ::ethers::core::abi::AbiEncode::encode(element)
779 }
780 Self::Min(element) => ::ethers::core::abi::AbiEncode::encode(element),
781 Self::NegativeInfinity(element) => {
782 ::ethers::core::abi::AbiEncode::encode(element)
783 }
784 Self::OOB(element) => ::ethers::core::abi::AbiEncode::encode(element),
785 Self::OutOfBounds(element) => {
786 ::ethers::core::abi::AbiEncode::encode(element)
787 }
788 Self::RevertString(s) => ::ethers::core::abi::AbiEncode::encode(s),
789 }
790 }
791 }
792 impl ::ethers::contract::ContractRevert for ArbiterMathErrors {
793 fn valid_selector(selector: [u8; 4]) -> bool {
794 match selector {
795 [0x08, 0xc3, 0x79, 0xa0] => true,
796 _ if selector
797 == <Infinity as ::ethers::contract::EthError>::selector() => true,
798 _ if selector == <Min as ::ethers::contract::EthError>::selector() => {
799 true
800 }
801 _ if selector
802 == <NegativeInfinity as ::ethers::contract::EthError>::selector() => {
803 true
804 }
805 _ if selector == <OOB as ::ethers::contract::EthError>::selector() => {
806 true
807 }
808 _ if selector
809 == <OutOfBounds as ::ethers::contract::EthError>::selector() => true,
810 _ => false,
811 }
812 }
813 }
814 impl ::core::fmt::Display for ArbiterMathErrors {
815 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
816 match self {
817 Self::Infinity(element) => ::core::fmt::Display::fmt(element, f),
818 Self::Min(element) => ::core::fmt::Display::fmt(element, f),
819 Self::NegativeInfinity(element) => ::core::fmt::Display::fmt(element, f),
820 Self::OOB(element) => ::core::fmt::Display::fmt(element, f),
821 Self::OutOfBounds(element) => ::core::fmt::Display::fmt(element, f),
822 Self::RevertString(s) => ::core::fmt::Display::fmt(s, f),
823 }
824 }
825 }
826 impl ::core::convert::From<::std::string::String> for ArbiterMathErrors {
827 fn from(value: String) -> Self {
828 Self::RevertString(value)
829 }
830 }
831 impl ::core::convert::From<Infinity> for ArbiterMathErrors {
832 fn from(value: Infinity) -> Self {
833 Self::Infinity(value)
834 }
835 }
836 impl ::core::convert::From<Min> for ArbiterMathErrors {
837 fn from(value: Min) -> Self {
838 Self::Min(value)
839 }
840 }
841 impl ::core::convert::From<NegativeInfinity> for ArbiterMathErrors {
842 fn from(value: NegativeInfinity) -> Self {
843 Self::NegativeInfinity(value)
844 }
845 }
846 impl ::core::convert::From<OOB> for ArbiterMathErrors {
847 fn from(value: OOB) -> Self {
848 Self::OOB(value)
849 }
850 }
851 impl ::core::convert::From<OutOfBounds> for ArbiterMathErrors {
852 fn from(value: OutOfBounds) -> Self {
853 Self::OutOfBounds(value)
854 }
855 }
856 #[derive(
858 Clone,
859 ::ethers::contract::EthCall,
860 ::ethers::contract::EthDisplay,
861 serde::Serialize,
862 serde::Deserialize,
863 Default,
864 Debug,
865 PartialEq,
866 Eq,
867 Hash
868 )]
869 #[ethcall(name = "cdf", abi = "cdf(int256)")]
870 pub struct CdfCall {
871 pub input: ::ethers::core::types::I256,
872 }
873 #[derive(
875 Clone,
876 ::ethers::contract::EthCall,
877 ::ethers::contract::EthDisplay,
878 serde::Serialize,
879 serde::Deserialize,
880 Default,
881 Debug,
882 PartialEq,
883 Eq,
884 Hash
885 )]
886 #[ethcall(name = "divWadDown", abi = "divWadDown(uint256,uint256)")]
887 pub struct DivWadDownCall {
888 pub x: ::ethers::core::types::U256,
889 pub y: ::ethers::core::types::U256,
890 }
891 #[derive(
893 Clone,
894 ::ethers::contract::EthCall,
895 ::ethers::contract::EthDisplay,
896 serde::Serialize,
897 serde::Deserialize,
898 Default,
899 Debug,
900 PartialEq,
901 Eq,
902 Hash
903 )]
904 #[ethcall(name = "divWadUp", abi = "divWadUp(uint256,uint256)")]
905 pub struct DivWadUpCall {
906 pub x: ::ethers::core::types::U256,
907 pub y: ::ethers::core::types::U256,
908 }
909 #[derive(
911 Clone,
912 ::ethers::contract::EthCall,
913 ::ethers::contract::EthDisplay,
914 serde::Serialize,
915 serde::Deserialize,
916 Default,
917 Debug,
918 PartialEq,
919 Eq,
920 Hash
921 )]
922 #[ethcall(
923 name = "invariant",
924 abi = "invariant(uint256,uint256,uint256,uint256,uint256)"
925 )]
926 pub struct InvariantCall {
927 pub r_y: ::ethers::core::types::U256,
928 pub r_x: ::ethers::core::types::U256,
929 pub stk: ::ethers::core::types::U256,
930 pub vol: ::ethers::core::types::U256,
931 pub tau: ::ethers::core::types::U256,
932 }
933 #[derive(
935 Clone,
936 ::ethers::contract::EthCall,
937 ::ethers::contract::EthDisplay,
938 serde::Serialize,
939 serde::Deserialize,
940 Default,
941 Debug,
942 PartialEq,
943 Eq,
944 Hash
945 )]
946 #[ethcall(name = "log", abi = "log(int256)")]
947 pub struct LogCall {
948 pub x: ::ethers::core::types::I256,
949 }
950 #[derive(
952 Clone,
953 ::ethers::contract::EthCall,
954 ::ethers::contract::EthDisplay,
955 serde::Serialize,
956 serde::Deserialize,
957 Default,
958 Debug,
959 PartialEq,
960 Eq,
961 Hash
962 )]
963 #[ethcall(name = "mulWadDown", abi = "mulWadDown(uint256,uint256)")]
964 pub struct MulWadDownCall {
965 pub x: ::ethers::core::types::U256,
966 pub y: ::ethers::core::types::U256,
967 }
968 #[derive(
970 Clone,
971 ::ethers::contract::EthCall,
972 ::ethers::contract::EthDisplay,
973 serde::Serialize,
974 serde::Deserialize,
975 Default,
976 Debug,
977 PartialEq,
978 Eq,
979 Hash
980 )]
981 #[ethcall(name = "mulWadUp", abi = "mulWadUp(uint256,uint256)")]
982 pub struct MulWadUpCall {
983 pub x: ::ethers::core::types::U256,
984 pub y: ::ethers::core::types::U256,
985 }
986 #[derive(
988 Clone,
989 ::ethers::contract::EthCall,
990 ::ethers::contract::EthDisplay,
991 serde::Serialize,
992 serde::Deserialize,
993 Default,
994 Debug,
995 PartialEq,
996 Eq,
997 Hash
998 )]
999 #[ethcall(name = "pdf", abi = "pdf(int256)")]
1000 pub struct PdfCall {
1001 pub input: ::ethers::core::types::I256,
1002 }
1003 #[derive(
1005 Clone,
1006 ::ethers::contract::EthCall,
1007 ::ethers::contract::EthDisplay,
1008 serde::Serialize,
1009 serde::Deserialize,
1010 Default,
1011 Debug,
1012 PartialEq,
1013 Eq,
1014 Hash
1015 )]
1016 #[ethcall(name = "ppf", abi = "ppf(int256)")]
1017 pub struct PpfCall {
1018 pub input: ::ethers::core::types::I256,
1019 }
1020 #[derive(
1022 Clone,
1023 ::ethers::contract::EthCall,
1024 ::ethers::contract::EthDisplay,
1025 serde::Serialize,
1026 serde::Deserialize,
1027 Default,
1028 Debug,
1029 PartialEq,
1030 Eq,
1031 Hash
1032 )]
1033 #[ethcall(name = "sqrt", abi = "sqrt(uint256)")]
1034 pub struct SqrtCall {
1035 pub x: ::ethers::core::types::U256,
1036 }
1037 #[derive(
1039 Clone,
1040 ::ethers::contract::EthAbiType,
1041 serde::Serialize,
1042 serde::Deserialize,
1043 Debug,
1044 PartialEq,
1045 Eq,
1046 Hash
1047 )]
1048 pub enum ArbiterMathCalls {
1049 Cdf(CdfCall),
1050 DivWadDown(DivWadDownCall),
1051 DivWadUp(DivWadUpCall),
1052 Invariant(InvariantCall),
1053 Log(LogCall),
1054 MulWadDown(MulWadDownCall),
1055 MulWadUp(MulWadUpCall),
1056 Pdf(PdfCall),
1057 Ppf(PpfCall),
1058 Sqrt(SqrtCall),
1059 }
1060 impl ::ethers::core::abi::AbiDecode for ArbiterMathCalls {
1061 fn decode(
1062 data: impl AsRef<[u8]>,
1063 ) -> ::core::result::Result<Self, ::ethers::core::abi::AbiError> {
1064 let data = data.as_ref();
1065 if let Ok(decoded) = <CdfCall as ::ethers::core::abi::AbiDecode>::decode(
1066 data,
1067 ) {
1068 return Ok(Self::Cdf(decoded));
1069 }
1070 if let Ok(decoded) = <DivWadDownCall as ::ethers::core::abi::AbiDecode>::decode(
1071 data,
1072 ) {
1073 return Ok(Self::DivWadDown(decoded));
1074 }
1075 if let Ok(decoded) = <DivWadUpCall as ::ethers::core::abi::AbiDecode>::decode(
1076 data,
1077 ) {
1078 return Ok(Self::DivWadUp(decoded));
1079 }
1080 if let Ok(decoded) = <InvariantCall as ::ethers::core::abi::AbiDecode>::decode(
1081 data,
1082 ) {
1083 return Ok(Self::Invariant(decoded));
1084 }
1085 if let Ok(decoded) = <LogCall as ::ethers::core::abi::AbiDecode>::decode(
1086 data,
1087 ) {
1088 return Ok(Self::Log(decoded));
1089 }
1090 if let Ok(decoded) = <MulWadDownCall as ::ethers::core::abi::AbiDecode>::decode(
1091 data,
1092 ) {
1093 return Ok(Self::MulWadDown(decoded));
1094 }
1095 if let Ok(decoded) = <MulWadUpCall as ::ethers::core::abi::AbiDecode>::decode(
1096 data,
1097 ) {
1098 return Ok(Self::MulWadUp(decoded));
1099 }
1100 if let Ok(decoded) = <PdfCall as ::ethers::core::abi::AbiDecode>::decode(
1101 data,
1102 ) {
1103 return Ok(Self::Pdf(decoded));
1104 }
1105 if let Ok(decoded) = <PpfCall as ::ethers::core::abi::AbiDecode>::decode(
1106 data,
1107 ) {
1108 return Ok(Self::Ppf(decoded));
1109 }
1110 if let Ok(decoded) = <SqrtCall as ::ethers::core::abi::AbiDecode>::decode(
1111 data,
1112 ) {
1113 return Ok(Self::Sqrt(decoded));
1114 }
1115 Err(::ethers::core::abi::Error::InvalidData.into())
1116 }
1117 }
1118 impl ::ethers::core::abi::AbiEncode for ArbiterMathCalls {
1119 fn encode(self) -> Vec<u8> {
1120 match self {
1121 Self::Cdf(element) => ::ethers::core::abi::AbiEncode::encode(element),
1122 Self::DivWadDown(element) => {
1123 ::ethers::core::abi::AbiEncode::encode(element)
1124 }
1125 Self::DivWadUp(element) => {
1126 ::ethers::core::abi::AbiEncode::encode(element)
1127 }
1128 Self::Invariant(element) => {
1129 ::ethers::core::abi::AbiEncode::encode(element)
1130 }
1131 Self::Log(element) => ::ethers::core::abi::AbiEncode::encode(element),
1132 Self::MulWadDown(element) => {
1133 ::ethers::core::abi::AbiEncode::encode(element)
1134 }
1135 Self::MulWadUp(element) => {
1136 ::ethers::core::abi::AbiEncode::encode(element)
1137 }
1138 Self::Pdf(element) => ::ethers::core::abi::AbiEncode::encode(element),
1139 Self::Ppf(element) => ::ethers::core::abi::AbiEncode::encode(element),
1140 Self::Sqrt(element) => ::ethers::core::abi::AbiEncode::encode(element),
1141 }
1142 }
1143 }
1144 impl ::core::fmt::Display for ArbiterMathCalls {
1145 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1146 match self {
1147 Self::Cdf(element) => ::core::fmt::Display::fmt(element, f),
1148 Self::DivWadDown(element) => ::core::fmt::Display::fmt(element, f),
1149 Self::DivWadUp(element) => ::core::fmt::Display::fmt(element, f),
1150 Self::Invariant(element) => ::core::fmt::Display::fmt(element, f),
1151 Self::Log(element) => ::core::fmt::Display::fmt(element, f),
1152 Self::MulWadDown(element) => ::core::fmt::Display::fmt(element, f),
1153 Self::MulWadUp(element) => ::core::fmt::Display::fmt(element, f),
1154 Self::Pdf(element) => ::core::fmt::Display::fmt(element, f),
1155 Self::Ppf(element) => ::core::fmt::Display::fmt(element, f),
1156 Self::Sqrt(element) => ::core::fmt::Display::fmt(element, f),
1157 }
1158 }
1159 }
1160 impl ::core::convert::From<CdfCall> for ArbiterMathCalls {
1161 fn from(value: CdfCall) -> Self {
1162 Self::Cdf(value)
1163 }
1164 }
1165 impl ::core::convert::From<DivWadDownCall> for ArbiterMathCalls {
1166 fn from(value: DivWadDownCall) -> Self {
1167 Self::DivWadDown(value)
1168 }
1169 }
1170 impl ::core::convert::From<DivWadUpCall> for ArbiterMathCalls {
1171 fn from(value: DivWadUpCall) -> Self {
1172 Self::DivWadUp(value)
1173 }
1174 }
1175 impl ::core::convert::From<InvariantCall> for ArbiterMathCalls {
1176 fn from(value: InvariantCall) -> Self {
1177 Self::Invariant(value)
1178 }
1179 }
1180 impl ::core::convert::From<LogCall> for ArbiterMathCalls {
1181 fn from(value: LogCall) -> Self {
1182 Self::Log(value)
1183 }
1184 }
1185 impl ::core::convert::From<MulWadDownCall> for ArbiterMathCalls {
1186 fn from(value: MulWadDownCall) -> Self {
1187 Self::MulWadDown(value)
1188 }
1189 }
1190 impl ::core::convert::From<MulWadUpCall> for ArbiterMathCalls {
1191 fn from(value: MulWadUpCall) -> Self {
1192 Self::MulWadUp(value)
1193 }
1194 }
1195 impl ::core::convert::From<PdfCall> for ArbiterMathCalls {
1196 fn from(value: PdfCall) -> Self {
1197 Self::Pdf(value)
1198 }
1199 }
1200 impl ::core::convert::From<PpfCall> for ArbiterMathCalls {
1201 fn from(value: PpfCall) -> Self {
1202 Self::Ppf(value)
1203 }
1204 }
1205 impl ::core::convert::From<SqrtCall> for ArbiterMathCalls {
1206 fn from(value: SqrtCall) -> Self {
1207 Self::Sqrt(value)
1208 }
1209 }
1210 #[derive(
1212 Clone,
1213 ::ethers::contract::EthAbiType,
1214 ::ethers::contract::EthAbiCodec,
1215 serde::Serialize,
1216 serde::Deserialize,
1217 Default,
1218 Debug,
1219 PartialEq,
1220 Eq,
1221 Hash
1222 )]
1223 pub struct CdfReturn {
1224 pub output: ::ethers::core::types::I256,
1225 }
1226 #[derive(
1228 Clone,
1229 ::ethers::contract::EthAbiType,
1230 ::ethers::contract::EthAbiCodec,
1231 serde::Serialize,
1232 serde::Deserialize,
1233 Default,
1234 Debug,
1235 PartialEq,
1236 Eq,
1237 Hash
1238 )]
1239 pub struct DivWadDownReturn {
1240 pub z: ::ethers::core::types::U256,
1241 }
1242 #[derive(
1244 Clone,
1245 ::ethers::contract::EthAbiType,
1246 ::ethers::contract::EthAbiCodec,
1247 serde::Serialize,
1248 serde::Deserialize,
1249 Default,
1250 Debug,
1251 PartialEq,
1252 Eq,
1253 Hash
1254 )]
1255 pub struct DivWadUpReturn {
1256 pub z: ::ethers::core::types::U256,
1257 }
1258 #[derive(
1260 Clone,
1261 ::ethers::contract::EthAbiType,
1262 ::ethers::contract::EthAbiCodec,
1263 serde::Serialize,
1264 serde::Deserialize,
1265 Default,
1266 Debug,
1267 PartialEq,
1268 Eq,
1269 Hash
1270 )]
1271 pub struct InvariantReturn {
1272 pub k: ::ethers::core::types::I256,
1273 }
1274 #[derive(
1276 Clone,
1277 ::ethers::contract::EthAbiType,
1278 ::ethers::contract::EthAbiCodec,
1279 serde::Serialize,
1280 serde::Deserialize,
1281 Default,
1282 Debug,
1283 PartialEq,
1284 Eq,
1285 Hash
1286 )]
1287 pub struct LogReturn {
1288 pub z: ::ethers::core::types::I256,
1289 }
1290 #[derive(
1292 Clone,
1293 ::ethers::contract::EthAbiType,
1294 ::ethers::contract::EthAbiCodec,
1295 serde::Serialize,
1296 serde::Deserialize,
1297 Default,
1298 Debug,
1299 PartialEq,
1300 Eq,
1301 Hash
1302 )]
1303 pub struct MulWadDownReturn {
1304 pub z: ::ethers::core::types::U256,
1305 }
1306 #[derive(
1308 Clone,
1309 ::ethers::contract::EthAbiType,
1310 ::ethers::contract::EthAbiCodec,
1311 serde::Serialize,
1312 serde::Deserialize,
1313 Default,
1314 Debug,
1315 PartialEq,
1316 Eq,
1317 Hash
1318 )]
1319 pub struct MulWadUpReturn {
1320 pub z: ::ethers::core::types::U256,
1321 }
1322 #[derive(
1324 Clone,
1325 ::ethers::contract::EthAbiType,
1326 ::ethers::contract::EthAbiCodec,
1327 serde::Serialize,
1328 serde::Deserialize,
1329 Default,
1330 Debug,
1331 PartialEq,
1332 Eq,
1333 Hash
1334 )]
1335 pub struct PdfReturn {
1336 pub output: ::ethers::core::types::I256,
1337 }
1338 #[derive(
1340 Clone,
1341 ::ethers::contract::EthAbiType,
1342 ::ethers::contract::EthAbiCodec,
1343 serde::Serialize,
1344 serde::Deserialize,
1345 Default,
1346 Debug,
1347 PartialEq,
1348 Eq,
1349 Hash
1350 )]
1351 pub struct PpfReturn {
1352 pub output: ::ethers::core::types::I256,
1353 }
1354 #[derive(
1356 Clone,
1357 ::ethers::contract::EthAbiType,
1358 ::ethers::contract::EthAbiCodec,
1359 serde::Serialize,
1360 serde::Deserialize,
1361 Default,
1362 Debug,
1363 PartialEq,
1364 Eq,
1365 Hash
1366 )]
1367 pub struct SqrtReturn {
1368 pub z: ::ethers::core::types::U256,
1369 }
1370}