Trait ink::ToAccountId

source ·
pub trait ToAccountId<T>
where T: Environment,
{ // Required method 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§

source

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

Returns the underlying account identifier of the instantiated contract.

Implementors§