[−][src]Trait substrate_subxt::contracts::PutCodeCallExt
Call extension trait.
Required methods
fn put_code<'a>(
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>
Create and submit an extrinsic.
fn put_code_and_watch<'a>(
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>
Create, submit and watch an extrinsic.
Implementors
impl<T: Runtime + Contracts> PutCodeCallExt<T> for Client<T> where
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
[src]
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
fn put_code<'a>(
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>
[src]
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>
fn put_code_and_watch<'a>(
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>
[src]
&'a self,
signer: &'a (dyn Signer<T> + Send + Sync),
code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>