logo
pub fn caller<E>() -> E::AccountIdwhere
    E: Environment,
Expand description

Returns the address of the caller of the executed contract.

Errors

If the returned caller cannot be properly decoded.