From a0677919bc807999d32a93b25a68e551ac5499a9 Mon Sep 17 00:00:00 2001 From: Albert Date: Thu, 31 Aug 2023 10:39:40 +0800 Subject: [PATCH] chore:update comment --- contracts/interfaces/IWeb3Entry.sol | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/contracts/interfaces/IWeb3Entry.sol b/contracts/interfaces/IWeb3Entry.sol index f6b8805a..34c2d86d 100644 --- a/contracts/interfaces/IWeb3Entry.sol +++ b/contracts/interfaces/IWeb3Entry.sol @@ -111,16 +111,18 @@ interface IWeb3Entry { ) external; /** - * @notice Sets a new metadataURI for a given link list. - * @param linkListId The linklist id to set for. - * @param uri The metadata uri to set. + * @notice Sets a new metadataURI for a given link list. + * @param linkListId The linklist id to set for. + * @param uri The metadata uri to set. */ function setLinklistUri(uint256 linkListId, string calldata uri) external; /** * @notice Sets a link type for a given linklist. - * @dev Linklist is the group of all linking objects with the same link type, like "like". - * Each character can only have one linklist for each link type. + * @dev Emits a {DetachLinklist} event and a {AttachLinklist} event from web3Entry contract..
+ * Emits a {LinkTypeSet} event from linklist contract.
+ * Linklist is the group of all linking objects with the same link type, like "like".
+ * Each character can only have one linklist for each link type.
* It will fail if you try to set a link type which is already set for some linklist owned by the same character. * @param linkListId The linklist ID to set for. * @param linkType The link type to set.