Commit f9eb97e5 by github-actions

Transpile 7f7488af

parent 2ddb1f10
...@@ -45,7 +45,7 @@ contract GameItems is ERC1155 { ...@@ -45,7 +45,7 @@ contract GameItems is ERC1155 {
uint256 public constant SWORD = 3; uint256 public constant SWORD = 3;
uint256 public constant SHIELD = 4; uint256 public constant SHIELD = 4;
constructor() public ERC1155("https://game.example/api/item/{1}.json") { constructor() public ERC1155("https://game.example/api/item/{id}.json") {
_mint(msg.sender, GOLD, 10**18, ""); _mint(msg.sender, GOLD, 10**18, "");
_mint(msg.sender, SILVER, 10**27, ""); _mint(msg.sender, SILVER, 10**27, "");
_mint(msg.sender, THORS_HAMMER, 1, ""); _mint(msg.sender, THORS_HAMMER, 1, "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment