Commit f63473fd authored by Kegan's avatar Kegan
Browse files

allow owner to control claims cost

parent 07e6f43a
......@@ -195,6 +195,10 @@ contract SkinZNFT is ERC721Enumerable, ReentrancyGuard, Ownable {
function disableClaims() public onlyOwner {
allow_claims = false;
}
function setClaimCost(uint256 amount) public onlyOwner {
nft_cost = amount;
}
// NOTE: if moving from arbitrum to another blockchain, this source of randomness would need uodated!
// generate a random number (changes between arbitrum and ethereum mainnet!)
function random(uint256 seed) internal view returns(uint256)
......
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