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

pub fn ret<T: ToBytes>(t: T, extra_urefs: Vec<URef>) -> !

Return t to the host, terminating the currently running module. Note this function is only relevant to contracts stored on chain which return a value to their caller. The return value of a directly deployed contract is never looked at.