function mint(address to) public returns (uint256) {
uint256 newWarriorId = tokenIds.current();
_safeMint(to, newWarriorId);
tokenIds.increment();
return newWarriorId;
}
Last active
October 11, 2022 22:57
-
-
Save m9800/20e9452097fe9b2d846febd66a56cefb to your computer and use it in GitHub Desktop.