KlimaIDONFT

Git Source

Inherits: Initializable, ContextUpgradeable, AccessControlEnumerableUpgradeable, ERC721EnumerableUpgradeable, ERC721BurnableUpgradeable, ERC721PausableUpgradeable

State Variables

MINTER_ROLE

bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

PAUSER_ROLE

bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

_tokenIdTracker

CountersUpgradeable.Counter private _tokenIdTracker;

_baseTokenURI

string private _baseTokenURI;

__gap

uint256[48] private __gap;

Functions

onlyMinter

modifier onlyMinter();

onlyPauser

modifier onlyPauser();

constructor

constructor();

__KlimaIDONFT_init

function __KlimaIDONFT_init(string memory name, string memory symbol, string memory _TokenURI) public initializer;

setTokenURI

function setTokenURI(string memory _TokenURI) public onlyMinter;

_setTokenURI

function _setTokenURI(string memory _TokenURI) internal;

tokenURI

function tokenURI() public view returns (string memory);

totalSupply

function totalSupply() public view override returns (uint256);

burn

function burn(uint256 tokenId) public override;

_burn

function _burn(uint256 tokenId) internal virtual override(ERC721Upgradeable);

mint

function mint(address to) public onlyMinter whenPaused;

batchMint

function batchMint(address[] memory _list) public onlyMinter whenPaused;

pause

function pause() public virtual onlyPauser;

unpause

function unpause() public virtual onlyPauser;

_beforeTokenTransfer

function _beforeTokenTransfer(address from, address to, uint256 tokenId)
    internal
    virtual
    override(ERC721Upgradeable, ERC721EnumerableUpgradeable, ERC721PausableUpgradeable);

supportsInterface

See IERC165-supportsInterface.

function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(AccessControlEnumerableUpgradeable, ERC721Upgradeable, ERC721EnumerableUpgradeable)
    returns (bool);