ERC-721
Overview
Max Total Supply
0 CAT
Holders
166
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 CATLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
screenshots
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // . . // ___ ___ _/_ ___ | __. ___. // .' ` / ` | / ` | .' \ .' ` // | | | | | | | | | | | // `._.' `.__/| \__/ `.__/| /\__ `._.' `---| // \___/ // screenshots.sol by @worm_emoji // luke.cat :-) import "solmate/tokens/ERC721.sol"; import "openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol"; import "openzeppelin-contracts/contracts/utils/Strings.sol"; import "openzeppelin-contracts/contracts/access/Ownable.sol"; pragma solidity >=0.8.0; interface IERC20 { function transfer(address _to, uint256 _amount) external returns (bool); } contract screenshots is Ownable, ERC721 { string public baseURI = "https://mint.luke.cat/api/metadata/"; address public signer; uint256 public mintPrice = 80000000000000000; // 0.08 eth bool public publicMintActive = false; uint256 private _royaltyPct = 10; constructor(address _signer) ERC721("screenshot catalog by worm_emoji", "CAT") { signer = _signer; } function mint(uint256 tokenID, bytes memory signature) public payable { // There used to be a check here to see if the NFT was minted, but // solmate's _mint function does it internally. If you're modifying // this contract and you're adding more side effects to this contract // besides just minting, you may want to re-add a check to see if it's // minted. require(publicMintActive, "Public minting is not active"); require(msg.value == mintPrice, "Wrong price"); // Check that the minter is allowed to mint. // The purpose of this check is to control what token IDs can be // minted without having to update the contract – just sign the tokenID // with a known key. (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover( keccak256(abi.encodePacked(tokenID)), signature ); require( error == ECDSA.RecoverError.NoError && recovered == signer, "Invalid signature" ); _mint(msg.sender, tokenID); } function creatorMint(uint256 tokenID) public onlyOwner { require(ownerOf[tokenID] == address(0), "Token already minted"); _mint(this.owner(), tokenID); } function updateSigner(address _signer) public onlyOwner { signer = _signer; } function updateMintPrice(uint256 _price) public onlyOwner { mintPrice = _price; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function setPublicMint(bool _isPublicMintActive) public onlyOwner { publicMintActive = _isPublicMintActive; } function setRoyaltyPct(uint256 newRoyaltyPct) public onlyOwner { _royaltyPct = newRoyaltyPct; } function tokenURI(uint256 tokenID) public view override returns (string memory) { return string(abi.encodePacked(baseURI, Strings.toString(tokenID))); } function withdraw() external { payable(this.owner()).transfer(address(this).balance); } function withdrawERC20(address _tokenContract, uint256 _amount) external { IERC20 tokenContract = IERC20(_tokenContract); tokenContract.transfer(this.owner(), _amount); } function royaltyInfo(uint256, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { if (_royaltyPct < 1) { return (address(0), 0); } receiver = address(this); royaltyAmount = _salePrice / _royaltyPct; } function supportsInterface(bytes4 interfaceId) public pure override(ERC721) returns (bool) { return interfaceId == 0x7f5828d0 || // ERC165 Interface ID for ERC173 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f || // ERC165 Interface ID for ERC165 interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC721Metadata interfaceId == 0x2a55205a; // ERC165 Interface ID for https://eips.ethereum.org/EIPS/eip-2981 } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) /// @dev Note that balanceOf does not revert if passed the zero address, in defiance of the ERC. abstract contract ERC721 { /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*/////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*/////////////////////////////////////////////////////////////// ERC721 STORAGE //////////////////////////////////////////////////////////////*/ mapping(address => uint256) public balanceOf; mapping(uint256 => address) public ownerOf; mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*/////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*/////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || msg.sender == getApproved[id] || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { balanceOf[from]--; balanceOf[to]++; } ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes memory data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*/////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*/////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { balanceOf[to]++; } ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = ownerOf[id]; require(ownerOf[id] != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { balanceOf[owner]--; } delete ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*/////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) interface ERC721TokenReceiver { function onERC721Received( address operator, address from, uint256 id, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "remappings": [ "ds-test/=lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "solmate/=lib/solmate/src/", "weird-erc20/=lib/solmate/lib/weird-erc20/src/", "src/=src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london" }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"creatorMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicMintActive","type":"bool"}],"name":"setPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRoyaltyPct","type":"uint256"}],"name":"setRoyaltyPct","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"updateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052602360808181529062001fd860a039805162000029916007916020909101906200016e565b5067011c37937e080000600955600a805460ff19168155600b553480156200005057600080fd5b5060405162001ffb38038062001ffb833981016040819052620000739162000214565b60408051808201825260208082527f73637265656e73686f7420636174616c6f6720627920776f726d5f656d6f6a69818301528251808401909352600383526210d05560ea1b9083015290620000c9336200011e565b8151620000de9060019060208501906200016e565b508051620000f49060029060208401906200016e565b5050600880546001600160a01b0319166001600160a01b0393909316929092179091555062000283565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200017c9062000246565b90600052602060002090601f016020900481019282620001a05760008555620001eb565b82601f10620001bb57805160ff1916838001178555620001eb565b82800160010185558215620001eb579182015b82811115620001eb578251825591602001919060010190620001ce565b50620001f9929150620001fd565b5090565b5b80821115620001f95760008155600101620001fe565b6000602082840312156200022757600080fd5b81516001600160a01b03811681146200023f57600080fd5b9392505050565b600181811c908216806200025b57607f821691505b602082108114156200027d57634e487b7160e01b600052602260045260246000fd5b50919050565b611d4580620002936000396000f3fe6080604052600436106101cc5760003560e01c80636c0360eb116100f7578063a7ecd37e11610095578063db7fd40811610064578063db7fd4081461056a578063e985e9c51461057d578063f2fde38b146105b8578063fb6027b6146105d857600080fd5b8063a7ecd37e146104f0578063b67c25a314610510578063b88d4fde1461052a578063c87b56dd1461054a57600080fd5b80638da5cb5b116100d15780638da5cb5b1461047d57806395d89b411461049b578063a1db9782146104b0578063a22cb465146104d057600080fd5b80636c0360eb1461042657806370a082311461043b578063715018a61461046857600080fd5b8063238ac9331161016f57806342842e0e1161013e57806342842e0e1461038c57806355f804b3146103ac5780636352211e146103cc5780636817c76c1461040257600080fd5b8063238ac933146102f857806323b872dd146103185780632a55205a146103385780633ccfd60b1461037757600080fd5b8063081812fc116101ab578063081812fc1461024a578063095ea7b3146102985780630e2d56cf146102b85780631c0063b4146102d857600080fd5b8062728e46146101d157806301ffc9a7146101f357806306fdde0314610228575b600080fd5b3480156101dd57600080fd5b506101f16101ec3660046116c5565b6105f8565b005b3480156101ff57600080fd5b5061021361020e3660046116f4565b610630565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6106b8565b60405161021f9190611770565b34801561025657600080fd5b506102806102653660046116c5565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161021f565b3480156102a457600080fd5b506101f16102b3366004611798565b610746565b3480156102c457600080fd5b506101f16102d33660046117d2565b610828565b3480156102e457600080fd5b506101f16102f33660046116c5565b610865565b34801561030457600080fd5b50600854610280906001600160a01b031681565b34801561032457600080fd5b506101f16103333660046117ef565b610894565b34801561034457600080fd5b50610358610353366004611830565b610a5b565b604080516001600160a01b03909316835260208301919091520161021f565b34801561038357600080fd5b506101f1610a8e565b34801561039857600080fd5b506101f16103a73660046117ef565b610b2b565b3480156103b857600080fd5b506101f16103c73660046118de565b610c23565b3480156103d857600080fd5b506102806103e73660046116c5565b6004602052600090815260409020546001600160a01b031681565b34801561040e57600080fd5b5061041860095481565b60405190815260200161021f565b34801561043257600080fd5b5061023d610c64565b34801561044757600080fd5b50610418610456366004611927565b60036020526000908152604090205481565b34801561047457600080fd5b506101f1610c71565b34801561048957600080fd5b506000546001600160a01b0316610280565b3480156104a757600080fd5b5061023d610ca7565b3480156104bc57600080fd5b506101f16104cb366004611798565b610cb4565b3480156104dc57600080fd5b506101f16104eb366004611944565b610da1565b3480156104fc57600080fd5b506101f161050b366004611927565b610e0d565b34801561051c57600080fd5b50600a546102139060ff1681565b34801561053657600080fd5b506101f161054536600461199d565b610e59565b34801561055657600080fd5b5061023d6105653660046116c5565b610f38565b6101f1610578366004611a09565b610f6c565b34801561058957600080fd5b50610213610598366004611a50565b600660209081526000928352604080842090915290825290205460ff1681565b3480156105c457600080fd5b506101f16105d3366004611927565b6110af565b3480156105e457600080fd5b506101f16105f33660046116c5565b611147565b6000546001600160a01b0316331461062b5760405162461bcd60e51b815260040161062290611a7e565b60405180910390fd5b600955565b60006307f5828d60e41b6001600160e01b03198316148061066157506380ac58cd60e01b6001600160e01b03198316145b8061067c5750635b5e139f60e01b6001600160e01b03198316145b8061069757506301ffc9a760e01b6001600160e01b03198316145b806106b2575063152a902d60e11b6001600160e01b03198316145b92915050565b600180546106c590611ab3565b80601f01602080910402602001604051908101604052809291908181526020018280546106f190611ab3565b801561073e5780601f106107135761010080835404028352916020019161073e565b820191906000526020600020905b81548152906001019060200180831161072157829003601f168201915b505050505081565b6000818152600460205260409020546001600160a01b03163381148061078f57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6107cc5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610622565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146108525760405162461bcd60e51b815260040161062290611a7e565b600a805460ff1916911515919091179055565b6000546001600160a01b0316331461088f5760405162461bcd60e51b815260040161062290611a7e565b600b55565b6000818152600460205260409020546001600160a01b038481169116146108ea5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610622565b6001600160a01b0382166109345760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610622565b336001600160a01b038416148061096157506000818152600560205260409020546001600160a01b031633145b8061098f57506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b6109cc5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610622565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806001600b541015610a7457506000905080610a87565b600b54309250610a849084611b1a565b90505b9250929050565b306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190611b2e565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610b28573d6000803e3d6000fd5b50565b610b36838383610894565b6001600160a01b0382163b1580610bdf5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd39190611b4b565b6001600160e01b031916145b610c1e5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610622565b505050565b6000546001600160a01b03163314610c4d5760405162461bcd60e51b815260040161062290611a7e565b8051610c6090600790602084019061162c565b5050565b600780546106c590611ab3565b6000546001600160a01b03163314610c9b5760405162461bcd60e51b815260040161062290611a7e565b610ca56000611238565b565b600280546106c590611ab3565b6000829050806001600160a01b031663a9059cbb306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2a9190611b2e565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303816000875af1158015610d77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9b9190611b68565b50505050565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610e375760405162461bcd60e51b815260040161062290611a7e565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b610e64848484610894565b6001600160a01b0383163b1580610ef95750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a0290610eaa903390899088908890600401611b85565b6020604051808303816000875af1158015610ec9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eed9190611b4b565b6001600160e01b031916145b610d9b5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610622565b60606007610f4583611288565b604051602001610f56929190611bde565b6040516020818303038152906040529050919050565b600a5460ff16610fbe5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963206d696e74696e67206973206e6f7420616374697665000000006044820152606401610622565b6009543414610ffd5760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b6044820152606401610622565b6000806110328460405160200161101691815260200190565b604051602081830303815290604052805190602001208461138e565b9092509050600081600481111561104b5761104b611c85565b14801561106557506008546001600160a01b038381169116145b6110a55760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b6044820152606401610622565b610d9b33856113fb565b6000546001600160a01b031633146110d95760405162461bcd60e51b815260040161062290611a7e565b6001600160a01b03811661113e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610622565b610b2881611238565b6000546001600160a01b031633146111715760405162461bcd60e51b815260040161062290611a7e565b6000818152600460205260409020546001600160a01b0316156111cd5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610622565b610b28306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561120e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112329190611b2e565b826113fb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816112ac5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112d657806112c081611c9b565b91506112cf9050600a83611b1a565b91506112b0565b60008167ffffffffffffffff8111156112f1576112f1611852565b6040519080825280601f01601f19166020018201604052801561131b576020820181803683370190505b5090505b841561138657611330600183611cb6565b915061133d600a86611ccd565b611348906030611ce1565b60f81b81838151811061135d5761135d611cf9565b60200101906001600160f81b031916908160001a90535061137f600a86611b1a565b945061131f565b949350505050565b6000808251604114156113c55760208301516040840151606085015160001a6113b987828585611506565b94509450505050610a87565b8251604014156113ef57602083015160408401516113e48683836115f3565b935093505050610a87565b50600090506002610a87565b6001600160a01b0382166114455760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610622565b6000818152600460205260409020546001600160a01b03161561149b5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610622565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561153d57506000905060036115ea565b8460ff16601b1415801561155557508460ff16601c14155b1561156657506000905060046115ea565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156115ba573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166115e3576000600192509250506115ea565b9150600090505b94509492505050565b6000806001600160ff1b0383168161161060ff86901c601b611ce1565b905061161e87828885611506565b935093505050935093915050565b82805461163890611ab3565b90600052602060002090601f01602090048101928261165a57600085556116a0565b82601f1061167357805160ff19168380011785556116a0565b828001600101855582156116a0579182015b828111156116a0578251825591602001919060010190611685565b506116ac9291506116b0565b5090565b5b808211156116ac57600081556001016116b1565b6000602082840312156116d757600080fd5b5035919050565b6001600160e01b031981168114610b2857600080fd5b60006020828403121561170657600080fd5b8135611711816116de565b9392505050565b60005b8381101561173357818101518382015260200161171b565b83811115610d9b5750506000910152565b6000815180845261175c816020860160208601611718565b601f01601f19169290920160200192915050565b6020815260006117116020830184611744565b6001600160a01b0381168114610b2857600080fd5b600080604083850312156117ab57600080fd5b82356117b681611783565b946020939093013593505050565b8015158114610b2857600080fd5b6000602082840312156117e457600080fd5b8135611711816117c4565b60008060006060848603121561180457600080fd5b833561180f81611783565b9250602084013561181f81611783565b929592945050506040919091013590565b6000806040838503121561184357600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561188357611883611852565b604051601f8501601f19908116603f011681019082821181831017156118ab576118ab611852565b816040528093508581528686860111156118c457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118f057600080fd5b813567ffffffffffffffff81111561190757600080fd5b8201601f8101841361191857600080fd5b61138684823560208401611868565b60006020828403121561193957600080fd5b813561171181611783565b6000806040838503121561195757600080fd5b823561196281611783565b91506020830135611972816117c4565b809150509250929050565b600082601f83011261198e57600080fd5b61171183833560208501611868565b600080600080608085870312156119b357600080fd5b84356119be81611783565b935060208501356119ce81611783565b925060408501359150606085013567ffffffffffffffff8111156119f157600080fd5b6119fd8782880161197d565b91505092959194509250565b60008060408385031215611a1c57600080fd5b82359150602083013567ffffffffffffffff811115611a3a57600080fd5b611a468582860161197d565b9150509250929050565b60008060408385031215611a6357600080fd5b8235611a6e81611783565b9150602083013561197281611783565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611ac757607f821691505b60208210811415611ae857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082611b2957611b29611aee565b500490565b600060208284031215611b4057600080fd5b815161171181611783565b600060208284031215611b5d57600080fd5b8151611711816116de565b600060208284031215611b7a57600080fd5b8151611711816117c4565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bb890830184611744565b9695505050505050565b60008151611bd4818560208601611718565b9290920192915050565b600080845481600182811c915080831680611bfa57607f831692505b6020808410821415611c1a57634e487b7160e01b86526022600452602486fd5b818015611c2e5760018114611c3f57611c6c565b60ff19861689528489019650611c6c565b60008b81526020902060005b86811015611c645781548b820152908501908301611c4b565b505084890196505b505050505050611c7c8185611bc2565b95945050505050565b634e487b7160e01b600052602160045260246000fd5b6000600019821415611caf57611caf611b04565b5060010190565b600082821015611cc857611cc8611b04565b500390565b600082611cdc57611cdc611aee565b500690565b60008219821115611cf457611cf4611b04565b500190565b634e487b7160e01b600052603260045260246000fdfea26469706673582212209da325129a3fe47b6943c9e12311a0a950a7ea4675ab2b3174fc817aae55337b64736f6c634300080b003368747470733a2f2f6d696e742e6c756b652e6361742f6170692f6d657461646174612f000000000000000000000000c93d835e0bfebcf8b14359786cb255aa65528c81
Deployed Bytecode
0x6080604052600436106101cc5760003560e01c80636c0360eb116100f7578063a7ecd37e11610095578063db7fd40811610064578063db7fd4081461056a578063e985e9c51461057d578063f2fde38b146105b8578063fb6027b6146105d857600080fd5b8063a7ecd37e146104f0578063b67c25a314610510578063b88d4fde1461052a578063c87b56dd1461054a57600080fd5b80638da5cb5b116100d15780638da5cb5b1461047d57806395d89b411461049b578063a1db9782146104b0578063a22cb465146104d057600080fd5b80636c0360eb1461042657806370a082311461043b578063715018a61461046857600080fd5b8063238ac9331161016f57806342842e0e1161013e57806342842e0e1461038c57806355f804b3146103ac5780636352211e146103cc5780636817c76c1461040257600080fd5b8063238ac933146102f857806323b872dd146103185780632a55205a146103385780633ccfd60b1461037757600080fd5b8063081812fc116101ab578063081812fc1461024a578063095ea7b3146102985780630e2d56cf146102b85780631c0063b4146102d857600080fd5b8062728e46146101d157806301ffc9a7146101f357806306fdde0314610228575b600080fd5b3480156101dd57600080fd5b506101f16101ec3660046116c5565b6105f8565b005b3480156101ff57600080fd5b5061021361020e3660046116f4565b610630565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6106b8565b60405161021f9190611770565b34801561025657600080fd5b506102806102653660046116c5565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161021f565b3480156102a457600080fd5b506101f16102b3366004611798565b610746565b3480156102c457600080fd5b506101f16102d33660046117d2565b610828565b3480156102e457600080fd5b506101f16102f33660046116c5565b610865565b34801561030457600080fd5b50600854610280906001600160a01b031681565b34801561032457600080fd5b506101f16103333660046117ef565b610894565b34801561034457600080fd5b50610358610353366004611830565b610a5b565b604080516001600160a01b03909316835260208301919091520161021f565b34801561038357600080fd5b506101f1610a8e565b34801561039857600080fd5b506101f16103a73660046117ef565b610b2b565b3480156103b857600080fd5b506101f16103c73660046118de565b610c23565b3480156103d857600080fd5b506102806103e73660046116c5565b6004602052600090815260409020546001600160a01b031681565b34801561040e57600080fd5b5061041860095481565b60405190815260200161021f565b34801561043257600080fd5b5061023d610c64565b34801561044757600080fd5b50610418610456366004611927565b60036020526000908152604090205481565b34801561047457600080fd5b506101f1610c71565b34801561048957600080fd5b506000546001600160a01b0316610280565b3480156104a757600080fd5b5061023d610ca7565b3480156104bc57600080fd5b506101f16104cb366004611798565b610cb4565b3480156104dc57600080fd5b506101f16104eb366004611944565b610da1565b3480156104fc57600080fd5b506101f161050b366004611927565b610e0d565b34801561051c57600080fd5b50600a546102139060ff1681565b34801561053657600080fd5b506101f161054536600461199d565b610e59565b34801561055657600080fd5b5061023d6105653660046116c5565b610f38565b6101f1610578366004611a09565b610f6c565b34801561058957600080fd5b50610213610598366004611a50565b600660209081526000928352604080842090915290825290205460ff1681565b3480156105c457600080fd5b506101f16105d3366004611927565b6110af565b3480156105e457600080fd5b506101f16105f33660046116c5565b611147565b6000546001600160a01b0316331461062b5760405162461bcd60e51b815260040161062290611a7e565b60405180910390fd5b600955565b60006307f5828d60e41b6001600160e01b03198316148061066157506380ac58cd60e01b6001600160e01b03198316145b8061067c5750635b5e139f60e01b6001600160e01b03198316145b8061069757506301ffc9a760e01b6001600160e01b03198316145b806106b2575063152a902d60e11b6001600160e01b03198316145b92915050565b600180546106c590611ab3565b80601f01602080910402602001604051908101604052809291908181526020018280546106f190611ab3565b801561073e5780601f106107135761010080835404028352916020019161073e565b820191906000526020600020905b81548152906001019060200180831161072157829003601f168201915b505050505081565b6000818152600460205260409020546001600160a01b03163381148061078f57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6107cc5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610622565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146108525760405162461bcd60e51b815260040161062290611a7e565b600a805460ff1916911515919091179055565b6000546001600160a01b0316331461088f5760405162461bcd60e51b815260040161062290611a7e565b600b55565b6000818152600460205260409020546001600160a01b038481169116146108ea5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610622565b6001600160a01b0382166109345760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610622565b336001600160a01b038416148061096157506000818152600560205260409020546001600160a01b031633145b8061098f57506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b6109cc5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610622565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806001600b541015610a7457506000905080610a87565b600b54309250610a849084611b1a565b90505b9250929050565b306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190611b2e565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610b28573d6000803e3d6000fd5b50565b610b36838383610894565b6001600160a01b0382163b1580610bdf5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd39190611b4b565b6001600160e01b031916145b610c1e5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610622565b505050565b6000546001600160a01b03163314610c4d5760405162461bcd60e51b815260040161062290611a7e565b8051610c6090600790602084019061162c565b5050565b600780546106c590611ab3565b6000546001600160a01b03163314610c9b5760405162461bcd60e51b815260040161062290611a7e565b610ca56000611238565b565b600280546106c590611ab3565b6000829050806001600160a01b031663a9059cbb306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2a9190611b2e565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303816000875af1158015610d77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9b9190611b68565b50505050565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610e375760405162461bcd60e51b815260040161062290611a7e565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b610e64848484610894565b6001600160a01b0383163b1580610ef95750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a0290610eaa903390899088908890600401611b85565b6020604051808303816000875af1158015610ec9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eed9190611b4b565b6001600160e01b031916145b610d9b5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610622565b60606007610f4583611288565b604051602001610f56929190611bde565b6040516020818303038152906040529050919050565b600a5460ff16610fbe5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963206d696e74696e67206973206e6f7420616374697665000000006044820152606401610622565b6009543414610ffd5760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b6044820152606401610622565b6000806110328460405160200161101691815260200190565b604051602081830303815290604052805190602001208461138e565b9092509050600081600481111561104b5761104b611c85565b14801561106557506008546001600160a01b038381169116145b6110a55760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b6044820152606401610622565b610d9b33856113fb565b6000546001600160a01b031633146110d95760405162461bcd60e51b815260040161062290611a7e565b6001600160a01b03811661113e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610622565b610b2881611238565b6000546001600160a01b031633146111715760405162461bcd60e51b815260040161062290611a7e565b6000818152600460205260409020546001600160a01b0316156111cd5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610622565b610b28306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561120e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112329190611b2e565b826113fb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816112ac5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112d657806112c081611c9b565b91506112cf9050600a83611b1a565b91506112b0565b60008167ffffffffffffffff8111156112f1576112f1611852565b6040519080825280601f01601f19166020018201604052801561131b576020820181803683370190505b5090505b841561138657611330600183611cb6565b915061133d600a86611ccd565b611348906030611ce1565b60f81b81838151811061135d5761135d611cf9565b60200101906001600160f81b031916908160001a90535061137f600a86611b1a565b945061131f565b949350505050565b6000808251604114156113c55760208301516040840151606085015160001a6113b987828585611506565b94509450505050610a87565b8251604014156113ef57602083015160408401516113e48683836115f3565b935093505050610a87565b50600090506002610a87565b6001600160a01b0382166114455760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610622565b6000818152600460205260409020546001600160a01b03161561149b5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610622565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561153d57506000905060036115ea565b8460ff16601b1415801561155557508460ff16601c14155b1561156657506000905060046115ea565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156115ba573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166115e3576000600192509250506115ea565b9150600090505b94509492505050565b6000806001600160ff1b0383168161161060ff86901c601b611ce1565b905061161e87828885611506565b935093505050935093915050565b82805461163890611ab3565b90600052602060002090601f01602090048101928261165a57600085556116a0565b82601f1061167357805160ff19168380011785556116a0565b828001600101855582156116a0579182015b828111156116a0578251825591602001919060010190611685565b506116ac9291506116b0565b5090565b5b808211156116ac57600081556001016116b1565b6000602082840312156116d757600080fd5b5035919050565b6001600160e01b031981168114610b2857600080fd5b60006020828403121561170657600080fd5b8135611711816116de565b9392505050565b60005b8381101561173357818101518382015260200161171b565b83811115610d9b5750506000910152565b6000815180845261175c816020860160208601611718565b601f01601f19169290920160200192915050565b6020815260006117116020830184611744565b6001600160a01b0381168114610b2857600080fd5b600080604083850312156117ab57600080fd5b82356117b681611783565b946020939093013593505050565b8015158114610b2857600080fd5b6000602082840312156117e457600080fd5b8135611711816117c4565b60008060006060848603121561180457600080fd5b833561180f81611783565b9250602084013561181f81611783565b929592945050506040919091013590565b6000806040838503121561184357600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561188357611883611852565b604051601f8501601f19908116603f011681019082821181831017156118ab576118ab611852565b816040528093508581528686860111156118c457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118f057600080fd5b813567ffffffffffffffff81111561190757600080fd5b8201601f8101841361191857600080fd5b61138684823560208401611868565b60006020828403121561193957600080fd5b813561171181611783565b6000806040838503121561195757600080fd5b823561196281611783565b91506020830135611972816117c4565b809150509250929050565b600082601f83011261198e57600080fd5b61171183833560208501611868565b600080600080608085870312156119b357600080fd5b84356119be81611783565b935060208501356119ce81611783565b925060408501359150606085013567ffffffffffffffff8111156119f157600080fd5b6119fd8782880161197d565b91505092959194509250565b60008060408385031215611a1c57600080fd5b82359150602083013567ffffffffffffffff811115611a3a57600080fd5b611a468582860161197d565b9150509250929050565b60008060408385031215611a6357600080fd5b8235611a6e81611783565b9150602083013561197281611783565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611ac757607f821691505b60208210811415611ae857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082611b2957611b29611aee565b500490565b600060208284031215611b4057600080fd5b815161171181611783565b600060208284031215611b5d57600080fd5b8151611711816116de565b600060208284031215611b7a57600080fd5b8151611711816117c4565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bb890830184611744565b9695505050505050565b60008151611bd4818560208601611718565b9290920192915050565b600080845481600182811c915080831680611bfa57607f831692505b6020808410821415611c1a57634e487b7160e01b86526022600452602486fd5b818015611c2e5760018114611c3f57611c6c565b60ff19861689528489019650611c6c565b60008b81526020902060005b86811015611c645781548b820152908501908301611c4b565b505084890196505b505050505050611c7c8185611bc2565b95945050505050565b634e487b7160e01b600052602160045260246000fd5b6000600019821415611caf57611caf611b04565b5060010190565b600082821015611cc857611cc8611b04565b500390565b600082611cdc57611cdc611aee565b500690565b60008219821115611cf457611cf4611b04565b500190565b634e487b7160e01b600052603260045260246000fdfea26469706673582212209da325129a3fe47b6943c9e12311a0a950a7ea4675ab2b3174fc817aae55337b64736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c93d835e0bfebcf8b14359786cb255aa65528c81
-----Decoded View---------------
Arg [0] : _signer (address): 0xC93D835E0bFEBcF8b14359786CB255aA65528C81
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c93d835e0bfebcf8b14359786cb255aa65528c81
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.