pub fn construct_deploy_message_with_body(
        image: ContractImage,
        body: Option<&[u8]>,
        workchain_id: i32,
    ) -> Result<TvmMessage> {
        let body_cell = match body {
            None => None,
            Some(data) => Some(Self::deserialize_tree_to_slice(data)?),
        };

        Self::create_ext_deploy_message(body_cell, image, workchain_id)
    }
// Packs given image and body into Message struct.
// Returns message's bag of cells and identifier.
Packs given image and body into Message struct.
Returns message's bag of cells and identifier.
Packs given image and body into Message struct . Returns message ' s bag of cells and identifier .
pub fn construct_deploy_message_with_body(
        image: ContractImage,
        body: Option<&[u8]>,
        workchain_id: i32,
    ) -> Result<TvmMessage> {
        let body_cell = match body {
            None => None,
            Some(data) => Some(Self::deserialize_tree_to_slice(data)?),
        };
        Self::create_ext_deploy_message(body_cell, image, workchain_id)
    }
pub fn construct_deploy_message_with_body ( image : ContractImage , body : Option < & [ u8 ] > , workchain_id : i32 , ) -> Result < TvmMessage > { let body_cell = match body { None => None , Some ( data ) => Some ( Self :: deserialize_tree_to_slice ( data ) ? ) , } ; Self :: create_ext_deploy_message ( body_cell , image , workchain_id ) }
Packs given image and body into Message struct.
Packs given image and body into Message struct .
image
ContractImage
body
Option<&[u8]>
workchain_id
i32