Browse Source

doc-commented helper functions

ignazio 3 years ago
parent
commit
845e826991
1 changed files with 2 additions and 0 deletions
  1. 2 0
      runtime-modules/content/src/lib.rs

+ 2 - 0
runtime-modules/content/src/lib.rs

@@ -2089,6 +2089,7 @@ impl<T: Trait> Module<T> {
         }
     }
 
+    /// Convert InitTransactionalStatus to TransactionalStatus after checking requirements on the Auction variant
     fn ensure_valid_init_transactional_status(
         init_status: &InitTransactionalStatus<T>,
     ) -> Result<
@@ -2116,6 +2117,7 @@ impl<T: Trait> Module<T> {
         }
     }
 
+    /// Construct the NFT that is intended to be issued
     pub fn construct_owned_nft(
         issuance_params: &NFTIssuanceParameters<T>,
     ) -> Result<Nft<T>, DispatchError> {