fix: change SBT's name

This commit is contained in:
snsd0805 2023-06-04 20:57:51 +08:00
parent eae95e1e3b
commit f66d8b88aa
Signed by: snsd0805
GPG Key ID: 569349933C77A854

View File

@ -10,7 +10,7 @@ contract SoulboundToken is ERC721 {
using Counters for Counters.Counter; using Counters for Counters.Counter;
Counters.Counter private _tokenIds; Counters.Counter private _tokenIds;
constructor() ERC721("Credit System SBT", "CS_SBT") {} constructor() ERC721("Credit System Soulbound Token", "CS_SBT") {}
function mint(address player) public returns (uint256) { function mint(address player) public returns (uint256) {
_tokenIds.increment(); _tokenIds.increment();
@ -33,7 +33,7 @@ contract SoulboundToken is ERC721 {
bytes( bytes(
string( string(
abi.encodePacked( abi.encodePacked(
'{"name": "Credit System Soulbound Token (CSSBT) #', '{"name": "Credit System Soulbound Token (CS_SBT) #',
Strings.toString(tokenId), Strings.toString(tokenId),
'",', '",',
'"image_data": "', '"image_data": "',