pod_contracts/
iset.rs

1/**
2
3Generated by the following Solidity interface...
4```solidity
5interface ISet {
6    function insert(bytes32 key, bytes32 e) external;
7    function requireExist(bytes32 key, bytes32 e) external view;
8}
9```
10
11...which was generated by the following JSON ABI:
12```json
13[
14  {
15    "type": "function",
16    "name": "insert",
17    "inputs": [
18      {
19        "name": "key",
20        "type": "bytes32",
21        "internalType": "bytes32"
22      },
23      {
24        "name": "e",
25        "type": "bytes32",
26        "internalType": "bytes32"
27      }
28    ],
29    "outputs": [],
30    "stateMutability": "nonpayable"
31  },
32  {
33    "type": "function",
34    "name": "requireExist",
35    "inputs": [
36      {
37        "name": "key",
38        "type": "bytes32",
39        "internalType": "bytes32"
40      },
41      {
42        "name": "e",
43        "type": "bytes32",
44        "internalType": "bytes32"
45      }
46    ],
47    "outputs": [],
48    "stateMutability": "view"
49  }
50]
51```*/
52#[allow(
53    non_camel_case_types,
54    non_snake_case,
55    clippy::pub_underscore_fields,
56    clippy::style,
57    clippy::empty_structs_with_brackets
58)]
59pub mod ISet {
60    use super::*;
61    use alloy::sol_types as alloy_sol_types;
62    /// The creation / init bytecode of the contract.
63    ///
64    /// ```text
65    ///0x
66    /// ```
67    #[rustfmt::skip]
68    #[allow(clippy::all)]
69    pub static BYTECODE: alloy_sol_types::private::Bytes = alloy_sol_types::private::Bytes::from_static(
70        b"",
71    );
72    /// The runtime bytecode of the contract, as deployed on the network.
73    ///
74    /// ```text
75    ///0x
76    /// ```
77    #[rustfmt::skip]
78    #[allow(clippy::all)]
79    pub static DEPLOYED_BYTECODE: alloy_sol_types::private::Bytes = alloy_sol_types::private::Bytes::from_static(
80        b"",
81    );
82    #[derive(Default, Debug, PartialEq, Eq, Hash)]
83    /**Function with signature `insert(bytes32,bytes32)` and selector `0xfeac36d7`.
84```solidity
85function insert(bytes32 key, bytes32 e) external;
86```*/
87    #[allow(non_camel_case_types, non_snake_case, clippy::pub_underscore_fields)]
88    #[derive(Clone)]
89    pub struct insertCall {
90        #[allow(missing_docs)]
91        pub key: alloy::sol_types::private::FixedBytes<32>,
92        #[allow(missing_docs)]
93        pub e: alloy::sol_types::private::FixedBytes<32>,
94    }
95    ///Container type for the return parameters of the [`insert(bytes32,bytes32)`](insertCall) function.
96    #[allow(non_camel_case_types, non_snake_case, clippy::pub_underscore_fields)]
97    #[derive(Clone)]
98    pub struct insertReturn {}
99    #[allow(
100        non_camel_case_types,
101        non_snake_case,
102        clippy::pub_underscore_fields,
103        clippy::style
104    )]
105    const _: () = {
106        use alloy::sol_types as alloy_sol_types;
107        {
108            #[doc(hidden)]
109            type UnderlyingSolTuple<'a> = (
110                alloy::sol_types::sol_data::FixedBytes<32>,
111                alloy::sol_types::sol_data::FixedBytes<32>,
112            );
113            #[doc(hidden)]
114            type UnderlyingRustTuple<'a> = (
115                alloy::sol_types::private::FixedBytes<32>,
116                alloy::sol_types::private::FixedBytes<32>,
117            );
118            #[cfg(test)]
119            #[allow(dead_code, unreachable_patterns)]
120            fn _type_assertion(
121                _t: alloy_sol_types::private::AssertTypeEq<UnderlyingRustTuple>,
122            ) {
123                match _t {
124                    alloy_sol_types::private::AssertTypeEq::<
125                        <UnderlyingSolTuple as alloy_sol_types::SolType>::RustType,
126                    >(_) => {}
127                }
128            }
129            #[automatically_derived]
130            #[doc(hidden)]
131            impl ::core::convert::From<insertCall> for UnderlyingRustTuple<'_> {
132                fn from(value: insertCall) -> Self {
133                    (value.key, value.e)
134                }
135            }
136            #[automatically_derived]
137            #[doc(hidden)]
138            impl ::core::convert::From<UnderlyingRustTuple<'_>> for insertCall {
139                fn from(tuple: UnderlyingRustTuple<'_>) -> Self {
140                    Self { key: tuple.0, e: tuple.1 }
141                }
142            }
143        }
144        {
145            #[doc(hidden)]
146            type UnderlyingSolTuple<'a> = ();
147            #[doc(hidden)]
148            type UnderlyingRustTuple<'a> = ();
149            #[cfg(test)]
150            #[allow(dead_code, unreachable_patterns)]
151            fn _type_assertion(
152                _t: alloy_sol_types::private::AssertTypeEq<UnderlyingRustTuple>,
153            ) {
154                match _t {
155                    alloy_sol_types::private::AssertTypeEq::<
156                        <UnderlyingSolTuple as alloy_sol_types::SolType>::RustType,
157                    >(_) => {}
158                }
159            }
160            #[automatically_derived]
161            #[doc(hidden)]
162            impl ::core::convert::From<insertReturn> for UnderlyingRustTuple<'_> {
163                fn from(value: insertReturn) -> Self {
164                    ()
165                }
166            }
167            #[automatically_derived]
168            #[doc(hidden)]
169            impl ::core::convert::From<UnderlyingRustTuple<'_>> for insertReturn {
170                fn from(tuple: UnderlyingRustTuple<'_>) -> Self {
171                    Self {}
172                }
173            }
174        }
175        #[automatically_derived]
176        impl alloy_sol_types::SolCall for insertCall {
177            type Parameters<'a> = (
178                alloy::sol_types::sol_data::FixedBytes<32>,
179                alloy::sol_types::sol_data::FixedBytes<32>,
180            );
181            type Token<'a> = <Self::Parameters<
182                'a,
183            > as alloy_sol_types::SolType>::Token<'a>;
184            type Return = insertReturn;
185            type ReturnTuple<'a> = ();
186            type ReturnToken<'a> = <Self::ReturnTuple<
187                'a,
188            > as alloy_sol_types::SolType>::Token<'a>;
189            const SIGNATURE: &'static str = "insert(bytes32,bytes32)";
190            const SELECTOR: [u8; 4] = [254u8, 172u8, 54u8, 215u8];
191            #[inline]
192            fn new<'a>(
193                tuple: <Self::Parameters<'a> as alloy_sol_types::SolType>::RustType,
194            ) -> Self {
195                tuple.into()
196            }
197            #[inline]
198            fn tokenize(&self) -> Self::Token<'_> {
199                (
200                    <alloy::sol_types::sol_data::FixedBytes<
201                        32,
202                    > as alloy_sol_types::SolType>::tokenize(&self.key),
203                    <alloy::sol_types::sol_data::FixedBytes<
204                        32,
205                    > as alloy_sol_types::SolType>::tokenize(&self.e),
206                )
207            }
208            #[inline]
209            fn abi_decode_returns(
210                data: &[u8],
211                validate: bool,
212            ) -> alloy_sol_types::Result<Self::Return> {
213                <Self::ReturnTuple<
214                    '_,
215                > as alloy_sol_types::SolType>::abi_decode_sequence(data, validate)
216                    .map(Into::into)
217            }
218        }
219    };
220    #[derive(Default, Debug, PartialEq, Eq, Hash)]
221    /**Function with signature `requireExist(bytes32,bytes32)` and selector `0x8635a591`.
222```solidity
223function requireExist(bytes32 key, bytes32 e) external view;
224```*/
225    #[allow(non_camel_case_types, non_snake_case, clippy::pub_underscore_fields)]
226    #[derive(Clone)]
227    pub struct requireExistCall {
228        #[allow(missing_docs)]
229        pub key: alloy::sol_types::private::FixedBytes<32>,
230        #[allow(missing_docs)]
231        pub e: alloy::sol_types::private::FixedBytes<32>,
232    }
233    ///Container type for the return parameters of the [`requireExist(bytes32,bytes32)`](requireExistCall) function.
234    #[allow(non_camel_case_types, non_snake_case, clippy::pub_underscore_fields)]
235    #[derive(Clone)]
236    pub struct requireExistReturn {}
237    #[allow(
238        non_camel_case_types,
239        non_snake_case,
240        clippy::pub_underscore_fields,
241        clippy::style
242    )]
243    const _: () = {
244        use alloy::sol_types as alloy_sol_types;
245        {
246            #[doc(hidden)]
247            type UnderlyingSolTuple<'a> = (
248                alloy::sol_types::sol_data::FixedBytes<32>,
249                alloy::sol_types::sol_data::FixedBytes<32>,
250            );
251            #[doc(hidden)]
252            type UnderlyingRustTuple<'a> = (
253                alloy::sol_types::private::FixedBytes<32>,
254                alloy::sol_types::private::FixedBytes<32>,
255            );
256            #[cfg(test)]
257            #[allow(dead_code, unreachable_patterns)]
258            fn _type_assertion(
259                _t: alloy_sol_types::private::AssertTypeEq<UnderlyingRustTuple>,
260            ) {
261                match _t {
262                    alloy_sol_types::private::AssertTypeEq::<
263                        <UnderlyingSolTuple as alloy_sol_types::SolType>::RustType,
264                    >(_) => {}
265                }
266            }
267            #[automatically_derived]
268            #[doc(hidden)]
269            impl ::core::convert::From<requireExistCall> for UnderlyingRustTuple<'_> {
270                fn from(value: requireExistCall) -> Self {
271                    (value.key, value.e)
272                }
273            }
274            #[automatically_derived]
275            #[doc(hidden)]
276            impl ::core::convert::From<UnderlyingRustTuple<'_>> for requireExistCall {
277                fn from(tuple: UnderlyingRustTuple<'_>) -> Self {
278                    Self { key: tuple.0, e: tuple.1 }
279                }
280            }
281        }
282        {
283            #[doc(hidden)]
284            type UnderlyingSolTuple<'a> = ();
285            #[doc(hidden)]
286            type UnderlyingRustTuple<'a> = ();
287            #[cfg(test)]
288            #[allow(dead_code, unreachable_patterns)]
289            fn _type_assertion(
290                _t: alloy_sol_types::private::AssertTypeEq<UnderlyingRustTuple>,
291            ) {
292                match _t {
293                    alloy_sol_types::private::AssertTypeEq::<
294                        <UnderlyingSolTuple as alloy_sol_types::SolType>::RustType,
295                    >(_) => {}
296                }
297            }
298            #[automatically_derived]
299            #[doc(hidden)]
300            impl ::core::convert::From<requireExistReturn> for UnderlyingRustTuple<'_> {
301                fn from(value: requireExistReturn) -> Self {
302                    ()
303                }
304            }
305            #[automatically_derived]
306            #[doc(hidden)]
307            impl ::core::convert::From<UnderlyingRustTuple<'_>> for requireExistReturn {
308                fn from(tuple: UnderlyingRustTuple<'_>) -> Self {
309                    Self {}
310                }
311            }
312        }
313        #[automatically_derived]
314        impl alloy_sol_types::SolCall for requireExistCall {
315            type Parameters<'a> = (
316                alloy::sol_types::sol_data::FixedBytes<32>,
317                alloy::sol_types::sol_data::FixedBytes<32>,
318            );
319            type Token<'a> = <Self::Parameters<
320                'a,
321            > as alloy_sol_types::SolType>::Token<'a>;
322            type Return = requireExistReturn;
323            type ReturnTuple<'a> = ();
324            type ReturnToken<'a> = <Self::ReturnTuple<
325                'a,
326            > as alloy_sol_types::SolType>::Token<'a>;
327            const SIGNATURE: &'static str = "requireExist(bytes32,bytes32)";
328            const SELECTOR: [u8; 4] = [134u8, 53u8, 165u8, 145u8];
329            #[inline]
330            fn new<'a>(
331                tuple: <Self::Parameters<'a> as alloy_sol_types::SolType>::RustType,
332            ) -> Self {
333                tuple.into()
334            }
335            #[inline]
336            fn tokenize(&self) -> Self::Token<'_> {
337                (
338                    <alloy::sol_types::sol_data::FixedBytes<
339                        32,
340                    > as alloy_sol_types::SolType>::tokenize(&self.key),
341                    <alloy::sol_types::sol_data::FixedBytes<
342                        32,
343                    > as alloy_sol_types::SolType>::tokenize(&self.e),
344                )
345            }
346            #[inline]
347            fn abi_decode_returns(
348                data: &[u8],
349                validate: bool,
350            ) -> alloy_sol_types::Result<Self::Return> {
351                <Self::ReturnTuple<
352                    '_,
353                > as alloy_sol_types::SolType>::abi_decode_sequence(data, validate)
354                    .map(Into::into)
355            }
356        }
357    };
358    ///Container for all the [`ISet`](self) function calls.
359    #[derive()]
360    pub enum ISetCalls {
361        #[allow(missing_docs)]
362        insert(insertCall),
363        #[allow(missing_docs)]
364        requireExist(requireExistCall),
365    }
366    #[automatically_derived]
367    impl ISetCalls {
368        /// All the selectors of this enum.
369        ///
370        /// Note that the selectors might not be in the same order as the variants.
371        /// No guarantees are made about the order of the selectors.
372        ///
373        /// Prefer using `SolInterface` methods instead.
374        pub const SELECTORS: &'static [[u8; 4usize]] = &[
375            [134u8, 53u8, 165u8, 145u8],
376            [254u8, 172u8, 54u8, 215u8],
377        ];
378    }
379    #[automatically_derived]
380    impl alloy_sol_types::SolInterface for ISetCalls {
381        const NAME: &'static str = "ISetCalls";
382        const MIN_DATA_LENGTH: usize = 64usize;
383        const COUNT: usize = 2usize;
384        #[inline]
385        fn selector(&self) -> [u8; 4] {
386            match self {
387                Self::insert(_) => <insertCall as alloy_sol_types::SolCall>::SELECTOR,
388                Self::requireExist(_) => {
389                    <requireExistCall as alloy_sol_types::SolCall>::SELECTOR
390                }
391            }
392        }
393        #[inline]
394        fn selector_at(i: usize) -> ::core::option::Option<[u8; 4]> {
395            Self::SELECTORS.get(i).copied()
396        }
397        #[inline]
398        fn valid_selector(selector: [u8; 4]) -> bool {
399            Self::SELECTORS.binary_search(&selector).is_ok()
400        }
401        #[inline]
402        #[allow(non_snake_case)]
403        fn abi_decode_raw(
404            selector: [u8; 4],
405            data: &[u8],
406            validate: bool,
407        ) -> alloy_sol_types::Result<Self> {
408            static DECODE_SHIMS: &[fn(
409                &[u8],
410                bool,
411            ) -> alloy_sol_types::Result<ISetCalls>] = &[
412                {
413                    fn requireExist(
414                        data: &[u8],
415                        validate: bool,
416                    ) -> alloy_sol_types::Result<ISetCalls> {
417                        <requireExistCall as alloy_sol_types::SolCall>::abi_decode_raw(
418                                data,
419                                validate,
420                            )
421                            .map(ISetCalls::requireExist)
422                    }
423                    requireExist
424                },
425                {
426                    fn insert(
427                        data: &[u8],
428                        validate: bool,
429                    ) -> alloy_sol_types::Result<ISetCalls> {
430                        <insertCall as alloy_sol_types::SolCall>::abi_decode_raw(
431                                data,
432                                validate,
433                            )
434                            .map(ISetCalls::insert)
435                    }
436                    insert
437                },
438            ];
439            let Ok(idx) = Self::SELECTORS.binary_search(&selector) else {
440                return Err(
441                    alloy_sol_types::Error::unknown_selector(
442                        <Self as alloy_sol_types::SolInterface>::NAME,
443                        selector,
444                    ),
445                );
446            };
447            DECODE_SHIMS[idx](data, validate)
448        }
449        #[inline]
450        fn abi_encoded_size(&self) -> usize {
451            match self {
452                Self::insert(inner) => {
453                    <insertCall as alloy_sol_types::SolCall>::abi_encoded_size(inner)
454                }
455                Self::requireExist(inner) => {
456                    <requireExistCall as alloy_sol_types::SolCall>::abi_encoded_size(
457                        inner,
458                    )
459                }
460            }
461        }
462        #[inline]
463        fn abi_encode_raw(&self, out: &mut alloy_sol_types::private::Vec<u8>) {
464            match self {
465                Self::insert(inner) => {
466                    <insertCall as alloy_sol_types::SolCall>::abi_encode_raw(inner, out)
467                }
468                Self::requireExist(inner) => {
469                    <requireExistCall as alloy_sol_types::SolCall>::abi_encode_raw(
470                        inner,
471                        out,
472                    )
473                }
474            }
475        }
476    }
477    use alloy::contract as alloy_contract;
478    /**Creates a new wrapper around an on-chain [`ISet`](self) contract instance.
479
480See the [wrapper's documentation](`ISetInstance`) for more details.*/
481    #[inline]
482    pub const fn new<
483        T: alloy_contract::private::Transport + ::core::clone::Clone,
484        P: alloy_contract::private::Provider<T, N>,
485        N: alloy_contract::private::Network,
486    >(address: alloy_sol_types::private::Address, provider: P) -> ISetInstance<T, P, N> {
487        ISetInstance::<T, P, N>::new(address, provider)
488    }
489    /**Deploys this contract using the given `provider` and constructor arguments, if any.
490
491Returns a new instance of the contract, if the deployment was successful.
492
493For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
494    #[inline]
495    pub fn deploy<
496        T: alloy_contract::private::Transport + ::core::clone::Clone,
497        P: alloy_contract::private::Provider<T, N>,
498        N: alloy_contract::private::Network,
499    >(
500        provider: P,
501    ) -> impl ::core::future::Future<
502        Output = alloy_contract::Result<ISetInstance<T, P, N>>,
503    > {
504        ISetInstance::<T, P, N>::deploy(provider)
505    }
506    /**Creates a `RawCallBuilder` for deploying this contract using the given `provider`
507and constructor arguments, if any.
508
509This is a simple wrapper around creating a `RawCallBuilder` with the data set to
510the bytecode concatenated with the constructor's ABI-encoded arguments.*/
511    #[inline]
512    pub fn deploy_builder<
513        T: alloy_contract::private::Transport + ::core::clone::Clone,
514        P: alloy_contract::private::Provider<T, N>,
515        N: alloy_contract::private::Network,
516    >(provider: P) -> alloy_contract::RawCallBuilder<T, P, N> {
517        ISetInstance::<T, P, N>::deploy_builder(provider)
518    }
519    /**A [`ISet`](self) instance.
520
521Contains type-safe methods for interacting with an on-chain instance of the
522[`ISet`](self) contract located at a given `address`, using a given
523provider `P`.
524
525If the contract bytecode is available (see the [`sol!`](alloy_sol_types::sol!)
526documentation on how to provide it), the `deploy` and `deploy_builder` methods can
527be used to deploy a new instance of the contract.
528
529See the [module-level documentation](self) for all the available methods.*/
530    #[derive(Clone)]
531    pub struct ISetInstance<T, P, N = alloy_contract::private::Ethereum> {
532        address: alloy_sol_types::private::Address,
533        provider: P,
534        _network_transport: ::core::marker::PhantomData<(N, T)>,
535    }
536    #[automatically_derived]
537    impl<T, P, N> ::core::fmt::Debug for ISetInstance<T, P, N> {
538        #[inline]
539        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
540            f.debug_tuple("ISetInstance").field(&self.address).finish()
541        }
542    }
543    /// Instantiation and getters/setters.
544    #[automatically_derived]
545    impl<
546        T: alloy_contract::private::Transport + ::core::clone::Clone,
547        P: alloy_contract::private::Provider<T, N>,
548        N: alloy_contract::private::Network,
549    > ISetInstance<T, P, N> {
550        /**Creates a new wrapper around an on-chain [`ISet`](self) contract instance.
551
552See the [wrapper's documentation](`ISetInstance`) for more details.*/
553        #[inline]
554        pub const fn new(
555            address: alloy_sol_types::private::Address,
556            provider: P,
557        ) -> Self {
558            Self {
559                address,
560                provider,
561                _network_transport: ::core::marker::PhantomData,
562            }
563        }
564        /**Deploys this contract using the given `provider` and constructor arguments, if any.
565
566Returns a new instance of the contract, if the deployment was successful.
567
568For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
569        #[inline]
570        pub async fn deploy(
571            provider: P,
572        ) -> alloy_contract::Result<ISetInstance<T, P, N>> {
573            let call_builder = Self::deploy_builder(provider);
574            let contract_address = call_builder.deploy().await?;
575            Ok(Self::new(contract_address, call_builder.provider))
576        }
577        /**Creates a `RawCallBuilder` for deploying this contract using the given `provider`
578and constructor arguments, if any.
579
580This is a simple wrapper around creating a `RawCallBuilder` with the data set to
581the bytecode concatenated with the constructor's ABI-encoded arguments.*/
582        #[inline]
583        pub fn deploy_builder(provider: P) -> alloy_contract::RawCallBuilder<T, P, N> {
584            alloy_contract::RawCallBuilder::new_raw_deploy(
585                provider,
586                ::core::clone::Clone::clone(&BYTECODE),
587            )
588        }
589        /// Returns a reference to the address.
590        #[inline]
591        pub const fn address(&self) -> &alloy_sol_types::private::Address {
592            &self.address
593        }
594        /// Sets the address.
595        #[inline]
596        pub fn set_address(&mut self, address: alloy_sol_types::private::Address) {
597            self.address = address;
598        }
599        /// Sets the address and returns `self`.
600        pub fn at(mut self, address: alloy_sol_types::private::Address) -> Self {
601            self.set_address(address);
602            self
603        }
604        /// Returns a reference to the provider.
605        #[inline]
606        pub const fn provider(&self) -> &P {
607            &self.provider
608        }
609    }
610    impl<T, P: ::core::clone::Clone, N> ISetInstance<T, &P, N> {
611        /// Clones the provider and returns a new instance with the cloned provider.
612        #[inline]
613        pub fn with_cloned_provider(self) -> ISetInstance<T, P, N> {
614            ISetInstance {
615                address: self.address,
616                provider: ::core::clone::Clone::clone(&self.provider),
617                _network_transport: ::core::marker::PhantomData,
618            }
619        }
620    }
621    /// Function calls.
622    #[automatically_derived]
623    impl<
624        T: alloy_contract::private::Transport + ::core::clone::Clone,
625        P: alloy_contract::private::Provider<T, N>,
626        N: alloy_contract::private::Network,
627    > ISetInstance<T, P, N> {
628        /// Creates a new call builder using this contract instance's provider and address.
629        ///
630        /// Note that the call can be any function call, not just those defined in this
631        /// contract. Prefer using the other methods for building type-safe contract calls.
632        pub fn call_builder<C: alloy_sol_types::SolCall>(
633            &self,
634            call: &C,
635        ) -> alloy_contract::SolCallBuilder<T, &P, C, N> {
636            alloy_contract::SolCallBuilder::new_sol(&self.provider, &self.address, call)
637        }
638        ///Creates a new call builder for the [`insert`] function.
639        pub fn insert(
640            &self,
641            key: alloy::sol_types::private::FixedBytes<32>,
642            e: alloy::sol_types::private::FixedBytes<32>,
643        ) -> alloy_contract::SolCallBuilder<T, &P, insertCall, N> {
644            self.call_builder(&insertCall { key, e })
645        }
646        ///Creates a new call builder for the [`requireExist`] function.
647        pub fn requireExist(
648            &self,
649            key: alloy::sol_types::private::FixedBytes<32>,
650            e: alloy::sol_types::private::FixedBytes<32>,
651        ) -> alloy_contract::SolCallBuilder<T, &P, requireExistCall, N> {
652            self.call_builder(&requireExistCall { key, e })
653        }
654    }
655    /// Event filters.
656    #[automatically_derived]
657    impl<
658        T: alloy_contract::private::Transport + ::core::clone::Clone,
659        P: alloy_contract::private::Provider<T, N>,
660        N: alloy_contract::private::Network,
661    > ISetInstance<T, P, N> {
662        /// Creates a new event filter using this contract instance's provider and address.
663        ///
664        /// Note that the type can be any event, not just those defined in this contract.
665        /// Prefer using the other methods for building type-safe event filters.
666        pub fn event_filter<E: alloy_sol_types::SolEvent>(
667            &self,
668        ) -> alloy_contract::Event<T, &P, E, N> {
669            alloy_contract::Event::new_sol(&self.provider, &self.address)
670        }
671    }
672}