[][src]Function casperlabs_contract::contract_api::runtime::ret

pub fn ret(value: CLValue) -> !

Returns the given CLValue to the host, terminating the currently running module.

Note this function is only relevant to contracts stored on chain which are invoked via call_contract and can thus return a value to their caller. The return value of a directly deployed contract is never used.