pub fn with_stored_versioned_contract_by_hash(
        mut self,
        hash: HashAddr,
        version: Option<ContractVersion>,
        entry_point: &str,
        args: RuntimeArgs,
    ) -> Self {
        self.deploy_item.session_code = Some(ExecutableDeployItem::StoredVersionedContractByHash {
            hash: hash.into(),
            version,
            entry_point: entry_point.to_owned(),
            args,
        });
        self
    }
/// Sets the session code of the deploy with a stored, versioned contract by contract hash.
Sets the session code of the deploy with a stored, versioned contract by contract hash.
Sets the session code of the deploy with a stored versioned contract by contract hash .
pub fn with_stored_versioned_contract_by_hash(
        mut self,
        hash: HashAddr,
        version: Option<ContractVersion>,
        entry_point: &str,
        args: RuntimeArgs,
    ) -> Self {
        self.deploy_item.session_code = Some(ExecutableDeployItem::StoredVersionedContractByHash {
            hash: hash.into(),
            version,
            entry_point: entry_point.to_owned(),
            args,
        });
        self
    }
pub fn with_stored_versioned_contract_by_hash ( mut self , hash : HashAddr , version : Option < ContractVersion > , entry_point : & str , args : RuntimeArgs , ) -> Self { self . deploy_item . session_code = Some ( ExecutableDeployItem :: StoredVersionedContractByHash { hash : hash . into ( ) , version , entry_point : entry_point . to_owned ( ) , args , } ) ; self }
Sets the session code of the deploy with a stored, versioned contract by contract hash.
Sets the session code of the deploy with a stored versioned contract by contract hash .
mut self
hash
HashAddr
version
Option<ContractVersion>
entry_point
&str
args
RuntimeArgs
mut self
hash
HashAddr
version
Option<ContractVersion>
entry_point
&str
args
RuntimeArgs