Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
533 RPASS
Holders
429
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RPASSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RunPass
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; // author @Syed Qasim contract RunPass is ERC721, Ownable { constructor(string memory _uri, address payable _owner_wallet, bytes32 _root) ERC721 ("RUN PASS", "RPASS") { notRevealedUri = _uri; owner_wallet = _owner_wallet; setRoyaltyInfo(msg.sender, 500); _merkleRoot = _root; // reserveDiamonds(); } using Counters for Counters.Counter; Counters.Counter private supply; string public notRevealedUri; string public revealedUri; string public uriMetadataSuffix = ""; bytes32 public _merkleRoot; bool public reveal = false; uint public MAX_SUPPLY = 1000; bool public mintStatus = false; uint public mintPrice = 10 ether; uint public MAX_MINT = 2; bool public limitMaxPublicmint = false; bool public premintStatus = false; uint public preMintPrice = 0.0 ether; uint public MAX_Pre_Mint = 1; bool public limitMaxPremint = true; // Wallet Addresses address payable private owner_wallet; mapping(address => uint256) public addressesMintedBalance; mapping(address => uint256) public WLaddressesMintedBalance; uint96 public royaltyFeesInBips = 500; uint96 public reservedDiamonds = 25; address public royaltyAddress = owner_wallet; 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); } // Diamonds will be reserved before Launch. function reserveDiamonds() public onlyOwner { require(supply.current() < reservedDiamonds, "Diamonds reserved"); for (uint i = supply.current(); i < reservedDiamonds; i++) { supply.increment(); _safeMint(msg.sender, supply.current()); } } function airdropTokens(address[] calldata _to) public onlyOwner { require(supply.current() + _to.length <= MAX_SUPPLY, "Exceed Max tokens"); for (uint i = 0; i < _to.length; i++) { supply.increment(); _safeMint(_to[i], supply.current()); } } function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips) public onlyOwner { royaltyAddress = _receiver; royaltyFeesInBips = _royaltyFeesInBips; } function totalSupply() public view returns (uint256) { return supply.current(); } function changeNotRevealedUri(string memory _uri) external onlyOwner { notRevealedUri = _uri; } function changeRevealedUri(string memory _uri) external onlyOwner { revealedUri = _uri; } function changeOwnerWallet(address payable _address) external onlyOwner { owner_wallet = _address; } function getRevealedUri() internal view virtual returns (string memory) { return revealedUri; } function togglerevealToken() external onlyOwner { reveal = !reveal; } function togglePreMint() external onlyOwner { premintStatus = !premintStatus; } function toggleMint() public onlyOwner { mintStatus = !mintStatus; } function toggleLimitMaxPremint() public onlyOwner { limitMaxPremint = !limitMaxPremint; } function setMaxSupply(uint256 _supply) external onlyOwner { MAX_SUPPLY = _supply; } function setPrice(uint256 _price) external onlyOwner { mintPrice = _price; } function setWLPrice(uint256 _price) external onlyOwner { preMintPrice = _price; } function setmaxMintAmount(uint256 _newmaxMintAmount) external onlyOwner { MAX_MINT = _newmaxMintAmount; } function setmaxPreMintAmount(uint256 _newmaxMintAmount) external onlyOwner { MAX_Pre_Mint = _newmaxMintAmount; } function setMerkleRoot(bytes32 _root) external onlyOwner { _merkleRoot = _root; } function resetPreMintMultiple(address[] calldata _addresses) public onlyOwner { for (uint i = 0; i < _addresses.length; i++) { delete WLaddressesMintedBalance[_addresses[i]]; } } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { return interfaceId == 0x2a55205a || super.supportsInterface(interfaceId); } function verify(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (leaf <= proofElement) { leaf = keccak256(abi.encodePacked(leaf, proofElement)); } else { leaf = keccak256(abi.encodePacked(proofElement, leaf)); } } return leaf == root; } function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (reveal == false) { string memory baseURI = _baseURI(); return string(abi.encodePacked(baseURI)); } else { string memory baseURI_revealed = _baseURI(); // "ipfs://__CID__/" return string(abi.encodePacked(baseURI_revealed, toString(tokenId),uriMetadataSuffix)); } } function _baseURI() internal view virtual override returns (string memory) { if (reveal == false) { return notRevealedUri; } else { return revealedUri; } } function tokensOfWallet(address _owner) public view returns (uint256[] memory){ uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { tokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return tokenIds; } function getWLaddressMintBalance(address _address) internal view virtual returns (uint256) { return WLaddressesMintedBalance[_address]; } function regularMint(uint256 numberOfTokens) external payable { require(mintStatus, "Public Mint Paused"); require(numberOfTokens > 0, "mint at least 1 NFT"); require(supply.current() + numberOfTokens <= MAX_SUPPLY, "Exceed MAX Supply"); require(numberOfTokens <= MAX_MINT,"amount per Transaction exceeded"); require(mintPrice * numberOfTokens <= msg.value, "Ether value not correct"); if (limitMaxPublicmint == true) { require(addressesMintedBalance[msg.sender] + numberOfTokens <= MAX_MINT, "Exceeded MAX Token Mint per Address"); } for (uint256 i = 0; i < numberOfTokens; i++) { supply.increment(); _safeMint(msg.sender, supply.current()); } addressesMintedBalance[msg.sender] += numberOfTokens; } function preMint(bytes32[] calldata _merkleTree, uint256 numberOfTokens) external payable { require(premintStatus, "Presale Mint Paused for now"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(verify(_merkleTree, _merkleRoot, leaf), "Not on whitelist"); if (limitMaxPremint == true) { require(WLaddressesMintedBalance[msg.sender] + numberOfTokens <= MAX_Pre_Mint, "Address already utilized"); } require(supply.current() + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens"); require(preMintPrice * numberOfTokens <= msg.value, "Ether value not correct"); for (uint256 i = 0; i < numberOfTokens; i++) { supply.increment(); _safeMint(msg.sender, supply.current()); } WLaddressesMintedBalance[msg.sender] += numberOfTokens; } function get_balance() public onlyOwner view returns (uint balance) { return address(this).balance; } function withdraw() public onlyOwner { require(get_balance()>0, "Balance is 0"); (bool owv, ) = payable(owner_wallet).call{value: get_balance()}(""); require(owv); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice)external view virtual returns (address, uint256){ return (royaltyAddress, calculateRoyalty(_salePrice)); } function calculateRoyalty(uint256 _salePrice) view public returns (uint256) { return (_salePrice / 10000) * royaltyFeesInBips; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 (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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address payable","name":"_owner_wallet","type":"address"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_Pre_Mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WLaddressesMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressesMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"airdropTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"calculateRoyalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"changeNotRevealedUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_address","type":"address"}],"name":"changeOwnerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"changeRevealedUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_balance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitMaxPremint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitMaxPublicmint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleTree","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"regularMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveDiamonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedDiamonds","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"resetPreMintMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFeesInBips","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxPreMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleLimitMaxPremint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePreMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglerevealToken","outputs":[],"stateMutability":"nonpayable","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":"_owner","type":"address"}],"name":"tokensOfWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriMetadataSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600a91620002b2565b50600c805460ff199081169091556103e8600d55600e805482169055678ac7230489e80000600f5560026010556011805461ffff19169055600060125560016013819055601480549092161790819055601780546001600160c01b0319166c190000000000000000000001f4179055601880546101009092046001600160a01b03166001600160a01b0319909216919091179055348015620000bc57600080fd5b506040516200314d3803806200314d833981016040819052620000df9162000375565b604080518082018252600881526752554e205041535360c01b602080830191825283518085019094526005845264525041535360d81b9084015281519192916200012c91600091620002b2565b50805162000142906001906020840190620002b2565b5050506200015f62000159620001af60201b60201c565b620001b3565b825162000174906008906020860190620002b2565b5060148054610100600160a81b0319166101006001600160a01b03851602179055620001a3336101f462000205565b600b5550620004c29050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200020f62000251565b601880546001600160a01b0319166001600160a01b039390931692909217909155601780546001600160601b0319166001600160601b03909216919091179055565b6006546001600160a01b03163314620002b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620002c0906200046f565b90600052602060002090601f016020900481019282620002e457600085556200032f565b82601f10620002ff57805160ff19168380011785556200032f565b828001600101855582156200032f579182015b828111156200032f57825182559160200191906001019062000312565b506200033d92915062000341565b5090565b5b808211156200033d576000815560010162000342565b80516001600160a01b03811681146200037057600080fd5b919050565b6000806000606084860312156200038b57600080fd5b83516001600160401b0380821115620003a357600080fd5b818601915086601f830112620003b857600080fd5b815181811115620003cd57620003cd620004ac565b604051601f8201601f19908116603f01168101908382118183101715620003f857620003f8620004ac565b816040528281526020935089848487010111156200041557600080fd5b600091505b828210156200043957848201840151818301850152908301906200041a565b828211156200044b5760008484830101525b96506200045d91505086820162000358565b93505050604084015190509250925092565b600181811c908216806200048457607f821691505b60208210811415620004a657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612c7b80620004d26000396000f3fe6080604052600436106103975760003560e01c806373c7400e116101dc578063ad2f852a11610102578063d3ba9427116100a0578063f2fde38b1161006f578063f2fde38b14610a77578063f44bfb0814610a97578063f4ddba9214610ab6578063f6a5b8e614610ac957600080fd5b8063d3ba9427146109ee578063d3dd5fe014610a03578063e985e9c514610a18578063f0292a0314610a6157600080fd5b8063c1cfb99a116100dc578063c1cfb99a14610986578063c3e301961461099b578063c87b56dd146109ae578063ca5bc579146109ce57600080fd5b8063ad2f852a14610919578063b88d4fde14610939578063ba2aec3a1461095957600080fd5b806395d89b411161017a578063a2e6961311610149578063a2e69613146108a5578063a3c37923146108c5578063a475b5dd146108df578063a9d9a994146108f957600080fd5b806395d89b41146108405780639da3f8fd14610855578063a187c89b1461086f578063a22cb4651461088557600080fd5b80637cb64759116101b65780637cb64759146107c25780637f00c7a6146107e25780638da5cb5b1461080257806391b7f5ed1461082057600080fd5b806373c7400e1461075557806375935d1114610775578063774700f3146107a257600080fd5b80632a55205a116102c15780634ee51a271161025f5780636a9afd371161022e5780636a9afd37146106eb5780636f8b44b01461070057806370a0823114610720578063715018a61461074057600080fd5b80634ee51a27146106805780634f095bf1146106a05780636352211e146106b55780636817c76c146106d557600080fd5b806336cf46d31161029b57806336cf46d3146106165780633ccfd60b1461062b57806342842e0e146106405780634a0bbb3f1461066057600080fd5b80632a55205a146105ab5780632fc37ab2146105ea57806332cb6b0c1461060057600080fd5b80630bbcbfc21161033957806318160ddd1161030857806318160ddd146105215780631d05988e146105365780632375cb9b1461057557806323b872dd1461058b57600080fd5b80630bbcbfc2146104bd57806312980f26146104d757806317a30a48146104ec57806318117abb1461050157600080fd5b806306fdde031161037557806306fdde031461042e578063081812fc14610450578063081c8c4414610488578063095ea7b31461049d57600080fd5b806301ffc9a71461039c57806302fa7c47146103d157806303986930146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046127e5565b610ae9565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103f16103ec366004612704565b610b14565b005b3480156103ff57600080fd5b5061042061040e366004612587565b60166020526000908152604090205481565b6040519081526020016103c8565b34801561043a57600080fd5b50610443610b63565b6040516103c89190612a17565b34801561045c57600080fd5b5061047061046b3660046127cc565b610bf5565b6040516001600160a01b0390911681526020016103c8565b34801561049457600080fd5b50610443610c1c565b3480156104a957600080fd5b506103f16104b83660046126d8565b610caa565b3480156104c957600080fd5b506014546103bc9060ff1681565b3480156104e357600080fd5b506103f1610dc5565b3480156104f857600080fd5b506103f1610de1565b34801561050d57600080fd5b506103f161051c366004612587565b610ea4565b34801561052d57600080fd5b50610420610ed4565b34801561054257600080fd5b5060175461055d90600160601b90046001600160601b031681565b6040516001600160601b0390911681526020016103c8565b34801561058157600080fd5b5061042060135481565b34801561059757600080fd5b506103f16105a63660046125e4565b610ee4565b3480156105b757600080fd5b506105cb6105c6366004612868565b610f15565b604080516001600160a01b0390931683526020830191909152016103c8565b3480156105f657600080fd5b50610420600b5481565b34801561060c57600080fd5b50610420600d5481565b34801561062257600080fd5b50610443610f3b565b34801561063757600080fd5b506103f1610f48565b34801561064c57600080fd5b506103f161065b3660046125e4565b611001565b34801561066c57600080fd5b506103f161067b3660046127cc565b61101c565b34801561068c57600080fd5b506103f161069b36600461273e565b611029565b3480156106ac57600080fd5b506103f16110e7565b3480156106c157600080fd5b506104706106d03660046127cc565b611103565b3480156106e157600080fd5b50610420600f5481565b3480156106f757600080fd5b506103f1611163565b34801561070c57600080fd5b506103f161071b3660046127cc565b611188565b34801561072c57600080fd5b5061042061073b366004612587565b611195565b34801561074c57600080fd5b506103f161121b565b34801561076157600080fd5b5060175461055d906001600160601b031681565b34801561078157600080fd5b50610795610790366004612587565b61122f565b6040516103c891906129d3565b3480156107ae57600080fd5b506103f16107bd36600461281f565b611310565b3480156107ce57600080fd5b506103f16107dd3660046127cc565b61132f565b3480156107ee57600080fd5b506103f16107fd3660046127cc565b61133c565b34801561080e57600080fd5b506006546001600160a01b0316610470565b34801561082c57600080fd5b506103f161083b3660046127cc565b611349565b34801561084c57600080fd5b50610443611356565b34801561086157600080fd5b50600e546103bc9060ff1681565b34801561087b57600080fd5b5061042060125481565b34801561089157600080fd5b506103f16108a03660046126a5565b611365565b3480156108b157600080fd5b506104206108c03660046127cc565b611370565b3480156108d157600080fd5b506011546103bc9060ff1681565b3480156108eb57600080fd5b50600c546103bc9060ff1681565b34801561090557600080fd5b506103f161091436600461281f565b611395565b34801561092557600080fd5b50601854610470906001600160a01b031681565b34801561094557600080fd5b506103f1610954366004612625565b6113b0565b34801561096557600080fd5b50610420610974366004612587565b60156020526000908152604090205481565b34801561099257600080fd5b506104206113e8565b6103f16109a9366004612780565b6113f7565b3480156109ba57600080fd5b506104436109c93660046127cc565b61166f565b3480156109da57600080fd5b506103f16109e936600461273e565b611756565b3480156109fa57600080fd5b506104436117c2565b348015610a0f57600080fd5b506103f16117cf565b348015610a2457600080fd5b506103bc610a333660046125ab565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a6d57600080fd5b5061042060105481565b348015610a8357600080fd5b506103f1610a92366004612587565b6117eb565b348015610aa357600080fd5b506011546103bc90610100900460ff1681565b6103f1610ac43660046127cc565b611861565b348015610ad557600080fd5b506103f1610ae43660046127cc565b611ad8565b600063152a902d60e11b6001600160e01b031983161480610b0e5750610b0e82611ae5565b92915050565b610b1c611b35565b601880546001600160a01b0319166001600160a01b039390931692909217909155601780546bffffffffffffffffffffffff19166001600160601b03909216919091179055565b606060008054610b7290612b58565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9e90612b58565b8015610beb5780601f10610bc057610100808354040283529160200191610beb565b820191906000526020600020905b815481529060010190602001808311610bce57829003601f168201915b5050505050905090565b6000610c0082611b8f565b506000908152600460205260409020546001600160a01b031690565b60088054610c2990612b58565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5590612b58565b8015610ca25780601f10610c7757610100808354040283529160200191610ca2565b820191906000526020600020905b815481529060010190602001808311610c8557829003601f168201915b505050505081565b6000610cb582611103565b9050806001600160a01b0316836001600160a01b03161415610d285760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610d445750610d448133610a33565b610db65760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610d1f565b610dc08383611bee565b505050565b610dcd611b35565b600c805460ff19811660ff90911615179055565b610de9611b35565b6017546001600160601b03600160601b90910416610e0660075490565b10610e475760405162461bcd60e51b8152602060048201526011602482015270111a585b5bdb991cc81c995cd95c9d9959607a1b6044820152606401610d1f565b6000610e5260075490565b90505b601754600160601b90046001600160601b0316811015610ea157610e7d600780546001019055565b610e8f33610e8a60075490565b611c5c565b80610e9981612b93565b915050610e55565b50565b610eac611b35565b601480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000610edf60075490565b905090565b610eee3382611c76565b610f0a5760405162461bcd60e51b8152600401610d1f90612a7c565b610dc0838383611cf5565b60185460009081906001600160a01b0316610f2f84611370565b915091505b9250929050565b600a8054610c2990612b58565b610f50611b35565b6000610f5a6113e8565b11610f965760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610d1f565b60145460009061010090046001600160a01b0316610fb26113e8565b604051600081818185875af1925050503d8060008114610fee576040519150601f19603f3d011682016040523d82523d6000602084013e610ff3565b606091505b5050905080610ea157600080fd5b610dc0838383604051806020016040528060008152506113b0565b611024611b35565b601355565b611031611b35565b600d548161103e60075490565b6110489190612aca565b111561108a5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820746f6b656e7360781b6044820152606401610d1f565b60005b81811015610dc0576110a3600780546001019055565b6110d58383838181106110b8576110b8612bee565b90506020020160208101906110cd9190612587565b600754611c5c565b806110df81612b93565b91505061108d565b6110ef611b35565b6014805460ff19811660ff90911615179055565b6000818152600260205260408120546001600160a01b031680610b0e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d1f565b61116b611b35565b6011805461ff001981166101009182900460ff1615909102179055565b611190611b35565b600d55565b60006001600160a01b0382166111ff5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610d1f565b506001600160a01b031660009081526003602052604090205490565b611223611b35565b61122d6000611e91565b565b6060600061123c83611195565b905060008167ffffffffffffffff81111561125957611259612c04565b604051908082528060200260200182016040528015611282578160200160208202803683370190505b509050600160005b838110801561129b5750600d548211155b156113065760006112ab83611103565b9050866001600160a01b0316816001600160a01b031614156112f357828483815181106112da576112da612bee565b6020908102919091010152816112ef81612b93565b9250505b826112fd81612b93565b9350505061128a565b5090949350505050565b611318611b35565b805161132b906008906020840190612433565b5050565b611337611b35565b600b55565b611344611b35565b601055565b611351611b35565b600f55565b606060018054610b7290612b58565b61132b338383611ee3565b6017546000906001600160601b031661138b61271084612ae2565b610b0e9190612af6565b61139d611b35565b805161132b906009906020840190612433565b6113ba3383611c76565b6113d65760405162461bcd60e51b8152600401610d1f90612a7c565b6113e284848484611fb2565b50505050565b60006113f2611b35565b504790565b601154610100900460ff1661144e5760405162461bcd60e51b815260206004820152601b60248201527f50726573616c65204d696e742050617573656420666f72206e6f7700000000006044820152606401610d1f565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506114958484600b5484611fe5565b6114d45760405162461bcd60e51b815260206004820152601060248201526f139bdd081bdb881dda1a5d195b1a5cdd60821b6044820152606401610d1f565b60145460ff161515600114156115505760135433600090815260166020526040902054611502908490612aca565b11156115505760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c7265616479207574696c697a656400000000000000006044820152606401610d1f565b600d548261155d60075490565b6115679190612aca565b11156115b55760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e736044820152606401610d1f565b34826012546115c49190612af6565b111561160c5760405162461bcd60e51b8152602060048201526017602482015276115d1a195c881d985b1d59481b9bdd0818dbdc9c9958dd604a1b6044820152606401610d1f565b60005b8281101561164457611625600780546001019055565b61163233610e8a60075490565b8061163c81612b93565b91505061160f565b503360009081526016602052604081208054849290611664908490612aca565b909155505050505050565b6000818152600260205260409020546060906001600160a01b03166116ee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d1f565b600c5460ff1661172c57600061170261208f565b90508060405160200161171591906128b6565b604051602081830303815290604052915050919050565b600061173661208f565b905080611742846120b6565b600a604051602001611715939291906128d2565b61175e611b35565b60005b81811015610dc0576016600084848481811061177f5761177f612bee565b90506020020160208101906117949190612587565b6001600160a01b031681526020810191909152604001600090812055806117ba81612b93565b915050611761565b60098054610c2990612b58565b6117d7611b35565b600e805460ff19811660ff90911615179055565b6117f3611b35565b6001600160a01b0381166118585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1f565b610ea181611e91565b600e5460ff166118a85760405162461bcd60e51b8152602060048201526012602482015271141d589b1a58c8135a5b9d0814185d5cd95960721b6044820152606401610d1f565b600081116118ee5760405162461bcd60e51b81526020600482015260136024820152721b5a5b9d08185d081b19585cdd080c48139195606a1b6044820152606401610d1f565b600d54816118fb60075490565b6119059190612aca565b11156119475760405162461bcd60e51b8152602060048201526011602482015270457863656564204d415820537570706c7960781b6044820152606401610d1f565b6010548111156119995760405162461bcd60e51b815260206004820152601f60248201527f616d6f756e7420706572205472616e73616374696f6e206578636565646564006044820152606401610d1f565b3481600f546119a89190612af6565b11156119f05760405162461bcd60e51b8152602060048201526017602482015276115d1a195c881d985b1d59481b9bdd0818dbdc9c9958dd604a1b6044820152606401610d1f565b60115460ff16151560011415611a785760105433600090815260156020526040902054611a1e908390612aca565b1115611a785760405162461bcd60e51b815260206004820152602360248201527f4578636565646564204d415820546f6b656e204d696e7420706572204164647260448201526265737360e81b6064820152608401610d1f565b60005b81811015611ab057611a91600780546001019055565b611a9e33610e8a60075490565b80611aa881612b93565b915050611a7b565b503360009081526015602052604081208054839290611ad0908490612aca565b909155505050565b611ae0611b35565b601255565b60006001600160e01b031982166380ac58cd60e01b1480611b1657506001600160e01b03198216635b5e139f60e01b145b80610b0e57506301ffc9a760e01b6001600160e01b0319831614610b0e565b6006546001600160a01b0316331461122d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d1f565b6000818152600260205260409020546001600160a01b0316610ea15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d1f565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c2382611103565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61132b8282604051806020016040528060008152506121b4565b600080611c8283611103565b9050806001600160a01b0316846001600160a01b03161480611cc957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611ced5750836001600160a01b0316611ce284610bf5565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d0882611103565b6001600160a01b031614611d6c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610d1f565b6001600160a01b038216611dce5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d1f565b611dd9600082611bee565b6001600160a01b0383166000908152600360205260408120805460019290611e02908490612b15565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e30908490612aca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611f455760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d1f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611fbd848484611cf5565b611fc9848484846121e7565b6113e25760405162461bcd60e51b8152600401610d1f90612a2a565b6000805b8481101561208657600086868381811061200557612005612bee565b905060200201359050808411612046576040805160208101869052908101829052606001604051602081830303815290604052805190602001209350612073565b60408051602081018390529081018590526060016040516020818303038152906040528051906020012093505b508061207e81612b93565b915050611fe9565b50501492915050565b600c5460609060ff166120a95760088054610b7290612b58565b60098054610b7290612b58565b6060816120da5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561210457806120ee81612b93565b91506120fd9050600a83612ae2565b91506120de565b60008167ffffffffffffffff81111561211f5761211f612c04565b6040519080825280601f01601f191660200182016040528015612149576020820181803683370190505b5090505b8415611ced5761215e600183612b15565b915061216b600a86612bae565b612176906030612aca565b60f81b81838151811061218b5761218b612bee565b60200101906001600160f81b031916908160001a9053506121ad600a86612ae2565b945061214d565b6121be83836122f1565b6121cb60008484846121e7565b610dc05760405162461bcd60e51b8152600401610d1f90612a2a565b60006001600160a01b0384163b156122e957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061222b903390899088908890600401612996565b602060405180830381600087803b15801561224557600080fd5b505af1925050508015612275575060408051601f3d908101601f1916820190925261227291810190612802565b60015b6122cf573d8080156122a3576040519150601f19603f3d011682016040523d82523d6000602084013e6122a8565b606091505b5080516122c75760405162461bcd60e51b8152600401610d1f90612a2a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ced565b506001611ced565b6001600160a01b0382166123475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d1f565b6000818152600260205260409020546001600160a01b0316156123ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d1f565b6001600160a01b03821660009081526003602052604081208054600192906123d5908490612aca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461243f90612b58565b90600052602060002090601f01602090048101928261246157600085556124a7565b82601f1061247a57805160ff19168380011785556124a7565b828001600101855582156124a7579182015b828111156124a757825182559160200191906001019061248c565b506124b39291506124b7565b5090565b5b808211156124b357600081556001016124b8565b600067ffffffffffffffff808411156124e7576124e7612c04565b604051601f8501601f19908116603f0116810190828211818310171561250f5761250f612c04565b8160405280935085815286868601111561252857600080fd5b858560208301376000602087830101525050509392505050565b60008083601f84011261255457600080fd5b50813567ffffffffffffffff81111561256c57600080fd5b6020830191508360208260051b8501011115610f3457600080fd5b60006020828403121561259957600080fd5b81356125a481612c1a565b9392505050565b600080604083850312156125be57600080fd5b82356125c981612c1a565b915060208301356125d981612c1a565b809150509250929050565b6000806000606084860312156125f957600080fd5b833561260481612c1a565b9250602084013561261481612c1a565b929592945050506040919091013590565b6000806000806080858703121561263b57600080fd5b843561264681612c1a565b9350602085013561265681612c1a565b925060408501359150606085013567ffffffffffffffff81111561267957600080fd5b8501601f8101871361268a57600080fd5b612699878235602084016124cc565b91505092959194509250565b600080604083850312156126b857600080fd5b82356126c381612c1a565b9150602083013580151581146125d957600080fd5b600080604083850312156126eb57600080fd5b82356126f681612c1a565b946020939093013593505050565b6000806040838503121561271757600080fd5b823561272281612c1a565b915060208301356001600160601b03811681146125d957600080fd5b6000806020838503121561275157600080fd5b823567ffffffffffffffff81111561276857600080fd5b61277485828601612542565b90969095509350505050565b60008060006040848603121561279557600080fd5b833567ffffffffffffffff8111156127ac57600080fd5b6127b886828701612542565b909790965060209590950135949350505050565b6000602082840312156127de57600080fd5b5035919050565b6000602082840312156127f757600080fd5b81356125a481612c2f565b60006020828403121561281457600080fd5b81516125a481612c2f565b60006020828403121561283157600080fd5b813567ffffffffffffffff81111561284857600080fd5b8201601f8101841361285957600080fd5b611ced848235602084016124cc565b6000806040838503121561287b57600080fd5b50508035926020909101359150565b600081518084526128a2816020860160208601612b2c565b601f01601f19169290920160200192915050565b600082516128c8818460208701612b2c565b9190910192915050565b6000845160206128e58285838a01612b2c565b8551918401916128f88184848a01612b2c565b8554920191600090600181811c908083168061291557607f831692505b85831081141561293357634e487b7160e01b85526022600452602485fd5b808015612947576001811461295857612985565b60ff19851688528388019550612985565b60008b81526020902060005b8581101561297d5781548a820152908401908801612964565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129c99083018461288a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a0b578351835292840192918401916001016129ef565b50909695505050505050565b6020815260006125a4602083018461288a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60008219821115612add57612add612bc2565b500190565b600082612af157612af1612bd8565b500490565b6000816000190483118215151615612b1057612b10612bc2565b500290565b600082821015612b2757612b27612bc2565b500390565b60005b83811015612b47578181015183820152602001612b2f565b838111156113e25750506000910152565b600181811c90821680612b6c57607f821691505b60208210811415612b8d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ba757612ba7612bc2565b5060010190565b600082612bbd57612bbd612bd8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ea157600080fd5b6001600160e01b031981168114610ea157600080fdfea26469706673582212206a9c07889eb34c56c58fe2fde8bf4ade8e17a7426b6dd1c51f679a6792c965a464736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000035435f5164b920fa073b745b5264c976c5571855a2e79e7e1ad5bb4683ee53efbe19b35eb0a96c29c5429a24a2834080a9ca4b340000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e6754595544474e32766d3935777174756b5451663853356a45685448424533394b3933614d383939314e772f00000000000000000000
Deployed Bytecode
0x6080604052600436106103975760003560e01c806373c7400e116101dc578063ad2f852a11610102578063d3ba9427116100a0578063f2fde38b1161006f578063f2fde38b14610a77578063f44bfb0814610a97578063f4ddba9214610ab6578063f6a5b8e614610ac957600080fd5b8063d3ba9427146109ee578063d3dd5fe014610a03578063e985e9c514610a18578063f0292a0314610a6157600080fd5b8063c1cfb99a116100dc578063c1cfb99a14610986578063c3e301961461099b578063c87b56dd146109ae578063ca5bc579146109ce57600080fd5b8063ad2f852a14610919578063b88d4fde14610939578063ba2aec3a1461095957600080fd5b806395d89b411161017a578063a2e6961311610149578063a2e69613146108a5578063a3c37923146108c5578063a475b5dd146108df578063a9d9a994146108f957600080fd5b806395d89b41146108405780639da3f8fd14610855578063a187c89b1461086f578063a22cb4651461088557600080fd5b80637cb64759116101b65780637cb64759146107c25780637f00c7a6146107e25780638da5cb5b1461080257806391b7f5ed1461082057600080fd5b806373c7400e1461075557806375935d1114610775578063774700f3146107a257600080fd5b80632a55205a116102c15780634ee51a271161025f5780636a9afd371161022e5780636a9afd37146106eb5780636f8b44b01461070057806370a0823114610720578063715018a61461074057600080fd5b80634ee51a27146106805780634f095bf1146106a05780636352211e146106b55780636817c76c146106d557600080fd5b806336cf46d31161029b57806336cf46d3146106165780633ccfd60b1461062b57806342842e0e146106405780634a0bbb3f1461066057600080fd5b80632a55205a146105ab5780632fc37ab2146105ea57806332cb6b0c1461060057600080fd5b80630bbcbfc21161033957806318160ddd1161030857806318160ddd146105215780631d05988e146105365780632375cb9b1461057557806323b872dd1461058b57600080fd5b80630bbcbfc2146104bd57806312980f26146104d757806317a30a48146104ec57806318117abb1461050157600080fd5b806306fdde031161037557806306fdde031461042e578063081812fc14610450578063081c8c4414610488578063095ea7b31461049d57600080fd5b806301ffc9a71461039c57806302fa7c47146103d157806303986930146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046127e5565b610ae9565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103f16103ec366004612704565b610b14565b005b3480156103ff57600080fd5b5061042061040e366004612587565b60166020526000908152604090205481565b6040519081526020016103c8565b34801561043a57600080fd5b50610443610b63565b6040516103c89190612a17565b34801561045c57600080fd5b5061047061046b3660046127cc565b610bf5565b6040516001600160a01b0390911681526020016103c8565b34801561049457600080fd5b50610443610c1c565b3480156104a957600080fd5b506103f16104b83660046126d8565b610caa565b3480156104c957600080fd5b506014546103bc9060ff1681565b3480156104e357600080fd5b506103f1610dc5565b3480156104f857600080fd5b506103f1610de1565b34801561050d57600080fd5b506103f161051c366004612587565b610ea4565b34801561052d57600080fd5b50610420610ed4565b34801561054257600080fd5b5060175461055d90600160601b90046001600160601b031681565b6040516001600160601b0390911681526020016103c8565b34801561058157600080fd5b5061042060135481565b34801561059757600080fd5b506103f16105a63660046125e4565b610ee4565b3480156105b757600080fd5b506105cb6105c6366004612868565b610f15565b604080516001600160a01b0390931683526020830191909152016103c8565b3480156105f657600080fd5b50610420600b5481565b34801561060c57600080fd5b50610420600d5481565b34801561062257600080fd5b50610443610f3b565b34801561063757600080fd5b506103f1610f48565b34801561064c57600080fd5b506103f161065b3660046125e4565b611001565b34801561066c57600080fd5b506103f161067b3660046127cc565b61101c565b34801561068c57600080fd5b506103f161069b36600461273e565b611029565b3480156106ac57600080fd5b506103f16110e7565b3480156106c157600080fd5b506104706106d03660046127cc565b611103565b3480156106e157600080fd5b50610420600f5481565b3480156106f757600080fd5b506103f1611163565b34801561070c57600080fd5b506103f161071b3660046127cc565b611188565b34801561072c57600080fd5b5061042061073b366004612587565b611195565b34801561074c57600080fd5b506103f161121b565b34801561076157600080fd5b5060175461055d906001600160601b031681565b34801561078157600080fd5b50610795610790366004612587565b61122f565b6040516103c891906129d3565b3480156107ae57600080fd5b506103f16107bd36600461281f565b611310565b3480156107ce57600080fd5b506103f16107dd3660046127cc565b61132f565b3480156107ee57600080fd5b506103f16107fd3660046127cc565b61133c565b34801561080e57600080fd5b506006546001600160a01b0316610470565b34801561082c57600080fd5b506103f161083b3660046127cc565b611349565b34801561084c57600080fd5b50610443611356565b34801561086157600080fd5b50600e546103bc9060ff1681565b34801561087b57600080fd5b5061042060125481565b34801561089157600080fd5b506103f16108a03660046126a5565b611365565b3480156108b157600080fd5b506104206108c03660046127cc565b611370565b3480156108d157600080fd5b506011546103bc9060ff1681565b3480156108eb57600080fd5b50600c546103bc9060ff1681565b34801561090557600080fd5b506103f161091436600461281f565b611395565b34801561092557600080fd5b50601854610470906001600160a01b031681565b34801561094557600080fd5b506103f1610954366004612625565b6113b0565b34801561096557600080fd5b50610420610974366004612587565b60156020526000908152604090205481565b34801561099257600080fd5b506104206113e8565b6103f16109a9366004612780565b6113f7565b3480156109ba57600080fd5b506104436109c93660046127cc565b61166f565b3480156109da57600080fd5b506103f16109e936600461273e565b611756565b3480156109fa57600080fd5b506104436117c2565b348015610a0f57600080fd5b506103f16117cf565b348015610a2457600080fd5b506103bc610a333660046125ab565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a6d57600080fd5b5061042060105481565b348015610a8357600080fd5b506103f1610a92366004612587565b6117eb565b348015610aa357600080fd5b506011546103bc90610100900460ff1681565b6103f1610ac43660046127cc565b611861565b348015610ad557600080fd5b506103f1610ae43660046127cc565b611ad8565b600063152a902d60e11b6001600160e01b031983161480610b0e5750610b0e82611ae5565b92915050565b610b1c611b35565b601880546001600160a01b0319166001600160a01b039390931692909217909155601780546bffffffffffffffffffffffff19166001600160601b03909216919091179055565b606060008054610b7290612b58565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9e90612b58565b8015610beb5780601f10610bc057610100808354040283529160200191610beb565b820191906000526020600020905b815481529060010190602001808311610bce57829003601f168201915b5050505050905090565b6000610c0082611b8f565b506000908152600460205260409020546001600160a01b031690565b60088054610c2990612b58565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5590612b58565b8015610ca25780601f10610c7757610100808354040283529160200191610ca2565b820191906000526020600020905b815481529060010190602001808311610c8557829003601f168201915b505050505081565b6000610cb582611103565b9050806001600160a01b0316836001600160a01b03161415610d285760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610d445750610d448133610a33565b610db65760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610d1f565b610dc08383611bee565b505050565b610dcd611b35565b600c805460ff19811660ff90911615179055565b610de9611b35565b6017546001600160601b03600160601b90910416610e0660075490565b10610e475760405162461bcd60e51b8152602060048201526011602482015270111a585b5bdb991cc81c995cd95c9d9959607a1b6044820152606401610d1f565b6000610e5260075490565b90505b601754600160601b90046001600160601b0316811015610ea157610e7d600780546001019055565b610e8f33610e8a60075490565b611c5c565b80610e9981612b93565b915050610e55565b50565b610eac611b35565b601480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000610edf60075490565b905090565b610eee3382611c76565b610f0a5760405162461bcd60e51b8152600401610d1f90612a7c565b610dc0838383611cf5565b60185460009081906001600160a01b0316610f2f84611370565b915091505b9250929050565b600a8054610c2990612b58565b610f50611b35565b6000610f5a6113e8565b11610f965760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610d1f565b60145460009061010090046001600160a01b0316610fb26113e8565b604051600081818185875af1925050503d8060008114610fee576040519150601f19603f3d011682016040523d82523d6000602084013e610ff3565b606091505b5050905080610ea157600080fd5b610dc0838383604051806020016040528060008152506113b0565b611024611b35565b601355565b611031611b35565b600d548161103e60075490565b6110489190612aca565b111561108a5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820746f6b656e7360781b6044820152606401610d1f565b60005b81811015610dc0576110a3600780546001019055565b6110d58383838181106110b8576110b8612bee565b90506020020160208101906110cd9190612587565b600754611c5c565b806110df81612b93565b91505061108d565b6110ef611b35565b6014805460ff19811660ff90911615179055565b6000818152600260205260408120546001600160a01b031680610b0e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d1f565b61116b611b35565b6011805461ff001981166101009182900460ff1615909102179055565b611190611b35565b600d55565b60006001600160a01b0382166111ff5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610d1f565b506001600160a01b031660009081526003602052604090205490565b611223611b35565b61122d6000611e91565b565b6060600061123c83611195565b905060008167ffffffffffffffff81111561125957611259612c04565b604051908082528060200260200182016040528015611282578160200160208202803683370190505b509050600160005b838110801561129b5750600d548211155b156113065760006112ab83611103565b9050866001600160a01b0316816001600160a01b031614156112f357828483815181106112da576112da612bee565b6020908102919091010152816112ef81612b93565b9250505b826112fd81612b93565b9350505061128a565b5090949350505050565b611318611b35565b805161132b906008906020840190612433565b5050565b611337611b35565b600b55565b611344611b35565b601055565b611351611b35565b600f55565b606060018054610b7290612b58565b61132b338383611ee3565b6017546000906001600160601b031661138b61271084612ae2565b610b0e9190612af6565b61139d611b35565b805161132b906009906020840190612433565b6113ba3383611c76565b6113d65760405162461bcd60e51b8152600401610d1f90612a7c565b6113e284848484611fb2565b50505050565b60006113f2611b35565b504790565b601154610100900460ff1661144e5760405162461bcd60e51b815260206004820152601b60248201527f50726573616c65204d696e742050617573656420666f72206e6f7700000000006044820152606401610d1f565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506114958484600b5484611fe5565b6114d45760405162461bcd60e51b815260206004820152601060248201526f139bdd081bdb881dda1a5d195b1a5cdd60821b6044820152606401610d1f565b60145460ff161515600114156115505760135433600090815260166020526040902054611502908490612aca565b11156115505760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c7265616479207574696c697a656400000000000000006044820152606401610d1f565b600d548261155d60075490565b6115679190612aca565b11156115b55760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e736044820152606401610d1f565b34826012546115c49190612af6565b111561160c5760405162461bcd60e51b8152602060048201526017602482015276115d1a195c881d985b1d59481b9bdd0818dbdc9c9958dd604a1b6044820152606401610d1f565b60005b8281101561164457611625600780546001019055565b61163233610e8a60075490565b8061163c81612b93565b91505061160f565b503360009081526016602052604081208054849290611664908490612aca565b909155505050505050565b6000818152600260205260409020546060906001600160a01b03166116ee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d1f565b600c5460ff1661172c57600061170261208f565b90508060405160200161171591906128b6565b604051602081830303815290604052915050919050565b600061173661208f565b905080611742846120b6565b600a604051602001611715939291906128d2565b61175e611b35565b60005b81811015610dc0576016600084848481811061177f5761177f612bee565b90506020020160208101906117949190612587565b6001600160a01b031681526020810191909152604001600090812055806117ba81612b93565b915050611761565b60098054610c2990612b58565b6117d7611b35565b600e805460ff19811660ff90911615179055565b6117f3611b35565b6001600160a01b0381166118585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1f565b610ea181611e91565b600e5460ff166118a85760405162461bcd60e51b8152602060048201526012602482015271141d589b1a58c8135a5b9d0814185d5cd95960721b6044820152606401610d1f565b600081116118ee5760405162461bcd60e51b81526020600482015260136024820152721b5a5b9d08185d081b19585cdd080c48139195606a1b6044820152606401610d1f565b600d54816118fb60075490565b6119059190612aca565b11156119475760405162461bcd60e51b8152602060048201526011602482015270457863656564204d415820537570706c7960781b6044820152606401610d1f565b6010548111156119995760405162461bcd60e51b815260206004820152601f60248201527f616d6f756e7420706572205472616e73616374696f6e206578636565646564006044820152606401610d1f565b3481600f546119a89190612af6565b11156119f05760405162461bcd60e51b8152602060048201526017602482015276115d1a195c881d985b1d59481b9bdd0818dbdc9c9958dd604a1b6044820152606401610d1f565b60115460ff16151560011415611a785760105433600090815260156020526040902054611a1e908390612aca565b1115611a785760405162461bcd60e51b815260206004820152602360248201527f4578636565646564204d415820546f6b656e204d696e7420706572204164647260448201526265737360e81b6064820152608401610d1f565b60005b81811015611ab057611a91600780546001019055565b611a9e33610e8a60075490565b80611aa881612b93565b915050611a7b565b503360009081526015602052604081208054839290611ad0908490612aca565b909155505050565b611ae0611b35565b601255565b60006001600160e01b031982166380ac58cd60e01b1480611b1657506001600160e01b03198216635b5e139f60e01b145b80610b0e57506301ffc9a760e01b6001600160e01b0319831614610b0e565b6006546001600160a01b0316331461122d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d1f565b6000818152600260205260409020546001600160a01b0316610ea15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d1f565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c2382611103565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61132b8282604051806020016040528060008152506121b4565b600080611c8283611103565b9050806001600160a01b0316846001600160a01b03161480611cc957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611ced5750836001600160a01b0316611ce284610bf5565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d0882611103565b6001600160a01b031614611d6c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610d1f565b6001600160a01b038216611dce5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d1f565b611dd9600082611bee565b6001600160a01b0383166000908152600360205260408120805460019290611e02908490612b15565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e30908490612aca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611f455760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d1f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611fbd848484611cf5565b611fc9848484846121e7565b6113e25760405162461bcd60e51b8152600401610d1f90612a2a565b6000805b8481101561208657600086868381811061200557612005612bee565b905060200201359050808411612046576040805160208101869052908101829052606001604051602081830303815290604052805190602001209350612073565b60408051602081018390529081018590526060016040516020818303038152906040528051906020012093505b508061207e81612b93565b915050611fe9565b50501492915050565b600c5460609060ff166120a95760088054610b7290612b58565b60098054610b7290612b58565b6060816120da5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561210457806120ee81612b93565b91506120fd9050600a83612ae2565b91506120de565b60008167ffffffffffffffff81111561211f5761211f612c04565b6040519080825280601f01601f191660200182016040528015612149576020820181803683370190505b5090505b8415611ced5761215e600183612b15565b915061216b600a86612bae565b612176906030612aca565b60f81b81838151811061218b5761218b612bee565b60200101906001600160f81b031916908160001a9053506121ad600a86612ae2565b945061214d565b6121be83836122f1565b6121cb60008484846121e7565b610dc05760405162461bcd60e51b8152600401610d1f90612a2a565b60006001600160a01b0384163b156122e957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061222b903390899088908890600401612996565b602060405180830381600087803b15801561224557600080fd5b505af1925050508015612275575060408051601f3d908101601f1916820190925261227291810190612802565b60015b6122cf573d8080156122a3576040519150601f19603f3d011682016040523d82523d6000602084013e6122a8565b606091505b5080516122c75760405162461bcd60e51b8152600401610d1f90612a2a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ced565b506001611ced565b6001600160a01b0382166123475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d1f565b6000818152600260205260409020546001600160a01b0316156123ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d1f565b6001600160a01b03821660009081526003602052604081208054600192906123d5908490612aca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461243f90612b58565b90600052602060002090601f01602090048101928261246157600085556124a7565b82601f1061247a57805160ff19168380011785556124a7565b828001600101855582156124a7579182015b828111156124a757825182559160200191906001019061248c565b506124b39291506124b7565b5090565b5b808211156124b357600081556001016124b8565b600067ffffffffffffffff808411156124e7576124e7612c04565b604051601f8501601f19908116603f0116810190828211818310171561250f5761250f612c04565b8160405280935085815286868601111561252857600080fd5b858560208301376000602087830101525050509392505050565b60008083601f84011261255457600080fd5b50813567ffffffffffffffff81111561256c57600080fd5b6020830191508360208260051b8501011115610f3457600080fd5b60006020828403121561259957600080fd5b81356125a481612c1a565b9392505050565b600080604083850312156125be57600080fd5b82356125c981612c1a565b915060208301356125d981612c1a565b809150509250929050565b6000806000606084860312156125f957600080fd5b833561260481612c1a565b9250602084013561261481612c1a565b929592945050506040919091013590565b6000806000806080858703121561263b57600080fd5b843561264681612c1a565b9350602085013561265681612c1a565b925060408501359150606085013567ffffffffffffffff81111561267957600080fd5b8501601f8101871361268a57600080fd5b612699878235602084016124cc565b91505092959194509250565b600080604083850312156126b857600080fd5b82356126c381612c1a565b9150602083013580151581146125d957600080fd5b600080604083850312156126eb57600080fd5b82356126f681612c1a565b946020939093013593505050565b6000806040838503121561271757600080fd5b823561272281612c1a565b915060208301356001600160601b03811681146125d957600080fd5b6000806020838503121561275157600080fd5b823567ffffffffffffffff81111561276857600080fd5b61277485828601612542565b90969095509350505050565b60008060006040848603121561279557600080fd5b833567ffffffffffffffff8111156127ac57600080fd5b6127b886828701612542565b909790965060209590950135949350505050565b6000602082840312156127de57600080fd5b5035919050565b6000602082840312156127f757600080fd5b81356125a481612c2f565b60006020828403121561281457600080fd5b81516125a481612c2f565b60006020828403121561283157600080fd5b813567ffffffffffffffff81111561284857600080fd5b8201601f8101841361285957600080fd5b611ced848235602084016124cc565b6000806040838503121561287b57600080fd5b50508035926020909101359150565b600081518084526128a2816020860160208601612b2c565b601f01601f19169290920160200192915050565b600082516128c8818460208701612b2c565b9190910192915050565b6000845160206128e58285838a01612b2c565b8551918401916128f88184848a01612b2c565b8554920191600090600181811c908083168061291557607f831692505b85831081141561293357634e487b7160e01b85526022600452602485fd5b808015612947576001811461295857612985565b60ff19851688528388019550612985565b60008b81526020902060005b8581101561297d5781548a820152908401908801612964565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129c99083018461288a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a0b578351835292840192918401916001016129ef565b50909695505050505050565b6020815260006125a4602083018461288a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60008219821115612add57612add612bc2565b500190565b600082612af157612af1612bd8565b500490565b6000816000190483118215151615612b1057612b10612bc2565b500290565b600082821015612b2757612b27612bc2565b500390565b60005b83811015612b47578181015183820152602001612b2f565b838111156113e25750506000910152565b600181811c90821680612b6c57607f821691505b60208210811415612b8d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ba757612ba7612bc2565b5060010190565b600082612bbd57612bbd612bd8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ea157600080fd5b6001600160e01b031981168114610ea157600080fdfea26469706673582212206a9c07889eb34c56c58fe2fde8bf4ade8e17a7426b6dd1c51f679a6792c965a464736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000035435f5164b920fa073b745b5264c976c5571855a2e79e7e1ad5bb4683ee53efbe19b35eb0a96c29c5429a24a2834080a9ca4b340000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e6754595544474e32766d3935777174756b5451663853356a45685448424533394b3933614d383939314e772f00000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmNgTYUDGN2vm95wqtukTQf8S5jEhTHBE39K93aM8991Nw/
Arg [1] : _owner_wallet (address): 0x35435F5164B920Fa073B745b5264c976C5571855
Arg [2] : _root (bytes32): 0xa2e79e7e1ad5bb4683ee53efbe19b35eb0a96c29c5429a24a2834080a9ca4b34
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000035435f5164b920fa073b745b5264c976c5571855
Arg [2] : a2e79e7e1ad5bb4683ee53efbe19b35eb0a96c29c5429a24a2834080a9ca4b34
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d4e6754595544474e32766d3935777174756b5451663853
Arg [5] : 356a45685448424533394b3933614d383939314e772f00000000000000000000
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.