ERC-721
Overview
Max Total Supply
7,777 ODED
Holders
2,061
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 ODEDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OrdinaryEveryday
Compiler Version
v0.8.9+commit.e5eed63a
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.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./ERC721A.sol"; contract OrdinaryEveryday is ERC721A, Ownable, ReentrancyGuard { enum MintStatus { Guarantee, PublicMint, Paused } using Strings for uint256; MintStatus public mintStatus = MintStatus.Paused; bytes32 public merkleRoot; uint256 public constant maxSupply = 7777; uint256 public price = 0.033 ether; uint256 public maxPerWallet = 4; uint256 public constant maxFreeSupply = 2222; uint256 public totalFreeMintSupply; bool public revealed; string public baseURI; string public hiddenMetadataUri = "ipfs://QmUUA3nNodQGYN2edr21ohu2vzmmwGRHu8WCZwZbRVbgq5"; mapping (address => bool) public freeMinted; mapping (address => uint256) public userMinted; constructor (bytes32 _merkleRoot) ERC721A("Ordinary Everyday", "ODED") { merkleRoot = _merkleRoot; _safeMint(msg.sender, 1); } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function publicMint(uint256 amount) public payable callerIsUser nonReentrant { require(mintStatus == MintStatus.PublicMint, "Public mint is not active"); require(userMinted[msg.sender] + amount <= maxPerWallet, "Requested Mint Amount Exceeds Limit Per Wallet"); require(totalSupply() + amount <= maxSupply, "Purchase would exceed max supply of Tokens"); require(msg.value >= price * amount, "Insufficient funds"); _safeMint(msg.sender, amount); userMinted[msg.sender] += amount; } function freeMint(uint256 amount, bytes32[] calldata proof) public payable callerIsUser nonReentrant { require(mintStatus == MintStatus.Guarantee || mintStatus == MintStatus.PublicMint, "Free mint is not active"); require(!freeMinted[msg.sender],"Can only mint once during free mint"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender, amount)); require(MerkleProof.verify(proof, merkleRoot, leaf), "Invalid MerkleProof"); require(totalFreeMintSupply + amount <= maxFreeSupply, "Purchase would exceed max supply of Tokens"); _safeMint(msg.sender, amount); freeMinted[msg.sender] = true; totalFreeMintSupply += amount; } function setMintStatus(MintStatus status) public onlyOwner { mintStatus = status; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setPrice(uint256 _newPrice) external onlyOwner { price = _newPrice; } function setMaxPerWallet(uint256 _newAmount) external onlyOwner { maxPerWallet = _newAmount; } function setURI(uint256 _type, string memory _uri) external onlyOwner { if(_type == 1) { hiddenMetadataUri = _uri; } else if(_type == 2) { baseURI = _uri; revealed = true; } } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function _baseURI() internal view override(ERC721A) returns (string memory) { return baseURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString())) : ""; } function withdraw() public onlyOwner { uint256 sendAmount = address(this).balance; address community = payable(0x83748611C94e32A0fC4B0AF3d84FC51b3240B689); address marketing = payable(0x5f3f603Bdc0BB0Af3f28a2F4e211852131752C9A); address developer = payable(0x7A244e747953e8043ACc9c851C431284242E9686); bool success; (success, ) = community.call{value: (sendAmount * 75/100)}(""); // 70% require(success, "Transaction Unsuccessful"); (success, ) = marketing.call{value: (sendAmount * 125/1000)}(""); // 12.5% require(success, "Transaction Unsuccessful"); (success, ) = developer.call{value: (sendAmount * 125/1000)}(""); // 12.5% require(success, "Transaction Unsuccessful"); } function withdrawToken(IERC20 _token, uint256 _amount) public onlyOwner { _token.transferFrom(address(this), owner(), _amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees 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 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++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender"s balance is impossible because we check for // ownership above and the recipient"s balance can"t realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender"s balance is impossible because we check for // ownership above and the recipient"s balance can"t realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`"s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 be 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.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum OrdinaryEveryday.MintStatus","name":"","type":"uint8"}],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum OrdinaryEveryday.MintStatus","name":"status","type":"uint8"}],"name":"setMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_type","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setURI","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":"totalFreeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526002600a60006101000a81548160ff021916908360028111156200002d576200002c6200090a565b5b021790555066753d533d968000600c556004600d556040518060600160405280603581526020016200561e6035913960119080519060200190620000739291906200085a565b503480156200008157600080fd5b5060405162005653380380620056538339818101604052810190620000a7919062000979565b6040518060400160405280601181526020017f4f7264696e6172792045766572796461790000000000000000000000000000008152506040518060400160405280600481526020017f4f4445440000000000000000000000000000000000000000000000000000000081525081600290805190602001906200012b9291906200085a565b508060039080519060200190620001449291906200085a565b5062000155620001a660201b60201c565b60008190555050506200017d62000171620001af60201b60201c565b620001b760201b60201c565b600160098190555080600b819055506200019f3360016200027d60201b60201c565b5062000bf7565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200029f828260405180602001604052806000815250620002a360201b60201c565b5050565b620002b88383836001620002bd60201b60201c565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156200032b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141562000367576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200037c6000868387620006b960201b60201c565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015620005545750620005538773ffffffffffffffffffffffffffffffffffffffff16620006bf60201b6200225a1760201c565b5b1562000627575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620005d26000888480600101955088620006e260201b60201c565b62000609576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156200055b5782600054146200062157600080fd5b62000694565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141562000628575b816000819055505050620006b260008683876200085460201b60201c565b5050505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000710620001af60201b60201c565b8786866040518563ffffffff1660e01b815260040162000734949392919062000aaf565b602060405180830381600087803b1580156200074f57600080fd5b505af19250505080156200078357506040513d601f19601f8201168201806040525081019062000780919062000b60565b60015b62000801573d8060008114620007b6576040519150601f19603f3d011682016040523d82523d6000602084013e620007bb565b606091505b50600081511415620007f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b828054620008689062000bc1565b90600052602060002090601f0160209004810192826200088c5760008555620008d8565b82601f10620008a757805160ff1916838001178555620008d8565b82800160010185558215620008d8579182015b82811115620008d7578251825591602001919060010190620008ba565b5b509050620008e79190620008eb565b5090565b5b8082111562000906576000816000905550600101620008ec565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600080fd5b6000819050919050565b62000953816200093e565b81146200095f57600080fd5b50565b600081519050620009738162000948565b92915050565b60006020828403121562000992576200099162000939565b5b6000620009a28482850162000962565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009d882620009ab565b9050919050565b620009ea81620009cb565b82525050565b6000819050919050565b62000a0581620009f0565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562000a4757808201518184015260208101905062000a2a565b8381111562000a57576000848401525b50505050565b6000601f19601f8301169050919050565b600062000a7b8262000a0b565b62000a87818562000a16565b935062000a9981856020860162000a27565b62000aa48162000a5d565b840191505092915050565b600060808201905062000ac66000830187620009df565b62000ad56020830186620009df565b62000ae46040830185620009fa565b818103606083015262000af8818462000a6e565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000b3a8162000b03565b811462000b4657600080fd5b50565b60008151905062000b5a8162000b2f565b92915050565b60006020828403121562000b795762000b7862000939565b5b600062000b898482850162000b49565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000bda57607f821691505b6020821081141562000bf15762000bf062000b92565b5b50919050565b614a178062000c076000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063a035b1fe116100ab578063d5abeb011161006f578063d5abeb01146107e8578063e268e4d314610813578063e2f36dce1461083c578063e985e9c514610858578063f2fde38b1461089557610225565b8063a035b1fe14610703578063a22cb4651461072e578063a45ba8e714610757578063b88d4fde14610782578063c87b56dd146107ab57610225565b80638da5cb5b116100f25780638da5cb5b1461063057806391b7f5ed1461065b57806395d89b41146106845780639da3f8fd146106af5780639e281a98146106da57610225565b8063715018a61461059e5780637cb64759146105b5578063814c8c55146105de578063862440e21461060757610225565b80632eb4a7ab116101b1578063475133341161017557806347513334146104a357806351830227146104ce5780636352211e146104f95780636c0360eb1461053657806370a082311461056157610225565b80632eb4a7ab146103d0578063389fcf06146103fb5780633ccfd60b1461043857806342842e0e1461044f578063453c23101461047857610225565b806318160ddd116101f857806318160ddd146102f857806318a1f961146103235780631aa5e8721461034e57806323b872dd1461038b5780632db11544146103b457610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613590565b6108be565b60405161025e91906135d8565b60405180910390f35b34801561027357600080fd5b5061027c6109a0565b604051610289919061368c565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b491906136e4565b610a32565b6040516102c69190613752565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613799565b610aae565b005b34801561030457600080fd5b5061030d610bb9565b60405161031a91906137e8565b60405180910390f35b34801561032f57600080fd5b50610338610bd0565b60405161034591906137e8565b60405180910390f35b34801561035a57600080fd5b5061037560048036038101906103709190613803565b610bd6565b60405161038291906137e8565b60405180910390f35b34801561039757600080fd5b506103b260048036038101906103ad9190613830565b610bee565b005b6103ce60048036038101906103c991906136e4565b610bfe565b005b3480156103dc57600080fd5b506103e5610ed1565b6040516103f2919061389c565b60405180910390f35b34801561040757600080fd5b50610422600480360381019061041d9190613803565b610ed7565b60405161042f91906135d8565b60405180910390f35b34801561044457600080fd5b5061044d610ef7565b005b34801561045b57600080fd5b5061047660048036038101906104719190613830565b61121a565b005b34801561048457600080fd5b5061048d61123a565b60405161049a91906137e8565b60405180910390f35b3480156104af57600080fd5b506104b8611240565b6040516104c591906137e8565b60405180910390f35b3480156104da57600080fd5b506104e3611246565b6040516104f091906135d8565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b91906136e4565b611259565b60405161052d9190613752565b60405180910390f35b34801561054257600080fd5b5061054b61126f565b604051610558919061368c565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613803565b6112fd565b60405161059591906137e8565b60405180910390f35b3480156105aa57600080fd5b506105b36113cd565b005b3480156105c157600080fd5b506105dc60048036038101906105d791906138e3565b611455565b005b3480156105ea57600080fd5b5061060560048036038101906106009190613935565b6114db565b005b34801561061357600080fd5b5061062e60048036038101906106299190613a97565b611584565b005b34801561063c57600080fd5b50610645611666565b6040516106529190613752565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d91906136e4565b611690565b005b34801561069057600080fd5b50610699611716565b6040516106a6919061368c565b60405180910390f35b3480156106bb57600080fd5b506106c46117a8565b6040516106d19190613b6a565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc9190613bc3565b6117bb565b005b34801561070f57600080fd5b506107186118d2565b60405161072591906137e8565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190613c2f565b6118d8565b005b34801561076357600080fd5b5061076c611a50565b604051610779919061368c565b60405180910390f35b34801561078e57600080fd5b506107a960048036038101906107a49190613d10565b611ade565b005b3480156107b757600080fd5b506107d260048036038101906107cd91906136e4565b611b5a565b6040516107df919061368c565b60405180910390f35b3480156107f457600080fd5b506107fd611cb0565b60405161080a91906137e8565b60405180910390f35b34801561081f57600080fd5b5061083a600480360381019061083591906136e4565b611cb6565b005b61085660048036038101906108519190613df3565b611d3c565b005b34801561086457600080fd5b5061087f600480360381019061087a9190613e53565b6120ce565b60405161088c91906135d8565b60405180910390f35b3480156108a157600080fd5b506108bc60048036038101906108b79190613803565b612162565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099957506109988261227d565b5b9050919050565b6060600280546109af90613ec2565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90613ec2565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3d826122e7565b610a73576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab982611259565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b21576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b40612335565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b725750610b7081610b6b612335565b6120ce565b155b15610ba9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bb483838361233d565b505050565b6000610bc36123ef565b6001546000540303905090565b600e5481565b60136020528060005260406000206000915090505481565b610bf98383836123f8565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390613f40565b60405180910390fd5b60026009541415610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990613fac565b60405180910390fd5b600260098190555060016002811115610cce57610ccd613af3565b5b600a60009054906101000a900460ff166002811115610cf057610cef613af3565b5b14610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2790614018565b60405180910390fd5b600d5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d7e9190614067565b1115610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db69061412f565b60405180910390fd5b611e6181610dcb610bb9565b610dd59190614067565b1115610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906141c1565b60405180910390fd5b80600c54610e2491906141e1565b341015610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90614287565b60405180910390fd5b610e7033826128e9565b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ebf9190614067565b92505081905550600160098190555050565b600b5481565b60126020528060005260406000206000915054906101000a900460ff1681565b610eff612335565b73ffffffffffffffffffffffffffffffffffffffff16610f1d611666565b73ffffffffffffffffffffffffffffffffffffffff1614610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a906142f3565b60405180910390fd5b600047905060007383748611c94e32a0fc4b0af3d84fc51b3240b68990506000735f3f603bdc0bb0af3f28a2f4e211852131752c9a90506000737a244e747953e8043acc9c851c431284242e9686905060008373ffffffffffffffffffffffffffffffffffffffff166064604b87610feb91906141e1565b610ff59190614342565b604051611001906143a4565b60006040518083038185875af1925050503d806000811461103e576040519150601f19603f3d011682016040523d82523d6000602084013e611043565b606091505b50508091505080611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090614405565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166103e8607d876110b091906141e1565b6110ba9190614342565b6040516110c6906143a4565b60006040518083038185875af1925050503d8060008114611103576040519150601f19603f3d011682016040523d82523d6000602084013e611108565b606091505b5050809150508061114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590614405565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166103e8607d8761117591906141e1565b61117f9190614342565b60405161118b906143a4565b60006040518083038185875af1925050503d80600081146111c8576040519150601f19603f3d011682016040523d82523d6000602084013e6111cd565b606091505b50508091505080611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614405565b60405180910390fd5b5050505050565b61123583838360405180602001604052806000815250611ade565b505050565b600d5481565b6108ae81565b600f60009054906101000a900460ff1681565b600061126482612907565b600001519050919050565b6010805461127c90613ec2565b80601f01602080910402602001604051908101604052809291908181526020018280546112a890613ec2565b80156112f55780601f106112ca576101008083540402835291602001916112f5565b820191906000526020600020905b8154815290600101906020018083116112d857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611365576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113d5612335565b73ffffffffffffffffffffffffffffffffffffffff166113f3611666565b73ffffffffffffffffffffffffffffffffffffffff1614611449576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611440906142f3565b60405180910390fd5b6114536000612b96565b565b61145d612335565b73ffffffffffffffffffffffffffffffffffffffff1661147b611666565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c8906142f3565b60405180910390fd5b80600b8190555050565b6114e3612335565b73ffffffffffffffffffffffffffffffffffffffff16611501611666565b73ffffffffffffffffffffffffffffffffffffffff1614611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e906142f3565b60405180910390fd5b80600a60006101000a81548160ff0219169083600281111561157c5761157b613af3565b5b021790555050565b61158c612335565b73ffffffffffffffffffffffffffffffffffffffff166115aa611666565b73ffffffffffffffffffffffffffffffffffffffff1614611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f7906142f3565b60405180910390fd5b600182141561162557806011908051906020019061161f92919061343e565b50611662565b600282141561166157806010908051906020019061164492919061343e565b506001600f60006101000a81548160ff0219169083151502179055505b5b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611698612335565b73ffffffffffffffffffffffffffffffffffffffff166116b6611666565b73ffffffffffffffffffffffffffffffffffffffff161461170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906142f3565b60405180910390fd5b80600c8190555050565b60606003805461172590613ec2565b80601f016020809104026020016040519081016040528092919081815260200182805461175190613ec2565b801561179e5780601f106117735761010080835404028352916020019161179e565b820191906000526020600020905b81548152906001019060200180831161178157829003601f168201915b5050505050905090565b600a60009054906101000a900460ff1681565b6117c3612335565b73ffffffffffffffffffffffffffffffffffffffff166117e1611666565b73ffffffffffffffffffffffffffffffffffffffff1614611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e906142f3565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3061185c611666565b846040518463ffffffff1660e01b815260040161187b93929190614425565b602060405180830381600087803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190614471565b505050565b600c5481565b6118e0612335565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611945576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611952612335565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119ff612335565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a4491906135d8565b60405180910390a35050565b60118054611a5d90613ec2565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8990613ec2565b8015611ad65780601f10611aab57610100808354040283529160200191611ad6565b820191906000526020600020905b815481529060010190602001808311611ab957829003601f168201915b505050505081565b611ae98484846123f8565b611b088373ffffffffffffffffffffffffffffffffffffffff1661225a565b8015611b1d5750611b1b84848484612c5c565b155b15611b54576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611b65826122e7565b611ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9b90614510565b60405180910390fd5b60001515600f60009054906101000a900460ff1615151415611c525760118054611bcd90613ec2565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf990613ec2565b8015611c465780601f10611c1b57610100808354040283529160200191611c46565b820191906000526020600020905b815481529060010190602001808311611c2957829003601f168201915b50505050509050611cab565b6000611c5c612dbc565b90506000815111611c7c5760405180602001604052806000815250611ca7565b80611c8684612e4e565b604051602001611c9792919061456c565b6040516020818303038152906040525b9150505b919050565b611e6181565b611cbe612335565b73ffffffffffffffffffffffffffffffffffffffff16611cdc611666565b73ffffffffffffffffffffffffffffffffffffffff1614611d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d29906142f3565b60405180910390fd5b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190613f40565b60405180910390fd5b60026009541415611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790613fac565b60405180910390fd5b600260098190555060006002811115611e0c57611e0b613af3565b5b600a60009054906101000a900460ff166002811115611e2e57611e2d613af3565b5b1480611e6d575060016002811115611e4957611e48613af3565b5b600a60009054906101000a900460ff166002811115611e6b57611e6a613af3565b5b145b611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea3906145dc565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f309061466e565b60405180910390fd5b60003384604051602001611f4e9291906146f7565b604051602081830303815290604052805190602001209050611fb4838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612faf565b611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea9061476f565b60405180910390fd5b6108ae84600e546120049190614067565b1115612045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203c906141c1565b60405180910390fd5b61204f33856128e9565b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555083600e60008282546120b99190614067565b92505081905550506001600981905550505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61216a612335565b73ffffffffffffffffffffffffffffffffffffffff16612188611666565b73ffffffffffffffffffffffffffffffffffffffff16146121de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d5906142f3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561224e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224590614801565b60405180910390fd5b61225781612b96565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816122f26123ef565b11158015612301575060005482105b801561232e575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061240382612907565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661242a612335565b73ffffffffffffffffffffffffffffffffffffffff16148061245d575061245c8260000151612457612335565b6120ce565b5b806124a2575061246b612335565b73ffffffffffffffffffffffffffffffffffffffff1661248a84610a32565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806124db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612544576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125ab576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125b88585856001612fc6565b6125c8600084846000015161233d565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612879576000548110156128785782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128e28585856001612fcc565b5050505050565b612903828260405180602001604052806000815250612fd2565b5050565b61290f6134c4565b60008290508061291d6123ef565b1115801561292c575060005481105b15612b5f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612b5d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a41578092505050612b91565b5b600115612b5c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b57578092505050612b91565b612a42565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c82612335565b8786866040518563ffffffff1660e01b8152600401612ca49493929190614876565b602060405180830381600087803b158015612cbe57600080fd5b505af1925050508015612cef57506040513d601f19601f82011682018060405250810190612cec91906148d7565b60015b612d69573d8060008114612d1f576040519150601f19603f3d011682016040523d82523d6000602084013e612d24565b606091505b50600081511415612d61576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060108054612dcb90613ec2565b80601f0160208091040260200160405190810160405280929190818152602001828054612df790613ec2565b8015612e445780601f10612e1957610100808354040283529160200191612e44565b820191906000526020600020905b815481529060010190602001808311612e2757829003601f168201915b5050505050905090565b60606000821415612e96576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612faa565b600082905060005b60008214612ec8578080612eb190614904565b915050600a82612ec19190614342565b9150612e9e565b60008167ffffffffffffffff811115612ee457612ee361396c565b5b6040519080825280601f01601f191660200182016040528015612f165781602001600182028036833780820191505090505b5090505b60008514612fa357600182612f2f919061494d565b9150600a85612f3e9190614981565b6030612f4a9190614067565b60f81b818381518110612f6057612f5f6149b2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f9c9190614342565b9450612f1a565b8093505050505b919050565b600082612fbc8584612fe4565b1490509392505050565b50505050565b50505050565b612fdf8383836001613059565b505050565b60008082905060005b845181101561304e57600085828151811061300b5761300a6149b2565b5b6020026020010151905080831161302d576130268382613427565b925061303a565b6130378184613427565b92505b50808061304690614904565b915050612fed565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156130c6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613101576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61310e6000868387612fc6565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156132d857506132d78773ffffffffffffffffffffffffffffffffffffffff1661225a565b5b1561339e575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461334d6000888480600101955088612c5c565b613383576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156132de57826000541461339957600080fd5b61340a565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561339f575b8160008190555050506134206000868387612fcc565b5050505050565b600082600052816020526040600020905092915050565b82805461344a90613ec2565b90600052602060002090601f01602090048101928261346c57600085556134b3565b82601f1061348557805160ff19168380011785556134b3565b828001600101855582156134b3579182015b828111156134b2578251825591602001919060010190613497565b5b5090506134c09190613507565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613520576000816000905550600101613508565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61356d81613538565b811461357857600080fd5b50565b60008135905061358a81613564565b92915050565b6000602082840312156135a6576135a561352e565b5b60006135b48482850161357b565b91505092915050565b60008115159050919050565b6135d2816135bd565b82525050565b60006020820190506135ed60008301846135c9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561362d578082015181840152602081019050613612565b8381111561363c576000848401525b50505050565b6000601f19601f8301169050919050565b600061365e826135f3565b61366881856135fe565b935061367881856020860161360f565b61368181613642565b840191505092915050565b600060208201905081810360008301526136a68184613653565b905092915050565b6000819050919050565b6136c1816136ae565b81146136cc57600080fd5b50565b6000813590506136de816136b8565b92915050565b6000602082840312156136fa576136f961352e565b5b6000613708848285016136cf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061373c82613711565b9050919050565b61374c81613731565b82525050565b60006020820190506137676000830184613743565b92915050565b61377681613731565b811461378157600080fd5b50565b6000813590506137938161376d565b92915050565b600080604083850312156137b0576137af61352e565b5b60006137be85828601613784565b92505060206137cf858286016136cf565b9150509250929050565b6137e2816136ae565b82525050565b60006020820190506137fd60008301846137d9565b92915050565b6000602082840312156138195761381861352e565b5b600061382784828501613784565b91505092915050565b6000806000606084860312156138495761384861352e565b5b600061385786828701613784565b935050602061386886828701613784565b9250506040613879868287016136cf565b9150509250925092565b6000819050919050565b61389681613883565b82525050565b60006020820190506138b1600083018461388d565b92915050565b6138c081613883565b81146138cb57600080fd5b50565b6000813590506138dd816138b7565b92915050565b6000602082840312156138f9576138f861352e565b5b6000613907848285016138ce565b91505092915050565b6003811061391d57600080fd5b50565b60008135905061392f81613910565b92915050565b60006020828403121561394b5761394a61352e565b5b600061395984828501613920565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139a482613642565b810181811067ffffffffffffffff821117156139c3576139c261396c565b5b80604052505050565b60006139d6613524565b90506139e2828261399b565b919050565b600067ffffffffffffffff821115613a0257613a0161396c565b5b613a0b82613642565b9050602081019050919050565b82818337600083830152505050565b6000613a3a613a35846139e7565b6139cc565b905082815260208101848484011115613a5657613a55613967565b5b613a61848285613a18565b509392505050565b600082601f830112613a7e57613a7d613962565b5b8135613a8e848260208601613a27565b91505092915050565b60008060408385031215613aae57613aad61352e565b5b6000613abc858286016136cf565b925050602083013567ffffffffffffffff811115613add57613adc613533565b5b613ae985828601613a69565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613b3357613b32613af3565b5b50565b6000819050613b4482613b22565b919050565b6000613b5482613b36565b9050919050565b613b6481613b49565b82525050565b6000602082019050613b7f6000830184613b5b565b92915050565b6000613b9082613731565b9050919050565b613ba081613b85565b8114613bab57600080fd5b50565b600081359050613bbd81613b97565b92915050565b60008060408385031215613bda57613bd961352e565b5b6000613be885828601613bae565b9250506020613bf9858286016136cf565b9150509250929050565b613c0c816135bd565b8114613c1757600080fd5b50565b600081359050613c2981613c03565b92915050565b60008060408385031215613c4657613c4561352e565b5b6000613c5485828601613784565b9250506020613c6585828601613c1a565b9150509250929050565b600067ffffffffffffffff821115613c8a57613c8961396c565b5b613c9382613642565b9050602081019050919050565b6000613cb3613cae84613c6f565b6139cc565b905082815260208101848484011115613ccf57613cce613967565b5b613cda848285613a18565b509392505050565b600082601f830112613cf757613cf6613962565b5b8135613d07848260208601613ca0565b91505092915050565b60008060008060808587031215613d2a57613d2961352e565b5b6000613d3887828801613784565b9450506020613d4987828801613784565b9350506040613d5a878288016136cf565b925050606085013567ffffffffffffffff811115613d7b57613d7a613533565b5b613d8787828801613ce2565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613db357613db2613962565b5b8235905067ffffffffffffffff811115613dd057613dcf613d93565b5b602083019150836020820283011115613dec57613deb613d98565b5b9250929050565b600080600060408486031215613e0c57613e0b61352e565b5b6000613e1a868287016136cf565b935050602084013567ffffffffffffffff811115613e3b57613e3a613533565b5b613e4786828701613d9d565b92509250509250925092565b60008060408385031215613e6a57613e6961352e565b5b6000613e7885828601613784565b9250506020613e8985828601613784565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613eda57607f821691505b60208210811415613eee57613eed613e93565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613f2a601e836135fe565b9150613f3582613ef4565b602082019050919050565b60006020820190508181036000830152613f5981613f1d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613f96601f836135fe565b9150613fa182613f60565b602082019050919050565b60006020820190508181036000830152613fc581613f89565b9050919050565b7f5075626c6963206d696e74206973206e6f742061637469766500000000000000600082015250565b60006140026019836135fe565b915061400d82613fcc565b602082019050919050565b6000602082019050818103600083015261403181613ff5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614072826136ae565b915061407d836136ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140b2576140b1614038565b5b828201905092915050565b7f526571756573746564204d696e7420416d6f756e742045786365656473204c6960008201527f6d6974205065722057616c6c6574000000000000000000000000000000000000602082015250565b6000614119602e836135fe565b9150614124826140bd565b604082019050919050565b600060208201905081810360008301526141488161410c565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620546f6b656e7300000000000000000000000000000000000000000000602082015250565b60006141ab602a836135fe565b91506141b68261414f565b604082019050919050565b600060208201905081810360008301526141da8161419e565b9050919050565b60006141ec826136ae565b91506141f7836136ae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142305761422f614038565b5b828202905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006142716012836135fe565b915061427c8261423b565b602082019050919050565b600060208201905081810360008301526142a081614264565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142dd6020836135fe565b91506142e8826142a7565b602082019050919050565b6000602082019050818103600083015261430c816142d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061434d826136ae565b9150614358836136ae565b92508261436857614367614313565b5b828204905092915050565b600081905092915050565b50565b600061438e600083614373565b91506143998261437e565b600082019050919050565b60006143af82614381565b9150819050919050565b7f5472616e73616374696f6e20556e7375636365737366756c0000000000000000600082015250565b60006143ef6018836135fe565b91506143fa826143b9565b602082019050919050565b6000602082019050818103600083015261441e816143e2565b9050919050565b600060608201905061443a6000830186613743565b6144476020830185613743565b61445460408301846137d9565b949350505050565b60008151905061446b81613c03565b92915050565b6000602082840312156144875761448661352e565b5b60006144958482850161445c565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006144fa602f836135fe565b91506145058261449e565b604082019050919050565b60006020820190508181036000830152614529816144ed565b9050919050565b600081905092915050565b6000614546826135f3565b6145508185614530565b935061456081856020860161360f565b80840191505092915050565b6000614578828561453b565b9150614584828461453b565b91508190509392505050565b7f46726565206d696e74206973206e6f7420616374697665000000000000000000600082015250565b60006145c66017836135fe565b91506145d182614590565b602082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b7f43616e206f6e6c79206d696e74206f6e636520647572696e672066726565206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b60006146586023836135fe565b9150614663826145fc565b604082019050919050565b600060208201905081810360008301526146878161464b565b9050919050565b60008160601b9050919050565b60006146a68261468e565b9050919050565b60006146b88261469b565b9050919050565b6146d06146cb82613731565b6146ad565b82525050565b6000819050919050565b6146f16146ec826136ae565b6146d6565b82525050565b600061470382856146bf565b60148201915061471382846146e0565b6020820191508190509392505050565b7f496e76616c6964204d65726b6c6550726f6f6600000000000000000000000000600082015250565b60006147596013836135fe565b915061476482614723565b602082019050919050565b600060208201905081810360008301526147888161474c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147eb6026836135fe565b91506147f68261478f565b604082019050919050565b6000602082019050818103600083015261481a816147de565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061484882614821565b614852818561482c565b935061486281856020860161360f565b61486b81613642565b840191505092915050565b600060808201905061488b6000830187613743565b6148986020830186613743565b6148a560408301856137d9565b81810360608301526148b7818461483d565b905095945050505050565b6000815190506148d181613564565b92915050565b6000602082840312156148ed576148ec61352e565b5b60006148fb848285016148c2565b91505092915050565b600061490f826136ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561494257614941614038565b5b600182019050919050565b6000614958826136ae565b9150614963836136ae565b92508282101561497657614975614038565b5b828203905092915050565b600061498c826136ae565b9150614997836136ae565b9250826149a7576149a6614313565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212202365d8a1d9fcf23e16ec34cb3e3a0da4a973d409b7d22714fb32e0b2658b3c3664736f6c63430008090033697066733a2f2f516d555541336e4e6f645147594e3265647232316f687532767a6d6d77475248753857435a775a62525662677135db71485d2a130b6ea286b939a7d7dba56368a72e6a53111150648730c3b84910
Deployed Bytecode
0x6080604052600436106102255760003560e01c8063715018a611610123578063a035b1fe116100ab578063d5abeb011161006f578063d5abeb01146107e8578063e268e4d314610813578063e2f36dce1461083c578063e985e9c514610858578063f2fde38b1461089557610225565b8063a035b1fe14610703578063a22cb4651461072e578063a45ba8e714610757578063b88d4fde14610782578063c87b56dd146107ab57610225565b80638da5cb5b116100f25780638da5cb5b1461063057806391b7f5ed1461065b57806395d89b41146106845780639da3f8fd146106af5780639e281a98146106da57610225565b8063715018a61461059e5780637cb64759146105b5578063814c8c55146105de578063862440e21461060757610225565b80632eb4a7ab116101b1578063475133341161017557806347513334146104a357806351830227146104ce5780636352211e146104f95780636c0360eb1461053657806370a082311461056157610225565b80632eb4a7ab146103d0578063389fcf06146103fb5780633ccfd60b1461043857806342842e0e1461044f578063453c23101461047857610225565b806318160ddd116101f857806318160ddd146102f857806318a1f961146103235780631aa5e8721461034e57806323b872dd1461038b5780632db11544146103b457610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613590565b6108be565b60405161025e91906135d8565b60405180910390f35b34801561027357600080fd5b5061027c6109a0565b604051610289919061368c565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b491906136e4565b610a32565b6040516102c69190613752565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613799565b610aae565b005b34801561030457600080fd5b5061030d610bb9565b60405161031a91906137e8565b60405180910390f35b34801561032f57600080fd5b50610338610bd0565b60405161034591906137e8565b60405180910390f35b34801561035a57600080fd5b5061037560048036038101906103709190613803565b610bd6565b60405161038291906137e8565b60405180910390f35b34801561039757600080fd5b506103b260048036038101906103ad9190613830565b610bee565b005b6103ce60048036038101906103c991906136e4565b610bfe565b005b3480156103dc57600080fd5b506103e5610ed1565b6040516103f2919061389c565b60405180910390f35b34801561040757600080fd5b50610422600480360381019061041d9190613803565b610ed7565b60405161042f91906135d8565b60405180910390f35b34801561044457600080fd5b5061044d610ef7565b005b34801561045b57600080fd5b5061047660048036038101906104719190613830565b61121a565b005b34801561048457600080fd5b5061048d61123a565b60405161049a91906137e8565b60405180910390f35b3480156104af57600080fd5b506104b8611240565b6040516104c591906137e8565b60405180910390f35b3480156104da57600080fd5b506104e3611246565b6040516104f091906135d8565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b91906136e4565b611259565b60405161052d9190613752565b60405180910390f35b34801561054257600080fd5b5061054b61126f565b604051610558919061368c565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613803565b6112fd565b60405161059591906137e8565b60405180910390f35b3480156105aa57600080fd5b506105b36113cd565b005b3480156105c157600080fd5b506105dc60048036038101906105d791906138e3565b611455565b005b3480156105ea57600080fd5b5061060560048036038101906106009190613935565b6114db565b005b34801561061357600080fd5b5061062e60048036038101906106299190613a97565b611584565b005b34801561063c57600080fd5b50610645611666565b6040516106529190613752565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d91906136e4565b611690565b005b34801561069057600080fd5b50610699611716565b6040516106a6919061368c565b60405180910390f35b3480156106bb57600080fd5b506106c46117a8565b6040516106d19190613b6a565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc9190613bc3565b6117bb565b005b34801561070f57600080fd5b506107186118d2565b60405161072591906137e8565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190613c2f565b6118d8565b005b34801561076357600080fd5b5061076c611a50565b604051610779919061368c565b60405180910390f35b34801561078e57600080fd5b506107a960048036038101906107a49190613d10565b611ade565b005b3480156107b757600080fd5b506107d260048036038101906107cd91906136e4565b611b5a565b6040516107df919061368c565b60405180910390f35b3480156107f457600080fd5b506107fd611cb0565b60405161080a91906137e8565b60405180910390f35b34801561081f57600080fd5b5061083a600480360381019061083591906136e4565b611cb6565b005b61085660048036038101906108519190613df3565b611d3c565b005b34801561086457600080fd5b5061087f600480360381019061087a9190613e53565b6120ce565b60405161088c91906135d8565b60405180910390f35b3480156108a157600080fd5b506108bc60048036038101906108b79190613803565b612162565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099957506109988261227d565b5b9050919050565b6060600280546109af90613ec2565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90613ec2565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3d826122e7565b610a73576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab982611259565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b21576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b40612335565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b725750610b7081610b6b612335565b6120ce565b155b15610ba9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bb483838361233d565b505050565b6000610bc36123ef565b6001546000540303905090565b600e5481565b60136020528060005260406000206000915090505481565b610bf98383836123f8565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390613f40565b60405180910390fd5b60026009541415610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990613fac565b60405180910390fd5b600260098190555060016002811115610cce57610ccd613af3565b5b600a60009054906101000a900460ff166002811115610cf057610cef613af3565b5b14610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2790614018565b60405180910390fd5b600d5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d7e9190614067565b1115610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db69061412f565b60405180910390fd5b611e6181610dcb610bb9565b610dd59190614067565b1115610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906141c1565b60405180910390fd5b80600c54610e2491906141e1565b341015610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90614287565b60405180910390fd5b610e7033826128e9565b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ebf9190614067565b92505081905550600160098190555050565b600b5481565b60126020528060005260406000206000915054906101000a900460ff1681565b610eff612335565b73ffffffffffffffffffffffffffffffffffffffff16610f1d611666565b73ffffffffffffffffffffffffffffffffffffffff1614610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a906142f3565b60405180910390fd5b600047905060007383748611c94e32a0fc4b0af3d84fc51b3240b68990506000735f3f603bdc0bb0af3f28a2f4e211852131752c9a90506000737a244e747953e8043acc9c851c431284242e9686905060008373ffffffffffffffffffffffffffffffffffffffff166064604b87610feb91906141e1565b610ff59190614342565b604051611001906143a4565b60006040518083038185875af1925050503d806000811461103e576040519150601f19603f3d011682016040523d82523d6000602084013e611043565b606091505b50508091505080611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090614405565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166103e8607d876110b091906141e1565b6110ba9190614342565b6040516110c6906143a4565b60006040518083038185875af1925050503d8060008114611103576040519150601f19603f3d011682016040523d82523d6000602084013e611108565b606091505b5050809150508061114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590614405565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166103e8607d8761117591906141e1565b61117f9190614342565b60405161118b906143a4565b60006040518083038185875af1925050503d80600081146111c8576040519150601f19603f3d011682016040523d82523d6000602084013e6111cd565b606091505b50508091505080611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614405565b60405180910390fd5b5050505050565b61123583838360405180602001604052806000815250611ade565b505050565b600d5481565b6108ae81565b600f60009054906101000a900460ff1681565b600061126482612907565b600001519050919050565b6010805461127c90613ec2565b80601f01602080910402602001604051908101604052809291908181526020018280546112a890613ec2565b80156112f55780601f106112ca576101008083540402835291602001916112f5565b820191906000526020600020905b8154815290600101906020018083116112d857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611365576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113d5612335565b73ffffffffffffffffffffffffffffffffffffffff166113f3611666565b73ffffffffffffffffffffffffffffffffffffffff1614611449576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611440906142f3565b60405180910390fd5b6114536000612b96565b565b61145d612335565b73ffffffffffffffffffffffffffffffffffffffff1661147b611666565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c8906142f3565b60405180910390fd5b80600b8190555050565b6114e3612335565b73ffffffffffffffffffffffffffffffffffffffff16611501611666565b73ffffffffffffffffffffffffffffffffffffffff1614611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e906142f3565b60405180910390fd5b80600a60006101000a81548160ff0219169083600281111561157c5761157b613af3565b5b021790555050565b61158c612335565b73ffffffffffffffffffffffffffffffffffffffff166115aa611666565b73ffffffffffffffffffffffffffffffffffffffff1614611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f7906142f3565b60405180910390fd5b600182141561162557806011908051906020019061161f92919061343e565b50611662565b600282141561166157806010908051906020019061164492919061343e565b506001600f60006101000a81548160ff0219169083151502179055505b5b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611698612335565b73ffffffffffffffffffffffffffffffffffffffff166116b6611666565b73ffffffffffffffffffffffffffffffffffffffff161461170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906142f3565b60405180910390fd5b80600c8190555050565b60606003805461172590613ec2565b80601f016020809104026020016040519081016040528092919081815260200182805461175190613ec2565b801561179e5780601f106117735761010080835404028352916020019161179e565b820191906000526020600020905b81548152906001019060200180831161178157829003601f168201915b5050505050905090565b600a60009054906101000a900460ff1681565b6117c3612335565b73ffffffffffffffffffffffffffffffffffffffff166117e1611666565b73ffffffffffffffffffffffffffffffffffffffff1614611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e906142f3565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3061185c611666565b846040518463ffffffff1660e01b815260040161187b93929190614425565b602060405180830381600087803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190614471565b505050565b600c5481565b6118e0612335565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611945576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611952612335565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119ff612335565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a4491906135d8565b60405180910390a35050565b60118054611a5d90613ec2565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8990613ec2565b8015611ad65780601f10611aab57610100808354040283529160200191611ad6565b820191906000526020600020905b815481529060010190602001808311611ab957829003601f168201915b505050505081565b611ae98484846123f8565b611b088373ffffffffffffffffffffffffffffffffffffffff1661225a565b8015611b1d5750611b1b84848484612c5c565b155b15611b54576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611b65826122e7565b611ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9b90614510565b60405180910390fd5b60001515600f60009054906101000a900460ff1615151415611c525760118054611bcd90613ec2565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf990613ec2565b8015611c465780601f10611c1b57610100808354040283529160200191611c46565b820191906000526020600020905b815481529060010190602001808311611c2957829003601f168201915b50505050509050611cab565b6000611c5c612dbc565b90506000815111611c7c5760405180602001604052806000815250611ca7565b80611c8684612e4e565b604051602001611c9792919061456c565b6040516020818303038152906040525b9150505b919050565b611e6181565b611cbe612335565b73ffffffffffffffffffffffffffffffffffffffff16611cdc611666565b73ffffffffffffffffffffffffffffffffffffffff1614611d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d29906142f3565b60405180910390fd5b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190613f40565b60405180910390fd5b60026009541415611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790613fac565b60405180910390fd5b600260098190555060006002811115611e0c57611e0b613af3565b5b600a60009054906101000a900460ff166002811115611e2e57611e2d613af3565b5b1480611e6d575060016002811115611e4957611e48613af3565b5b600a60009054906101000a900460ff166002811115611e6b57611e6a613af3565b5b145b611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea3906145dc565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f309061466e565b60405180910390fd5b60003384604051602001611f4e9291906146f7565b604051602081830303815290604052805190602001209050611fb4838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612faf565b611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea9061476f565b60405180910390fd5b6108ae84600e546120049190614067565b1115612045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203c906141c1565b60405180910390fd5b61204f33856128e9565b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555083600e60008282546120b99190614067565b92505081905550506001600981905550505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61216a612335565b73ffffffffffffffffffffffffffffffffffffffff16612188611666565b73ffffffffffffffffffffffffffffffffffffffff16146121de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d5906142f3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561224e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224590614801565b60405180910390fd5b61225781612b96565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816122f26123ef565b11158015612301575060005482105b801561232e575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061240382612907565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661242a612335565b73ffffffffffffffffffffffffffffffffffffffff16148061245d575061245c8260000151612457612335565b6120ce565b5b806124a2575061246b612335565b73ffffffffffffffffffffffffffffffffffffffff1661248a84610a32565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806124db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612544576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125ab576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125b88585856001612fc6565b6125c8600084846000015161233d565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612879576000548110156128785782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128e28585856001612fcc565b5050505050565b612903828260405180602001604052806000815250612fd2565b5050565b61290f6134c4565b60008290508061291d6123ef565b1115801561292c575060005481105b15612b5f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612b5d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a41578092505050612b91565b5b600115612b5c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b57578092505050612b91565b612a42565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c82612335565b8786866040518563ffffffff1660e01b8152600401612ca49493929190614876565b602060405180830381600087803b158015612cbe57600080fd5b505af1925050508015612cef57506040513d601f19601f82011682018060405250810190612cec91906148d7565b60015b612d69573d8060008114612d1f576040519150601f19603f3d011682016040523d82523d6000602084013e612d24565b606091505b50600081511415612d61576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060108054612dcb90613ec2565b80601f0160208091040260200160405190810160405280929190818152602001828054612df790613ec2565b8015612e445780601f10612e1957610100808354040283529160200191612e44565b820191906000526020600020905b815481529060010190602001808311612e2757829003601f168201915b5050505050905090565b60606000821415612e96576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612faa565b600082905060005b60008214612ec8578080612eb190614904565b915050600a82612ec19190614342565b9150612e9e565b60008167ffffffffffffffff811115612ee457612ee361396c565b5b6040519080825280601f01601f191660200182016040528015612f165781602001600182028036833780820191505090505b5090505b60008514612fa357600182612f2f919061494d565b9150600a85612f3e9190614981565b6030612f4a9190614067565b60f81b818381518110612f6057612f5f6149b2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f9c9190614342565b9450612f1a565b8093505050505b919050565b600082612fbc8584612fe4565b1490509392505050565b50505050565b50505050565b612fdf8383836001613059565b505050565b60008082905060005b845181101561304e57600085828151811061300b5761300a6149b2565b5b6020026020010151905080831161302d576130268382613427565b925061303a565b6130378184613427565b92505b50808061304690614904565b915050612fed565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156130c6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613101576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61310e6000868387612fc6565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156132d857506132d78773ffffffffffffffffffffffffffffffffffffffff1661225a565b5b1561339e575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461334d6000888480600101955088612c5c565b613383576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156132de57826000541461339957600080fd5b61340a565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561339f575b8160008190555050506134206000868387612fcc565b5050505050565b600082600052816020526040600020905092915050565b82805461344a90613ec2565b90600052602060002090601f01602090048101928261346c57600085556134b3565b82601f1061348557805160ff19168380011785556134b3565b828001600101855582156134b3579182015b828111156134b2578251825591602001919060010190613497565b5b5090506134c09190613507565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613520576000816000905550600101613508565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61356d81613538565b811461357857600080fd5b50565b60008135905061358a81613564565b92915050565b6000602082840312156135a6576135a561352e565b5b60006135b48482850161357b565b91505092915050565b60008115159050919050565b6135d2816135bd565b82525050565b60006020820190506135ed60008301846135c9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561362d578082015181840152602081019050613612565b8381111561363c576000848401525b50505050565b6000601f19601f8301169050919050565b600061365e826135f3565b61366881856135fe565b935061367881856020860161360f565b61368181613642565b840191505092915050565b600060208201905081810360008301526136a68184613653565b905092915050565b6000819050919050565b6136c1816136ae565b81146136cc57600080fd5b50565b6000813590506136de816136b8565b92915050565b6000602082840312156136fa576136f961352e565b5b6000613708848285016136cf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061373c82613711565b9050919050565b61374c81613731565b82525050565b60006020820190506137676000830184613743565b92915050565b61377681613731565b811461378157600080fd5b50565b6000813590506137938161376d565b92915050565b600080604083850312156137b0576137af61352e565b5b60006137be85828601613784565b92505060206137cf858286016136cf565b9150509250929050565b6137e2816136ae565b82525050565b60006020820190506137fd60008301846137d9565b92915050565b6000602082840312156138195761381861352e565b5b600061382784828501613784565b91505092915050565b6000806000606084860312156138495761384861352e565b5b600061385786828701613784565b935050602061386886828701613784565b9250506040613879868287016136cf565b9150509250925092565b6000819050919050565b61389681613883565b82525050565b60006020820190506138b1600083018461388d565b92915050565b6138c081613883565b81146138cb57600080fd5b50565b6000813590506138dd816138b7565b92915050565b6000602082840312156138f9576138f861352e565b5b6000613907848285016138ce565b91505092915050565b6003811061391d57600080fd5b50565b60008135905061392f81613910565b92915050565b60006020828403121561394b5761394a61352e565b5b600061395984828501613920565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139a482613642565b810181811067ffffffffffffffff821117156139c3576139c261396c565b5b80604052505050565b60006139d6613524565b90506139e2828261399b565b919050565b600067ffffffffffffffff821115613a0257613a0161396c565b5b613a0b82613642565b9050602081019050919050565b82818337600083830152505050565b6000613a3a613a35846139e7565b6139cc565b905082815260208101848484011115613a5657613a55613967565b5b613a61848285613a18565b509392505050565b600082601f830112613a7e57613a7d613962565b5b8135613a8e848260208601613a27565b91505092915050565b60008060408385031215613aae57613aad61352e565b5b6000613abc858286016136cf565b925050602083013567ffffffffffffffff811115613add57613adc613533565b5b613ae985828601613a69565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613b3357613b32613af3565b5b50565b6000819050613b4482613b22565b919050565b6000613b5482613b36565b9050919050565b613b6481613b49565b82525050565b6000602082019050613b7f6000830184613b5b565b92915050565b6000613b9082613731565b9050919050565b613ba081613b85565b8114613bab57600080fd5b50565b600081359050613bbd81613b97565b92915050565b60008060408385031215613bda57613bd961352e565b5b6000613be885828601613bae565b9250506020613bf9858286016136cf565b9150509250929050565b613c0c816135bd565b8114613c1757600080fd5b50565b600081359050613c2981613c03565b92915050565b60008060408385031215613c4657613c4561352e565b5b6000613c5485828601613784565b9250506020613c6585828601613c1a565b9150509250929050565b600067ffffffffffffffff821115613c8a57613c8961396c565b5b613c9382613642565b9050602081019050919050565b6000613cb3613cae84613c6f565b6139cc565b905082815260208101848484011115613ccf57613cce613967565b5b613cda848285613a18565b509392505050565b600082601f830112613cf757613cf6613962565b5b8135613d07848260208601613ca0565b91505092915050565b60008060008060808587031215613d2a57613d2961352e565b5b6000613d3887828801613784565b9450506020613d4987828801613784565b9350506040613d5a878288016136cf565b925050606085013567ffffffffffffffff811115613d7b57613d7a613533565b5b613d8787828801613ce2565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613db357613db2613962565b5b8235905067ffffffffffffffff811115613dd057613dcf613d93565b5b602083019150836020820283011115613dec57613deb613d98565b5b9250929050565b600080600060408486031215613e0c57613e0b61352e565b5b6000613e1a868287016136cf565b935050602084013567ffffffffffffffff811115613e3b57613e3a613533565b5b613e4786828701613d9d565b92509250509250925092565b60008060408385031215613e6a57613e6961352e565b5b6000613e7885828601613784565b9250506020613e8985828601613784565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613eda57607f821691505b60208210811415613eee57613eed613e93565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613f2a601e836135fe565b9150613f3582613ef4565b602082019050919050565b60006020820190508181036000830152613f5981613f1d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613f96601f836135fe565b9150613fa182613f60565b602082019050919050565b60006020820190508181036000830152613fc581613f89565b9050919050565b7f5075626c6963206d696e74206973206e6f742061637469766500000000000000600082015250565b60006140026019836135fe565b915061400d82613fcc565b602082019050919050565b6000602082019050818103600083015261403181613ff5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614072826136ae565b915061407d836136ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140b2576140b1614038565b5b828201905092915050565b7f526571756573746564204d696e7420416d6f756e742045786365656473204c6960008201527f6d6974205065722057616c6c6574000000000000000000000000000000000000602082015250565b6000614119602e836135fe565b9150614124826140bd565b604082019050919050565b600060208201905081810360008301526141488161410c565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620546f6b656e7300000000000000000000000000000000000000000000602082015250565b60006141ab602a836135fe565b91506141b68261414f565b604082019050919050565b600060208201905081810360008301526141da8161419e565b9050919050565b60006141ec826136ae565b91506141f7836136ae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142305761422f614038565b5b828202905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006142716012836135fe565b915061427c8261423b565b602082019050919050565b600060208201905081810360008301526142a081614264565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142dd6020836135fe565b91506142e8826142a7565b602082019050919050565b6000602082019050818103600083015261430c816142d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061434d826136ae565b9150614358836136ae565b92508261436857614367614313565b5b828204905092915050565b600081905092915050565b50565b600061438e600083614373565b91506143998261437e565b600082019050919050565b60006143af82614381565b9150819050919050565b7f5472616e73616374696f6e20556e7375636365737366756c0000000000000000600082015250565b60006143ef6018836135fe565b91506143fa826143b9565b602082019050919050565b6000602082019050818103600083015261441e816143e2565b9050919050565b600060608201905061443a6000830186613743565b6144476020830185613743565b61445460408301846137d9565b949350505050565b60008151905061446b81613c03565b92915050565b6000602082840312156144875761448661352e565b5b60006144958482850161445c565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006144fa602f836135fe565b91506145058261449e565b604082019050919050565b60006020820190508181036000830152614529816144ed565b9050919050565b600081905092915050565b6000614546826135f3565b6145508185614530565b935061456081856020860161360f565b80840191505092915050565b6000614578828561453b565b9150614584828461453b565b91508190509392505050565b7f46726565206d696e74206973206e6f7420616374697665000000000000000000600082015250565b60006145c66017836135fe565b91506145d182614590565b602082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b7f43616e206f6e6c79206d696e74206f6e636520647572696e672066726565206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b60006146586023836135fe565b9150614663826145fc565b604082019050919050565b600060208201905081810360008301526146878161464b565b9050919050565b60008160601b9050919050565b60006146a68261468e565b9050919050565b60006146b88261469b565b9050919050565b6146d06146cb82613731565b6146ad565b82525050565b6000819050919050565b6146f16146ec826136ae565b6146d6565b82525050565b600061470382856146bf565b60148201915061471382846146e0565b6020820191508190509392505050565b7f496e76616c6964204d65726b6c6550726f6f6600000000000000000000000000600082015250565b60006147596013836135fe565b915061476482614723565b602082019050919050565b600060208201905081810360008301526147888161474c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147eb6026836135fe565b91506147f68261478f565b604082019050919050565b6000602082019050818103600083015261481a816147de565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061484882614821565b614852818561482c565b935061486281856020860161360f565b61486b81613642565b840191505092915050565b600060808201905061488b6000830187613743565b6148986020830186613743565b6148a560408301856137d9565b81810360608301526148b7818461483d565b905095945050505050565b6000815190506148d181613564565b92915050565b6000602082840312156148ed576148ec61352e565b5b60006148fb848285016148c2565b91505092915050565b600061490f826136ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561494257614941614038565b5b600182019050919050565b6000614958826136ae565b9150614963836136ae565b92508282101561497657614975614038565b5b828203905092915050565b600061498c826136ae565b9150614997836136ae565b9250826149a7576149a6614313565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212202365d8a1d9fcf23e16ec34cb3e3a0da4a973d409b7d22714fb32e0b2658b3c3664736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
db71485d2a130b6ea286b939a7d7dba56368a72e6a53111150648730c3b84910
-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0xdb71485d2a130b6ea286b939a7d7dba56368a72e6a53111150648730c3b84910
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : db71485d2a130b6ea286b939a7d7dba56368a72e6a53111150648730c3b84910
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.