[−][src]Function casperlabs_contract_ffi::contract_api::store_function
pub fn store_function(
name: &str,
known_urefs: BTreeMap<String, Key>
) -> ContractPointer
Gets the serialized bytes of an exported function (see fn_by_name
), then
computes gets the address from the host to produce a key where the contract
is then stored in the global state. This key is returned.