Skip to content

Commit

Permalink
refactor: prefix Sablier in NFT mapsymbol
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed Jul 30, 2024
1 parent 397ab1e commit 5d35266
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/SablierNFTDescriptor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,11 @@ contract SablierNFTDescriptor is ISablierNFTDescriptor {
function mapSymbol(IERC721Metadata sablier) internal view returns (string memory) {
string memory symbol = sablier.symbol();
if (symbol.equal("SAB-LOCKUP-LIN") || symbol.equal("SAB-V2-LOCKUP-LIN")) {
return "Lockup Linear";
return "Sablier Lockup Linear";
} else if (symbol.equal("SAB-LOCKUP-DYN") || symbol.equal("SAB-V2-LOCKUP-DYN")) {
return "Lockup Dynamic";
return "Sablier Lockup Dynamic";
} else if (symbol.equal("SAB-LOCKUP-TRA") || symbol.equal("SAB-V2-LOCKUP-TRA")) {
return "Lockup Tranched";
return "Sablier Lockup Tranched";
} else {
revert Errors.SablierNFTDescriptor_UnknownNFT(sablier, symbol);
}
Expand Down

0 comments on commit 5d35266

Please sign in to comment.