git.delta.rocks / unique-network / refs/commits / e624910c94ca

difftreelog

docs fix gramar

PraetorP2022-12-16parent: #f5a501e.patch.diff
in: master

6 files changed

modifiedpallets/nonfungible/src/erc.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/erc.rs
+++ b/pallets/nonfungible/src/erc.rs
@@ -605,7 +605,7 @@
 		Ok(false)
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner
 	/// @return uint256 The id of the newly minted token
 	#[weight(<SelfWeightOf<T>>::create_item())]
@@ -618,7 +618,7 @@
 		Ok(token_id)
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @dev `tokenId` should be obtained with `nextTokenId` method,
 	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
@@ -1070,7 +1070,7 @@
 		Ok(true)
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner crossAccountId
 	/// @param properties Properties of minted token
 	/// @return uint256 The id of the newly minted token
modifiedpallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth
--- a/pallets/nonfungible/src/stubs/UniqueNFT.sol
+++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol
@@ -783,7 +783,7 @@
 		return false;
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner
 	/// @return uint256 The id of the newly minted token
 	/// @dev EVM selector for this function is: 0x6a627842,
@@ -795,7 +795,7 @@
 		return 0;
 	}
 
-	// /// @notice Function to a mint token.
+	// /// @notice Function to mint a token.
 	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
 	// ///  unlike standard, you can't specify it manually
 	// /// @param to The new owner
@@ -1040,7 +1040,7 @@
 	// 	return false;
 	// }
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner crossAccountId
 	/// @param properties Properties of minted token
 	/// @return uint256 The id of the newly minted token
modifiedpallets/refungible/src/erc.rsdiffbeforeafterboth
--- a/pallets/refungible/src/erc.rs
+++ b/pallets/refungible/src/erc.rs
@@ -637,7 +637,7 @@
 		Ok(false)
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner
 	/// @return uint256 The id of the newly minted token
 	#[weight(<SelfWeightOf<T>>::create_item())]
@@ -650,7 +650,7 @@
 		Ok(token_id)
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @dev `tokenId` should be obtained with `nextTokenId` method,
 	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
@@ -1120,7 +1120,7 @@
 		Ok(true)
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner crossAccountId
 	/// @param properties Properties of minted token
 	/// @return uint256 The id of the newly minted token
modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
--- a/pallets/refungible/src/stubs/UniqueRefungible.sol
+++ b/pallets/refungible/src/stubs/UniqueRefungible.sol
@@ -779,7 +779,7 @@
 		return false;
 	}
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner
 	/// @return uint256 The id of the newly minted token
 	/// @dev EVM selector for this function is: 0x6a627842,
@@ -791,7 +791,7 @@
 		return 0;
 	}
 
-	// /// @notice Function to a mint token.
+	// /// @notice Function to mint a token.
 	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
 	// ///  unlike standard, you can't specify it manually
 	// /// @param to The new owner
@@ -1025,7 +1025,7 @@
 	// 	return false;
 	// }
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner crossAccountId
 	/// @param properties Properties of minted token
 	/// @return uint256 The id of the newly minted token
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
551 /// or in textual repr: mintingFinished()551 /// or in textual repr: mintingFinished()
552 function mintingFinished() external view returns (bool);552 function mintingFinished() external view returns (bool);
553553
554 /// @notice Function to a mint token.554 /// @notice Function to mint a token.
555 /// @param to The new owner555 /// @param to The new owner
556 /// @return uint256 The id of the newly minted token556 /// @return uint256 The id of the newly minted token
557 /// @dev EVM selector for this function is: 0x6a627842,557 /// @dev EVM selector for this function is: 0x6a627842,
558 /// or in textual repr: mint(address)558 /// or in textual repr: mint(address)
559 function mint(address to) external returns (uint256);559 function mint(address to) external returns (uint256);
560560
561 // /// @notice Function to a mint token.561 // /// @notice Function to mint a token.
562 // /// @dev `tokenId` should be obtained with `nextTokenId` method,562 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
563 // /// unlike standard, you can't specify it manually563 // /// unlike standard, you can't specify it manually
564 // /// @param to The new owner564 // /// @param to The new owner
710 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])710 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
711 // function mintBulkWithTokenURI(address to, Tuple13[] memory tokens) external returns (bool);711 // function mintBulkWithTokenURI(address to, Tuple13[] memory tokens) external returns (bool);
712712
713 /// @notice Function to a mint token.713 /// @notice Function to mint a token.
714 /// @param to The new owner crossAccountId714 /// @param to The new owner crossAccountId
715 /// @param properties Properties of minted token715 /// @param properties Properties of minted token
716 /// @return uint256 The id of the newly minted token716 /// @return uint256 The id of the newly minted token
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -549,14 +549,14 @@
 	///  or in textual repr: mintingFinished()
 	function mintingFinished() external view returns (bool);
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner
 	/// @return uint256 The id of the newly minted token
 	/// @dev EVM selector for this function is: 0x6a627842,
 	///  or in textual repr: mint(address)
 	function mint(address to) external returns (uint256);
 
-	// /// @notice Function to a mint token.
+	// /// @notice Function to mint a token.
 	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
 	// ///  unlike standard, you can't specify it manually
 	// /// @param to The new owner
@@ -702,7 +702,7 @@
 	// ///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
 	// function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) external returns (bool);
 
-	/// @notice Function to a mint token.
+	/// @notice Function to mint a token.
 	/// @param to The new owner crossAccountId
 	/// @param properties Properties of minted token
 	/// @return uint256 The id of the newly minted token