Trait ink_env::call::FromAccountId[][src]

pub trait FromAccountId<T> where
    T: Environment
{ fn from_account_id(account_id: <T as Environment>::AccountId) -> Self; }

Contracts that can be constructed from an AccountId.

Note

This is needed because of conflicting implementations of From<T> for T in the generated code of ink_lang.

Required methods

fn from_account_id(account_id: <T as Environment>::AccountId) -> Self[src]

Creates the contract instance from the account ID of the already instantiated contract.

Loading content...

Implementors

Loading content...