From 4e04afe74843ddd502168d255a4fd326e49b41ec Mon Sep 17 00:00:00 2001 From: Brean0 Date: Sat, 5 Aug 2023 12:58:03 -0500 Subject: [PATCH] public -> external --- protocol/contracts/beanstalk/metadata/MetadataFacet.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/contracts/beanstalk/metadata/MetadataFacet.sol b/protocol/contracts/beanstalk/metadata/MetadataFacet.sol index b29eec177a..16290a63ba 100644 --- a/protocol/contracts/beanstalk/metadata/MetadataFacet.sol +++ b/protocol/contracts/beanstalk/metadata/MetadataFacet.sol @@ -31,7 +31,7 @@ contract MetadataFacet is MetadataImage { * Deposits are stored as a mapping of a uint256 to a Deposit struct. * ERC20 deposits are represented by the concatination of the token address and the stem. (20 + 12 bytes). */ - function uri(uint256 depositId) public view returns (string memory) { + function uri(uint256 depositId) external view returns (string memory) { (address token, int96 stem) = LibBytes.unpackAddressAndStem(depositId); int96 stemTip = LibTokenSilo.stemTipForToken(token); require(token != address(0), "Silo: metadata does not exist");