Skip to content

Commit

Permalink
single json
Browse files Browse the repository at this point in the history
  • Loading branch information
diewland committed Dec 7, 2024
1 parent 695ae36 commit edb859b
Show file tree
Hide file tree
Showing 10,003 changed files with 9 additions and 10,032 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions contracts/BoredtopiaTBW.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pragma solidity ^0.8.26;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract BoredtopiaTBW is ERC721A, Ownable {

Expand All @@ -16,19 +15,20 @@ contract BoredtopiaTBW is ERC721A, Ownable {
uint256 public START_ID = 1;

bool public mintEnabled = false;
string public baseURI = "https://boredtopia.github.io/taiwan-blockchain-week/json/";
string public baseURI = "https://boredtopia.github.io/taiwan-blockchain-week/data.json";

// start token id
function _startTokenId() internal view virtual override returns (uint256) {
return START_ID;
}

// metadata
// metadata
function setBaseURI(string calldata _newBaseURI) external onlyOwner {
baseURI = _newBaseURI;
}
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
return string.concat(baseURI, Strings.toString(tokenId), ".json");
return baseURI;
}

// toggle sale
Expand Down
6 changes: 6 additions & 0 deletions docs/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Boredtopia Taiwan Blockchain Week Souvenir",
"description": "Celebrate your journey into the world of Web3 with the exclusive \u201cBoredtopia Taiwan Blockchain Week Souvenir\u201d NFT! Minted on the Kaia Chain, this digital collectible is a special keepsake for attendees of the Taiwan Blockchain Week 2024.",
"image": "https://boredtopia.github.io/taiwan-blockchain-week/asset.png",
"attributes": []
}
1 change: 0 additions & 1 deletion docs/json/1.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/10.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/100.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1000.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/10000.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1001.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1002.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1003.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1004.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1005.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1006.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1007.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1008.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1009.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/101.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1010.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1011.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1012.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1013.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1014.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1015.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1016.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1017.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1018.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1019.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/102.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1020.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1021.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1022.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1023.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1024.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1025.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1026.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1027.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1028.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1029.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/103.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1030.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1031.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1032.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/json/1033.json

This file was deleted.

Loading

0 comments on commit edb859b

Please sign in to comment.