Trait ink_lang::ToAccountId
source · [−]pub trait ToAccountId<T> where
T: Environment, {
fn to_account_id(&self) -> <T as Environment>::AccountId;
}
Expand description
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
fn to_account_id(&self) -> <T as Environment>::AccountId
Returns the underlying account identifier of the instantiated contract.