From 8edb1f5669a180d61845026ace3d871bc58a333e Mon Sep 17 00:00:00 2001 From: dianakocsis Date: Tue, 8 Oct 2024 11:10:51 -0400 Subject: [PATCH] make internal --- .forge-snapshots/positionDescriptor bytecode size.snap | 2 +- src/libraries/Descriptor.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forge-snapshots/positionDescriptor bytecode size.snap b/.forge-snapshots/positionDescriptor bytecode size.snap index 402918c5..ec121d73 100644 --- a/.forge-snapshots/positionDescriptor bytecode size.snap +++ b/.forge-snapshots/positionDescriptor bytecode size.snap @@ -1 +1 @@ -4522 \ No newline at end of file +31065 \ No newline at end of file diff --git a/src/libraries/Descriptor.sol b/src/libraries/Descriptor.sol index a6fbca2c..527e7bd8 100644 --- a/src/libraries/Descriptor.sol +++ b/src/libraries/Descriptor.sol @@ -42,7 +42,7 @@ library Descriptor { /// @notice Constructs the token URI for a Uniswap v4 NFT /// @param params Parameters needed to construct the token URI /// @return The token URI as a string - function constructTokenURI(ConstructTokenURIParams memory params) public pure returns (string memory) { + function constructTokenURI(ConstructTokenURIParams memory params) internal pure returns (string memory) { string memory name = generateName(params, feeToPercentString(params.fee)); string memory descriptionPartOne = generateDescriptionPartOne( escapeQuotes(params.quoteCurrencySymbol),