fix: change SBT's name
This commit is contained in:
parent
eae95e1e3b
commit
f66d8b88aa
@ -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": "',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user