Skip to content

Commit

Permalink
chore: regenerate bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Jan 9, 2025
1 parent 6c26365 commit b10366d
Show file tree
Hide file tree
Showing 236 changed files with 54,627 additions and 582,736 deletions.
98 changes: 49 additions & 49 deletions crates/utils/src/deploy/address.rs → crates/utils/src/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,36 @@ interface Address {}
non_camel_case_types,
non_snake_case,
clippy::pub_underscore_fields,
clippy::style
clippy::style,
clippy::empty_structs_with_brackets
)]
pub mod Address {
use super::*;
use alloy::sol_types as alloy_sol_types;
/// The creation / init bytecode of the contract.
///
/// ```text
///0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122047d8ac401f7873c1502260f0a1f3da4a60558815e958cdab50bc32ed4afa955d64736f6c634300081b0033
///0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122054abbd9a6b4e4bb3ade16989756ad4da77cc1357a0bfca7fa9f6480d97bfe90864736f6c634300081c0033
/// ```
#[rustfmt::skip]
#[allow(clippy::all)]
pub static BYTECODE: alloy_sol_types::private::Bytes = alloy_sol_types::private::Bytes::from_static(
b"`U`2`\x0B\x82\x82\x829\x80Q_\x1A`s\x14`&WcNH{q`\xE0\x1B_R_`\x04R`$_\xFD[0_R`s\x81S\x82\x81\xF3\xFEs\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x000\x14`\x80`@R__\xFD\xFE\xA2dipfsX\"\x12 G\xD8\xAC@\x1Fxs\xC1P\"`\xF0\xA1\xF3\xDAJ`U\x88\x15\xE9X\xCD\xABP\xBC2\xEDJ\xFA\x95]dsolcC\0\x08\x1B\x003",
b"`U`2`\x0B\x82\x82\x829\x80Q_\x1A`s\x14`&WcNH{q`\xE0\x1B_R_`\x04R`$_\xFD[0_R`s\x81S\x82\x81\xF3\xFEs\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x000\x14`\x80`@R__\xFD\xFE\xA2dipfsX\"\x12 T\xAB\xBD\x9AkNK\xB3\xAD\xE1i\x89uj\xD4\xDAw\xCC\x13W\xA0\xBF\xCA\x7F\xA9\xF6H\r\x97\xBF\xE9\x08dsolcC\0\x08\x1C\x003",
);
/// The runtime bytecode of the contract, as deployed on the network.
///
/// ```text
///0x730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122047d8ac401f7873c1502260f0a1f3da4a60558815e958cdab50bc32ed4afa955d64736f6c634300081b0033
///0x730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122054abbd9a6b4e4bb3ade16989756ad4da77cc1357a0bfca7fa9f6480d97bfe90864736f6c634300081c0033
/// ```
#[rustfmt::skip]
#[allow(clippy::all)]
pub static DEPLOYED_BYTECODE: alloy_sol_types::private::Bytes = alloy_sol_types::private::Bytes::from_static(
b"s\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x000\x14`\x80`@R__\xFD\xFE\xA2dipfsX\"\x12 G\xD8\xAC@\x1Fxs\xC1P\"`\xF0\xA1\xF3\xDAJ`U\x88\x15\xE9X\xCD\xABP\xBC2\xEDJ\xFA\x95]dsolcC\0\x08\x1B\x003",
b"s\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x000\x14`\x80`@R__\xFD\xFE\xA2dipfsX\"\x12 T\xAB\xBD\x9AkNK\xB3\xAD\xE1i\x89uj\xD4\xDAw\xCC\x13W\xA0\xBF\xCA\x7F\xA9\xF6H\r\x97\xBF\xE9\x08dsolcC\0\x08\x1C\x003",
);
use alloy::contract as alloy_contract;
/**Creates a new wrapper around an on-chain [`Address`](self) contract instance.
See the [wrapper's documentation](`AddressInstance`) for more details.*/
See the [wrapper's documentation](`AddressInstance`) for more details.*/
#[inline]
pub const fn new<
T: alloy_contract::private::Transport + ::core::clone::Clone,
Expand All @@ -55,46 +56,45 @@ pub mod Address {
}
/**Deploys this contract using the given `provider` and constructor arguments, if any.
Returns a new instance of the contract, if the deployment was successful.
Returns a new instance of the contract, if the deployment was successful.
For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
#[inline]
pub fn deploy<
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
>(
provider: P,
) -> impl ::core::future::Future<Output = alloy_contract::Result<AddressInstance<T, P, N>>>
{
) -> impl ::core::future::Future<
Output = alloy_contract::Result<AddressInstance<T, P, N>>,
> {
AddressInstance::<T, P, N>::deploy(provider)
}
/**Creates a `RawCallBuilder` for deploying this contract using the given `provider`
and constructor arguments, if any.
and constructor arguments, if any.
This is a simple wrapper around creating a `RawCallBuilder` with the data set to
the bytecode concatenated with the constructor's ABI-encoded arguments.*/
This is a simple wrapper around creating a `RawCallBuilder` with the data set to
the bytecode concatenated with the constructor's ABI-encoded arguments.*/
#[inline]
pub fn deploy_builder<
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
>(
provider: P,
) -> alloy_contract::RawCallBuilder<T, P, N> {
>(provider: P) -> alloy_contract::RawCallBuilder<T, P, N> {
AddressInstance::<T, P, N>::deploy_builder(provider)
}
/**A [`Address`](self) instance.
Contains type-safe methods for interacting with an on-chain instance of the
[`Address`](self) contract located at a given `address`, using a given
provider `P`.
Contains type-safe methods for interacting with an on-chain instance of the
[`Address`](self) contract located at a given `address`, using a given
provider `P`.
If the contract bytecode is available (see the [`sol!`](alloy_sol_types::sol!)
documentation on how to provide it), the `deploy` and `deploy_builder` methods can
be used to deploy a new instance of the contract.
If the contract bytecode is available (see the [`sol!`](alloy_sol_types::sol!)
documentation on how to provide it), the `deploy` and `deploy_builder` methods can
be used to deploy a new instance of the contract.
See the [module-level documentation](self) for all the available methods.*/
See the [module-level documentation](self) for all the available methods.*/
#[derive(Clone)]
pub struct AddressInstance<T, P, N = alloy_contract::private::Ethereum> {
address: alloy_sol_types::private::Address,
Expand All @@ -105,24 +105,24 @@ pub mod Address {
impl<T, P, N> ::core::fmt::Debug for AddressInstance<T, P, N> {
#[inline]
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("AddressInstance")
.field(&self.address)
.finish()
f.debug_tuple("AddressInstance").field(&self.address).finish()
}
}
/// Instantiation and getters/setters.
#[automatically_derived]
impl<
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
> AddressInstance<T, P, N>
{
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
> AddressInstance<T, P, N> {
/**Creates a new wrapper around an on-chain [`Address`](self) contract instance.
See the [wrapper's documentation](`AddressInstance`) for more details.*/
See the [wrapper's documentation](`AddressInstance`) for more details.*/
#[inline]
pub const fn new(address: alloy_sol_types::private::Address, provider: P) -> Self {
pub const fn new(
address: alloy_sol_types::private::Address,
provider: P,
) -> Self {
Self {
address,
provider,
Expand All @@ -131,20 +131,22 @@ pub mod Address {
}
/**Deploys this contract using the given `provider` and constructor arguments, if any.
Returns a new instance of the contract, if the deployment was successful.
Returns a new instance of the contract, if the deployment was successful.
For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
For more fine-grained control over the deployment process, use [`deploy_builder`] instead.*/
#[inline]
pub async fn deploy(provider: P) -> alloy_contract::Result<AddressInstance<T, P, N>> {
pub async fn deploy(
provider: P,
) -> alloy_contract::Result<AddressInstance<T, P, N>> {
let call_builder = Self::deploy_builder(provider);
let contract_address = call_builder.deploy().await?;
Ok(Self::new(contract_address, call_builder.provider))
}
/**Creates a `RawCallBuilder` for deploying this contract using the given `provider`
and constructor arguments, if any.
and constructor arguments, if any.
This is a simple wrapper around creating a `RawCallBuilder` with the data set to
the bytecode concatenated with the constructor's ABI-encoded arguments.*/
This is a simple wrapper around creating a `RawCallBuilder` with the data set to
the bytecode concatenated with the constructor's ABI-encoded arguments.*/
#[inline]
pub fn deploy_builder(provider: P) -> alloy_contract::RawCallBuilder<T, P, N> {
alloy_contract::RawCallBuilder::new_raw_deploy(
Expand Down Expand Up @@ -187,11 +189,10 @@ pub mod Address {
/// Function calls.
#[automatically_derived]
impl<
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
> AddressInstance<T, P, N>
{
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
> AddressInstance<T, P, N> {
/// Creates a new call builder using this contract instance's provider and address.
///
/// Note that the call can be any function call, not just those defined in this
Expand All @@ -206,11 +207,10 @@ pub mod Address {
/// Event filters.
#[automatically_derived]
impl<
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
> AddressInstance<T, P, N>
{
T: alloy_contract::private::Transport + ::core::clone::Clone,
P: alloy_contract::private::Provider<T, N>,
N: alloy_contract::private::Network,
> AddressInstance<T, P, N> {
/// Creates a new event filter using this contract instance's provider and address.
///
/// Note that the type can be any event, not just those defined in this contract.
Expand Down
Loading

0 comments on commit b10366d

Please sign in to comment.