pub struct SignedDeploy { /* private fields */ }Expand description
A signed deployment with its canonical hash and predicted address available before any network request.
Implementations§
Source§impl SignedDeploy
impl SignedDeploy
Sourcepub fn tx_hash(&self) -> TxHash
pub fn tx_hash(&self) -> TxHash
Canonical transaction hash, also available if submission has an ambiguous outcome.
Sourcepub fn address(&self) -> ContractAddress
pub fn address(&self) -> ContractAddress
Address the contract will have if this transaction succeeds.
Sourcepub async fn submit<C: ClientT + Sync>(
&self,
client: &NativeClient<C>,
) -> Result<SubmittedDeploy, SubmitCallError>
pub async fn submit<C: ClientT + Sync>( &self, client: &NativeClient<C>, ) -> Result<SubmittedDeploy, SubmitCallError>
Submit exactly these signed bytes once. Errors retain the original hash for reconciliation.
Trait Implementations§
Source§impl Clone for SignedDeploy
impl Clone for SignedDeploy
Source§impl Debug for SignedDeploy
impl Debug for SignedDeploy
impl Eq for SignedDeploy
Source§impl PartialEq for SignedDeploy
impl PartialEq for SignedDeploy
impl StructuralPartialEq for SignedDeploy
Auto Trait Implementations§
impl Freeze for SignedDeploy
impl RefUnwindSafe for SignedDeploy
impl Send for SignedDeploy
impl Sync for SignedDeploy
impl Unpin for SignedDeploy
impl UnsafeUnpin for SignedDeploy
impl UnwindSafe for SignedDeploy
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.