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");