ETH Price: $3,273.89 (+0.70%)
Gas: 2 Gwei

Contract

0x46f1c444a9b10173c52ee7351eBa1e49C8bC5851
 

Overview

ETH Balance

5.84 ETH

Eth Value

$19,119.53 (@ $3,273.89/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...197395972024-04-26 12:41:3591 days ago1714135295IN
0x46f1c444...9C8bC5851
0 ETH0.000428639.1944973
Set Approval For...196910262024-04-19 17:39:4798 days ago1713548387IN
0x46f1c444...9C8bC5851
0 ETH0.000512811
Set Approval For...188562622023-12-24 14:37:11215 days ago1703428631IN
0x46f1c444...9C8bC5851
0 ETH0.0011150323.88117613
Set Approval For...188340202023-12-21 11:44:11218 days ago1703159051IN
0x46f1c444...9C8bC5851
0 ETH0.0015272632.76064086
Safe Transfer Fr...181023472023-09-10 0:17:23321 days ago1694305043IN
0x46f1c444...9C8bC5851
0 ETH0.000610299.05645739
Set Approval For...176175302023-07-04 2:15:11389 days ago1688436911IN
0x46f1c444...9C8bC5851
0 ETH0.0005827412.50022966
Mint Tokens174878442023-06-15 21:07:35407 days ago1686863255IN
0x46f1c444...9C8bC5851
0.4 ETH0.0080216920.57377993
Set Sale Active174878242023-06-15 21:03:35407 days ago1686863015IN
0x46f1c444...9C8bC5851
0 ETH0.0006225725.72614192
Mint Tokens174740032023-06-13 22:20:23409 days ago1686694823IN
0x46f1c444...9C8bC5851
0.08 ETH0.0029884722.92180356
Mint Tokens172518412023-05-13 15:08:35440 days ago1683990515IN
0x46f1c444...9C8bC5851
0.4 ETH0.0156607439.73143841
Mint Tokens172518142023-05-13 15:03:11440 days ago1683990191IN
0x46f1c444...9C8bC5851
0.4 ETH0.0200538750.87685263
Mint Tokens172518052023-05-13 15:01:23440 days ago1683990083IN
0x46f1c444...9C8bC5851
0.4 ETH0.017628742.86458668
Set Approval For...170573512023-04-16 5:18:47468 days ago1681622327IN
0x46f1c444...9C8bC5851
0 ETH0.0010475122.46979274
Safe Transfer Fr...170520582023-04-15 11:16:47468 days ago1681557407IN
0x46f1c444...9C8bC5851
0 ETH0.0013977822.33313394
Mint Tokens168872492023-03-23 2:21:23492 days ago1679538083IN
0x46f1c444...9C8bC5851
0.08 ETH0.001433810.99736176
Safe Transfer Fr...168849972023-03-22 18:45:59492 days ago1679510759IN
0x46f1c444...9C8bC5851
0 ETH0.0020456930.35702489
Mint Tokens168849782023-03-22 18:42:11492 days ago1679510531IN
0x46f1c444...9C8bC5851
0.08 ETH0.0044120240.47320911
Mint Tokens168079582023-03-11 22:59:59503 days ago1678575599IN
0x46f1c444...9C8bC5851
0.08 ETH0.0025668422.65993159
Mint Tokens167713842023-03-06 19:27:59508 days ago1678130879IN
0x46f1c444...9C8bC5851
0.16 ETH0.0063907834.82734984
Mint Tokens167559302023-03-04 15:20:35510 days ago1677943235IN
0x46f1c444...9C8bC5851
0.08 ETH0.0036289727.83445348
Mint Tokens165595922023-02-05 2:27:35538 days ago1675564055IN
0x46f1c444...9C8bC5851
0.08 ETH0.0023981718.39416312
Mint Tokens163575042023-01-07 21:10:35566 days ago1673125835IN
0x46f1c444...9C8bC5851
0.08 ETH0.0025000119.17525246
Mint Tokens163218192023-01-02 21:37:11571 days ago1672695431IN
0x46f1c444...9C8bC5851
0.08 ETH0.0024033318.43376534
Mint Tokens161852122022-12-14 20:06:11590 days ago1671048371IN
0x46f1c444...9C8bC5851
0.08 ETH0.0032421428.62135862
Mint Tokens161421922022-12-08 19:50:59596 days ago1670529059IN
0x46f1c444...9C8bC5851
0.08 ETH0.0021433316.43951952
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
142452662022-02-20 21:03:33887 days ago1645391013
0x46f1c444...9C8bC5851
13.92 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GenerativeArtNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : GenerativeArtNFT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "base64-sol/base64.sol";
import "./Freezable.sol";

/* @title GenerativeArtNFT
 * @author minimizer <[email protected]>; https://www.minimizer.art/
 * 
 * Generic smart contract intended to allow for high-quality implementations of a generative art NFT.
 * 
 * Key features:
 *  - Contract initializes with a pre-determined fixed supply and number of tokens to pre-mint.
 *  - Owner can set the price, max tokens to mint at once and whether the sale is active.
 *  - Generates a unique hash for each mint, which the art can use to source entropy. This hash is 
 *    based on the contract address, token id as well as the minter's address and block number.
 *  - The artwork's code can be saved on the contract. It can also be retrieved with the token id and  
 *    hash prepended. This assumes JavaScript as the language used for the art.
 *  - Owner can set token URI for both Web2, IPFS, and Arweave. Each can be read, allowing for owner to 
 *    persist the art in multiple locations. Owner can also decide which URI to use for the tokenURI()
 *    standard interface.
 *  - Owner can freeze contract, after which they can no longer change the artwork or URIs.
 */
contract GenerativeArtNFT is ERC721, Ownable, Freezable {
    
    using SafeMath for uint;
    using Strings for uint;
    using Strings for bytes;
    
    mapping (uint => uint) public tokenCreationBlockNumbers;
    mapping (uint => address) public tokenCreationAddresses;
    
    enum UriType { WEB2, IPFS, ARWEAVE } //WEB2=0, IPFS=1, ARWEAVE=2
    mapping (UriType => string) public baseURIs;
    UriType public activeBaseURI;
    
    string public renderingCode;
    uint public totalSupply;
    uint public maxSupply;
    uint public maxMintAtOnce;
    uint public price;
    bool public isSaleActive;
    

    constructor(string memory name_, string memory symbol_, string memory baseURI_, uint maxSupply_, 
                uint maxMintAtOnce_, uint numberToPremint_, uint initialPrice_) 
    ERC721(name_, symbol_) {
        setBaseURI(UriType.WEB2, baseURI_);
        setActiveBaseURI(UriType.WEB2);
        totalSupply = 0;
        maxSupply = maxSupply_;
        maxMintAtOnce = maxMintAtOnce_;
        isSaleActive = false;
        price = 0;
        
        mintTokens(numberToPremint_);
        price = initialPrice_;
    }
    
    // Provide the hash of the token id. This runs the keccak256 hashing algorithm over contract
    // address, block number of mint, address of minter, and token id to produce a unique value.
    function tokenHash(uint tokenId_) public view onlyValidTokenId(tokenId_) returns(bytes32) {
        return bytes32(keccak256(abi.encodePacked(address(this), 
                                                  tokenCreationBlockNumbers[tokenId_], 
                                                  tokenCreationAddresses[tokenId_], 
                                                  tokenId_)));
    }
    
    // Mint the specified number of tokens to the caller. Sale must be active, and number of tokens 
    // must be less than max mint at once as well as remaining supply. Exact payment required.
    // Owner can mint more than the max mint at once and while the sale is not active.
    // Onwer (or anyone else) cannot exceed max supply.
    function mintTokens(uint numTokens_) public payable {
        require(msg.sender == owner() || numTokens_ > 0, "Did not specify one or more to mint.");
        require(msg.sender == owner() || numTokens_ <= maxMintAtOnce, "Tried to mint more than allowed.");
        require(msg.sender == owner() || isSaleActive, "Sale is not active.");
        
        require(totalSupply + numTokens_ <= maxSupply, "Cannot mint more than remaining supply.");
        require(msg.value == numTokens_.mul(price), "Incorrect amount provided for minting.");
        
        for(uint i = 0; i < numTokens_; i++) {
            uint tokenId = totalSupply;
            _mint(msg.sender, tokenId);
            tokenCreationBlockNumbers[tokenId] = block.number;
            tokenCreationAddresses[tokenId] = msg.sender;
            totalSupply = totalSupply + 1;
        }
    }
    
    // Convenience method, allowing access to all tokens of a given address.
    function tokensOfOwner(address _owner) external view returns(uint[] memory ) {
        uint tokenCount = balanceOf(_owner);
        uint[] memory result = new uint[](tokenCount);
        uint index = 0;
        for (uint i = 0; i < totalSupply; i++) {
            if(ownerOf(i) == _owner) {
                result[index] = i;
                index += 1;
            }
        }
        return result;
    }
    
    // Owner can set how many tokens can be minted at once. Only relevant when supply remains.
    function setMaxMintAtOnce(uint maxMintAtOnce_) public onlyOwner {
        maxMintAtOnce = maxMintAtOnce_;
    }
    
    // Owner can activate the sale. Only relevant when supply remains.
    function setSaleActive(bool isSaleActive_) public onlyOwner {
        isSaleActive = isSaleActive_;
    }
    
    // Owner can set the price of future mints.
    function setPrice(uint price_) public onlyOwner {
        price = price_;
    }
    
    // Owner can store rendering code (in javascript) which will be persisted forever to re-produce the art
    // Once contract is frozen this can no longer be changed.
    function setRenderingCode(string memory renderingCode_) public onlyOwner onlyWhenNotFrozen {
        renderingCode = renderingCode_;
    }
    
    // Owner can set the base URI for Web2, IPFS, or Arweave. All will be saved separately.
    // Once contract is frozen this can no longer be changed.
    function setBaseURI(UriType uriType_, string memory baseURI_) public onlyOwner onlyWhenNotFrozen { 
        baseURIs[uriType_] = baseURI_;
    }
    
    // Owner can set which URI (Web2, IPFS, or Arweave) will be used for tokenURI(), used by others to retrieve 
    // the metadata of the token.
    // Once contract is frozen this can no longer be changed.
    function setActiveBaseURI(UriType uriType_) public onlyOwner onlyWhenNotFrozen { 
        activeBaseURI = uriType_;
    }
    
    // Owner can transfer accumulated funds to themselves..
    function withdrawAll() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
    
    // Owner can freeze the contract, meaning specified fields can no longer be changed by the owner.
    function freeze(string memory confirmation_) public onlyOwner {
        require(keccak256(bytes(confirmation_)) == keccak256(bytes("confirmed to freeze")), 'Invalid confirmation provided for freezing');
        _freeze();
    }
    
    
    // Retreive the rendering code in plain text, for a given token, by combining the token id 
    // and hash with the rendering code. This assumes the language is javascript.
    function renderingCodeForToken(uint tokenId_) public view virtual onlyValidTokenId(tokenId_) returns (string memory) {
        return bytes(renderingCode).length > 0 ? string(abi.encodePacked(bytes("const tokenData={tokenId:"), 
                                                                         bytes(tokenId_.toString()),
                                                                         bytes(",hash:'"),
                                                                         uint(tokenHash(tokenId_)).toHexString(),
                                                                         bytes("'};"),
                                                                         bytes(renderingCode))) : "";
    }
    
    // Similar to the above plain-text version, this retrieves the rendering code in Base64 encoding. This is 
    // useful in cases where the encoding is required or helpful for transmission.
    function renderingCodeForTokenInBase64(uint tokenId_) public view virtual returns (string memory) {
        return Base64.encode(bytes(renderingCodeForToken(tokenId_)));
    }
    
    // Retrieve the web2 token URI if available.
    function web2TokenURI(uint256 tokenId_) public view virtual returns (string memory) {
        return _tokenURI(UriType.WEB2, tokenId_);
    }

    // Retrieve the ipfs token URI if available.
    function ipfsTokenURI(uint256 tokenId_) public view virtual returns (string memory) {
        return _tokenURI(UriType.IPFS, tokenId_);
    }

    // Retrieve the arweave token URI if available.
    function arweaveTokenURI(uint256 tokenId_) public view virtual returns (string memory) {
        return _tokenURI(UriType.ARWEAVE, tokenId_);
    }
    
    // Retrieve the URI which provides the metadata for this token. This is the standard ERC-721 interface
    function tokenURI(uint256 tokenId_) public view virtual override returns (string memory) {
        return _tokenURI(activeBaseURI, tokenId_);
    }





    
    function _tokenURI(UriType uriType_, uint tokenId_) internal view virtual onlyValidTokenId(tokenId_) returns (string memory) {
        return bytes(baseURIs[uriType_]).length > 0 ? string(abi.encodePacked(baseURIs[uriType_], tokenId_.toString())) : "";
    }
    
    modifier onlyValidTokenId(uint tokenId_) {
        require(tokenId_ < totalSupply, "Invalid token id.");
        _;
    }
}

File 2 of 14 : Freezable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/* @title Freezable
 * @author minimizer <[email protected]>; https://www.minimizer.art/
 * 
 * Generic interface that provides a modifier allowing "freezing"
 * 
 * Implementors of this contract will need to call _freeze() when appropriate, after which 
 * any methods using the modifier onlyWhenNotFrozen are no longer accessible
 */
contract Freezable {
    
    bool public frozen = false;
    
    modifier onlyWhenNotFrozen() {
        require(frozen == false, "Freezable: Cannot perform operation once contract is frozen.");
        _;
    }
    
    function _freeze() internal {
        frozen = true;
    }
}

File 3 of 14 : base64.sol
// SPDX-License-Identifier: MIT

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides a function for encoding some bytes in base64
library Base64 {
    string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';
        
        // load the table into memory
        string memory table = TABLE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)
            
            // prepare the lookup table
            let tablePtr := add(table, 1)
            
            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))
            
            // result ptr, jump over length
            let resultPtr := add(result, 32)
            
            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(        input,  0x3F)))))
               resultPtr := add(resultPtr, 1)
            }
            
            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }
        
        return result;
    }
}

File 4 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

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);
}

File 6 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

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;
    }
}

File 7 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

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);
    }
}

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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;
    }
}

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
            }
        }
    }
}

File 10 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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);
}

File 11 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

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`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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 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);

    /**
     * @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;
}

File 13 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 14 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"maxMintAtOnce_","type":"uint256"},{"internalType":"uint256","name":"numberToPremint_","type":"uint256"},{"internalType":"uint256","name":"initialPrice_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"activeBaseURI","outputs":[{"internalType":"enum GenerativeArtNFT.UriType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"arweaveTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum GenerativeArtNFT.UriType","name":"","type":"uint8"}],"name":"baseURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"confirmation_","type":"string"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozen","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":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"ipfsTokenURI","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":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAtOnce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens_","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderingCode","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"renderingCodeForToken","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"renderingCodeForTokenInBase64","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum GenerativeArtNFT.UriType","name":"uriType_","type":"uint8"}],"name":"setActiveBaseURI","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":"enum GenerativeArtNFT.UriType","name":"uriType_","type":"uint8"},{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintAtOnce_","type":"uint256"}],"name":"setMaxMintAtOnce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"renderingCode_","type":"string"}],"name":"setRenderingCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isSaleActive_","type":"bool"}],"name":"setSaleActive","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":"","type":"uint256"}],"name":"tokenCreationAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenCreationBlockNumbers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","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":"uint256","name":"tokenId_","type":"uint256"}],"name":"web2TokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600660146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200649238038062006492833981810160405281019062000052919062000c9c565b868681600090805190602001906200006c92919062000a14565b5080600190805190602001906200008592919062000a14565b505050620000a86200009c6200012b60201b60201c565b6200013360201b60201c565b620000bb600086620001f960201b60201c565b620000cd60006200033960201b60201c565b6000600c8190555083600d8190555082600e819055506000601060006101000a81548160ff0219169083151502179055506000600f8190555062000117826200045160201b60201c565b80600f819055505050505050505062001426565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002096200012b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200022f6200077b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000288576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027f9062000e0d565b60405180910390fd5b60001515600660149054906101000a900460ff16151514620002e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d89062000ea5565b60405180910390fd5b8060096000846002811115620002fc57620002fb62000ec7565b5b600281111562000311576200031062000ec7565b5b815260200190815260200160002090805190602001906200033492919062000a14565b505050565b620003496200012b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200036f6200077b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003c8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003bf9062000e0d565b60405180910390fd5b60001515600660149054906101000a900460ff1615151462000421576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004189062000ea5565b60405180910390fd5b80600a60006101000a81548160ff0219169083600281111562000449576200044862000ec7565b5b021790555050565b620004616200077b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806200049b5750600081115b620004dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d49062000f6c565b60405180910390fd5b620004ed6200077b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480620005295750600e548111155b6200056b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005629062000fde565b60405180910390fd5b6200057b6200077b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480620005c15750601060009054906101000a900460ff165b62000603576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005fa9062001050565b60405180910390fd5b600d5481600c54620006169190620010a1565b11156200065a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006519062001174565b60405180910390fd5b62000676600f5482620007a560201b620022dc1790919060201c565b3414620006ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b1906200120c565b60405180910390fd5b60005b8181101562000777576000600c549050620006df3382620007bd60201b60201c565b436007600083815260200190815260200160002081905550336008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c546200075a9190620010a1565b600c819055505080806200076e906200122e565b915050620006bd565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008183620007b591906200127c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000827906200132d565b60405180910390fd5b6200084181620009a360201b60201c565b1562000884576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200087b906200139f565b60405180910390fd5b620008986000838362000a0f60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620008ea9190620010a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b82805462000a2290620013f0565b90600052602060002090601f01602090048101928262000a46576000855562000a92565b82601f1062000a6157805160ff191683800117855562000a92565b8280016001018555821562000a92579182015b8281111562000a9157825182559160200191906001019062000a74565b5b50905062000aa1919062000aa5565b5090565b5b8082111562000ac057600081600090555060010162000aa6565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000b2d8262000ae2565b810181811067ffffffffffffffff8211171562000b4f5762000b4e62000af3565b5b80604052505050565b600062000b6462000ac4565b905062000b72828262000b22565b919050565b600067ffffffffffffffff82111562000b955762000b9462000af3565b5b62000ba08262000ae2565b9050602081019050919050565b60005b8381101562000bcd57808201518184015260208101905062000bb0565b8381111562000bdd576000848401525b50505050565b600062000bfa62000bf48462000b77565b62000b58565b90508281526020810184848401111562000c195762000c1862000add565b5b62000c2684828562000bad565b509392505050565b600082601f83011262000c465762000c4562000ad8565b5b815162000c5884826020860162000be3565b91505092915050565b6000819050919050565b62000c768162000c61565b811462000c8257600080fd5b50565b60008151905062000c968162000c6b565b92915050565b600080600080600080600060e0888a03121562000cbe5762000cbd62000ace565b5b600088015167ffffffffffffffff81111562000cdf5762000cde62000ad3565b5b62000ced8a828b0162000c2e565b975050602088015167ffffffffffffffff81111562000d115762000d1062000ad3565b5b62000d1f8a828b0162000c2e565b965050604088015167ffffffffffffffff81111562000d435762000d4262000ad3565b5b62000d518a828b0162000c2e565b955050606062000d648a828b0162000c85565b945050608062000d778a828b0162000c85565b93505060a062000d8a8a828b0162000c85565b92505060c062000d9d8a828b0162000c85565b91505092959891949750929550565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000df560208362000dac565b915062000e028262000dbd565b602082019050919050565b6000602082019050818103600083015262000e288162000de6565b9050919050565b7f467265657a61626c653a2043616e6e6f7420706572666f726d206f706572617460008201527f696f6e206f6e636520636f6e74726163742069732066726f7a656e2e00000000602082015250565b600062000e8d603c8362000dac565b915062000e9a8262000e2f565b604082019050919050565b6000602082019050818103600083015262000ec08162000e7e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f446964206e6f742073706563696679206f6e65206f72206d6f726520746f206d60008201527f696e742e00000000000000000000000000000000000000000000000000000000602082015250565b600062000f5460248362000dac565b915062000f618262000ef6565b604082019050919050565b6000602082019050818103600083015262000f878162000f45565b9050919050565b7f547269656420746f206d696e74206d6f7265207468616e20616c6c6f7765642e600082015250565b600062000fc660208362000dac565b915062000fd38262000f8e565b602082019050919050565b6000602082019050818103600083015262000ff98162000fb7565b9050919050565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b60006200103860138362000dac565b9150620010458262001000565b602082019050919050565b600060208201905081810360008301526200106b8162001029565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620010ae8262000c61565b9150620010bb8362000c61565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620010f357620010f262001072565b5b828201905092915050565b7f43616e6e6f74206d696e74206d6f7265207468616e2072656d61696e696e672060008201527f737570706c792e00000000000000000000000000000000000000000000000000602082015250565b60006200115c60278362000dac565b91506200116982620010fe565b604082019050919050565b600060208201905081810360008301526200118f816200114d565b9050919050565b7f496e636f727265637420616d6f756e742070726f766964656420666f72206d6960008201527f6e74696e672e0000000000000000000000000000000000000000000000000000602082015250565b6000620011f460268362000dac565b9150620012018262001196565b604082019050919050565b600060208201905081810360008301526200122781620011e5565b9050919050565b60006200123b8262000c61565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001271576200127062001072565b5b600182019050919050565b6000620012898262000c61565b9150620012968362000c61565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620012d257620012d162001072565b5b828202905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006200131560208362000dac565b91506200132282620012dd565b602082019050919050565b60006020820190508181036000830152620013488162001306565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062001387601c8362000dac565b915062001394826200134f565b602082019050919050565b60006020820190508181036000830152620013ba8162001378565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200140957607f821691505b6020821081141562001420576200141f620013c1565b5b50919050565b61505c80620014366000396000f3fe60806040526004361061025c5760003560e01c806391b7f5ed11610144578063be7174f8116100b6578063d5abeb011161007a578063d5abeb0114610947578063e01d716f14610972578063e6a86fb0146109af578063e985e9c5146109d8578063f2fde38b14610a15578063fd65528514610a3e5761025c565b8063be7174f814610828578063c10b9edd14610853578063c87b56dd14610890578063ce9bc9e1146108cd578063d3e470151461090a5761025c565b8063a22cb46511610108578063a22cb4651461071c578063a386439714610745578063a6ec699514610782578063aebf5c14146107ad578063b88d4fde146107d6578063bdc9cacd146107ff5761025c565b806391b7f5ed1461064457806395d89b411461066d57806397304ced1461069857806399fb2fed146106b4578063a035b1fe146106f15761025c565b806342842e0e116101dd578063715018a6116101a1578063715018a614610548578063797163ab1461055f578063841718a61461059c5780638462151c146105c5578063853828b6146106025780638da5cb5b146106195761025c565b806342842e0e1461045157806351e2acc31461047a578063564566a8146104a35780636352211e146104ce57806370a082311461050b5761025c565b806310b13a991161022457806310b13a991461035a57806318160ddd146103975780631e1021ec146103c257806323b872dd146103eb5780633e4cc732146104145761025c565b806301ffc9a714610261578063054f7d9c1461029e57806306fdde03146102c9578063081812fc146102f4578063095ea7b314610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613447565b610a69565b604051610295919061348f565b60405180910390f35b3480156102aa57600080fd5b506102b3610b4b565b6040516102c0919061348f565b60405180910390f35b3480156102d557600080fd5b506102de610b5e565b6040516102eb9190613543565b60405180910390f35b34801561030057600080fd5b5061031b6004803603810190610316919061359b565b610bf0565b6040516103289190613609565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613650565b610c75565b005b34801561036657600080fd5b50610381600480360381019061037c919061359b565b610d8d565b60405161038e9190613609565b60405180910390f35b3480156103a357600080fd5b506103ac610dc0565b6040516103b9919061369f565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e491906137ef565b610dc6565b005b3480156103f757600080fd5b50610412600480360381019061040d9190613838565b610eb2565b005b34801561042057600080fd5b5061043b600480360381019061043691906138b0565b610f12565b6040516104489190613543565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190613838565b610fb2565b005b34801561048657600080fd5b506104a1600480360381019061049c919061359b565b610fd2565b005b3480156104af57600080fd5b506104b8611058565b6040516104c5919061348f565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f0919061359b565b61106b565b6040516105029190613609565b60405180910390f35b34801561051757600080fd5b50610532600480360381019061052d91906138dd565b61111d565b60405161053f919061369f565b60405180910390f35b34801561055457600080fd5b5061055d6111d5565b005b34801561056b57600080fd5b506105866004803603810190610581919061359b565b61125d565b604051610593919061369f565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be9190613936565b611275565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906138dd565b61130e565b6040516105f99190613a21565b60405180910390f35b34801561060e57600080fd5b50610617611403565b005b34801561062557600080fd5b5061062e6114c8565b60405161063b9190613609565b60405180910390f35b34801561065057600080fd5b5061066b6004803603810190610666919061359b565b6114f2565b005b34801561067957600080fd5b50610682611578565b60405161068f9190613543565b60405180910390f35b6106b260048036038101906106ad919061359b565b61160a565b005b3480156106c057600080fd5b506106db60048036038101906106d6919061359b565b6118f3565b6040516106e89190613543565b60405180910390f35b3480156106fd57600080fd5b50610706611907565b604051610713919061369f565b60405180910390f35b34801561072857600080fd5b50610743600480360381019061073e9190613a43565b61190d565b005b34801561075157600080fd5b5061076c6004803603810190610767919061359b565b611a8e565b6040516107799190613a9c565b60405180910390f35b34801561078e57600080fd5b50610797611b50565b6040516107a49190613543565b60405180910390f35b3480156107b957600080fd5b506107d460048036038101906107cf91906138b0565b611bde565b005b3480156107e257600080fd5b506107fd60048036038101906107f89190613b58565b611cdd565b005b34801561080b57600080fd5b5061082660048036038101906108219190613bdb565b611d3f565b005b34801561083457600080fd5b5061083d611e61565b60405161084a9190613cae565b60405180910390f35b34801561085f57600080fd5b5061087a6004803603810190610875919061359b565b611e74565b6040516108879190613543565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b2919061359b565b611e88565b6040516108c49190613543565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef919061359b565b611eaa565b6040516109019190613543565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c919061359b565b611ec4565b60405161093e9190613543565b60405180910390f35b34801561095357600080fd5b5061095c612024565b604051610969919061369f565b60405180910390f35b34801561097e57600080fd5b506109996004803603810190610994919061359b565b61202a565b6040516109a69190613543565b60405180910390f35b3480156109bb57600080fd5b506109d660048036038101906109d191906137ef565b61203e565b005b3480156109e457600080fd5b506109ff60048036038101906109fa9190613cc9565b61214a565b604051610a0c919061348f565b60405180910390f35b348015610a2157600080fd5b50610a3c6004803603810190610a3791906138dd565b6121de565b005b348015610a4a57600080fd5b50610a536122d6565b604051610a60919061369f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b3457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b445750610b43826122f2565b5b9050919050565b600660149054906101000a900460ff1681565b606060008054610b6d90613d38565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9990613d38565b8015610be65780601f10610bbb57610100808354040283529160200191610be6565b820191906000526020600020905b815481529060010190602001808311610bc957829003601f168201915b5050505050905090565b6000610bfb8261235c565b610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3190613ddc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c808261106b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce890613e6e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d106123c8565b73ffffffffffffffffffffffffffffffffffffffff161480610d3f5750610d3e81610d396123c8565b61214a565b5b610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590613f00565b60405180910390fd5b610d8883836123d0565b505050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b610dce6123c8565b73ffffffffffffffffffffffffffffffffffffffff16610dec6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990613f6c565b60405180910390fd5b60001515600660149054906101000a900460ff16151514610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90613ffe565b60405180910390fd5b80600b9080519060200190610eae929190613338565b5050565b610ec3610ebd6123c8565b82612489565b610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef990614090565b60405180910390fd5b610f0d838383612567565b505050565b60096020528060005260406000206000915090508054610f3190613d38565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5d90613d38565b8015610faa5780601f10610f7f57610100808354040283529160200191610faa565b820191906000526020600020905b815481529060010190602001808311610f8d57829003601f168201915b505050505081565b610fcd83838360405180602001604052806000815250611cdd565b505050565b610fda6123c8565b73ffffffffffffffffffffffffffffffffffffffff16610ff86114c8565b73ffffffffffffffffffffffffffffffffffffffff161461104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590613f6c565b60405180910390fd5b80600e8190555050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90614122565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561118e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611185906141b4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111dd6123c8565b73ffffffffffffffffffffffffffffffffffffffff166111fb6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124890613f6c565b60405180910390fd5b61125b60006127c3565b565b60076020528060005260406000206000915090505481565b61127d6123c8565b73ffffffffffffffffffffffffffffffffffffffff1661129b6114c8565b73ffffffffffffffffffffffffffffffffffffffff16146112f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e890613f6c565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6060600061131b8361111d565b905060008167ffffffffffffffff811115611339576113386136c4565b5b6040519080825280602002602001820160405280156113675781602001602082028036833780820191505090505b5090506000805b600c548110156113f7578573ffffffffffffffffffffffffffffffffffffffff166113988261106b565b73ffffffffffffffffffffffffffffffffffffffff1614156113e457808383815181106113c8576113c76141d4565b5b6020026020010181815250506001826113e19190614232565b91505b80806113ef90614288565b91505061136e565b50819350505050919050565b61140b6123c8565b73ffffffffffffffffffffffffffffffffffffffff166114296114c8565b73ffffffffffffffffffffffffffffffffffffffff161461147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690613f6c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156114c5573d6000803e3d6000fd5b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114fa6123c8565b73ffffffffffffffffffffffffffffffffffffffff166115186114c8565b73ffffffffffffffffffffffffffffffffffffffff161461156e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156590613f6c565b60405180910390fd5b80600f8190555050565b60606001805461158790613d38565b80601f01602080910402602001604051908101604052809291908181526020018280546115b390613d38565b80156116005780601f106115d557610100808354040283529160200191611600565b820191906000526020600020905b8154815290600101906020018083116115e357829003601f168201915b5050505050905090565b6116126114c8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061164b5750600081115b61168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190614343565b60405180910390fd5b6116926114c8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806116cd5750600e548111155b61170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906143af565b60405180910390fd5b6117146114c8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806117595750601060009054906101000a900460ff165b611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f9061441b565b60405180910390fd5b600d5481600c546117a99190614232565b11156117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e1906144ad565b60405180910390fd5b6117ff600f54826122dc90919063ffffffff16565b3414611840576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118379061453f565b60405180910390fd5b60005b818110156118ef576000600c54905061185c3382612889565b436007600083815260200190815260200160002081905550336008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c546118d59190614232565b600c819055505080806118e790614288565b915050611843565b5050565b6060611900600283612a57565b9050919050565b600f5481565b6119156123c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a906145ab565b60405180910390fd5b80600560006119906123c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a3d6123c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a82919061348f565b60405180910390a35050565b600081600c548110611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc90614617565b60405180910390fd5b3060076000858152602001908152602001600020546008600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685604051602001611b3294939291906146a0565b60405160208183030381529060405280519060200120915050919050565b600b8054611b5d90613d38565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8990613d38565b8015611bd65780601f10611bab57610100808354040283529160200191611bd6565b820191906000526020600020905b815481529060010190602001808311611bb957829003601f168201915b505050505081565b611be66123c8565b73ffffffffffffffffffffffffffffffffffffffff16611c046114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5190613f6c565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca790613ffe565b60405180910390fd5b80600a60006101000a81548160ff02191690836002811115611cd557611cd4613c37565b5b021790555050565b611cee611ce86123c8565b83612489565b611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490614090565b60405180910390fd5b611d3984848484612b68565b50505050565b611d476123c8565b73ffffffffffffffffffffffffffffffffffffffff16611d656114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290613f6c565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890613ffe565b60405180910390fd5b8060096000846002811115611e2957611e28613c37565b5b6002811115611e3b57611e3a613c37565b5b81526020019081526020016000209080519060200190611e5c929190613338565b505050565b600a60009054906101000a900460ff1681565b6060611e81600083612a57565b9050919050565b6060611ea3600a60009054906101000a900460ff1683612a57565b9050919050565b6060611ebd611eb883611ec4565b612bc4565b9050919050565b606081600c548110611f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0290614617565b60405180910390fd5b6000600b8054611f1a90613d38565b905011611f36576040518060200160405280600081525061201c565b6040518060400160405280601981526020017f636f6e737420746f6b656e446174613d7b746f6b656e49643a00000000000000815250611f7584612d49565b6040518060400160405280600781526020017f2c686173683a2700000000000000000000000000000000000000000000000000815250611fbf611fb787611a8e565b60001c612eaa565b6040518060400160405280600381526020017f277d3b0000000000000000000000000000000000000000000000000000000000815250600b60405160200161200c96959493929190614805565b6040516020818303038152906040525b915050919050565b600d5481565b6060612037600183612a57565b9050919050565b6120466123c8565b73ffffffffffffffffffffffffffffffffffffffff166120646114c8565b73ffffffffffffffffffffffffffffffffffffffff16146120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190613f6c565b60405180910390fd5b6040518060400160405280601381526020017f636f6e6669726d656420746f20667265657a65000000000000000000000000008152508051906020012081805190602001201461213f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612136906148cf565b60405180910390fd5b612147612f30565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121e66123c8565b73ffffffffffffffffffffffffffffffffffffffff166122046114c8565b73ffffffffffffffffffffffffffffffffffffffff161461225a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225190613f6c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c190614961565b60405180910390fd5b6122d3816127c3565b50565b600e5481565b600081836122ea9190614981565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124438361106b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124948261235c565b6124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca90614a4d565b60405180910390fd5b60006124de8361106b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061254d57508373ffffffffffffffffffffffffffffffffffffffff1661253584610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061255e575061255d818561214a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125878261106b565b73ffffffffffffffffffffffffffffffffffffffff16146125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d490614adf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561264d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264490614b71565b60405180910390fd5b612658838383612f4d565b6126636000826123d0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b39190614b91565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461270a9190614232565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f090614c11565b60405180910390fd5b6129028161235c565b15612942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293990614c7d565b60405180910390fd5b61294e60008383612f4d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299e9190614232565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b606081600c548110612a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9590614617565b60405180910390fd5b600060096000866002811115612ab757612ab6613c37565b5b6002811115612ac957612ac8613c37565b5b81526020019081526020016000208054612ae290613d38565b905011612afe5760405180602001604052806000815250612b5f565b60096000856002811115612b1557612b14613c37565b5b6002811115612b2757612b26613c37565b5b8152602001908152602001600020612b3e84612d49565b604051602001612b4f929190614d31565b6040516020818303038152906040525b91505092915050565b612b73848484612567565b612b7f84848484612f52565b612bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb590614dc7565b60405180910390fd5b50505050565b6060600082511415612be757604051806020016040528060008152509050612d44565b6000604051806060016040528060408152602001614fe76040913990506000600360028551612c169190614232565b612c209190614e16565b6004612c2c9190614981565b90506000602082612c3d9190614232565b67ffffffffffffffff811115612c5657612c556136c4565b5b6040519080825280601f01601f191660200182016040528015612c885781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612d03576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612c9c565b600389510660018114612d1d5760028114612d2d57612d38565b613d3d60f01b6002830352612d38565b603d60f81b60018303525b50505050508093505050505b919050565b60606000821415612d91576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ea5565b600082905060005b60008214612dc3578080612dac90614288565b915050600a82612dbc9190614e16565b9150612d99565b60008167ffffffffffffffff811115612ddf57612dde6136c4565b5b6040519080825280601f01601f191660200182016040528015612e115781602001600182028036833780820191505090505b5090505b60008514612e9e57600182612e2a9190614b91565b9150600a85612e399190614e47565b6030612e459190614232565b60f81b818381518110612e5b57612e5a6141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e979190614e16565b9450612e15565b8093505050505b919050565b60606000821415612ef2576040518060400160405280600481526020017f30783030000000000000000000000000000000000000000000000000000000008152509050612f2b565b600082905060005b60008214612f1c578080612f0d90614288565b915050600882901c9150612efa565b612f2684826130e9565b925050505b919050565b6001600660146101000a81548160ff021916908315150217905550565b505050565b6000612f738473ffffffffffffffffffffffffffffffffffffffff16613325565b156130dc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f9c6123c8565b8786866040518563ffffffff1660e01b8152600401612fbe9493929190614ec2565b602060405180830381600087803b158015612fd857600080fd5b505af192505050801561300957506040513d601f19601f820116820180604052508101906130069190614f23565b60015b61308c573d8060008114613039576040519150601f19603f3d011682016040523d82523d6000602084013e61303e565b606091505b50600081511415613084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307b90614dc7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130e1565b600190505b949350505050565b6060600060028360026130fc9190614981565b6131069190614232565b67ffffffffffffffff81111561311f5761311e6136c4565b5b6040519080825280601f01601f1916602001820160405280156131515781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613189576131886141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131ed576131ec6141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261322d9190614981565b6132379190614232565b90505b60018111156132d7577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613279576132786141d4565b5b1a60f81b8282815181106132905761328f6141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806132d090614f50565b905061323a565b506000841461331b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331290614fc6565b60405180910390fd5b8091505092915050565b600080823b905060008111915050919050565b82805461334490613d38565b90600052602060002090601f01602090048101928261336657600085556133ad565b82601f1061337f57805160ff19168380011785556133ad565b828001600101855582156133ad579182015b828111156133ac578251825591602001919060010190613391565b5b5090506133ba91906133be565b5090565b5b808211156133d75760008160009055506001016133bf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613424816133ef565b811461342f57600080fd5b50565b6000813590506134418161341b565b92915050565b60006020828403121561345d5761345c6133e5565b5b600061346b84828501613432565b91505092915050565b60008115159050919050565b61348981613474565b82525050565b60006020820190506134a46000830184613480565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134e45780820151818401526020810190506134c9565b838111156134f3576000848401525b50505050565b6000601f19601f8301169050919050565b6000613515826134aa565b61351f81856134b5565b935061352f8185602086016134c6565b613538816134f9565b840191505092915050565b6000602082019050818103600083015261355d818461350a565b905092915050565b6000819050919050565b61357881613565565b811461358357600080fd5b50565b6000813590506135958161356f565b92915050565b6000602082840312156135b1576135b06133e5565b5b60006135bf84828501613586565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135f3826135c8565b9050919050565b613603816135e8565b82525050565b600060208201905061361e60008301846135fa565b92915050565b61362d816135e8565b811461363857600080fd5b50565b60008135905061364a81613624565b92915050565b60008060408385031215613667576136666133e5565b5b60006136758582860161363b565b925050602061368685828601613586565b9150509250929050565b61369981613565565b82525050565b60006020820190506136b46000830184613690565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136fc826134f9565b810181811067ffffffffffffffff8211171561371b5761371a6136c4565b5b80604052505050565b600061372e6133db565b905061373a82826136f3565b919050565b600067ffffffffffffffff82111561375a576137596136c4565b5b613763826134f9565b9050602081019050919050565b82818337600083830152505050565b600061379261378d8461373f565b613724565b9050828152602081018484840111156137ae576137ad6136bf565b5b6137b9848285613770565b509392505050565b600082601f8301126137d6576137d56136ba565b5b81356137e684826020860161377f565b91505092915050565b600060208284031215613805576138046133e5565b5b600082013567ffffffffffffffff811115613823576138226133ea565b5b61382f848285016137c1565b91505092915050565b600080600060608486031215613851576138506133e5565b5b600061385f8682870161363b565b93505060206138708682870161363b565b925050604061388186828701613586565b9150509250925092565b6003811061389857600080fd5b50565b6000813590506138aa8161388b565b92915050565b6000602082840312156138c6576138c56133e5565b5b60006138d48482850161389b565b91505092915050565b6000602082840312156138f3576138f26133e5565b5b60006139018482850161363b565b91505092915050565b61391381613474565b811461391e57600080fd5b50565b6000813590506139308161390a565b92915050565b60006020828403121561394c5761394b6133e5565b5b600061395a84828501613921565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61399881613565565b82525050565b60006139aa838361398f565b60208301905092915050565b6000602082019050919050565b60006139ce82613963565b6139d8818561396e565b93506139e38361397f565b8060005b83811015613a145781516139fb888261399e565b9750613a06836139b6565b9250506001810190506139e7565b5085935050505092915050565b60006020820190508181036000830152613a3b81846139c3565b905092915050565b60008060408385031215613a5a57613a596133e5565b5b6000613a688582860161363b565b9250506020613a7985828601613921565b9150509250929050565b6000819050919050565b613a9681613a83565b82525050565b6000602082019050613ab16000830184613a8d565b92915050565b600067ffffffffffffffff821115613ad257613ad16136c4565b5b613adb826134f9565b9050602081019050919050565b6000613afb613af684613ab7565b613724565b905082815260208101848484011115613b1757613b166136bf565b5b613b22848285613770565b509392505050565b600082601f830112613b3f57613b3e6136ba565b5b8135613b4f848260208601613ae8565b91505092915050565b60008060008060808587031215613b7257613b716133e5565b5b6000613b808782880161363b565b9450506020613b918782880161363b565b9350506040613ba287828801613586565b925050606085013567ffffffffffffffff811115613bc357613bc26133ea565b5b613bcf87828801613b2a565b91505092959194509250565b60008060408385031215613bf257613bf16133e5565b5b6000613c008582860161389b565b925050602083013567ffffffffffffffff811115613c2157613c206133ea565b5b613c2d858286016137c1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613c7757613c76613c37565b5b50565b6000819050613c8882613c66565b919050565b6000613c9882613c7a565b9050919050565b613ca881613c8d565b82525050565b6000602082019050613cc36000830184613c9f565b92915050565b60008060408385031215613ce057613cdf6133e5565b5b6000613cee8582860161363b565b9250506020613cff8582860161363b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d5057607f821691505b60208210811415613d6457613d63613d09565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613dc6602c836134b5565b9150613dd182613d6a565b604082019050919050565b60006020820190508181036000830152613df581613db9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e586021836134b5565b9150613e6382613dfc565b604082019050919050565b60006020820190508181036000830152613e8781613e4b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613eea6038836134b5565b9150613ef582613e8e565b604082019050919050565b60006020820190508181036000830152613f1981613edd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f566020836134b5565b9150613f6182613f20565b602082019050919050565b60006020820190508181036000830152613f8581613f49565b9050919050565b7f467265657a61626c653a2043616e6e6f7420706572666f726d206f706572617460008201527f696f6e206f6e636520636f6e74726163742069732066726f7a656e2e00000000602082015250565b6000613fe8603c836134b5565b9150613ff382613f8c565b604082019050919050565b6000602082019050818103600083015261401781613fdb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061407a6031836134b5565b91506140858261401e565b604082019050919050565b600060208201905081810360008301526140a98161406d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061410c6029836134b5565b9150614117826140b0565b604082019050919050565b6000602082019050818103600083015261413b816140ff565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061419e602a836134b5565b91506141a982614142565b604082019050919050565b600060208201905081810360008301526141cd81614191565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061423d82613565565b915061424883613565565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561427d5761427c614203565b5b828201905092915050565b600061429382613565565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142c6576142c5614203565b5b600182019050919050565b7f446964206e6f742073706563696679206f6e65206f72206d6f726520746f206d60008201527f696e742e00000000000000000000000000000000000000000000000000000000602082015250565b600061432d6024836134b5565b9150614338826142d1565b604082019050919050565b6000602082019050818103600083015261435c81614320565b9050919050565b7f547269656420746f206d696e74206d6f7265207468616e20616c6c6f7765642e600082015250565b60006143996020836134b5565b91506143a482614363565b602082019050919050565b600060208201905081810360008301526143c88161438c565b9050919050565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b60006144056013836134b5565b9150614410826143cf565b602082019050919050565b60006020820190508181036000830152614434816143f8565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e2072656d61696e696e672060008201527f737570706c792e00000000000000000000000000000000000000000000000000602082015250565b60006144976027836134b5565b91506144a28261443b565b604082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f496e636f727265637420616d6f756e742070726f766964656420666f72206d6960008201527f6e74696e672e0000000000000000000000000000000000000000000000000000602082015250565b60006145296026836134b5565b9150614534826144cd565b604082019050919050565b600060208201905081810360008301526145588161451c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006145956019836134b5565b91506145a08261455f565b602082019050919050565b600060208201905081810360008301526145c481614588565b9050919050565b7f496e76616c696420746f6b656e2069642e000000000000000000000000000000600082015250565b60006146016011836134b5565b915061460c826145cb565b602082019050919050565b60006020820190508181036000830152614630816145f4565b9050919050565b60008160601b9050919050565b600061464f82614637565b9050919050565b600061466182614644565b9050919050565b614679614674826135e8565b614656565b82525050565b6000819050919050565b61469a61469582613565565b61467f565b82525050565b60006146ac8287614668565b6014820191506146bc8286614689565b6020820191506146cc8285614668565b6014820191506146dc8284614689565b60208201915081905095945050505050565b600081519050919050565b600081905092915050565b600061470f826146ee565b61471981856146f9565b93506147298185602086016134c6565b80840191505092915050565b600081905092915050565b600061474b826134aa565b6147558185614735565b93506147658185602086016134c6565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461479381613d38565b61479d81866146f9565b945060018216600081146147b857600181146147c9576147fc565b60ff198316865281860193506147fc565b6147d285614771565b60005b838110156147f4578154818901526001820191506020810190506147d5565b838801955050505b50505092915050565b60006148118289614704565b915061481d8288614704565b91506148298287614704565b91506148358286614740565b91506148418285614704565b915061484d8284614786565b9150819050979650505050505050565b7f496e76616c696420636f6e6669726d6174696f6e2070726f766964656420666f60008201527f7220667265657a696e6700000000000000000000000000000000000000000000602082015250565b60006148b9602a836134b5565b91506148c48261485d565b604082019050919050565b600060208201905081810360008301526148e8816148ac565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061494b6026836134b5565b9150614956826148ef565b604082019050919050565b6000602082019050818103600083015261497a8161493e565b9050919050565b600061498c82613565565b915061499783613565565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d0576149cf614203565b5b828202905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a37602c836134b5565b9150614a42826149db565b604082019050919050565b60006020820190508181036000830152614a6681614a2a565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614ac96029836134b5565b9150614ad482614a6d565b604082019050919050565b60006020820190508181036000830152614af881614abc565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b5b6024836134b5565b9150614b6682614aff565b604082019050919050565b60006020820190508181036000830152614b8a81614b4e565b9050919050565b6000614b9c82613565565b9150614ba783613565565b925082821015614bba57614bb9614203565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614bfb6020836134b5565b9150614c0682614bc5565b602082019050919050565b60006020820190508181036000830152614c2a81614bee565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c67601c836134b5565b9150614c7282614c31565b602082019050919050565b60006020820190508181036000830152614c9681614c5a565b9050919050565b60008190508160005260206000209050919050565b60008154614cbf81613d38565b614cc98186614735565b94506001821660008114614ce45760018114614cf557614d28565b60ff19831686528186019350614d28565b614cfe85614c9d565b60005b83811015614d2057815481890152600182019150602081019050614d01565b838801955050505b50505092915050565b6000614d3d8285614cb2565b9150614d498284614740565b91508190509392505050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614db16032836134b5565b9150614dbc82614d55565b604082019050919050565b60006020820190508181036000830152614de081614da4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e2182613565565b9150614e2c83613565565b925082614e3c57614e3b614de7565b5b828204905092915050565b6000614e5282613565565b9150614e5d83613565565b925082614e6d57614e6c614de7565b5b828206905092915050565b600082825260208201905092915050565b6000614e94826146ee565b614e9e8185614e78565b9350614eae8185602086016134c6565b614eb7816134f9565b840191505092915050565b6000608082019050614ed760008301876135fa565b614ee460208301866135fa565b614ef16040830185613690565b8181036060830152614f038184614e89565b905095945050505050565b600081519050614f1d8161341b565b92915050565b600060208284031215614f3957614f386133e5565b5b6000614f4784828501614f0e565b91505092915050565b6000614f5b82613565565b91506000821415614f6f57614f6e614203565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614fb06020836134b5565b9150614fbb82614f7a565b602082019050919050565b60006020820190508181036000830152614fdf81614fa3565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220180da28523f21c6039e5b139cdd1cf1f236a509b9dc2071601368febb4a3649d64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000011c37937e0800000000000000000000000000000000000000000000000000000000000000000005576176657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d494e5f30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6d61696e6e65742e6d696e696d697a65722e6172742f6d657461646174612f302f0000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806391b7f5ed11610144578063be7174f8116100b6578063d5abeb011161007a578063d5abeb0114610947578063e01d716f14610972578063e6a86fb0146109af578063e985e9c5146109d8578063f2fde38b14610a15578063fd65528514610a3e5761025c565b8063be7174f814610828578063c10b9edd14610853578063c87b56dd14610890578063ce9bc9e1146108cd578063d3e470151461090a5761025c565b8063a22cb46511610108578063a22cb4651461071c578063a386439714610745578063a6ec699514610782578063aebf5c14146107ad578063b88d4fde146107d6578063bdc9cacd146107ff5761025c565b806391b7f5ed1461064457806395d89b411461066d57806397304ced1461069857806399fb2fed146106b4578063a035b1fe146106f15761025c565b806342842e0e116101dd578063715018a6116101a1578063715018a614610548578063797163ab1461055f578063841718a61461059c5780638462151c146105c5578063853828b6146106025780638da5cb5b146106195761025c565b806342842e0e1461045157806351e2acc31461047a578063564566a8146104a35780636352211e146104ce57806370a082311461050b5761025c565b806310b13a991161022457806310b13a991461035a57806318160ddd146103975780631e1021ec146103c257806323b872dd146103eb5780633e4cc732146104145761025c565b806301ffc9a714610261578063054f7d9c1461029e57806306fdde03146102c9578063081812fc146102f4578063095ea7b314610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613447565b610a69565b604051610295919061348f565b60405180910390f35b3480156102aa57600080fd5b506102b3610b4b565b6040516102c0919061348f565b60405180910390f35b3480156102d557600080fd5b506102de610b5e565b6040516102eb9190613543565b60405180910390f35b34801561030057600080fd5b5061031b6004803603810190610316919061359b565b610bf0565b6040516103289190613609565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613650565b610c75565b005b34801561036657600080fd5b50610381600480360381019061037c919061359b565b610d8d565b60405161038e9190613609565b60405180910390f35b3480156103a357600080fd5b506103ac610dc0565b6040516103b9919061369f565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e491906137ef565b610dc6565b005b3480156103f757600080fd5b50610412600480360381019061040d9190613838565b610eb2565b005b34801561042057600080fd5b5061043b600480360381019061043691906138b0565b610f12565b6040516104489190613543565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190613838565b610fb2565b005b34801561048657600080fd5b506104a1600480360381019061049c919061359b565b610fd2565b005b3480156104af57600080fd5b506104b8611058565b6040516104c5919061348f565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f0919061359b565b61106b565b6040516105029190613609565b60405180910390f35b34801561051757600080fd5b50610532600480360381019061052d91906138dd565b61111d565b60405161053f919061369f565b60405180910390f35b34801561055457600080fd5b5061055d6111d5565b005b34801561056b57600080fd5b506105866004803603810190610581919061359b565b61125d565b604051610593919061369f565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be9190613936565b611275565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906138dd565b61130e565b6040516105f99190613a21565b60405180910390f35b34801561060e57600080fd5b50610617611403565b005b34801561062557600080fd5b5061062e6114c8565b60405161063b9190613609565b60405180910390f35b34801561065057600080fd5b5061066b6004803603810190610666919061359b565b6114f2565b005b34801561067957600080fd5b50610682611578565b60405161068f9190613543565b60405180910390f35b6106b260048036038101906106ad919061359b565b61160a565b005b3480156106c057600080fd5b506106db60048036038101906106d6919061359b565b6118f3565b6040516106e89190613543565b60405180910390f35b3480156106fd57600080fd5b50610706611907565b604051610713919061369f565b60405180910390f35b34801561072857600080fd5b50610743600480360381019061073e9190613a43565b61190d565b005b34801561075157600080fd5b5061076c6004803603810190610767919061359b565b611a8e565b6040516107799190613a9c565b60405180910390f35b34801561078e57600080fd5b50610797611b50565b6040516107a49190613543565b60405180910390f35b3480156107b957600080fd5b506107d460048036038101906107cf91906138b0565b611bde565b005b3480156107e257600080fd5b506107fd60048036038101906107f89190613b58565b611cdd565b005b34801561080b57600080fd5b5061082660048036038101906108219190613bdb565b611d3f565b005b34801561083457600080fd5b5061083d611e61565b60405161084a9190613cae565b60405180910390f35b34801561085f57600080fd5b5061087a6004803603810190610875919061359b565b611e74565b6040516108879190613543565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b2919061359b565b611e88565b6040516108c49190613543565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef919061359b565b611eaa565b6040516109019190613543565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c919061359b565b611ec4565b60405161093e9190613543565b60405180910390f35b34801561095357600080fd5b5061095c612024565b604051610969919061369f565b60405180910390f35b34801561097e57600080fd5b506109996004803603810190610994919061359b565b61202a565b6040516109a69190613543565b60405180910390f35b3480156109bb57600080fd5b506109d660048036038101906109d191906137ef565b61203e565b005b3480156109e457600080fd5b506109ff60048036038101906109fa9190613cc9565b61214a565b604051610a0c919061348f565b60405180910390f35b348015610a2157600080fd5b50610a3c6004803603810190610a3791906138dd565b6121de565b005b348015610a4a57600080fd5b50610a536122d6565b604051610a60919061369f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b3457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b445750610b43826122f2565b5b9050919050565b600660149054906101000a900460ff1681565b606060008054610b6d90613d38565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9990613d38565b8015610be65780601f10610bbb57610100808354040283529160200191610be6565b820191906000526020600020905b815481529060010190602001808311610bc957829003601f168201915b5050505050905090565b6000610bfb8261235c565b610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3190613ddc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c808261106b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce890613e6e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d106123c8565b73ffffffffffffffffffffffffffffffffffffffff161480610d3f5750610d3e81610d396123c8565b61214a565b5b610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590613f00565b60405180910390fd5b610d8883836123d0565b505050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b610dce6123c8565b73ffffffffffffffffffffffffffffffffffffffff16610dec6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990613f6c565b60405180910390fd5b60001515600660149054906101000a900460ff16151514610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90613ffe565b60405180910390fd5b80600b9080519060200190610eae929190613338565b5050565b610ec3610ebd6123c8565b82612489565b610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef990614090565b60405180910390fd5b610f0d838383612567565b505050565b60096020528060005260406000206000915090508054610f3190613d38565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5d90613d38565b8015610faa5780601f10610f7f57610100808354040283529160200191610faa565b820191906000526020600020905b815481529060010190602001808311610f8d57829003601f168201915b505050505081565b610fcd83838360405180602001604052806000815250611cdd565b505050565b610fda6123c8565b73ffffffffffffffffffffffffffffffffffffffff16610ff86114c8565b73ffffffffffffffffffffffffffffffffffffffff161461104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590613f6c565b60405180910390fd5b80600e8190555050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90614122565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561118e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611185906141b4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111dd6123c8565b73ffffffffffffffffffffffffffffffffffffffff166111fb6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124890613f6c565b60405180910390fd5b61125b60006127c3565b565b60076020528060005260406000206000915090505481565b61127d6123c8565b73ffffffffffffffffffffffffffffffffffffffff1661129b6114c8565b73ffffffffffffffffffffffffffffffffffffffff16146112f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e890613f6c565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6060600061131b8361111d565b905060008167ffffffffffffffff811115611339576113386136c4565b5b6040519080825280602002602001820160405280156113675781602001602082028036833780820191505090505b5090506000805b600c548110156113f7578573ffffffffffffffffffffffffffffffffffffffff166113988261106b565b73ffffffffffffffffffffffffffffffffffffffff1614156113e457808383815181106113c8576113c76141d4565b5b6020026020010181815250506001826113e19190614232565b91505b80806113ef90614288565b91505061136e565b50819350505050919050565b61140b6123c8565b73ffffffffffffffffffffffffffffffffffffffff166114296114c8565b73ffffffffffffffffffffffffffffffffffffffff161461147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690613f6c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156114c5573d6000803e3d6000fd5b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114fa6123c8565b73ffffffffffffffffffffffffffffffffffffffff166115186114c8565b73ffffffffffffffffffffffffffffffffffffffff161461156e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156590613f6c565b60405180910390fd5b80600f8190555050565b60606001805461158790613d38565b80601f01602080910402602001604051908101604052809291908181526020018280546115b390613d38565b80156116005780601f106115d557610100808354040283529160200191611600565b820191906000526020600020905b8154815290600101906020018083116115e357829003601f168201915b5050505050905090565b6116126114c8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061164b5750600081115b61168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190614343565b60405180910390fd5b6116926114c8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806116cd5750600e548111155b61170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906143af565b60405180910390fd5b6117146114c8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806117595750601060009054906101000a900460ff165b611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f9061441b565b60405180910390fd5b600d5481600c546117a99190614232565b11156117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e1906144ad565b60405180910390fd5b6117ff600f54826122dc90919063ffffffff16565b3414611840576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118379061453f565b60405180910390fd5b60005b818110156118ef576000600c54905061185c3382612889565b436007600083815260200190815260200160002081905550336008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c546118d59190614232565b600c819055505080806118e790614288565b915050611843565b5050565b6060611900600283612a57565b9050919050565b600f5481565b6119156123c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a906145ab565b60405180910390fd5b80600560006119906123c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a3d6123c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a82919061348f565b60405180910390a35050565b600081600c548110611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc90614617565b60405180910390fd5b3060076000858152602001908152602001600020546008600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685604051602001611b3294939291906146a0565b60405160208183030381529060405280519060200120915050919050565b600b8054611b5d90613d38565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8990613d38565b8015611bd65780601f10611bab57610100808354040283529160200191611bd6565b820191906000526020600020905b815481529060010190602001808311611bb957829003601f168201915b505050505081565b611be66123c8565b73ffffffffffffffffffffffffffffffffffffffff16611c046114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5190613f6c565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca790613ffe565b60405180910390fd5b80600a60006101000a81548160ff02191690836002811115611cd557611cd4613c37565b5b021790555050565b611cee611ce86123c8565b83612489565b611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490614090565b60405180910390fd5b611d3984848484612b68565b50505050565b611d476123c8565b73ffffffffffffffffffffffffffffffffffffffff16611d656114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290613f6c565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890613ffe565b60405180910390fd5b8060096000846002811115611e2957611e28613c37565b5b6002811115611e3b57611e3a613c37565b5b81526020019081526020016000209080519060200190611e5c929190613338565b505050565b600a60009054906101000a900460ff1681565b6060611e81600083612a57565b9050919050565b6060611ea3600a60009054906101000a900460ff1683612a57565b9050919050565b6060611ebd611eb883611ec4565b612bc4565b9050919050565b606081600c548110611f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0290614617565b60405180910390fd5b6000600b8054611f1a90613d38565b905011611f36576040518060200160405280600081525061201c565b6040518060400160405280601981526020017f636f6e737420746f6b656e446174613d7b746f6b656e49643a00000000000000815250611f7584612d49565b6040518060400160405280600781526020017f2c686173683a2700000000000000000000000000000000000000000000000000815250611fbf611fb787611a8e565b60001c612eaa565b6040518060400160405280600381526020017f277d3b0000000000000000000000000000000000000000000000000000000000815250600b60405160200161200c96959493929190614805565b6040516020818303038152906040525b915050919050565b600d5481565b6060612037600183612a57565b9050919050565b6120466123c8565b73ffffffffffffffffffffffffffffffffffffffff166120646114c8565b73ffffffffffffffffffffffffffffffffffffffff16146120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190613f6c565b60405180910390fd5b6040518060400160405280601381526020017f636f6e6669726d656420746f20667265657a65000000000000000000000000008152508051906020012081805190602001201461213f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612136906148cf565b60405180910390fd5b612147612f30565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121e66123c8565b73ffffffffffffffffffffffffffffffffffffffff166122046114c8565b73ffffffffffffffffffffffffffffffffffffffff161461225a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225190613f6c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c190614961565b60405180910390fd5b6122d3816127c3565b50565b600e5481565b600081836122ea9190614981565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124438361106b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124948261235c565b6124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca90614a4d565b60405180910390fd5b60006124de8361106b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061254d57508373ffffffffffffffffffffffffffffffffffffffff1661253584610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061255e575061255d818561214a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125878261106b565b73ffffffffffffffffffffffffffffffffffffffff16146125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d490614adf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561264d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264490614b71565b60405180910390fd5b612658838383612f4d565b6126636000826123d0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b39190614b91565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461270a9190614232565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f090614c11565b60405180910390fd5b6129028161235c565b15612942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293990614c7d565b60405180910390fd5b61294e60008383612f4d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299e9190614232565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b606081600c548110612a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9590614617565b60405180910390fd5b600060096000866002811115612ab757612ab6613c37565b5b6002811115612ac957612ac8613c37565b5b81526020019081526020016000208054612ae290613d38565b905011612afe5760405180602001604052806000815250612b5f565b60096000856002811115612b1557612b14613c37565b5b6002811115612b2757612b26613c37565b5b8152602001908152602001600020612b3e84612d49565b604051602001612b4f929190614d31565b6040516020818303038152906040525b91505092915050565b612b73848484612567565b612b7f84848484612f52565b612bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb590614dc7565b60405180910390fd5b50505050565b6060600082511415612be757604051806020016040528060008152509050612d44565b6000604051806060016040528060408152602001614fe76040913990506000600360028551612c169190614232565b612c209190614e16565b6004612c2c9190614981565b90506000602082612c3d9190614232565b67ffffffffffffffff811115612c5657612c556136c4565b5b6040519080825280601f01601f191660200182016040528015612c885781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612d03576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612c9c565b600389510660018114612d1d5760028114612d2d57612d38565b613d3d60f01b6002830352612d38565b603d60f81b60018303525b50505050508093505050505b919050565b60606000821415612d91576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ea5565b600082905060005b60008214612dc3578080612dac90614288565b915050600a82612dbc9190614e16565b9150612d99565b60008167ffffffffffffffff811115612ddf57612dde6136c4565b5b6040519080825280601f01601f191660200182016040528015612e115781602001600182028036833780820191505090505b5090505b60008514612e9e57600182612e2a9190614b91565b9150600a85612e399190614e47565b6030612e459190614232565b60f81b818381518110612e5b57612e5a6141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e979190614e16565b9450612e15565b8093505050505b919050565b60606000821415612ef2576040518060400160405280600481526020017f30783030000000000000000000000000000000000000000000000000000000008152509050612f2b565b600082905060005b60008214612f1c578080612f0d90614288565b915050600882901c9150612efa565b612f2684826130e9565b925050505b919050565b6001600660146101000a81548160ff021916908315150217905550565b505050565b6000612f738473ffffffffffffffffffffffffffffffffffffffff16613325565b156130dc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f9c6123c8565b8786866040518563ffffffff1660e01b8152600401612fbe9493929190614ec2565b602060405180830381600087803b158015612fd857600080fd5b505af192505050801561300957506040513d601f19601f820116820180604052508101906130069190614f23565b60015b61308c573d8060008114613039576040519150601f19603f3d011682016040523d82523d6000602084013e61303e565b606091505b50600081511415613084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307b90614dc7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130e1565b600190505b949350505050565b6060600060028360026130fc9190614981565b6131069190614232565b67ffffffffffffffff81111561311f5761311e6136c4565b5b6040519080825280601f01601f1916602001820160405280156131515781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613189576131886141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131ed576131ec6141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261322d9190614981565b6132379190614232565b90505b60018111156132d7577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613279576132786141d4565b5b1a60f81b8282815181106132905761328f6141d4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806132d090614f50565b905061323a565b506000841461331b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331290614fc6565b60405180910390fd5b8091505092915050565b600080823b905060008111915050919050565b82805461334490613d38565b90600052602060002090601f01602090048101928261336657600085556133ad565b82601f1061337f57805160ff19168380011785556133ad565b828001600101855582156133ad579182015b828111156133ac578251825591602001919060010190613391565b5b5090506133ba91906133be565b5090565b5b808211156133d75760008160009055506001016133bf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613424816133ef565b811461342f57600080fd5b50565b6000813590506134418161341b565b92915050565b60006020828403121561345d5761345c6133e5565b5b600061346b84828501613432565b91505092915050565b60008115159050919050565b61348981613474565b82525050565b60006020820190506134a46000830184613480565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134e45780820151818401526020810190506134c9565b838111156134f3576000848401525b50505050565b6000601f19601f8301169050919050565b6000613515826134aa565b61351f81856134b5565b935061352f8185602086016134c6565b613538816134f9565b840191505092915050565b6000602082019050818103600083015261355d818461350a565b905092915050565b6000819050919050565b61357881613565565b811461358357600080fd5b50565b6000813590506135958161356f565b92915050565b6000602082840312156135b1576135b06133e5565b5b60006135bf84828501613586565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135f3826135c8565b9050919050565b613603816135e8565b82525050565b600060208201905061361e60008301846135fa565b92915050565b61362d816135e8565b811461363857600080fd5b50565b60008135905061364a81613624565b92915050565b60008060408385031215613667576136666133e5565b5b60006136758582860161363b565b925050602061368685828601613586565b9150509250929050565b61369981613565565b82525050565b60006020820190506136b46000830184613690565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136fc826134f9565b810181811067ffffffffffffffff8211171561371b5761371a6136c4565b5b80604052505050565b600061372e6133db565b905061373a82826136f3565b919050565b600067ffffffffffffffff82111561375a576137596136c4565b5b613763826134f9565b9050602081019050919050565b82818337600083830152505050565b600061379261378d8461373f565b613724565b9050828152602081018484840111156137ae576137ad6136bf565b5b6137b9848285613770565b509392505050565b600082601f8301126137d6576137d56136ba565b5b81356137e684826020860161377f565b91505092915050565b600060208284031215613805576138046133e5565b5b600082013567ffffffffffffffff811115613823576138226133ea565b5b61382f848285016137c1565b91505092915050565b600080600060608486031215613851576138506133e5565b5b600061385f8682870161363b565b93505060206138708682870161363b565b925050604061388186828701613586565b9150509250925092565b6003811061389857600080fd5b50565b6000813590506138aa8161388b565b92915050565b6000602082840312156138c6576138c56133e5565b5b60006138d48482850161389b565b91505092915050565b6000602082840312156138f3576138f26133e5565b5b60006139018482850161363b565b91505092915050565b61391381613474565b811461391e57600080fd5b50565b6000813590506139308161390a565b92915050565b60006020828403121561394c5761394b6133e5565b5b600061395a84828501613921565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61399881613565565b82525050565b60006139aa838361398f565b60208301905092915050565b6000602082019050919050565b60006139ce82613963565b6139d8818561396e565b93506139e38361397f565b8060005b83811015613a145781516139fb888261399e565b9750613a06836139b6565b9250506001810190506139e7565b5085935050505092915050565b60006020820190508181036000830152613a3b81846139c3565b905092915050565b60008060408385031215613a5a57613a596133e5565b5b6000613a688582860161363b565b9250506020613a7985828601613921565b9150509250929050565b6000819050919050565b613a9681613a83565b82525050565b6000602082019050613ab16000830184613a8d565b92915050565b600067ffffffffffffffff821115613ad257613ad16136c4565b5b613adb826134f9565b9050602081019050919050565b6000613afb613af684613ab7565b613724565b905082815260208101848484011115613b1757613b166136bf565b5b613b22848285613770565b509392505050565b600082601f830112613b3f57613b3e6136ba565b5b8135613b4f848260208601613ae8565b91505092915050565b60008060008060808587031215613b7257613b716133e5565b5b6000613b808782880161363b565b9450506020613b918782880161363b565b9350506040613ba287828801613586565b925050606085013567ffffffffffffffff811115613bc357613bc26133ea565b5b613bcf87828801613b2a565b91505092959194509250565b60008060408385031215613bf257613bf16133e5565b5b6000613c008582860161389b565b925050602083013567ffffffffffffffff811115613c2157613c206133ea565b5b613c2d858286016137c1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613c7757613c76613c37565b5b50565b6000819050613c8882613c66565b919050565b6000613c9882613c7a565b9050919050565b613ca881613c8d565b82525050565b6000602082019050613cc36000830184613c9f565b92915050565b60008060408385031215613ce057613cdf6133e5565b5b6000613cee8582860161363b565b9250506020613cff8582860161363b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d5057607f821691505b60208210811415613d6457613d63613d09565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613dc6602c836134b5565b9150613dd182613d6a565b604082019050919050565b60006020820190508181036000830152613df581613db9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e586021836134b5565b9150613e6382613dfc565b604082019050919050565b60006020820190508181036000830152613e8781613e4b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613eea6038836134b5565b9150613ef582613e8e565b604082019050919050565b60006020820190508181036000830152613f1981613edd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f566020836134b5565b9150613f6182613f20565b602082019050919050565b60006020820190508181036000830152613f8581613f49565b9050919050565b7f467265657a61626c653a2043616e6e6f7420706572666f726d206f706572617460008201527f696f6e206f6e636520636f6e74726163742069732066726f7a656e2e00000000602082015250565b6000613fe8603c836134b5565b9150613ff382613f8c565b604082019050919050565b6000602082019050818103600083015261401781613fdb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061407a6031836134b5565b91506140858261401e565b604082019050919050565b600060208201905081810360008301526140a98161406d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061410c6029836134b5565b9150614117826140b0565b604082019050919050565b6000602082019050818103600083015261413b816140ff565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061419e602a836134b5565b91506141a982614142565b604082019050919050565b600060208201905081810360008301526141cd81614191565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061423d82613565565b915061424883613565565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561427d5761427c614203565b5b828201905092915050565b600061429382613565565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142c6576142c5614203565b5b600182019050919050565b7f446964206e6f742073706563696679206f6e65206f72206d6f726520746f206d60008201527f696e742e00000000000000000000000000000000000000000000000000000000602082015250565b600061432d6024836134b5565b9150614338826142d1565b604082019050919050565b6000602082019050818103600083015261435c81614320565b9050919050565b7f547269656420746f206d696e74206d6f7265207468616e20616c6c6f7765642e600082015250565b60006143996020836134b5565b91506143a482614363565b602082019050919050565b600060208201905081810360008301526143c88161438c565b9050919050565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b60006144056013836134b5565b9150614410826143cf565b602082019050919050565b60006020820190508181036000830152614434816143f8565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e2072656d61696e696e672060008201527f737570706c792e00000000000000000000000000000000000000000000000000602082015250565b60006144976027836134b5565b91506144a28261443b565b604082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f496e636f727265637420616d6f756e742070726f766964656420666f72206d6960008201527f6e74696e672e0000000000000000000000000000000000000000000000000000602082015250565b60006145296026836134b5565b9150614534826144cd565b604082019050919050565b600060208201905081810360008301526145588161451c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006145956019836134b5565b91506145a08261455f565b602082019050919050565b600060208201905081810360008301526145c481614588565b9050919050565b7f496e76616c696420746f6b656e2069642e000000000000000000000000000000600082015250565b60006146016011836134b5565b915061460c826145cb565b602082019050919050565b60006020820190508181036000830152614630816145f4565b9050919050565b60008160601b9050919050565b600061464f82614637565b9050919050565b600061466182614644565b9050919050565b614679614674826135e8565b614656565b82525050565b6000819050919050565b61469a61469582613565565b61467f565b82525050565b60006146ac8287614668565b6014820191506146bc8286614689565b6020820191506146cc8285614668565b6014820191506146dc8284614689565b60208201915081905095945050505050565b600081519050919050565b600081905092915050565b600061470f826146ee565b61471981856146f9565b93506147298185602086016134c6565b80840191505092915050565b600081905092915050565b600061474b826134aa565b6147558185614735565b93506147658185602086016134c6565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461479381613d38565b61479d81866146f9565b945060018216600081146147b857600181146147c9576147fc565b60ff198316865281860193506147fc565b6147d285614771565b60005b838110156147f4578154818901526001820191506020810190506147d5565b838801955050505b50505092915050565b60006148118289614704565b915061481d8288614704565b91506148298287614704565b91506148358286614740565b91506148418285614704565b915061484d8284614786565b9150819050979650505050505050565b7f496e76616c696420636f6e6669726d6174696f6e2070726f766964656420666f60008201527f7220667265657a696e6700000000000000000000000000000000000000000000602082015250565b60006148b9602a836134b5565b91506148c48261485d565b604082019050919050565b600060208201905081810360008301526148e8816148ac565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061494b6026836134b5565b9150614956826148ef565b604082019050919050565b6000602082019050818103600083015261497a8161493e565b9050919050565b600061498c82613565565b915061499783613565565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d0576149cf614203565b5b828202905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a37602c836134b5565b9150614a42826149db565b604082019050919050565b60006020820190508181036000830152614a6681614a2a565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614ac96029836134b5565b9150614ad482614a6d565b604082019050919050565b60006020820190508181036000830152614af881614abc565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b5b6024836134b5565b9150614b6682614aff565b604082019050919050565b60006020820190508181036000830152614b8a81614b4e565b9050919050565b6000614b9c82613565565b9150614ba783613565565b925082821015614bba57614bb9614203565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614bfb6020836134b5565b9150614c0682614bc5565b602082019050919050565b60006020820190508181036000830152614c2a81614bee565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c67601c836134b5565b9150614c7282614c31565b602082019050919050565b60006020820190508181036000830152614c9681614c5a565b9050919050565b60008190508160005260206000209050919050565b60008154614cbf81613d38565b614cc98186614735565b94506001821660008114614ce45760018114614cf557614d28565b60ff19831686528186019350614d28565b614cfe85614c9d565b60005b83811015614d2057815481890152600182019150602081019050614d01565b838801955050505b50505092915050565b6000614d3d8285614cb2565b9150614d498284614740565b91508190509392505050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614db16032836134b5565b9150614dbc82614d55565b604082019050919050565b60006020820190508181036000830152614de081614da4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e2182613565565b9150614e2c83613565565b925082614e3c57614e3b614de7565b5b828204905092915050565b6000614e5282613565565b9150614e5d83613565565b925082614e6d57614e6c614de7565b5b828206905092915050565b600082825260208201905092915050565b6000614e94826146ee565b614e9e8185614e78565b9350614eae8185602086016134c6565b614eb7816134f9565b840191505092915050565b6000608082019050614ed760008301876135fa565b614ee460208301866135fa565b614ef16040830185613690565b8181036060830152614f038184614e89565b905095945050505050565b600081519050614f1d8161341b565b92915050565b600060208284031215614f3957614f386133e5565b5b6000614f4784828501614f0e565b91505092915050565b6000614f5b82613565565b91506000821415614f6f57614f6e614203565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614fb06020836134b5565b9150614fbb82614f7a565b602082019050919050565b60006020820190508181036000830152614fdf81614fa3565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220180da28523f21c6039e5b139cdd1cf1f236a509b9dc2071601368febb4a3649d64736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000011c37937e0800000000000000000000000000000000000000000000000000000000000000000005576176657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d494e5f30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6d61696e6e65742e6d696e696d697a65722e6172742f6d657461646174612f302f0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Waves
Arg [1] : symbol_ (string): MIN_0
Arg [2] : baseURI_ (string): https://mainnet.minimizer.art/metadata/0/
Arg [3] : maxSupply_ (uint256): 2000
Arg [4] : maxMintAtOnce_ (uint256): 5
Arg [5] : numberToPremint_ (uint256): 30
Arg [6] : initialPrice_ (uint256): 80000000000000000

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [6] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 5761766573000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 4d494e5f30000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [12] : 68747470733a2f2f6d61696e6e65742e6d696e696d697a65722e6172742f6d65
Arg [13] : 7461646174612f302f0000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.