Collection Details
Namespace:
dinjoh
Dataset:
Collection:
LandingPage
Owner:
0x45ba8b72c6807b6b341bf832de5a48f754bae93d
Transaction:
Timestamp:
Apr.01.2023 04:40:24 PM
Status:
OnChain
Collection Documents
_id | Landing Page | View |
---|---|---|
2 |
contract newNFT is NFTokenMetadata, Ownable {
constructor() {
nftName = "Krusty";
nftSymbol = "KRS";
}
function mint(address _to, uint256 _tokenId, string calldata _uri) external onlyOwner {
super._mint(_to, _tokenId);
super._setTokenUri(_tokenId, _uri);
}
} | View |
1 | // SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol";
import "https://github.com/0xcert/ethereum-erc721/src/contracts/ownership/ownable.sol";
| View |