openzeppelin_rs/contracts/
IInbox.rs

1pub use i_inbox::*;
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 i_inbox {
13    #[rustfmt::skip]
14    const __ABI: &str = "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"messageNum\",\"type\":\"uint256\",\"components\":[],\"indexed\":true},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[],\"indexed\":false}],\"type\":\"event\",\"name\":\"InboxMessageDelivered\",\"outputs\":[],\"anonymous\":false},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"messageNum\",\"type\":\"uint256\",\"components\":[],\"indexed\":true}],\"type\":\"event\",\"name\":\"InboxMessageDeliveredFromOrigin\",\"outputs\":[],\"anonymous\":false},{\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"bridge\",\"outputs\":[{\"internalType\":\"contract IBridge\",\"name\":\"\",\"type\":\"address\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dataLength\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"baseFee\",\"type\":\"uint256\",\"components\":[]}],\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"calculateRetryableSubmissionFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"l2CallValue\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxSubmissionCost\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"excessFeeRefundAddress\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"callValueRefundAddress\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"createRetryableTicket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"depositEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"contract IBridge\",\"name\":\"_bridge\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"_sequencerInbox\",\"type\":\"address\",\"components\":[]}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"initialize\",\"outputs\":[]},{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"pause\",\"outputs\":[]},{\"inputs\":[{\"internalType\":\"contract IBridge\",\"name\":\"_bridge\",\"type\":\"address\",\"components\":[]}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"postUpgradeInit\",\"outputs\":[]},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"sendContractTransaction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"sendL1FundedContractTransaction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"sendL1FundedUnsignedTransaction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"messageData\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"sendL2Message\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"messageData\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"sendL2MessageFromOrigin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"sendUnsignedTransaction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]},{\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"sequencerInbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\",\"components\":[]}]},{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"unpause\",\"outputs\":[]},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"l2CallValue\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxSubmissionCost\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"excessFeeRefundAddress\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"address\",\"name\":\"callValueRefundAddress\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\",\"components\":[]},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"unsafeCreateRetryableTicket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\",\"components\":[]}]}]";
15    ///The parsed JSON ABI of the contract.
16    pub static IINBOX_ABI: ::ethers_contract::Lazy<::ethers_core::abi::Abi> = ::ethers_contract::Lazy::new(||
17    ::ethers_core::utils::__serde_json::from_str(__ABI).expect("ABI is always valid"));
18    pub struct IInbox<M>(::ethers_contract::Contract<M>);
19    impl<M> ::core::clone::Clone for IInbox<M> {
20        fn clone(&self) -> Self {
21            Self(::core::clone::Clone::clone(&self.0))
22        }
23    }
24    impl<M> ::core::ops::Deref for IInbox<M> {
25        type Target = ::ethers_contract::Contract<M>;
26        fn deref(&self) -> &Self::Target {
27            &self.0
28        }
29    }
30    impl<M> ::core::ops::DerefMut for IInbox<M> {
31        fn deref_mut(&mut self) -> &mut Self::Target {
32            &mut self.0
33        }
34    }
35    impl<M> ::core::fmt::Debug for IInbox<M> {
36        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
37            f.debug_tuple(stringify!(IInbox)).field(&self.address()).finish()
38        }
39    }
40    impl<M: ::ethers_providers::Middleware> IInbox<M> {
41        /// Creates a new contract instance with the specified `ethers` client at
42        /// `address`. The contract derefs to a `ethers::Contract` object.
43        pub fn new<T: Into<::ethers_core::types::Address>>(
44            address: T,
45            client: ::std::sync::Arc<M>,
46        ) -> Self {
47            Self(
48                ::ethers_contract::Contract::new(
49                    address.into(),
50                    IINBOX_ABI.clone(),
51                    client,
52                ),
53            )
54        }
55        ///Calls the contract's `bridge` (0xe78cea92) function
56        pub fn bridge(
57            &self,
58        ) -> ::ethers_contract::builders::ContractCall<
59            M,
60            ::ethers_core::types::Address,
61        > {
62            self.0
63                .method_hash([231, 140, 234, 146], ())
64                .expect("method not found (this should never happen)")
65        }
66        ///Calls the contract's `calculateRetryableSubmissionFee` (0xa66b327d) function
67        pub fn calculate_retryable_submission_fee(
68            &self,
69            data_length: ::ethers_core::types::U256,
70            base_fee: ::ethers_core::types::U256,
71        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
72            self.0
73                .method_hash([166, 107, 50, 125], (data_length, base_fee))
74                .expect("method not found (this should never happen)")
75        }
76        ///Calls the contract's `createRetryableTicket` (0x679b6ded) function
77        pub fn create_retryable_ticket(
78            &self,
79            to: ::ethers_core::types::Address,
80            l_2_call_value: ::ethers_core::types::U256,
81            max_submission_cost: ::ethers_core::types::U256,
82            excess_fee_refund_address: ::ethers_core::types::Address,
83            call_value_refund_address: ::ethers_core::types::Address,
84            gas_limit: ::ethers_core::types::U256,
85            max_fee_per_gas: ::ethers_core::types::U256,
86            data: ::ethers_core::types::Bytes,
87        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
88            self.0
89                .method_hash(
90                    [103, 155, 109, 237],
91                    (
92                        to,
93                        l_2_call_value,
94                        max_submission_cost,
95                        excess_fee_refund_address,
96                        call_value_refund_address,
97                        gas_limit,
98                        max_fee_per_gas,
99                        data,
100                    ),
101                )
102                .expect("method not found (this should never happen)")
103        }
104        ///Calls the contract's `depositEth` (0x439370b1) function
105        pub fn deposit_eth(
106            &self,
107        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
108            self.0
109                .method_hash([67, 147, 112, 177], ())
110                .expect("method not found (this should never happen)")
111        }
112        ///Calls the contract's `initialize` (0x485cc955) function
113        pub fn initialize(
114            &self,
115            bridge: ::ethers_core::types::Address,
116            sequencer_inbox: ::ethers_core::types::Address,
117        ) -> ::ethers_contract::builders::ContractCall<M, ()> {
118            self.0
119                .method_hash([72, 92, 201, 85], (bridge, sequencer_inbox))
120                .expect("method not found (this should never happen)")
121        }
122        ///Calls the contract's `pause` (0x8456cb59) function
123        pub fn pause(&self) -> ::ethers_contract::builders::ContractCall<M, ()> {
124            self.0
125                .method_hash([132, 86, 203, 89], ())
126                .expect("method not found (this should never happen)")
127        }
128        ///Calls the contract's `postUpgradeInit` (0xc474d2c5) function
129        pub fn post_upgrade_init(
130            &self,
131            bridge: ::ethers_core::types::Address,
132        ) -> ::ethers_contract::builders::ContractCall<M, ()> {
133            self.0
134                .method_hash([196, 116, 210, 197], bridge)
135                .expect("method not found (this should never happen)")
136        }
137        ///Calls the contract's `sendContractTransaction` (0x8a631aa6) function
138        pub fn send_contract_transaction(
139            &self,
140            gas_limit: ::ethers_core::types::U256,
141            max_fee_per_gas: ::ethers_core::types::U256,
142            to: ::ethers_core::types::Address,
143            value: ::ethers_core::types::U256,
144            data: ::ethers_core::types::Bytes,
145        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
146            self.0
147                .method_hash(
148                    [138, 99, 26, 166],
149                    (gas_limit, max_fee_per_gas, to, value, data),
150                )
151                .expect("method not found (this should never happen)")
152        }
153        ///Calls the contract's `sendL1FundedContractTransaction` (0x5e916758) function
154        pub fn send_l1_funded_contract_transaction(
155            &self,
156            gas_limit: ::ethers_core::types::U256,
157            max_fee_per_gas: ::ethers_core::types::U256,
158            to: ::ethers_core::types::Address,
159            data: ::ethers_core::types::Bytes,
160        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
161            self.0
162                .method_hash([94, 145, 103, 88], (gas_limit, max_fee_per_gas, to, data))
163                .expect("method not found (this should never happen)")
164        }
165        ///Calls the contract's `sendL1FundedUnsignedTransaction` (0x67ef3ab8) function
166        pub fn send_l1_funded_unsigned_transaction(
167            &self,
168            gas_limit: ::ethers_core::types::U256,
169            max_fee_per_gas: ::ethers_core::types::U256,
170            nonce: ::ethers_core::types::U256,
171            to: ::ethers_core::types::Address,
172            data: ::ethers_core::types::Bytes,
173        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
174            self.0
175                .method_hash(
176                    [103, 239, 58, 184],
177                    (gas_limit, max_fee_per_gas, nonce, to, data),
178                )
179                .expect("method not found (this should never happen)")
180        }
181        ///Calls the contract's `sendL2Message` (0xb75436bb) function
182        pub fn send_l2_message(
183            &self,
184            message_data: ::ethers_core::types::Bytes,
185        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
186            self.0
187                .method_hash([183, 84, 54, 187], message_data)
188                .expect("method not found (this should never happen)")
189        }
190        ///Calls the contract's `sendL2MessageFromOrigin` (0x1fe927cf) function
191        pub fn send_l2_message_from_origin(
192            &self,
193            message_data: ::ethers_core::types::Bytes,
194        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
195            self.0
196                .method_hash([31, 233, 39, 207], message_data)
197                .expect("method not found (this should never happen)")
198        }
199        ///Calls the contract's `sendUnsignedTransaction` (0x5075788b) function
200        pub fn send_unsigned_transaction(
201            &self,
202            gas_limit: ::ethers_core::types::U256,
203            max_fee_per_gas: ::ethers_core::types::U256,
204            nonce: ::ethers_core::types::U256,
205            to: ::ethers_core::types::Address,
206            value: ::ethers_core::types::U256,
207            data: ::ethers_core::types::Bytes,
208        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
209            self.0
210                .method_hash(
211                    [80, 117, 120, 139],
212                    (gas_limit, max_fee_per_gas, nonce, to, value, data),
213                )
214                .expect("method not found (this should never happen)")
215        }
216        ///Calls the contract's `sequencerInbox` (0xee35f327) function
217        pub fn sequencer_inbox(
218            &self,
219        ) -> ::ethers_contract::builders::ContractCall<
220            M,
221            ::ethers_core::types::Address,
222        > {
223            self.0
224                .method_hash([238, 53, 243, 39], ())
225                .expect("method not found (this should never happen)")
226        }
227        ///Calls the contract's `unpause` (0x3f4ba83a) function
228        pub fn unpause(&self) -> ::ethers_contract::builders::ContractCall<M, ()> {
229            self.0
230                .method_hash([63, 75, 168, 58], ())
231                .expect("method not found (this should never happen)")
232        }
233        ///Calls the contract's `unsafeCreateRetryableTicket` (0x6e6e8a6a) function
234        pub fn unsafe_create_retryable_ticket(
235            &self,
236            to: ::ethers_core::types::Address,
237            l_2_call_value: ::ethers_core::types::U256,
238            max_submission_cost: ::ethers_core::types::U256,
239            excess_fee_refund_address: ::ethers_core::types::Address,
240            call_value_refund_address: ::ethers_core::types::Address,
241            gas_limit: ::ethers_core::types::U256,
242            max_fee_per_gas: ::ethers_core::types::U256,
243            data: ::ethers_core::types::Bytes,
244        ) -> ::ethers_contract::builders::ContractCall<M, ::ethers_core::types::U256> {
245            self.0
246                .method_hash(
247                    [110, 110, 138, 106],
248                    (
249                        to,
250                        l_2_call_value,
251                        max_submission_cost,
252                        excess_fee_refund_address,
253                        call_value_refund_address,
254                        gas_limit,
255                        max_fee_per_gas,
256                        data,
257                    ),
258                )
259                .expect("method not found (this should never happen)")
260        }
261        ///Gets the contract's `InboxMessageDelivered` event
262        pub fn inbox_message_delivered_filter(
263            &self,
264        ) -> ::ethers_contract::builders::Event<
265            ::std::sync::Arc<M>,
266            M,
267            InboxMessageDeliveredFilter,
268        > {
269            self.0.event()
270        }
271        ///Gets the contract's `InboxMessageDeliveredFromOrigin` event
272        pub fn inbox_message_delivered_from_origin_filter(
273            &self,
274        ) -> ::ethers_contract::builders::Event<
275            ::std::sync::Arc<M>,
276            M,
277            InboxMessageDeliveredFromOriginFilter,
278        > {
279            self.0.event()
280        }
281        /// Returns an `Event` builder for all the events of this contract.
282        pub fn events(
283            &self,
284        ) -> ::ethers_contract::builders::Event<::std::sync::Arc<M>, M, IInboxEvents> {
285            self.0.event_with_filter(::core::default::Default::default())
286        }
287    }
288    impl<M: ::ethers_providers::Middleware> From<::ethers_contract::Contract<M>>
289    for IInbox<M> {
290        fn from(contract: ::ethers_contract::Contract<M>) -> Self {
291            Self::new(contract.address(), contract.client())
292        }
293    }
294    #[derive(
295        Clone,
296        ::ethers_contract::EthEvent,
297        ::ethers_contract::EthDisplay,
298        Default,
299        Debug,
300        PartialEq,
301        Eq,
302        Hash
303    )]
304    #[ethevent(
305        name = "InboxMessageDelivered",
306        abi = "InboxMessageDelivered(uint256,bytes)"
307    )]
308    pub struct InboxMessageDeliveredFilter {
309        #[ethevent(indexed)]
310        pub message_num: ::ethers_core::types::U256,
311        pub data: ::ethers_core::types::Bytes,
312    }
313    #[derive(
314        Clone,
315        ::ethers_contract::EthEvent,
316        ::ethers_contract::EthDisplay,
317        Default,
318        Debug,
319        PartialEq,
320        Eq,
321        Hash
322    )]
323    #[ethevent(
324        name = "InboxMessageDeliveredFromOrigin",
325        abi = "InboxMessageDeliveredFromOrigin(uint256)"
326    )]
327    pub struct InboxMessageDeliveredFromOriginFilter {
328        #[ethevent(indexed)]
329        pub message_num: ::ethers_core::types::U256,
330    }
331    ///Container type for all of the contract's events
332    #[derive(Clone, ::ethers_contract::EthAbiType, Debug, PartialEq, Eq, Hash)]
333    pub enum IInboxEvents {
334        InboxMessageDeliveredFilter(InboxMessageDeliveredFilter),
335        InboxMessageDeliveredFromOriginFilter(InboxMessageDeliveredFromOriginFilter),
336    }
337    impl ::ethers_contract::EthLogDecode for IInboxEvents {
338        fn decode_log(
339            log: &::ethers_core::abi::RawLog,
340        ) -> ::core::result::Result<Self, ::ethers_core::abi::Error> {
341            if let Ok(decoded) = InboxMessageDeliveredFilter::decode_log(log) {
342                return Ok(IInboxEvents::InboxMessageDeliveredFilter(decoded));
343            }
344            if let Ok(decoded) = InboxMessageDeliveredFromOriginFilter::decode_log(log) {
345                return Ok(IInboxEvents::InboxMessageDeliveredFromOriginFilter(decoded));
346            }
347            Err(::ethers_core::abi::Error::InvalidData)
348        }
349    }
350    impl ::core::fmt::Display for IInboxEvents {
351        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
352            match self {
353                Self::InboxMessageDeliveredFilter(element) => {
354                    ::core::fmt::Display::fmt(element, f)
355                }
356                Self::InboxMessageDeliveredFromOriginFilter(element) => {
357                    ::core::fmt::Display::fmt(element, f)
358                }
359            }
360        }
361    }
362    impl ::core::convert::From<InboxMessageDeliveredFilter> for IInboxEvents {
363        fn from(value: InboxMessageDeliveredFilter) -> Self {
364            Self::InboxMessageDeliveredFilter(value)
365        }
366    }
367    impl ::core::convert::From<InboxMessageDeliveredFromOriginFilter> for IInboxEvents {
368        fn from(value: InboxMessageDeliveredFromOriginFilter) -> Self {
369            Self::InboxMessageDeliveredFromOriginFilter(value)
370        }
371    }
372    ///Container type for all input parameters for the `bridge` function with signature `bridge()` and selector `0xe78cea92`
373    #[derive(
374        Clone,
375        ::ethers_contract::EthCall,
376        ::ethers_contract::EthDisplay,
377        Default,
378        Debug,
379        PartialEq,
380        Eq,
381        Hash
382    )]
383    #[ethcall(name = "bridge", abi = "bridge()")]
384    pub struct BridgeCall;
385    ///Container type for all input parameters for the `calculateRetryableSubmissionFee` function with signature `calculateRetryableSubmissionFee(uint256,uint256)` and selector `0xa66b327d`
386    #[derive(
387        Clone,
388        ::ethers_contract::EthCall,
389        ::ethers_contract::EthDisplay,
390        Default,
391        Debug,
392        PartialEq,
393        Eq,
394        Hash
395    )]
396    #[ethcall(
397        name = "calculateRetryableSubmissionFee",
398        abi = "calculateRetryableSubmissionFee(uint256,uint256)"
399    )]
400    pub struct CalculateRetryableSubmissionFeeCall {
401        pub data_length: ::ethers_core::types::U256,
402        pub base_fee: ::ethers_core::types::U256,
403    }
404    ///Container type for all input parameters for the `createRetryableTicket` function with signature `createRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)` and selector `0x679b6ded`
405    #[derive(
406        Clone,
407        ::ethers_contract::EthCall,
408        ::ethers_contract::EthDisplay,
409        Default,
410        Debug,
411        PartialEq,
412        Eq,
413        Hash
414    )]
415    #[ethcall(
416        name = "createRetryableTicket",
417        abi = "createRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)"
418    )]
419    pub struct CreateRetryableTicketCall {
420        pub to: ::ethers_core::types::Address,
421        pub l_2_call_value: ::ethers_core::types::U256,
422        pub max_submission_cost: ::ethers_core::types::U256,
423        pub excess_fee_refund_address: ::ethers_core::types::Address,
424        pub call_value_refund_address: ::ethers_core::types::Address,
425        pub gas_limit: ::ethers_core::types::U256,
426        pub max_fee_per_gas: ::ethers_core::types::U256,
427        pub data: ::ethers_core::types::Bytes,
428    }
429    ///Container type for all input parameters for the `depositEth` function with signature `depositEth()` and selector `0x439370b1`
430    #[derive(
431        Clone,
432        ::ethers_contract::EthCall,
433        ::ethers_contract::EthDisplay,
434        Default,
435        Debug,
436        PartialEq,
437        Eq,
438        Hash
439    )]
440    #[ethcall(name = "depositEth", abi = "depositEth()")]
441    pub struct DepositEthCall;
442    ///Container type for all input parameters for the `initialize` function with signature `initialize(address,address)` and selector `0x485cc955`
443    #[derive(
444        Clone,
445        ::ethers_contract::EthCall,
446        ::ethers_contract::EthDisplay,
447        Default,
448        Debug,
449        PartialEq,
450        Eq,
451        Hash
452    )]
453    #[ethcall(name = "initialize", abi = "initialize(address,address)")]
454    pub struct InitializeCall {
455        pub bridge: ::ethers_core::types::Address,
456        pub sequencer_inbox: ::ethers_core::types::Address,
457    }
458    ///Container type for all input parameters for the `pause` function with signature `pause()` and selector `0x8456cb59`
459    #[derive(
460        Clone,
461        ::ethers_contract::EthCall,
462        ::ethers_contract::EthDisplay,
463        Default,
464        Debug,
465        PartialEq,
466        Eq,
467        Hash
468    )]
469    #[ethcall(name = "pause", abi = "pause()")]
470    pub struct PauseCall;
471    ///Container type for all input parameters for the `postUpgradeInit` function with signature `postUpgradeInit(address)` and selector `0xc474d2c5`
472    #[derive(
473        Clone,
474        ::ethers_contract::EthCall,
475        ::ethers_contract::EthDisplay,
476        Default,
477        Debug,
478        PartialEq,
479        Eq,
480        Hash
481    )]
482    #[ethcall(name = "postUpgradeInit", abi = "postUpgradeInit(address)")]
483    pub struct PostUpgradeInitCall {
484        pub bridge: ::ethers_core::types::Address,
485    }
486    ///Container type for all input parameters for the `sendContractTransaction` function with signature `sendContractTransaction(uint256,uint256,address,uint256,bytes)` and selector `0x8a631aa6`
487    #[derive(
488        Clone,
489        ::ethers_contract::EthCall,
490        ::ethers_contract::EthDisplay,
491        Default,
492        Debug,
493        PartialEq,
494        Eq,
495        Hash
496    )]
497    #[ethcall(
498        name = "sendContractTransaction",
499        abi = "sendContractTransaction(uint256,uint256,address,uint256,bytes)"
500    )]
501    pub struct SendContractTransactionCall {
502        pub gas_limit: ::ethers_core::types::U256,
503        pub max_fee_per_gas: ::ethers_core::types::U256,
504        pub to: ::ethers_core::types::Address,
505        pub value: ::ethers_core::types::U256,
506        pub data: ::ethers_core::types::Bytes,
507    }
508    ///Container type for all input parameters for the `sendL1FundedContractTransaction` function with signature `sendL1FundedContractTransaction(uint256,uint256,address,bytes)` and selector `0x5e916758`
509    #[derive(
510        Clone,
511        ::ethers_contract::EthCall,
512        ::ethers_contract::EthDisplay,
513        Default,
514        Debug,
515        PartialEq,
516        Eq,
517        Hash
518    )]
519    #[ethcall(
520        name = "sendL1FundedContractTransaction",
521        abi = "sendL1FundedContractTransaction(uint256,uint256,address,bytes)"
522    )]
523    pub struct SendL1FundedContractTransactionCall {
524        pub gas_limit: ::ethers_core::types::U256,
525        pub max_fee_per_gas: ::ethers_core::types::U256,
526        pub to: ::ethers_core::types::Address,
527        pub data: ::ethers_core::types::Bytes,
528    }
529    ///Container type for all input parameters for the `sendL1FundedUnsignedTransaction` function with signature `sendL1FundedUnsignedTransaction(uint256,uint256,uint256,address,bytes)` and selector `0x67ef3ab8`
530    #[derive(
531        Clone,
532        ::ethers_contract::EthCall,
533        ::ethers_contract::EthDisplay,
534        Default,
535        Debug,
536        PartialEq,
537        Eq,
538        Hash
539    )]
540    #[ethcall(
541        name = "sendL1FundedUnsignedTransaction",
542        abi = "sendL1FundedUnsignedTransaction(uint256,uint256,uint256,address,bytes)"
543    )]
544    pub struct SendL1FundedUnsignedTransactionCall {
545        pub gas_limit: ::ethers_core::types::U256,
546        pub max_fee_per_gas: ::ethers_core::types::U256,
547        pub nonce: ::ethers_core::types::U256,
548        pub to: ::ethers_core::types::Address,
549        pub data: ::ethers_core::types::Bytes,
550    }
551    ///Container type for all input parameters for the `sendL2Message` function with signature `sendL2Message(bytes)` and selector `0xb75436bb`
552    #[derive(
553        Clone,
554        ::ethers_contract::EthCall,
555        ::ethers_contract::EthDisplay,
556        Default,
557        Debug,
558        PartialEq,
559        Eq,
560        Hash
561    )]
562    #[ethcall(name = "sendL2Message", abi = "sendL2Message(bytes)")]
563    pub struct SendL2MessageCall {
564        pub message_data: ::ethers_core::types::Bytes,
565    }
566    ///Container type for all input parameters for the `sendL2MessageFromOrigin` function with signature `sendL2MessageFromOrigin(bytes)` and selector `0x1fe927cf`
567    #[derive(
568        Clone,
569        ::ethers_contract::EthCall,
570        ::ethers_contract::EthDisplay,
571        Default,
572        Debug,
573        PartialEq,
574        Eq,
575        Hash
576    )]
577    #[ethcall(name = "sendL2MessageFromOrigin", abi = "sendL2MessageFromOrigin(bytes)")]
578    pub struct SendL2MessageFromOriginCall {
579        pub message_data: ::ethers_core::types::Bytes,
580    }
581    ///Container type for all input parameters for the `sendUnsignedTransaction` function with signature `sendUnsignedTransaction(uint256,uint256,uint256,address,uint256,bytes)` and selector `0x5075788b`
582    #[derive(
583        Clone,
584        ::ethers_contract::EthCall,
585        ::ethers_contract::EthDisplay,
586        Default,
587        Debug,
588        PartialEq,
589        Eq,
590        Hash
591    )]
592    #[ethcall(
593        name = "sendUnsignedTransaction",
594        abi = "sendUnsignedTransaction(uint256,uint256,uint256,address,uint256,bytes)"
595    )]
596    pub struct SendUnsignedTransactionCall {
597        pub gas_limit: ::ethers_core::types::U256,
598        pub max_fee_per_gas: ::ethers_core::types::U256,
599        pub nonce: ::ethers_core::types::U256,
600        pub to: ::ethers_core::types::Address,
601        pub value: ::ethers_core::types::U256,
602        pub data: ::ethers_core::types::Bytes,
603    }
604    ///Container type for all input parameters for the `sequencerInbox` function with signature `sequencerInbox()` and selector `0xee35f327`
605    #[derive(
606        Clone,
607        ::ethers_contract::EthCall,
608        ::ethers_contract::EthDisplay,
609        Default,
610        Debug,
611        PartialEq,
612        Eq,
613        Hash
614    )]
615    #[ethcall(name = "sequencerInbox", abi = "sequencerInbox()")]
616    pub struct SequencerInboxCall;
617    ///Container type for all input parameters for the `unpause` function with signature `unpause()` and selector `0x3f4ba83a`
618    #[derive(
619        Clone,
620        ::ethers_contract::EthCall,
621        ::ethers_contract::EthDisplay,
622        Default,
623        Debug,
624        PartialEq,
625        Eq,
626        Hash
627    )]
628    #[ethcall(name = "unpause", abi = "unpause()")]
629    pub struct UnpauseCall;
630    ///Container type for all input parameters for the `unsafeCreateRetryableTicket` function with signature `unsafeCreateRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)` and selector `0x6e6e8a6a`
631    #[derive(
632        Clone,
633        ::ethers_contract::EthCall,
634        ::ethers_contract::EthDisplay,
635        Default,
636        Debug,
637        PartialEq,
638        Eq,
639        Hash
640    )]
641    #[ethcall(
642        name = "unsafeCreateRetryableTicket",
643        abi = "unsafeCreateRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)"
644    )]
645    pub struct UnsafeCreateRetryableTicketCall {
646        pub to: ::ethers_core::types::Address,
647        pub l_2_call_value: ::ethers_core::types::U256,
648        pub max_submission_cost: ::ethers_core::types::U256,
649        pub excess_fee_refund_address: ::ethers_core::types::Address,
650        pub call_value_refund_address: ::ethers_core::types::Address,
651        pub gas_limit: ::ethers_core::types::U256,
652        pub max_fee_per_gas: ::ethers_core::types::U256,
653        pub data: ::ethers_core::types::Bytes,
654    }
655    ///Container type for all of the contract's call
656    #[derive(Clone, ::ethers_contract::EthAbiType, Debug, PartialEq, Eq, Hash)]
657    pub enum IInboxCalls {
658        Bridge(BridgeCall),
659        CalculateRetryableSubmissionFee(CalculateRetryableSubmissionFeeCall),
660        CreateRetryableTicket(CreateRetryableTicketCall),
661        DepositEth(DepositEthCall),
662        Initialize(InitializeCall),
663        Pause(PauseCall),
664        PostUpgradeInit(PostUpgradeInitCall),
665        SendContractTransaction(SendContractTransactionCall),
666        SendL1FundedContractTransaction(SendL1FundedContractTransactionCall),
667        SendL1FundedUnsignedTransaction(SendL1FundedUnsignedTransactionCall),
668        SendL2Message(SendL2MessageCall),
669        SendL2MessageFromOrigin(SendL2MessageFromOriginCall),
670        SendUnsignedTransaction(SendUnsignedTransactionCall),
671        SequencerInbox(SequencerInboxCall),
672        Unpause(UnpauseCall),
673        UnsafeCreateRetryableTicket(UnsafeCreateRetryableTicketCall),
674    }
675    impl ::ethers_core::abi::AbiDecode for IInboxCalls {
676        fn decode(
677            data: impl AsRef<[u8]>,
678        ) -> ::core::result::Result<Self, ::ethers_core::abi::AbiError> {
679            let data = data.as_ref();
680            if let Ok(decoded)
681                = <BridgeCall as ::ethers_core::abi::AbiDecode>::decode(data) {
682                return Ok(Self::Bridge(decoded));
683            }
684            if let Ok(decoded)
685                = <CalculateRetryableSubmissionFeeCall as ::ethers_core::abi::AbiDecode>::decode(
686                    data,
687                ) {
688                return Ok(Self::CalculateRetryableSubmissionFee(decoded));
689            }
690            if let Ok(decoded)
691                = <CreateRetryableTicketCall as ::ethers_core::abi::AbiDecode>::decode(
692                    data,
693                ) {
694                return Ok(Self::CreateRetryableTicket(decoded));
695            }
696            if let Ok(decoded)
697                = <DepositEthCall as ::ethers_core::abi::AbiDecode>::decode(data) {
698                return Ok(Self::DepositEth(decoded));
699            }
700            if let Ok(decoded)
701                = <InitializeCall as ::ethers_core::abi::AbiDecode>::decode(data) {
702                return Ok(Self::Initialize(decoded));
703            }
704            if let Ok(decoded)
705                = <PauseCall as ::ethers_core::abi::AbiDecode>::decode(data) {
706                return Ok(Self::Pause(decoded));
707            }
708            if let Ok(decoded)
709                = <PostUpgradeInitCall as ::ethers_core::abi::AbiDecode>::decode(data) {
710                return Ok(Self::PostUpgradeInit(decoded));
711            }
712            if let Ok(decoded)
713                = <SendContractTransactionCall as ::ethers_core::abi::AbiDecode>::decode(
714                    data,
715                ) {
716                return Ok(Self::SendContractTransaction(decoded));
717            }
718            if let Ok(decoded)
719                = <SendL1FundedContractTransactionCall as ::ethers_core::abi::AbiDecode>::decode(
720                    data,
721                ) {
722                return Ok(Self::SendL1FundedContractTransaction(decoded));
723            }
724            if let Ok(decoded)
725                = <SendL1FundedUnsignedTransactionCall as ::ethers_core::abi::AbiDecode>::decode(
726                    data,
727                ) {
728                return Ok(Self::SendL1FundedUnsignedTransaction(decoded));
729            }
730            if let Ok(decoded)
731                = <SendL2MessageCall as ::ethers_core::abi::AbiDecode>::decode(data) {
732                return Ok(Self::SendL2Message(decoded));
733            }
734            if let Ok(decoded)
735                = <SendL2MessageFromOriginCall as ::ethers_core::abi::AbiDecode>::decode(
736                    data,
737                ) {
738                return Ok(Self::SendL2MessageFromOrigin(decoded));
739            }
740            if let Ok(decoded)
741                = <SendUnsignedTransactionCall as ::ethers_core::abi::AbiDecode>::decode(
742                    data,
743                ) {
744                return Ok(Self::SendUnsignedTransaction(decoded));
745            }
746            if let Ok(decoded)
747                = <SequencerInboxCall as ::ethers_core::abi::AbiDecode>::decode(data) {
748                return Ok(Self::SequencerInbox(decoded));
749            }
750            if let Ok(decoded)
751                = <UnpauseCall as ::ethers_core::abi::AbiDecode>::decode(data) {
752                return Ok(Self::Unpause(decoded));
753            }
754            if let Ok(decoded)
755                = <UnsafeCreateRetryableTicketCall as ::ethers_core::abi::AbiDecode>::decode(
756                    data,
757                ) {
758                return Ok(Self::UnsafeCreateRetryableTicket(decoded));
759            }
760            Err(::ethers_core::abi::Error::InvalidData.into())
761        }
762    }
763    impl ::ethers_core::abi::AbiEncode for IInboxCalls {
764        fn encode(self) -> Vec<u8> {
765            match self {
766                Self::Bridge(element) => ::ethers_core::abi::AbiEncode::encode(element),
767                Self::CalculateRetryableSubmissionFee(element) => {
768                    ::ethers_core::abi::AbiEncode::encode(element)
769                }
770                Self::CreateRetryableTicket(element) => {
771                    ::ethers_core::abi::AbiEncode::encode(element)
772                }
773                Self::DepositEth(element) => {
774                    ::ethers_core::abi::AbiEncode::encode(element)
775                }
776                Self::Initialize(element) => {
777                    ::ethers_core::abi::AbiEncode::encode(element)
778                }
779                Self::Pause(element) => ::ethers_core::abi::AbiEncode::encode(element),
780                Self::PostUpgradeInit(element) => {
781                    ::ethers_core::abi::AbiEncode::encode(element)
782                }
783                Self::SendContractTransaction(element) => {
784                    ::ethers_core::abi::AbiEncode::encode(element)
785                }
786                Self::SendL1FundedContractTransaction(element) => {
787                    ::ethers_core::abi::AbiEncode::encode(element)
788                }
789                Self::SendL1FundedUnsignedTransaction(element) => {
790                    ::ethers_core::abi::AbiEncode::encode(element)
791                }
792                Self::SendL2Message(element) => {
793                    ::ethers_core::abi::AbiEncode::encode(element)
794                }
795                Self::SendL2MessageFromOrigin(element) => {
796                    ::ethers_core::abi::AbiEncode::encode(element)
797                }
798                Self::SendUnsignedTransaction(element) => {
799                    ::ethers_core::abi::AbiEncode::encode(element)
800                }
801                Self::SequencerInbox(element) => {
802                    ::ethers_core::abi::AbiEncode::encode(element)
803                }
804                Self::Unpause(element) => ::ethers_core::abi::AbiEncode::encode(element),
805                Self::UnsafeCreateRetryableTicket(element) => {
806                    ::ethers_core::abi::AbiEncode::encode(element)
807                }
808            }
809        }
810    }
811    impl ::core::fmt::Display for IInboxCalls {
812        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
813            match self {
814                Self::Bridge(element) => ::core::fmt::Display::fmt(element, f),
815                Self::CalculateRetryableSubmissionFee(element) => {
816                    ::core::fmt::Display::fmt(element, f)
817                }
818                Self::CreateRetryableTicket(element) => {
819                    ::core::fmt::Display::fmt(element, f)
820                }
821                Self::DepositEth(element) => ::core::fmt::Display::fmt(element, f),
822                Self::Initialize(element) => ::core::fmt::Display::fmt(element, f),
823                Self::Pause(element) => ::core::fmt::Display::fmt(element, f),
824                Self::PostUpgradeInit(element) => ::core::fmt::Display::fmt(element, f),
825                Self::SendContractTransaction(element) => {
826                    ::core::fmt::Display::fmt(element, f)
827                }
828                Self::SendL1FundedContractTransaction(element) => {
829                    ::core::fmt::Display::fmt(element, f)
830                }
831                Self::SendL1FundedUnsignedTransaction(element) => {
832                    ::core::fmt::Display::fmt(element, f)
833                }
834                Self::SendL2Message(element) => ::core::fmt::Display::fmt(element, f),
835                Self::SendL2MessageFromOrigin(element) => {
836                    ::core::fmt::Display::fmt(element, f)
837                }
838                Self::SendUnsignedTransaction(element) => {
839                    ::core::fmt::Display::fmt(element, f)
840                }
841                Self::SequencerInbox(element) => ::core::fmt::Display::fmt(element, f),
842                Self::Unpause(element) => ::core::fmt::Display::fmt(element, f),
843                Self::UnsafeCreateRetryableTicket(element) => {
844                    ::core::fmt::Display::fmt(element, f)
845                }
846            }
847        }
848    }
849    impl ::core::convert::From<BridgeCall> for IInboxCalls {
850        fn from(value: BridgeCall) -> Self {
851            Self::Bridge(value)
852        }
853    }
854    impl ::core::convert::From<CalculateRetryableSubmissionFeeCall> for IInboxCalls {
855        fn from(value: CalculateRetryableSubmissionFeeCall) -> Self {
856            Self::CalculateRetryableSubmissionFee(value)
857        }
858    }
859    impl ::core::convert::From<CreateRetryableTicketCall> for IInboxCalls {
860        fn from(value: CreateRetryableTicketCall) -> Self {
861            Self::CreateRetryableTicket(value)
862        }
863    }
864    impl ::core::convert::From<DepositEthCall> for IInboxCalls {
865        fn from(value: DepositEthCall) -> Self {
866            Self::DepositEth(value)
867        }
868    }
869    impl ::core::convert::From<InitializeCall> for IInboxCalls {
870        fn from(value: InitializeCall) -> Self {
871            Self::Initialize(value)
872        }
873    }
874    impl ::core::convert::From<PauseCall> for IInboxCalls {
875        fn from(value: PauseCall) -> Self {
876            Self::Pause(value)
877        }
878    }
879    impl ::core::convert::From<PostUpgradeInitCall> for IInboxCalls {
880        fn from(value: PostUpgradeInitCall) -> Self {
881            Self::PostUpgradeInit(value)
882        }
883    }
884    impl ::core::convert::From<SendContractTransactionCall> for IInboxCalls {
885        fn from(value: SendContractTransactionCall) -> Self {
886            Self::SendContractTransaction(value)
887        }
888    }
889    impl ::core::convert::From<SendL1FundedContractTransactionCall> for IInboxCalls {
890        fn from(value: SendL1FundedContractTransactionCall) -> Self {
891            Self::SendL1FundedContractTransaction(value)
892        }
893    }
894    impl ::core::convert::From<SendL1FundedUnsignedTransactionCall> for IInboxCalls {
895        fn from(value: SendL1FundedUnsignedTransactionCall) -> Self {
896            Self::SendL1FundedUnsignedTransaction(value)
897        }
898    }
899    impl ::core::convert::From<SendL2MessageCall> for IInboxCalls {
900        fn from(value: SendL2MessageCall) -> Self {
901            Self::SendL2Message(value)
902        }
903    }
904    impl ::core::convert::From<SendL2MessageFromOriginCall> for IInboxCalls {
905        fn from(value: SendL2MessageFromOriginCall) -> Self {
906            Self::SendL2MessageFromOrigin(value)
907        }
908    }
909    impl ::core::convert::From<SendUnsignedTransactionCall> for IInboxCalls {
910        fn from(value: SendUnsignedTransactionCall) -> Self {
911            Self::SendUnsignedTransaction(value)
912        }
913    }
914    impl ::core::convert::From<SequencerInboxCall> for IInboxCalls {
915        fn from(value: SequencerInboxCall) -> Self {
916            Self::SequencerInbox(value)
917        }
918    }
919    impl ::core::convert::From<UnpauseCall> for IInboxCalls {
920        fn from(value: UnpauseCall) -> Self {
921            Self::Unpause(value)
922        }
923    }
924    impl ::core::convert::From<UnsafeCreateRetryableTicketCall> for IInboxCalls {
925        fn from(value: UnsafeCreateRetryableTicketCall) -> Self {
926            Self::UnsafeCreateRetryableTicket(value)
927        }
928    }
929    ///Container type for all return fields from the `bridge` function with signature `bridge()` and selector `0xe78cea92`
930    #[derive(
931        Clone,
932        ::ethers_contract::EthAbiType,
933        ::ethers_contract::EthAbiCodec,
934        Default,
935        Debug,
936        PartialEq,
937        Eq,
938        Hash
939    )]
940    pub struct BridgeReturn(pub ::ethers_core::types::Address);
941    ///Container type for all return fields from the `calculateRetryableSubmissionFee` function with signature `calculateRetryableSubmissionFee(uint256,uint256)` and selector `0xa66b327d`
942    #[derive(
943        Clone,
944        ::ethers_contract::EthAbiType,
945        ::ethers_contract::EthAbiCodec,
946        Default,
947        Debug,
948        PartialEq,
949        Eq,
950        Hash
951    )]
952    pub struct CalculateRetryableSubmissionFeeReturn(pub ::ethers_core::types::U256);
953    ///Container type for all return fields from the `createRetryableTicket` function with signature `createRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)` and selector `0x679b6ded`
954    #[derive(
955        Clone,
956        ::ethers_contract::EthAbiType,
957        ::ethers_contract::EthAbiCodec,
958        Default,
959        Debug,
960        PartialEq,
961        Eq,
962        Hash
963    )]
964    pub struct CreateRetryableTicketReturn(pub ::ethers_core::types::U256);
965    ///Container type for all return fields from the `depositEth` function with signature `depositEth()` and selector `0x439370b1`
966    #[derive(
967        Clone,
968        ::ethers_contract::EthAbiType,
969        ::ethers_contract::EthAbiCodec,
970        Default,
971        Debug,
972        PartialEq,
973        Eq,
974        Hash
975    )]
976    pub struct DepositEthReturn(pub ::ethers_core::types::U256);
977    ///Container type for all return fields from the `sendContractTransaction` function with signature `sendContractTransaction(uint256,uint256,address,uint256,bytes)` and selector `0x8a631aa6`
978    #[derive(
979        Clone,
980        ::ethers_contract::EthAbiType,
981        ::ethers_contract::EthAbiCodec,
982        Default,
983        Debug,
984        PartialEq,
985        Eq,
986        Hash
987    )]
988    pub struct SendContractTransactionReturn(pub ::ethers_core::types::U256);
989    ///Container type for all return fields from the `sendL1FundedContractTransaction` function with signature `sendL1FundedContractTransaction(uint256,uint256,address,bytes)` and selector `0x5e916758`
990    #[derive(
991        Clone,
992        ::ethers_contract::EthAbiType,
993        ::ethers_contract::EthAbiCodec,
994        Default,
995        Debug,
996        PartialEq,
997        Eq,
998        Hash
999    )]
1000    pub struct SendL1FundedContractTransactionReturn(pub ::ethers_core::types::U256);
1001    ///Container type for all return fields from the `sendL1FundedUnsignedTransaction` function with signature `sendL1FundedUnsignedTransaction(uint256,uint256,uint256,address,bytes)` and selector `0x67ef3ab8`
1002    #[derive(
1003        Clone,
1004        ::ethers_contract::EthAbiType,
1005        ::ethers_contract::EthAbiCodec,
1006        Default,
1007        Debug,
1008        PartialEq,
1009        Eq,
1010        Hash
1011    )]
1012    pub struct SendL1FundedUnsignedTransactionReturn(pub ::ethers_core::types::U256);
1013    ///Container type for all return fields from the `sendL2Message` function with signature `sendL2Message(bytes)` and selector `0xb75436bb`
1014    #[derive(
1015        Clone,
1016        ::ethers_contract::EthAbiType,
1017        ::ethers_contract::EthAbiCodec,
1018        Default,
1019        Debug,
1020        PartialEq,
1021        Eq,
1022        Hash
1023    )]
1024    pub struct SendL2MessageReturn(pub ::ethers_core::types::U256);
1025    ///Container type for all return fields from the `sendL2MessageFromOrigin` function with signature `sendL2MessageFromOrigin(bytes)` and selector `0x1fe927cf`
1026    #[derive(
1027        Clone,
1028        ::ethers_contract::EthAbiType,
1029        ::ethers_contract::EthAbiCodec,
1030        Default,
1031        Debug,
1032        PartialEq,
1033        Eq,
1034        Hash
1035    )]
1036    pub struct SendL2MessageFromOriginReturn(pub ::ethers_core::types::U256);
1037    ///Container type for all return fields from the `sendUnsignedTransaction` function with signature `sendUnsignedTransaction(uint256,uint256,uint256,address,uint256,bytes)` and selector `0x5075788b`
1038    #[derive(
1039        Clone,
1040        ::ethers_contract::EthAbiType,
1041        ::ethers_contract::EthAbiCodec,
1042        Default,
1043        Debug,
1044        PartialEq,
1045        Eq,
1046        Hash
1047    )]
1048    pub struct SendUnsignedTransactionReturn(pub ::ethers_core::types::U256);
1049    ///Container type for all return fields from the `sequencerInbox` function with signature `sequencerInbox()` and selector `0xee35f327`
1050    #[derive(
1051        Clone,
1052        ::ethers_contract::EthAbiType,
1053        ::ethers_contract::EthAbiCodec,
1054        Default,
1055        Debug,
1056        PartialEq,
1057        Eq,
1058        Hash
1059    )]
1060    pub struct SequencerInboxReturn(pub ::ethers_core::types::Address);
1061    ///Container type for all return fields from the `unsafeCreateRetryableTicket` function with signature `unsafeCreateRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)` and selector `0x6e6e8a6a`
1062    #[derive(
1063        Clone,
1064        ::ethers_contract::EthAbiType,
1065        ::ethers_contract::EthAbiCodec,
1066        Default,
1067        Debug,
1068        PartialEq,
1069        Eq,
1070        Hash
1071    )]
1072    pub struct UnsafeCreateRetryableTicketReturn(pub ::ethers_core::types::U256);
1073}