更新claim活动相关合约地址
This commit is contained in:
parent
4c63f5f90e
commit
7a40ca526f
File diff suppressed because one or more lines are too long
@ -65,6 +65,16 @@ contract NFTSbt is AccessControl, ERC721Enumerable {
|
||||
_baseTokenURI = baseTokenURI;
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev one type nft has same tokenURI
|
||||
*/
|
||||
function tokenURI(
|
||||
uint256 tokenId
|
||||
) public view virtual override returns (string memory) {
|
||||
string memory baseURI = _baseURI();
|
||||
return bytes(baseURI).length > 0 ? baseURI : "";
|
||||
}
|
||||
|
||||
function mint(address to) external onlyRole(MINTER_ROLE) returns (uint256) {
|
||||
require(to != address(0), "Cannot mint to zero address");
|
||||
if (supplyLimit > 0) {
|
||||
|
@ -57,12 +57,12 @@
|
||||
"name": "NFTSbt",
|
||||
"type": "erc721",
|
||||
"json": "assets/contracts/NFTSbt.json",
|
||||
"address": "0xB7C50f87b77C71Fa44a6335715da1d4b618264f2"
|
||||
"address": "0x46675eecD0Bb2dcdE3f9b76A11EE7f6DfB174EcA"
|
||||
},
|
||||
{
|
||||
"name": "ClaimBoxFactory",
|
||||
"type": "logic",
|
||||
"json": "assets/contracts/ClaimBoxFactory.json",
|
||||
"address": "0x47996e02Ff59F69347De718Ac67AD305DdC63F06"
|
||||
"address": "0xc63ed18feE4C3D62b87DfCE5b5F4DafD8905D9B2"
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user