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

pub fn upgrade_contract_at_uref(name: &str, uref: TURef<Contract>)

Takes the name of a function to store and a contract URef, and overwrites the value under that URef with a new Contract instance containing the original contract's named_keys, the current protocol version, and the newly created bytes of the stored function.