pub trait TopLevelAccountCreator {
    // Required methods
    fn create_tla<'life0, 'async_trait>(
        &'life0 self,
        worker: Worker<dyn Network>,
        id: AccountId,
        sk: SecretKey
    ) -> Pin<Box<dyn Future<Output = Result<Execution<Account>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_tla_and_deploy<'life0, 'life1, 'async_trait>(
        &'life0 self,
        worker: Worker<dyn Network>,
        id: AccountId,
        sk: SecretKey,
        wasm: &'life1 [u8]
    ) -> Pin<Box<dyn Future<Output = Result<Execution<Contract>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn create_tla<'life0, 'async_trait>( &'life0 self, worker: Worker<dyn Network>, id: AccountId, sk: SecretKey ) -> Pin<Box<dyn Future<Output = Result<Execution<Account>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn create_tla_and_deploy<'life0, 'life1, 'async_trait>( &'life0 self, worker: Worker<dyn Network>, id: AccountId, sk: SecretKey, wasm: &'life1 [u8] ) -> Pin<Box<dyn Future<Output = Result<Execution<Contract>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§