Struct ContractInstantiationParams
pub struct ContractInstantiationParams<'a> {
pub constructor_name: Option<&'a str>,
pub constructor_args: Vec<AbiValue>,
pub salt: Fr,
pub public_keys: PublicKeys,
pub deployer: AztecAddress,
}Expand description
Parameters for computing a contract instance from an artifact.
Fields§
§constructor_name: Option<&'a str>Constructor function name (None if no initializer).
constructor_args: Vec<AbiValue>Constructor arguments.
salt: FrDeployment salt.
public_keys: PublicKeysPublic keys for the instance.
deployer: AztecAddressDeployer address (zero for universal deployment).
Auto Trait Implementations§
impl<'a> Freeze for ContractInstantiationParams<'a>
impl<'a> RefUnwindSafe for ContractInstantiationParams<'a>
impl<'a> Send for ContractInstantiationParams<'a>
impl<'a> Sync for ContractInstantiationParams<'a>
impl<'a> Unpin for ContractInstantiationParams<'a>
impl<'a> UnwindSafe for ContractInstantiationParams<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more