[][src]Trait substrate_subxt::system::SetCodeCallXtBuilder

pub trait SetCodeCallXtBuilder<T: System> {
    fn set_code<'a>(
        &'a self,
        code: &'a [u8]
    ) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>; }

Call extension trait.

Required methods

fn set_code<'a>(
    &'a self,
    code: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>

Create and submit the extrinsic.

Loading content...

Implementors

impl<T, P, S, E> SetCodeCallXtBuilder<T> for XtBuilder<T, P, S, E> where
    T: System + Send + Sync + 'static,
    P: Pair,
    S: Verify + Codec + From<P::Signature> + Send + 'static,
    S::Signer: From<P::Public> + IdentifyAccount<AccountId = T::AccountId>,
    T::Address: From<T::AccountId>,
    E: SignedExtra<T> + SignedExtension + 'static, 
[src]

Loading content...