@@ -42,7 +42,7 @@ pub mod AddressUpgradeable {
4242 use alloy:: contract as alloy_contract;
4343 /**Creates a new wrapper around an on-chain [`AddressUpgradeable`](self) contract instance.
4444
45- See the [wrapper's documentation](`AddressUpgradeableInstance`) for more details.*/
45+ See the [wrapper's documentation](`AddressUpgradeableInstance`) for more details.*/
4646 #[ inline]
4747 pub const fn new <
4848 T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
@@ -56,45 +56,46 @@ See the [wrapper's documentation](`AddressUpgradeableInstance`) for more details
5656 }
5757 /**Deploys this contract using the given `provider` and constructor arguments, if any.
5858
59- Returns a new instance of the contract, if the deployment was successful.
59+ Returns a new instance of the contract, if the deployment was successful.
6060
61- For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
61+ For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
6262 #[ inline]
6363 pub fn deploy <
6464 T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
6565 P : alloy_contract:: private:: Provider < T , N > ,
6666 N : alloy_contract:: private:: Network ,
6767 > (
6868 provider : P ,
69- ) -> impl :: core:: future:: Future <
70- Output = alloy_contract:: Result < AddressUpgradeableInstance < T , P , N > > ,
71- > {
69+ ) -> impl :: core:: future:: Future < Output = alloy_contract:: Result < AddressUpgradeableInstance < T , P , N > > >
70+ {
7271 AddressUpgradeableInstance :: < T , P , N > :: deploy ( provider)
7372 }
7473 /**Creates a `RawCallBuilder` for deploying this contract using the given `provider`
75- and constructor arguments, if any.
74+ and constructor arguments, if any.
7675
77- This is a simple wrapper around creating a `RawCallBuilder` with the data set to
78- the bytecode concatenated with the constructor's ABI-encoded arguments.*/
76+ This is a simple wrapper around creating a `RawCallBuilder` with the data set to
77+ the bytecode concatenated with the constructor's ABI-encoded arguments.*/
7978 #[ inline]
8079 pub fn deploy_builder <
8180 T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
8281 P : alloy_contract:: private:: Provider < T , N > ,
8382 N : alloy_contract:: private:: Network ,
84- > ( provider : P ) -> alloy_contract:: RawCallBuilder < T , P , N > {
83+ > (
84+ provider : P ,
85+ ) -> alloy_contract:: RawCallBuilder < T , P , N > {
8586 AddressUpgradeableInstance :: < T , P , N > :: deploy_builder ( provider)
8687 }
8788 /**A [`AddressUpgradeable`](self) instance.
8889
89- Contains type-safe methods for interacting with an on-chain instance of the
90- [`AddressUpgradeable`](self) contract located at a given `address`, using a given
91- provider `P`.
90+ Contains type-safe methods for interacting with an on-chain instance of the
91+ [`AddressUpgradeable`](self) contract located at a given `address`, using a given
92+ provider `P`.
9293
93- If the contract bytecode is available (see the [`sol!`](alloy_sol_types::sol!)
94- documentation on how to provide it), the `deploy` and `deploy_builder` methods can
95- be used to deploy a new instance of the contract.
94+ If the contract bytecode is available (see the [`sol!`](alloy_sol_types::sol!)
95+ documentation on how to provide it), the `deploy` and `deploy_builder` methods can
96+ be used to deploy a new instance of the contract.
9697
97- See the [module-level documentation](self) for all the available methods.*/
98+ See the [module-level documentation](self) for all the available methods.*/
9899 #[ derive( Clone ) ]
99100 pub struct AddressUpgradeableInstance < T , P , N = alloy_contract:: private:: Ethereum > {
100101 address : alloy_sol_types:: private:: Address ,
@@ -111,29 +112,23 @@ See the [module-level documentation](self) for all the available methods.*/
111112 /// Instantiation and getters/setters.
112113 #[ automatically_derived]
113114 impl <
114- T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
115- P : alloy_contract:: private:: Provider < T , N > ,
116- N : alloy_contract:: private:: Network ,
117- > AddressUpgradeableInstance < T , P , N > {
115+ T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
116+ P : alloy_contract:: private:: Provider < T , N > ,
117+ N : alloy_contract:: private:: Network ,
118+ > AddressUpgradeableInstance < T , P , N >
119+ {
118120 /**Creates a new wrapper around an on-chain [`AddressUpgradeable`](self) contract instance.
119121
120- See the [wrapper's documentation](`AddressUpgradeableInstance`) for more details.*/
122+ See the [wrapper's documentation](`AddressUpgradeableInstance`) for more details.*/
121123 #[ inline]
122- pub const fn new (
123- address : alloy_sol_types:: private:: Address ,
124- provider : P ,
125- ) -> Self {
126- Self {
127- address,
128- provider,
129- _network_transport : :: core:: marker:: PhantomData ,
130- }
124+ pub const fn new ( address : alloy_sol_types:: private:: Address , provider : P ) -> Self {
125+ Self { address, provider, _network_transport : :: core:: marker:: PhantomData }
131126 }
132127 /**Deploys this contract using the given `provider` and constructor arguments, if any.
133128
134- Returns a new instance of the contract, if the deployment was successful.
129+ Returns a new instance of the contract, if the deployment was successful.
135130
136- For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
131+ For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
137132 #[ inline]
138133 pub async fn deploy (
139134 provider : P ,
@@ -143,10 +138,10 @@ For more fine-grained control over the deployment process, use [`deploy_builder`
143138 Ok ( Self :: new ( contract_address, call_builder. provider ) )
144139 }
145140 /**Creates a `RawCallBuilder` for deploying this contract using the given `provider`
146- and constructor arguments, if any.
141+ and constructor arguments, if any.
147142
148- This is a simple wrapper around creating a `RawCallBuilder` with the data set to
149- the bytecode concatenated with the constructor's ABI-encoded arguments.*/
143+ This is a simple wrapper around creating a `RawCallBuilder` with the data set to
144+ the bytecode concatenated with the constructor's ABI-encoded arguments.*/
150145 #[ inline]
151146 pub fn deploy_builder ( provider : P ) -> alloy_contract:: RawCallBuilder < T , P , N > {
152147 alloy_contract:: RawCallBuilder :: new_raw_deploy (
@@ -189,10 +184,11 @@ the bytecode concatenated with the constructor's ABI-encoded arguments.*/
189184 /// Function calls.
190185 #[ automatically_derived]
191186 impl <
192- T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
193- P : alloy_contract:: private:: Provider < T , N > ,
194- N : alloy_contract:: private:: Network ,
195- > AddressUpgradeableInstance < T , P , N > {
187+ T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
188+ P : alloy_contract:: private:: Provider < T , N > ,
189+ N : alloy_contract:: private:: Network ,
190+ > AddressUpgradeableInstance < T , P , N >
191+ {
196192 /// Creates a new call builder using this contract instance's provider and address.
197193 ///
198194 /// Note that the call can be any function call, not just those defined in this
@@ -207,10 +203,11 @@ the bytecode concatenated with the constructor's ABI-encoded arguments.*/
207203 /// Event filters.
208204 #[ automatically_derived]
209205 impl <
210- T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
211- P : alloy_contract:: private:: Provider < T , N > ,
212- N : alloy_contract:: private:: Network ,
213- > AddressUpgradeableInstance < T , P , N > {
206+ T : alloy_contract:: private:: Transport + :: core:: clone:: Clone ,
207+ P : alloy_contract:: private:: Provider < T , N > ,
208+ N : alloy_contract:: private:: Network ,
209+ > AddressUpgradeableInstance < T , P , N >
210+ {
214211 /// Creates a new event filter using this contract instance's provider and address.
215212 ///
216213 /// Note that the type can be any event, not just those defined in this contract.
0 commit comments