pub fn account_id<T>() -> T::AccountId where
    T: Environment
Expand description

Returns the account ID of the executed contract.

Note

This method was formerly known as address.

Errors

If the returned value cannot be properly decoded.