Function ink_env::caller

source · []
pub fn caller<T>() -> 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.