Function ink_env::return_value

source ·
pub fn return_value<R>(return_flags: ReturnFlags, return_value: &R) -> !
where R: Encode,
Expand description

Returns the value back to the caller of the executed contract.

§Note

This function stops the execution of the contract immediately.