[][src]Trait substrate_subxt::contracts::CallCallExt

pub trait CallCallExt<T: Runtime + Contracts> {
    fn call<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        dest: &'a <T as System>::Address,
        value: <T as Balances>::Balance,
        gas_limit: Gas,
        data: &'a [u8]
    ) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>;
fn call_and_watch<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        dest: &'a <T as System>::Address,
        value: <T as Balances>::Balance,
        gas_limit: Gas,
        data: &'a [u8]
    ) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>; }

Call extension trait.

Required methods

fn call<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    dest: &'a <T as System>::Address,
    value: <T as Balances>::Balance,
    gas_limit: Gas,
    data: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>

Create and submit an extrinsic.

fn call_and_watch<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    dest: &'a <T as System>::Address,
    value: <T as Balances>::Balance,
    gas_limit: Gas,
    data: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>

Create, submit and watch an extrinsic.

Loading content...

Implementors

impl<T: Runtime + Contracts> CallCallExt<T> for Client<T> where
    <<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync
[src]

Loading content...