The purpose of this transaction is that a user can transfer his territory to another user, but the premise is that there are no files stored in this territory and the status is Active.
/// Transfers a territory from one user to another.////// This transaction allows a user to transfer their territory to another user. /// The territory must be empty (i.e., no files stored in it) and its status must be `Active` /// for the transfer to be successful.////// # Arguments////// * `territory_name` - A reference to a string slice that holds the name of the territory to be transferred./// * `receiver` - A reference to a string slice that holds the account identifier of the receiving user.////// # Returns////// This function returns a `Result` which is:/// * `Ok(TxHash)` - The transaction hash of the successful territory transfer./// * `Err(Box<dyn std::error::Error>)` - An error if the transaction fails.///pubasyncfnterritory_grants(&self, territory_name:&str, receiver:&str,) ->Result<TxHash, Box<dyn std::error::Error>>