difftreelog
chore fix comments
in: master
3 files changed
pallets/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,
}
pallets/refungible/src/erc_token.rsdiffbeforeafterboth43 TotalSupply, weights::WeightInfo,43 TotalSupply, weights::WeightInfo,44};44};454546/// Refungible token handle contains information about token's collection and id47///48/// RefungibleTokenHandle doesn't check token's existance upon creation46pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);49pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);475048#[solidity_interface(name = ERC1633)]51#[solidity_interface(name = ERC1633)]runtime/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::*;