[][src]Trait ink_lang::ToAccountId

pub trait ToAccountId<T> where
    T: Environment
{ fn to_account_id(&self) -> <T as Environment>::AccountId; }

Implemented by contracts that are compiled as dependencies.

Allows them to return their underlying account identifier.

Required methods

fn to_account_id(&self) -> <T as Environment>::AccountId

Returns the underlying account identifier of the instantiated contract.

Loading content...

Implementors

Loading content...