Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,969 POTHEADZ
Holders
2,201
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 POTHEADZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Potheadz
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.17; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import {MerkleProof} from '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; contract Potheadz is ERC721, Ownable { using Counters for Counters.Counter; // Core constants. string public constant NAME = "Potheadz by Satoshis Mom"; string public constant SYMBOL = "POTHEADZ"; address public constant WITHDRAW_ADDRESS_1 = 0x3049112397E7B9948f4Ba6618601B7298319eF5f; address public constant WITHDRAW_ADDRESS_2 = 0x6907495b99FF6270B6de708c04f3DaCAedD40A40; address public constant WITHDRAW_ADDRESS_3 = 0x0e59BB432ddD24311cF164aF729fEf0232e1B8C3; // Minting constants. uint256 public constant MAX_SUPPLY = 6969; uint256 public constant MAX_PUBLIC_MINT_AMOUNT = 20; // Core variables. Counters.Counter public _nextTokenId; string public baseURI; uint256 public price = 0.0269 ether; bool public isMintEventActive = false; uint256 public wlMintStartTime; uint256 public publicMintStartTime; bytes32 public wlMerkleRoot; mapping(address => bool) public wlUsed; // Provenance. string public provenanceHash; // Events. event Mint(uint256 fromTokenId, uint256 amount, address owner); // Constructor. constructor( string memory _baseUri, bytes32 _wlMerkleRoot, uint256 _wlMintStartTime, uint256 _publicMintStartTime ) ERC721(NAME, SYMBOL) { _nextTokenId.increment(); setBaseURI(_baseUri); setWlMerkleRoot(_wlMerkleRoot); setWlMintStartTime(_wlMintStartTime); setPublicMintStartTime(_publicMintStartTime); } // Base URI. Overrides _baseURI in ERC721. function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // Mint. function publicMint(uint256 mintAmount) public payable { uint256 totalSupplyPreMint = totalSupply(); require(isMintEventActive, "Mint event is not currently active"); require(block.timestamp >= publicMintStartTime, "Public mint is not currently active"); require(mintAmount <= MAX_PUBLIC_MINT_AMOUNT, "Mint would exceed maximum token amount per mint"); require((totalSupplyPreMint + mintAmount) <= MAX_SUPPLY, "Mint would exceed maximum supply"); require(msg.value >= (mintAmount * price), "ETH value sent is not correct"); uint i; for (i = 0; i < mintAmount; i++) { _safeMint(msg.sender, _nextTokenId.current()); _nextTokenId.increment(); } emit Mint(totalSupplyPreMint, mintAmount, msg.sender); } function wlMint(uint mintAmount, bytes32[] calldata merkleProof) public payable { uint256 totalSupplyPreMint = totalSupply(); bytes32 merkleLeaf = keccak256(abi.encodePacked(msg.sender, mintAmount)); require(isMintEventActive, "Mint event is not currently active"); require(block.timestamp >= wlMintStartTime && block.timestamp < publicMintStartTime, "Whitelist mint is not currently active"); require(MerkleProof.verify(merkleProof, wlMerkleRoot, merkleLeaf), "Invalid whitelist merkle proof"); require(!wlUsed[msg.sender], "Whitelist mint allocation is already used"); require((totalSupplyPreMint + mintAmount) <= MAX_SUPPLY, "Mint would exceed maximum supply"); uint i; for (i = 0; i < mintAmount; i++) { _safeMint(msg.sender, _nextTokenId.current()); _nextTokenId.increment(); } emit Mint(totalSupplyPreMint, mintAmount, msg.sender); wlUsed[msg.sender] = true; } // Total supply. function totalSupply() public view returns (uint256) { return _nextTokenId.current() - 1; } // Provenance. function setProvenanceHash(string memory _provenanceHash) public onlyOwner { provenanceHash = _provenanceHash; } // Price. function setPrice(uint256 _price) public onlyOwner { price = _price; } // Base URI. function setBaseURI(string memory _uri) public onlyOwner { baseURI = _uri; } // Mint event status. function setMintEventActive(bool _isActive) public onlyOwner { isMintEventActive = _isActive; } // Mint time checks. function setWlMintStartTime(uint256 _time) public onlyOwner { wlMintStartTime = _time; } function setPublicMintStartTime(uint256 _time) public onlyOwner { publicMintStartTime = _time; } // Whitelist merkle tree root. function setWlMerkleRoot(bytes32 _wlMerkleRoot) public onlyOwner { wlMerkleRoot = _wlMerkleRoot; } // Withdraw. function withdraw() public onlyOwner { uint256 balanceOneTenthPercent = address(this).balance / 1000; payable(WITHDRAW_ADDRESS_1).transfer(balanceOneTenthPercent * 650); payable(WITHDRAW_ADDRESS_2).transfer(balanceOneTenthPercent * 175); payable(WITHDRAW_ADDRESS_3).transfer(balanceOneTenthPercent * 175); } }
// 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 (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 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) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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 (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 (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 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.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 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 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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"bytes32","name":"_wlMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_wlMintStartTime","type":"uint256"},{"internalType":"uint256","name":"_publicMintStartTime","type":"uint256"}],"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":false,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Mint","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_PUBLIC_MINT_AMOUNT","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":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_ADDRESS_1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_ADDRESS_2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_ADDRESS_3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_nextTokenId","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"isMintEventActive","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":"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":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setMintEventActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setPublicMintStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_wlMerkleRoot","type":"bytes32"}],"name":"setWlMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setWlMintStartTime","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052665f9168507540006009556000600a60006101000a81548160ff0219169083151502179055503480156200003757600080fd5b5060405162004d1738038062004d1783398181016040528101906200005d91906200058f565b6040518060400160405280601881526020017f506f74686561647a206279205361746f73686973204d6f6d00000000000000008152506040518060400160405280600881526020017f504f54484541445a0000000000000000000000000000000000000000000000008152508160009081620000da919062000861565b508060019081620000ec919062000861565b5050506200010f620001036200017460201b60201c565b6200017c60201b60201c565b6200012660076200024260201b62001a9c1760201c565b62000137846200025860201b60201c565b62000148836200027d60201b60201c565b62000159826200029760201b60201c565b6200016a81620002b160201b60201c565b50505050620009cb565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b62000268620002cb60201b60201c565b806008908162000279919062000861565b5050565b6200028d620002cb60201b60201c565b80600d8190555050565b620002a7620002cb60201b60201c565b80600b8190555050565b620002c1620002cb60201b60201c565b80600c8190555050565b620002db6200017460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003016200035c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200035a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035190620009a9565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003ef82620003a4565b810181811067ffffffffffffffff82111715620004115762000410620003b5565b5b80604052505050565b60006200042662000386565b9050620004348282620003e4565b919050565b600067ffffffffffffffff821115620004575762000456620003b5565b5b6200046282620003a4565b9050602081019050919050565b60005b838110156200048f57808201518184015260208101905062000472565b60008484015250505050565b6000620004b2620004ac8462000439565b6200041a565b905082815260208101848484011115620004d157620004d06200039f565b5b620004de8482856200046f565b509392505050565b600082601f830112620004fe57620004fd6200039a565b5b8151620005108482602086016200049b565b91505092915050565b6000819050919050565b6200052e8162000519565b81146200053a57600080fd5b50565b6000815190506200054e8162000523565b92915050565b6000819050919050565b620005698162000554565b81146200057557600080fd5b50565b60008151905062000589816200055e565b92915050565b60008060008060808587031215620005ac57620005ab62000390565b5b600085015167ffffffffffffffff811115620005cd57620005cc62000395565b5b620005db87828801620004e6565b9450506020620005ee878288016200053d565b9350506040620006018782880162000578565b9250506060620006148782880162000578565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200067357607f821691505b6020821081036200068957620006886200062b565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006f37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006b4565b620006ff8683620006b4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620007426200073c620007368462000554565b62000717565b62000554565b9050919050565b6000819050919050565b6200075e8362000721565b620007766200076d8262000749565b848454620006c1565b825550505050565b600090565b6200078d6200077e565b6200079a81848462000753565b505050565b5b81811015620007c257620007b660008262000783565b600181019050620007a0565b5050565b601f8211156200081157620007db816200068f565b620007e684620006a4565b81016020851015620007f6578190505b6200080e6200080585620006a4565b8301826200079f565b50505b505050565b600082821c905092915050565b6000620008366000198460080262000816565b1980831691505092915050565b600062000851838362000823565b9150826002028217905092915050565b6200086c8262000620565b67ffffffffffffffff811115620008885762000887620003b5565b5b6200089482546200065a565b620008a1828285620007c6565b600060209050601f831160018114620008d95760008415620008c4578287015190505b620008d0858262000843565b86555062000940565b601f198416620008e9866200068f565b60005b828110156200091357848901518255600182019150602085019450602081019050620008ec565b868310156200093357848901516200092f601f89168262000823565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200099160208362000948565b91506200099e8262000959565b602082019050919050565b60006020820190508181036000830152620009c48162000982565b9050919050565b61433c80620009db6000396000f3fe60806040526004361061025c5760003560e01c80636c0360eb11610144578063a3f4df7e116100b6578063c6ab67a31161007a578063c6ab67a314610894578063c87b56dd146108bf578063d3cf00a3146108fc578063e985e9c514610927578063f2fde38b14610964578063f76f8d781461098d5761025c565b8063a3f4df7e146107bf578063a6e87721146107ea578063aefd1bc314610815578063b2c2687414610840578063b88d4fde1461086b5761025c565b80638ac1e161116101085780638ac1e161146106c35780638da5cb5b146106ec57806391b7f5ed1461071757806395d89b4114610740578063a035b1fe1461076b578063a22cb465146107965761025c565b80636c0360eb146105ee57806370a0823114610619578063715018a614610656578063868ea5211461066d57806389dd772e146106985761025c565b80633ccfd60b116101dd5780634a60f620116101a15780634a60f620146104de57806354c06aee1461050957806355f804b3146105345780635fcd80a61461055d5780636230492f146105865780636352211e146105b15761025c565b80633ccfd60b1461041c5780633ef0d36d1461043357806341335c6c1461044f57806342676e6c1461048c57806342842e0e146104b55761025c565b80631096952311610224578063109695231461035857806318160ddd1461038157806323b872dd146103ac5780632db11544146103d557806332cb6b0c146103f15761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630dc4957d1461032f575b600080fd5b34801561026d57600080fd5b50610288600480360381019061028391906129bc565b6109b8565b6040516102959190612a04565b60405180910390f35b3480156102aa57600080fd5b506102b3610a9a565b6040516102c09190612aaf565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190612b07565b610b2c565b6040516102fd9190612b75565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190612bbc565b610b72565b005b34801561033b57600080fd5b5061035660048036038101906103519190612c28565b610c89565b005b34801561036457600080fd5b5061037f600480360381019061037a9190612d8a565b610cae565b005b34801561038d57600080fd5b50610396610cc9565b6040516103a39190612de2565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190612dfd565b610ce6565b005b6103ef60048036038101906103ea9190612b07565b610d46565b005b3480156103fd57600080fd5b50610406610f45565b6040516104139190612de2565b60405180910390f35b34801561042857600080fd5b50610431610f4b565b005b61044d60048036038101906104489190612eb0565b61109e565b005b34801561045b57600080fd5b5061047660048036038101906104719190612f10565b6113b8565b6040516104839190612a04565b60405180910390f35b34801561049857600080fd5b506104b360048036038101906104ae9190612b07565b6113d8565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190612dfd565b6113ea565b005b3480156104ea57600080fd5b506104f361140a565b6040516105009190612de2565b60405180910390f35b34801561051557600080fd5b5061051e611416565b60405161052b9190612f56565b60405180910390f35b34801561054057600080fd5b5061055b60048036038101906105569190612d8a565b61141c565b005b34801561056957600080fd5b50610584600480360381019061057f9190612b07565b611437565b005b34801561059257600080fd5b5061059b611449565b6040516105a89190612b75565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d39190612b07565b611461565b6040516105e59190612b75565b60405180910390f35b3480156105fa57600080fd5b50610603611512565b6040516106109190612aaf565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190612f10565b6115a0565b60405161064d9190612de2565b60405180910390f35b34801561066257600080fd5b5061066b611657565b005b34801561067957600080fd5b5061068261166b565b60405161068f9190612b75565b60405180910390f35b3480156106a457600080fd5b506106ad611683565b6040516106ba9190612a04565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190612f9d565b611696565b005b3480156106f857600080fd5b506107016116a8565b60405161070e9190612b75565b60405180910390f35b34801561072357600080fd5b5061073e60048036038101906107399190612b07565b6116d2565b005b34801561074c57600080fd5b506107556116e4565b6040516107629190612aaf565b60405180910390f35b34801561077757600080fd5b50610780611776565b60405161078d9190612de2565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190612fca565b61177c565b005b3480156107cb57600080fd5b506107d4611792565b6040516107e19190612aaf565b60405180910390f35b3480156107f657600080fd5b506107ff6117cb565b60405161080c9190612de2565b60405180910390f35b34801561082157600080fd5b5061082a6117d1565b6040516108379190612de2565b60405180910390f35b34801561084c57600080fd5b506108556117d6565b6040516108629190612b75565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906130ab565b6117ee565b005b3480156108a057600080fd5b506108a9611850565b6040516108b69190612aaf565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e19190612b07565b6118de565b6040516108f39190612aaf565b60405180910390f35b34801561090857600080fd5b50610911611946565b60405161091e9190612de2565b60405180910390f35b34801561093357600080fd5b5061094e6004803603810190610949919061312e565b61194c565b60405161095b9190612a04565b60405180910390f35b34801561097057600080fd5b5061098b60048036038101906109869190612f10565b6119e0565b005b34801561099957600080fd5b506109a2611a63565b6040516109af9190612aaf565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a935750610a9282611ab2565b5b9050919050565b606060008054610aa99061319d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad59061319d565b8015610b225780601f10610af757610100808354040283529160200191610b22565b820191906000526020600020905b815481529060010190602001808311610b0557829003601f168201915b5050505050905090565b6000610b3782611b1c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b7d82611461565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490613240565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0c611b67565b73ffffffffffffffffffffffffffffffffffffffff161480610c3b5750610c3a81610c35611b67565b61194c565b5b610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c71906132d2565b60405180910390fd5b610c848383611b6f565b505050565b610c91611c28565b80600a60006101000a81548160ff02191690831515021790555050565b610cb6611c28565b80600f9081610cc5919061349e565b5050565b60006001610cd76007611ca6565b610ce1919061359f565b905090565b610cf7610cf1611b67565b82611cb4565b610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90613645565b60405180910390fd5b610d41838383611d49565b505050565b6000610d50610cc9565b9050600a60009054906101000a900460ff16610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d98906136d7565b60405180910390fd5b600c54421015610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd90613769565b60405180910390fd5b6014821115610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e21906137fb565b60405180910390fd5b611b398282610e39919061381b565b1115610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e719061389b565b60405180910390fd5b60095482610e8891906138bb565b341015610eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec190613949565b60405180910390fd5b60005b82811015610f0557610ee833610ee36007611ca6565b611faf565b610ef26007611a9c565b8080610efd90613969565b915050610ecd565b7f8334f87aeaf76e52b061d93ee968e51fdd3ad53ca04e80271249227997aab3a0828433604051610f38939291906139b1565b60405180910390a1505050565b611b3981565b610f53611c28565b60006103e847610f639190613a17565b9050733049112397e7b9948f4ba6618601b7298319ef5f73ffffffffffffffffffffffffffffffffffffffff166108fc61028a83610fa191906138bb565b9081150290604051600060405180830381858888f19350505050158015610fcc573d6000803e3d6000fd5b50736907495b99ff6270b6de708c04f3dacaedd40a4073ffffffffffffffffffffffffffffffffffffffff166108fc60af8361100891906138bb565b9081150290604051600060405180830381858888f19350505050158015611033573d6000803e3d6000fd5b50730e59bb432ddd24311cf164af729fef0232e1b8c373ffffffffffffffffffffffffffffffffffffffff166108fc60af8361106f91906138bb565b9081150290604051600060405180830381858888f1935050505015801561109a573d6000803e3d6000fd5b5050565b60006110a8610cc9565b9050600033856040516020016110bf929190613ab1565b604051602081830303815290604052805190602001209050600a60009054906101000a900460ff16611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906136d7565b60405180910390fd5b600b5442101580156111395750600c5442105b611178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116f90613b4f565b60405180910390fd5b6111c6848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483611fcd565b611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc90613bbb565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611292576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128990613c4d565b60405180910390fd5b611b3985836112a1919061381b565b11156112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d99061389b565b60405180910390fd5b60005b8581101561131d57611300336112fb6007611ca6565b611faf565b61130a6007611a9c565b808061131590613969565b9150506112e5565b7f8334f87aeaf76e52b061d93ee968e51fdd3ad53ca04e80271249227997aab3a0838733604051611350939291906139b1565b60405180910390a16001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b6113e0611c28565b80600b8190555050565b611405838383604051806020016040528060008152506117ee565b505050565b60078060000154905081565b600d5481565b611424611c28565b8060089081611433919061349e565b5050565b61143f611c28565b80600c8190555050565b733049112397e7b9948f4ba6618601b7298319ef5f81565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613cb9565b60405180910390fd5b80915050919050565b6008805461151f9061319d565b80601f016020809104026020016040519081016040528092919081815260200182805461154b9061319d565b80156115985780601f1061156d57610100808354040283529160200191611598565b820191906000526020600020905b81548152906001019060200180831161157b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160790613d4b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165f611c28565b6116696000611fe4565b565b730e59bb432ddd24311cf164af729fef0232e1b8c381565b600a60009054906101000a900460ff1681565b61169e611c28565b80600d8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116da611c28565b8060098190555050565b6060600180546116f39061319d565b80601f016020809104026020016040519081016040528092919081815260200182805461171f9061319d565b801561176c5780601f106117415761010080835404028352916020019161176c565b820191906000526020600020905b81548152906001019060200180831161174f57829003601f168201915b5050505050905090565b60095481565b61178e611787611b67565b83836120aa565b5050565b6040518060400160405280601881526020017f506f74686561647a206279205361746f73686973204d6f6d000000000000000081525081565b600b5481565b601481565b736907495b99ff6270b6de708c04f3dacaedd40a4081565b6117ff6117f9611b67565b83611cb4565b61183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613645565b60405180910390fd5b61184a84848484612216565b50505050565b600f805461185d9061319d565b80601f01602080910402602001604051908101604052809291908181526020018280546118899061319d565b80156118d65780601f106118ab576101008083540402835291602001916118d6565b820191906000526020600020905b8154815290600101906020018083116118b957829003601f168201915b505050505081565b60606118e982611b1c565b60006118f3612272565b90506000815111611913576040518060200160405280600081525061193e565b8061191d84612304565b60405160200161192e929190613da7565b6040516020818303038152906040525b915050919050565b600c5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119e8611c28565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e90613e3d565b60405180910390fd5b611a6081611fe4565b50565b6040518060400160405280600881526020017f504f54484541445a00000000000000000000000000000000000000000000000081525081565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611b2581612464565b611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90613cb9565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611be283611461565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c30611b67565b73ffffffffffffffffffffffffffffffffffffffff16611c4e6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9b90613ea9565b60405180910390fd5b565b600081600001549050919050565b600080611cc083611461565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d025750611d01818561194c565b5b80611d4057508373ffffffffffffffffffffffffffffffffffffffff16611d2884610b2c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d6982611461565b73ffffffffffffffffffffffffffffffffffffffff1614611dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db690613f3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2590613fcd565b60405180910390fd5b611e398383836124d0565b611e44600082611b6f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e94919061359f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eeb919061381b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611faa8383836124d5565b505050565b611fc98282604051806020016040528060008152506124da565b5050565b600082611fda8584612535565b1490509392505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210f90614039565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122099190612a04565b60405180910390a3505050565b612221848484611d49565b61222d8484848461258b565b61226c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612263906140cb565b60405180910390fd5b50505050565b6060600880546122819061319d565b80601f01602080910402602001604051908101604052809291908181526020018280546122ad9061319d565b80156122fa5780601f106122cf576101008083540402835291602001916122fa565b820191906000526020600020905b8154815290600101906020018083116122dd57829003601f168201915b5050505050905090565b60606000820361234b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061245f565b600082905060005b6000821461237d57808061236690613969565b915050600a826123769190613a17565b9150612353565b60008167ffffffffffffffff81111561239957612398612c5f565b5b6040519080825280601f01601f1916602001820160405280156123cb5781602001600182028036833780820191505090505b5090505b60008514612458576001826123e4919061359f565b9150600a856123f391906140eb565b60306123ff919061381b565b60f81b8183815181106124155761241461411c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124519190613a17565b94506123cf565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6124e48383612712565b6124f1600084848461258b565b612530576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612527906140cb565b60405180910390fd5b505050565b60008082905060005b84518110156125805761256b8286838151811061255e5761255d61411c565b5b60200260200101516128eb565b9150808061257890613969565b91505061253e565b508091505092915050565b60006125ac8473ffffffffffffffffffffffffffffffffffffffff16612916565b15612705578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125d5611b67565b8786866040518563ffffffff1660e01b81526004016125f794939291906141a0565b6020604051808303816000875af192505050801561263357506040513d601f19601f820116820180604052508101906126309190614201565b60015b6126b5573d8060008114612663576040519150601f19603f3d011682016040523d82523d6000602084013e612668565b606091505b5060008151036126ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a4906140cb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061270a565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612781576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127789061427a565b60405180910390fd5b61278a81612464565b156127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c1906142e6565b60405180910390fd5b6127d6600083836124d0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612826919061381b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128e7600083836124d5565b5050565b6000818310612903576128fe8284612939565b61290e565b61290d8383612939565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61299981612964565b81146129a457600080fd5b50565b6000813590506129b681612990565b92915050565b6000602082840312156129d2576129d161295a565b5b60006129e0848285016129a7565b91505092915050565b60008115159050919050565b6129fe816129e9565b82525050565b6000602082019050612a1960008301846129f5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a59578082015181840152602081019050612a3e565b60008484015250505050565b6000601f19601f8301169050919050565b6000612a8182612a1f565b612a8b8185612a2a565b9350612a9b818560208601612a3b565b612aa481612a65565b840191505092915050565b60006020820190508181036000830152612ac98184612a76565b905092915050565b6000819050919050565b612ae481612ad1565b8114612aef57600080fd5b50565b600081359050612b0181612adb565b92915050565b600060208284031215612b1d57612b1c61295a565b5b6000612b2b84828501612af2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b5f82612b34565b9050919050565b612b6f81612b54565b82525050565b6000602082019050612b8a6000830184612b66565b92915050565b612b9981612b54565b8114612ba457600080fd5b50565b600081359050612bb681612b90565b92915050565b60008060408385031215612bd357612bd261295a565b5b6000612be185828601612ba7565b9250506020612bf285828601612af2565b9150509250929050565b612c05816129e9565b8114612c1057600080fd5b50565b600081359050612c2281612bfc565b92915050565b600060208284031215612c3e57612c3d61295a565b5b6000612c4c84828501612c13565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c9782612a65565b810181811067ffffffffffffffff82111715612cb657612cb5612c5f565b5b80604052505050565b6000612cc9612950565b9050612cd58282612c8e565b919050565b600067ffffffffffffffff821115612cf557612cf4612c5f565b5b612cfe82612a65565b9050602081019050919050565b82818337600083830152505050565b6000612d2d612d2884612cda565b612cbf565b905082815260208101848484011115612d4957612d48612c5a565b5b612d54848285612d0b565b509392505050565b600082601f830112612d7157612d70612c55565b5b8135612d81848260208601612d1a565b91505092915050565b600060208284031215612da057612d9f61295a565b5b600082013567ffffffffffffffff811115612dbe57612dbd61295f565b5b612dca84828501612d5c565b91505092915050565b612ddc81612ad1565b82525050565b6000602082019050612df76000830184612dd3565b92915050565b600080600060608486031215612e1657612e1561295a565b5b6000612e2486828701612ba7565b9350506020612e3586828701612ba7565b9250506040612e4686828701612af2565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612e7057612e6f612c55565b5b8235905067ffffffffffffffff811115612e8d57612e8c612e50565b5b602083019150836020820283011115612ea957612ea8612e55565b5b9250929050565b600080600060408486031215612ec957612ec861295a565b5b6000612ed786828701612af2565b935050602084013567ffffffffffffffff811115612ef857612ef761295f565b5b612f0486828701612e5a565b92509250509250925092565b600060208284031215612f2657612f2561295a565b5b6000612f3484828501612ba7565b91505092915050565b6000819050919050565b612f5081612f3d565b82525050565b6000602082019050612f6b6000830184612f47565b92915050565b612f7a81612f3d565b8114612f8557600080fd5b50565b600081359050612f9781612f71565b92915050565b600060208284031215612fb357612fb261295a565b5b6000612fc184828501612f88565b91505092915050565b60008060408385031215612fe157612fe061295a565b5b6000612fef85828601612ba7565b925050602061300085828601612c13565b9150509250929050565b600067ffffffffffffffff82111561302557613024612c5f565b5b61302e82612a65565b9050602081019050919050565b600061304e6130498461300a565b612cbf565b90508281526020810184848401111561306a57613069612c5a565b5b613075848285612d0b565b509392505050565b600082601f83011261309257613091612c55565b5b81356130a284826020860161303b565b91505092915050565b600080600080608085870312156130c5576130c461295a565b5b60006130d387828801612ba7565b94505060206130e487828801612ba7565b93505060406130f587828801612af2565b925050606085013567ffffffffffffffff8111156131165761311561295f565b5b6131228782880161307d565b91505092959194509250565b600080604083850312156131455761314461295a565b5b600061315385828601612ba7565b925050602061316485828601612ba7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131b557607f821691505b6020821081036131c8576131c761316e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061322a602183612a2a565b9150613235826131ce565b604082019050919050565b600060208201905081810360008301526132598161321d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006132bc603e83612a2a565b91506132c782613260565b604082019050919050565b600060208201905081810360008301526132eb816132af565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026133547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613317565b61335e8683613317565b95508019841693508086168417925050509392505050565b6000819050919050565b600061339b61339661339184612ad1565b613376565b612ad1565b9050919050565b6000819050919050565b6133b583613380565b6133c96133c1826133a2565b848454613324565b825550505050565b600090565b6133de6133d1565b6133e98184846133ac565b505050565b5b8181101561340d576134026000826133d6565b6001810190506133ef565b5050565b601f82111561345257613423816132f2565b61342c84613307565b8101602085101561343b578190505b61344f61344785613307565b8301826133ee565b50505b505050565b600082821c905092915050565b600061347560001984600802613457565b1980831691505092915050565b600061348e8383613464565b9150826002028217905092915050565b6134a782612a1f565b67ffffffffffffffff8111156134c0576134bf612c5f565b5b6134ca825461319d565b6134d5828285613411565b600060209050601f83116001811461350857600084156134f6578287015190505b6135008582613482565b865550613568565b601f198416613516866132f2565b60005b8281101561353e57848901518255600182019150602085019450602081019050613519565b8683101561355b5784890151613557601f891682613464565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135aa82612ad1565b91506135b583612ad1565b92508282039050818111156135cd576135cc613570565b5b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061362f602e83612a2a565b915061363a826135d3565b604082019050919050565b6000602082019050818103600083015261365e81613622565b9050919050565b7f4d696e74206576656e74206973206e6f742063757272656e746c79206163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b60006136c1602283612a2a565b91506136cc82613665565b604082019050919050565b600060208201905081810360008301526136f0816136b4565b9050919050565b7f5075626c6963206d696e74206973206e6f742063757272656e746c792061637460008201527f6976650000000000000000000000000000000000000000000000000000000000602082015250565b6000613753602383612a2a565b915061375e826136f7565b604082019050919050565b6000602082019050818103600083015261378281613746565b9050919050565b7f4d696e7420776f756c6420657863656564206d6178696d756d20746f6b656e2060008201527f616d6f756e7420706572206d696e740000000000000000000000000000000000602082015250565b60006137e5602f83612a2a565b91506137f082613789565b604082019050919050565b60006020820190508181036000830152613814816137d8565b9050919050565b600061382682612ad1565b915061383183612ad1565b925082820190508082111561384957613848613570565b5b92915050565b7f4d696e7420776f756c6420657863656564206d6178696d756d20737570706c79600082015250565b6000613885602083612a2a565b91506138908261384f565b602082019050919050565b600060208201905081810360008301526138b481613878565b9050919050565b60006138c682612ad1565b91506138d183612ad1565b92508282026138df81612ad1565b915082820484148315176138f6576138f5613570565b5b5092915050565b7f4554482076616c75652073656e74206973206e6f7420636f7272656374000000600082015250565b6000613933601d83612a2a565b915061393e826138fd565b602082019050919050565b6000602082019050818103600083015261396281613926565b9050919050565b600061397482612ad1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036139a6576139a5613570565b5b600182019050919050565b60006060820190506139c66000830186612dd3565b6139d36020830185612dd3565b6139e06040830184612b66565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a2282612ad1565b9150613a2d83612ad1565b925082613a3d57613a3c6139e8565b5b828204905092915050565b60008160601b9050919050565b6000613a6082613a48565b9050919050565b6000613a7282613a55565b9050919050565b613a8a613a8582612b54565b613a67565b82525050565b6000819050919050565b613aab613aa682612ad1565b613a90565b82525050565b6000613abd8285613a79565b601482019150613acd8284613a9a565b6020820191508190509392505050565b7f57686974656c697374206d696e74206973206e6f742063757272656e746c792060008201527f6163746976650000000000000000000000000000000000000000000000000000602082015250565b6000613b39602683612a2a565b9150613b4482613add565b604082019050919050565b60006020820190508181036000830152613b6881613b2c565b9050919050565b7f496e76616c69642077686974656c697374206d65726b6c652070726f6f660000600082015250565b6000613ba5601e83612a2a565b9150613bb082613b6f565b602082019050919050565b60006020820190508181036000830152613bd481613b98565b9050919050565b7f57686974656c697374206d696e7420616c6c6f636174696f6e20697320616c7260008201527f6561647920757365640000000000000000000000000000000000000000000000602082015250565b6000613c37602983612a2a565b9150613c4282613bdb565b604082019050919050565b60006020820190508181036000830152613c6681613c2a565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ca3601883612a2a565b9150613cae82613c6d565b602082019050919050565b60006020820190508181036000830152613cd281613c96565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d35602983612a2a565b9150613d4082613cd9565b604082019050919050565b60006020820190508181036000830152613d6481613d28565b9050919050565b600081905092915050565b6000613d8182612a1f565b613d8b8185613d6b565b9350613d9b818560208601612a3b565b80840191505092915050565b6000613db38285613d76565b9150613dbf8284613d76565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e27602683612a2a565b9150613e3282613dcb565b604082019050919050565b60006020820190508181036000830152613e5681613e1a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e93602083612a2a565b9150613e9e82613e5d565b602082019050919050565b60006020820190508181036000830152613ec281613e86565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613f25602583612a2a565b9150613f3082613ec9565b604082019050919050565b60006020820190508181036000830152613f5481613f18565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613fb7602483612a2a565b9150613fc282613f5b565b604082019050919050565b60006020820190508181036000830152613fe681613faa565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614023601983612a2a565b915061402e82613fed565b602082019050919050565b6000602082019050818103600083015261405281614016565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006140b5603283612a2a565b91506140c082614059565b604082019050919050565b600060208201905081810360008301526140e4816140a8565b9050919050565b60006140f682612ad1565b915061410183612ad1565b925082614111576141106139e8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006141728261414b565b61417c8185614156565b935061418c818560208601612a3b565b61419581612a65565b840191505092915050565b60006080820190506141b56000830187612b66565b6141c26020830186612b66565b6141cf6040830185612dd3565b81810360608301526141e18184614167565b905095945050505050565b6000815190506141fb81612990565b92915050565b6000602082840312156142175761421661295a565b5b6000614225848285016141ec565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614264602083612a2a565b915061426f8261422e565b602082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006142d0601c83612a2a565b91506142db8261429a565b602082019050919050565b600060208201905081810360008301526142ff816142c3565b905091905056fea2646970667358221220faca14634edebeeb730346f7bce9a694c572a782eac63bed74ffdd54ca3d172164736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000807e9d6907ca7c5255888d09eb0a3360a3eeb560bf96669d3c6929ed2fd358f70c0000000000000000000000000000000000000000000000000000000063207ed0000000000000000000000000000000000000000000000000000000006320e5f0000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f6170692e706f74686561647a2e6172742f76312f746f6b656e732f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80636c0360eb11610144578063a3f4df7e116100b6578063c6ab67a31161007a578063c6ab67a314610894578063c87b56dd146108bf578063d3cf00a3146108fc578063e985e9c514610927578063f2fde38b14610964578063f76f8d781461098d5761025c565b8063a3f4df7e146107bf578063a6e87721146107ea578063aefd1bc314610815578063b2c2687414610840578063b88d4fde1461086b5761025c565b80638ac1e161116101085780638ac1e161146106c35780638da5cb5b146106ec57806391b7f5ed1461071757806395d89b4114610740578063a035b1fe1461076b578063a22cb465146107965761025c565b80636c0360eb146105ee57806370a0823114610619578063715018a614610656578063868ea5211461066d57806389dd772e146106985761025c565b80633ccfd60b116101dd5780634a60f620116101a15780634a60f620146104de57806354c06aee1461050957806355f804b3146105345780635fcd80a61461055d5780636230492f146105865780636352211e146105b15761025c565b80633ccfd60b1461041c5780633ef0d36d1461043357806341335c6c1461044f57806342676e6c1461048c57806342842e0e146104b55761025c565b80631096952311610224578063109695231461035857806318160ddd1461038157806323b872dd146103ac5780632db11544146103d557806332cb6b0c146103f15761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630dc4957d1461032f575b600080fd5b34801561026d57600080fd5b50610288600480360381019061028391906129bc565b6109b8565b6040516102959190612a04565b60405180910390f35b3480156102aa57600080fd5b506102b3610a9a565b6040516102c09190612aaf565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190612b07565b610b2c565b6040516102fd9190612b75565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190612bbc565b610b72565b005b34801561033b57600080fd5b5061035660048036038101906103519190612c28565b610c89565b005b34801561036457600080fd5b5061037f600480360381019061037a9190612d8a565b610cae565b005b34801561038d57600080fd5b50610396610cc9565b6040516103a39190612de2565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190612dfd565b610ce6565b005b6103ef60048036038101906103ea9190612b07565b610d46565b005b3480156103fd57600080fd5b50610406610f45565b6040516104139190612de2565b60405180910390f35b34801561042857600080fd5b50610431610f4b565b005b61044d60048036038101906104489190612eb0565b61109e565b005b34801561045b57600080fd5b5061047660048036038101906104719190612f10565b6113b8565b6040516104839190612a04565b60405180910390f35b34801561049857600080fd5b506104b360048036038101906104ae9190612b07565b6113d8565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190612dfd565b6113ea565b005b3480156104ea57600080fd5b506104f361140a565b6040516105009190612de2565b60405180910390f35b34801561051557600080fd5b5061051e611416565b60405161052b9190612f56565b60405180910390f35b34801561054057600080fd5b5061055b60048036038101906105569190612d8a565b61141c565b005b34801561056957600080fd5b50610584600480360381019061057f9190612b07565b611437565b005b34801561059257600080fd5b5061059b611449565b6040516105a89190612b75565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d39190612b07565b611461565b6040516105e59190612b75565b60405180910390f35b3480156105fa57600080fd5b50610603611512565b6040516106109190612aaf565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190612f10565b6115a0565b60405161064d9190612de2565b60405180910390f35b34801561066257600080fd5b5061066b611657565b005b34801561067957600080fd5b5061068261166b565b60405161068f9190612b75565b60405180910390f35b3480156106a457600080fd5b506106ad611683565b6040516106ba9190612a04565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190612f9d565b611696565b005b3480156106f857600080fd5b506107016116a8565b60405161070e9190612b75565b60405180910390f35b34801561072357600080fd5b5061073e60048036038101906107399190612b07565b6116d2565b005b34801561074c57600080fd5b506107556116e4565b6040516107629190612aaf565b60405180910390f35b34801561077757600080fd5b50610780611776565b60405161078d9190612de2565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190612fca565b61177c565b005b3480156107cb57600080fd5b506107d4611792565b6040516107e19190612aaf565b60405180910390f35b3480156107f657600080fd5b506107ff6117cb565b60405161080c9190612de2565b60405180910390f35b34801561082157600080fd5b5061082a6117d1565b6040516108379190612de2565b60405180910390f35b34801561084c57600080fd5b506108556117d6565b6040516108629190612b75565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906130ab565b6117ee565b005b3480156108a057600080fd5b506108a9611850565b6040516108b69190612aaf565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e19190612b07565b6118de565b6040516108f39190612aaf565b60405180910390f35b34801561090857600080fd5b50610911611946565b60405161091e9190612de2565b60405180910390f35b34801561093357600080fd5b5061094e6004803603810190610949919061312e565b61194c565b60405161095b9190612a04565b60405180910390f35b34801561097057600080fd5b5061098b60048036038101906109869190612f10565b6119e0565b005b34801561099957600080fd5b506109a2611a63565b6040516109af9190612aaf565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a935750610a9282611ab2565b5b9050919050565b606060008054610aa99061319d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad59061319d565b8015610b225780601f10610af757610100808354040283529160200191610b22565b820191906000526020600020905b815481529060010190602001808311610b0557829003601f168201915b5050505050905090565b6000610b3782611b1c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b7d82611461565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490613240565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0c611b67565b73ffffffffffffffffffffffffffffffffffffffff161480610c3b5750610c3a81610c35611b67565b61194c565b5b610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c71906132d2565b60405180910390fd5b610c848383611b6f565b505050565b610c91611c28565b80600a60006101000a81548160ff02191690831515021790555050565b610cb6611c28565b80600f9081610cc5919061349e565b5050565b60006001610cd76007611ca6565b610ce1919061359f565b905090565b610cf7610cf1611b67565b82611cb4565b610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90613645565b60405180910390fd5b610d41838383611d49565b505050565b6000610d50610cc9565b9050600a60009054906101000a900460ff16610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d98906136d7565b60405180910390fd5b600c54421015610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd90613769565b60405180910390fd5b6014821115610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e21906137fb565b60405180910390fd5b611b398282610e39919061381b565b1115610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e719061389b565b60405180910390fd5b60095482610e8891906138bb565b341015610eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec190613949565b60405180910390fd5b60005b82811015610f0557610ee833610ee36007611ca6565b611faf565b610ef26007611a9c565b8080610efd90613969565b915050610ecd565b7f8334f87aeaf76e52b061d93ee968e51fdd3ad53ca04e80271249227997aab3a0828433604051610f38939291906139b1565b60405180910390a1505050565b611b3981565b610f53611c28565b60006103e847610f639190613a17565b9050733049112397e7b9948f4ba6618601b7298319ef5f73ffffffffffffffffffffffffffffffffffffffff166108fc61028a83610fa191906138bb565b9081150290604051600060405180830381858888f19350505050158015610fcc573d6000803e3d6000fd5b50736907495b99ff6270b6de708c04f3dacaedd40a4073ffffffffffffffffffffffffffffffffffffffff166108fc60af8361100891906138bb565b9081150290604051600060405180830381858888f19350505050158015611033573d6000803e3d6000fd5b50730e59bb432ddd24311cf164af729fef0232e1b8c373ffffffffffffffffffffffffffffffffffffffff166108fc60af8361106f91906138bb565b9081150290604051600060405180830381858888f1935050505015801561109a573d6000803e3d6000fd5b5050565b60006110a8610cc9565b9050600033856040516020016110bf929190613ab1565b604051602081830303815290604052805190602001209050600a60009054906101000a900460ff16611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906136d7565b60405180910390fd5b600b5442101580156111395750600c5442105b611178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116f90613b4f565b60405180910390fd5b6111c6848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483611fcd565b611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc90613bbb565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611292576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128990613c4d565b60405180910390fd5b611b3985836112a1919061381b565b11156112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d99061389b565b60405180910390fd5b60005b8581101561131d57611300336112fb6007611ca6565b611faf565b61130a6007611a9c565b808061131590613969565b9150506112e5565b7f8334f87aeaf76e52b061d93ee968e51fdd3ad53ca04e80271249227997aab3a0838733604051611350939291906139b1565b60405180910390a16001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b6113e0611c28565b80600b8190555050565b611405838383604051806020016040528060008152506117ee565b505050565b60078060000154905081565b600d5481565b611424611c28565b8060089081611433919061349e565b5050565b61143f611c28565b80600c8190555050565b733049112397e7b9948f4ba6618601b7298319ef5f81565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613cb9565b60405180910390fd5b80915050919050565b6008805461151f9061319d565b80601f016020809104026020016040519081016040528092919081815260200182805461154b9061319d565b80156115985780601f1061156d57610100808354040283529160200191611598565b820191906000526020600020905b81548152906001019060200180831161157b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160790613d4b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165f611c28565b6116696000611fe4565b565b730e59bb432ddd24311cf164af729fef0232e1b8c381565b600a60009054906101000a900460ff1681565b61169e611c28565b80600d8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116da611c28565b8060098190555050565b6060600180546116f39061319d565b80601f016020809104026020016040519081016040528092919081815260200182805461171f9061319d565b801561176c5780601f106117415761010080835404028352916020019161176c565b820191906000526020600020905b81548152906001019060200180831161174f57829003601f168201915b5050505050905090565b60095481565b61178e611787611b67565b83836120aa565b5050565b6040518060400160405280601881526020017f506f74686561647a206279205361746f73686973204d6f6d000000000000000081525081565b600b5481565b601481565b736907495b99ff6270b6de708c04f3dacaedd40a4081565b6117ff6117f9611b67565b83611cb4565b61183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613645565b60405180910390fd5b61184a84848484612216565b50505050565b600f805461185d9061319d565b80601f01602080910402602001604051908101604052809291908181526020018280546118899061319d565b80156118d65780601f106118ab576101008083540402835291602001916118d6565b820191906000526020600020905b8154815290600101906020018083116118b957829003601f168201915b505050505081565b60606118e982611b1c565b60006118f3612272565b90506000815111611913576040518060200160405280600081525061193e565b8061191d84612304565b60405160200161192e929190613da7565b6040516020818303038152906040525b915050919050565b600c5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119e8611c28565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e90613e3d565b60405180910390fd5b611a6081611fe4565b50565b6040518060400160405280600881526020017f504f54484541445a00000000000000000000000000000000000000000000000081525081565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611b2581612464565b611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90613cb9565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611be283611461565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c30611b67565b73ffffffffffffffffffffffffffffffffffffffff16611c4e6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9b90613ea9565b60405180910390fd5b565b600081600001549050919050565b600080611cc083611461565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d025750611d01818561194c565b5b80611d4057508373ffffffffffffffffffffffffffffffffffffffff16611d2884610b2c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d6982611461565b73ffffffffffffffffffffffffffffffffffffffff1614611dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db690613f3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2590613fcd565b60405180910390fd5b611e398383836124d0565b611e44600082611b6f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e94919061359f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eeb919061381b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611faa8383836124d5565b505050565b611fc98282604051806020016040528060008152506124da565b5050565b600082611fda8584612535565b1490509392505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210f90614039565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122099190612a04565b60405180910390a3505050565b612221848484611d49565b61222d8484848461258b565b61226c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612263906140cb565b60405180910390fd5b50505050565b6060600880546122819061319d565b80601f01602080910402602001604051908101604052809291908181526020018280546122ad9061319d565b80156122fa5780601f106122cf576101008083540402835291602001916122fa565b820191906000526020600020905b8154815290600101906020018083116122dd57829003601f168201915b5050505050905090565b60606000820361234b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061245f565b600082905060005b6000821461237d57808061236690613969565b915050600a826123769190613a17565b9150612353565b60008167ffffffffffffffff81111561239957612398612c5f565b5b6040519080825280601f01601f1916602001820160405280156123cb5781602001600182028036833780820191505090505b5090505b60008514612458576001826123e4919061359f565b9150600a856123f391906140eb565b60306123ff919061381b565b60f81b8183815181106124155761241461411c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124519190613a17565b94506123cf565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6124e48383612712565b6124f1600084848461258b565b612530576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612527906140cb565b60405180910390fd5b505050565b60008082905060005b84518110156125805761256b8286838151811061255e5761255d61411c565b5b60200260200101516128eb565b9150808061257890613969565b91505061253e565b508091505092915050565b60006125ac8473ffffffffffffffffffffffffffffffffffffffff16612916565b15612705578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125d5611b67565b8786866040518563ffffffff1660e01b81526004016125f794939291906141a0565b6020604051808303816000875af192505050801561263357506040513d601f19601f820116820180604052508101906126309190614201565b60015b6126b5573d8060008114612663576040519150601f19603f3d011682016040523d82523d6000602084013e612668565b606091505b5060008151036126ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a4906140cb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061270a565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612781576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127789061427a565b60405180910390fd5b61278a81612464565b156127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c1906142e6565b60405180910390fd5b6127d6600083836124d0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612826919061381b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128e7600083836124d5565b5050565b6000818310612903576128fe8284612939565b61290e565b61290d8383612939565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61299981612964565b81146129a457600080fd5b50565b6000813590506129b681612990565b92915050565b6000602082840312156129d2576129d161295a565b5b60006129e0848285016129a7565b91505092915050565b60008115159050919050565b6129fe816129e9565b82525050565b6000602082019050612a1960008301846129f5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a59578082015181840152602081019050612a3e565b60008484015250505050565b6000601f19601f8301169050919050565b6000612a8182612a1f565b612a8b8185612a2a565b9350612a9b818560208601612a3b565b612aa481612a65565b840191505092915050565b60006020820190508181036000830152612ac98184612a76565b905092915050565b6000819050919050565b612ae481612ad1565b8114612aef57600080fd5b50565b600081359050612b0181612adb565b92915050565b600060208284031215612b1d57612b1c61295a565b5b6000612b2b84828501612af2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b5f82612b34565b9050919050565b612b6f81612b54565b82525050565b6000602082019050612b8a6000830184612b66565b92915050565b612b9981612b54565b8114612ba457600080fd5b50565b600081359050612bb681612b90565b92915050565b60008060408385031215612bd357612bd261295a565b5b6000612be185828601612ba7565b9250506020612bf285828601612af2565b9150509250929050565b612c05816129e9565b8114612c1057600080fd5b50565b600081359050612c2281612bfc565b92915050565b600060208284031215612c3e57612c3d61295a565b5b6000612c4c84828501612c13565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c9782612a65565b810181811067ffffffffffffffff82111715612cb657612cb5612c5f565b5b80604052505050565b6000612cc9612950565b9050612cd58282612c8e565b919050565b600067ffffffffffffffff821115612cf557612cf4612c5f565b5b612cfe82612a65565b9050602081019050919050565b82818337600083830152505050565b6000612d2d612d2884612cda565b612cbf565b905082815260208101848484011115612d4957612d48612c5a565b5b612d54848285612d0b565b509392505050565b600082601f830112612d7157612d70612c55565b5b8135612d81848260208601612d1a565b91505092915050565b600060208284031215612da057612d9f61295a565b5b600082013567ffffffffffffffff811115612dbe57612dbd61295f565b5b612dca84828501612d5c565b91505092915050565b612ddc81612ad1565b82525050565b6000602082019050612df76000830184612dd3565b92915050565b600080600060608486031215612e1657612e1561295a565b5b6000612e2486828701612ba7565b9350506020612e3586828701612ba7565b9250506040612e4686828701612af2565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612e7057612e6f612c55565b5b8235905067ffffffffffffffff811115612e8d57612e8c612e50565b5b602083019150836020820283011115612ea957612ea8612e55565b5b9250929050565b600080600060408486031215612ec957612ec861295a565b5b6000612ed786828701612af2565b935050602084013567ffffffffffffffff811115612ef857612ef761295f565b5b612f0486828701612e5a565b92509250509250925092565b600060208284031215612f2657612f2561295a565b5b6000612f3484828501612ba7565b91505092915050565b6000819050919050565b612f5081612f3d565b82525050565b6000602082019050612f6b6000830184612f47565b92915050565b612f7a81612f3d565b8114612f8557600080fd5b50565b600081359050612f9781612f71565b92915050565b600060208284031215612fb357612fb261295a565b5b6000612fc184828501612f88565b91505092915050565b60008060408385031215612fe157612fe061295a565b5b6000612fef85828601612ba7565b925050602061300085828601612c13565b9150509250929050565b600067ffffffffffffffff82111561302557613024612c5f565b5b61302e82612a65565b9050602081019050919050565b600061304e6130498461300a565b612cbf565b90508281526020810184848401111561306a57613069612c5a565b5b613075848285612d0b565b509392505050565b600082601f83011261309257613091612c55565b5b81356130a284826020860161303b565b91505092915050565b600080600080608085870312156130c5576130c461295a565b5b60006130d387828801612ba7565b94505060206130e487828801612ba7565b93505060406130f587828801612af2565b925050606085013567ffffffffffffffff8111156131165761311561295f565b5b6131228782880161307d565b91505092959194509250565b600080604083850312156131455761314461295a565b5b600061315385828601612ba7565b925050602061316485828601612ba7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131b557607f821691505b6020821081036131c8576131c761316e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061322a602183612a2a565b9150613235826131ce565b604082019050919050565b600060208201905081810360008301526132598161321d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006132bc603e83612a2a565b91506132c782613260565b604082019050919050565b600060208201905081810360008301526132eb816132af565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026133547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613317565b61335e8683613317565b95508019841693508086168417925050509392505050565b6000819050919050565b600061339b61339661339184612ad1565b613376565b612ad1565b9050919050565b6000819050919050565b6133b583613380565b6133c96133c1826133a2565b848454613324565b825550505050565b600090565b6133de6133d1565b6133e98184846133ac565b505050565b5b8181101561340d576134026000826133d6565b6001810190506133ef565b5050565b601f82111561345257613423816132f2565b61342c84613307565b8101602085101561343b578190505b61344f61344785613307565b8301826133ee565b50505b505050565b600082821c905092915050565b600061347560001984600802613457565b1980831691505092915050565b600061348e8383613464565b9150826002028217905092915050565b6134a782612a1f565b67ffffffffffffffff8111156134c0576134bf612c5f565b5b6134ca825461319d565b6134d5828285613411565b600060209050601f83116001811461350857600084156134f6578287015190505b6135008582613482565b865550613568565b601f198416613516866132f2565b60005b8281101561353e57848901518255600182019150602085019450602081019050613519565b8683101561355b5784890151613557601f891682613464565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135aa82612ad1565b91506135b583612ad1565b92508282039050818111156135cd576135cc613570565b5b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061362f602e83612a2a565b915061363a826135d3565b604082019050919050565b6000602082019050818103600083015261365e81613622565b9050919050565b7f4d696e74206576656e74206973206e6f742063757272656e746c79206163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b60006136c1602283612a2a565b91506136cc82613665565b604082019050919050565b600060208201905081810360008301526136f0816136b4565b9050919050565b7f5075626c6963206d696e74206973206e6f742063757272656e746c792061637460008201527f6976650000000000000000000000000000000000000000000000000000000000602082015250565b6000613753602383612a2a565b915061375e826136f7565b604082019050919050565b6000602082019050818103600083015261378281613746565b9050919050565b7f4d696e7420776f756c6420657863656564206d6178696d756d20746f6b656e2060008201527f616d6f756e7420706572206d696e740000000000000000000000000000000000602082015250565b60006137e5602f83612a2a565b91506137f082613789565b604082019050919050565b60006020820190508181036000830152613814816137d8565b9050919050565b600061382682612ad1565b915061383183612ad1565b925082820190508082111561384957613848613570565b5b92915050565b7f4d696e7420776f756c6420657863656564206d6178696d756d20737570706c79600082015250565b6000613885602083612a2a565b91506138908261384f565b602082019050919050565b600060208201905081810360008301526138b481613878565b9050919050565b60006138c682612ad1565b91506138d183612ad1565b92508282026138df81612ad1565b915082820484148315176138f6576138f5613570565b5b5092915050565b7f4554482076616c75652073656e74206973206e6f7420636f7272656374000000600082015250565b6000613933601d83612a2a565b915061393e826138fd565b602082019050919050565b6000602082019050818103600083015261396281613926565b9050919050565b600061397482612ad1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036139a6576139a5613570565b5b600182019050919050565b60006060820190506139c66000830186612dd3565b6139d36020830185612dd3565b6139e06040830184612b66565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a2282612ad1565b9150613a2d83612ad1565b925082613a3d57613a3c6139e8565b5b828204905092915050565b60008160601b9050919050565b6000613a6082613a48565b9050919050565b6000613a7282613a55565b9050919050565b613a8a613a8582612b54565b613a67565b82525050565b6000819050919050565b613aab613aa682612ad1565b613a90565b82525050565b6000613abd8285613a79565b601482019150613acd8284613a9a565b6020820191508190509392505050565b7f57686974656c697374206d696e74206973206e6f742063757272656e746c792060008201527f6163746976650000000000000000000000000000000000000000000000000000602082015250565b6000613b39602683612a2a565b9150613b4482613add565b604082019050919050565b60006020820190508181036000830152613b6881613b2c565b9050919050565b7f496e76616c69642077686974656c697374206d65726b6c652070726f6f660000600082015250565b6000613ba5601e83612a2a565b9150613bb082613b6f565b602082019050919050565b60006020820190508181036000830152613bd481613b98565b9050919050565b7f57686974656c697374206d696e7420616c6c6f636174696f6e20697320616c7260008201527f6561647920757365640000000000000000000000000000000000000000000000602082015250565b6000613c37602983612a2a565b9150613c4282613bdb565b604082019050919050565b60006020820190508181036000830152613c6681613c2a565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ca3601883612a2a565b9150613cae82613c6d565b602082019050919050565b60006020820190508181036000830152613cd281613c96565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d35602983612a2a565b9150613d4082613cd9565b604082019050919050565b60006020820190508181036000830152613d6481613d28565b9050919050565b600081905092915050565b6000613d8182612a1f565b613d8b8185613d6b565b9350613d9b818560208601612a3b565b80840191505092915050565b6000613db38285613d76565b9150613dbf8284613d76565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e27602683612a2a565b9150613e3282613dcb565b604082019050919050565b60006020820190508181036000830152613e5681613e1a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e93602083612a2a565b9150613e9e82613e5d565b602082019050919050565b60006020820190508181036000830152613ec281613e86565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613f25602583612a2a565b9150613f3082613ec9565b604082019050919050565b60006020820190508181036000830152613f5481613f18565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613fb7602483612a2a565b9150613fc282613f5b565b604082019050919050565b60006020820190508181036000830152613fe681613faa565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614023601983612a2a565b915061402e82613fed565b602082019050919050565b6000602082019050818103600083015261405281614016565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006140b5603283612a2a565b91506140c082614059565b604082019050919050565b600060208201905081810360008301526140e4816140a8565b9050919050565b60006140f682612ad1565b915061410183612ad1565b925082614111576141106139e8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006141728261414b565b61417c8185614156565b935061418c818560208601612a3b565b61419581612a65565b840191505092915050565b60006080820190506141b56000830187612b66565b6141c26020830186612b66565b6141cf6040830185612dd3565b81810360608301526141e18184614167565b905095945050505050565b6000815190506141fb81612990565b92915050565b6000602082840312156142175761421661295a565b5b6000614225848285016141ec565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614264602083612a2a565b915061426f8261422e565b602082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006142d0601c83612a2a565b91506142db8261429a565b602082019050919050565b600060208201905081810360008301526142ff816142c3565b905091905056fea2646970667358221220faca14634edebeeb730346f7bce9a694c572a782eac63bed74ffdd54ca3d172164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000807e9d6907ca7c5255888d09eb0a3360a3eeb560bf96669d3c6929ed2fd358f70c0000000000000000000000000000000000000000000000000000000063207ed0000000000000000000000000000000000000000000000000000000006320e5f0000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f6170692e706f74686561647a2e6172742f76312f746f6b656e732f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseUri (string): https://api.potheadz.art/v1/tokens/
Arg [1] : _wlMerkleRoot (bytes32): 0x7e9d6907ca7c5255888d09eb0a3360a3eeb560bf96669d3c6929ed2fd358f70c
Arg [2] : _wlMintStartTime (uint256): 1663074000
Arg [3] : _publicMintStartTime (uint256): 1663100400
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 7e9d6907ca7c5255888d09eb0a3360a3eeb560bf96669d3c6929ed2fd358f70c
Arg [2] : 0000000000000000000000000000000000000000000000000000000063207ed0
Arg [3] : 000000000000000000000000000000000000000000000000000000006320e5f0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [5] : 68747470733a2f2f6170692e706f74686561647a2e6172742f76312f746f6b65
Arg [6] : 6e732f0000000000000000000000000000000000000000000000000000000000
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.