pub struct Create3Config {
pub deployer: Address,
pub caller: Option<Address>,
pub chain_id: Option<ChainId>,
pub max_iterations: u64,
pub max_results: u64,
pub seed: Option<u128>,
}Expand description
Configuration for the Create3 mining process via CreateX.
Fields§
§deployer: AddressThe address of the CreateX factory contract.
caller: Option<Address>Permissioned deploy protection for that address.
chain_id: Option<ChainId>Cross-chain deployment protection.
max_iterations: u64The maximum number of attempts before giving up.
max_results: u64The maximum number of results to find.
seed: Option<u128>Seed for the random number generator.
Trait Implementations§
Source§impl Clone for Create3Config
impl Clone for Create3Config
Source§fn clone(&self) -> Create3Config
fn clone(&self) -> Create3Config
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Create3Config
Source§impl Debug for Create3Config
impl Debug for Create3Config
Source§impl<'de> Deserialize<'de> for Create3Config
impl<'de> Deserialize<'de> for Create3Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Create3Config
impl RefUnwindSafe for Create3Config
impl Send for Create3Config
impl Sync for Create3Config
impl Unpin for Create3Config
impl UnsafeUnpin for Create3Config
impl UnwindSafe for Create3Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more