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
43 TotalSupply, weights::WeightInfo,43 TotalSupply, weights::WeightInfo,
44};44};
4545
46/// Refungible token handle contains information about token's collection and id
47///
48/// RefungibleTokenHandle doesn't check token's existance upon creation
46pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);49pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);
4750
48#[solidity_interface(name = ERC1633)]51#[solidity_interface(name = ERC1633)]
modifiedruntime/common/ethereum/sponsoring/refungible.rsdiffbeforeafterboth
--- a/runtime/common/ethereum/sponsoring/refungible.rs
+++ b/runtime/common/ethereum/sponsoring/refungible.rs
@@ -282,6 +282,10 @@
 	}
 }
 
+/// Module for methods of refungible token
+///
+/// Existance of token should be checked before searching for sponsor
+/// because RefungibleTokenHandle doesn't check token's existence upon creation
 mod erc20 {
 	use super::*;