hopr_bindings/codegen/
hopr_dummy_proxy_for_network_registry.rs

1pub use hopr_dummy_proxy_for_network_registry::*;
2/// This module was auto-generated with ethers-rs Abigen.
3/// More information at: <https://github.com/gakonst/ethers-rs>
4#[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 hopr_dummy_proxy_for_network_registry {
13    #[allow(deprecated)]
14    fn __abi() -> ::ethers::core::abi::Abi {
15        ::ethers::core::abi::ethabi::Contract {
16            constructor: ::core::option::Option::Some(::ethers::core::abi::ethabi::Constructor {
17                inputs: ::std::vec![
18                    ::ethers::core::abi::ethabi::Param {
19                        name: ::std::borrow::ToOwned::to_owned("newOwner"),
20                        kind: ::ethers::core::abi::ethabi::ParamType::Address,
21                        internal_type: ::core::option::Option::Some(
22                            ::std::borrow::ToOwned::to_owned("address"),
23                        ),
24                    },
25                ],
26            }),
27            functions: ::core::convert::From::from([
28                (
29                    ::std::borrow::ToOwned::to_owned("MAX_REGISTRATION_PER_ACCOUNT"),
30                    ::std::vec![
31                        ::ethers::core::abi::ethabi::Function {
32                            name: ::std::borrow::ToOwned::to_owned(
33                                "MAX_REGISTRATION_PER_ACCOUNT",
34                            ),
35                            inputs: ::std::vec![],
36                            outputs: ::std::vec![
37                                ::ethers::core::abi::ethabi::Param {
38                                    name: ::std::string::String::new(),
39                                    kind: ::ethers::core::abi::ethabi::ParamType::Uint(
40                                        256usize,
41                                    ),
42                                    internal_type: ::core::option::Option::Some(
43                                        ::std::borrow::ToOwned::to_owned("uint256"),
44                                    ),
45                                },
46                            ],
47                            constant: ::core::option::Option::None,
48                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::View,
49                        },
50                    ],
51                ),
52                (
53                    ::std::borrow::ToOwned::to_owned("canOperateFor"),
54                    ::std::vec![
55                        ::ethers::core::abi::ethabi::Function {
56                            name: ::std::borrow::ToOwned::to_owned("canOperateFor"),
57                            inputs: ::std::vec![
58                                ::ethers::core::abi::ethabi::Param {
59                                    name: ::std::string::String::new(),
60                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
61                                    internal_type: ::core::option::Option::Some(
62                                        ::std::borrow::ToOwned::to_owned("address"),
63                                    ),
64                                },
65                                ::ethers::core::abi::ethabi::Param {
66                                    name: ::std::string::String::new(),
67                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
68                                    internal_type: ::core::option::Option::Some(
69                                        ::std::borrow::ToOwned::to_owned("address"),
70                                    ),
71                                },
72                            ],
73                            outputs: ::std::vec![
74                                ::ethers::core::abi::ethabi::Param {
75                                    name: ::std::borrow::ToOwned::to_owned("eligiblity"),
76                                    kind: ::ethers::core::abi::ethabi::ParamType::Bool,
77                                    internal_type: ::core::option::Option::Some(
78                                        ::std::borrow::ToOwned::to_owned("bool"),
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("isAllAllowed"),
89                    ::std::vec![
90                        ::ethers::core::abi::ethabi::Function {
91                            name: ::std::borrow::ToOwned::to_owned("isAllAllowed"),
92                            inputs: ::std::vec![],
93                            outputs: ::std::vec![
94                                ::ethers::core::abi::ethabi::Param {
95                                    name: ::std::string::String::new(),
96                                    kind: ::ethers::core::abi::ethabi::ParamType::Bool,
97                                    internal_type: ::core::option::Option::Some(
98                                        ::std::borrow::ToOwned::to_owned("bool"),
99                                    ),
100                                },
101                            ],
102                            constant: ::core::option::Option::None,
103                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::View,
104                        },
105                    ],
106                ),
107                (
108                    ::std::borrow::ToOwned::to_owned("maxAllowedRegistrations"),
109                    ::std::vec![
110                        ::ethers::core::abi::ethabi::Function {
111                            name: ::std::borrow::ToOwned::to_owned(
112                                "maxAllowedRegistrations",
113                            ),
114                            inputs: ::std::vec![
115                                ::ethers::core::abi::ethabi::Param {
116                                    name: ::std::borrow::ToOwned::to_owned("account"),
117                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
118                                    internal_type: ::core::option::Option::Some(
119                                        ::std::borrow::ToOwned::to_owned("address"),
120                                    ),
121                                },
122                            ],
123                            outputs: ::std::vec![
124                                ::ethers::core::abi::ethabi::Param {
125                                    name: ::std::string::String::new(),
126                                    kind: ::ethers::core::abi::ethabi::ParamType::Uint(
127                                        256usize,
128                                    ),
129                                    internal_type: ::core::option::Option::Some(
130                                        ::std::borrow::ToOwned::to_owned("uint256"),
131                                    ),
132                                },
133                            ],
134                            constant: ::core::option::Option::None,
135                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::View,
136                        },
137                    ],
138                ),
139                (
140                    ::std::borrow::ToOwned::to_owned("owner"),
141                    ::std::vec![
142                        ::ethers::core::abi::ethabi::Function {
143                            name: ::std::borrow::ToOwned::to_owned("owner"),
144                            inputs: ::std::vec![],
145                            outputs: ::std::vec![
146                                ::ethers::core::abi::ethabi::Param {
147                                    name: ::std::string::String::new(),
148                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
149                                    internal_type: ::core::option::Option::Some(
150                                        ::std::borrow::ToOwned::to_owned("address"),
151                                    ),
152                                },
153                            ],
154                            constant: ::core::option::Option::None,
155                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::View,
156                        },
157                    ],
158                ),
159                (
160                    ::std::borrow::ToOwned::to_owned("ownerAddAccount"),
161                    ::std::vec![
162                        ::ethers::core::abi::ethabi::Function {
163                            name: ::std::borrow::ToOwned::to_owned("ownerAddAccount"),
164                            inputs: ::std::vec![
165                                ::ethers::core::abi::ethabi::Param {
166                                    name: ::std::borrow::ToOwned::to_owned("account"),
167                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
168                                    internal_type: ::core::option::Option::Some(
169                                        ::std::borrow::ToOwned::to_owned("address"),
170                                    ),
171                                },
172                            ],
173                            outputs: ::std::vec![],
174                            constant: ::core::option::Option::None,
175                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::NonPayable,
176                        },
177                    ],
178                ),
179                (
180                    ::std::borrow::ToOwned::to_owned("ownerBatchAddAccounts"),
181                    ::std::vec![
182                        ::ethers::core::abi::ethabi::Function {
183                            name: ::std::borrow::ToOwned::to_owned(
184                                "ownerBatchAddAccounts",
185                            ),
186                            inputs: ::std::vec![
187                                ::ethers::core::abi::ethabi::Param {
188                                    name: ::std::borrow::ToOwned::to_owned("accounts"),
189                                    kind: ::ethers::core::abi::ethabi::ParamType::Array(
190                                        ::std::boxed::Box::new(
191                                            ::ethers::core::abi::ethabi::ParamType::Address,
192                                        ),
193                                    ),
194                                    internal_type: ::core::option::Option::Some(
195                                        ::std::borrow::ToOwned::to_owned("address[]"),
196                                    ),
197                                },
198                            ],
199                            outputs: ::std::vec![],
200                            constant: ::core::option::Option::None,
201                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::NonPayable,
202                        },
203                    ],
204                ),
205                (
206                    ::std::borrow::ToOwned::to_owned("ownerBatchRemoveAccounts"),
207                    ::std::vec![
208                        ::ethers::core::abi::ethabi::Function {
209                            name: ::std::borrow::ToOwned::to_owned(
210                                "ownerBatchRemoveAccounts",
211                            ),
212                            inputs: ::std::vec![
213                                ::ethers::core::abi::ethabi::Param {
214                                    name: ::std::borrow::ToOwned::to_owned("accounts"),
215                                    kind: ::ethers::core::abi::ethabi::ParamType::Array(
216                                        ::std::boxed::Box::new(
217                                            ::ethers::core::abi::ethabi::ParamType::Address,
218                                        ),
219                                    ),
220                                    internal_type: ::core::option::Option::Some(
221                                        ::std::borrow::ToOwned::to_owned("address[]"),
222                                    ),
223                                },
224                            ],
225                            outputs: ::std::vec![],
226                            constant: ::core::option::Option::None,
227                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::NonPayable,
228                        },
229                    ],
230                ),
231                (
232                    ::std::borrow::ToOwned::to_owned("ownerRemoveAccount"),
233                    ::std::vec![
234                        ::ethers::core::abi::ethabi::Function {
235                            name: ::std::borrow::ToOwned::to_owned("ownerRemoveAccount"),
236                            inputs: ::std::vec![
237                                ::ethers::core::abi::ethabi::Param {
238                                    name: ::std::borrow::ToOwned::to_owned("account"),
239                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
240                                    internal_type: ::core::option::Option::Some(
241                                        ::std::borrow::ToOwned::to_owned("address"),
242                                    ),
243                                },
244                            ],
245                            outputs: ::std::vec![],
246                            constant: ::core::option::Option::None,
247                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::NonPayable,
248                        },
249                    ],
250                ),
251                (
252                    ::std::borrow::ToOwned::to_owned("renounceOwnership"),
253                    ::std::vec![
254                        ::ethers::core::abi::ethabi::Function {
255                            name: ::std::borrow::ToOwned::to_owned("renounceOwnership"),
256                            inputs: ::std::vec![],
257                            outputs: ::std::vec![],
258                            constant: ::core::option::Option::None,
259                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::NonPayable,
260                        },
261                    ],
262                ),
263                (
264                    ::std::borrow::ToOwned::to_owned("transferOwnership"),
265                    ::std::vec![
266                        ::ethers::core::abi::ethabi::Function {
267                            name: ::std::borrow::ToOwned::to_owned("transferOwnership"),
268                            inputs: ::std::vec![
269                                ::ethers::core::abi::ethabi::Param {
270                                    name: ::std::borrow::ToOwned::to_owned("newOwner"),
271                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
272                                    internal_type: ::core::option::Option::Some(
273                                        ::std::borrow::ToOwned::to_owned("address"),
274                                    ),
275                                },
276                            ],
277                            outputs: ::std::vec![],
278                            constant: ::core::option::Option::None,
279                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::NonPayable,
280                        },
281                    ],
282                ),
283                (
284                    ::std::borrow::ToOwned::to_owned("updateAllowAll"),
285                    ::std::vec![
286                        ::ethers::core::abi::ethabi::Function {
287                            name: ::std::borrow::ToOwned::to_owned("updateAllowAll"),
288                            inputs: ::std::vec![
289                                ::ethers::core::abi::ethabi::Param {
290                                    name: ::std::borrow::ToOwned::to_owned("_updatedAllow"),
291                                    kind: ::ethers::core::abi::ethabi::ParamType::Bool,
292                                    internal_type: ::core::option::Option::Some(
293                                        ::std::borrow::ToOwned::to_owned("bool"),
294                                    ),
295                                },
296                            ],
297                            outputs: ::std::vec![],
298                            constant: ::core::option::Option::None,
299                            state_mutability: ::ethers::core::abi::ethabi::StateMutability::NonPayable,
300                        },
301                    ],
302                ),
303            ]),
304            events: ::core::convert::From::from([
305                (
306                    ::std::borrow::ToOwned::to_owned("AccountDeregistered"),
307                    ::std::vec![
308                        ::ethers::core::abi::ethabi::Event {
309                            name: ::std::borrow::ToOwned::to_owned(
310                                "AccountDeregistered",
311                            ),
312                            inputs: ::std::vec![
313                                ::ethers::core::abi::ethabi::EventParam {
314                                    name: ::std::borrow::ToOwned::to_owned("account"),
315                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
316                                    indexed: true,
317                                },
318                            ],
319                            anonymous: false,
320                        },
321                    ],
322                ),
323                (
324                    ::std::borrow::ToOwned::to_owned("AccountRegistered"),
325                    ::std::vec![
326                        ::ethers::core::abi::ethabi::Event {
327                            name: ::std::borrow::ToOwned::to_owned("AccountRegistered"),
328                            inputs: ::std::vec![
329                                ::ethers::core::abi::ethabi::EventParam {
330                                    name: ::std::borrow::ToOwned::to_owned("account"),
331                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
332                                    indexed: true,
333                                },
334                            ],
335                            anonymous: false,
336                        },
337                    ],
338                ),
339                (
340                    ::std::borrow::ToOwned::to_owned("AllowAllAccountsEligible"),
341                    ::std::vec![
342                        ::ethers::core::abi::ethabi::Event {
343                            name: ::std::borrow::ToOwned::to_owned(
344                                "AllowAllAccountsEligible",
345                            ),
346                            inputs: ::std::vec![
347                                ::ethers::core::abi::ethabi::EventParam {
348                                    name: ::std::borrow::ToOwned::to_owned("isAllowed"),
349                                    kind: ::ethers::core::abi::ethabi::ParamType::Bool,
350                                    indexed: false,
351                                },
352                            ],
353                            anonymous: false,
354                        },
355                    ],
356                ),
357                (
358                    ::std::borrow::ToOwned::to_owned("OwnershipTransferred"),
359                    ::std::vec![
360                        ::ethers::core::abi::ethabi::Event {
361                            name: ::std::borrow::ToOwned::to_owned(
362                                "OwnershipTransferred",
363                            ),
364                            inputs: ::std::vec![
365                                ::ethers::core::abi::ethabi::EventParam {
366                                    name: ::std::borrow::ToOwned::to_owned("previousOwner"),
367                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
368                                    indexed: true,
369                                },
370                                ::ethers::core::abi::ethabi::EventParam {
371                                    name: ::std::borrow::ToOwned::to_owned("newOwner"),
372                                    kind: ::ethers::core::abi::ethabi::ParamType::Address,
373                                    indexed: true,
374                                },
375                            ],
376                            anonymous: false,
377                        },
378                    ],
379                ),
380            ]),
381            errors: ::std::collections::BTreeMap::new(),
382            receive: false,
383            fallback: false,
384        }
385    }
386    ///The parsed JSON ABI of the contract.
387    pub static HOPRDUMMYPROXYFORNETWORKREGISTRY_ABI: ::ethers::contract::Lazy<
388        ::ethers::core::abi::Abi,
389    > = ::ethers::contract::Lazy::new(__abi);
390    #[rustfmt::skip]
391    const __BYTECODE: &[u8] = b"`\x80`@R4\x80\x15a\0\x10W`\0\x80\xFD[P`@Qa\x07\xC48\x03\x80a\x07\xC4\x839\x81\x01`@\x81\x90Ra\0/\x91a\0\xD5V[a\083a\0\x85V[a\0A\x81a\0\x85V[`\x02\x80T`\xFF\x19\x16\x90U`@Q`\0\x81R\x7F\xAF\xAB#\xA4\xBC\x8CI%\x0B\xA3~\xEB\x06%\xB0\xA9\xB2q\xF5]\x15\x01\x83\x8D$\xF5E\x08\xC3\xB1sB\x90` \x01`@Q\x80\x91\x03\x90\xA1Pa\x01\x05V[`\0\x80T`\x01`\x01`\xA0\x1B\x03\x83\x81\x16`\x01`\x01`\xA0\x1B\x03\x19\x83\x16\x81\x17\x84U`@Q\x91\x90\x92\x16\x92\x83\x91\x7F\x8B\xE0\x07\x9CS\x16Y\x14\x13D\xCD\x1F\xD0\xA4\xF2\x84\x19I\x7F\x97\"\xA3\xDA\xAF\xE3\xB4\x18okdW\xE0\x91\x90\xA3PPV[`\0` \x82\x84\x03\x12\x15a\0\xE7W`\0\x80\xFD[\x81Q`\x01`\x01`\xA0\x1B\x03\x81\x16\x81\x14a\0\xFEW`\0\x80\xFD[\x93\x92PPPV[a\x06\xB0\x80a\x01\x14`\09`\0\xF3\xFE`\x80`@R4\x80\x15a\0\x10W`\0\x80\xFD[P`\x046\x10a\0\xB4W`\x005`\xE0\x1C\x80c\xA7\x1B\x1Bt\x11a\0qW\x80c\xA7\x1B\x1Bt\x14a\x01/W\x80c\xB3TN\x82\x14a\x01BW\x80c\xD8Z\xD0D\x14a\x01cW\x80c\xF2\xFD\xE3\x8B\x14a\x01\x89W\x80c\xF4l\x84\xB8\x14a\x01\x9CW\x80c\xF6\x7F^o\x14a\x01\xA5W`\0\x80\xFD[\x80c\x08\x9F\xFAG\x14a\0\xB9W\x80c@Q\xF2W\x14a\0\xCEW\x80cHcT\xE2\x14a\0\xE1W\x80c\\Tq\xE7\x14a\0\xF4W\x80cqP\x18\xA6\x14a\x01\x07W\x80c\x8D\xA5\xCB[\x14a\x01\x0FW[`\0\x80\xFD[a\0\xCCa\0\xC76`\x04a\x05:V[a\x01\xB2V[\0[a\0\xCCa\0\xDC6`\x04a\x05zV[a\x02\x12V[a\0\xCCa\0\xEF6`\x04a\x05\x95V[a\x02#V[a\0\xCCa\x01\x026`\x04a\x05\x95V[a\x02|V[a\0\xCCa\x02\xD0V[`\0T`@Q`\x01`\x01`\xA0\x1B\x03\x90\x91\x16\x81R` \x01[`@Q\x80\x91\x03\x90\xF3[a\0\xCCa\x01=6`\x04a\x05zV[a\x02\xE4V[a\x01Ua\x01P6`\x04a\x05zV[a\x02\xF5V[`@Q\x90\x81R` \x01a\x01&V[a\x01ya\x01q6`\x04a\x06\nV[`\x01\x92\x91PPV[`@Q\x90\x15\x15\x81R` \x01a\x01&V[a\0\xCCa\x01\x976`\x04a\x05zV[a\x03<V[a\x01U`\0\x19\x81V[`\x02Ta\x01y\x90`\xFF\x16\x81V[a\x01\xBAa\x03\xB7V[`\x02T`\xFF\x16\x15\x15\x81\x15\x15\x14a\x02\x0FW`\x02\x80T`\xFF\x19\x16\x82\x15\x15\x90\x81\x17\x90\x91U`@Q\x90\x81R\x7F\xAF\xAB#\xA4\xBC\x8CI%\x0B\xA3~\xEB\x06%\xB0\xA9\xB2q\xF5]\x15\x01\x83\x8D$\xF5E\x08\xC3\xB1sB\x90` \x01`@Q\x80\x91\x03\x90\xA1[PV[a\x02\x1Aa\x03\xB7V[a\x02\x0F\x81a\x04\x11V[a\x02+a\x03\xB7V[`\0[\x81\x81\x10\x15a\x02wWa\x02e\x83\x83\x83\x81\x81\x10a\x02KWa\x02Ka\x06=V[\x90P` \x02\x01` \x81\x01\x90a\x02`\x91\x90a\x05zV[a\x04{V[\x80a\x02o\x81a\x06SV[\x91PPa\x02.V[PPPV[a\x02\x84a\x03\xB7V[`\0[\x81\x81\x10\x15a\x02wWa\x02\xBE\x83\x83\x83\x81\x81\x10a\x02\xA4Wa\x02\xA4a\x06=V[\x90P` \x02\x01` \x81\x01\x90a\x02\xB9\x91\x90a\x05zV[a\x04\x11V[\x80a\x02\xC8\x81a\x06SV[\x91PPa\x02\x87V[a\x02\xD8a\x03\xB7V[a\x02\xE2`\0a\x04\xEAV[V[a\x02\xECa\x03\xB7V[a\x02\x0F\x81a\x04{V[`\x02T`\0\x90`\xFF\x16\x80a\x03!WP`\x01`\x01`\xA0\x1B\x03\x82\x16`\0\x90\x81R`\x01` R`@\x90 T`\xFF\x16[\x15a\x03/WP`\0\x19\x91\x90PV[P`\0\x91\x90PV[\x91\x90PV[a\x03Da\x03\xB7V[`\x01`\x01`\xA0\x1B\x03\x81\x16a\x03\xAEW`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`&`$\x82\x01R\x7FOwnable: new owner is the zero a`D\x82\x01Reddress`\xD0\x1B`d\x82\x01R`\x84\x01[`@Q\x80\x91\x03\x90\xFD[a\x02\x0F\x81a\x04\xEAV[`\0T`\x01`\x01`\xA0\x1B\x03\x163\x14a\x02\xE2W`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01\x81\x90R`$\x82\x01R\x7FOwnable: caller is not the owner`D\x82\x01R`d\x01a\x03\xA5V[`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x90\x81R`\x01` R`@\x90 T`\xFF\x16\x15a\x02\x0FW`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x81\x81R`\x01` R`@\x80\x82 \x80T`\xFF\x19\x16\x90UQ\x7F\x0Ec\xD6)\xAF\xE3K<\xA5\x10|\x10\xF9\n\xBF\xF5\t\x1B1U\x1B7\x17X\xBDP\xAFv\x83M\xC0t\x91\x90\xA2PV[`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x90\x81R`\x01` R`@\x90 T`\xFF\x16a\x02\x0FW`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x81\x81R`\x01` \x81\x90R`@\x80\x83 \x80T`\xFF\x19\x16\x90\x92\x17\x90\x91UQ\x7F\xCD\x82-\xC9h\x8E \xAC\xEAhrJ/\xBC\xFEO>Rm \xEC\xAA7\xB1\x8F\xE3\x04z\xB3w\xD6\xA5\x91\x90\xA2PV[`\0\x80T`\x01`\x01`\xA0\x1B\x03\x83\x81\x16`\x01`\x01`\xA0\x1B\x03\x19\x83\x16\x81\x17\x84U`@Q\x91\x90\x92\x16\x92\x83\x91\x7F\x8B\xE0\x07\x9CS\x16Y\x14\x13D\xCD\x1F\xD0\xA4\xF2\x84\x19I\x7F\x97\"\xA3\xDA\xAF\xE3\xB4\x18okdW\xE0\x91\x90\xA3PPV[`\0` \x82\x84\x03\x12\x15a\x05LW`\0\x80\xFD[\x815\x80\x15\x15\x81\x14a\x05\\W`\0\x80\xFD[\x93\x92PPPV[\x805`\x01`\x01`\xA0\x1B\x03\x81\x16\x81\x14a\x037W`\0\x80\xFD[`\0` \x82\x84\x03\x12\x15a\x05\x8CW`\0\x80\xFD[a\x05\\\x82a\x05cV[`\0\x80` \x83\x85\x03\x12\x15a\x05\xA8W`\0\x80\xFD[\x825g\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x80\x82\x11\x15a\x05\xC0W`\0\x80\xFD[\x81\x85\x01\x91P\x85`\x1F\x83\x01\x12a\x05\xD4W`\0\x80\xFD[\x815\x81\x81\x11\x15a\x05\xE3W`\0\x80\xFD[\x86` \x82`\x05\x1B\x85\x01\x01\x11\x15a\x05\xF8W`\0\x80\xFD[` \x92\x90\x92\x01\x96\x91\x95P\x90\x93PPPPV[`\0\x80`@\x83\x85\x03\x12\x15a\x06\x1DW`\0\x80\xFD[a\x06&\x83a\x05cV[\x91Pa\x064` \x84\x01a\x05cV[\x90P\x92P\x92\x90PV[cNH{q`\xE0\x1B`\0R`2`\x04R`$`\0\xFD[`\0`\x01\x82\x01a\x06sWcNH{q`\xE0\x1B`\0R`\x11`\x04R`$`\0\xFD[P`\x01\x01\x90V\xFE\xA2dipfsX\"\x12 \x17\xF8\x85\xC4\xB1\x04C\"\xC6\xEB\r\xB8\x81\xF1\xDA\xE8L\xDB\x938\x95(\x1A\x13}\xF6\x7FF\xE2T\rldsolcC\0\x08\x13\x003";
392    /// The bytecode of the contract.
393    pub static HOPRDUMMYPROXYFORNETWORKREGISTRY_BYTECODE: ::ethers::core::types::Bytes = ::ethers::core::types::Bytes::from_static(
394        __BYTECODE,
395    );
396    #[rustfmt::skip]
397    const __DEPLOYED_BYTECODE: &[u8] = b"`\x80`@R4\x80\x15a\0\x10W`\0\x80\xFD[P`\x046\x10a\0\xB4W`\x005`\xE0\x1C\x80c\xA7\x1B\x1Bt\x11a\0qW\x80c\xA7\x1B\x1Bt\x14a\x01/W\x80c\xB3TN\x82\x14a\x01BW\x80c\xD8Z\xD0D\x14a\x01cW\x80c\xF2\xFD\xE3\x8B\x14a\x01\x89W\x80c\xF4l\x84\xB8\x14a\x01\x9CW\x80c\xF6\x7F^o\x14a\x01\xA5W`\0\x80\xFD[\x80c\x08\x9F\xFAG\x14a\0\xB9W\x80c@Q\xF2W\x14a\0\xCEW\x80cHcT\xE2\x14a\0\xE1W\x80c\\Tq\xE7\x14a\0\xF4W\x80cqP\x18\xA6\x14a\x01\x07W\x80c\x8D\xA5\xCB[\x14a\x01\x0FW[`\0\x80\xFD[a\0\xCCa\0\xC76`\x04a\x05:V[a\x01\xB2V[\0[a\0\xCCa\0\xDC6`\x04a\x05zV[a\x02\x12V[a\0\xCCa\0\xEF6`\x04a\x05\x95V[a\x02#V[a\0\xCCa\x01\x026`\x04a\x05\x95V[a\x02|V[a\0\xCCa\x02\xD0V[`\0T`@Q`\x01`\x01`\xA0\x1B\x03\x90\x91\x16\x81R` \x01[`@Q\x80\x91\x03\x90\xF3[a\0\xCCa\x01=6`\x04a\x05zV[a\x02\xE4V[a\x01Ua\x01P6`\x04a\x05zV[a\x02\xF5V[`@Q\x90\x81R` \x01a\x01&V[a\x01ya\x01q6`\x04a\x06\nV[`\x01\x92\x91PPV[`@Q\x90\x15\x15\x81R` \x01a\x01&V[a\0\xCCa\x01\x976`\x04a\x05zV[a\x03<V[a\x01U`\0\x19\x81V[`\x02Ta\x01y\x90`\xFF\x16\x81V[a\x01\xBAa\x03\xB7V[`\x02T`\xFF\x16\x15\x15\x81\x15\x15\x14a\x02\x0FW`\x02\x80T`\xFF\x19\x16\x82\x15\x15\x90\x81\x17\x90\x91U`@Q\x90\x81R\x7F\xAF\xAB#\xA4\xBC\x8CI%\x0B\xA3~\xEB\x06%\xB0\xA9\xB2q\xF5]\x15\x01\x83\x8D$\xF5E\x08\xC3\xB1sB\x90` \x01`@Q\x80\x91\x03\x90\xA1[PV[a\x02\x1Aa\x03\xB7V[a\x02\x0F\x81a\x04\x11V[a\x02+a\x03\xB7V[`\0[\x81\x81\x10\x15a\x02wWa\x02e\x83\x83\x83\x81\x81\x10a\x02KWa\x02Ka\x06=V[\x90P` \x02\x01` \x81\x01\x90a\x02`\x91\x90a\x05zV[a\x04{V[\x80a\x02o\x81a\x06SV[\x91PPa\x02.V[PPPV[a\x02\x84a\x03\xB7V[`\0[\x81\x81\x10\x15a\x02wWa\x02\xBE\x83\x83\x83\x81\x81\x10a\x02\xA4Wa\x02\xA4a\x06=V[\x90P` \x02\x01` \x81\x01\x90a\x02\xB9\x91\x90a\x05zV[a\x04\x11V[\x80a\x02\xC8\x81a\x06SV[\x91PPa\x02\x87V[a\x02\xD8a\x03\xB7V[a\x02\xE2`\0a\x04\xEAV[V[a\x02\xECa\x03\xB7V[a\x02\x0F\x81a\x04{V[`\x02T`\0\x90`\xFF\x16\x80a\x03!WP`\x01`\x01`\xA0\x1B\x03\x82\x16`\0\x90\x81R`\x01` R`@\x90 T`\xFF\x16[\x15a\x03/WP`\0\x19\x91\x90PV[P`\0\x91\x90PV[\x91\x90PV[a\x03Da\x03\xB7V[`\x01`\x01`\xA0\x1B\x03\x81\x16a\x03\xAEW`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01R`&`$\x82\x01R\x7FOwnable: new owner is the zero a`D\x82\x01Reddress`\xD0\x1B`d\x82\x01R`\x84\x01[`@Q\x80\x91\x03\x90\xFD[a\x02\x0F\x81a\x04\xEAV[`\0T`\x01`\x01`\xA0\x1B\x03\x163\x14a\x02\xE2W`@QbF\x1B\xCD`\xE5\x1B\x81R` `\x04\x82\x01\x81\x90R`$\x82\x01R\x7FOwnable: caller is not the owner`D\x82\x01R`d\x01a\x03\xA5V[`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x90\x81R`\x01` R`@\x90 T`\xFF\x16\x15a\x02\x0FW`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x81\x81R`\x01` R`@\x80\x82 \x80T`\xFF\x19\x16\x90UQ\x7F\x0Ec\xD6)\xAF\xE3K<\xA5\x10|\x10\xF9\n\xBF\xF5\t\x1B1U\x1B7\x17X\xBDP\xAFv\x83M\xC0t\x91\x90\xA2PV[`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x90\x81R`\x01` R`@\x90 T`\xFF\x16a\x02\x0FW`\x01`\x01`\xA0\x1B\x03\x81\x16`\0\x81\x81R`\x01` \x81\x90R`@\x80\x83 \x80T`\xFF\x19\x16\x90\x92\x17\x90\x91UQ\x7F\xCD\x82-\xC9h\x8E \xAC\xEAhrJ/\xBC\xFEO>Rm \xEC\xAA7\xB1\x8F\xE3\x04z\xB3w\xD6\xA5\x91\x90\xA2PV[`\0\x80T`\x01`\x01`\xA0\x1B\x03\x83\x81\x16`\x01`\x01`\xA0\x1B\x03\x19\x83\x16\x81\x17\x84U`@Q\x91\x90\x92\x16\x92\x83\x91\x7F\x8B\xE0\x07\x9CS\x16Y\x14\x13D\xCD\x1F\xD0\xA4\xF2\x84\x19I\x7F\x97\"\xA3\xDA\xAF\xE3\xB4\x18okdW\xE0\x91\x90\xA3PPV[`\0` \x82\x84\x03\x12\x15a\x05LW`\0\x80\xFD[\x815\x80\x15\x15\x81\x14a\x05\\W`\0\x80\xFD[\x93\x92PPPV[\x805`\x01`\x01`\xA0\x1B\x03\x81\x16\x81\x14a\x037W`\0\x80\xFD[`\0` \x82\x84\x03\x12\x15a\x05\x8CW`\0\x80\xFD[a\x05\\\x82a\x05cV[`\0\x80` \x83\x85\x03\x12\x15a\x05\xA8W`\0\x80\xFD[\x825g\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x80\x82\x11\x15a\x05\xC0W`\0\x80\xFD[\x81\x85\x01\x91P\x85`\x1F\x83\x01\x12a\x05\xD4W`\0\x80\xFD[\x815\x81\x81\x11\x15a\x05\xE3W`\0\x80\xFD[\x86` \x82`\x05\x1B\x85\x01\x01\x11\x15a\x05\xF8W`\0\x80\xFD[` \x92\x90\x92\x01\x96\x91\x95P\x90\x93PPPPV[`\0\x80`@\x83\x85\x03\x12\x15a\x06\x1DW`\0\x80\xFD[a\x06&\x83a\x05cV[\x91Pa\x064` \x84\x01a\x05cV[\x90P\x92P\x92\x90PV[cNH{q`\xE0\x1B`\0R`2`\x04R`$`\0\xFD[`\0`\x01\x82\x01a\x06sWcNH{q`\xE0\x1B`\0R`\x11`\x04R`$`\0\xFD[P`\x01\x01\x90V\xFE\xA2dipfsX\"\x12 \x17\xF8\x85\xC4\xB1\x04C\"\xC6\xEB\r\xB8\x81\xF1\xDA\xE8L\xDB\x938\x95(\x1A\x13}\xF6\x7FF\xE2T\rldsolcC\0\x08\x13\x003";
398    /// The deployed bytecode of the contract.
399    pub static HOPRDUMMYPROXYFORNETWORKREGISTRY_DEPLOYED_BYTECODE: ::ethers::core::types::Bytes = ::ethers::core::types::Bytes::from_static(
400        __DEPLOYED_BYTECODE,
401    );
402    pub struct HoprDummyProxyForNetworkRegistry<M>(::ethers::contract::Contract<M>);
403    impl<M> ::core::clone::Clone for HoprDummyProxyForNetworkRegistry<M> {
404        fn clone(&self) -> Self {
405            Self(::core::clone::Clone::clone(&self.0))
406        }
407    }
408    impl<M> ::core::ops::Deref for HoprDummyProxyForNetworkRegistry<M> {
409        type Target = ::ethers::contract::Contract<M>;
410        fn deref(&self) -> &Self::Target {
411            &self.0
412        }
413    }
414    impl<M> ::core::ops::DerefMut for HoprDummyProxyForNetworkRegistry<M> {
415        fn deref_mut(&mut self) -> &mut Self::Target {
416            &mut self.0
417        }
418    }
419    impl<M> ::core::fmt::Debug for HoprDummyProxyForNetworkRegistry<M> {
420        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
421            f.debug_tuple(::core::stringify!(HoprDummyProxyForNetworkRegistry))
422                .field(&self.address())
423                .finish()
424        }
425    }
426    impl<M: ::ethers::providers::Middleware> HoprDummyProxyForNetworkRegistry<M> {
427        /// Creates a new contract instance with the specified `ethers` client at
428        /// `address`. The contract derefs to a `ethers::Contract` object.
429        pub fn new<T: Into<::ethers::core::types::Address>>(
430            address: T,
431            client: ::std::sync::Arc<M>,
432        ) -> Self {
433            Self(
434                ::ethers::contract::Contract::new(
435                    address.into(),
436                    HOPRDUMMYPROXYFORNETWORKREGISTRY_ABI.clone(),
437                    client,
438                ),
439            )
440        }
441        /// Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it.
442        /// Returns a new instance of a deployer that returns an instance of this contract after sending the transaction
443        ///
444        /// Notes:
445        /// - If there are no constructor arguments, you should pass `()` as the argument.
446        /// - The default poll duration is 7 seconds.
447        /// - The default number of confirmations is 1 block.
448        ///
449        ///
450        /// # Example
451        ///
452        /// Generate contract bindings with `abigen!` and deploy a new contract instance.
453        ///
454        /// *Note*: this requires a `bytecode` and `abi` object in the `greeter.json` artifact.
455        ///
456        /// ```ignore
457        /// # async fn deploy<M: ethers::providers::Middleware>(client: ::std::sync::Arc<M>) {
458        ///     abigen!(Greeter, "../greeter.json");
459        ///
460        ///    let greeter_contract = Greeter::deploy(client, "Hello world!".to_string()).unwrap().send().await.unwrap();
461        ///    let msg = greeter_contract.greet().call().await.unwrap();
462        /// # }
463        /// ```
464        pub fn deploy<T: ::ethers::core::abi::Tokenize>(
465            client: ::std::sync::Arc<M>,
466            constructor_args: T,
467        ) -> ::core::result::Result<
468            ::ethers::contract::builders::ContractDeployer<M, Self>,
469            ::ethers::contract::ContractError<M>,
470        > {
471            let factory = ::ethers::contract::ContractFactory::new(
472                HOPRDUMMYPROXYFORNETWORKREGISTRY_ABI.clone(),
473                HOPRDUMMYPROXYFORNETWORKREGISTRY_BYTECODE.clone().into(),
474                client,
475            );
476            let deployer = factory.deploy(constructor_args)?;
477            let deployer = ::ethers::contract::ContractDeployer::new(deployer);
478            Ok(deployer)
479        }
480        ///Calls the contract's `MAX_REGISTRATION_PER_ACCOUNT` (0xf46c84b8) function
481        pub fn max_registration_per_account(
482            &self,
483        ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::U256> {
484            self.0
485                .method_hash([244, 108, 132, 184], ())
486                .expect("method not found (this should never happen)")
487        }
488        ///Calls the contract's `canOperateFor` (0xd85ad044) function
489        pub fn can_operate_for(
490            &self,
491            p0: ::ethers::core::types::Address,
492            p1: ::ethers::core::types::Address,
493        ) -> ::ethers::contract::builders::ContractCall<M, bool> {
494            self.0
495                .method_hash([216, 90, 208, 68], (p0, p1))
496                .expect("method not found (this should never happen)")
497        }
498        ///Calls the contract's `isAllAllowed` (0xf67f5e6f) function
499        pub fn is_all_allowed(
500            &self,
501        ) -> ::ethers::contract::builders::ContractCall<M, bool> {
502            self.0
503                .method_hash([246, 127, 94, 111], ())
504                .expect("method not found (this should never happen)")
505        }
506        ///Calls the contract's `maxAllowedRegistrations` (0xb3544e82) function
507        pub fn max_allowed_registrations(
508            &self,
509            account: ::ethers::core::types::Address,
510        ) -> ::ethers::contract::builders::ContractCall<M, ::ethers::core::types::U256> {
511            self.0
512                .method_hash([179, 84, 78, 130], account)
513                .expect("method not found (this should never happen)")
514        }
515        ///Calls the contract's `owner` (0x8da5cb5b) function
516        pub fn owner(
517            &self,
518        ) -> ::ethers::contract::builders::ContractCall<
519            M,
520            ::ethers::core::types::Address,
521        > {
522            self.0
523                .method_hash([141, 165, 203, 91], ())
524                .expect("method not found (this should never happen)")
525        }
526        ///Calls the contract's `ownerAddAccount` (0xa71b1b74) function
527        pub fn owner_add_account(
528            &self,
529            account: ::ethers::core::types::Address,
530        ) -> ::ethers::contract::builders::ContractCall<M, ()> {
531            self.0
532                .method_hash([167, 27, 27, 116], account)
533                .expect("method not found (this should never happen)")
534        }
535        ///Calls the contract's `ownerBatchAddAccounts` (0x486354e2) function
536        pub fn owner_batch_add_accounts(
537            &self,
538            accounts: ::std::vec::Vec<::ethers::core::types::Address>,
539        ) -> ::ethers::contract::builders::ContractCall<M, ()> {
540            self.0
541                .method_hash([72, 99, 84, 226], accounts)
542                .expect("method not found (this should never happen)")
543        }
544        ///Calls the contract's `ownerBatchRemoveAccounts` (0x5c5471e7) function
545        pub fn owner_batch_remove_accounts(
546            &self,
547            accounts: ::std::vec::Vec<::ethers::core::types::Address>,
548        ) -> ::ethers::contract::builders::ContractCall<M, ()> {
549            self.0
550                .method_hash([92, 84, 113, 231], accounts)
551                .expect("method not found (this should never happen)")
552        }
553        ///Calls the contract's `ownerRemoveAccount` (0x4051f257) function
554        pub fn owner_remove_account(
555            &self,
556            account: ::ethers::core::types::Address,
557        ) -> ::ethers::contract::builders::ContractCall<M, ()> {
558            self.0
559                .method_hash([64, 81, 242, 87], account)
560                .expect("method not found (this should never happen)")
561        }
562        ///Calls the contract's `renounceOwnership` (0x715018a6) function
563        pub fn renounce_ownership(
564            &self,
565        ) -> ::ethers::contract::builders::ContractCall<M, ()> {
566            self.0
567                .method_hash([113, 80, 24, 166], ())
568                .expect("method not found (this should never happen)")
569        }
570        ///Calls the contract's `transferOwnership` (0xf2fde38b) function
571        pub fn transfer_ownership(
572            &self,
573            new_owner: ::ethers::core::types::Address,
574        ) -> ::ethers::contract::builders::ContractCall<M, ()> {
575            self.0
576                .method_hash([242, 253, 227, 139], new_owner)
577                .expect("method not found (this should never happen)")
578        }
579        ///Calls the contract's `updateAllowAll` (0x089ffa47) function
580        pub fn update_allow_all(
581            &self,
582            updated_allow: bool,
583        ) -> ::ethers::contract::builders::ContractCall<M, ()> {
584            self.0
585                .method_hash([8, 159, 250, 71], updated_allow)
586                .expect("method not found (this should never happen)")
587        }
588        ///Gets the contract's `AccountDeregistered` event
589        pub fn account_deregistered_filter(
590            &self,
591        ) -> ::ethers::contract::builders::Event<
592            ::std::sync::Arc<M>,
593            M,
594            AccountDeregisteredFilter,
595        > {
596            self.0.event()
597        }
598        ///Gets the contract's `AccountRegistered` event
599        pub fn account_registered_filter(
600            &self,
601        ) -> ::ethers::contract::builders::Event<
602            ::std::sync::Arc<M>,
603            M,
604            AccountRegisteredFilter,
605        > {
606            self.0.event()
607        }
608        ///Gets the contract's `AllowAllAccountsEligible` event
609        pub fn allow_all_accounts_eligible_filter(
610            &self,
611        ) -> ::ethers::contract::builders::Event<
612            ::std::sync::Arc<M>,
613            M,
614            AllowAllAccountsEligibleFilter,
615        > {
616            self.0.event()
617        }
618        ///Gets the contract's `OwnershipTransferred` event
619        pub fn ownership_transferred_filter(
620            &self,
621        ) -> ::ethers::contract::builders::Event<
622            ::std::sync::Arc<M>,
623            M,
624            OwnershipTransferredFilter,
625        > {
626            self.0.event()
627        }
628        /// Returns an `Event` builder for all the events of this contract.
629        pub fn events(
630            &self,
631        ) -> ::ethers::contract::builders::Event<
632            ::std::sync::Arc<M>,
633            M,
634            HoprDummyProxyForNetworkRegistryEvents,
635        > {
636            self.0.event_with_filter(::core::default::Default::default())
637        }
638    }
639    impl<M: ::ethers::providers::Middleware> From<::ethers::contract::Contract<M>>
640    for HoprDummyProxyForNetworkRegistry<M> {
641        fn from(contract: ::ethers::contract::Contract<M>) -> Self {
642            Self::new(contract.address(), contract.client())
643        }
644    }
645    #[derive(
646        Clone,
647        ::ethers::contract::EthEvent,
648        ::ethers::contract::EthDisplay,
649        serde::Serialize,
650        serde::Deserialize,
651        Default,
652        Debug,
653        PartialEq,
654        Eq,
655        Hash
656    )]
657    #[ethevent(name = "AccountDeregistered", abi = "AccountDeregistered(address)")]
658    pub struct AccountDeregisteredFilter {
659        #[ethevent(indexed)]
660        pub account: ::ethers::core::types::Address,
661    }
662    #[derive(
663        Clone,
664        ::ethers::contract::EthEvent,
665        ::ethers::contract::EthDisplay,
666        serde::Serialize,
667        serde::Deserialize,
668        Default,
669        Debug,
670        PartialEq,
671        Eq,
672        Hash
673    )]
674    #[ethevent(name = "AccountRegistered", abi = "AccountRegistered(address)")]
675    pub struct AccountRegisteredFilter {
676        #[ethevent(indexed)]
677        pub account: ::ethers::core::types::Address,
678    }
679    #[derive(
680        Clone,
681        ::ethers::contract::EthEvent,
682        ::ethers::contract::EthDisplay,
683        serde::Serialize,
684        serde::Deserialize,
685        Default,
686        Debug,
687        PartialEq,
688        Eq,
689        Hash
690    )]
691    #[ethevent(
692        name = "AllowAllAccountsEligible",
693        abi = "AllowAllAccountsEligible(bool)"
694    )]
695    pub struct AllowAllAccountsEligibleFilter {
696        pub is_allowed: bool,
697    }
698    #[derive(
699        Clone,
700        ::ethers::contract::EthEvent,
701        ::ethers::contract::EthDisplay,
702        serde::Serialize,
703        serde::Deserialize,
704        Default,
705        Debug,
706        PartialEq,
707        Eq,
708        Hash
709    )]
710    #[ethevent(
711        name = "OwnershipTransferred",
712        abi = "OwnershipTransferred(address,address)"
713    )]
714    pub struct OwnershipTransferredFilter {
715        #[ethevent(indexed)]
716        pub previous_owner: ::ethers::core::types::Address,
717        #[ethevent(indexed)]
718        pub new_owner: ::ethers::core::types::Address,
719    }
720    ///Container type for all of the contract's events
721    #[derive(
722        Clone,
723        ::ethers::contract::EthAbiType,
724        serde::Serialize,
725        serde::Deserialize,
726        Debug,
727        PartialEq,
728        Eq,
729        Hash
730    )]
731    pub enum HoprDummyProxyForNetworkRegistryEvents {
732        AccountDeregisteredFilter(AccountDeregisteredFilter),
733        AccountRegisteredFilter(AccountRegisteredFilter),
734        AllowAllAccountsEligibleFilter(AllowAllAccountsEligibleFilter),
735        OwnershipTransferredFilter(OwnershipTransferredFilter),
736    }
737    impl ::ethers::contract::EthLogDecode for HoprDummyProxyForNetworkRegistryEvents {
738        fn decode_log(
739            log: &::ethers::core::abi::RawLog,
740        ) -> ::core::result::Result<Self, ::ethers::core::abi::Error> {
741            if let Ok(decoded) = AccountDeregisteredFilter::decode_log(log) {
742                return Ok(
743                    HoprDummyProxyForNetworkRegistryEvents::AccountDeregisteredFilter(
744                        decoded,
745                    ),
746                );
747            }
748            if let Ok(decoded) = AccountRegisteredFilter::decode_log(log) {
749                return Ok(
750                    HoprDummyProxyForNetworkRegistryEvents::AccountRegisteredFilter(
751                        decoded,
752                    ),
753                );
754            }
755            if let Ok(decoded) = AllowAllAccountsEligibleFilter::decode_log(log) {
756                return Ok(
757                    HoprDummyProxyForNetworkRegistryEvents::AllowAllAccountsEligibleFilter(
758                        decoded,
759                    ),
760                );
761            }
762            if let Ok(decoded) = OwnershipTransferredFilter::decode_log(log) {
763                return Ok(
764                    HoprDummyProxyForNetworkRegistryEvents::OwnershipTransferredFilter(
765                        decoded,
766                    ),
767                );
768            }
769            Err(::ethers::core::abi::Error::InvalidData)
770        }
771    }
772    impl ::core::fmt::Display for HoprDummyProxyForNetworkRegistryEvents {
773        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
774            match self {
775                Self::AccountDeregisteredFilter(element) => {
776                    ::core::fmt::Display::fmt(element, f)
777                }
778                Self::AccountRegisteredFilter(element) => {
779                    ::core::fmt::Display::fmt(element, f)
780                }
781                Self::AllowAllAccountsEligibleFilter(element) => {
782                    ::core::fmt::Display::fmt(element, f)
783                }
784                Self::OwnershipTransferredFilter(element) => {
785                    ::core::fmt::Display::fmt(element, f)
786                }
787            }
788        }
789    }
790    impl ::core::convert::From<AccountDeregisteredFilter>
791    for HoprDummyProxyForNetworkRegistryEvents {
792        fn from(value: AccountDeregisteredFilter) -> Self {
793            Self::AccountDeregisteredFilter(value)
794        }
795    }
796    impl ::core::convert::From<AccountRegisteredFilter>
797    for HoprDummyProxyForNetworkRegistryEvents {
798        fn from(value: AccountRegisteredFilter) -> Self {
799            Self::AccountRegisteredFilter(value)
800        }
801    }
802    impl ::core::convert::From<AllowAllAccountsEligibleFilter>
803    for HoprDummyProxyForNetworkRegistryEvents {
804        fn from(value: AllowAllAccountsEligibleFilter) -> Self {
805            Self::AllowAllAccountsEligibleFilter(value)
806        }
807    }
808    impl ::core::convert::From<OwnershipTransferredFilter>
809    for HoprDummyProxyForNetworkRegistryEvents {
810        fn from(value: OwnershipTransferredFilter) -> Self {
811            Self::OwnershipTransferredFilter(value)
812        }
813    }
814    ///Container type for all input parameters for the `MAX_REGISTRATION_PER_ACCOUNT` function with signature `MAX_REGISTRATION_PER_ACCOUNT()` and selector `0xf46c84b8`
815    #[derive(
816        Clone,
817        ::ethers::contract::EthCall,
818        ::ethers::contract::EthDisplay,
819        serde::Serialize,
820        serde::Deserialize,
821        Default,
822        Debug,
823        PartialEq,
824        Eq,
825        Hash
826    )]
827    #[ethcall(
828        name = "MAX_REGISTRATION_PER_ACCOUNT",
829        abi = "MAX_REGISTRATION_PER_ACCOUNT()"
830    )]
831    pub struct MaxRegistrationPerAccountCall;
832    ///Container type for all input parameters for the `canOperateFor` function with signature `canOperateFor(address,address)` and selector `0xd85ad044`
833    #[derive(
834        Clone,
835        ::ethers::contract::EthCall,
836        ::ethers::contract::EthDisplay,
837        serde::Serialize,
838        serde::Deserialize,
839        Default,
840        Debug,
841        PartialEq,
842        Eq,
843        Hash
844    )]
845    #[ethcall(name = "canOperateFor", abi = "canOperateFor(address,address)")]
846    pub struct CanOperateForCall(
847        pub ::ethers::core::types::Address,
848        pub ::ethers::core::types::Address,
849    );
850    ///Container type for all input parameters for the `isAllAllowed` function with signature `isAllAllowed()` and selector `0xf67f5e6f`
851    #[derive(
852        Clone,
853        ::ethers::contract::EthCall,
854        ::ethers::contract::EthDisplay,
855        serde::Serialize,
856        serde::Deserialize,
857        Default,
858        Debug,
859        PartialEq,
860        Eq,
861        Hash
862    )]
863    #[ethcall(name = "isAllAllowed", abi = "isAllAllowed()")]
864    pub struct IsAllAllowedCall;
865    ///Container type for all input parameters for the `maxAllowedRegistrations` function with signature `maxAllowedRegistrations(address)` and selector `0xb3544e82`
866    #[derive(
867        Clone,
868        ::ethers::contract::EthCall,
869        ::ethers::contract::EthDisplay,
870        serde::Serialize,
871        serde::Deserialize,
872        Default,
873        Debug,
874        PartialEq,
875        Eq,
876        Hash
877    )]
878    #[ethcall(
879        name = "maxAllowedRegistrations",
880        abi = "maxAllowedRegistrations(address)"
881    )]
882    pub struct MaxAllowedRegistrationsCall {
883        pub account: ::ethers::core::types::Address,
884    }
885    ///Container type for all input parameters for the `owner` function with signature `owner()` and selector `0x8da5cb5b`
886    #[derive(
887        Clone,
888        ::ethers::contract::EthCall,
889        ::ethers::contract::EthDisplay,
890        serde::Serialize,
891        serde::Deserialize,
892        Default,
893        Debug,
894        PartialEq,
895        Eq,
896        Hash
897    )]
898    #[ethcall(name = "owner", abi = "owner()")]
899    pub struct OwnerCall;
900    ///Container type for all input parameters for the `ownerAddAccount` function with signature `ownerAddAccount(address)` and selector `0xa71b1b74`
901    #[derive(
902        Clone,
903        ::ethers::contract::EthCall,
904        ::ethers::contract::EthDisplay,
905        serde::Serialize,
906        serde::Deserialize,
907        Default,
908        Debug,
909        PartialEq,
910        Eq,
911        Hash
912    )]
913    #[ethcall(name = "ownerAddAccount", abi = "ownerAddAccount(address)")]
914    pub struct OwnerAddAccountCall {
915        pub account: ::ethers::core::types::Address,
916    }
917    ///Container type for all input parameters for the `ownerBatchAddAccounts` function with signature `ownerBatchAddAccounts(address[])` and selector `0x486354e2`
918    #[derive(
919        Clone,
920        ::ethers::contract::EthCall,
921        ::ethers::contract::EthDisplay,
922        serde::Serialize,
923        serde::Deserialize,
924        Default,
925        Debug,
926        PartialEq,
927        Eq,
928        Hash
929    )]
930    #[ethcall(name = "ownerBatchAddAccounts", abi = "ownerBatchAddAccounts(address[])")]
931    pub struct OwnerBatchAddAccountsCall {
932        pub accounts: ::std::vec::Vec<::ethers::core::types::Address>,
933    }
934    ///Container type for all input parameters for the `ownerBatchRemoveAccounts` function with signature `ownerBatchRemoveAccounts(address[])` and selector `0x5c5471e7`
935    #[derive(
936        Clone,
937        ::ethers::contract::EthCall,
938        ::ethers::contract::EthDisplay,
939        serde::Serialize,
940        serde::Deserialize,
941        Default,
942        Debug,
943        PartialEq,
944        Eq,
945        Hash
946    )]
947    #[ethcall(
948        name = "ownerBatchRemoveAccounts",
949        abi = "ownerBatchRemoveAccounts(address[])"
950    )]
951    pub struct OwnerBatchRemoveAccountsCall {
952        pub accounts: ::std::vec::Vec<::ethers::core::types::Address>,
953    }
954    ///Container type for all input parameters for the `ownerRemoveAccount` function with signature `ownerRemoveAccount(address)` and selector `0x4051f257`
955    #[derive(
956        Clone,
957        ::ethers::contract::EthCall,
958        ::ethers::contract::EthDisplay,
959        serde::Serialize,
960        serde::Deserialize,
961        Default,
962        Debug,
963        PartialEq,
964        Eq,
965        Hash
966    )]
967    #[ethcall(name = "ownerRemoveAccount", abi = "ownerRemoveAccount(address)")]
968    pub struct OwnerRemoveAccountCall {
969        pub account: ::ethers::core::types::Address,
970    }
971    ///Container type for all input parameters for the `renounceOwnership` function with signature `renounceOwnership()` and selector `0x715018a6`
972    #[derive(
973        Clone,
974        ::ethers::contract::EthCall,
975        ::ethers::contract::EthDisplay,
976        serde::Serialize,
977        serde::Deserialize,
978        Default,
979        Debug,
980        PartialEq,
981        Eq,
982        Hash
983    )]
984    #[ethcall(name = "renounceOwnership", abi = "renounceOwnership()")]
985    pub struct RenounceOwnershipCall;
986    ///Container type for all input parameters for the `transferOwnership` function with signature `transferOwnership(address)` and selector `0xf2fde38b`
987    #[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 = "transferOwnership", abi = "transferOwnership(address)")]
1000    pub struct TransferOwnershipCall {
1001        pub new_owner: ::ethers::core::types::Address,
1002    }
1003    ///Container type for all input parameters for the `updateAllowAll` function with signature `updateAllowAll(bool)` and selector `0x089ffa47`
1004    #[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 = "updateAllowAll", abi = "updateAllowAll(bool)")]
1017    pub struct UpdateAllowAllCall {
1018        pub updated_allow: bool,
1019    }
1020    ///Container type for all of the contract's call
1021    #[derive(
1022        Clone,
1023        ::ethers::contract::EthAbiType,
1024        serde::Serialize,
1025        serde::Deserialize,
1026        Debug,
1027        PartialEq,
1028        Eq,
1029        Hash
1030    )]
1031    pub enum HoprDummyProxyForNetworkRegistryCalls {
1032        MaxRegistrationPerAccount(MaxRegistrationPerAccountCall),
1033        CanOperateFor(CanOperateForCall),
1034        IsAllAllowed(IsAllAllowedCall),
1035        MaxAllowedRegistrations(MaxAllowedRegistrationsCall),
1036        Owner(OwnerCall),
1037        OwnerAddAccount(OwnerAddAccountCall),
1038        OwnerBatchAddAccounts(OwnerBatchAddAccountsCall),
1039        OwnerBatchRemoveAccounts(OwnerBatchRemoveAccountsCall),
1040        OwnerRemoveAccount(OwnerRemoveAccountCall),
1041        RenounceOwnership(RenounceOwnershipCall),
1042        TransferOwnership(TransferOwnershipCall),
1043        UpdateAllowAll(UpdateAllowAllCall),
1044    }
1045    impl ::ethers::core::abi::AbiDecode for HoprDummyProxyForNetworkRegistryCalls {
1046        fn decode(
1047            data: impl AsRef<[u8]>,
1048        ) -> ::core::result::Result<Self, ::ethers::core::abi::AbiError> {
1049            let data = data.as_ref();
1050            if let Ok(decoded) = <MaxRegistrationPerAccountCall as ::ethers::core::abi::AbiDecode>::decode(
1051                data,
1052            ) {
1053                return Ok(Self::MaxRegistrationPerAccount(decoded));
1054            }
1055            if let Ok(decoded) = <CanOperateForCall as ::ethers::core::abi::AbiDecode>::decode(
1056                data,
1057            ) {
1058                return Ok(Self::CanOperateFor(decoded));
1059            }
1060            if let Ok(decoded) = <IsAllAllowedCall as ::ethers::core::abi::AbiDecode>::decode(
1061                data,
1062            ) {
1063                return Ok(Self::IsAllAllowed(decoded));
1064            }
1065            if let Ok(decoded) = <MaxAllowedRegistrationsCall as ::ethers::core::abi::AbiDecode>::decode(
1066                data,
1067            ) {
1068                return Ok(Self::MaxAllowedRegistrations(decoded));
1069            }
1070            if let Ok(decoded) = <OwnerCall as ::ethers::core::abi::AbiDecode>::decode(
1071                data,
1072            ) {
1073                return Ok(Self::Owner(decoded));
1074            }
1075            if let Ok(decoded) = <OwnerAddAccountCall as ::ethers::core::abi::AbiDecode>::decode(
1076                data,
1077            ) {
1078                return Ok(Self::OwnerAddAccount(decoded));
1079            }
1080            if let Ok(decoded) = <OwnerBatchAddAccountsCall as ::ethers::core::abi::AbiDecode>::decode(
1081                data,
1082            ) {
1083                return Ok(Self::OwnerBatchAddAccounts(decoded));
1084            }
1085            if let Ok(decoded) = <OwnerBatchRemoveAccountsCall as ::ethers::core::abi::AbiDecode>::decode(
1086                data,
1087            ) {
1088                return Ok(Self::OwnerBatchRemoveAccounts(decoded));
1089            }
1090            if let Ok(decoded) = <OwnerRemoveAccountCall as ::ethers::core::abi::AbiDecode>::decode(
1091                data,
1092            ) {
1093                return Ok(Self::OwnerRemoveAccount(decoded));
1094            }
1095            if let Ok(decoded) = <RenounceOwnershipCall as ::ethers::core::abi::AbiDecode>::decode(
1096                data,
1097            ) {
1098                return Ok(Self::RenounceOwnership(decoded));
1099            }
1100            if let Ok(decoded) = <TransferOwnershipCall as ::ethers::core::abi::AbiDecode>::decode(
1101                data,
1102            ) {
1103                return Ok(Self::TransferOwnership(decoded));
1104            }
1105            if let Ok(decoded) = <UpdateAllowAllCall as ::ethers::core::abi::AbiDecode>::decode(
1106                data,
1107            ) {
1108                return Ok(Self::UpdateAllowAll(decoded));
1109            }
1110            Err(::ethers::core::abi::Error::InvalidData.into())
1111        }
1112    }
1113    impl ::ethers::core::abi::AbiEncode for HoprDummyProxyForNetworkRegistryCalls {
1114        fn encode(self) -> Vec<u8> {
1115            match self {
1116                Self::MaxRegistrationPerAccount(element) => {
1117                    ::ethers::core::abi::AbiEncode::encode(element)
1118                }
1119                Self::CanOperateFor(element) => {
1120                    ::ethers::core::abi::AbiEncode::encode(element)
1121                }
1122                Self::IsAllAllowed(element) => {
1123                    ::ethers::core::abi::AbiEncode::encode(element)
1124                }
1125                Self::MaxAllowedRegistrations(element) => {
1126                    ::ethers::core::abi::AbiEncode::encode(element)
1127                }
1128                Self::Owner(element) => ::ethers::core::abi::AbiEncode::encode(element),
1129                Self::OwnerAddAccount(element) => {
1130                    ::ethers::core::abi::AbiEncode::encode(element)
1131                }
1132                Self::OwnerBatchAddAccounts(element) => {
1133                    ::ethers::core::abi::AbiEncode::encode(element)
1134                }
1135                Self::OwnerBatchRemoveAccounts(element) => {
1136                    ::ethers::core::abi::AbiEncode::encode(element)
1137                }
1138                Self::OwnerRemoveAccount(element) => {
1139                    ::ethers::core::abi::AbiEncode::encode(element)
1140                }
1141                Self::RenounceOwnership(element) => {
1142                    ::ethers::core::abi::AbiEncode::encode(element)
1143                }
1144                Self::TransferOwnership(element) => {
1145                    ::ethers::core::abi::AbiEncode::encode(element)
1146                }
1147                Self::UpdateAllowAll(element) => {
1148                    ::ethers::core::abi::AbiEncode::encode(element)
1149                }
1150            }
1151        }
1152    }
1153    impl ::core::fmt::Display for HoprDummyProxyForNetworkRegistryCalls {
1154        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1155            match self {
1156                Self::MaxRegistrationPerAccount(element) => {
1157                    ::core::fmt::Display::fmt(element, f)
1158                }
1159                Self::CanOperateFor(element) => ::core::fmt::Display::fmt(element, f),
1160                Self::IsAllAllowed(element) => ::core::fmt::Display::fmt(element, f),
1161                Self::MaxAllowedRegistrations(element) => {
1162                    ::core::fmt::Display::fmt(element, f)
1163                }
1164                Self::Owner(element) => ::core::fmt::Display::fmt(element, f),
1165                Self::OwnerAddAccount(element) => ::core::fmt::Display::fmt(element, f),
1166                Self::OwnerBatchAddAccounts(element) => {
1167                    ::core::fmt::Display::fmt(element, f)
1168                }
1169                Self::OwnerBatchRemoveAccounts(element) => {
1170                    ::core::fmt::Display::fmt(element, f)
1171                }
1172                Self::OwnerRemoveAccount(element) => {
1173                    ::core::fmt::Display::fmt(element, f)
1174                }
1175                Self::RenounceOwnership(element) => ::core::fmt::Display::fmt(element, f),
1176                Self::TransferOwnership(element) => ::core::fmt::Display::fmt(element, f),
1177                Self::UpdateAllowAll(element) => ::core::fmt::Display::fmt(element, f),
1178            }
1179        }
1180    }
1181    impl ::core::convert::From<MaxRegistrationPerAccountCall>
1182    for HoprDummyProxyForNetworkRegistryCalls {
1183        fn from(value: MaxRegistrationPerAccountCall) -> Self {
1184            Self::MaxRegistrationPerAccount(value)
1185        }
1186    }
1187    impl ::core::convert::From<CanOperateForCall>
1188    for HoprDummyProxyForNetworkRegistryCalls {
1189        fn from(value: CanOperateForCall) -> Self {
1190            Self::CanOperateFor(value)
1191        }
1192    }
1193    impl ::core::convert::From<IsAllAllowedCall>
1194    for HoprDummyProxyForNetworkRegistryCalls {
1195        fn from(value: IsAllAllowedCall) -> Self {
1196            Self::IsAllAllowed(value)
1197        }
1198    }
1199    impl ::core::convert::From<MaxAllowedRegistrationsCall>
1200    for HoprDummyProxyForNetworkRegistryCalls {
1201        fn from(value: MaxAllowedRegistrationsCall) -> Self {
1202            Self::MaxAllowedRegistrations(value)
1203        }
1204    }
1205    impl ::core::convert::From<OwnerCall> for HoprDummyProxyForNetworkRegistryCalls {
1206        fn from(value: OwnerCall) -> Self {
1207            Self::Owner(value)
1208        }
1209    }
1210    impl ::core::convert::From<OwnerAddAccountCall>
1211    for HoprDummyProxyForNetworkRegistryCalls {
1212        fn from(value: OwnerAddAccountCall) -> Self {
1213            Self::OwnerAddAccount(value)
1214        }
1215    }
1216    impl ::core::convert::From<OwnerBatchAddAccountsCall>
1217    for HoprDummyProxyForNetworkRegistryCalls {
1218        fn from(value: OwnerBatchAddAccountsCall) -> Self {
1219            Self::OwnerBatchAddAccounts(value)
1220        }
1221    }
1222    impl ::core::convert::From<OwnerBatchRemoveAccountsCall>
1223    for HoprDummyProxyForNetworkRegistryCalls {
1224        fn from(value: OwnerBatchRemoveAccountsCall) -> Self {
1225            Self::OwnerBatchRemoveAccounts(value)
1226        }
1227    }
1228    impl ::core::convert::From<OwnerRemoveAccountCall>
1229    for HoprDummyProxyForNetworkRegistryCalls {
1230        fn from(value: OwnerRemoveAccountCall) -> Self {
1231            Self::OwnerRemoveAccount(value)
1232        }
1233    }
1234    impl ::core::convert::From<RenounceOwnershipCall>
1235    for HoprDummyProxyForNetworkRegistryCalls {
1236        fn from(value: RenounceOwnershipCall) -> Self {
1237            Self::RenounceOwnership(value)
1238        }
1239    }
1240    impl ::core::convert::From<TransferOwnershipCall>
1241    for HoprDummyProxyForNetworkRegistryCalls {
1242        fn from(value: TransferOwnershipCall) -> Self {
1243            Self::TransferOwnership(value)
1244        }
1245    }
1246    impl ::core::convert::From<UpdateAllowAllCall>
1247    for HoprDummyProxyForNetworkRegistryCalls {
1248        fn from(value: UpdateAllowAllCall) -> Self {
1249            Self::UpdateAllowAll(value)
1250        }
1251    }
1252    ///Container type for all return fields from the `MAX_REGISTRATION_PER_ACCOUNT` function with signature `MAX_REGISTRATION_PER_ACCOUNT()` and selector `0xf46c84b8`
1253    #[derive(
1254        Clone,
1255        ::ethers::contract::EthAbiType,
1256        ::ethers::contract::EthAbiCodec,
1257        serde::Serialize,
1258        serde::Deserialize,
1259        Default,
1260        Debug,
1261        PartialEq,
1262        Eq,
1263        Hash
1264    )]
1265    pub struct MaxRegistrationPerAccountReturn(pub ::ethers::core::types::U256);
1266    ///Container type for all return fields from the `canOperateFor` function with signature `canOperateFor(address,address)` and selector `0xd85ad044`
1267    #[derive(
1268        Clone,
1269        ::ethers::contract::EthAbiType,
1270        ::ethers::contract::EthAbiCodec,
1271        serde::Serialize,
1272        serde::Deserialize,
1273        Default,
1274        Debug,
1275        PartialEq,
1276        Eq,
1277        Hash
1278    )]
1279    pub struct CanOperateForReturn {
1280        pub eligiblity: bool,
1281    }
1282    ///Container type for all return fields from the `isAllAllowed` function with signature `isAllAllowed()` and selector `0xf67f5e6f`
1283    #[derive(
1284        Clone,
1285        ::ethers::contract::EthAbiType,
1286        ::ethers::contract::EthAbiCodec,
1287        serde::Serialize,
1288        serde::Deserialize,
1289        Default,
1290        Debug,
1291        PartialEq,
1292        Eq,
1293        Hash
1294    )]
1295    pub struct IsAllAllowedReturn(pub bool);
1296    ///Container type for all return fields from the `maxAllowedRegistrations` function with signature `maxAllowedRegistrations(address)` and selector `0xb3544e82`
1297    #[derive(
1298        Clone,
1299        ::ethers::contract::EthAbiType,
1300        ::ethers::contract::EthAbiCodec,
1301        serde::Serialize,
1302        serde::Deserialize,
1303        Default,
1304        Debug,
1305        PartialEq,
1306        Eq,
1307        Hash
1308    )]
1309    pub struct MaxAllowedRegistrationsReturn(pub ::ethers::core::types::U256);
1310    ///Container type for all return fields from the `owner` function with signature `owner()` and selector `0x8da5cb5b`
1311    #[derive(
1312        Clone,
1313        ::ethers::contract::EthAbiType,
1314        ::ethers::contract::EthAbiCodec,
1315        serde::Serialize,
1316        serde::Deserialize,
1317        Default,
1318        Debug,
1319        PartialEq,
1320        Eq,
1321        Hash
1322    )]
1323    pub struct OwnerReturn(pub ::ethers::core::types::Address);
1324}