Function ink_env::caller[][src]

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

Returns the address of the caller of the executed contract.

Errors

If the returned caller cannot be properly decoded.