pub struct PreparedAccountDeploymentV3<'f, F> { /* private fields */ }Expand description
RawAccountDeploymentV3 but with a factory associated.
Implementations§
Source§impl<'f, F> PreparedAccountDeploymentV3<'f, F>
impl<'f, F> PreparedAccountDeploymentV3<'f, F>
Sourcepub const fn from_raw(
raw_deployment: RawAccountDeploymentV3,
factory: &'f F,
) -> Self
pub const fn from_raw( raw_deployment: RawAccountDeploymentV3, factory: &'f F, ) -> Self
Constructs PreparedAccountDeploymentV3 by attaching a factory to
RawAccountDeploymentV3.
Source§impl<F> PreparedAccountDeploymentV3<'_, F>where
F: AccountFactory,
impl<F> PreparedAccountDeploymentV3<'_, F>where
F: AccountFactory,
Sourcepub fn transaction_hash(&self, query_only: bool) -> Felt
pub fn transaction_hash(&self, query_only: bool) -> Felt
Calculates transaction hash given query_only.
Sourcepub async fn send(
&self,
) -> Result<DeployAccountTransactionResult, AccountFactoryError<F::SignError>>
pub async fn send( &self, ) -> Result<DeployAccountTransactionResult, AccountFactoryError<F::SignError>>
Signs and broadcasts the transaction to the network.
Sourcepub async fn get_deploy_request(
&self,
query_only: bool,
skip_signature: bool,
) -> Result<BroadcastedDeployAccountTransactionV3, F::SignError>
pub async fn get_deploy_request( &self, query_only: bool, skip_signature: bool, ) -> Result<BroadcastedDeployAccountTransactionV3, F::SignError>
Get the broadcasted deploy account transaction request.
Trait Implementations§
Auto Trait Implementations§
impl<'f, F> Freeze for PreparedAccountDeploymentV3<'f, F>
impl<'f, F> RefUnwindSafe for PreparedAccountDeploymentV3<'f, F>where
F: RefUnwindSafe,
impl<'f, F> Send for PreparedAccountDeploymentV3<'f, F>where
F: Sync,
impl<'f, F> Sync for PreparedAccountDeploymentV3<'f, F>where
F: Sync,
impl<'f, F> Unpin for PreparedAccountDeploymentV3<'f, F>
impl<'f, F> UnwindSafe for PreparedAccountDeploymentV3<'f, F>where
F: RefUnwindSafe,
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