Function ink_env::caller

source ·
pub fn caller<E>() -> E::AccountId
where E: Environment,
Expand description

Returns the address of the caller of the executed contract.

§Errors

If the returned caller cannot be properly decoded.