git.delta.rocks / unique-network / refs/commits / 9b3f0425fea5

difftreelog

chore fix comments

Grigoriy Simonov2022-12-23parent: #f7442f8.patch.diff
in: master

3 files changed

modifiedpallets/common/src/eth.rsdiffbeforeafterboth
--- a/pallets/common/src/eth.rs
+++ b/pallets/common/src/eth.rs
@@ -125,9 +125,9 @@
 /// Ethereum representation of Optional value with CrossAddress.
 #[derive(Debug, Default, AbiCoder)]
 pub struct OptionCrossAddress {
-	/// TODO: field description
+	/// Is address set
 	pub status: bool,
-	/// TODO: field description
+	/// Address value
 	pub value: CrossAddress,
 }
 
modifiedpallets/refungible/src/erc_token.rsdiffbeforeafterboth
--- a/pallets/refungible/src/erc_token.rs
+++ b/pallets/refungible/src/erc_token.rs
@@ -43,6 +43,9 @@
 	TotalSupply, weights::WeightInfo,
 };
 
+/// Refungible token handle contains information about token's collection and id
+///
+/// RefungibleTokenHandle doesn't check token's existance upon creation
 pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);
 
 #[solidity_interface(name = ERC1633)]
modifiedruntime/common/ethereum/sponsoring/refungible.rsdiffbeforeafterboth
282 }282 }
283}283}
284284
285/// Module for methods of refungible token
286///
287/// Existance of token should be checked before searching for sponsor
288/// because RefungibleTokenHandle doesn't check token's existence upon creation
285mod erc20 {289mod erc20 {
286 use super::*;290 use super::*;
287291