Skip to content

Commit

Permalink
Fix uri() NatSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
neodaoist committed Dec 16, 2022
1 parent 74fb506 commit fc35a41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/OptionSettlementEngine.sol
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ contract OptionSettlementEngine is ERC1155, IOptionSettlementEngine {
}
}

/// @returns the URI for a given tokenId.
/// @notice Returns the URI for a given tokenId.
/// @param tokenId The tokenId of an option or claim.
/// @return The URI for the tokenId.
function uri(uint256 tokenId) public view virtual override returns (string memory) {
Option memory optionInfo = optionTypeStates[uint160(tokenId >> OPTION_KEY_PADDING)].option;

Expand Down

0 comments on commit fc35a41

Please sign in to comment.