pub struct UnsignedDeploy { /* private fields */ }Expand description
An inspectable unsigned deployment, bound to the intended network.
Implementations§
Source§impl UnsignedDeploy
impl UnsignedDeploy
Sourcepub fn transaction(&self) -> &Transaction
pub fn transaction(&self) -> &Transaction
The exact transaction body that will be signed.
Sourcepub fn address(&self) -> ContractAddress
pub fn address(&self) -> ContractAddress
Address the contract will have if this transaction succeeds.
Sourcepub fn code_hash(&self) -> SHA256Hash
pub fn code_hash(&self) -> SHA256Hash
Hash of the deployed binary.
Sourcepub fn sign(self, signer: &impl Signer) -> Result<SignedDeploy, SigningError>
pub fn sign(self, signer: &impl Signer) -> Result<SignedDeploy, SigningError>
Sign this deployment without submitting it. Reject a signer whose public key differs from the deploying account’s auth claim.
Trait Implementations§
Source§impl Clone for UnsignedDeploy
impl Clone for UnsignedDeploy
Auto Trait Implementations§
impl Freeze for UnsignedDeploy
impl RefUnwindSafe for UnsignedDeploy
impl Send for UnsignedDeploy
impl Sync for UnsignedDeploy
impl Unpin for UnsignedDeploy
impl UnsafeUnpin for UnsignedDeploy
impl UnwindSafe for UnsignedDeploy
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