ETH Price: $3,408.33 (-0.72%)

Contract

0x9F258334c46C8818680eA503500f837624109000
 

Overview

ETH Balance

2.072 ETH

Eth Value

$7,062.07 (@ $3,408.33/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...202429432024-07-05 21:18:11144 days ago1720214291IN
0x9F258334...624109000
0 ETH0.000138522.96990908
Safe Transfer Fr...193153422024-02-27 0:34:35274 days ago1708994075IN
0x9F258334...624109000
0 ETH0.0019679140.02344545
Safe Transfer Fr...193153402024-02-27 0:34:11274 days ago1708994051IN
0x9F258334...624109000
0 ETH0.0024949337.64853101
Set Approval For...188920972023-12-29 15:21:47333 days ago1703863307IN
0x9F258334...624109000
0 ETH0.0018766140.17238619
Set Approval For...175612002023-06-26 4:22:11520 days ago1687753331IN
0x9F258334...624109000
0 ETH0.000978920.98766284
Set Approval For...165084702023-01-28 23:01:59668 days ago1674946919IN
0x9F258334...624109000
0 ETH0.0006906814.80816451
Set Approval For...164934292023-01-26 20:38:23670 days ago1674765503IN
0x9F258334...624109000
0 ETH0.0012087925.9163473
Set Approval For...163960472023-01-13 6:20:47683 days ago1673590847IN
0x9F258334...624109000
0 ETH0.0005441321.92836551
Set Approval For...161301782022-12-07 3:22:23721 days ago1670383343IN
0x9F258334...624109000
0 ETH0.0007362415.78493799
Set Approval For...156717362022-10-04 2:15:23785 days ago1664849723IN
0x9F258334...624109000
0 ETH0.0005046410.81945792
Transfer From156223642022-09-27 4:39:35792 days ago1664253575IN
0x9F258334...624109000
0 ETH0.000393479.46415744
Transfer From156223632022-09-27 4:39:23792 days ago1664253563IN
0x9F258334...624109000
0 ETH0.000421699.09075533
Transfer From156223632022-09-27 4:39:23792 days ago1664253563IN
0x9F258334...624109000
0 ETH0.000577149.09075533
Set Approval For...153824652022-08-21 6:45:40828 days ago1661064340IN
0x9F258334...624109000
0 ETH0.000134682.88760028
Set Approval For...153366412022-08-14 0:40:14836 days ago1660437614IN
0x9F258334...624109000
0 ETH0.000317526.79554236
Set Approval For...153366392022-08-14 0:39:50836 days ago1660437590IN
0x9F258334...624109000
0 ETH0.000337267.21783535
Set Approval For...153207712022-08-11 12:40:26838 days ago1660221626IN
0x9F258334...624109000
0 ETH0.0006580326.51875602
Set Approval For...152636092022-08-02 14:20:09847 days ago1659450009IN
0x9F258334...624109000
0 ETH0.0007256315.5576046
Transfer From152601632022-08-02 1:26:53848 days ago1659403613IN
0x9F258334...624109000
0 ETH0.0006769711.54
Set Approval For...151685392022-07-18 19:33:41862 days ago1658172821IN
0x9F258334...624109000
0 ETH0.0011895925.50486008
Set Approval For...151057022022-07-09 2:25:42872 days ago1657333542IN
0x9F258334...624109000
0 ETH0.0011910525.53603652
Set Approval For...150717842022-07-03 20:39:03877 days ago1656880743IN
0x9F258334...624109000
0 ETH0.0016328635.00836935
Set Approval For...150561692022-07-01 10:47:10879 days ago1656672430IN
0x9F258334...624109000
0 ETH0.0006791914.56180664
Transfer From149857912022-06-18 15:45:59892 days ago1655567159IN
0x9F258334...624109000
0 ETH0.0021720934.21314786
Transfer From149857792022-06-18 15:43:07892 days ago1655566987IN
0x9F258334...624109000
0 ETH0.0018719129.49052109
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
145364802022-04-07 4:00:41965 days ago1649304041
0x9F258334...624109000
35.469 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SundayDrips

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract SundayDrips is ERC721, Ownable {
    using SafeMath for uint256;

    bool internal _saleIsActive;

    uint256 public sunriseAvailable = 1200;
    uint256 public sunsetAvailable = 600;
    uint256 public midnightAvailable = 200;

    uint256 public startTime;
    uint256 public startPrice = 0.07 ether;

    uint256 private sunriseId;
    uint256 private sunsetId = 1331;
    uint256 private midnightId = 1998;

    mapping(address => uint256) public sunriseAmount;
    mapping(address => uint256) public sunsetAmount;
    mapping(address => uint256) public midnightAmount;

    // Collection metatdata URI
    string private _baseTokenURI;

    // Amount of time between price increases
    uint256 private constant timeDelta = 12 hours;

    // Amount of ETH to increase every 'timeDelta'
    uint256 private constant priceDelta = 0.0005 ether;

    function startSale() external onlyOwner {
        require(!_saleIsActive, "Sale already active");
        startTime = block.timestamp;
        _saleIsActive = true;
    }

    function pauseSale() external onlyOwner {
        require(_saleIsActive, "Sale not active");
        _saleIsActive = false;
    }

    function mintSunrise() external payable {
        require(_saleIsActive, "Sale not active");
        require(1 <= sunriseAvailable, "No sunrise left");
        require(sunriseAmount[msg.sender] == 0, "Can't mint more");
        require(msg.value == getCurrentPrice(), "Not enough ETH");

        sunriseId++;
        _mint(msg.sender, sunriseId);
        sunriseAvailable = sunriseAvailable.sub(1);
        sunriseAmount[msg.sender]++;
    }

    function mintSunset() external payable {
        require(_saleIsActive, "Sale not active");
        require(1 <= sunsetAvailable, "No sunset left");
        require(sunsetAmount[msg.sender] == 0, "Can't mint more");
        require(msg.value == getCurrentPrice(), "Not enough ETH");

        sunsetId++;
        _mint(msg.sender, sunsetId);
        sunsetAvailable = sunsetAvailable.sub(1);
        sunsetAmount[msg.sender]++;
    }

    function mintMidnight() external payable {
        require(_saleIsActive, "Sale not active");
        require(1 <= midnightAvailable, "No midnight left");
        require(midnightAmount[msg.sender] == 0, "Can't mint more");
        require(msg.value == getCurrentPrice(), "Not enough ETH");

        midnightId++;
        _mint(msg.sender, midnightId);
        midnightAvailable = midnightAvailable.sub(1);
        midnightAmount[msg.sender]++;
    }

    function mintAll() external payable {
        require(_saleIsActive, "Sale not active");
        require(1 <= sunriseAvailable, "No sunrise left");
        require(1 <= sunsetAvailable, "No sunset left");
        require(1 <= midnightAvailable, "No midnight left");
        require(sunriseAmount[msg.sender] == 0, "Can't mint more");
        require(sunsetAmount[msg.sender] == 0, "Can't mint more");
        require(midnightAmount[msg.sender] == 0, "Can't mint more");
        require(msg.value >= getCurrentPrice().mul(3), "Not enough ETH");

        sunriseId++;
        sunsetId++;
        midnightId++;
        _mint(msg.sender, sunriseId);
        _mint(msg.sender, sunsetId);
        _mint(msg.sender, midnightId);
        sunriseAvailable = sunriseAvailable.sub(1);
        sunsetAvailable = sunsetAvailable.sub(1);
        midnightAvailable = midnightAvailable.sub(1);

        sunriseAmount[msg.sender]++;
        sunsetAmount[msg.sender]++;
        midnightAmount[msg.sender]++;
    }

    function adminMintSunrise(address _toAddress) external onlyOwner {
        sunriseId++;
        _mint(_toAddress, sunriseId);
        sunriseAvailable = sunriseAvailable.sub(1);
    }

    function adminMintSunset(address _toAddress) external onlyOwner {
        sunsetId++;
        _mint(_toAddress, sunsetId);
        sunsetAvailable = sunsetAvailable.sub(1);
    }

    function adminMintMidnight(address _toAddress) external onlyOwner {
        midnightId++;
        _mint(_toAddress, midnightId);
        midnightAvailable = midnightAvailable.sub(1);
    }

    function getCurrentPrice() public view returns (uint256) {
        if (!_saleIsActive) {
            return startPrice;
        }
        return _getCurrentPrice(startTime, block.timestamp, startPrice);
    }

    /**
     * @dev Get the current price of a token.
     * We make this virtual so we can override it in tests.
     * @param _startTime the starting timestamp.
     * @param _currentTime the current timestamp.
     * @param _startPrice the minimum price of the token.
     */
    function _getCurrentPrice(
        uint256 _startTime,
        uint256 _currentTime,
        uint256 _startPrice
    ) internal view virtual returns (uint256) {
        if (_currentTime < _startTime) {
            return _startPrice;
        }

        // Check for number of increases to start price
        uint256 timeDiff = _currentTime.sub(_startTime).div(timeDelta);
        // Increase by 0.0005 eth for every 12 hours that has passed
        uint256 newPrice = timeDiff.mul(priceDelta).add(startPrice);

        return Math.max(_startPrice, newPrice);
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function withdraw() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    constructor(string memory metadataBaseURI) ERC721("Sunday:Drip", "DRIP") {
        _baseTokenURI = metadataBaseURI;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"metadataBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_toAddress","type":"address"}],"name":"adminMintMidnight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAddress","type":"address"}],"name":"adminMintSunrise","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAddress","type":"address"}],"name":"adminMintSunset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"midnightAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"midnightAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintMidnight","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintSunrise","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintSunset","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sunriseAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sunriseAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sunsetAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sunsetAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]

60806040526104b060075561025860085560c860095566f8b0a10e470000600b55610533600d556107ce600e553480156200003957600080fd5b50604051620049433803806200494383398181016040528101906200005f91906200032f565b6040518060400160405280600b81526020017f53756e6461793a447269700000000000000000000000000000000000000000008152506040518060400160405280600481526020017f44524950000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000e39291906200020d565b508060019080519060200190620000fc9291906200020d565b5050506200011f620001136200013f60201b60201c565b6200014760201b60201c565b8060129080519060200190620001379291906200020d565b5050620004a5565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021b9062000411565b90600052602060002090601f0160209004810192826200023f57600085556200028b565b82601f106200025a57805160ff19168380011785556200028b565b828001600101855582156200028b579182015b828111156200028a5782518255916020019190600101906200026d565b5b5090506200029a91906200029e565b5090565b5b80821115620002b95760008160009055506001016200029f565b5090565b6000620002d4620002ce84620003a8565b62000374565b905082815260208101848484011115620002ed57600080fd5b620002fa848285620003db565b509392505050565b600082601f8301126200031457600080fd5b815162000326848260208601620002bd565b91505092915050565b6000602082840312156200034257600080fd5b600082015167ffffffffffffffff8111156200035d57600080fd5b6200036b8482850162000302565b91505092915050565b6000604051905081810181811067ffffffffffffffff821117156200039e576200039d62000476565b5b8060405250919050565b600067ffffffffffffffff821115620003c657620003c562000476565b5b601f19601f8301169050602081019050919050565b60005b83811015620003fb578082015181840152602081019050620003de565b838111156200040b576000848401525b50505050565b600060028204905060018216806200042a57607f821691505b6020821081141562000441576200044062000447565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61448e80620004b56000396000f3fe60806040526004361061020f5760003560e01c80639745441511610118578063e596db22116100a0578063eb91d37e1161006f578063eb91d37e14610705578063f1a9af8914610730578063f2fde38b1461075b578063f354e96414610784578063f4586559146107af5761020f565b8063e596db2214610644578063e6c4134f14610681578063e985e9c51461068b578063e9bc2a7a146106c85761020f565b8063c87b56dd116100e7578063c87b56dd1461054d578063cd4013ef1461058a578063d1556dc9146105b3578063d7059e0c146105f0578063dc1d86381461061b5761020f565b806397454415146104bb578063a22cb465146104e4578063b66a0e5d1461050d578063b88d4fde146105245761020f565b806355f804b31161019b578063715018a61161016a578063715018a6146104195780637865eec71461043057806378e979251461043a5780638da5cb5b1461046557806395d89b41146104905761020f565b806355f804b31461036c578063595882b3146103955780636352211e1461039f57806370a08231146103dc5761020f565b8063136d59a5116101e2578063136d59a5146102e257806323b872dd146102ec5780633ccfd60b1461031557806342842e0e1461032c57806355367ba9146103555761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061330d565b6107da565b6040516102489190613cac565b60405180910390f35b34801561025d57600080fd5b506102666108bc565b6040516102739190613cc7565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906133a0565b61094e565b6040516102b09190613c45565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906132d1565b6109d3565b005b6102ea610aeb565b005b3480156102f857600080fd5b50610313600480360381019061030e91906131cb565b610ce2565b005b34801561032157600080fd5b5061032a610d42565b005b34801561033857600080fd5b50610353600480360381019061034e91906131cb565b610e07565b005b34801561036157600080fd5b5061036a610e27565b005b34801561037857600080fd5b50610393600480360381019061038e919061335f565b610f0f565b005b61039d610fa5565b005b3480156103ab57600080fd5b506103c660048036038101906103c191906133a0565b61146a565b6040516103d39190613c45565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe9190613166565b61151c565b6040516104109190613fc9565b60405180910390f35b34801561042557600080fd5b5061042e6115d4565b005b61043861165c565b005b34801561044657600080fd5b5061044f611853565b60405161045c9190613fc9565b60405180910390f35b34801561047157600080fd5b5061047a611859565b6040516104879190613c45565b60405180910390f35b34801561049c57600080fd5b506104a5611883565b6040516104b29190613cc7565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd9190613166565b611915565b005b3480156104f057600080fd5b5061050b60048036038101906105069190613295565b6119d4565b005b34801561051957600080fd5b50610522611b55565b005b34801561053057600080fd5b5061054b6004803603810190610546919061321a565b611c45565b005b34801561055957600080fd5b50610574600480360381019061056f91906133a0565b611ca7565b6040516105819190613cc7565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190613166565b611d4e565b005b3480156105bf57600080fd5b506105da60048036038101906105d59190613166565b611e0d565b6040516105e79190613fc9565b60405180910390f35b3480156105fc57600080fd5b50610605611e25565b6040516106129190613fc9565b60405180910390f35b34801561062757600080fd5b50610642600480360381019061063d9190613166565b611e2b565b005b34801561065057600080fd5b5061066b60048036038101906106669190613166565b611eea565b6040516106789190613fc9565b60405180910390f35b610689611f02565b005b34801561069757600080fd5b506106b260048036038101906106ad919061318f565b6120f9565b6040516106bf9190613cac565b60405180910390f35b3480156106d457600080fd5b506106ef60048036038101906106ea9190613166565b61218d565b6040516106fc9190613fc9565b60405180910390f35b34801561071157600080fd5b5061071a6121a5565b6040516107279190613fc9565b60405180910390f35b34801561073c57600080fd5b506107456121da565b6040516107529190613fc9565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190613166565b6121e0565b005b34801561079057600080fd5b506107996122d8565b6040516107a69190613fc9565b60405180910390f35b3480156107bb57600080fd5b506107c46122de565b6040516107d19190613fc9565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b557506108b4826122e4565b5b9050919050565b6060600080546108cb90614283565b80601f01602080910402602001604051908101604052809291908181526020018280546108f790614283565b80156109445780601f1061091957610100808354040283529160200191610944565b820191906000526020600020905b81548152906001019060200180831161092757829003601f168201915b5050505050905090565b60006109598261234e565b610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f90613ee9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109de8261146a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4690613f89565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a6e6123ba565b73ffffffffffffffffffffffffffffffffffffffff161480610a9d5750610a9c81610a976123ba565b6120f9565b5b610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390613e29565b60405180910390fd5b610ae683836123c2565b505050565b600660149054906101000a900460ff16610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3190613de9565b60405180910390fd5b60095460011115610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790613f09565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf990613d69565b60405180910390fd5b610c0a6121a5565b3414610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290613ec9565b60405180910390fd5b600e6000815480929190610c5e906142b5565b9190505550610c6f33600e5461247b565b610c85600160095461264990919063ffffffff16565b600981905550601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610cdb906142b5565b9190505550565b610cf3610ced6123ba565b8261265f565b610d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2990613fa9565b60405180910390fd5b610d3d83838361273d565b505050565b610d4a6123ba565b73ffffffffffffffffffffffffffffffffffffffff16610d68611859565b73ffffffffffffffffffffffffffffffffffffffff1614610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590613f29565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e04573d6000803e3d6000fd5b50565b610e2283838360405180602001604052806000815250611c45565b505050565b610e2f6123ba565b73ffffffffffffffffffffffffffffffffffffffff16610e4d611859565b73ffffffffffffffffffffffffffffffffffffffff1614610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90613f29565b60405180910390fd5b600660149054906101000a900460ff16610ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee990613de9565b60405180910390fd5b6000600660146101000a81548160ff021916908315150217905550565b610f176123ba565b73ffffffffffffffffffffffffffffffffffffffff16610f35611859565b73ffffffffffffffffffffffffffffffffffffffff1614610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8290613f29565b60405180910390fd5b8060129080519060200190610fa1929190612f8a565b5050565b600660149054906101000a900460ff16610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90613de9565b60405180910390fd5b6007546001111561103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190613ce9565b60405180910390fd5b60085460011115611080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107790613e09565b60405180910390fd5b600954600111156110c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bd90613f09565b60405180910390fd5b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f90613d69565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c190613d69565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461124c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124390613d69565b60405180910390fd5b61126760036112596121a5565b61299990919063ffffffff16565b3410156112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090613ec9565b60405180910390fd5b600c60008154809291906112bc906142b5565b9190505550600d60008154809291906112d4906142b5565b9190505550600e60008154809291906112ec906142b5565b91905055506112fd33600c5461247b565b61130933600d5461247b565b61131533600e5461247b565b61132b600160075461264990919063ffffffff16565b600781905550611347600160085461264990919063ffffffff16565b600881905550611363600160095461264990919063ffffffff16565b600981905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906113b9906142b5565b9190505550601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061140e906142b5565b9190505550601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611463906142b5565b9190505550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90613e69565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490613e49565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115dc6123ba565b73ffffffffffffffffffffffffffffffffffffffff166115fa611859565b73ffffffffffffffffffffffffffffffffffffffff1614611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790613f29565b60405180910390fd5b61165a60006129af565b565b600660149054906101000a900460ff166116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a290613de9565b60405180910390fd5b600754600111156116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e890613ce9565b60405180910390fd5b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176a90613d69565b60405180910390fd5b61177b6121a5565b34146117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613ec9565b60405180910390fd5b600c60008154809291906117cf906142b5565b91905055506117e033600c5461247b565b6117f6600160075461264990919063ffffffff16565b600781905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061184c906142b5565b9190505550565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461189290614283565b80601f01602080910402602001604051908101604052809291908181526020018280546118be90614283565b801561190b5780601f106118e05761010080835404028352916020019161190b565b820191906000526020600020905b8154815290600101906020018083116118ee57829003601f168201915b5050505050905090565b61191d6123ba565b73ffffffffffffffffffffffffffffffffffffffff1661193b611859565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613f29565b60405180910390fd5b600c60008154809291906119a4906142b5565b91905055506119b581600c5461247b565b6119cb600160075461264990919063ffffffff16565b60078190555050565b6119dc6123ba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4190613da9565b60405180910390fd5b8060056000611a576123ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b046123ba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b499190613cac565b60405180910390a35050565b611b5d6123ba565b73ffffffffffffffffffffffffffffffffffffffff16611b7b611859565b73ffffffffffffffffffffffffffffffffffffffff1614611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890613f29565b60405180910390fd5b600660149054906101000a900460ff1615611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890613e89565b60405180910390fd5b42600a819055506001600660146101000a81548160ff021916908315150217905550565b611c56611c506123ba565b8361265f565b611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c90613fa9565b60405180910390fd5b611ca184848484612a75565b50505050565b6060611cb28261234e565b611cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce890613f69565b60405180910390fd5b6000611cfb612ad1565b90506000815111611d1b5760405180602001604052806000815250611d46565b80611d2584612b63565b604051602001611d36929190613c21565b6040516020818303038152906040525b915050919050565b611d566123ba565b73ffffffffffffffffffffffffffffffffffffffff16611d74611859565b73ffffffffffffffffffffffffffffffffffffffff1614611dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc190613f29565b60405180910390fd5b600e6000815480929190611ddd906142b5565b9190505550611dee81600e5461247b565b611e04600160095461264990919063ffffffff16565b60098190555050565b600f6020528060005260406000206000915090505481565b60085481565b611e336123ba565b73ffffffffffffffffffffffffffffffffffffffff16611e51611859565b73ffffffffffffffffffffffffffffffffffffffff1614611ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9e90613f29565b60405180910390fd5b600d6000815480929190611eba906142b5565b9190505550611ecb81600d5461247b565b611ee1600160085461264990919063ffffffff16565b60088190555050565b60116020528060005260406000206000915090505481565b600660149054906101000a900460ff16611f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4890613de9565b60405180910390fd5b60085460011115611f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8e90613e09565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090613d69565b60405180910390fd5b6120216121a5565b3414612062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205990613ec9565b60405180910390fd5b600d6000815480929190612075906142b5565b919050555061208633600d5461247b565b61209c600160085461264990919063ffffffff16565b600881905550601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906120f2906142b5565b9190505550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60106020528060005260406000206000915090505481565b6000600660149054906101000a900460ff166121c557600b5490506121d7565b6121d4600a5442600b54612d10565b90505b90565b600b5481565b6121e86123ba565b73ffffffffffffffffffffffffffffffffffffffff16612206611859565b73ffffffffffffffffffffffffffffffffffffffff161461225c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225390613f29565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c390613d29565b60405180910390fd5b6122d5816129af565b50565b60075481565b60095481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124358361146a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290613ea9565b60405180910390fd5b6124f48161234e565b15612534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252b90613d49565b60405180910390fd5b61254060008383612d95565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259091906140b8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081836126579190614199565b905092915050565b600061266a8261234e565b6126a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a090613dc9565b60405180910390fd5b60006126b48361146a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061272357508373ffffffffffffffffffffffffffffffffffffffff1661270b8461094e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612734575061273381856120f9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661275d8261146a565b73ffffffffffffffffffffffffffffffffffffffff16146127b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127aa90613f49565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281a90613d89565b60405180910390fd5b61282e838383612d95565b6128396000826123c2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128899190614199565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e091906140b8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836129a7919061413f565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a8084848461273d565b612a8c84848484612d9a565b612acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac290613d09565b60405180910390fd5b50505050565b606060128054612ae090614283565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0c90614283565b8015612b595780601f10612b2e57610100808354040283529160200191612b59565b820191906000526020600020905b815481529060010190602001808311612b3c57829003601f168201915b5050505050905090565b60606000821415612bab576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d0b565b600082905060005b60008214612bdd578080612bc6906142b5565b915050600a82612bd6919061410e565b9150612bb3565b60008167ffffffffffffffff811115612c1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c515781602001600182028036833780820191505090505b5090505b60008514612d0457600182612c6a9190614199565b9150600a85612c7991906142fe565b6030612c8591906140b8565b60f81b818381518110612cc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cfd919061410e565b9450612c55565b8093505050505b919050565b600083831015612d2257819050612d8e565b6000612d4b61a8c0612d3d878761264990919063ffffffff16565b612f3190919063ffffffff16565b90506000612d7d600b54612d6f6601c6bf526340008561299990919063ffffffff16565b612f4790919063ffffffff16565b9050612d898482612f5d565b925050505b9392505050565b505050565b6000612dbb8473ffffffffffffffffffffffffffffffffffffffff16612f77565b15612f24578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612de46123ba565b8786866040518563ffffffff1660e01b8152600401612e069493929190613c60565b602060405180830381600087803b158015612e2057600080fd5b505af1925050508015612e5157506040513d601f19601f82011682018060405250810190612e4e9190613336565b60015b612ed4573d8060008114612e81576040519150601f19603f3d011682016040523d82523d6000602084013e612e86565b606091505b50600081511415612ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec390613d09565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f29565b600190505b949350505050565b60008183612f3f919061410e565b905092915050565b60008183612f5591906140b8565b905092915050565b600081831015612f6d5781612f6f565b825b905092915050565b600080823b905060008111915050919050565b828054612f9690614283565b90600052602060002090601f016020900481019282612fb85760008555612fff565b82601f10612fd157805160ff1916838001178555612fff565b82800160010185558215612fff579182015b82811115612ffe578251825591602001919060010190612fe3565b5b50905061300c9190613010565b5090565b5b80821115613029576000816000905550600101613011565b5090565b600061304061303b84614015565b613fe4565b90508281526020810184848401111561305857600080fd5b613063848285614241565b509392505050565b600061307e61307984614045565b613fe4565b90508281526020810184848401111561309657600080fd5b6130a1848285614241565b509392505050565b6000813590506130b8816143fc565b92915050565b6000813590506130cd81614413565b92915050565b6000813590506130e28161442a565b92915050565b6000815190506130f78161442a565b92915050565b600082601f83011261310e57600080fd5b813561311e84826020860161302d565b91505092915050565b600082601f83011261313857600080fd5b813561314884826020860161306b565b91505092915050565b60008135905061316081614441565b92915050565b60006020828403121561317857600080fd5b6000613186848285016130a9565b91505092915050565b600080604083850312156131a257600080fd5b60006131b0858286016130a9565b92505060206131c1858286016130a9565b9150509250929050565b6000806000606084860312156131e057600080fd5b60006131ee868287016130a9565b93505060206131ff868287016130a9565b925050604061321086828701613151565b9150509250925092565b6000806000806080858703121561323057600080fd5b600061323e878288016130a9565b945050602061324f878288016130a9565b935050604061326087828801613151565b925050606085013567ffffffffffffffff81111561327d57600080fd5b613289878288016130fd565b91505092959194509250565b600080604083850312156132a857600080fd5b60006132b6858286016130a9565b92505060206132c7858286016130be565b9150509250929050565b600080604083850312156132e457600080fd5b60006132f2858286016130a9565b925050602061330385828601613151565b9150509250929050565b60006020828403121561331f57600080fd5b600061332d848285016130d3565b91505092915050565b60006020828403121561334857600080fd5b6000613356848285016130e8565b91505092915050565b60006020828403121561337157600080fd5b600082013567ffffffffffffffff81111561338b57600080fd5b61339784828501613127565b91505092915050565b6000602082840312156133b257600080fd5b60006133c084828501613151565b91505092915050565b6133d2816141cd565b82525050565b6133e1816141df565b82525050565b60006133f282614075565b6133fc818561408b565b935061340c818560208601614250565b613415816143eb565b840191505092915050565b600061342b82614080565b613435818561409c565b9350613445818560208601614250565b61344e816143eb565b840191505092915050565b600061346482614080565b61346e81856140ad565b935061347e818560208601614250565b80840191505092915050565b6000613497600f8361409c565b91507f4e6f2073756e72697365206c65667400000000000000000000000000000000006000830152602082019050919050565b60006134d760328361409c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061353d60268361409c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006135a3601c8361409c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006135e3600f8361409c565b91507f43616e2774206d696e74206d6f726500000000000000000000000000000000006000830152602082019050919050565b600061362360248361409c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061368960198361409c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006136c9602c8361409c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061372f600f8361409c565b91507f53616c65206e6f742061637469766500000000000000000000000000000000006000830152602082019050919050565b600061376f600e8361409c565b91507f4e6f2073756e736574206c6566740000000000000000000000000000000000006000830152602082019050919050565b60006137af60388361409c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613815602a8361409c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061387b60298361409c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138e160138361409c565b91507f53616c6520616c726561647920616374697665000000000000000000000000006000830152602082019050919050565b600061392160208361409c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613961600e8361409c565b91507f4e6f7420656e6f756768204554480000000000000000000000000000000000006000830152602082019050919050565b60006139a1602c8361409c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613a0760108361409c565b91507f4e6f206d69646e69676874206c656674000000000000000000000000000000006000830152602082019050919050565b6000613a4760208361409c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a8760298361409c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613aed602f8361409c565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613b5360218361409c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bb960318361409c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b613c1b81614237565b82525050565b6000613c2d8285613459565b9150613c398284613459565b91508190509392505050565b6000602082019050613c5a60008301846133c9565b92915050565b6000608082019050613c7560008301876133c9565b613c8260208301866133c9565b613c8f6040830185613c12565b8181036060830152613ca181846133e7565b905095945050505050565b6000602082019050613cc160008301846133d8565b92915050565b60006020820190508181036000830152613ce18184613420565b905092915050565b60006020820190508181036000830152613d028161348a565b9050919050565b60006020820190508181036000830152613d22816134ca565b9050919050565b60006020820190508181036000830152613d4281613530565b9050919050565b60006020820190508181036000830152613d6281613596565b9050919050565b60006020820190508181036000830152613d82816135d6565b9050919050565b60006020820190508181036000830152613da281613616565b9050919050565b60006020820190508181036000830152613dc28161367c565b9050919050565b60006020820190508181036000830152613de2816136bc565b9050919050565b60006020820190508181036000830152613e0281613722565b9050919050565b60006020820190508181036000830152613e2281613762565b9050919050565b60006020820190508181036000830152613e42816137a2565b9050919050565b60006020820190508181036000830152613e6281613808565b9050919050565b60006020820190508181036000830152613e828161386e565b9050919050565b60006020820190508181036000830152613ea2816138d4565b9050919050565b60006020820190508181036000830152613ec281613914565b9050919050565b60006020820190508181036000830152613ee281613954565b9050919050565b60006020820190508181036000830152613f0281613994565b9050919050565b60006020820190508181036000830152613f22816139fa565b9050919050565b60006020820190508181036000830152613f4281613a3a565b9050919050565b60006020820190508181036000830152613f6281613a7a565b9050919050565b60006020820190508181036000830152613f8281613ae0565b9050919050565b60006020820190508181036000830152613fa281613b46565b9050919050565b60006020820190508181036000830152613fc281613bac565b9050919050565b6000602082019050613fde6000830184613c12565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561400b5761400a6143bc565b5b8060405250919050565b600067ffffffffffffffff8211156140305761402f6143bc565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156140605761405f6143bc565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140c382614237565b91506140ce83614237565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141035761410261432f565b5b828201905092915050565b600061411982614237565b915061412483614237565b9250826141345761413361435e565b5b828204905092915050565b600061414a82614237565b915061415583614237565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561418e5761418d61432f565b5b828202905092915050565b60006141a482614237565b91506141af83614237565b9250828210156141c2576141c161432f565b5b828203905092915050565b60006141d882614217565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561426e578082015181840152602081019050614253565b8381111561427d576000848401525b50505050565b6000600282049050600182168061429b57607f821691505b602082108114156142af576142ae61438d565b5b50919050565b60006142c082614237565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142f3576142f261432f565b5b600182019050919050565b600061430982614237565b915061431483614237565b9250826143245761432361435e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614405816141cd565b811461441057600080fd5b50565b61441c816141df565b811461442757600080fd5b50565b614433816141eb565b811461443e57600080fd5b50565b61444a81614237565b811461445557600080fd5b5056fea2646970667358221220cb957cf6e18a29f632768078c962f087d415d27d773c52161e989f7a67543f7064736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d534b4475585a32626e344b5334515770664644684d466e52624b4d63345450345a756a7472336458793471382f00000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80639745441511610118578063e596db22116100a0578063eb91d37e1161006f578063eb91d37e14610705578063f1a9af8914610730578063f2fde38b1461075b578063f354e96414610784578063f4586559146107af5761020f565b8063e596db2214610644578063e6c4134f14610681578063e985e9c51461068b578063e9bc2a7a146106c85761020f565b8063c87b56dd116100e7578063c87b56dd1461054d578063cd4013ef1461058a578063d1556dc9146105b3578063d7059e0c146105f0578063dc1d86381461061b5761020f565b806397454415146104bb578063a22cb465146104e4578063b66a0e5d1461050d578063b88d4fde146105245761020f565b806355f804b31161019b578063715018a61161016a578063715018a6146104195780637865eec71461043057806378e979251461043a5780638da5cb5b1461046557806395d89b41146104905761020f565b806355f804b31461036c578063595882b3146103955780636352211e1461039f57806370a08231146103dc5761020f565b8063136d59a5116101e2578063136d59a5146102e257806323b872dd146102ec5780633ccfd60b1461031557806342842e0e1461032c57806355367ba9146103555761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061330d565b6107da565b6040516102489190613cac565b60405180910390f35b34801561025d57600080fd5b506102666108bc565b6040516102739190613cc7565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906133a0565b61094e565b6040516102b09190613c45565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906132d1565b6109d3565b005b6102ea610aeb565b005b3480156102f857600080fd5b50610313600480360381019061030e91906131cb565b610ce2565b005b34801561032157600080fd5b5061032a610d42565b005b34801561033857600080fd5b50610353600480360381019061034e91906131cb565b610e07565b005b34801561036157600080fd5b5061036a610e27565b005b34801561037857600080fd5b50610393600480360381019061038e919061335f565b610f0f565b005b61039d610fa5565b005b3480156103ab57600080fd5b506103c660048036038101906103c191906133a0565b61146a565b6040516103d39190613c45565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe9190613166565b61151c565b6040516104109190613fc9565b60405180910390f35b34801561042557600080fd5b5061042e6115d4565b005b61043861165c565b005b34801561044657600080fd5b5061044f611853565b60405161045c9190613fc9565b60405180910390f35b34801561047157600080fd5b5061047a611859565b6040516104879190613c45565b60405180910390f35b34801561049c57600080fd5b506104a5611883565b6040516104b29190613cc7565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd9190613166565b611915565b005b3480156104f057600080fd5b5061050b60048036038101906105069190613295565b6119d4565b005b34801561051957600080fd5b50610522611b55565b005b34801561053057600080fd5b5061054b6004803603810190610546919061321a565b611c45565b005b34801561055957600080fd5b50610574600480360381019061056f91906133a0565b611ca7565b6040516105819190613cc7565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190613166565b611d4e565b005b3480156105bf57600080fd5b506105da60048036038101906105d59190613166565b611e0d565b6040516105e79190613fc9565b60405180910390f35b3480156105fc57600080fd5b50610605611e25565b6040516106129190613fc9565b60405180910390f35b34801561062757600080fd5b50610642600480360381019061063d9190613166565b611e2b565b005b34801561065057600080fd5b5061066b60048036038101906106669190613166565b611eea565b6040516106789190613fc9565b60405180910390f35b610689611f02565b005b34801561069757600080fd5b506106b260048036038101906106ad919061318f565b6120f9565b6040516106bf9190613cac565b60405180910390f35b3480156106d457600080fd5b506106ef60048036038101906106ea9190613166565b61218d565b6040516106fc9190613fc9565b60405180910390f35b34801561071157600080fd5b5061071a6121a5565b6040516107279190613fc9565b60405180910390f35b34801561073c57600080fd5b506107456121da565b6040516107529190613fc9565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190613166565b6121e0565b005b34801561079057600080fd5b506107996122d8565b6040516107a69190613fc9565b60405180910390f35b3480156107bb57600080fd5b506107c46122de565b6040516107d19190613fc9565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b557506108b4826122e4565b5b9050919050565b6060600080546108cb90614283565b80601f01602080910402602001604051908101604052809291908181526020018280546108f790614283565b80156109445780601f1061091957610100808354040283529160200191610944565b820191906000526020600020905b81548152906001019060200180831161092757829003601f168201915b5050505050905090565b60006109598261234e565b610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f90613ee9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109de8261146a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4690613f89565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a6e6123ba565b73ffffffffffffffffffffffffffffffffffffffff161480610a9d5750610a9c81610a976123ba565b6120f9565b5b610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390613e29565b60405180910390fd5b610ae683836123c2565b505050565b600660149054906101000a900460ff16610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3190613de9565b60405180910390fd5b60095460011115610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790613f09565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf990613d69565b60405180910390fd5b610c0a6121a5565b3414610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290613ec9565b60405180910390fd5b600e6000815480929190610c5e906142b5565b9190505550610c6f33600e5461247b565b610c85600160095461264990919063ffffffff16565b600981905550601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610cdb906142b5565b9190505550565b610cf3610ced6123ba565b8261265f565b610d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2990613fa9565b60405180910390fd5b610d3d83838361273d565b505050565b610d4a6123ba565b73ffffffffffffffffffffffffffffffffffffffff16610d68611859565b73ffffffffffffffffffffffffffffffffffffffff1614610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590613f29565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e04573d6000803e3d6000fd5b50565b610e2283838360405180602001604052806000815250611c45565b505050565b610e2f6123ba565b73ffffffffffffffffffffffffffffffffffffffff16610e4d611859565b73ffffffffffffffffffffffffffffffffffffffff1614610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90613f29565b60405180910390fd5b600660149054906101000a900460ff16610ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee990613de9565b60405180910390fd5b6000600660146101000a81548160ff021916908315150217905550565b610f176123ba565b73ffffffffffffffffffffffffffffffffffffffff16610f35611859565b73ffffffffffffffffffffffffffffffffffffffff1614610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8290613f29565b60405180910390fd5b8060129080519060200190610fa1929190612f8a565b5050565b600660149054906101000a900460ff16610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90613de9565b60405180910390fd5b6007546001111561103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190613ce9565b60405180910390fd5b60085460011115611080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107790613e09565b60405180910390fd5b600954600111156110c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bd90613f09565b60405180910390fd5b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f90613d69565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c190613d69565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461124c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124390613d69565b60405180910390fd5b61126760036112596121a5565b61299990919063ffffffff16565b3410156112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090613ec9565b60405180910390fd5b600c60008154809291906112bc906142b5565b9190505550600d60008154809291906112d4906142b5565b9190505550600e60008154809291906112ec906142b5565b91905055506112fd33600c5461247b565b61130933600d5461247b565b61131533600e5461247b565b61132b600160075461264990919063ffffffff16565b600781905550611347600160085461264990919063ffffffff16565b600881905550611363600160095461264990919063ffffffff16565b600981905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906113b9906142b5565b9190505550601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061140e906142b5565b9190505550601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611463906142b5565b9190505550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90613e69565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490613e49565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115dc6123ba565b73ffffffffffffffffffffffffffffffffffffffff166115fa611859565b73ffffffffffffffffffffffffffffffffffffffff1614611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790613f29565b60405180910390fd5b61165a60006129af565b565b600660149054906101000a900460ff166116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a290613de9565b60405180910390fd5b600754600111156116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e890613ce9565b60405180910390fd5b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176a90613d69565b60405180910390fd5b61177b6121a5565b34146117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613ec9565b60405180910390fd5b600c60008154809291906117cf906142b5565b91905055506117e033600c5461247b565b6117f6600160075461264990919063ffffffff16565b600781905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061184c906142b5565b9190505550565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461189290614283565b80601f01602080910402602001604051908101604052809291908181526020018280546118be90614283565b801561190b5780601f106118e05761010080835404028352916020019161190b565b820191906000526020600020905b8154815290600101906020018083116118ee57829003601f168201915b5050505050905090565b61191d6123ba565b73ffffffffffffffffffffffffffffffffffffffff1661193b611859565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613f29565b60405180910390fd5b600c60008154809291906119a4906142b5565b91905055506119b581600c5461247b565b6119cb600160075461264990919063ffffffff16565b60078190555050565b6119dc6123ba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4190613da9565b60405180910390fd5b8060056000611a576123ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b046123ba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b499190613cac565b60405180910390a35050565b611b5d6123ba565b73ffffffffffffffffffffffffffffffffffffffff16611b7b611859565b73ffffffffffffffffffffffffffffffffffffffff1614611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890613f29565b60405180910390fd5b600660149054906101000a900460ff1615611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890613e89565b60405180910390fd5b42600a819055506001600660146101000a81548160ff021916908315150217905550565b611c56611c506123ba565b8361265f565b611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c90613fa9565b60405180910390fd5b611ca184848484612a75565b50505050565b6060611cb28261234e565b611cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce890613f69565b60405180910390fd5b6000611cfb612ad1565b90506000815111611d1b5760405180602001604052806000815250611d46565b80611d2584612b63565b604051602001611d36929190613c21565b6040516020818303038152906040525b915050919050565b611d566123ba565b73ffffffffffffffffffffffffffffffffffffffff16611d74611859565b73ffffffffffffffffffffffffffffffffffffffff1614611dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc190613f29565b60405180910390fd5b600e6000815480929190611ddd906142b5565b9190505550611dee81600e5461247b565b611e04600160095461264990919063ffffffff16565b60098190555050565b600f6020528060005260406000206000915090505481565b60085481565b611e336123ba565b73ffffffffffffffffffffffffffffffffffffffff16611e51611859565b73ffffffffffffffffffffffffffffffffffffffff1614611ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9e90613f29565b60405180910390fd5b600d6000815480929190611eba906142b5565b9190505550611ecb81600d5461247b565b611ee1600160085461264990919063ffffffff16565b60088190555050565b60116020528060005260406000206000915090505481565b600660149054906101000a900460ff16611f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4890613de9565b60405180910390fd5b60085460011115611f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8e90613e09565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090613d69565b60405180910390fd5b6120216121a5565b3414612062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205990613ec9565b60405180910390fd5b600d6000815480929190612075906142b5565b919050555061208633600d5461247b565b61209c600160085461264990919063ffffffff16565b600881905550601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906120f2906142b5565b9190505550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60106020528060005260406000206000915090505481565b6000600660149054906101000a900460ff166121c557600b5490506121d7565b6121d4600a5442600b54612d10565b90505b90565b600b5481565b6121e86123ba565b73ffffffffffffffffffffffffffffffffffffffff16612206611859565b73ffffffffffffffffffffffffffffffffffffffff161461225c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225390613f29565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c390613d29565b60405180910390fd5b6122d5816129af565b50565b60075481565b60095481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124358361146a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290613ea9565b60405180910390fd5b6124f48161234e565b15612534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252b90613d49565b60405180910390fd5b61254060008383612d95565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259091906140b8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081836126579190614199565b905092915050565b600061266a8261234e565b6126a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a090613dc9565b60405180910390fd5b60006126b48361146a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061272357508373ffffffffffffffffffffffffffffffffffffffff1661270b8461094e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612734575061273381856120f9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661275d8261146a565b73ffffffffffffffffffffffffffffffffffffffff16146127b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127aa90613f49565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281a90613d89565b60405180910390fd5b61282e838383612d95565b6128396000826123c2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128899190614199565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e091906140b8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836129a7919061413f565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a8084848461273d565b612a8c84848484612d9a565b612acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac290613d09565b60405180910390fd5b50505050565b606060128054612ae090614283565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0c90614283565b8015612b595780601f10612b2e57610100808354040283529160200191612b59565b820191906000526020600020905b815481529060010190602001808311612b3c57829003601f168201915b5050505050905090565b60606000821415612bab576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d0b565b600082905060005b60008214612bdd578080612bc6906142b5565b915050600a82612bd6919061410e565b9150612bb3565b60008167ffffffffffffffff811115612c1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c515781602001600182028036833780820191505090505b5090505b60008514612d0457600182612c6a9190614199565b9150600a85612c7991906142fe565b6030612c8591906140b8565b60f81b818381518110612cc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cfd919061410e565b9450612c55565b8093505050505b919050565b600083831015612d2257819050612d8e565b6000612d4b61a8c0612d3d878761264990919063ffffffff16565b612f3190919063ffffffff16565b90506000612d7d600b54612d6f6601c6bf526340008561299990919063ffffffff16565b612f4790919063ffffffff16565b9050612d898482612f5d565b925050505b9392505050565b505050565b6000612dbb8473ffffffffffffffffffffffffffffffffffffffff16612f77565b15612f24578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612de46123ba565b8786866040518563ffffffff1660e01b8152600401612e069493929190613c60565b602060405180830381600087803b158015612e2057600080fd5b505af1925050508015612e5157506040513d601f19601f82011682018060405250810190612e4e9190613336565b60015b612ed4573d8060008114612e81576040519150601f19603f3d011682016040523d82523d6000602084013e612e86565b606091505b50600081511415612ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec390613d09565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f29565b600190505b949350505050565b60008183612f3f919061410e565b905092915050565b60008183612f5591906140b8565b905092915050565b600081831015612f6d5781612f6f565b825b905092915050565b600080823b905060008111915050919050565b828054612f9690614283565b90600052602060002090601f016020900481019282612fb85760008555612fff565b82601f10612fd157805160ff1916838001178555612fff565b82800160010185558215612fff579182015b82811115612ffe578251825591602001919060010190612fe3565b5b50905061300c9190613010565b5090565b5b80821115613029576000816000905550600101613011565b5090565b600061304061303b84614015565b613fe4565b90508281526020810184848401111561305857600080fd5b613063848285614241565b509392505050565b600061307e61307984614045565b613fe4565b90508281526020810184848401111561309657600080fd5b6130a1848285614241565b509392505050565b6000813590506130b8816143fc565b92915050565b6000813590506130cd81614413565b92915050565b6000813590506130e28161442a565b92915050565b6000815190506130f78161442a565b92915050565b600082601f83011261310e57600080fd5b813561311e84826020860161302d565b91505092915050565b600082601f83011261313857600080fd5b813561314884826020860161306b565b91505092915050565b60008135905061316081614441565b92915050565b60006020828403121561317857600080fd5b6000613186848285016130a9565b91505092915050565b600080604083850312156131a257600080fd5b60006131b0858286016130a9565b92505060206131c1858286016130a9565b9150509250929050565b6000806000606084860312156131e057600080fd5b60006131ee868287016130a9565b93505060206131ff868287016130a9565b925050604061321086828701613151565b9150509250925092565b6000806000806080858703121561323057600080fd5b600061323e878288016130a9565b945050602061324f878288016130a9565b935050604061326087828801613151565b925050606085013567ffffffffffffffff81111561327d57600080fd5b613289878288016130fd565b91505092959194509250565b600080604083850312156132a857600080fd5b60006132b6858286016130a9565b92505060206132c7858286016130be565b9150509250929050565b600080604083850312156132e457600080fd5b60006132f2858286016130a9565b925050602061330385828601613151565b9150509250929050565b60006020828403121561331f57600080fd5b600061332d848285016130d3565b91505092915050565b60006020828403121561334857600080fd5b6000613356848285016130e8565b91505092915050565b60006020828403121561337157600080fd5b600082013567ffffffffffffffff81111561338b57600080fd5b61339784828501613127565b91505092915050565b6000602082840312156133b257600080fd5b60006133c084828501613151565b91505092915050565b6133d2816141cd565b82525050565b6133e1816141df565b82525050565b60006133f282614075565b6133fc818561408b565b935061340c818560208601614250565b613415816143eb565b840191505092915050565b600061342b82614080565b613435818561409c565b9350613445818560208601614250565b61344e816143eb565b840191505092915050565b600061346482614080565b61346e81856140ad565b935061347e818560208601614250565b80840191505092915050565b6000613497600f8361409c565b91507f4e6f2073756e72697365206c65667400000000000000000000000000000000006000830152602082019050919050565b60006134d760328361409c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061353d60268361409c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006135a3601c8361409c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006135e3600f8361409c565b91507f43616e2774206d696e74206d6f726500000000000000000000000000000000006000830152602082019050919050565b600061362360248361409c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061368960198361409c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006136c9602c8361409c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061372f600f8361409c565b91507f53616c65206e6f742061637469766500000000000000000000000000000000006000830152602082019050919050565b600061376f600e8361409c565b91507f4e6f2073756e736574206c6566740000000000000000000000000000000000006000830152602082019050919050565b60006137af60388361409c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613815602a8361409c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061387b60298361409c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138e160138361409c565b91507f53616c6520616c726561647920616374697665000000000000000000000000006000830152602082019050919050565b600061392160208361409c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613961600e8361409c565b91507f4e6f7420656e6f756768204554480000000000000000000000000000000000006000830152602082019050919050565b60006139a1602c8361409c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613a0760108361409c565b91507f4e6f206d69646e69676874206c656674000000000000000000000000000000006000830152602082019050919050565b6000613a4760208361409c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a8760298361409c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613aed602f8361409c565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613b5360218361409c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bb960318361409c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b613c1b81614237565b82525050565b6000613c2d8285613459565b9150613c398284613459565b91508190509392505050565b6000602082019050613c5a60008301846133c9565b92915050565b6000608082019050613c7560008301876133c9565b613c8260208301866133c9565b613c8f6040830185613c12565b8181036060830152613ca181846133e7565b905095945050505050565b6000602082019050613cc160008301846133d8565b92915050565b60006020820190508181036000830152613ce18184613420565b905092915050565b60006020820190508181036000830152613d028161348a565b9050919050565b60006020820190508181036000830152613d22816134ca565b9050919050565b60006020820190508181036000830152613d4281613530565b9050919050565b60006020820190508181036000830152613d6281613596565b9050919050565b60006020820190508181036000830152613d82816135d6565b9050919050565b60006020820190508181036000830152613da281613616565b9050919050565b60006020820190508181036000830152613dc28161367c565b9050919050565b60006020820190508181036000830152613de2816136bc565b9050919050565b60006020820190508181036000830152613e0281613722565b9050919050565b60006020820190508181036000830152613e2281613762565b9050919050565b60006020820190508181036000830152613e42816137a2565b9050919050565b60006020820190508181036000830152613e6281613808565b9050919050565b60006020820190508181036000830152613e828161386e565b9050919050565b60006020820190508181036000830152613ea2816138d4565b9050919050565b60006020820190508181036000830152613ec281613914565b9050919050565b60006020820190508181036000830152613ee281613954565b9050919050565b60006020820190508181036000830152613f0281613994565b9050919050565b60006020820190508181036000830152613f22816139fa565b9050919050565b60006020820190508181036000830152613f4281613a3a565b9050919050565b60006020820190508181036000830152613f6281613a7a565b9050919050565b60006020820190508181036000830152613f8281613ae0565b9050919050565b60006020820190508181036000830152613fa281613b46565b9050919050565b60006020820190508181036000830152613fc281613bac565b9050919050565b6000602082019050613fde6000830184613c12565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561400b5761400a6143bc565b5b8060405250919050565b600067ffffffffffffffff8211156140305761402f6143bc565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156140605761405f6143bc565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140c382614237565b91506140ce83614237565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141035761410261432f565b5b828201905092915050565b600061411982614237565b915061412483614237565b9250826141345761413361435e565b5b828204905092915050565b600061414a82614237565b915061415583614237565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561418e5761418d61432f565b5b828202905092915050565b60006141a482614237565b91506141af83614237565b9250828210156141c2576141c161432f565b5b828203905092915050565b60006141d882614217565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561426e578082015181840152602081019050614253565b8381111561427d576000848401525b50505050565b6000600282049050600182168061429b57607f821691505b602082108114156142af576142ae61438d565b5b50919050565b60006142c082614237565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142f3576142f261432f565b5b600182019050919050565b600061430982614237565b915061431483614237565b9250826143245761432361435e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614405816141cd565b811461441057600080fd5b50565b61441c816141df565b811461442757600080fd5b50565b614433816141eb565b811461443e57600080fd5b50565b61444a81614237565b811461445557600080fd5b5056fea2646970667358221220cb957cf6e18a29f632768078c962f087d415d27d773c52161e989f7a67543f7064736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d534b4475585a32626e344b5334515770664644684d466e52624b4d63345450345a756a7472336458793471382f00000000000000000000

-----Decoded View---------------
Arg [0] : metadataBaseURI (string): ipfs://QmSKDuXZ2bn4KS4QWpfFDhMFnRbKMc4TP4Zujtr3dXy4q8/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d534b4475585a32626e344b5334515770664644684d466e
Arg [3] : 52624b4d63345450345a756a7472336458793471382f00000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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