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

pub fn ret(value: CLValue) -> !
Expand description

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.