difftreelog
chore fix comments
in: master
3 files changed
pallets/common/src/eth.rsdiffbeforeafterboth125/// Ethereum representation of Optional value with CrossAddress.125/// Ethereum representation of Optional value with CrossAddress.126#[derive(Debug, Default, AbiCoder)]126#[derive(Debug, Default, AbiCoder)]127pub struct OptionCrossAddress {127pub struct OptionCrossAddress {128 /// TODO: field description128 /// Is address set129 pub status: bool,129 pub status: bool,130 /// TODO: field description130 /// Address value131 pub value: CrossAddress,131 pub value: CrossAddress,132}132}133133pallets/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)]
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::*;