[][src]Function ink_env::caller

pub fn caller<T>() -> Result<T::AccountId> where
    T: Environment

Returns the address of the caller of the executed contract.

Errors

If the returned caller cannot be properly decoded.