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
125/// 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 set
129 pub status: bool,129 pub status: bool,
130 /// TODO: field description130 /// Address value
131 pub value: CrossAddress,131 pub value: CrossAddress,
132}132}
133133
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
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