Function casper_contract::contract_api::storage::add_contract_version
source · pub fn add_contract_version(
contract_package_hash: ContractPackageHash,
entry_points: EntryPoints,
named_keys: NamedKeys
) -> (ContractHash, ContractVersion)
Expand description
Add a new version of a contract to the contract stored at the given
Key
. Note that this contract must have been created by
create_contract
or create_contract_package_at_hash
first.