ETH Price: $3,047.19 (+2.24%)
Gas: 1 Gwei

Token

METAMONZ (METAMONZ)
 

Overview

Max Total Supply

724 METAMONZ

Holders

345

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 METAMONZ
0x2c550b31D919822B071d2f39c94ee6E699D6621f
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Metamonz

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1500 runs

Other Settings:
default evmVersion
File 1 of 17 : Metamonz.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Metamonz is ERC721Enumerable, Ownable, AccessControl {

    using Strings for uint256;

    // SET MINT PRICES
    uint256 public BATCH_1_PRICE = 0.077 ether;
    uint256 public BATCH_2_PRICE = 0.077 ether;
    uint256 public BATCH_3_PRICE = 0.09 ether;
    
    // NFT AMOUNTS
    uint256 public constant TOTAL_NUMBER_OF_NFTS = 9999;
    uint256 public constant BATCH_1_AMOUNT = 1000;
    uint256 public constant BATCH_2_AMOUNT = 2400;
    uint256 public constant BATCH_3_AMOUNT = 6400;
    uint256 public constant GIVEAWAY_AMOUNT = 199;
    
    // BATCH 2 WHITELISTE
    bool public IS_BATCH_2_WHITELISTE = true;
    mapping(address => bool) private _batch_2_minters;
    
    // NFT AMOUNTS MINTED
    uint256 public BATCH_1_MINTED = 0;
    uint256 public BATCH_2_MINTED = 0;
    uint256 public BATCH_3_MINTED = 0;
    uint256 public GIVEAWAY_MINTED = 0;
    
    // MAX MINT AMOUNTS
    uint256 public BATCH_1_MAX_MINT = 6;
    uint256 public BATCH_2_MAX_MINT = 6;
    uint256 public BATCH_3_MAX_MINT = 9;
    
    
    // OPEN BATCHES
    bool public BATCH_1_OPEN = false;
    bool public BATCH_2_OPEN = false;
    bool public BATCH_3_OPEN = false;
    
    // MAXIMUM NUMBER OF NFTS PER WALLET
    uint256 public MAX_AMOUNT_PER_WALLET = 18;
    
    // BASE TOKEN URIs
    string private _baseTokenURI_fire = "";
    string private _baseTokenURI_water = "";
    string private _baseTokenURI_dark = "";
    string private _baseTokenURI_cyborg = "";
    
    // MAPPING TOKEN_ID TO THE RIGHT BASE DRAGON
    // 1 = FIRE, 2 = WATER, 3 = DARK, 4 = CYBORG
    mapping(uint256 => uint256) private _bases;

    // MODIFIERS
    modifier whenBatch1Open() {
        require (BATCH_1_OPEN, "METAMONZ: mint is not open");
        _;
    }
    
    modifier whenBatch2Open() {
        require (BATCH_2_OPEN, "METAMONZ: mint is not open");
        _;
    }
    
    modifier whenBatch3Open() {
        require (BATCH_3_OPEN, "METAMONZ: mint is not open");
        _;
    }

    modifier batch2Allowed(address account) {
        if(IS_BATCH_2_WHITELISTE == true) {
            require(isBatch2Allowed(account), "METAMONZ: account is not allowed to mint Batch 2");
        }
        _;
    }

    // EVENTS 
    event Batch1Open(address account);
    event Batch2Open(address account);
    event Batch3Open(address account);
    event Giveaway(address account, address to);
    event Batch1PriceSet(address account, uint256 price);
    event Batch2PriceSet(address account, uint256 price);
    event Batch3PriceSet(address account, uint256 price);
    event Batch1MaxMintSet(address account, uint256 max);
    event Batch2MaxMintSet(address account, uint256 max);
    event Batch3MaxMintSet(address account, uint256 max);
    event MaximumPerWalletSet(address account, uint256 max);

    constructor() ERC721("METAMONZ", "METAMONZ") {}

    receive() external payable {}

    // MINT BATCH 1
    // BASE: 1 = FIRE, 2 = WATER, 3 = DARK, 4 = CYBORG
    function mint_batch_1(uint256 num, uint256 base) public payable whenBatch1Open() {
        require(base >= 1 && base <= 4,                                 "METAMONZ: Base must be 1, 2, 3 or 4");
        require(num <= BATCH_1_MAX_MINT,                                "METAMONZ: You can only mint BATCH_1_MAX_MINT METAMONZ");
        require(balanceOf(msg.sender) + num <= MAX_AMOUNT_PER_WALLET,   "METAMONZ: You can only hold MAX_AMOUNT_PER_WALLET METAMONZ per wallet");
        require(BATCH_1_MINTED + num <= BATCH_1_AMOUNT,                 "METAMONZ: Exceeds maximum METAMONZ for Batch 1");
        require(msg.value >= BATCH_1_PRICE * num,                       "METAMONZ: Ether sent is too less");
        
        uint256 supply = totalSupply();
        
        for(uint256 i; i < num; i++) {
            BATCH_1_MINTED += 1;
            
            _bases[supply + i] = base;
            
            _safeMint(msg.sender, supply + i);
        }
    }
    
    // MINT BATCH 2
    // BASE: 1 = FIRE, 2 = WATER, 3 = DARK, 4 = CYBORG
    function mint_batch_2(uint256 num, uint256 base) public payable whenBatch1Open() whenBatch2Open() batch2Allowed(msg.sender) {
        require(base >= 1 && base <= 4,                                 "METAMONZ: Base must be 1, 2, 3 or 4");
        require(num <= BATCH_2_MAX_MINT,                                "METAMONZ: You can only mint BATCH_2_MAX_MINT METAMONZ");
        require(balanceOf(msg.sender) + num <= MAX_AMOUNT_PER_WALLET,   "METAMONZ: You can only hold MAX_AMOUNT_PER_WALLET METAMONZ per wallet");
        require(BATCH_2_MINTED + num <= BATCH_2_AMOUNT,                 "METAMONZ: Exceeds maximum METAMONZ for Batch 2");
        require(msg.value >= BATCH_2_PRICE * num,                       "METAMONZ: Ether sent is too less");
        
        _batch_2_minters[msg.sender] = false;
        
        uint256 supply = totalSupply();
        
        for(uint256 i; i < num; i++) {
            BATCH_2_MINTED += 1;
            
            _bases[supply + i] = base;
            
            _safeMint(msg.sender, supply + i);
        }
    }
    
    // MINT BATCH 3
    // BASE: 1 = FIRE, 2 = WATER, 3 = DARK, 4 = CYBORG
    function mint_batch_3(uint256 num, uint256 base) public payable whenBatch1Open() whenBatch2Open() whenBatch3Open() {
        require(base >= 1 && base <= 4,                                 "METAMONZ: Base must be 1, 2, 3 or 4");
        require(num <= BATCH_3_MAX_MINT,                                "METAMONZ: You can only mint BATCH_3_MAX_MINT METAMONZ");
        require(balanceOf(msg.sender) + num <= MAX_AMOUNT_PER_WALLET,   "METAMONZ: You can only hold MAX_AMOUNT_PER_WALLET METAMONZ per wallet");
        require(BATCH_3_MINTED + num <= BATCH_3_AMOUNT,                 "METAMONZ: Exceeds maximum METAMONZ for Batch 3");
        require(msg.value >= BATCH_3_PRICE * num,                       "METAMONZ: Ether sent is too less");
        
        uint256 supply = totalSupply();
        
        for(uint256 i; i < num; i++) {
            BATCH_3_MINTED += 1;
            
            _bases[supply + i] = base;
            
            _safeMint(msg.sender, supply + i);
        }
    }

    // GIVEAWAY
    // BASE: 1 = FIRE, 2 = WATER, 3 = DARK, 4 = CYBORG
    function giveAway(address _to, uint256 base) external onlyOwner {
        require(base >= 1 && base <= 4,                                 "METAMONZ: Base must be 1, 2, 3 or 4");
        require(GIVEAWAY_MINTED < GIVEAWAY_AMOUNT,                      "METAMONZ: All giveaway NFTs have been minted");
        GIVEAWAY_MINTED += 1;
        uint256 supply = totalSupply();
        
        _bases[supply] = base;
        
        _safeMint(_to, supply);
        
        emit Giveaway(msg.sender, _to);
    }
    
    // SET WHITELIST FOR BATCH 2
    function setBatch2Whitelist(address[] calldata _addresses) external onlyOwner {
        for(uint256 i; i < _addresses.length; i++) {
            _batch_2_minters[_addresses[i]] = true;
        }
    }
    
    // CHECK WHITELISTE
    function isBatch2Allowed(address account) public view returns (bool) {
        return _batch_2_minters[account];
    }
    
    // ENABLE/DISABLE WHITELIST
    function setIsBatch2Whitelist(bool state) public onlyOwner {
        IS_BATCH_2_WHITELISTE = state;
    }
    
    // SET BATCH 1 MINT PRICE
    function setBatch1MintPrice(uint256 price) public onlyOwner {
        BATCH_1_PRICE = price;
        emit Batch1PriceSet(msg.sender, price);
    }
    
    // SET BATCH 2 MINT PRICE
    function setBatch2MintPrice(uint256 price) public onlyOwner {
        BATCH_2_PRICE = price;
        emit Batch2PriceSet(msg.sender, price);
    }
    
    // SET BATCH 3 MINT PRICE
    function setBatch3MintPrice(uint256 price) public onlyOwner {
        BATCH_3_PRICE = price;
        emit Batch3PriceSet(msg.sender, price);
    }
    
    // SET BATCH 1 MAXIMUM MINT AMOUNT
    function setBatch1MaxMint(uint256 max) public onlyOwner {
        BATCH_1_MAX_MINT = max;
        emit Batch1MaxMintSet(msg.sender, max);
    }
    
    // SET BATCH 2 MAXIMUM MINT AMOUNT
    function setBatch2MaxMint(uint256 max) public onlyOwner {
        BATCH_2_MAX_MINT = max;
        emit Batch2MaxMintSet(msg.sender, max);
    }
    
    // SET BATCH 3 MAXIMUM MINT AMOUNT
    function setBatch3MaxMint(uint256 max) public onlyOwner {
        BATCH_3_MAX_MINT = max;
        emit Batch3MaxMintSet(msg.sender, max);
    }
    
    // OPEN BATCH 1 MINT
    function openBatch1() public onlyOwner {
        BATCH_1_OPEN = true;
        emit Batch1Open(msg.sender);
    }
    
    // OPEN BATCH 2 MINT
    function openBatch2() public onlyOwner {
        BATCH_2_OPEN = true;
        emit Batch1Open(msg.sender);
    }
    
    // OPEN BATCH 3 MINT
    function openBatch3() public onlyOwner {
        BATCH_3_OPEN = true;
        emit Batch1Open(msg.sender);
    }
    
    // SET MAXIMUM NFTS AMOUNT PER WALLET
    function setMaximumPerWallet(uint256 max) public onlyOwner {
        MAX_AMOUNT_PER_WALLET = max;
        emit MaximumPerWalletSet(msg.sender, max);
    }

    // GET BASE OF NFT
    // BASE: 1 = FIRE, 2 = WATER, 3 = DARK, 4 = CYBORG
    function getBase(uint256 tokenId) public view returns (uint256) {
        return _bases[tokenId];
    }

    // SET BASE URI
    function setBaseURI(string memory fire, string memory water, string memory dark, string memory cyborg) public onlyOwner {
        _baseTokenURI_fire = fire;
        _baseTokenURI_water = water;
        _baseTokenURI_dark = dark;
        _baseTokenURI_cyborg = cyborg;
    }

    // GET TOKEN URI FOR METADATA
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "METAMONZ: URI query for nonexistent token");

        uint256 base = getBase(tokenId);
        
        string memory baseURI = "";
        
        if (base == 1) {
           baseURI = getBaseURIFire();
        } else if (base == 2) {
           baseURI = getBaseURIWater();
        } else if (base == 3) {
           baseURI = getBaseURIDark();
        } else if (base == 4) {
           baseURI = getBaseURICyborg();
        }

        string memory json = ".json";
        
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString(), json))
            : '';
    }

    // GET BASE URI FIRE
    function getBaseURIFire() public view returns (string memory) {
        return _baseTokenURI_fire;
    }
    
    // GET BASE URI WATER
    function getBaseURIWater() public view returns (string memory) {
        return _baseTokenURI_water;
    }
    
    // GET BASE URI DARK
    function getBaseURIDark() public view returns (string memory) {
        return _baseTokenURI_dark;
    }
    
    // GET BASE URI CYBORG
    function getBaseURICyborg() public view returns (string memory) {
        return _baseTokenURI_cyborg;
    }
        
    // WITHDRAW    
    function withdraw() external onlyOwner {
        sendEth(owner(), address(this).balance);
    }
    
    // SEND ETHER
    function sendEth(address to, uint amount) internal {
        (bool success,) = to.call{value: amount}("");
        require(success, "Failed to send ether");
    }
    
    // SUPPORTS INTERFACE
    function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable, AccessControl) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
    
}

File 2 of 17 : 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 3 of 17 : 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 4 of 17 : 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 5 of 17 : 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 6 of 17 : 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 7 of 17 : 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 8 of 17 : 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 9 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 11 of 17 : 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 17 : 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 17 : 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 17 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 15 of 17 : 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);
    }
}

File 16 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 17 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 1500
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"max","type":"uint256"}],"name":"Batch1MaxMintSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Batch1Open","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Batch1PriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"max","type":"uint256"}],"name":"Batch2MaxMintSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Batch2Open","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Batch2PriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"max","type":"uint256"}],"name":"Batch3MaxMintSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Batch3Open","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Batch3PriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Giveaway","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"max","type":"uint256"}],"name":"MaximumPerWalletSet","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"BATCH_1_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_1_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_1_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_1_OPEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_1_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_2_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_2_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_2_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_2_OPEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_2_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_3_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_3_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_3_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_3_OPEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BATCH_3_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIVEAWAY_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIVEAWAY_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_BATCH_2_WHITELISTE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_AMOUNT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_NFTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"getBase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURICyborg","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURIDark","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURIFire","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURIWater","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"base","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"isBatch2Allowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint256","name":"base","type":"uint256"}],"name":"mint_batch_1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint256","name":"base","type":"uint256"}],"name":"mint_batch_2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint256","name":"base","type":"uint256"}],"name":"mint_batch_3","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openBatch1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openBatch2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openBatch3","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"fire","type":"string"},{"internalType":"string","name":"water","type":"string"},{"internalType":"string","name":"dark","type":"string"},{"internalType":"string","name":"cyborg","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setBatch1MaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setBatch1MintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setBatch2MaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setBatch2MintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setBatch2Whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setBatch3MaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setBatch3MintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setIsBatch2Whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaximumPerWallet","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6701118f178fb48000600c819055600d5567013fbe85edc90000600e55600f805460ff19166001179055600060118190556012818155601382905560148290556006601581905560165560096017556018805462ffffff1916905560195560a0604081905260808290526200007891601a9190620001bc565b506040805160208101918290526000908190526200009991601b91620001bc565b50604080516020810191829052600090819052620000ba91601c91620001bc565b50604080516020810191829052600090819052620000db91601d91620001bc565b50348015620000e957600080fd5b5060408051808201825260088082526726a2aa20a6a7a72d60c11b6020808401828152855180870190965292855284015281519192916200012d91600091620001bc565b50805162000143906001906020840190620001bc565b505050620001606200015a6200016660201b60201c565b6200016a565b6200029f565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001ca9062000262565b90600052602060002090601f016020900481019282620001ee576000855562000239565b82601f106200020957805160ff191683800117855562000239565b8280016001018555821562000239579182015b82811115620002395782518255916020019190600101906200021c565b50620002479291506200024b565b5090565b5b808211156200024757600081556001016200024c565b600181811c908216806200027757607f821691505b602082108114156200029957634e487b7160e01b600052602260045260246000fd5b50919050565b6142db80620002af6000396000f3fe60806040526004361061044e5760003560e01c806375a1ce9c11610243578063b88d4fde11610143578063d547741f116100bb578063e82f556a1161008a578063ee54583e1161006f578063ee54583e14610c13578063f2fde38b14610c29578063ff6e208b14610c4957600080fd5b8063e82f556a14610bb7578063e985e9c514610bca57600080fd5b8063d547741f14610b4c578063d62ca07114610b6c578063d6a5c82e14610b82578063e5f7fd7514610ba257600080fd5b8063c87b56dd11610112578063cdf6eb54116100f7578063cdf6eb5414610b03578063d062017a14610b16578063d495585314610b2c57600080fd5b8063c87b56dd14610ac3578063ca80014414610ae357600080fd5b8063b88d4fde14610a58578063be6e62f914610a78578063c11a122914610a98578063c4d88c7414610aad57600080fd5b806395d89b41116101d6578063a2df9df5116101a5578063a8e2126c1161018a578063a8e2126c14610a03578063b14bd9cd14610a18578063b278cc4a14610a2b57600080fd5b8063a2df9df5146109ce578063a2e575a2146109e457600080fd5b806395d89b411461094b5780639c1f33bd14610960578063a217fddf14610999578063a22cb465146109ae57600080fd5b80638da5cb5b116102125780638da5cb5b146108ad57806391d14854146108cb578063934abb3414610911578063939baa0b1461092b57600080fd5b806375a1ce9c14610842578063792f9c6c1461085857806381b831b3146108785780638b6504751461088d57600080fd5b806332a157781161034e5780634d7cea16116102e15780635cb0a954116102b057806366b138da1161029557806366b138da146107ed57806370a082311461080d578063715018a61461082d57600080fd5b80635cb0a954146107ad5780636352211e146107cd57600080fd5b80634d7cea161461074b5780634f6ccce71461076157806357a49516146107815780635963afb91461079757600080fd5b80633ccfd60b1161031d5780633ccfd60b146106e6578063410c7d0a146106fb57806342842e0e1461071157806349364aed1461073157600080fd5b806332a157781461068657806336568abe1461069b5780633b3c1ead146106bb5780633b8cb15f146106d157600080fd5b80631ed99df7116103e157806325c5bcd3116103b057806329a7ec2c1161039557806329a7ec2c146106305780632f2ff15d146106465780632f745c591461066657600080fd5b806325c5bcd3146105fa578063281d5b711461061a57600080fd5b80631ed99df71461057457806323b872dd1461059457806324722636146105b4578063248a9ca3146105ca57600080fd5b8063082f75781161041d578063082f7578146104fe578063095ea7b314610520578063120fe8061461054057806318160ddd1461055557600080fd5b806301ffc9a71461045a57806303a589bd1461048f57806306fdde03146104b1578063081812fc146104c657600080fd5b3661045557005b600080fd5b34801561046657600080fd5b5061047a610475366004613be4565b610c5f565b60405190151581526020015b60405180910390f35b34801561049b57600080fd5b506104a4610c70565b6040516104869190613c59565b3480156104bd57600080fd5b506104a4610d02565b3480156104d257600080fd5b506104e66104e1366004613c6c565b610d11565b6040516001600160a01b039091168152602001610486565b34801561050a57600080fd5b5061051e610519366004613c6c565b610dbc565b005b34801561052c57600080fd5b5061051e61053b366004613ca1565b610e46565b34801561054c57600080fd5b5061051e610f78565b34801561056157600080fd5b506008545b604051908152602001610486565b34801561058057600080fd5b5061051e61058f366004613c6c565b611005565b3480156105a057600080fd5b5061051e6105af366004613ccb565b611088565b3480156105c057600080fd5b50610566600d5481565b3480156105d657600080fd5b506105666105e5366004613c6c565b6000908152600b602052604090206001015490565b34801561060657600080fd5b5061051e610615366004613c6c565b61110f565b34801561062657600080fd5b5061056660155481565b34801561063c57600080fd5b5061056660115481565b34801561065257600080fd5b5061051e610661366004613d07565b611192565b34801561067257600080fd5b50610566610681366004613ca1565b6111b8565b34801561069257600080fd5b5061051e611260565b3480156106a757600080fd5b5061051e6106b6366004613d07565b6112e5565b3480156106c757600080fd5b5061056660125481565b3480156106dd57600080fd5b506104a4611371565b3480156106f257600080fd5b5061051e611380565b34801561070757600080fd5b506105666103e881565b34801561071d57600080fd5b5061051e61072c366004613ccb565b6113e5565b34801561073d57600080fd5b5060185461047a9060ff1681565b34801561075757600080fd5b5061056660145481565b34801561076d57600080fd5b5061056661077c366004613c6c565b611400565b34801561078d57600080fd5b50610566600e5481565b3480156107a357600080fd5b5061056660165481565b3480156107b957600080fd5b5061051e6107c8366004613d43565b6114a4565b3480156107d957600080fd5b506104e66107e8366004613c6c565b6114ff565b3480156107f957600080fd5b5061051e610808366004613c6c565b61158a565b34801561081957600080fd5b50610566610828366004613d5e565b61160d565b34801561083957600080fd5b5061051e6116a7565b34801561084e57600080fd5b5061056660175481565b34801561086457600080fd5b5061051e610873366004613d79565b6116f9565b34801561088457600080fd5b5061051e6117b3565b34801561089957600080fd5b5060185461047a9062010000900460ff1681565b3480156108b957600080fd5b50600a546001600160a01b03166104e6565b3480156108d757600080fd5b5061047a6108e6366004613d07565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561091d57600080fd5b50600f5461047a9060ff1681565b34801561093757600080fd5b5061051e610946366004613e9a565b61183c565b34801561095757600080fd5b506104a46118da565b34801561096c57600080fd5b5061047a61097b366004613d5e565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156109a557600080fd5b50610566600081565b3480156109ba57600080fd5b5061051e6109c9366004613f47565b6118e9565b3480156109da57600080fd5b5061056661270f81565b3480156109f057600080fd5b5060185461047a90610100900460ff1681565b348015610a0f57600080fd5b506104a46119ae565b61051e610a26366004613f71565b6119bd565b348015610a3757600080fd5b50610566610a46366004613c6c565b6000908152601e602052604090205490565b348015610a6457600080fd5b5061051e610a73366004613f93565b611de5565b348015610a8457600080fd5b5061051e610a93366004613c6c565b611e73565b348015610aa457600080fd5b5061056660c781565b348015610ab957600080fd5b5061056661096081565b348015610acf57600080fd5b506104a4610ade366004613c6c565b611ef6565b348015610aef57600080fd5b5061051e610afe366004613ca1565b612073565b61051e610b11366004613f71565b612219565b348015610b2257600080fd5b5061056660135481565b348015610b3857600080fd5b5061051e610b47366004613c6c565b6125e8565b348015610b5857600080fd5b5061051e610b67366004613d07565b61266b565b348015610b7857600080fd5b5061056660195481565b348015610b8e57600080fd5b5061051e610b9d366004613c6c565b612691565b348015610bae57600080fd5b506104a4612714565b61051e610bc5366004613f71565b612723565b348015610bd657600080fd5b5061047a610be5366004614003565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610c1f57600080fd5b50610566600c5481565b348015610c3557600080fd5b5061051e610c44366004613d5e565b612a43565b348015610c5557600080fd5b5061056661190081565b6000610c6a82612b13565b92915050565b6060601c8054610c7f9061402d565b80601f0160208091040260200160405190810160405280929190818152602001828054610cab9061402d565b8015610cf85780601f10610ccd57610100808354040283529160200191610cf8565b820191906000526020600020905b815481529060010190602001808311610cdb57829003601f168201915b5050505050905090565b606060008054610c7f9061402d565b6000818152600260205260408120546001600160a01b0316610da05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b03163314610e045760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601981905560408051338152602081018390527f39e4e101ae4fa41ec6faa9a951cb1c1edfaec6cf497c79b1baadf3aa1f1ac5a191015b60405180910390a150565b6000610e51826114ff565b9050806001600160a01b0316836001600160a01b03161415610edb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610d97565b336001600160a01b0382161480610ef75750610ef78133610be5565b610f695760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d97565b610f738383612b51565b505050565b600a546001600160a01b03163314610fc05760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6018805461ff0019166101001790556040513381527f1ba9171548ce18fbd8f172646d46655e23375aae33029d20b61f78a132f4b2e8906020015b60405180910390a1565b600a546001600160a01b0316331461104d5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600d81905560408051338152602081018390527f9f361bae98f2ffdf96effe74341ca559af2e9244f67c8a602af977f357ffb45c9101610e3b565b6110923382612bcc565b6111045760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610d97565b610f73838383612cd4565b600a546001600160a01b031633146111575760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600c81905560408051338152602081018390527f033717ec7c1d81f14dabafc3358c00647d589ab2eee973c415a6da0058d5e81f9101610e3b565b6000828152600b60205260409020600101546111ae8133612eb9565b610f738383612f39565b60006111c38361160d565b82106112375760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610d97565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146112a85760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6018805460ff191660011790556040513381527f1ba9171548ce18fbd8f172646d46655e23375aae33029d20b61f78a132f4b2e890602001610ffb565b6001600160a01b03811633146113635760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610d97565b61136d8282612fdb565b5050565b6060601b8054610c7f9061402d565b600a546001600160a01b031633146113c85760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6113e36113dd600a546001600160a01b031690565b4761305e565b565b610f7383838360405180602001604052806000815250611de5565b600061140b60085490565b821061147f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610d97565b6008828154811061149257611492614068565b90600052602060002001549050919050565b600a546001600160a01b031633146114ec5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600f805460ff1916911515919091179055565b6000818152600260205260408120546001600160a01b031680610c6a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610d97565b600a546001600160a01b031633146115d25760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601681905560408051338152602081018390527fa17bafc648df8963079cdc0ac2aff8770720fafe0256de6501a0c4092a5056ac9101610e3b565b60006001600160a01b03821661168b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610d97565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146116ef5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6113e36000613101565b600a546001600160a01b031633146117415760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b60005b81811015610f735760016010600085858581811061176457611764614068565b90506020020160208101906117799190613d5e565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806117ab81614094565b915050611744565b600a546001600160a01b031633146117fb5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6018805462ff00001916620100001790556040513381527f1ba9171548ce18fbd8f172646d46655e23375aae33029d20b61f78a132f4b2e890602001610ffb565b600a546001600160a01b031633146118845760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b835161189790601a906020870190613b35565b5082516118ab90601b906020860190613b35565b5081516118bf90601c906020850190613b35565b5080516118d390601d906020840190613b35565b5050505050565b606060018054610c7f9061402d565b6001600160a01b0382163314156119425760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d97565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060601a8054610c7f9061402d565b60185460ff16611a0f5760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b601854610100900460ff16611a665760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b600f54339060ff16151560011415611b06576001600160a01b03811660009081526010602052604090205460ff16611b065760405162461bcd60e51b815260206004820152603060248201527f4d4554414d4f4e5a3a206163636f756e74206973206e6f7420616c6c6f77656460448201527f20746f206d696e742042617463682032000000000000000000000000000000006064820152608401610d97565b60018210158015611b18575060048211155b611b705760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b601654831115611be85760405162461bcd60e51b815260206004820152603560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c79206d696e74204241544360448201527f485f325f4d41585f4d494e54204d4554414d4f4e5a00000000000000000000006064820152608401610d97565b60195483611bf53361160d565b611bff91906140af565b1115611c815760405162461bcd60e51b815260206004820152604560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c7920686f6c64204d41585f60448201527f414d4f554e545f5045525f57414c4c4554204d4554414d4f4e5a207065722077606482015264185b1b195d60da1b608482015260a401610d97565b61096083601254611c9291906140af565b1115611d065760405162461bcd60e51b815260206004820152602e60248201527f4d4554414d4f4e5a3a2045786365656473206d6178696d756d204d4554414d4f60448201527f4e5a20666f7220426174636820320000000000000000000000000000000000006064820152608401610d97565b82600d54611d1491906140c7565b341015611d635760405162461bcd60e51b815260206004820181905260248201527f4d4554414d4f4e5a3a2045746865722073656e7420697320746f6f206c6573736044820152606401610d97565b336000908152601060205260408120805460ff19169055600854905b848110156118d357600160126000828254611d9a91906140af565b90915550849050601e6000611daf84866140af565b8152602081019190915260400160002055611dd333611dce83856140af565b613160565b80611ddd81614094565b915050611d7f565b611def3383612bcc565b611e615760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610d97565b611e6d8484848461317a565b50505050565b600a546001600160a01b03163314611ebb5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600e81905560408051338152602081018390527fddbda617cae91f73183d4bf91cdc34f904bfbf54c443ca56e84d5b0d9daa2bd19101610e3b565b6000818152600260205260409020546060906001600160a01b0316611f835760405162461bcd60e51b815260206004820152602960248201527f4d4554414d4f4e5a3a2055524920717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610d97565b6000828152601e602090815260408083205481519283019091529181526001821415611fb857611fb16119ae565b9050611fee565b8160021415611fc957611fb1611371565b8160031415611fda57611fb1610c70565b8160041415611fee57611feb612714565b90505b60408051808201909152600581527f2e6a736f6e0000000000000000000000000000000000000000000000000000006020820152815161203d576040518060200160405280600081525061206a565b8161204786613203565b8260405160200161205a939291906140e6565b6040516020818303038152906040525b95945050505050565b600a546001600160a01b031633146120bb5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600181101580156120cd575060048111155b6121255760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b60c76014541061219d5760405162461bcd60e51b815260206004820152602c60248201527f4d4554414d4f4e5a3a20416c6c206769766561776179204e465473206861766560448201527f206265656e206d696e74656400000000000000000000000000000000000000006064820152608401610d97565b6001601460008282546121b091906140af565b90915550506008546000818152601e602052604090208290556121d38382613160565b604080513381526001600160a01b03851660208201527f32d0f6a9b53fa437eccbad8a9086a9afc07f9aa5bc0616ea8e610d4b390ed92a910160405180910390a1505050565b60185460ff1661226b5760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b601854610100900460ff166122c25760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b60185462010000900460ff1661231a5760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b6001811015801561232c575060048111155b6123845760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b6017548211156123fc5760405162461bcd60e51b815260206004820152603560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c79206d696e74204241544360448201527f485f335f4d41585f4d494e54204d4554414d4f4e5a00000000000000000000006064820152608401610d97565b601954826124093361160d565b61241391906140af565b11156124955760405162461bcd60e51b815260206004820152604560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c7920686f6c64204d41585f60448201527f414d4f554e545f5045525f57414c4c4554204d4554414d4f4e5a207065722077606482015264185b1b195d60da1b608482015260a401610d97565b611900826013546124a691906140af565b111561251a5760405162461bcd60e51b815260206004820152602e60248201527f4d4554414d4f4e5a3a2045786365656473206d6178696d756d204d4554414d4f60448201527f4e5a20666f7220426174636820330000000000000000000000000000000000006064820152608401610d97565b81600e5461252891906140c7565b3410156125775760405162461bcd60e51b815260206004820181905260248201527f4d4554414d4f4e5a3a2045746865722073656e7420697320746f6f206c6573736044820152606401610d97565b600061258260085490565b905060005b83811015611e6d576001601360008282546125a291906140af565b90915550839050601e60006125b784866140af565b81526020810191909152604001600020556125d633611dce83856140af565b806125e081614094565b915050612587565b600a546001600160a01b031633146126305760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601781905560408051338152602081018390527fdd61fbc006ebcc62d62b5eb029117c328abc538b5fd424cb735d7ad4439a60f69101610e3b565b6000828152600b60205260409020600101546126878133612eb9565b610f738383612fdb565b600a546001600160a01b031633146126d95760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601581905560408051338152602081018390527f9785f371a13ccd7471357ec4b714a851f3f7f3b7634a2d6000eb93a1b76b4e709101610e3b565b6060601d8054610c7f9061402d565b60185460ff166127755760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b60018110158015612787575060048111155b6127df5760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b6015548211156128575760405162461bcd60e51b815260206004820152603560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c79206d696e74204241544360448201527f485f315f4d41585f4d494e54204d4554414d4f4e5a00000000000000000000006064820152608401610d97565b601954826128643361160d565b61286e91906140af565b11156128f05760405162461bcd60e51b815260206004820152604560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c7920686f6c64204d41585f60448201527f414d4f554e545f5045525f57414c4c4554204d4554414d4f4e5a207065722077606482015264185b1b195d60da1b608482015260a401610d97565b6103e88260115461290191906140af565b11156129755760405162461bcd60e51b815260206004820152602e60248201527f4d4554414d4f4e5a3a2045786365656473206d6178696d756d204d4554414d4f60448201527f4e5a20666f7220426174636820310000000000000000000000000000000000006064820152608401610d97565b81600c5461298391906140c7565b3410156129d25760405162461bcd60e51b815260206004820181905260248201527f4d4554414d4f4e5a3a2045746865722073656e7420697320746f6f206c6573736044820152606401610d97565b60006129dd60085490565b905060005b83811015611e6d576001601160008282546129fd91906140af565b90915550839050601e6000612a1284866140af565b8152602081019190915260400160002055612a3133611dce83856140af565b80612a3b81614094565b9150506129e2565b600a546001600160a01b03163314612a8b5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6001600160a01b038116612b075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d97565b612b1081613101565b50565b60006001600160e01b031982167f7965db0b000000000000000000000000000000000000000000000000000000001480610c6a5750610c6a82613301565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190612b93826114ff565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612c565760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610d97565b6000612c61836114ff565b9050806001600160a01b0316846001600160a01b03161480612c9c5750836001600160a01b0316612c9184610d11565b6001600160a01b0316145b80612ccc57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612ce7826114ff565b6001600160a01b031614612d635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610d97565b6001600160a01b038216612dde5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610d97565b612de983838361333f565b612df4600082612b51565b6001600160a01b0383166000908152600360205260408120805460019290612e1d908490614129565b90915550506001600160a01b0382166000908152600360205260408120805460019290612e4b9084906140af565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1661136d57612ef7816001600160a01b031660146133f7565b612f028360206133f7565b604051602001612f13929190614140565b60408051601f198184030181529082905262461bcd60e51b8252610d9791600401613c59565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1661136d576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055612f973390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff161561136d576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146130ab576040519150601f19603f3d011682016040523d82523d6000602084013e6130b0565b606091505b5050905080610f735760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642065746865720000000000000000000000006044820152606401610d97565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61136d8282604051806020016040528060008152506135c3565b613185848484612cd4565b6131918484848461364c565b611e6d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610d97565b6060816132275750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613251578061323b81614094565b915061324a9050600a836141d7565b915061322b565b60008167ffffffffffffffff81111561326c5761326c613dee565b6040519080825280601f01601f191660200182016040528015613296576020820181803683370190505b5090505b8415612ccc576132ab600183614129565b91506132b8600a866141eb565b6132c39060306140af565b60f81b8183815181106132d8576132d8614068565b60200101906001600160f81b031916908160001a9053506132fa600a866141d7565b945061329a565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610c6a5750610c6a826137af565b6001600160a01b03831661339a5761339581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6133bd565b816001600160a01b0316836001600160a01b0316146133bd576133bd838261384a565b6001600160a01b0382166133d457610f73816138e7565b826001600160a01b0316826001600160a01b031614610f7357610f738282613996565b606060006134068360026140c7565b6134119060026140af565b67ffffffffffffffff81111561342957613429613dee565b6040519080825280601f01601f191660200182016040528015613453576020820181803683370190505b509050600360fc1b8160008151811061346e5761346e614068565b60200101906001600160f81b031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106134b9576134b9614068565b60200101906001600160f81b031916908160001a90535060006134dd8460026140c7565b6134e89060016140af565b90505b600181111561356d577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061352957613529614068565b1a60f81b82828151811061353f5761353f614068565b60200101906001600160f81b031916908160001a90535060049490941c93613566816141ff565b90506134eb565b5083156135bc5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610d97565b9392505050565b6135cd83836139da565b6135da600084848461364c565b610f735760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610d97565b60006001600160a01b0384163b156137a457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613690903390899088908890600401614216565b602060405180830381600087803b1580156136aa57600080fd5b505af19250505080156136da575060408051601f3d908101601f191682019092526136d791810190614252565b60015b61378a573d808015613708576040519150601f19603f3d011682016040523d82523d6000602084013e61370d565b606091505b5080516137825760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610d97565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612ccc565b506001949350505050565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061381257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c6a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610c6a565b600060016138578461160d565b6138619190614129565b6000838152600760205260409020549091508082146138b4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906138f990600190614129565b6000838152600960205260408120546008805493945090928490811061392157613921614068565b90600052602060002001549050806008838154811061394257613942614068565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061397a5761397a61426f565b6001900381819060005260206000200160009055905550505050565b60006139a18361160d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216613a305760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d97565b6000818152600260205260409020546001600160a01b031615613a955760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d97565b613aa16000838361333f565b6001600160a01b0382166000908152600360205260408120805460019290613aca9084906140af565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613b419061402d565b90600052602060002090601f016020900481019282613b635760008555613ba9565b82601f10613b7c57805160ff1916838001178555613ba9565b82800160010185558215613ba9579182015b82811115613ba9578251825591602001919060010190613b8e565b50613bb5929150613bb9565b5090565b5b80821115613bb55760008155600101613bba565b6001600160e01b031981168114612b1057600080fd5b600060208284031215613bf657600080fd5b81356135bc81613bce565b60005b83811015613c1c578181015183820152602001613c04565b83811115611e6d5750506000910152565b60008151808452613c45816020860160208601613c01565b601f01601f19169290920160200192915050565b6020815260006135bc6020830184613c2d565b600060208284031215613c7e57600080fd5b5035919050565b80356001600160a01b0381168114613c9c57600080fd5b919050565b60008060408385031215613cb457600080fd5b613cbd83613c85565b946020939093013593505050565b600080600060608486031215613ce057600080fd5b613ce984613c85565b9250613cf760208501613c85565b9150604084013590509250925092565b60008060408385031215613d1a57600080fd5b82359150613d2a60208401613c85565b90509250929050565b80358015158114613c9c57600080fd5b600060208284031215613d5557600080fd5b6135bc82613d33565b600060208284031215613d7057600080fd5b6135bc82613c85565b60008060208385031215613d8c57600080fd5b823567ffffffffffffffff80821115613da457600080fd5b818501915085601f830112613db857600080fd5b813581811115613dc757600080fd5b8660208260051b8501011115613ddc57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115613e1f57613e1f613dee565b604051601f8501601f19908116603f01168101908282118183101715613e4757613e47613dee565b81604052809350858152868686011115613e6057600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112613e8b57600080fd5b6135bc83833560208501613e04565b60008060008060808587031215613eb057600080fd5b843567ffffffffffffffff80821115613ec857600080fd5b613ed488838901613e7a565b95506020870135915080821115613eea57600080fd5b613ef688838901613e7a565b94506040870135915080821115613f0c57600080fd5b613f1888838901613e7a565b93506060870135915080821115613f2e57600080fd5b50613f3b87828801613e7a565b91505092959194509250565b60008060408385031215613f5a57600080fd5b613f6383613c85565b9150613d2a60208401613d33565b60008060408385031215613f8457600080fd5b50508035926020909101359150565b60008060008060808587031215613fa957600080fd5b613fb285613c85565b9350613fc060208601613c85565b925060408501359150606085013567ffffffffffffffff811115613fe357600080fd5b8501601f81018713613ff457600080fd5b613f3b87823560208401613e04565b6000806040838503121561401657600080fd5b61401f83613c85565b9150613d2a60208401613c85565b600181811c9082168061404157607f821691505b6020821081141561406257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156140a8576140a861407e565b5060010190565b600082198211156140c2576140c261407e565b500190565b60008160001904831182151516156140e1576140e161407e565b500290565b600084516140f8818460208901613c01565b84519083019061410c818360208901613c01565b845191019061411f818360208801613c01565b0195945050505050565b60008282101561413b5761413b61407e565b500390565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351614178816017850160208801613c01565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516141b5816028840160208801613c01565b01602801949350505050565b634e487b7160e01b600052601260045260246000fd5b6000826141e6576141e66141c1565b500490565b6000826141fa576141fa6141c1565b500690565b60008161420e5761420e61407e565b506000190190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526142486080830184613c2d565b9695505050505050565b60006020828403121561426457600080fd5b81516135bc81613bce565b634e487b7160e01b600052603160045260246000fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220b63309dccded370a09e6bad005f93bf9238dcd9b7bcf2df0874455cb5767229264736f6c63430008090033

Deployed Bytecode

0x60806040526004361061044e5760003560e01c806375a1ce9c11610243578063b88d4fde11610143578063d547741f116100bb578063e82f556a1161008a578063ee54583e1161006f578063ee54583e14610c13578063f2fde38b14610c29578063ff6e208b14610c4957600080fd5b8063e82f556a14610bb7578063e985e9c514610bca57600080fd5b8063d547741f14610b4c578063d62ca07114610b6c578063d6a5c82e14610b82578063e5f7fd7514610ba257600080fd5b8063c87b56dd11610112578063cdf6eb54116100f7578063cdf6eb5414610b03578063d062017a14610b16578063d495585314610b2c57600080fd5b8063c87b56dd14610ac3578063ca80014414610ae357600080fd5b8063b88d4fde14610a58578063be6e62f914610a78578063c11a122914610a98578063c4d88c7414610aad57600080fd5b806395d89b41116101d6578063a2df9df5116101a5578063a8e2126c1161018a578063a8e2126c14610a03578063b14bd9cd14610a18578063b278cc4a14610a2b57600080fd5b8063a2df9df5146109ce578063a2e575a2146109e457600080fd5b806395d89b411461094b5780639c1f33bd14610960578063a217fddf14610999578063a22cb465146109ae57600080fd5b80638da5cb5b116102125780638da5cb5b146108ad57806391d14854146108cb578063934abb3414610911578063939baa0b1461092b57600080fd5b806375a1ce9c14610842578063792f9c6c1461085857806381b831b3146108785780638b6504751461088d57600080fd5b806332a157781161034e5780634d7cea16116102e15780635cb0a954116102b057806366b138da1161029557806366b138da146107ed57806370a082311461080d578063715018a61461082d57600080fd5b80635cb0a954146107ad5780636352211e146107cd57600080fd5b80634d7cea161461074b5780634f6ccce71461076157806357a49516146107815780635963afb91461079757600080fd5b80633ccfd60b1161031d5780633ccfd60b146106e6578063410c7d0a146106fb57806342842e0e1461071157806349364aed1461073157600080fd5b806332a157781461068657806336568abe1461069b5780633b3c1ead146106bb5780633b8cb15f146106d157600080fd5b80631ed99df7116103e157806325c5bcd3116103b057806329a7ec2c1161039557806329a7ec2c146106305780632f2ff15d146106465780632f745c591461066657600080fd5b806325c5bcd3146105fa578063281d5b711461061a57600080fd5b80631ed99df71461057457806323b872dd1461059457806324722636146105b4578063248a9ca3146105ca57600080fd5b8063082f75781161041d578063082f7578146104fe578063095ea7b314610520578063120fe8061461054057806318160ddd1461055557600080fd5b806301ffc9a71461045a57806303a589bd1461048f57806306fdde03146104b1578063081812fc146104c657600080fd5b3661045557005b600080fd5b34801561046657600080fd5b5061047a610475366004613be4565b610c5f565b60405190151581526020015b60405180910390f35b34801561049b57600080fd5b506104a4610c70565b6040516104869190613c59565b3480156104bd57600080fd5b506104a4610d02565b3480156104d257600080fd5b506104e66104e1366004613c6c565b610d11565b6040516001600160a01b039091168152602001610486565b34801561050a57600080fd5b5061051e610519366004613c6c565b610dbc565b005b34801561052c57600080fd5b5061051e61053b366004613ca1565b610e46565b34801561054c57600080fd5b5061051e610f78565b34801561056157600080fd5b506008545b604051908152602001610486565b34801561058057600080fd5b5061051e61058f366004613c6c565b611005565b3480156105a057600080fd5b5061051e6105af366004613ccb565b611088565b3480156105c057600080fd5b50610566600d5481565b3480156105d657600080fd5b506105666105e5366004613c6c565b6000908152600b602052604090206001015490565b34801561060657600080fd5b5061051e610615366004613c6c565b61110f565b34801561062657600080fd5b5061056660155481565b34801561063c57600080fd5b5061056660115481565b34801561065257600080fd5b5061051e610661366004613d07565b611192565b34801561067257600080fd5b50610566610681366004613ca1565b6111b8565b34801561069257600080fd5b5061051e611260565b3480156106a757600080fd5b5061051e6106b6366004613d07565b6112e5565b3480156106c757600080fd5b5061056660125481565b3480156106dd57600080fd5b506104a4611371565b3480156106f257600080fd5b5061051e611380565b34801561070757600080fd5b506105666103e881565b34801561071d57600080fd5b5061051e61072c366004613ccb565b6113e5565b34801561073d57600080fd5b5060185461047a9060ff1681565b34801561075757600080fd5b5061056660145481565b34801561076d57600080fd5b5061056661077c366004613c6c565b611400565b34801561078d57600080fd5b50610566600e5481565b3480156107a357600080fd5b5061056660165481565b3480156107b957600080fd5b5061051e6107c8366004613d43565b6114a4565b3480156107d957600080fd5b506104e66107e8366004613c6c565b6114ff565b3480156107f957600080fd5b5061051e610808366004613c6c565b61158a565b34801561081957600080fd5b50610566610828366004613d5e565b61160d565b34801561083957600080fd5b5061051e6116a7565b34801561084e57600080fd5b5061056660175481565b34801561086457600080fd5b5061051e610873366004613d79565b6116f9565b34801561088457600080fd5b5061051e6117b3565b34801561089957600080fd5b5060185461047a9062010000900460ff1681565b3480156108b957600080fd5b50600a546001600160a01b03166104e6565b3480156108d757600080fd5b5061047a6108e6366004613d07565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561091d57600080fd5b50600f5461047a9060ff1681565b34801561093757600080fd5b5061051e610946366004613e9a565b61183c565b34801561095757600080fd5b506104a46118da565b34801561096c57600080fd5b5061047a61097b366004613d5e565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156109a557600080fd5b50610566600081565b3480156109ba57600080fd5b5061051e6109c9366004613f47565b6118e9565b3480156109da57600080fd5b5061056661270f81565b3480156109f057600080fd5b5060185461047a90610100900460ff1681565b348015610a0f57600080fd5b506104a46119ae565b61051e610a26366004613f71565b6119bd565b348015610a3757600080fd5b50610566610a46366004613c6c565b6000908152601e602052604090205490565b348015610a6457600080fd5b5061051e610a73366004613f93565b611de5565b348015610a8457600080fd5b5061051e610a93366004613c6c565b611e73565b348015610aa457600080fd5b5061056660c781565b348015610ab957600080fd5b5061056661096081565b348015610acf57600080fd5b506104a4610ade366004613c6c565b611ef6565b348015610aef57600080fd5b5061051e610afe366004613ca1565b612073565b61051e610b11366004613f71565b612219565b348015610b2257600080fd5b5061056660135481565b348015610b3857600080fd5b5061051e610b47366004613c6c565b6125e8565b348015610b5857600080fd5b5061051e610b67366004613d07565b61266b565b348015610b7857600080fd5b5061056660195481565b348015610b8e57600080fd5b5061051e610b9d366004613c6c565b612691565b348015610bae57600080fd5b506104a4612714565b61051e610bc5366004613f71565b612723565b348015610bd657600080fd5b5061047a610be5366004614003565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610c1f57600080fd5b50610566600c5481565b348015610c3557600080fd5b5061051e610c44366004613d5e565b612a43565b348015610c5557600080fd5b5061056661190081565b6000610c6a82612b13565b92915050565b6060601c8054610c7f9061402d565b80601f0160208091040260200160405190810160405280929190818152602001828054610cab9061402d565b8015610cf85780601f10610ccd57610100808354040283529160200191610cf8565b820191906000526020600020905b815481529060010190602001808311610cdb57829003601f168201915b5050505050905090565b606060008054610c7f9061402d565b6000818152600260205260408120546001600160a01b0316610da05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b03163314610e045760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601981905560408051338152602081018390527f39e4e101ae4fa41ec6faa9a951cb1c1edfaec6cf497c79b1baadf3aa1f1ac5a191015b60405180910390a150565b6000610e51826114ff565b9050806001600160a01b0316836001600160a01b03161415610edb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610d97565b336001600160a01b0382161480610ef75750610ef78133610be5565b610f695760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d97565b610f738383612b51565b505050565b600a546001600160a01b03163314610fc05760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6018805461ff0019166101001790556040513381527f1ba9171548ce18fbd8f172646d46655e23375aae33029d20b61f78a132f4b2e8906020015b60405180910390a1565b600a546001600160a01b0316331461104d5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600d81905560408051338152602081018390527f9f361bae98f2ffdf96effe74341ca559af2e9244f67c8a602af977f357ffb45c9101610e3b565b6110923382612bcc565b6111045760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610d97565b610f73838383612cd4565b600a546001600160a01b031633146111575760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600c81905560408051338152602081018390527f033717ec7c1d81f14dabafc3358c00647d589ab2eee973c415a6da0058d5e81f9101610e3b565b6000828152600b60205260409020600101546111ae8133612eb9565b610f738383612f39565b60006111c38361160d565b82106112375760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610d97565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146112a85760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6018805460ff191660011790556040513381527f1ba9171548ce18fbd8f172646d46655e23375aae33029d20b61f78a132f4b2e890602001610ffb565b6001600160a01b03811633146113635760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610d97565b61136d8282612fdb565b5050565b6060601b8054610c7f9061402d565b600a546001600160a01b031633146113c85760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6113e36113dd600a546001600160a01b031690565b4761305e565b565b610f7383838360405180602001604052806000815250611de5565b600061140b60085490565b821061147f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610d97565b6008828154811061149257611492614068565b90600052602060002001549050919050565b600a546001600160a01b031633146114ec5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600f805460ff1916911515919091179055565b6000818152600260205260408120546001600160a01b031680610c6a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610d97565b600a546001600160a01b031633146115d25760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601681905560408051338152602081018390527fa17bafc648df8963079cdc0ac2aff8770720fafe0256de6501a0c4092a5056ac9101610e3b565b60006001600160a01b03821661168b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610d97565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146116ef5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6113e36000613101565b600a546001600160a01b031633146117415760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b60005b81811015610f735760016010600085858581811061176457611764614068565b90506020020160208101906117799190613d5e565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806117ab81614094565b915050611744565b600a546001600160a01b031633146117fb5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6018805462ff00001916620100001790556040513381527f1ba9171548ce18fbd8f172646d46655e23375aae33029d20b61f78a132f4b2e890602001610ffb565b600a546001600160a01b031633146118845760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b835161189790601a906020870190613b35565b5082516118ab90601b906020860190613b35565b5081516118bf90601c906020850190613b35565b5080516118d390601d906020840190613b35565b5050505050565b606060018054610c7f9061402d565b6001600160a01b0382163314156119425760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d97565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060601a8054610c7f9061402d565b60185460ff16611a0f5760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b601854610100900460ff16611a665760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b600f54339060ff16151560011415611b06576001600160a01b03811660009081526010602052604090205460ff16611b065760405162461bcd60e51b815260206004820152603060248201527f4d4554414d4f4e5a3a206163636f756e74206973206e6f7420616c6c6f77656460448201527f20746f206d696e742042617463682032000000000000000000000000000000006064820152608401610d97565b60018210158015611b18575060048211155b611b705760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b601654831115611be85760405162461bcd60e51b815260206004820152603560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c79206d696e74204241544360448201527f485f325f4d41585f4d494e54204d4554414d4f4e5a00000000000000000000006064820152608401610d97565b60195483611bf53361160d565b611bff91906140af565b1115611c815760405162461bcd60e51b815260206004820152604560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c7920686f6c64204d41585f60448201527f414d4f554e545f5045525f57414c4c4554204d4554414d4f4e5a207065722077606482015264185b1b195d60da1b608482015260a401610d97565b61096083601254611c9291906140af565b1115611d065760405162461bcd60e51b815260206004820152602e60248201527f4d4554414d4f4e5a3a2045786365656473206d6178696d756d204d4554414d4f60448201527f4e5a20666f7220426174636820320000000000000000000000000000000000006064820152608401610d97565b82600d54611d1491906140c7565b341015611d635760405162461bcd60e51b815260206004820181905260248201527f4d4554414d4f4e5a3a2045746865722073656e7420697320746f6f206c6573736044820152606401610d97565b336000908152601060205260408120805460ff19169055600854905b848110156118d357600160126000828254611d9a91906140af565b90915550849050601e6000611daf84866140af565b8152602081019190915260400160002055611dd333611dce83856140af565b613160565b80611ddd81614094565b915050611d7f565b611def3383612bcc565b611e615760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610d97565b611e6d8484848461317a565b50505050565b600a546001600160a01b03163314611ebb5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600e81905560408051338152602081018390527fddbda617cae91f73183d4bf91cdc34f904bfbf54c443ca56e84d5b0d9daa2bd19101610e3b565b6000818152600260205260409020546060906001600160a01b0316611f835760405162461bcd60e51b815260206004820152602960248201527f4d4554414d4f4e5a3a2055524920717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610d97565b6000828152601e602090815260408083205481519283019091529181526001821415611fb857611fb16119ae565b9050611fee565b8160021415611fc957611fb1611371565b8160031415611fda57611fb1610c70565b8160041415611fee57611feb612714565b90505b60408051808201909152600581527f2e6a736f6e0000000000000000000000000000000000000000000000000000006020820152815161203d576040518060200160405280600081525061206a565b8161204786613203565b8260405160200161205a939291906140e6565b6040516020818303038152906040525b95945050505050565b600a546001600160a01b031633146120bb5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b600181101580156120cd575060048111155b6121255760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b60c76014541061219d5760405162461bcd60e51b815260206004820152602c60248201527f4d4554414d4f4e5a3a20416c6c206769766561776179204e465473206861766560448201527f206265656e206d696e74656400000000000000000000000000000000000000006064820152608401610d97565b6001601460008282546121b091906140af565b90915550506008546000818152601e602052604090208290556121d38382613160565b604080513381526001600160a01b03851660208201527f32d0f6a9b53fa437eccbad8a9086a9afc07f9aa5bc0616ea8e610d4b390ed92a910160405180910390a1505050565b60185460ff1661226b5760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b601854610100900460ff166122c25760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b60185462010000900460ff1661231a5760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b6001811015801561232c575060048111155b6123845760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b6017548211156123fc5760405162461bcd60e51b815260206004820152603560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c79206d696e74204241544360448201527f485f335f4d41585f4d494e54204d4554414d4f4e5a00000000000000000000006064820152608401610d97565b601954826124093361160d565b61241391906140af565b11156124955760405162461bcd60e51b815260206004820152604560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c7920686f6c64204d41585f60448201527f414d4f554e545f5045525f57414c4c4554204d4554414d4f4e5a207065722077606482015264185b1b195d60da1b608482015260a401610d97565b611900826013546124a691906140af565b111561251a5760405162461bcd60e51b815260206004820152602e60248201527f4d4554414d4f4e5a3a2045786365656473206d6178696d756d204d4554414d4f60448201527f4e5a20666f7220426174636820330000000000000000000000000000000000006064820152608401610d97565b81600e5461252891906140c7565b3410156125775760405162461bcd60e51b815260206004820181905260248201527f4d4554414d4f4e5a3a2045746865722073656e7420697320746f6f206c6573736044820152606401610d97565b600061258260085490565b905060005b83811015611e6d576001601360008282546125a291906140af565b90915550839050601e60006125b784866140af565b81526020810191909152604001600020556125d633611dce83856140af565b806125e081614094565b915050612587565b600a546001600160a01b031633146126305760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601781905560408051338152602081018390527fdd61fbc006ebcc62d62b5eb029117c328abc538b5fd424cb735d7ad4439a60f69101610e3b565b6000828152600b60205260409020600101546126878133612eb9565b610f738383612fdb565b600a546001600160a01b031633146126d95760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b601581905560408051338152602081018390527f9785f371a13ccd7471357ec4b714a851f3f7f3b7634a2d6000eb93a1b76b4e709101610e3b565b6060601d8054610c7f9061402d565b60185460ff166127755760405162461bcd60e51b815260206004820152601a60248201527f4d4554414d4f4e5a3a206d696e74206973206e6f74206f70656e0000000000006044820152606401610d97565b60018110158015612787575060048111155b6127df5760405162461bcd60e51b815260206004820152602360248201527f4d4554414d4f4e5a3a2042617365206d75737420626520312c20322c2033206f6044820152621c880d60ea1b6064820152608401610d97565b6015548211156128575760405162461bcd60e51b815260206004820152603560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c79206d696e74204241544360448201527f485f315f4d41585f4d494e54204d4554414d4f4e5a00000000000000000000006064820152608401610d97565b601954826128643361160d565b61286e91906140af565b11156128f05760405162461bcd60e51b815260206004820152604560248201527f4d4554414d4f4e5a3a20596f752063616e206f6e6c7920686f6c64204d41585f60448201527f414d4f554e545f5045525f57414c4c4554204d4554414d4f4e5a207065722077606482015264185b1b195d60da1b608482015260a401610d97565b6103e88260115461290191906140af565b11156129755760405162461bcd60e51b815260206004820152602e60248201527f4d4554414d4f4e5a3a2045786365656473206d6178696d756d204d4554414d4f60448201527f4e5a20666f7220426174636820310000000000000000000000000000000000006064820152608401610d97565b81600c5461298391906140c7565b3410156129d25760405162461bcd60e51b815260206004820181905260248201527f4d4554414d4f4e5a3a2045746865722073656e7420697320746f6f206c6573736044820152606401610d97565b60006129dd60085490565b905060005b83811015611e6d576001601160008282546129fd91906140af565b90915550839050601e6000612a1284866140af565b8152602081019190915260400160002055612a3133611dce83856140af565b80612a3b81614094565b9150506129e2565b600a546001600160a01b03163314612a8b5760405162461bcd60e51b815260206004820181905260248201526000805160206142868339815191526044820152606401610d97565b6001600160a01b038116612b075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d97565b612b1081613101565b50565b60006001600160e01b031982167f7965db0b000000000000000000000000000000000000000000000000000000001480610c6a5750610c6a82613301565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190612b93826114ff565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612c565760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610d97565b6000612c61836114ff565b9050806001600160a01b0316846001600160a01b03161480612c9c5750836001600160a01b0316612c9184610d11565b6001600160a01b0316145b80612ccc57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612ce7826114ff565b6001600160a01b031614612d635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610d97565b6001600160a01b038216612dde5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610d97565b612de983838361333f565b612df4600082612b51565b6001600160a01b0383166000908152600360205260408120805460019290612e1d908490614129565b90915550506001600160a01b0382166000908152600360205260408120805460019290612e4b9084906140af565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1661136d57612ef7816001600160a01b031660146133f7565b612f028360206133f7565b604051602001612f13929190614140565b60408051601f198184030181529082905262461bcd60e51b8252610d9791600401613c59565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1661136d576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055612f973390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff161561136d576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146130ab576040519150601f19603f3d011682016040523d82523d6000602084013e6130b0565b606091505b5050905080610f735760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642065746865720000000000000000000000006044820152606401610d97565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61136d8282604051806020016040528060008152506135c3565b613185848484612cd4565b6131918484848461364c565b611e6d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610d97565b6060816132275750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613251578061323b81614094565b915061324a9050600a836141d7565b915061322b565b60008167ffffffffffffffff81111561326c5761326c613dee565b6040519080825280601f01601f191660200182016040528015613296576020820181803683370190505b5090505b8415612ccc576132ab600183614129565b91506132b8600a866141eb565b6132c39060306140af565b60f81b8183815181106132d8576132d8614068565b60200101906001600160f81b031916908160001a9053506132fa600a866141d7565b945061329a565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610c6a5750610c6a826137af565b6001600160a01b03831661339a5761339581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6133bd565b816001600160a01b0316836001600160a01b0316146133bd576133bd838261384a565b6001600160a01b0382166133d457610f73816138e7565b826001600160a01b0316826001600160a01b031614610f7357610f738282613996565b606060006134068360026140c7565b6134119060026140af565b67ffffffffffffffff81111561342957613429613dee565b6040519080825280601f01601f191660200182016040528015613453576020820181803683370190505b509050600360fc1b8160008151811061346e5761346e614068565b60200101906001600160f81b031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106134b9576134b9614068565b60200101906001600160f81b031916908160001a90535060006134dd8460026140c7565b6134e89060016140af565b90505b600181111561356d577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061352957613529614068565b1a60f81b82828151811061353f5761353f614068565b60200101906001600160f81b031916908160001a90535060049490941c93613566816141ff565b90506134eb565b5083156135bc5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610d97565b9392505050565b6135cd83836139da565b6135da600084848461364c565b610f735760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610d97565b60006001600160a01b0384163b156137a457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613690903390899088908890600401614216565b602060405180830381600087803b1580156136aa57600080fd5b505af19250505080156136da575060408051601f3d908101601f191682019092526136d791810190614252565b60015b61378a573d808015613708576040519150601f19603f3d011682016040523d82523d6000602084013e61370d565b606091505b5080516137825760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610d97565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612ccc565b506001949350505050565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061381257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c6a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610c6a565b600060016138578461160d565b6138619190614129565b6000838152600760205260409020549091508082146138b4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906138f990600190614129565b6000838152600960205260408120546008805493945090928490811061392157613921614068565b90600052602060002001549050806008838154811061394257613942614068565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061397a5761397a61426f565b6001900381819060005260206000200160009055905550505050565b60006139a18361160d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216613a305760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d97565b6000818152600260205260409020546001600160a01b031615613a955760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d97565b613aa16000838361333f565b6001600160a01b0382166000908152600360205260408120805460019290613aca9084906140af565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613b419061402d565b90600052602060002090601f016020900481019282613b635760008555613ba9565b82601f10613b7c57805160ff1916838001178555613ba9565b82800160010185558215613ba9579182015b82811115613ba9578251825591602001919060010190613b8e565b50613bb5929150613bb9565b5090565b5b80821115613bb55760008155600101613bba565b6001600160e01b031981168114612b1057600080fd5b600060208284031215613bf657600080fd5b81356135bc81613bce565b60005b83811015613c1c578181015183820152602001613c04565b83811115611e6d5750506000910152565b60008151808452613c45816020860160208601613c01565b601f01601f19169290920160200192915050565b6020815260006135bc6020830184613c2d565b600060208284031215613c7e57600080fd5b5035919050565b80356001600160a01b0381168114613c9c57600080fd5b919050565b60008060408385031215613cb457600080fd5b613cbd83613c85565b946020939093013593505050565b600080600060608486031215613ce057600080fd5b613ce984613c85565b9250613cf760208501613c85565b9150604084013590509250925092565b60008060408385031215613d1a57600080fd5b82359150613d2a60208401613c85565b90509250929050565b80358015158114613c9c57600080fd5b600060208284031215613d5557600080fd5b6135bc82613d33565b600060208284031215613d7057600080fd5b6135bc82613c85565b60008060208385031215613d8c57600080fd5b823567ffffffffffffffff80821115613da457600080fd5b818501915085601f830112613db857600080fd5b813581811115613dc757600080fd5b8660208260051b8501011115613ddc57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115613e1f57613e1f613dee565b604051601f8501601f19908116603f01168101908282118183101715613e4757613e47613dee565b81604052809350858152868686011115613e6057600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112613e8b57600080fd5b6135bc83833560208501613e04565b60008060008060808587031215613eb057600080fd5b843567ffffffffffffffff80821115613ec857600080fd5b613ed488838901613e7a565b95506020870135915080821115613eea57600080fd5b613ef688838901613e7a565b94506040870135915080821115613f0c57600080fd5b613f1888838901613e7a565b93506060870135915080821115613f2e57600080fd5b50613f3b87828801613e7a565b91505092959194509250565b60008060408385031215613f5a57600080fd5b613f6383613c85565b9150613d2a60208401613d33565b60008060408385031215613f8457600080fd5b50508035926020909101359150565b60008060008060808587031215613fa957600080fd5b613fb285613c85565b9350613fc060208601613c85565b925060408501359150606085013567ffffffffffffffff811115613fe357600080fd5b8501601f81018713613ff457600080fd5b613f3b87823560208401613e04565b6000806040838503121561401657600080fd5b61401f83613c85565b9150613d2a60208401613c85565b600181811c9082168061404157607f821691505b6020821081141561406257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156140a8576140a861407e565b5060010190565b600082198211156140c2576140c261407e565b500190565b60008160001904831182151516156140e1576140e161407e565b500290565b600084516140f8818460208901613c01565b84519083019061410c818360208901613c01565b845191019061411f818360208801613c01565b0195945050505050565b60008282101561413b5761413b61407e565b500390565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351614178816017850160208801613c01565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516141b5816028840160208801613c01565b01602801949350505050565b634e487b7160e01b600052601260045260246000fd5b6000826141e6576141e66141c1565b500490565b6000826141fa576141fa6141c1565b500690565b60008161420e5761420e61407e565b506000190190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526142486080830184613c2d565b9695505050505050565b60006020828403121561426457600080fd5b81516135bc81613bce565b634e487b7160e01b600052603160045260246000fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220b63309dccded370a09e6bad005f93bf9238dcd9b7bcf2df0874455cb5767229264736f6c63430008090033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.